1 2006-12-04 Bill Haneman <bill.haneman@sun.com>
3 * idl/Accessibility_Role.idl: Fixed the documentation for
4 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
6 2006-12-04 Bill Haneman <bill.haneman@sun.com>
8 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
10 2006-11-07 Bill Haneman <bill.haneman@sun.com>
12 Patches from Padraig O'Briain for bugs #361386 and #369377.
14 * registryd/registry.c:
15 (struct NotifyContext): Change the e_out
16 member from an Accessibility_Event struct to a pointer to
18 (notify_listeners_cb): Modify to use the new struct definition above.
19 Allows use of ORBit_copy_value instead of CORBA_any__copy.
21 * registryd/deviceeventcontroller.c:
22 (spi_dec_button_update_and_emit): Free the event's any_data
24 (spi_dec_mouse_check):Free the event details any struct
26 (spi_device_event_controller_forward_mouse_event): Free any.
27 (spi_device_event_controller_forward_key_event): Ditto.
29 2006-11-07 Bill Haneman <bill.haneman@sun.com>
31 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
32 Don't require gtk+ and gail for building most of at-spi
35 * registryd/registry-main.c (main): We now get te value of display
36 using the env var DISPLAY rather than using the gdk_display_get_default
37 to avoid dependancy of gdk. Also, once the registry is started, we set
38 the ior of the registry as an X property.
39 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
41 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
42 the registration was successfull.
43 (spi_atk_bridge_do_registration): This function now returns success
44 or not on activating the registry.
45 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
46 has been set in the X root window and return it if available.
47 (spi_atk_bridge_get_registry): We now get the registry using the IOR
48 saved as a X property rather than using the OAFID.
50 2006-10-01 Bill Haneman <bill.haneman@sun.com>
52 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
54 2006-09-25 Bill Haneman <bill.haneman@sun.com>
56 * registryd/registry.c:
57 (desktop_remove_application): Don't pass a ref to the
58 dead application with the event, since it's probably
59 defunct and will cause SEGV if we try to unref,
60 extract app name, etc.
63 2006-09-20 Bill Haneman <bill.haneman@sun.com>
65 Patch from Neo Liu <nian.liu@sun.com>,
68 * atk-bridge/bridge.c:
69 (spi_atk_bridge_document_event_listener): New, for
72 2006-08-30 Bill Haneman <bill.haneman@sun.com>
75 Changed some parameter names so as not to
76 collide with class names - allows IDL to be compiled with
77 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
79 2006-08-22 Bill Haneman <bill.haneman@sun.com>
81 * atk-bridge/bridge.c:
82 (spi_atk_bridge_signal_listener):
83 Patch from Ginn Chen, assign detail1 in children-changed
84 so that the child object can be assigned to the Any when the
85 at-spi event is emitted. Bug #350552.
87 * libspi/application.c:
88 (spi_application_finalize): Remove g_print debug output.
91 2006-08-21 Bill Haneman <bill.haneman@sun.com>
93 * configure.in: Revved to AT-SPI 1.7.11.
95 * libspi/accessible.c:
96 (spi_accessible_new): Aggregate Hyperlink interface
97 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
100 (spi_hyperlink_new): Don't aggregate Action a second time if this
101 interface is created for an AtkHyperlinkImpl object (i.e. for a
102 child Accessible, as opposed to the Hyperlink instance from
104 (get_hyperlink_from_servant): Obtain the hyperlink from
105 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
107 Patch section from Ginn Chen...
109 * cspi/spi_accessible.c:
110 (_cspi_accessible_set_from_sequence):
111 Changed g_newa to g_new0 on Ginn Chen's suggestion.
113 * libspi/accessible.c:
114 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
115 (spi_accessible_new): Add the Document interface if present.
118 (impl_getAttributes): Fixed to use AtkAttribute properly.
121 (impl_getAttributes, impl_getDefaultAttributes):
122 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
124 2006-08-17 Bill Haneman <bill.haneman@sun.com>
126 * cspi/spi-private.h, cspi/spi_accessible.c:
127 (_cspi_attribute_set_from_sequence): Renamed from
128 cspi_attribute_set_from_sequence, to suppress export.
131 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
132 inline docs, which was keeping the doc from appearing.
133 (SPIExceptionHandler): Doc this.
135 * cspi/spi_document.c:
136 Added inline gtk-docs cut-n-pasted from the doxygen
137 docs in the corresponding IDL files.
138 (AccessibleDocument_getAttributes): Fix the retval here.
140 * cspi/spi_streamablecontent.c:
141 Fixed some 'Since' tags that were accidentally doxygen-style.
144 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
145 docs from the IDL file.
147 * docs/reference/cspi/at-spi-cspi-docs.sgml:
148 Added entities for Document and StreamableContent interfaces.
150 * docs/reference/cspi/at-spi-cspi-sections.txt:
151 Added some docs that were present inline but not getting
154 2006-07-31 Bill Haneman <bill.haneman@sun.com>
157 (impl_getRangeExtents): Use the atk_text_get_range_extents
158 API instead of looping over character bounds, now that
160 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
161 (_spi_text_bounds_contain): Remove, not needed anymore.
162 (_spi_text_rect_union): Remove, not needed anymore.
164 2006-07-31 Bill Haneman <bill.haneman@sun.com>
166 * atk-bridge/bridge.c:
167 (spi_atk_emit_eventv): Fix the CORBA_free call which was
168 causing 64-bit troubles and memory leaks.
169 Special thanks to Alexander Larsson who finally seems to
170 have tracked down the problem, not just here but in
174 (spi_init_any_object): Make sure we copy the CORBA value
175 when initializing an object for passing as a CORBA_Any.
178 2006-07-21 Bill Haneman <billh@gnome.org>
180 * idl/Accessibility.idl:
181 Reverted pragma changes, this broke the build in some envs
182 including the Debian team's build and some tinderbox builds.
184 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
187 Revved to 1.7.10, and edited the Xevie check (bug #319994).
189 * idl/Accessibility.idl:
190 Reworked inclusion of Bonobo_Unknown.idl, to
191 avoid double-linking libs in the Bonobo environment.
192 Thanks to Michael Meeks for the workaround, see bug #313122.
194 * registryd/deviceeventcontroller.c:
195 (spi_controller_notify_keylisteners):
196 Set the SPI_NUMLOCK_MASK bit if the modifier
197 corresponding to the conceptual numlock state is set.
200 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
202 * idl/Accessibility_Selection.idl:
203 (deselectChild): New method.
205 * libspi/selection.c:
206 (impl_deselectChild): Implement the new IDL method.
209 (AccessibleSelection_deselectChild): Added new method.
211 * cspi/spi_selection.c:
212 (AccessibleSelection_deselectChild): New method implemented.
214 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
216 * cspi/bonobo/cspi-bonobo.c:
217 (cspi_init): Replace g_error with g_warning, prevent
218 SEGV if the registry cannot be activated. Bug #346393.
220 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
222 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
224 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
225 2006-07-12 Ariel Rios <arios@us.ibm.com>
229 * idl/Accessibility_Table.idl:
230 (getRowColumnExtentsAtIndex): New method for getting
231 selection status and extents in one API call.
234 (impl_getRowColumnExtentsAtIndex): Implementation of
236 (spi_table_class_init): Add above to epv.
240 (AccessibleTable_getRowColumnExtentsAtIndex): New
241 method, retrieves selection status and row/col extents
242 for a table cell in a single API call.
244 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
245 2006-07-12 Ariel Rios <arios@us.ibm.com>
247 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
250 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
251 New bindings for new methods defined in idl and libspi.
254 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
255 Added prototype functions.
258 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
260 (spi_text_class_init): Added previous methods.
263 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
264 * libspi/spi-private.h: Corrections.
266 2006-06-29 Bill Haneman <bill.haneman@sun.com>
268 Added Document interface (see bug #326520),
269 with work from Ariel Rios <arios@us.ibm.com>.
271 * configure.in: Bump to 1.7.8.
273 * libspi/Makefile.am: Added document.[ch] to sources
276 (SpiDocument, SpiDocumentClass):
277 New interface implementation.
278 (spi_document_get_type, spi_document_construct)
279 (spi_document_interface_new): New methods added.
280 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
281 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
282 Added macros for SpiDocument
286 (spi_document_interface_new): Get a
287 new document interface. New.
288 (get_document_from_servant): Get an AtkDocument from servant New.
289 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
290 Implementation of methods defined on idl.
291 (spi_document_class_init, spi_document_init)
292 Init methods for SpiDocument. new
294 * idl/Accessibility.idl: Added Accessibility_Document.idl.
296 * cspi/Makefile.am: Added spi_document.c to sources.
298 * cspi/spi_document.c:
299 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
300 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
301 (AccessibleDocument_getAttributes): Bindings for methods defined
304 * cspi/spi_accessible.c:
305 (Accessible_isDocument, Accessible_getDocument) New.
307 (Accessible_isDocument, Accessible_getDocument)
308 (AccessibleDocument_ref, AccessibleDocument_unref)
309 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
310 (AccessibleDocument_getAttributes): Bindings added.
312 * idl/Makefile.am: Added Accessibility_Document.idl to
315 2006-06-29 Bill Haneman <bill.haneman@sun.com>
317 * idl/Accessibility_Document.idl: New interface
318 for complex documents. First stage of fix for RFE
321 2006-06-27 Bill Haneman <bill.haneman@sun.com>
323 * libspi/streamablecontent.c:
324 (impl_content_stream_close):
325 Unref the GIOChannel on close.
327 2006-06-23 Bill Haneman <bill.haneman@sun.com>
329 * idl/Accessibility_Role.idl:
330 * libspi/accessiblerole.c:
331 * cspi/spi_accessible.c: Added ROLE_LINK,
332 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
333 Bug #345758 and bug #140635.
336 2006-06-22 Bill Haneman <bill.haneman@sun.com>
340 * idl/Accessibility_StreamableContent.idl:
341 Fix derivation of StreamableContent and ContentStream.
343 * cspi/spi_streamablecontent.c:
344 (accessible_content_stream_client_read):
345 Fix the datatype of the content stream used.
346 Interpret short reads as EOF, and stop trying to
347 read when we've fulfilled the request.
348 (AccessibleStreamableContent_getContentTypes):
349 Use g_strdup, not CORBA_string_dup, for the strings.
350 (AccessibleStreamableContent_open):
351 Correctly use the new getStream method for opening,
352 not the deprecated getContent method.
353 Use the object reference as the stream hash key.
354 Make note of the 'one stream per client per streamable'
355 limitation in the docs.
358 Add streamablecontent.h to the list of #includes.
360 * libspi/streamablecontent.c:
361 (impl_content_stream_read): Initialize the GError.
362 Allocate the incoming buffer if reading a fixed length of
363 data. Use g_memmove instead of memcpy.
364 (impl_accessibility_streamable_get_content_types):
365 Init typelist->_maximum. Only allocate the buffer if
366 there is a non-zero number of content types available.
367 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
369 * libspi/streamablecontent.h:
370 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
373 (SPI_IS_VALUE): Fix a typo in this macro too.
375 2006-06-16 Bill Haneman <bill.haneman@sun.com>
379 * idl/Accessibility_StreambleContent.idl:
380 Deprecate the Bonobo_Stream-based methods in favor of
381 a self-contained "ContentStream" interface. This should
382 allow us to remove BonoboStream dependencies entirely, since
383 there were no non-NIL implementations of the old methods anyway.
384 (ContentStream): New interface.
385 (ContentStream::SeekType): Enum.
386 (ContentStream::seek): New.
387 (ContentStream::read): New.
388 (ContentStream::close): New.
389 (getContent): Deprecate.
390 (getURI): New method, returns a URI pointing to the content, if available.
392 * libspi/streamablecontent.c:
393 (SpiContentStream): Internal object type definition used to
394 implement Accessibility::StreamableContent::ContentStream via
395 AtkStreamableContent's GIOChannel back-end.
396 (spi_content_stream_new, spi_content_stream_dispose): See above;
398 (impl_content_stream_seek, impl_content_stream_read):
399 (impl_content_stream_close): New, implementations of
401 (impl_accessibility_streamable_get_stream): Implement the
402 public method Accessibility::StreamableContent::getStream.
403 (impl_accessibility_streamable_get_uri): Implement the
404 public method Accessibility::StreamableContent::getURI.
406 * cspi/spi_streamablecontent.c:
407 (accessible_bonobo_stream_client_seek): Replaced by
408 (accessible_content_stream_client_seek).
409 (accessible_bonobo_stream_client_read): Replaced by
410 (accessible_content_stream_client_read).
411 (AccessibleStreamableContent_open):
412 (AccessibleStreamableContent_seek):
413 (AccessibleStreamableContent_read):
414 (AccessibleStreamableContent_close): Use the new 'getStream'
415 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
417 2006-06-15 Bill Haneman <bill.haneman@sun.com>
419 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
420 remove from other .idl files (except LoginHelper).
423 2006-06-14 Bill Haneman <bill.haneman@sun.com>
425 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
428 * configure.in, */Makefile.am: mingw patch, modified from
429 original patch by yselkowitz. Bug #314216.
431 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
432 for completeness. Bug #163111.
434 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
435 * libspi/util.c, registryd/registry-main.c:
436 Fix guint/char* casts.
437 Patch from chpe, bug #333883.
439 2006-06-12 Bill Haneman <bill.haneman@sun.com>
441 * configure.in: Require atk-1.12.0, to pick up
442 new API. (bug #344412).
444 * libspi-1.0-uninstalled.pc.in:
446 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
447 Fix for #341488 from Samual Thibault.
449 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
450 Thanks to Brian Pepple.
452 2006-06-09 Bill Haneman <bill.haneman@sun.com>
455 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
456 New, missing implementations of attribute reading methods
459 * cspi/spi.h, spi_value.c:
460 (AccessibleValue_getMinimumIncrement): New methods wrapping
461 the (formerly unimplemented) property from Value.idl.
464 (impl_get_minimumIncrement): Implementation for retrieving
465 the minimum valuator increment, (formerly unimplemented).
468 2006-06-09 Bill Haneman <bill.haneman@sun.com>
470 * idl/Accessibility_State.idl:
471 Added STATE_VISITED (bug #338369).
473 * cspi/spi_accessible.c:
474 (spi_state_to_corba) Fixed marshalling of new statetypes.
477 (spi_init_state_tables, impl_getStates):
478 Fixed conversion of new statetypes to/from ATK.
480 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
482 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
483 definitions/conversions for new roles from ATK.
485 * idl/Accessibility_Relation.idl:
487 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
488 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
489 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
491 * libspi/accessible.c: Fixed marshalling of new role types from
494 2006-04-17 Matthias Clasen <mclasen@redhat.com>
496 * revert my previous change
498 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
500 * configure.in: Remove obssolete no_NO locale
501 * po/no.po: And the translation.
503 2006-04-05 Matthias Clasen <mclasen@redhat.com>
505 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
506 memory-management error that caused crashes on x86_64.
509 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
511 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
513 2006-03-27 Bill Haneman <bill.haneman@sun.com>
515 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
516 to strip "cspi_*" from the symbol table.
518 * cspi/spi_streamablecontent.c:
519 (get_streams): Make this method static.
522 (_cspi_exception_throw): rename to cspi_exception_throw,
523 so we can strip it with the rest...
526 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
528 2006-03-27 Bill Haneman <bill.haneman@sun.com>
530 Add doxygen-generated IDL docs to tarball, and enable
531 doxygen during build/install when available. Bug #301345.
533 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
535 * docs/reference/Makefile.am: Add idl to SUBDIRS.
537 * docs/reference/idl/Makefile.am: Optionally use
538 doxygen to create docs.
540 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
542 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
544 2006-03-20 Bill Haneman <bill.haneman@sun.com>
547 (impl_get_selected_rows): Don't free the selection if it's
548 empty or has not been assigned; init it to NULL so you can tell.
549 Also, allow for zero selected rows.
550 (impl_getSelectedColumns): Ditto. Bug #319088.
552 2006-03-11 Vincent Untz <vuntz@gnome.org>
554 Leak fix for bug #334217.
556 * libspi/application.c: spi_application_toolkit_event_listener():
557 don't duplicate the string we pass as an argument to
558 spi_init_any_nil() since spi_init_any_nil() already does it
559 * registryd/deviceeventcontroller.c:
560 (spi_dec_button_update_and_emit): ditto
561 (spi_dec_mouse_check): ditto
562 (spi_dec_emit_modifier_event): ditto
563 (spi_device_event_controller_forward_mouse): ditto
564 * registryd/registry.c:
565 (desktop_add_application): ditto
566 (desktop_remove_application): ditto
568 2006-02-20 Bill Haneman <billh@gnome.org>
570 * configure.in: Rev to 1.7.6.
572 Leak fixes for bug #331924.
574 * atk-bridge/bridge.c:
575 (spi_atk_bridge_init_base): Don't dup the string, it's already
576 been dup-ed. Fixes a leak.
577 (spi_atk_emit_eventv): Move the CORBA_free call here,
578 instead of spi_atk_state_event_listener; fixes another leak.
579 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
580 notifying the registry; fixes another leak.
582 * registryd/registry.c:
583 (registry_flush_event_queue): Free the CORBA_any when
584 flushing the event, not just the string. Fixes another leak.
585 (registry_queue_event): Free the CORBA_any when dropping
586 events on the floor; fixes another leak.
589 (spi_init_any_object, spi_init_any_nil):
590 Always set _release to TRUE. Fixes another leak.
592 2006-02-20 Bill Haneman <billh@gnome.org>
594 * configure.in: Rev to 1.7.5.
595 Reinstate localization of this module. Thanks for Rodney
596 Dawes for fixing my patch.
598 * registryd/Makefile.am: Remove Accessibility_Registry.server
599 from dist, since it needs to be re-created at configure time.
602 2006-01-31 Bill Haneman <billh@gnome.org>
604 * configure.in: Rev to 1.7.4 (to include build fix below).
606 * idl/Makefile.am: Include Selector.idl in dist.
610 (cspi_internal_event_get_object): Handle case where
611 "object" isn't present, i.e. CORBA_TC_Object doesn't match
612 the EventDetails data.
613 (cspi_internal_event_get_text): Handle NULL string.
614 (cspi_internal_event_get_rect): Handle missing/empty rect
615 data, Accessibility_TC_RectBounds doesn't match any_data.
617 2006-01-30 Bill Haneman <billh@gnome.org>
621 * atk-bridge/bridge.c:
622 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
623 interface and use that when instantiating a new source
624 accessible. Better fix for bug #321814.
626 2006-01-27 Bill Haneman <billh@gnome.org>
628 * idl/Accessibility_Selector.idl: Added to the cvs repository.
630 * configure.in: Revved to 1.7.3.
632 2006-01-17 Bill Haneman <billh@gnome.org>
634 * configure.in: Revved to 1.7.2, re-dist to include docs.
636 2006-01-09 Bill Haneman <billh@gnome.org>
638 * configure.in: Removed po/Makefile.in inclusion, we do not need
641 * idl/Accessibility.idl: Improved documentation here, and for all
642 IDL in the 'GNOME::Accessibility' namespace.
644 * idl/Accessibility_Accessible.idl:
645 (LOCALE_TYPE): Added enum.
646 (AttributeSet): New, for returning multiple name/value attribute pairs.
647 (RoleSet): New, sequence of Roles, to be used in upcoming
649 (getAttributes): New API, allows retrieval of name/value pair
650 annotations for all kinds of Accessible objects. C.f.
651 Text:getAttributes, which is only for typographic/textual/semantic tags in
653 (getApplication): New, retrieves the host/containing Application
654 instance for an object (without having to walk up the whole tree).
656 * idl/Accessibility_Component.idl:
657 (getAlpha): New method, returns the alpha blending (aka 'opacity')
658 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
661 * idl/Accessibility_Event.idl:
662 (EventDetails): New struct definition, for encapsulating
663 commonly-queried information about emitted events. The use of
664 this structure in emitted events (in the 'any' member of
665 Accessibility_Event) should greatly reduce the number of
666 client-server roundtrips necessary.
668 * idl/Accessibility_Image.idl:
669 (imageLocale): New, a readonly attribute indicating the POSIX
670 LC_MESSAGES locale of the image and associated Alt/descriptive
673 * idl/Accessibility_Relation.idl:
674 (RELATION_PARENT_WINDOW_OF): Include, as complement to
677 * idl/Accessibility_Role.idl:
678 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
679 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
680 complex document and form support.
682 * idl/Accessibility_State.idl:
683 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
684 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
685 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
686 for support of complex documents and forms.
688 * idl/Accessibility_StreamableContent.idl:
689 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
690 allow old bonobo-stream interfaces to be deprecated in the next
693 * idl/Accessibility_Text.idl:
694 (getAttributeValue): New method, allows query-by-name of single
697 * libspi/accessible.c:
698 Added support for new roles. Implemented new methods
699 (impl_accessibility_accessible_get_application): New
700 (impl_accessibility_accessible_get_attributes): New
702 * libspi/component.c:
703 (impl_accessibility_component_get_alpha): New.
706 (impl_accessibility_image_get_locale): New.
708 * libspi/relation.c: Added support for new relation type.
710 * libspi/stateset.c: Added support for new state types.
713 (impl_getAttributeValue): New.
716 New prototypes for private methods
718 spi_init_any_object, spi_init_any_string,
721 * libspi/spi_event.c:
722 Use EventDetails in the event emission methods.
724 * cspi/spi-private.h:
725 (cspi_role_from_spi_role): Expose this adapter method, since
726 we need it in the bridge (see below).
729 (AccessibleEvent_getSourceName):
730 (AccessibleEvent_getSourceRole):
731 (AccessibleEvent_getSourceApplication):
732 (AccessibleEvent_getSourceDetails):
733 New methods for interrogating/demarshalling
734 event details (i.e. source's accessible name, role,
737 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
738 Make use of the new EventDetails struct in events, if present.
739 (AccessibleEvent_getSourceName)
740 (AccessibleEvent_getSourceRole)
741 (AccessibleEvent_getSourceApplication)
742 (AccessibleEvent_getSourceDetails): Implement the newly exposed
744 (Accessible_getAttributes): New, wraps
745 Accessibility_Accessible_getAttributes.
746 (Accessible_getHostApplication): New, wraps
747 Accessibility_Accessible_getApplication.
750 (AccessibleImage_getImageLocale): New wrapper for
751 Accessibility_Image_get_imageLocale.
753 * cspi/spi_component.c:
754 (AccessibleComponent_getAlpha): New wrapper for
755 Accessibility_Component_getAlpha.
757 * atk-bridge/bridge.c:
758 Use new prototyped for init_any methods.
759 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
760 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
761 (spi_atk_bridge_init_base): Wrappers
762 for spi_init_any_* methods, due to refactor; include extended
763 information in the Accessibility_EventDetails struct, for instance
764 accessible-name, Role, and containing Application.
766 * registryd/registry.c:
767 Use new event emission (with EventDetails).
769 * registryd/deviceeventcontroller.c:
770 Use new event emission (with EventDetails).
772 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
774 * configure.in: Generate po/Makefile.in
775 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
776 * cspi/spi_streamablecontent.c:
777 (accessible_bonobo_stream_client_seek),
778 (AccessibleStreamableContent_seek): Remove unused vars.
779 * libspi/application.c: Missing header.
780 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
781 * login-helper/login-helper.c: (login_helper_finalize),
782 (login_helper_init): Remove unused stuff
783 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
784 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
785 and surround some with #ifdef GRAB_BUTTON.
786 * test/event-listener-test.c: (main), (report_event),
787 (report_caret_event), (report_detail_event),
788 (report_detail1_event), (report_bounds_event), (report_text_event),
789 (report_text_selection_event),
790 (report_active_descendant_changed_event),
791 (report_children_changed_event), (report_name_changed_event),
792 (report_description_changed_event), (report_parent_changed_event),
793 (report_window_event), (report_table_summary_event),
794 (report_table_header_event), (report_table_caption_event),
795 (report_table_row_description_event),
796 (report_table_column_description_event), (timing_test_event):
797 Remove a bunch of unused variables and fix a slew of format specifiers
798 * test/key-listener-test.c: (report_all_key_event): Format specifier
799 * test/keypad-test.c: (print_key_event): Same
800 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
802 * test/screen-review-test.c: (main), (print_chunk_debug),
803 (review_buffer_get_text_chunk), (debug_chunk_list),
804 (string_guess_clip), (text_chunk_get_clipped_string),
805 (text_chunk_list_to_string), (get_screen_review_line_at):
806 Remove unused variables and fix format specifiers.
807 * test/simple-at.c: (report_text_event): Format specifier fix.
808 * test/stress-test.c: (main): Remove unused var.
810 2005-12-29 Abel Cheung <maddog@linuxhall.org>
812 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
813 (yes I know that's useless)
815 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
817 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
819 2005-11-17 Michael Meeks <michael.meeks@novell.com>
821 * atk-bridge/bridge.c (spi_atk_emit_eventv):
822 urgh-fix embarassing typo.
824 2005-11-16 Michael Meeks <michael.meeks@novell.com>
826 * atk-bridge/bridge.c (spi_atk_emit_eventv):
827 do a faster, less problematic _unref call on this local
828 object, rather than a slower (potentially cross-thread
829 complicated) CORBA call.
831 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
833 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
834 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
835 * registryd/deviceeventcontroller.c:
836 (spi_controller_notify_mouselisteners),
837 (impl_generate_keyboard_event):
838 * test/screen-review-test.c: (chunk_bounds_within):
839 * test/test-simple.c: (test_desktop): Remove some unused code
840 and fix compiler warnings. Closes bug #320049.
842 2005-10-27 Bill Haneman <bill.haneman@sun.com>
844 * registryd/deviceeventcontroller.c:
845 (spi_controller_notify_keylisteners): Check
846 to make sure the event listener has requested 'preemptive'
847 status before pre-empting an event.
849 2005-08-29 Bill Haneman <bill.haneman@sun.com>
851 * configure.in, README, NEWS: Release 1.6.5.
853 2005-07-25 Matthias Clasen <mclasen@redhat.com>
855 * test/window-listener-test.c: Fix a printf
856 format error. (#169453)
858 2005-07-15 Bill Haneman <bill.haneman@sun.com>
860 * tests/test-simple.c:
861 (key_listener_cb): Ensure that the keystring is dup'ed instead of
862 relying on the old string from the key event hanging around after
863 the event handler returns. Fixes broken 'make check'.
865 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
867 * Added Marathi (mr_IN) translations.
869 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
871 * cspi/bonobo/cspi-bonobo-listener.c:
872 (cspi_event_list_remove_by_cb): Fix the build.
874 2005-05-26 Michael Meeks <michael.meeks@novell.com>
876 * cspi/bonobo/cspi-bonobo-listener.c
877 (cspi_event_list_remove_by_cb): actually filter by callback.
879 2005-05-25 Bill Haneman <bill.haneman@sun.com>
881 * registryd/registry.c (remove_listener_cb):
882 Make deregistration filter rules match the event emission rules.
884 2005-05-25 Michael Meeks <michael.meeks@novell.com>
886 * registryd/registry.c (remove_listener_cb),
887 (impl_accessibility_registry_deregister_global_event_listener),
888 (impl_accessibility_registry_deregister_global_event_listener_all):
889 pass a closure to the remove callback to filter listeners more
890 accurately on remove.
892 2005-04-05 Bill Haneman <bill.haneman@sun.com>
894 * configure.in: Revved to 1.6.4.
895 Remember to put quotes around XEVIE_LIBS assignment.
896 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
899 * tests/event-listener-test.c: Tweaked the tests - more detail
900 from caret events, and some interrogation of AccessibleText APIs.
901 Commented-out the bounds-changed events by default, since they can
904 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
906 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
907 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
908 Same here. Closes bug #167806
910 2005-04-05 Bill Haneman <bill.haneman@sun.com>
912 * atk-bridge/bridge.c:
913 (spi_atk_bridge_signal_listener):
914 Free the any._value if any._release is TRUE,
915 since the ORB won't do it for us in this case
916 [because this method is not a skel].
919 2005-03-30 Steve Murphy <murf@e-tools.com>
921 * configure.in: Added "rw" to ALL_LINGUAS.
923 2005-03-29 Bill Haneman <bill.haneman@sun.com>
925 * configure.in: Improved check for HAVE_XEVIE, to detect
926 presence on XOrg, where -lXevie is a separate library.
928 2005-03-08 Bill Haneman <bill.haneman@sun.com>
930 * configure.in, NEWS, README: Revved to 1.6.3.
932 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
934 * configure.in: Added "xh" to ALL_LINGUAS.
936 2005-02-07 Bill Haneman <bill.haneman@sun.com>
938 * atk-bridge/bridge.c:
939 (atk_bridge_init): Added missing NULL in g_strconcat(),
940 also check for symlink before logging to
941 insecure directory. Thanks to meissner@suse.de.
943 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
945 * tests/login-helper-server-test.c: Add return call to main
946 function. Patch from Chris Lahey. Fixes bug #165129.
948 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
950 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
952 2004-12-09 Bill Haneman <billh@gnome.org>
954 * registryd/registry-main.c:
955 Added #define <string.h> for strrchr. (bug 160862).
956 Thanks to Vincent Berger for catching.
958 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
960 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
961 restart registry process if the registry process is found to have died
962 and the current process is exiting.
963 (spi_atk_bridge_exit_func): Do not attempt to deregister the
964 application if the registry process has died.
965 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
966 does not return a registry object.
967 (spi_atk_tidy_windows): Give up if the registry process has died.
969 This fixes problems with hangs and crashes when logging out.
971 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
973 * registryd/desktop.c: Add checking that we are not exiting before
974 calling spi_desktop_remove_application in
975 abnormal_application_termination. Fix for bug #152147.
977 2004-12-02 Bill Haneman <billh@gnome.org>
979 * configure.in, NEWS, README: Revved to 1.6.1.
981 Patch from Padraig O'Briain <padraig.obriain@sun.com>
982 * atk-bridge/bridge.c:
983 (atk_bridge_init): Save the pid when we start, to detect forks.
984 (spi_atk_bridge_exit_func): Don't call the cleanup routines
985 if we're in a forked pid.
987 2004-10-09 Bill Haneman <billh@gnome.org>
989 * idl/Accessibility_LoginHelper.idl:
990 Improved inline documentation.
992 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
994 * configure.in: Added gl (Galician) to ALL_LINGUAS
996 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
998 * libspi/accessible.c:
999 (impl_accessibility_accessible_get_role_name),
1000 (impl_accessibility_accessible_get_local_role_name):
1001 NULL vs. 0 cleanups.
1002 * libspi/component.c:
1003 (impl_accessibility_component_get_accessible_at_point):
1005 * libspi/eventlistener.c: (spi_event_listener_new):
1007 * libspi/stateset.c: (impl_compare): More of the same
1008 * libspi/table.c: (impl_getRowDescription): Again.
1009 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1010 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1011 (impl_generate_keyboard_event): Same.
1012 * registryd/registry-main.c: (main): Same
1013 * test/event-listener-test.c: (test_exit): Same
1014 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1015 * test/keysynth-test.c: (test_key_synthesis): Same
1016 * test/login-helper-server-test.c: (main): Fix warning.
1017 * test/screen-review-test.c: (test_exit): Fix include.
1018 * test/simple-at.c: (simple_at_exit), (_festival_init):
1021 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1023 * configure.in, NEWS, README: Revved to 1.6.0.
1025 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1027 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1028 was missing the HTML docs.
1030 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1032 * configure.in: only cleanups:
1033 - better looking PKG_CHECK_MODULES() output,
1035 - declare in one common place required versions of other tools using
1038 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1040 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1041 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1042 required ATK version accordingly.
1044 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1046 * cspi/bonobo/cspi-bonobo.c:
1047 (cspi_display_name): Fix C99ism.
1048 * atk-bridge/bridge.c:
1049 (spi_display_name): Fix C99ism.
1050 Patch from Jens Granseuer, jensgr@gmx.net.
1052 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1054 * configure.in: Added "or" to ALL_LINGUAS.
1056 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1058 * configure.in, NEWS, README: Revved to 1.5.4.
1060 * registryd/registry-main.c:
1061 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1064 * cspi/bonobo/cspi-bonobo.c:
1065 (cspi_display_name): New convenience method, gets DISPLAY with
1066 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1067 (cspi_init): Set the activation env value above before getting
1070 * atk-bridge/bridge.c:
1071 (spi_display_name): Create the AT_SPI_DISPLAY activation
1072 environment for an app, based on the DISPLAY environment with the
1073 screen number stripped off.
1074 (atk_bridge_init): Allow redirection of error messages to a log.
1075 (spi_atk_bridge_get_registry): Call
1076 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1078 Fixes for bugs #149962, #136986, #144086.
1080 2004-08-16 Christian Rose <menthos@menthos.com>
1082 * configure.in: Added "bs" to ALL_LINGUAS.
1084 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1086 * configure.in: Added nb to ALL_LINGUAS.
1088 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1091 (SPI_init): Return error code '2' if the activated
1092 registry cannot be pinged. Fixes bug #147648.
1094 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1096 * registryd/deviceeventcontroller.c:
1097 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1098 rely on timer-poll instead, to avoid conflict with
1101 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1103 * configure.in: Revved to 1.5.3.
1105 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1107 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1109 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1111 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1113 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1115 * atk-bridge/bridge.c:
1116 (spi_atk_bridge_do_registration):
1117 Register with ATK for AtkComponent:bounds-changed events.
1118 (api_atk_bridge_signal_listener):
1119 Marshal the AtkRectangle info into the event notification
1120 for object:bounds-changed events.
1123 (spi_init_any_rect): New method, inits a corba struct of
1124 type Accessibility_BoundingBox from an AtkRectangle.
1126 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1129 (SPIRect): New struct definition.
1130 (SPI_freeRect): New declaration.
1131 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1134 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1135 implemented. Gets the bounding box data from the CORBA_any
1136 associated with a bounds-changed event notification.
1137 (cspi_internal_event_get_rect): New, used internally by above method.
1140 (SPI_freeRect): Implemented this new method, for freeing
1143 * test/event-listener-test.c:
1144 (main, report_bounds_event):
1145 Added a test for object:bounds-changed events.
1147 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1149 * test/login-helper-server-test.c:
1150 (main): Fix C99-ism. Thanks to Jens Granseuer.
1152 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1154 * libloginhelper-1.0.pc.in:
1155 * idl/Accessibility_LoginHelper.idl:
1156 * login-helper/Makefile.am:
1157 * login-helper/login-helper.[ch]:
1158 * test/login-helper-client-test.c:
1159 * test/login-helper-server-test.c: Added files missing from CVS.
1160 Files obtained from at-spi-1.5.2 tarball.
1162 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1164 * configure.in: Create login-helper/Makefile.
1165 Incremented micro version.
1167 * Makefile.am: Add login-helper subdir and pkgconfig data.
1169 * login-helper: New subdir.
1171 * libloginhelper-1.0.pc.in: New.
1173 * idl/Accessibility_LoginHelper.idl: New file, defines
1174 interface whereby authentication clients can identify agents which
1175 need access to services during the login process, e.g. screen lock
1178 * login-helper/Makefile.am : New.
1180 * login-helper/login-helper.[ch] : New, implementation of
1181 a LoginHelper base class. Services needing LoginHelper can subclass.
1183 * test/Makefile.am : Added test for login-helper, client and
1186 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1187 Use proper prefix in #include files.
1189 * test/login-helper-client-test.c: New.
1191 * test/login-helper-server-test.c: New.
1193 2004-05-27 Alexander Shopov <ash@contact.bg>
1195 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1197 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1199 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1200 is positive. This should make it easier to detect inapprorpiate unref
1203 2004-05-11 James Henstridge <james@daa.com.au>
1205 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1206 no-op and deprecated.
1208 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1210 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1212 2004-04-28 Bill Haneman <billh@gnome.org>
1214 * Makefile.am: Added --enable-gtk-doc to
1215 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1217 2004-04-19 Bill Haneman <billh@gnome.org>
1219 * configure.in: Revved to 1.5.1.
1221 * registryd/deviceeventcontroller.c:
1223 (DEControllerPrivateData): Added fields for
1224 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1225 (spi_dec_replace_map_keysym): New internal utility for
1226 replacing a keysym in the keymap - used to allow
1227 synthesis of individual characters which aren't in the
1229 (spi_dec_reset_reserved): New; resets the changed keysym value
1231 (keycode_for_keysym): We now try to deal with failed
1232 XKeysymToKeycode requests by changing a keymap value
1233 and returning a reserved keycode. We now take
1234 a DEController pointer as first arg.
1235 (spi_controller_register_with_devices): Call XkbGetMap with
1236 the XkbKeySymsMask. Find the highest keycode in the current
1237 keymap which doesn't have any grabs, and mark that one for
1238 temporary re-mapping when out-of-range KeySyms are synthesized.
1239 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1242 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1244 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1246 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1248 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1250 2004-03-24 Bill Haneman <billh@gnome.org>
1253 (AccessibleTable_addRowSelection),
1254 (AccessibleTable_addColumnSelection),
1255 (AccessibleTable_removeRowSelection),
1256 (AccessibleTable_removeColumnSelection):
1257 Add declarations for spi wrappers which were
1258 inadvertantly omitted. Fixes bug #133413.
1261 Revved to 1.5.0 (unstable series for GNOME 2.7).
1263 2004-03-24 Bill Haneman <billh@gnome.org>
1265 * atk-bridge/bridge.c:
1266 Bracketed some debug output in
1267 conditionals, to avoid printing it in normal use.
1270 * libspi/hyperlink.c:
1271 Don't cast 'object' to ATK_OBJECT when constructing
1272 an AtkAction interface for a hyperlink.
1273 See discussion in bug #120659.
1275 * test/key-listener-test.c:
1276 (report_all_key_event): Send output to stderr,
1277 not stdout, for consistency with the rest of the test callbacks.
1280 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1281 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1282 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1283 try incrementing the revision AFTER doing a dist, at least
1286 2004-03-22 Bill Haneman <billh@gnome.org>
1288 * configure.in: Revved to 1.4.0, libtool 9.14.9
1290 2004-03-17 Laszlo Peter <laca@sun.com>
1292 * libspi-1.0-uninstalled.pc.in: add idldir
1294 * cspi-1.0-uninstalled.pc.in: add idldir
1296 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1298 * configure.in: Added "en_GB" to ALL_LINGUAS
1300 2004-03-15 Bill Haneman <billh@gnome.org>
1302 * configure.in: Revved to 1.3.16,
1305 2004-03-15 Laszlo Peter <laca@sun.com>
1307 * libspi-1.0-uninstalled.pc.in: new file
1309 * cspi-1.0-uninstalled.pc.in: new file
1311 * configure.in: add the new pc files to AC_OUTPUT
1313 * Makefile.am: add the new pc files to EXTRA_DIST
1315 2004-03-12 Bill Haneman <billh@gnome.org>
1317 * atk-bridge/bridge.c:
1318 (spi_atk_bridge_key_listener):
1319 Make sure to return consumed=FALSE if snoop
1320 event is not dispatched to listener.
1323 2004-03-01 Bill Haneman <billh@gnome.org>
1325 * configure.in: Revved to 1.3.15,
1328 2004-03-07 Danilo Segan <dsegan@gmx.net>
1330 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1332 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1334 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1336 2004-03-01 Bill Haneman <billh@gnome.org>
1338 * configure.in: Revved to 1.3.14.
1341 (SPI_exit): Removed "bye-bye" exit message.
1342 Moved "leak" report to happen before the
1343 iteration over the leaked refs list.
1344 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1346 2004-02-24 Bill Haneman <billh@gnome.org>
1348 * configure.in: Revved to 1.3.13.
1350 * docs/reference/cspi/Makefile.am:
1351 Correct typo that was breaking the docs build.
1353 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1355 * autogen.sh: Require version 1.7 of automake.
1357 * configure.in: call GTK_DOC_CHECK([1.0])
1359 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1361 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1363 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1365 * test/Makefile.am: Remove use of CFLAGS.
1367 This fixes bug #132987.
1369 2004-02-11 Bill Haneman <billh@gnome.org>
1371 * reverted most of Tomasz' patch below, since it was breaking
1372 builds (see bug #134058).
1374 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1376 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1377 correct pass "make dist" (empty .. because seems no sach types in
1378 header files with gtk-doc markups).
1379 * docs/reference/cspi/Makefile.am, configure.in:
1380 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1381 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1382 * Makefile.am: added:
1383 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1384 for force correct pass generate documentation on "make distcheck".
1385 * libspi/Makefile.am: fixes for automake >= 1.6.
1386 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1387 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1390 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1392 * docs/reference/cspi/Makefile.am (install-data-local): Install
1393 index.sgml since the doc autobuilder on widget.gnome.org looks for
1396 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1398 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1401 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1403 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1405 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1407 * test/simple-at.c: Fixed null string problems that cause core
1408 dumping problems on Solaris.
1410 2004-01-12 Bill Haneman <billh@gnome.org>
1412 * configure.in: Incremented version to 1.3.11.
1414 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1416 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1417 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1420 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1422 * configure.in: Added "fa" to ALL_LINGUAS.
1424 2003-12-20 Arafat Medini <lumina@silverpen.de>
1426 * configure.in: Added "ar" to ALL_LINGUAS
1428 2003-12-16 Bill Haneman <billh@gnome.org>
1430 * registryd/registry-main.c:
1432 Set the reg_env DISPLAY variable before registering the
1433 activated registry service. Fixes bug #129479.
1435 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1437 * configure.in: Added "id" in ALL_LINGUAS
1438 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1440 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1442 * registryd/deviceeventcontroller.c (global_filter_fn):
1443 When an event is consumed discard any XEvents were added to
1444 the queue while dealing with the the event. This can happen if
1445 processing of the event takes a long time. Call XUngrabKeyboard
1446 if an event was discarded. This fixes bug $124837.
1447 Only call wait_for_release_event for a KeyPress.
1448 Use local variable display instead of spi_get_display().
1449 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1452 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1454 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1455 Allow for mask to contain values other than NumLock mask.
1458 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1460 * registryd/devieceventcontroller.c:
1461 (wait_for_release_event): Change first parameter from GdkEvent to
1463 (global_filter_fn); Correct call to wait_for_release_event.
1467 2003-12-08 Bill Haneman <billh@gnome.org>
1471 * registryd/ucs2keysym.c: New file.
1473 * registryd/deviceeventcontroller.c:
1474 (dec_keysym_for_unichar): Remove old partial implementation and
1475 replace with call to ucs2keysym(), which is much more complete.
1476 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1481 2003-12-05 Bill Haneman <billh@gnome.org>
1483 * configure.in: Version 1.3.9.
1485 * docs/reference/cspi/tmpl/spi_registry.sgml:
1486 Added reference to libspi/keymasks.h to the
1487 description of Registry queries: AccessibleKeyMaskType.
1490 2003-12-04 Bill Haneman <billh@gnome.org>
1492 Fix for bug #121974.
1494 * idl/Accessibility_Application.idl:
1495 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1496 setlocale's LC_TYPEs.
1497 (Accessibility::Application::getLocale): New method.
1498 Allows clients to query the locale, by type, of an app.
1501 * cspi/spi_application.c:
1502 (AccessibleApplication_getLocale): New method, wraps IDL above.
1504 * libspi/application.c:
1505 (spi_application_class_init): Init epv entry for getLocale.
1506 (impl_accessibility_application_get_locale): Impl for above.
1508 * test/test-simple.c:
1509 (test_application): Added assertion for getLocale, i.e.
1510 that the string from AccessibleApplication_getLocale (app, type)
1511 is the same as that from setlocale (type, NULL);
1513 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1515 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1516 the keyboard on a timeout intil the key state goes from pressed to
1517 released. Fixes bug #111429.
1519 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1521 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1522 root object so that it is present when a context menu in an
1523 out-of-process applet is popped up.
1524 (spi_atk_bridge_do_registration): Create acceessible application root
1525 object only if it does not exist.
1527 This fixes bug #125834.
1529 2003-12-01 Bill Haneman <billh@gnome.org>
1531 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1534 Added enum for AccessibleStreamableContentSeekType.
1535 (AccessibleStreamableContent_freeContentTypeList): New.
1537 * cspi/spi_streamablecontent.c:
1538 (accessible_bonobo_stream_client_seek): New private method.
1539 (AccessibleStreamableContent_seek): Implemented this method,
1540 using Bonobo_Stream_seek.
1541 (AccessibleStreamableContent_freeContentTypeList): New method
1542 for freeing the return value from
1543 AccessibleStreamableContent_getContentTypes.
1544 (stream_cache_item_free): Replaces stream_release; stop leaks.
1545 (stream_release): removed.
1546 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1547 free the memory properly.
1549 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1551 Fix for bug #116009.
1553 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1555 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1557 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1559 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1561 2003-12-01 Bill Haneman <billh@gnome.org>
1563 Fix for bug/rfe #127463.
1565 * idl/Accessibility_Accessible.idl:
1566 (getLocalizedRoleName): New.
1567 (unimplemented4): Removed (replaced by above).
1569 * libspi/accessible.c:
1570 (impl_accessibility_accessible_get_local_role_name): New.
1571 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1575 (Accessible_getLocalizedRoleName): New.
1577 * cspi/spi_accessible.c:
1578 (Accessible_getLocalizedRoleName): New.
1580 2003-12-01 Bill Haneman <billh@gnome.org>
1582 Fix for bug #118581.
1583 * idl/Accessibility_Text.idl:
1584 (getDefaultAttributes): New.
1585 (unimplemented4): Removed (replaced by above method).
1588 (impl_getDefaultAttributes): New method.
1589 (spi_text_class_init):
1590 initialize the get_default_attributes slot in the epv.
1593 (AccessibleText_getDefaultAttributes): New prototype.
1596 (AccessibleText_getDefaultAttributes): New method.
1598 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1600 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1601 write beyond the end of the table. Fixes bug #120473.
1603 2003-09-30 Christian Rose <menthos@menthos.com>
1605 * configure.in: Added "eu" to ALL_LINGUAS.
1607 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1609 * configure.in: ALL_LINGUAS: Added no.
1611 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1613 * configure.in: Added lt to ALL_LINGUAS.
1615 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1617 * atk-bridge/bridge.c:
1618 (atk_bridge_init): Register event listeners always even for
1619 out-of-process applet.
1620 (spi_atk_bridge_toplevel_added): Remove call to
1621 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1622 (spi_atk_bridge_toplevelk_removed): Remove call to
1623 spi_atk_deregister_event_listenersa as the listeners are now always
1625 (spi_atk_bridge_register_application): Remove call to
1626 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1628 This fixes bug #120991.
1630 * libspi/table.c (impl_getColumnDescription): Correct typo,
1631 pointed out by Bolian.Yin@sun.com.
1633 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1635 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1637 2003-09-08 Bill Haneman <billh@gnome.org>
1639 * configure.in: Revved to 1.3.7.
1641 This is the GNOME 2.4.0 release of at-spi.
1643 * docs/reference/cspi/Makefile.am:
1644 Removed spurious inclusion of 'index.sgml' in the
1645 html directory; this was breaking make distcheck and
1646 also some other build environments.
1648 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1650 * registryd/registry.[ch}:
1651 Add queue_handler_id and focus_object to SpiRegistry data structure.
1652 (registry_flush_event_queue): If event being discarded is
1653 "state-change:focused" store object as focus_object.
1654 (registry_start_queue): Remove queue handler and focus object
1656 (registry_discard_event): New function which discards a focus event
1657 if we had stored focus object in the registry.
1658 (registry_queue_event): Add new check that is_queueing is set as this
1659 function is reentrant.
1660 (registry_filer_event): Add call to registry_discard_event.
1662 This resolves issues raised in bug #108664.
1664 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1666 * configure.in: Added "bn" to ALL_LINGUAS.
1668 2003-09-04 Bill Haneman <billh@gnome.org>
1670 * cspi/spi_event.c: Documentation improvements for
1671 (SPI_registerAccessibleKeylistener).
1673 * docs/reference/tmpl/spi_registry.sgml:
1674 Documentation improvements for SpiAccessibleKeylistenerCB.
1676 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1678 * configure.in: Added "ro" to ALL_LINGUAS.
1681 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1683 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1684 not decremented to zero. Fixes bug #120725.
1686 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1688 * configure.in: Added "ja" to ALL_LINGUAS.
1690 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1692 * configure.in: Added "is" to ALL_LINGUAS.
1694 2003-08-22 Christian Rose <menthos@menthos.com>
1696 * configure.in: Added "nl" to ALL_LINGUAS.
1698 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1700 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1701 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1703 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1705 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1706 type for unspecified exception.
1707 * cspi_streamablecontect): Add include of string.h for memcpy.
1708 (stream_release): Correct call to bonobo_object_release_unref
1709 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1710 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1711 argument of _cspi_expection_throw.
1712 * libspi/hyperlink.c: Add include of libspi/action.h:
1713 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1714 * libspi/streamablecontent.c: add include of libspi/component.h.
1715 * regisrtyd/deviceeventcontroller.c:
1716 (spi_dec_translate_mask): Removed unused variable priv.
1717 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1718 * registryd/registry.c:
1719 (registry_filter_event): Remove unused variable queue_is-empty.
1720 (impl_registry_notify_event): Use correct modifier in fprintf call.
1722 This fixes compiler warnings reported in bug #120220.
1724 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1726 * registryd/registryd.c: Remove this file.
1728 2003-08-17 Sanlig Badral <badral@openmn.org>
1730 * configure.in: Added mn to ALL_LINGUAS.
1732 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1734 * configure.in: Added et to ALL_LINGUAS.
1736 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1738 * test/event-listener-test.c: Change active-descendant to
1739 active-descendant-changed.
1741 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1743 * configure.in: Added "fi" in ALL_LINGUAS.
1745 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1747 * configure.in: Added "hi" in ALL_LINGUAS.
1749 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1751 * configure.in: Revved to 1.3.6.
1755 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1757 * registryd/deviceeventcontroller.c
1758 (spi_device_event_controller_object_finalize): Fix typo in previous
1761 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1763 * registryd/deviceeventcontroller.c
1764 (spi_device_event_controller_object_finalize): Fix build on
1765 systems without XEvIE.
1767 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1769 * acconfig.h, configure.in, registryd/Makefile.am,
1770 registryd/devicecontoller.[ch]: Add XEViE support.
1772 2003-08-06 Wang Jian <lark@linux.net.cn>
1774 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1776 2003-08-06 Metin Amiroff<metin@karegen.com>
1778 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1780 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1782 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1783 MODIFIER_ALT in correct place.
1785 This fixes part of bug #118114.
1787 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1789 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1791 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1793 * configure.in: Added "ko" to ALL_LINGUAS.
1795 2003-07-28 Ole Laursen <olau@hardworking.dk>
1797 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1799 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1801 * configure.in: Added "sq" to ALL_LINGUAS.
1803 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1805 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1807 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1809 * configure.in: updated ALL_LINGUAS list
1811 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1813 * configure.in: Added Belarusian to ALL_LINGUAS.
1815 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1817 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1819 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1820 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1822 This fixes bug #116949.
1824 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1826 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1827 Correct CSPI to SPI in function documentation.
1829 This fixes bug #118054.
1831 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1833 * configure.in: Added Russian to ALL_LINGUAS.
1835 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1837 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1839 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1841 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1843 2003-07-10 Joel Brich <joel.brich@laposte.net>
1845 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1847 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1849 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1851 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1853 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1854 resources allocated for AccessibleEvent. See cspi_event().
1856 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1857 static variable streams to NULL.
1859 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1860 Update so that AcessibleEvent_ref will work.
1862 This fixes bug #116624.
1864 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1866 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1868 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1870 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1872 2003-07-02 Christian Neumair <chris@gnome-de.org>
1874 * configure.in: Added "de" (German) to ALL_LINGUAS.
1876 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1878 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1880 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1882 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1884 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1886 * configure.in: Added "pl" to ALL_LINGUAS.
1888 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1890 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1892 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1895 (get_action_from_servant):
1896 Removed assertion that action is implemented on an AtkObject.
1898 * libspi/hyperlink.c:
1899 (spi_hyperlink_new):
1900 Aggregate AccessibleAction interface on the hyperlink object if
1901 the object implements AtkAction. (This convention is used in
1904 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1906 * configure.in: Revved to 1.3.5.
1908 * registryd/Accessibility_Registry.server.in.in:
1909 Marked up appropriate strings for translation.
1911 * atk-bridge/bridge.c: Marked a couple of
1912 user-visible warnings for translation. Questionable
1913 whether they are really useful, but possibly so.
1916 2003-06-28 Christian Rose <menthos@menthos.com>
1918 * configure.in: Added "sv" to ALL_LINGUAS.
1920 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1922 * registryd/registry.c:
1923 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1924 (registry_defer_on_event): Defer focus: events, this is an
1925 improvement to the patch for bug #108664.
1927 * TODO: Update with 2.4/"Dev Complete" items.
1929 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1931 * atk-bridge/bridge.c:
1932 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1933 looks up signals once.
1934 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1935 if doing registration.
1936 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1937 when doing registration.
1939 This fixes bug #115014.
1941 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1943 * atk-bridge/bridge.c:
1944 (atk_bridge_init): Add signal handler for children-changed:remove on
1945 root when in a BonoboComponent.
1946 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1947 for first toplevel only other incrememt variable toplevels.
1948 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1949 application and remove listeners.
1950 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1952 (spi_atk_deregister_event_listeners): New function which removes
1954 (reinit_register_vars): New fuction which reinitializes variables.
1956 This fixes bug #111578.
1958 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1960 * configure.in: version 1.3.4.
1962 * cspi/spi_accessible.c:
1963 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1966 2003-06-13 Michael Meeks <michael@ximian.com>
1968 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1970 * cspi/spi_main.c (cspi_peek_ev): impl.
1972 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1974 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1976 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1978 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1979 SPI_ROLE_AUTOCOMPLETE
1981 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1983 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1984 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1986 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1988 * libspi/streamablecontent.h:
1989 * libspi/streamablecontent.c:
1990 New files, provide implementation/wrappers for
1991 Accessibility_StreamableContent.
1993 * cspi/spi_streamablecontent.c:
1994 Connected the C wrappers to the libspi C bindings.
1995 (AccessibleStreamableContent_close): New method.
1998 (AccessibleStreamableContent_close): New method, needed
1999 since we have an "open, [seek], read, close" model in cspi.
2001 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2003 Fix for #108664; Padraig's revision of my original patch.
2005 * registryd/registry.h:
2006 Added event queue list, is_queuing, and exit_notify_timeout
2007 to the registry struct.
2009 * registryd/registry.c:
2010 (registry_init): Initialize new struct from registry.h.
2011 (impl_registry_notify_event):
2012 Filter events before notifying, in case some need to be
2014 (registry_filter_event): New,
2015 we defer certain incoming events (for instance
2016 window:deactivate) because we may wish to hide
2017 or reject them based on pending events. This is
2018 mostly a workaround for bug #108664.
2019 (registry_queue_event, registry_start_queue): New.
2020 (registry_defer_on_event): Test event to see if it
2022 (registry_reset_on_event): Returns TRUE if the
2023 event should cause a queue reset.
2024 (registry_discard_on_event): Returns TRUE if the event
2025 should cause the previous queue contents to be discarded.
2026 (registry_timeout_flush_queue): Flushes the pending event
2027 queue if no reset/discard-triggering events have come in
2028 within the timeout period.
2029 (registry_emit_event): New.
2030 (registry_clone_notify_context): New, used when queueing the
2031 event notify contexts.
2033 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2035 * configure.in: Version revved to 1.3.2, lt 0.9.2
2036 Incremented ATK required version to 1.3.4.
2038 * cspi/spi_registry.c:
2039 (SPI_generateKeyEvent):
2040 We now pass the keystring along if it's non-null.
2042 * registryd/deviceeventcontroller.c:
2043 (keysym_mod_mask): New method, returns modifier mask
2044 required to generate a keysym from a given keycode.
2045 (dec_synth_keysym): New method.
2046 (dec_synth_keystring): New method.
2047 (dec_get_modifier_state): New method.
2048 (dec_lock_modifiers): New
2049 (dec_unlock_modifiers): New.
2050 (dec_keysym_for_unichar): New, rather brute-force
2051 conversion from UCS-4 to X KeySyms. Only works for
2052 Latin at the moment, with partial implementations for
2053 Greek, Hebrew, and (incomplete) Katakana.
2054 (impl_generate_keyboard_event): Now implement
2055 "KEYSTRING" synthesis and implement "KEYSYM"
2057 (keycode_from_keysym): Improved, passes a returned
2058 modmask value now if the corresponding param is non-NULL.
2060 Fixes bugs #92143 and #109776.
2063 * test/keysynth-test.c:
2064 New test program for key synthesis, to confirm fixes for
2068 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2070 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2072 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2073 Add line for RELATION_POPUP_FOR
2075 * docs/reference/cspi/tmpl/spi_relation.sgml:
2076 Add relation SPI_RELATION_POPUP_FOR
2078 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2079 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2081 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2083 * libspi/relation.c (spi_init_relation_type_table):
2084 Add line for RELATION_POPUP_FOR
2086 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2088 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2089 there are still windows which have not been deleted and emit
2090 window:deactivate, if necessary and window:destroy events.
2091 This fixes bug #114370. The change on June 5th was not correct.
2093 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2095 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2098 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2100 New methods for client exception handling and interception.
2101 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2102 (SPI_exceptionHandlerPop): You guessed it...
2103 (SPI_getSourceType): Return the type of object which offended.
2104 (SPI_getExceptionCode): Return an enum code telling, possibly,
2105 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2106 (SPIAccessibleException_getSource): get the source object for
2107 exceptions that come from Accessibles, if SPIExceptionSourceType is
2108 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2109 (SPIException_getDescription): New, returns a string description of
2110 the problem. [Not yet a stable ABI, strings are not frozen]
2112 * cspi/spi-private.h:
2113 Added implementation details of opaque SPIException
2117 Implementations of above. Also
2118 (_cspi_exception_throw): new private method that
2119 dispatches exceptions to handlers, called from cspi-bonobo.c
2121 * cspi/bonobo/cspi-bonobo.c:
2122 (cspi_check_ev): call _cspi_exception_throw.
2123 Don't print a warning message if the exception has been
2124 handled by _cspi_exception_throw.
2126 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2128 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2129 there are still windows which have not been deleted and emit
2130 window:deactivate, if necessary and window:destroy events.
2131 This fixes bug #114370.
2133 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2136 (cspi_accessible_is_a): Make non-fatal
2137 if the object reference is dead.
2139 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2141 * cspi/spi_main.c: #include <stdio.h>
2142 * test/simple-at.c: ditto
2143 * test/event-listener-test.c: ditto
2144 * test/screen-review-test.c: ditto
2146 2003-05-30 Michael Meeks <michael@ximian.com>
2148 * test/test-simple.c (main): use CORBA_ORB_perform_work
2149 instead of an unnecessary linc_ call.
2151 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2153 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2154 Add SPI_STATE_INDETERMINATE.
2156 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2159 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2161 * libspi/stateset.c (init_state_type_tables): Add support for
2164 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2166 * configure: Update versions of atk and gail required.
2167 This fixes bug #113268.
2169 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2171 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2173 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2175 * libspi/Makefile.am:
2176 Ensure headers are generated before being used by c sources.
2178 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2181 Simplified lt versioning rules.
2182 Incremented version to 1.3.0, to indicate that we're on the
2183 unstable branch now.
2185 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2187 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2188 Add MKDB_OPTIONS=--outtput-format=xml
2190 * docs/reference/cspi/at-spi-cspi-docs.sgml
2191 docs/reference/idl/at-spi-idl-docs.sgml:
2192 Convert to Docbook XML.
2194 This fixes bug #111793.
2196 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2198 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2199 AcccessibleKeyEventType, AccessibleKeyMaskType.
2201 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2203 * cspi/state-types.h: Add documentation for AccessibleState.
2205 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2206 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2207 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2208 AccessibleComponentLayer.
2210 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2213 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2215 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2216 Accessible. Add description of AccessibleEvent,
2217 AccessibleEventListenerCB.
2219 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2222 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2223 documentation. Add description of AccessibleKeystrokeListenerCB,
2224 AccessibleKeyEventMask, AccessibleModifierMaskType,
2225 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2226 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2228 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2231 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2234 This fixes bug #104730.
2236 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2238 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2239 Set is_text field of Accessibility_DeviceEvent data structure.
2241 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2242 is-text field of AccessibleDeviceEvent data structure.
2244 This addresses part of bug #108666.
2246 * registryd/devcieeventcontroller.c: Unset debug option.
2248 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2250 * cspi/accessible.c:
2251 (cpi_initial_relation_type_table): New function which initializes
2252 mapping between Accessibility_RelationType and AccessibleRelationType.
2253 (cspi_relation_type_from_spi_relation_type): New function which
2254 translates an Accessibility_RelationType into an AccessibleRelationType.
2255 (AccessibleRelation_getRelationType): Use
2256 cpi_relation_type_get_spi_relation_type to return correct value.
2257 (spi_state_to_corba): Return correct type for default case.
2259 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2260 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2262 * cspi/cspi-bonobo-listener.c:
2263 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2266 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2267 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2268 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2269 libspi/image.c, libspi/listener.c, libspi/selection.c,
2270 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2271 registryd/desktop.c, registryd/registry.c:
2272 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2274 * libspi/eventlistener.c
2275 Remove semicolon after BONOBO_TYPE_FUNC.
2277 * libspi/relation.c:
2278 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2279 (spi_init_relation_type_table): Initialize using correct type.
2281 * registryd/desktop.c:
2282 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2283 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2284 of Accessibility_KeyEventType.
2286 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2289 * tests/simple-at.c, tests/screen-review-test.c:
2290 Add include for <strings.h>.
2292 * tests.stress-test.c:
2293 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2295 These changes fix compiler warnings when using FORTE compiler on
2296 Solaris; fixes bug #107479.
2299 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2302 * configure.in: revved to 1.1.10
2304 * libspi/keymasks.h:
2305 (SPI_KEYMASK_NUMLOCK): Added.
2307 * registryd/deviceeventcontroller.c:
2308 (spi_key_event_matches_listener): AND with a smaller
2309 bitmask (as we should).
2310 (spi_dec_translate_mask):
2311 New method, sets the virtual NumLock modifier bit
2312 if numlock is on. Eventually it can handle other virtual
2313 modifier bits if needed, or other marshalling from
2314 at-spi modifier masks to platform (X) masks.
2315 (spi_dec_key_listener_new):
2316 Call spi_dec_translate_mask to set up virtual mod bits
2317 in the 'mask' field when creating a new listener struct.
2318 (spi_dec_emit_modifier_event):
2319 Set the virtual (i.e. NumLock) bits before emitting event.
2320 (spi_controller_register_with_devices):
2321 Query for the NumLock modifier 'physical' bit if Xkb is
2322 present, for use in above methods.
2326 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2328 * registryd/deviceeventcontroller.c:
2329 (spi_keystroke_from_x_key_event):
2330 Instead of checking to see if the keysym is
2331 printable, check the string from XLookupString
2332 if available, get the first unicode character from it,
2333 and call g_unichar_isprint to determine whether the
2334 is_text flag should be TRUE or FALSE.
2338 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2340 * atk-bridge/bridge.c: Add support for extended events
2341 * cspi/spi_event.c: Add documentation and implementation for
2343 * tests/event-listener-test.c: Add tests for extended events.
2345 This fixes bugs #100424 and #100426.
2347 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2349 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2350 of LT_CURRENT. This fixes bug #89350.
2352 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2354 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2355 number of signal parameter values before accessing them. This fixes
2358 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2360 * configure.in: Fixed duplicate inclusion of -lspi.
2361 * branched for gnome-2-2/HEAD.
2362 [created tag "gnome-2-2"]
2364 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2366 * configure.in: 1.1.9 release.
2369 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2371 [needed by GOK, to fix bugs 107985 and 107988]
2372 * registryd/deviceeventcontroller.c:
2373 (spi_dec_clear_unlatch_pending):
2374 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2375 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2376 (spi_dec_init_mouse_listener):Emit warning if mouse button
2378 (spi_device_event_controller_forward_mouse_event):
2379 Removed unnecessary parens from a conditional.
2380 (global_filter_fn):Added TODO comment.
2381 (impl_generate_keyboard_event):
2382 Cancel a pending relatch if a 'delatching' key was
2385 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2387 * atk-bridge/bridge.c:
2388 Change atk_signal_child_changed to atk_signal_children_changed.
2389 Reorganize code in spi_atk_bridge_signal_listener().
2391 * test/event-listener-test.c:
2392 Add children_changed_listener and report_children_changed_event()
2393 to test AccessibleChildEvent_getChildAccessible.
2395 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2397 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2398 g_strdup to CORBA_String_dup (bug #105291)
2400 * test/event-listener-test.c (report_text_event): Add call to
2403 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2405 * registryd/deviceeventcontroller.c:
2406 (spi_keystroke_from_x_key_event):
2407 Fix string and keysym return codes to match modifier state.
2410 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2412 * registryd/deviceeventcontroller.c:
2413 (spi_keystroke_from_x_key_event):
2414 Fix segv due to improper use of isprint(c). [bug #107254]
2416 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2419 (get_accessible_text_boundary_type):
2420 Move default return value to (new) default case in switch.
2421 (get_accessible_text_clip_type):
2422 Move default return value to (new) default case in switch.
2424 * libspi/application.c:
2425 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2426 Remove unused methods.
2427 (impl_accessibility_application_register_object_event_listener):
2428 Remove unused methods.
2431 Added #include of <math.h>.
2433 * registryd/deviceeventcontroller.c:
2434 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2435 we don't currently use this method.
2436 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2438 (impl_generate_key_event):
2439 Remove unused variables.
2440 (impl_generate_mouse_event):
2441 Initialize button to zero, just in case we get an invalid
2442 input. Added support for mouse buttons 4 and 5.
2443 (spi_device_event_controller_new):
2444 Removed unused variable declaration for 'private'.
2446 Added #include of <gdk/gdk.h>
2448 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2450 * configure.in: Update to work when X is not installed in expected
2451 location. Fixes bug #105836.
2453 * atk-bridge/bridge.c
2454 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2456 (spi_atk_register_event_listener): Add signal listener for
2458 (spi_atk_bridge_signal_listener): Event event when link-selected
2459 signal is emitted. (bug #104622)
2461 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2462 on returned string. (bug #105291)
2464 * test/event-listener-test.c: Add test for link-selected.
2466 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2468 * atk-bridge/Makefile.am: Correct typo in previous commit.
2470 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2472 * atk-bridge/Makefile.am: Allow for build directory to be different
2473 from source directory
2475 * registryd/Makefile.am: Allow for build directory to be different
2476 from source directory
2480 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2483 Fixed dependencies for libcspi so that libspi gets pulled in
2484 properly. Fixes 104741.
2488 Clean up inline docs a little.
2490 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2492 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2493 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2494 the AtkObject within an SpiDesktop.
2495 This addresses bug #101524.
2497 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2498 Remove call to gdk_init().
2500 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2501 so that Display is set when SpiDesktop is created.
2503 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2505 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2506 This fixes bug #102830.
2508 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2510 * test/test-simple.c: Update to take account of fact that GailButton
2511 now implements AtkText.
2512 (create_text_window): Set name on AtkObject for GtkEntry.
2513 (validate_accessible): Check accessible name before calling test_text().
2515 * libspi/Makefile.am: Fix problem with building outside of source
2516 directory. Bug #98120.
2518 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2519 typo in documentation comments. Bug #94275.
2521 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2523 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2525 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2528 Add includes to avoid compiler warnings on Solaris.
2529 (impl_getRangeExtents): Bug fix.
2531 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2533 Fix for 100944, [API addition approved by Gman and murrayc].
2540 * idl/Accessibility_Text.idl:
2541 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2542 (Text::getRangeExtents): New method for efficient
2543 bounds query of a text range.
2544 (Text::getBoundedRanges): New method for efficient
2545 clipping of text to bounding boxes.
2546 (unImplemented7, unImplemented8):
2547 Removed these padding methods to preserve bincompat.
2550 (impl_getRangeExtents): implementation of new IDL.
2551 (impl_getBoundedRanges): implementation of new IDL.
2552 (SpiTextRect): Internal use struct.
2553 (_spi_text_rect_union): internal method, calculates union of two
2554 SpiTextRect bounding rects.
2555 (_spi_text_range_seq_from_gslist): internal method, allows us
2556 to build our sequence efficiently as a gslist then convert it
2558 (_spi_bounds_contain): internal method, determines whether
2559 a text character is "in" or "out" of a clip rect according to
2560 values of TEXT_CLIP_TYPE.
2561 (spi_text_class_init): Initialize the new methods in the epv.
2564 (AccessibleTextClipType): New enum used by screen review api.
2565 (AccessibleTextRange): New struct used by screen review api.
2566 (AccessibleText_getRangeExtents):
2567 cspi binding for Accessibility_Text_getRangeExtents.
2568 (AccessibleText_getBoundedRanges):
2569 cspi binding for Accessibility_Text_getBoundedRanges.
2570 (AccessibleTextRange_freeRanges): convenience method.
2573 (AccessibleText_getRangeExtents):
2574 cspi binding for Accessibility_Text_getRangeExtents.
2575 (AccessibleText_getBoundedRanges):
2576 cspi binding for Accessibility_Text_getBoundedRanges.
2577 (AccessibleTextRange_freeRanges): convenience method.
2578 (get_accessible_text_clip_type): internal conversion method.
2579 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2581 * registryd/deviceeventcontroller.c:
2582 (spi_dec_mouse_check):
2583 Improved behavior for mouse:abs events
2584 [same granularity as mouse:rel events, and no
2585 events when mouse is idle].
2587 2002-12-16 Michael Meeks <michael@ximian.com>
2589 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2591 * libspi/stateset.c (state_spi_to_atk): split out
2592 ( fix several remote array bounds nasties )
2593 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2594 (impl_remove): make safe from array bounds issues.
2595 (spi_atk_state_from_spi_state): impl.
2597 * libspi/stateset.h (spi_state_set_cache_is_empty):
2598 add a set of wrapper defines to get layering right.
2600 * cspi/spi_accessible.c: update state set stuff to
2603 2002-12-14 Michael Meeks <michael@ximian.com>
2605 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2606 to avoid 2 roundtrips to the registry per key event
2607 (spi_atk_bridge_key_listener): upd.
2608 (deregister_application): release the dec.
2610 * registryd/registry.c (notify_listeners_cb):
2611 bin lots of re-enterant complexity - we no longer
2612 do a round-trip bonobo ref here, ensure that a single
2613 listener's exception failure won't poison all other
2615 (impl_registry_notify_event): bin obvious memory leak.
2617 2002-12-13 Michael Meeks <michael@ximian.com>
2619 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2620 init the ev so the error is meaningful.
2621 (spi_atk_bridge_key_listener): ditto.
2623 * cspi/spi_main.c (cspi_ev): init the ev so we start
2624 with a clean slate, otherwise the first exception
2625 kills us completely.
2627 * cspi/spi_text.c (get_accessible_text_boundary_type):
2628 add a fallthrough for no warnings.
2630 * cspi/spi_registry.c: prune unused warnings.
2632 * cspi/spi_main.c (cspi_object_take): fix
2633 mind-blowing brokenness ( by watching the compile
2636 * cspi/spi_accessible.c (Accessible_getStateSet):
2637 re-impl. to use an AtkStateSet.
2638 (spi_state_type_from_accessible_state),
2639 (init_state_table): bin these.
2641 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2643 (atk_state_set_from_accessibility_state_set): here.
2645 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2646 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2647 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2648 (AccessibleStateSet_add, AccessibleStateSet_remove),
2649 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2650 (AccessibleStateSet_isEmpty): re-write to use a local
2653 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2655 * configure.in: Revved to 1.1.7 (new keymask vals).
2657 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2659 * libspi/keymasks.h:
2660 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2662 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2665 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2666 to compare two CORBA_TypeCodes.
2667 (cspi_internal_event_add): Silence warning from FORTE compiler.
2669 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2670 avoid implicit declaration of functions.
2672 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2674 * atk-bridge/bridge.c:
2675 (spi_atk_bridge_init_event_type_consts): Store signal id for
2676 active-descendant-changed signal.
2677 (spi_atk_register_event_listeners): Add signal listener for
2678 active-descendant-changed signal,
2679 (spi_atk_bridge_signal_listener): Move code in function
2680 spi_atk-signal_emit_event() into this function.
2681 Add support for active-descendant-changed
2682 Update support for child-changed signal.
2683 (spi_bridge_window_event_listener): Silence warning.
2685 * libspi/spi_private.[ch]:
2686 (spi_init_any_object): Change second parameter from CORBA_Object to
2688 Omit call to CORBA_Object_duplicate().
2689 Set CORBA_any's _value to CORBA_Object*.
2691 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2697 (AccessibleEvent_ref, AccessibleEvent_unref):
2698 New methods, for persisting an event outside the emission context.
2699 Must be used if the new accessor methods are to be called
2700 outside of the event listener's callback.
2702 * cspi/bonobo/cspi-bonobo.c:
2703 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2704 as second parameter instead of NULL, so we can call
2705 cspi_check_ev afterwards.
2708 (cspi_object_take): New internal method,
2709 converts a CORBA_Object reference to a hard ref on
2710 an Accessible if possible, returning NULL if the object
2711 reference is invalid or an Accessible * otherwise.
2714 (AccessibleEvent_ref):
2715 Increment the event's internal private refcount, and
2716 add the event's internal struct to an internal cache
2717 if it's not already there.
2718 (AccessibleEvent_unref):
2719 Decrement the event's refcount and remove it from
2720 the cspi event cache if refcount==0.
2721 (cspi_event_compare): New private method.
2722 Compares two event structs via their ids. Used
2724 (cspi_internal_event_lookup): New private method.
2725 (cspi_internal_event_check): New private method,
2726 a 0-order sanity check for events to make sure their
2727 private data is intact.
2728 (cspi_internal_event_add, cspi_internal_event_remove):
2729 New private methods for managiing the event cache.
2731 * cspi/bonobo/cspi-bonobo-listener.c:
2733 Initialize the new private data elements (id, magic, ref_count).
2735 * atk-bridge/bridge.c:
2736 (spi_atk_bridge_signal_listener):
2737 Fixed bug #100530, passing wrong params to emission func.
2739 * registryd/deviceeventcontroller.c:
2740 (spi_dec_button_update_and_emit):
2741 Fixed type in mask bit operations; fix for #99799.
2743 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2745 Removed some of the more dangerous workarounds from
2746 previous commit; they are only needed by GOK, which
2747 in reality should be using another method to accomplish
2748 the goals. So on reconsideration some of the workarounds
2749 need to be reverted:
2751 * registryd/deviceeventcontroller.c:
2752 (spi_keycodes_contain, spi_dec_init_keycode_list):
2753 Removed these methods, used only by a nasty hack to try
2754 and detect whether a key synthesis should be allowed
2755 to reset the XKB latch state or not. This code was only
2756 required to work around an interaction between GOK,
2757 button events, and XKB.
2758 (impl_generate_key_event):
2759 Removed hack at end of key generation that tried to
2760 "do the right thing" if XKB latch keys were generated
2761 in the midst of button press/release pairs.
2764 Added a check for HAVE_XINPUT. Not normally used yet.
2766 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2768 Workarounds and fixes for mouse event/XKB interaction.
2770 * registryd/deviceeventcontroller.c:
2771 (spi_keycodes_contain, spi_dec_init_keycode_list):
2772 New internal methods.
2773 (spi_dec_set_unlatch_pending):
2774 Split the method that tells XKB to expect an
2775 unlatch (and revert it) out of the rest of the
2776 event handling code. This method is called by the
2777 two mouse event handlers (the poll and the filter).
2778 (spi_dec_update_and_emit, spi_dec_mouse_check):
2779 New methods split from spi_dec_poll_mouse_moved.
2780 The second one is now called from inside the filterFn
2781 when an XKB delatch event is received, to determine
2782 whether to revert the delatch or not.
2783 (spi_poll_mouse_moved): Refactor; also we can now
2784 properly handle the case where multiple button states
2785 have changed between polling cycles and we didn't get
2786 notified due to another client's grab.
2788 Synchronize the server while handling an XKB notification.
2789 Ugly, but apparently necessary to avoid nasty races.
2790 Check the mouse state on receipt of an XKB latch change,
2791 to decide whether to revert the latch or not. (Latches are
2792 reverted if there is an immediately preceding mouse button
2793 event that a client has consumed, in which case we don't want
2794 the user to see the side-effect of the event).
2795 (spi_device_event_controller_forward_mouse_event):
2796 Check for modifier events and fire before resetting mouse_mask_state,
2797 prevents losing modifier events.
2799 (impl_generate_keyboard_event):
2800 If we've just generated a keyboard event for a non-shift key,
2801 we don't want to revert the pending XKB latch.
2802 Otherwise, check the modifier state (via a call to
2803 spi_dev_mouse_check) and set the relatch mask to
2804 that state before returning.
2806 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2809 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2812 * atk-bridge/bridge.c:
2813 (spi_atk_register_event_listeners):
2814 Don't re-register for ATK events if the registry has died
2815 and the app needs to re-register; the ATK listeners are in
2816 process and doing so will cause duplicate emission.
2818 * registryd/deviceeventcontroller.c:
2819 (spi_poll_mouse_moved):
2820 Reformat the source, detect and emit multiple button-change
2821 events (i.e. if multiple buttons have changed between poll
2823 Add code to detect mouse-down events even when the pointer
2824 is grabbed; workaround for GOK bug 98420.
2825 (spi_controller_register_with_devices):
2826 Call XTestGrabControl with 'impervious' flag set to True,
2827 allows us to synthesize events and query the pointer even during
2828 an active grab by another client.
2829 (spi_device_event_controller_forward_mouse_event):
2830 Set the mouse_mask_state to the mouse_button_state from
2831 the intercepted event, to synchronize the grab listener with
2834 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2836 * cspi/spi_accessible.c:
2837 (AccessibleRole_getName):
2838 Added necessary strings for making this (deprecated)
2839 method work with the new role types.
2840 (init_role_table, role_table):
2841 Added definition of SPI_ROLE_APPLICATION.
2843 * libspi/spi-roletypes.h:
2844 Added SPI_ROLE_APPLICATION.
2846 * idl/Accessibility_Role.idl:
2847 Added ROLE_APPLICATION.
2849 * docs/reference/cspi/at-spi-cspi-decl.txt:
2850 Added SPI_ROLE_APPLICATION to docs.
2852 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2854 * cspi/spi_accessible.c
2855 (cspi_init_role_table): Do not write beyond end of role_table.
2856 (Accessible_getRole): Use correct type for value returned by
2857 Accessibility_Accessible_getRole().
2859 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2860 beyond end of role_table. (This fixes bug #98269)
2862 * libspi/application.c: Add include file spi-private.h for
2863 definition of spi_init_any_nil.
2865 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2869 * libspi/spi-private.h:
2870 Added DGB() macro, and extern int _dbg declaration.
2872 * registryd/registry.c:
2873 (definitions) storage for _dbg.
2874 (spi_registry_init):
2875 Get environment variable "AT_SPI_DEBUG".
2876 (spi_registry_set_debug):
2877 New method, to initialize _dbg value.
2878 (spi_listener_struct_new, spi_registry_object_finalize):
2879 (notify_listeners_cb):
2880 Changed fprintfs to use DBG and g_warning().
2882 * registryd/deviceeventcontroller.c:
2883 (_deregister_keygrab, spi_controller_register_device_listener):
2884 Changed debug/warning messages to use DBG macro.
2886 * libspi/listener.c:
2887 (impl_notify_event):
2888 Changed warning messages to use DBG macro and g_warning().
2890 * atk-bridge/bridge.c:
2891 (atk_bridge_init, spi_atk_bridge_get_registry):
2892 (spi_atk_bridge_exit_func):
2893 (spi_atk_bridge_property_event_listener):
2894 Changed status, warning, and error messages to use
2895 g_warning, g_message, and DBG macros.
2898 Read the state of the AT_SPI_DEBUG environment variable
2899 and set a local '_dbg' accordingly.
2901 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2903 FIXES for 98836, 98842, other bugs.
2906 Revved to 1.1.4, interface-age=4, binary-age=4.
2908 * registryd/deviceeventcontroller.c:
2910 Fixed crasher bug in last_mouse_pos initialization.
2912 * registryd/registry.c:
2913 (desktop_add_application, desktop_remove_application):
2914 Added (and then commented out) some support for
2915 object context marshalling. [TODO]
2917 * atk-bridge/bridge.c:
2918 (spi_atk_bridge_event_context_create):
2919 Commented out object context creation until it can
2920 be properly tested and debugged.
2922 * registryd/registry.c:
2923 (impl_registry_notify_event):
2924 Fixed crasher bug, we were calling
2925 spi_re_entrant_list_foreach () with an empty list.
2927 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2929 * idl/Accessibility_Action.idl:
2930 * idl/Accessibility_Component.idl:
2931 * idl/Accessibility_Desktop.idl:
2932 * idl/Accessibility_Event.idl:
2933 * idl/Accessibility_Hyperlink.idl:
2934 * idl/Accessibility_Image.idl:
2935 * idl/Accessibility_Relation.idl:
2936 * idl/Accessibility_Selection.idl:
2937 * idl/Accessibility_State.idl:
2938 * idl/Accessibility_Value.idl:
2939 Updated unimplemented slot count to minimum of
2940 four for all interfaces, for ABI freeze.
2942 * idl/Accessibility_EditableText.idl:
2943 * idl/Accessibility_Text.idl:
2944 Updated unimplemented slot count to six
2947 * idl/Accessibility_Registry.idl:
2948 Updated unimplemented slot count to six
2949 (also for DeviceEventController),
2952 * idl/Accessibility_Table.idl:
2953 Updated unimplemented slot count to eight,
2956 * idl/Accessibility_Event.idl:
2957 Added CORBA_any "any_data" member to Event struct.
2959 * idl/Accessibility_Event.idl:
2960 Added CORBA_any "any_data" member to Event struct.
2962 * atk-bridge/bridge.c:
2964 atk_signal_text_changed, atk_signal_child_changed,
2965 signal ids queried from gtype system.
2966 (AtkBridgeEventContextType): New enum.
2967 (AtkBridgeEventContextData): New struct.
2968 (AtkBridgeEventContext): New struct.
2969 (atk_bridge_init_event_type_consts):
2970 New method, initializes type contants for comparison
2971 prior to emit_eventv.
2972 (atk_bridge_event_context_init): New method,
2973 initializes a CORBA_any from an AtkBridgeEventContext.
2974 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2975 initialize the event.any_data struct.
2976 (spi_atk_bridge_event_context_create): New method,
2977 creates an AtkBridgeEventContext from signal/event info.
2978 (spi_atk_bridge_event_context_free): New method.
2979 (spi_atk_emit_eventv): Changed to take an
2980 AtkBridgeEventContext parameter. We now initialize
2981 the event.any_data member prior to notifying the
2982 Registry, via the AtkBridgeEventContext.
2983 (spi_atk_bridge_property_event_listener):
2984 (spi_atk_bridge_state_event_listener):
2985 Match emit_eventv signature.
2986 (spi_atk_bridge_object_event_listener):
2987 Match emit_eventv signature, and create an
2988 event context from the event details.
2989 Free the event context afterwards.
2990 (spi_atk_bridge_window_event_listener):
2991 Create an event context, pass it to the
2995 (AccessibleEvent_getContextString):
2996 (AccessibleEvent_getContextObject):
2997 New methods, allow query of AccessibleEvent objects
2998 for more context details (via the "any_data" member
2999 of the Event struct, above).
3002 Definitions for AccessibleEvent_getContextString
3003 and AccessibleEvent_getContextObject.
3005 * cspi/spi_listener.h:
3006 (InternalEvent): New struct.
3009 (AccessibleEvent_getContextString):
3010 (AccessibleEvent_getContextObject):
3011 Implementations of new methods, for obtaining
3012 additional context information from some event types.
3014 * cspi/spi_registry.c:
3015 (SPI_registerGlobalEventListener):
3016 Added mention of active-descendant-changed event in docs.
3018 * cspi/cspi-bonobo-listener.c:
3020 Marshal the any into the AccessibleEvent via
3023 * libspi/spi-private.h:
3024 #include <orbit/orbit.h>
3026 (spi_init_any_string):
3027 (spi_init_any_object):
3028 New convenience function declarations.
3032 (spi_init_any_string):
3033 (spi_init_any_object):
3034 New convenience function implementations.
3036 * registryd/deviceeventcontroller.c:
3037 (spi_poll_dec_mouse_moved):
3038 (spi_device_event_controller_forward_mous_event):
3039 Initialize any_data member of event.
3040 (spi_deregister_controller_device_listener):
3041 Fix incorrect param pass which was preventing deregistration.
3043 * registryd/registry.c:
3044 (desktop_add_application):
3045 (desktop_remove_application):
3046 Add object data to event's any_data before dispatch.
3048 Fix for error messages from GAIL.
3050 * test/event-listener-test.c:
3051 Test new ContextString and "any_data" API:
3052 (report_text_event): New method query and output context string.
3053 (main): register a new text listener with report_text_event
3056 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3058 Fixes for bugs 98127 and 97914.
3059 * cspi/spi-roletypes.h:
3060 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3062 * cspi/spi-statetypes.h:
3063 Added SPI_STATE_MANAGES_DESCENDANTS
3065 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3066 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3067 * cspi/spi_accessible.c:
3068 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3069 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3070 Accessibility_STATE_MANAGES_DESCENDANTS
3071 * libspi/accessible.c:
3072 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3073 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3074 As requested by Bill, I also cleaned up the alignment.
3075 * libspi/relation.c:
3076 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3077 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3078 * libspi/stateset.c:
3079 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3080 Accessibility_STATE_MANAGES_DESCENDANTS
3081 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3082 Document changes reflecting modifications to roles.
3083 * docs/reference/cspi/tmpl/spi_relation.sgml:
3084 Document changes reflecting modifications to relations.
3085 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3086 Document changes reflecting modifications to states.
3088 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3091 Revved to 1.1.3, interface-age=3, binary-age=3.
3092 Added REBUILD macro.
3095 Removed accessx-gui from the tests, since we have a nice
3096 keyboard accessibility capplet now :-)
3098 * test/keysynth-demo.c:
3099 (increment_scan): removed do-nothing default: case,
3102 * test/visual-bell.c:
3103 (main) : removed do-nothing default: case,
3106 * cspi/spi_action.c:
3107 (AccessibleAction_getKeyBinding_):
3108 Documented keybinding string format.
3112 (AccessibleText_getAttributes):
3113 Documented the text attribute string format.
3114 It's changed to use semicolon delimiters also,
3115 to prevent clashes with CSS attributes, but the old
3116 trick of looking for ", " strings will still work
3117 (as unreliably as ever). Fix for bug related to 97916.
3120 Include <cspi/bonobo/cspi-bonobo-listener.h>
3121 Fixes build warning.
3122 (SPI_freeAccessibleKeySet):
3123 (AccessibleKeystrokeListener_addCallback):
3124 (AccessibleKeystrokeListener_removeCallback):
3125 Modify to use AccessibleDeviceListener API internally,
3126 instead of AccessibleKeystrokeListener.
3128 * idl/Accessibility_Event.idl:
3129 Added two more empty slots to EventListener (for a total of four).
3131 * idl/Accessibility_Accessible.idl:
3132 Added four empty slots to Accessible interface.
3134 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3136 * idl/Accessibility_Registry.idl:
3137 (KeyEventType, EventType):
3138 Marked KeyEventType as deprecated; it duplicates
3139 functionality of EventType, which has been extended to
3140 include Mouse-button events.
3141 (KeyEventTypeSeq): defined in terms of EventType.
3142 (registerDeviceEventListener, deregisterDeviceEventListener):
3143 New methods, for managing listeners to device events,
3144 which potentially may consume them.
3147 Added definition for AccessibleDeviceListener.
3149 * cspi/spi-listener.h:
3150 (enum AccessibleDeviceEventType):
3151 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3152 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3153 for backwards compat.
3154 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3155 and typedef'd AccessibleKeystroke to it for back-compat.
3156 (AccessibleDeviceListenerCB):
3157 New function prototype typedef.
3160 (AccessibleDeviceEventMask): New typedef.
3161 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3162 (AccessibleKeyMaskType):
3163 Set equivalent to AccessibleModifierMaskType for back-compat.
3164 (SPI_createAccessibleKeystrokeListener):
3165 (AccessibleKeystrokeListener_unref):
3166 Deprecated in favor of equivalent (better-named) new API below..
3167 keystroke listeners are like all device listeners.
3168 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3169 New API names for old features :-).
3170 (AccessibleDeviceListener_addCallback):
3171 (AccessibleDeviceListener_removeCallback):
3172 (SPI_registerDeviceEventListener):
3173 (SPI_deregisterDeviceEventListener):
3177 (SPI_createAccessibleKeystrokeListener):
3178 Use new preferred API, cspi_device_listener_new() and
3179 cspi_device_listener_add_cb().
3180 (AccessibleKeystrokeListener_removeCallback):
3181 Use new preferred API, cspi_device_listener_remove_cb().
3182 (AccessibleKeystrokeListener_unref):
3183 Use new preferred API, cspi_device_listener_unref().
3184 (SPI_createAccessibleDeviceListener):
3185 (AccessibleDeviceListener_addCallback):
3186 (AccessibleDeviceListener_removeCallback):
3187 Implementation of new API.
3189 * cspi/spi_registry.c:
3190 (SPI_registerDeviceEventListener):
3191 (SPI_deregisterDeviceEventListener):
3192 Implementation of new API. Fixed memory leak and removed need to
3193 allocate EventTypeSeq (thanks Michael for catching this).
3194 Squashed a wayward CORBA_exception_free that shouldn't get called.
3196 * cspi/bonobo/cspi-bonobo-listener.c:
3198 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3199 (cspi_key_event): renamed to cspi_device_event().
3200 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3201 Extended to handle mouse button events as well as key events.
3202 (CSpiKeystrokeListener):
3203 Class superceded by CSpiDeviceListener.
3204 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3205 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3207 * cspi/bonobo/cspi-bonobo-listener.h:
3208 (CSpiKeystrokeListener):
3209 Class superceded by CSpiDeviceListener.
3210 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3211 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3213 * libspi/Makefile.am:
3214 Replaced keystrokelistener.h and keystrokelistener.c
3215 with devicelistener.h and devicelistener.c; keystrokelisener.h
3216 stub retained for back-compat.
3218 * libspi/keystrokelistener.c:
3222 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3224 * registryd/deviceeventcontroller.c:
3225 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3226 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3227 (DEControllerPrivateData): Added xkb settings data.
3228 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3229 button release events (which can't be captured via XGrabButton).
3230 Don't dispatch via the 'normal' event mechanism if the device event was
3232 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3233 Handle the typeseq data in its new location (see above).
3234 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3235 New methods, for "generic" device listeners.
3236 (spi_controller_register_device_listener):
3237 Now handle mouse event listeners as well as key listeners.
3238 (spi_controller_notify_mouselisteners):
3239 New internal method.
3240 (spi_device_event_controller_forward_mouse_event):
3241 Now we notify mouse device listeners as well as generating the
3242 non-consumable "mouse:" events.
3244 We must check and restore the XKB
3245 modifier map if we consume the event, since the act of triggering
3246 a mouse event will normally reset the XKB latch. This is required for
3248 (spi_controller_register_with_devices):
3249 Load the XKB settings when registering, and register for XKB
3250 state notify events.
3251 (spi_key_eventtype_seq_contains_event):
3252 Renamed spi_eventtype_seq_contains_event, since it's used
3253 internally for all device event types now.
3254 (spi_key_event_matches_listener):
3255 Uses spi_eventtype_seq_contains_event now.
3256 (spi_device_event_controller_object_finalize):
3257 Free the private data and the XkbKeyboard struct.
3258 (impl_register_device_listener, impl_deregister_device_listener):
3259 Implementation of new IDL.
3260 (spi_deregister_controller_device_listener):
3261 New internal method.
3262 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3263 More efficient implementation, we don't have to create a new
3264 XkbControls structure every time we query.
3265 (spi_device_event_controller_class_init):
3266 Initialize the epv entries for the new IDL. Assign the
3267 "spi-dec-private" quark.
3268 (spi_device_event_controller_init):
3269 Initialize the private data.
3270 (spi_device_event_controller_forward_key_event):
3271 Removed a bogus CORBA_exception_free() call.
3273 * registryd/deviceeventcontroller.h:
3274 Replaced inclusion of keystrokelistener.h with
3277 * test/event-listener-test.c:
3278 (report_mouse_event):
3281 Added mouse-event device listener.
3283 * test/test-simple.c:
3284 (create_test_window):
3285 Fixed regression (we were instantiating a GtkRange,
3286 which is now an abstract class). Also fixed to match
3287 existing AtkRole names, this seems to have changed in ATK
3288 awhile ago; too late now I think, and the new
3289 mechanism is at least elegant and consistent with the
3290 glib enum "nick" APIs.
3292 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3294 * idl/Accessibility_Relation.idl:
3295 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3296 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3297 * idl/Accessibility_Role.idl:
3298 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3299 * idl/Accessibility_State.idl:
3300 add STATE_MANAGES_DESCENDANTS
3301 * test/event-listener-test.c:
3302 Added a listener for active-descendant events.
3304 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3306 * atk-bridge/bridge.c
3307 (atk_bridge_init): If application is Bonobo component wait until top
3308 level is added before registering
3309 (spi_atk_bridge_do_registration): New function which contains code,
3310 formerly in atk_bridge_init, to do application registration.
3311 (spi_atk_bridge_toplevel_added): Signal called when top level
3312 added to Bonobo component
3314 This fixes bug #83134.
3316 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3318 * registryd/deviceeventcontroller.c
3319 Fixed compilation error caused by calling gettimeofday()
3322 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3327 Added template for HAVE_XKB.
3330 Changes to check for XKB, and to set the HAVE_XKB #define if it
3333 * libspi/listener.c:
3334 ()impl_notify_event): Make failure to get event source name
3337 * registryd/deviceeventcontroller.c:
3338 (#include): include X11/XKBlib.h.
3339 (DEControllerPrivateData) : New struct.
3340 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3342 (dec_synth_keycode_press) (dec_synth_keycode_release):
3343 New methods; split the key synthesis code into these methods.
3344 They check XKB settings before determining the "time" values to
3345 pass to Xtest; this fixes bug #95828.
3346 (impl_generate_keyboard_event): Changed to use methods above,
3347 instead of callng Xtest directly.
3348 (spi_device_event_controller_init): Initialize new privae struct s
3350 (spi_device_event_controllr_object_finalize):
3351 Free the (new) private data.
3353 * registryd/deviceeventcontroller.h:
3354 Add new gpointer to end of struct data.
3356 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3359 Incremented revision to 1.1.2, SONAME is still '.so', library
3360 extensions are ".so.0.0.2".
3362 * registryd/deviceeventcontroller.c:
3363 FIXES FOR #93592 and #95940.
3364 (statics): renamed mouse_button_state to mouse_mask_state,
3365 added key_modifier_mask.
3366 (spi_dec_poll_mouse_moved):
3367 Added key modifier checks, and emit "keyboard:modifiers"
3368 events when the key modifiers currently in use change.
3369 Also generate "mouse:abs" events periodically, even if the mouse
3370 is stationary (should we?).
3371 Alternatively we could generate "mouse:abs" events for either all
3372 mouse movements, or every 'nth' mouse movement, or at the
3373 beginning and end of every "active" mouse period.
3375 * test/event-listener-test.c:
3376 (main): Added listener for "keyboard:modifiers" events.
3378 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3380 * libspi/keymasks.h:
3381 Added key mask #defines for mouse buttons; e.g.
3382 SPI_KEYMASK_BUTTON1, etc.
3385 Incremented dependency on ATK to version 1.1.0. (This dependency
3386 is probably premature but will soon be real enough).
3388 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3390 * libspi/hyperlink.[ch]
3391 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3392 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3395 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3400 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3402 * registryd/deviceeventcontroller.c
3403 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3404 events to be ignored.
3405 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3406 keyboard_mode so that XAllowEvents() can be called.
3410 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3412 * cspi/spi-accessible.c: Correct names of roles returned by
3413 AccessibleRole_getName(). Fixes bug #95055.
3415 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3417 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3420 * registryd/registry.c
3421 (desktop_remove_application: Write diagnostic message to stderr for
3424 (impl_accessibility_registry_deregister_global_event_listener):
3425 Correct size of lists array. This addresses bug #94555).
3427 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3429 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3432 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3434 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3437 * registryd/registry.c (impl_registry_notify_event): Remove
3438 unnecessary call to parser_event_type().
3440 * docs/reference/cspi/tmpl/spi_component.sgml:
3441 Add reference to SPI_LAYER_WINDOW.
3443 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3445 * registryd/registry.c
3446 (desktop_add_application): Remove leak.
3447 (desktop_remove_application): Remove leak.
3448 (parser_event_type): Remove leak.
3450 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3452 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3453 bogus call to CORBA_string_dup(). Also removed unnecessary
3454 g_string_dup/g_free calls.
3456 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3458 * registryd/deviceeventcontroller.c:
3459 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3461 * test/event-listener-test.c:
3462 main: commented out three redundant listeners, to reduce output
3463 noise. (They still are potentially useful for testing).
3466 2002-09-13 Michael Meeks <michael@ximian.com>
3468 * Update all the copyrights to include Ximian.
3470 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3472 * cspi/spi.h: add SPI_LAYER_WINDOW.
3474 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3475 add Accessibility_LAYER_WINDOW case.
3477 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3479 * libspi/component.c: (impl_accessibility_component_get_layer):
3480 add ATK_LAYER_WINDOW case.
3482 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3484 * configure.in: incremented micro version.
3486 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3488 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3491 Clarified and reworded our commit policy.
3494 Started an API "todo" addition list for 2.2.
3497 (impl_getSelection):
3498 Free char pointer from atk_text_get_selection, which was being leaked.
3500 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3503 Small revision to author acknowledgement.
3505 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3507 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3508 If signal has detail add it to the type of the event.
3511 2002-08-12 Michael Meeks <michael@ximian.com>
3513 * test/test-simple.c (global_listener_cb): bin bogosity.
3514 (test_keylisteners): disable, still doesn't work reliably,
3515 certainly not on my system anyway.
3517 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3518 don't leak a reference on the DEC. This round-trip
3519 fetching of the DEC per keystroke sucks, it should be
3522 * cspi/spi-private.h,
3523 * cspi/cspi-lowlevel.h,
3524 * cspi/bonobo/cspi-bonobo-listener.[ch],
3525 * cspi/bonobo/cspi-bonobo.c: get the copyright
3526 notices better - there is still a large amount of
3527 work in at-spi falsely attributed solely to Sun.
3529 * cspi/spi_main.c (cspi_object_ref): kill bogus
3530 hash lookup, just increment the ref.
3531 (SPI_freeString): make explicit the fact that we
3532 handle NULL strings just fine.
3533 (report_leaked_ref): obey coding standards.
3534 (cspi_object_hash, cspi_object_equal): kill retval.
3535 (cspi_object_release): only release if not on loan.
3536 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3537 (cspi_object_borrow, cspi_object_return): impl.
3539 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3540 use cspi_object_borrow / return.
3542 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3544 * cspi/bonobo/cspi-bonobo-listener.c:
3546 Don't call cspi_oject_new() because this is creating a new Accessible
3547 every single time that an event is fired. This causes ATs like at-poke
3548 to nolonger recognise the source of the event and thus ignore it.
3549 Re-use the object from the cache, ref it and then unref it after the
3550 listeners have been called.
3552 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3554 * test/event-listener-test.c:
3555 Added command-line options to disable mouse events (m) and
3558 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3560 * configure.in: Update required versions of ATK, GTK+ and GAIL
3562 * cspi-1.0.pc.in: Add dependency for X include files
3565 * cspi/bonobo/Makefile.am:
3566 Add $(X_CFLAGS) so that X include files
3567 are picked up even if not in standard place (bug #71686)
3569 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3571 * registryd/deviceeventcontroller.c: fix for 84261
3572 (spi_dec_mouse_moved):
3573 Added test of mouse button mask, so that we can detect mouse
3574 button release. Unfortunately we can't otherwise detect mouse
3575 button release events without consuming the mouse press event,
3576 because of the way XGrabButton works. This means that our mouse
3577 release events have a latency dependent on the polling period
3578 while the mouse button is down. At least in this case we only
3579 have to poll while the button is down, and not at other times.
3580 If the button masks don't match with what the last press event
3581 reported, we report the appropriate button release event.
3582 (spi_dec_ungrab_mouse):
3583 New method (not yet called).
3584 (spi_device_event_controller_forward_mouse_event):
3585 New method, sends mouse press event from GdkFilter.
3586 (spi_dec_init_mouse_listener):
3587 Added code to call XGrabButton, redirecting mouse button events to
3588 the root window and our Gdk event loop.
3590 Added code to filter mouse button events, and reordered.
3592 * test/event-listener-test.c:
3594 Added registration for mouse events of type "mouse:button".
3596 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3598 * registryd/deviceeventcontroller.c: partial fix for 84261
3599 (spi_dec_poll_mouse_idle):
3600 New method, a timeout which checks to see if the mouse
3602 (spi_dec_poll_mouse_moving):
3603 A timeout to be called when mouse motion is underway.
3604 (spi_dec_poll_mouse_moved):
3605 A method which fires an event if the mouse has moved, and reports
3606 whether or not it did so.
3607 (spi_dec_init_mouse_listener):
3608 A method which sets up the timeouts above.
3609 (spi_device_event_controller_new):
3610 Now calls spi_dec_init_mouse_listener.
3612 * registryd/registry.c:
3613 (spi_registry_init):
3614 Now we initialize the device event controller when the registry is
3615 initialized, instead of waiting until a client has requested a key
3616 event notification; this is because we need the event controller
3617 for mouse events, but the mouse event registration API is a
3618 "registry" call and doesn't explicitly call the
3619 deviceeventcontroller.
3620 We now report mouse motion events with a 100 ms idle latency and
3621 a 20 ms granularity when motion is in progress.
3623 * test/event-listener-test.c:
3625 We now register the "detail listener" for events of type
3626 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3627 delivered only for the first mouse event received, and thereafter
3628 "mouse:abs" events are delivered.)
3630 * cspi/spi_registry.c:
3631 DOCS: Documented the above mouse event typestrings.
3633 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3635 Happy Summer Solstice...
3637 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3638 (spi_controller_notify_keylisteners):
3639 Changes to remove a listener from the listener list, freeing its
3640 open keygrabs, if a notification to that listener fails. This
3641 means that although a dead listener can continue to hold a passive
3642 keygrab, a maximum of one dispatch to such a listener can fail
3643 before the listener is removed from the list, thus the keygrab
3644 will be released on the next occurrence.
3645 As part of this fix:
3646 (spi_notify_keylisteners):
3647 Renamed to spi_controller_notify_keylisteners, as the controller
3648 instance must now be passed as an argument.
3649 The copied 'notify' GList is now a list of DEControllerKeyListener
3650 objects, since we need more than just the CORBA reference if a
3651 notify fails and we need to deregister the listener.
3652 (impl_notify_listeners_sync):
3653 (impl_notify_listeners_async):
3654 (spi_device_event_controller_forward_key_event):
3655 Modify use of notify_keylisteners in accordance with above
3657 (spi_deregister_controller_key_listener):
3658 New method introduced by refactoring, from
3659 impl_deregister_keystroke_listener.
3660 (impl_deregister_keystroke_listener):
3661 Call spi_deregister_controller_key_listener.
3662 (spi_key_listener_clone):
3663 New method to copy a key listner without doing a 'ref' on the
3664 remote object instance; used to create a notifier list.
3665 (spi_key_listener_data_free):
3666 New method, frees data without unreffing the source.
3668 (spi_key_listener_clone_free): new method.
3669 (spi_key_listener_free):
3670 refactored to call spi_key_listener_data_free.
3672 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3674 * registryd/registry.c: [fix for bug 86048]
3675 (notify_listeners_cb):
3676 Clear CORBA system exceptions which occur when notifying
3677 listeners, before returning to the source of the original event,
3678 since the event source doesn't care if the relayed notify failed.
3679 In other words, don't complain to the atk-bridge if the registry
3680 could not notify all its listeners, that's no fault of the
3681 application and thus should not appear to be an error from the
3682 application's perspective.
3684 * cspi/spi_main.c: [fix for bug 85980]
3686 Replaced use of bonobo_object_dup_ref with call to the wrapper
3687 method, csou_dup_ref (); this silences a compiler warning and
3688 provided more portability.
3690 Ping the registry before return, and restart if necessary.
3692 * cspi/bonobo/cspi-bonobo.c:
3694 New internal method.
3696 Fixed this method to return an object reference, as it should have
3699 * cspi/cspi-lowlevel.h:
3700 Added internal definition for cspi_ping() and fixed
3701 return type of cspi_dup_ref().
3704 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3706 * atk-bridge/bridge.c: [fix for bug 85305]
3707 (spi_atk_bridge_register_application):
3708 New method where the initial application registry calls have been
3709 moved; it allows an application to re-register in response to
3710 certain error conditions (such as a registry restart, see below).
3712 Moved some initialization code to the method
3713 spi_atk_bridge_get_registry, below.
3714 (spi_atk_bridge_get_registry):
3715 New, private accessor function for the Accessibility_Registry
3716 instance. If the registry has not been started before, or has
3717 died (as detected by failure of a CORBA exception), it is
3718 restarted before return, and spi_atk_bridge_register_application
3719 is called again to register with the new bridge instance.
3720 (spi_atk_emit_eventv):
3721 Set registry_died on error; use spi_atk_bridge_get_registry () to
3722 access the registry.
3724 * registryd/registry.c:
3725 (impl_accessibility_registry_register_global_event_listener):
3726 Set listener's event_type_quark to etype.minor instead of
3727 etype.major (fix for bug 84856).
3729 * test/event-listener-test.c:
3730 (report_detail_event):
3731 Change the output string so that user/tester can tell that the
3732 'detail listener' was called instead of the 'generic listener'.
3734 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3736 Fixes for bugs 84900, 84908, 84897, 84898.
3741 Revved version to 1.1.0
3742 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3743 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3745 * idl/Accessibility_Registry.idl:
3746 (EventListener::notifyEvent):
3747 Removed 'oneway' directive after extensive consulation with
3748 ORBit2 team and others. This means also that unref() of the event
3749 source can and should be done synchronously after emission, rather
3750 than remotely in the client, after servicing the notify call on
3753 NOTE: This change speeds up listener performance considerably, but
3754 introduces new latency on the application side. We may want to
3755 add an event queue to the atk-bridge.
3757 * atk-bridge/bridge.c:
3758 (spi_atk_bridge_focus_tracker):
3759 Do a local unref() on the event source after emission.
3761 * registryd/registry.c:
3762 (desktop_remove_application):
3763 Do an unref() on the event source after emission.
3764 (desktop_add_application):
3765 Do an unref() on the event source after emission.
3766 (notify_listeners_cb):
3767 When relaying an event, don't automatically add the event source
3768 to the local object cache, just CORBA_dup it instead. Likewise,
3769 if this method reenters, release the ref rather than calling
3771 (impl_registry_notify_event):
3772 No longer call remote unref() on the event source after dispatch.
3774 * libspi/eventlistener.c:
3775 (impl_accessible_event_notify_event):
3776 Removed remote unref ()
3778 * cspi/bonobo/cspi-bonobo-listener.c:
3780 We now call cspi_object_new() instead of cspi_object_add() on
3781 receipt of an event; thus we only have an implicit object ref
3782 while the cspi_event method is being executed. If we need to keep
3783 a reference to the object, the listener must call ref() on the
3784 object. Thus also we don't need to call cspi_object_unref() after
3785 invoking the listener callbacks in this method.
3789 New internal API for creating a new cspi object, without adding it
3790 to the object cache.
3792 Now uses cspi_object_new() to create the cspi object instance.
3794 Now checks to see if the object is in the internal object cache,
3795 and adds it if necessary before incrementing its refcount (note
3796 that new objects are added with a refcount of 1).
3797 (report_leaked_ref):
3798 New method which gives some information on leaked object instances
3799 if leak detection is turned on.
3801 * test/event-listener-test.c:
3802 (timing_test_event):
3803 New method, used for testing event delivery timing for special
3804 events of type "object:test". It reports elapsed time and
3805 events/sec every 500 events.
3807 Added a new listener, 'test listener', to check timing of event
3808 receipt as noted above.
3810 Added some timing output here also, reports elapsed time every 100
3813 * test/stress-test.c:
3814 Emit events of type "object:test", for use with "event-listener-test".
3816 * test/test-simple.c:
3817 (global_listener_cb):
3818 Call Accessible_ref() on the event source before calling
3819 validate_accessible, since the validation process does pointer
3820 comparisons on the event source, meaning that the event source
3821 needs to be added to the local object cache first. Any use of
3822 such pointer comparisons between Accessible objects requires that
3823 the caller hold an explicit reference to those objects.
3824 We also must therefore call Accessible_unref() when leaving this method.
3826 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3828 * registryd/deviceeventcontroller.c:
3829 (spi_controller_update_key_grabs):
3830 Fix for #84735, subsequent keygrab listeners not informed of
3831 registration failure.
3834 (spi_base_construct):
3835 Add an assertion on construct, to make sure the GObject passed in
3836 is really a GObject.
3838 Explicitly initialize object->gobj pointer to NULL;
3840 * cspi/bonobo/cspi-bonobo-listener.c:
3841 (cspi_object_add_ref):
3842 New method, can specify whether to dup-ref a bonobo object passed
3843 in if it's newly added to the object cache.
3845 Now calls cspi_object_add_ref with second param of "FALSE". This
3846 prevents us from doing a pointless dup-ref followed by
3847 release-unref for all those cases where the object is already in
3848 our object cache (fix for #85205).
3850 * atk-bridge/bridge.c:
3851 (spi_atk_bridge_idle_init):
3852 Removed this method, we don't need to initialize in an idle
3855 Changed to call spi_atk_register_event_listeners directly, not via an
3856 idle handler. (fix for #81139)
3857 (gnome_accessibility_module_shutdown):
3858 Removed conditional around deregistration of listeners, since we
3859 don't use the idle handler and thus have always registered when
3861 (spi_init_keystroke_from_atk_key_event):
3862 Changed references to Accessibility_KEY_PRESSED to
3863 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3865 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3867 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3872 * test/stress-test.c:
3875 (may have been an incomplete commit yesterday?)
3877 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3880 Added target for new stress-test.
3882 * test/stress-test.c:
3883 New test, sends 1000 focus notifies in quick succession.
3885 * test/key-listener-test.c:
3886 Now we report whether a keylistener registration
3887 request succeeded or failed.
3889 * test/event-listener-test.c:
3890 Uncommented some listeners which are now implemented.
3893 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3895 * registryd/deviceeventcontroller.c:
3896 (spi_controller_update_key_grabs):
3897 Fix for #82509, lack of failure notification when
3898 ALL_WINDOWS keygrabs fail due to XGrabKey
3899 failure: we synchronize the server when
3900 registering a passive grab, to make sure we get the
3901 error message before the call returns.
3903 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3905 * test/test-simple.c:
3907 Removed #ifdef KEY_IMPL_WORKS guards.
3908 (test_keylisteners):
3909 Removed #ifdef KEY_IMPL_WORKS guards.
3910 Fixed bug which was causing a hang waiting for a
3911 "press" event (which was already overwritten by a "release"
3912 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3914 Added code to set globals 'key_press_received' and
3915 'key_release_received'.
3918 Added section "1.1 API Proposed Additions" which
3919 lists API additions desired for at-spi-1.1 (only one so far).
3920 Updated TODO list a little.
3922 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3924 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3927 * configure.in: Revved to 1.0.0.
3929 * idl/Accessibility_Registry.idl:
3930 (registerKeystrokeListener):
3931 Added boolean return value.
3933 * registryd/registry.c:
3934 (notify_listeners_cb): Minor fix to debug output.
3936 * registryd/Accessibility_Registry.server.in.in:
3937 Revved version number in OAFIID to 1.0.
3939 * registryd/registryd.c:
3941 Use new OAFIID version.
3943 * cspi/bonobo/cspi-bonobo.c:
3945 Use new OAFIID version.
3951 * atk-bridge/bridge.c:
3953 Use new OAFIID version.
3955 * registryd/deviceeventcontroller.c:
3956 (impl_register_keystroke_listener):
3957 Added CORBA_boolean return value.
3958 (spi_controller_register_device_listener):
3959 Added gboolean return value.
3960 (spi_controller_register_global_keygrabs):
3961 Added gboolean return value.
3962 (spi_key_set_contains_key):
3963 Added implementation for many more control keys,
3964 for instance F1-F12, arrow keys, End, Home, Page_Up,
3966 [TODO: some still not implemented].
3968 * text/screen-review-test.c:
3969 (text_chunk_pad_string):
3970 New function: it provides mapping between coordinate
3971 positions of text chunks and character positions in the
3972 screen-review-line output string.
3973 (text_chunk_to_string):
3974 New function, calls text_chunk_pad_string with various
3975 pad/delimiter characters. Pushbuttons are delimited with
3976 square brackets, Frames with vertical 'pipe' lines, and
3977 other text with double quotes.
3978 (text_chunk_list_to_string):
3979 Calls new function text_chunk_to_string.
3980 (toplevel_composite):
3981 New function to composite layers CANVAS through
3982 POPUP in each toplevel (other layers are composited
3983 across toplevels, i.e. BACKGROUND and OVERLAY).
3984 (review_buffer_composite):
3985 Revise to use new methods.
3991 2002-05-31 Laszlo Peter <laca@sun.com>
3993 * configure.in: add the Xtst libdir to the runpath on Solaris,
3994 since it's not in the default library search path.
3996 2002-05-29 jacob berkman <jacob@ximian.com>
3998 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4000 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4002 * test/screen-review-test.c:
4003 (text_chunk_pad_string):
4004 Added method, which pads the string according to the
4005 text bounds of the chunk. It also takes a 3-character
4006 string as a param which indicates the characters to be
4007 used for start, padding, and end delimitation of the chunk.
4008 (text_chunk_to_string):
4009 Changed to use text_chunk_pad_string.
4011 * configure.in: Fixed bug in AC_OUTPUT that was
4012 causing path substitution in Accessibility_Registry.server
4015 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4017 * text/screen-review-test.c:
4018 (guess_string_clip):
4019 New method which attempts a best-guess at clipping
4020 text from components (like Java labels) which don't
4021 actually implement AccessibleText. This inaccurate
4022 clip is based on the assumption that the label is
4023 justified left-and-right, and monospaced.
4024 (text_chunk_get_clipped_string):
4025 We now call guess_string_clip() for text-containing
4026 components that don't implement AccessibleText.
4028 * test/screen-review-test.c:
4029 (review_buffer_get_text_chunk):
4030 We now pull "name" from labels if they do not implement
4031 AccessibleText (i.e. for Java labels).
4032 (get_screen_review_line_at):
4033 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4036 Replaceded AC_OUTPUT target
4037 registryd/Accessibility_Registry.server with
4038 registryd/Accessibility_Registry.server.in.
4040 * registryd/Accessibility_Registry.server.in:
4041 Removed (this is now a Makefile target).
4043 * registryd/Accessibility_Registry.server.in.in:
4044 Added (source for target above). We now use $(libexecdir) as
4045 prefix for the executable at-spi-registryd.
4047 * registry/Makefile.am:
4048 Now install at-spi-registryd into $(libexecdir), and build .server
4049 file with path (see above).
4051 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4053 * test/screen-review-test.c:
4054 (text_chunk_get_clipped_string):
4055 We now check to see if words fall within clip bounds
4056 before resorting to character-by-character clip bounds testing.
4058 * TODO: Added a section for "2.2 Proposed API Additions".
4060 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4062 * test/screen-review-test.c:
4064 Added a screen review benchmarking and test program to test
4067 * cspi/spi_accessible.c:
4069 Made some of the debug strings passed to cspi_check_ev a
4070 little more specific.
4072 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4074 * test/screen-review-test.c: Fix crashes in debug statements
4076 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4078 * test/screen-review-test.c: Added this file.
4080 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4082 * atk-bridge/bridge.c: changed "object:state-change" to
4083 "object:state-changed" to match docs.
4085 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4087 * atk-bridge/bridge.c: Hooked up state-change event details.
4089 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4091 * registryd/registry.c:
4092 Fixed quarking bug in event string parsing; now events with
4093 detail parameters get matched correctly to listeners.
4096 * util/idl/Magnifier.idl: remove.
4098 * util/*.[ch]: Remove.
4099 Magnification utilities and IDL are now in module gnome-mag.
4101 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4103 * registryd/deviceeventcontroller.c:
4104 Fixed bug in grab key conversion which was causing keycode grabs
4105 to be converted to AnyKey grabs.
4108 updated NEWS file to reflect recent spin-off of gnome-mag.
4110 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4112 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4113 busted AccessibleStateSet_compare. Removed redundant casts.
4115 * cspi/spi-action.c: Removed redundant casts.
4117 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4119 * cspi/spi_component.c: Fixed typos and casting error.
4121 * cspi/spi_editabletext.c: Removed redundant casts.
4123 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4125 * cspi/spi_hypertext.c: Eliminated redundant casts.
4127 * cspi/spi_image.c: Eliminated redundant casts.
4129 * cspi/spi_registry.c: Eliminated redundant casts.
4130 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4131 * cspi/spi_selection.c: Removed redundant casts.
4132 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4133 handling. Screen geometry and text offsets were being returned as 0
4134 on error which is technically valid-- changed these to return -1.
4135 Added marshaller for text boundary types to fix bug with boundary
4136 types being passed incorrectly to atk.
4138 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4141 * cspi/spi_registry.c:
4142 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4143 which was uncovered by the recent key changes.
4145 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4147 * test/event-listener-test.c:
4149 Added new test, "event-listener-test";
4150 this code does two things; it benchmarks traversal time
4151 for the accessible hierarchy for the first running accessible
4152 app, and it connects listeners for all supported event types.
4153 It is thus useful as an example event listener and for
4154 diagnostics/debugging of event generation.
4156 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4159 Removed unnecessary dependency on libutil.
4162 Revved micro version: 0.13.1
4164 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4167 Removed util/Makefile from targets.
4170 Removed util subdir from SUBDIRS (temporarily,
4171 pending removal of magnifier-only code
4175 #ifdef-ed out magnifier dependencies, since
4176 magnifier IDL, headers, and binary now live in
4177 module gnome-mag and we don't want at-spi to depend
4178 on gnome-mag. A magnifier demo which can run alongside
4179 simple-at is forthcoming in the gnome-mag module.
4181 NOTE: Split magnifier binary, IDL, and magnification
4182 activation code from at-spi into module gnome-mag.
4184 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4186 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4187 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4189 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4192 Revved to version 0.13.0
4194 * idl/Accessibility_Registry.idl:
4195 Changed definition of KeySet from sequence of longs to sequence of
4196 KeyDefinitions, and added KeyDefinition struct.
4197 Required for fix to bug 80616.
4199 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4200 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4201 to use new definition (see above).
4203 * registryd/deviceeventcontroller.c: handle_keygrab(),
4204 spi_keyset_contains_key():
4205 Changed to make use of new struct; this allows matching based on
4206 string key-name, for instance "Tab". This also allows matching of
4207 composed characters, non-alphanumeric characters in a way that
4208 doesn't involve dependencies on X keysym codes directly, etc.
4210 * test/key-listener-test.c:
4211 Added test for Alt-Tab key using "string" specification of keyset,
4212 and modified one of the tests to use a keycode-based keyset.
4213 Thus this test both tests and demonstrates the creation and use of
4214 keysets of three forms: specified via keycode array,
4215 keysym array, and string array. (The string case only contains a
4216 single string, i.e. a string array of length 1).
4219 Turned on PRINT_TREE option by default. Also fixed a
4220 string-freeing bug in the PRINT_TREE code.
4221 Added a listener to window:minimize events.
4223 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4225 * atk-bridge/bridge.c:
4226 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4227 for window:activate and window:deactiveate
4228 (atk_bridge_property_event_listener atk_bridge_signal_listener
4229 atk_bridge_window_event_listener) Tidy debug code
4231 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4233 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4234 Fixed handling for NULL return value from ATK.
4236 * libspi/action.c libspi/component.c libspi/editabletext.
4237 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4238 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4239 Removed redundant casts.
4241 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4242 Fixed off by one bug.
4244 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4245 function not present in idl)
4247 2002-05-02 jacob berkman <jacob@ximian.com>
4249 * atk-bridge/Makefile.am: make atk-bridge a real module
4251 2002-04-26 Radek Doulik <rodo@ximian.com>
4253 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4254 atk_state_types table
4256 2002-04-22 jacob berkman <jacob@ximian.com>
4259 * libspi/Makefile.am: add deps on the built files to help
4260 automake, and don't version the ORBit typelib
4262 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4264 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4265 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4266 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4267 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4268 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4269 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4270 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4271 libspi/accessible.h libspi/accessible.h libspi/base.h
4272 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4273 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4274 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4275 libspi/spi-private.h libspi/statetset.h libspi/table.h
4276 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4277 util/mag_client.h util/mag_control.c util/mag_image.c
4278 util/mag_image.h util/magnifier.c util/magnifier.h:
4279 Add missing file headers; standardize existing ones
4281 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4283 * atk-bridge/bridge.c: Added window event support.
4285 2002-04-18 Michael Meeks <michael@ximian.com>
4287 * libspi/relation.c (impl_getNTargets): impl.
4288 (impl_getTarget): impl.
4290 * libspi/Makefile.am: fix stateset install.
4292 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4295 Started putting useful info in this file.
4297 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4299 * atk-bridge/bridge.c:
4300 Propagate state-changed notifications to ATs
4302 * cspi/spi_registry.c: update docs to reflect actual behavior of
4303 state-change events.
4305 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4308 Incremented version to 0.12.1
4310 * util/mag_client.h:
4311 Add missing declaration for magnifier_exit,
4312 used by mag_control.c - Forte compiler didn't like
4313 the implicit redeclaration of the function :-(
4316 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4319 Revved version to 0.12 due to API change (see below).
4321 * cspi/spi-roletypes.h:
4322 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4323 definition from the inline docs, and added docs
4324 for SPI_ROLE_LAST_DEFINED.
4327 * cspi/spi_streamablecontent.c:
4328 Added missing seek_type parameter to
4329 (so far unused) method,
4330 AccessibleStreamableContent_seek().
4331 [ RT approval JodyG. ]
4334 Fixed docs for SPI_createAccessibleKeystrokeListener.
4336 * cspi/spi_registry.c:
4337 Fixed docs for SPI_KEYSET_ALL_KEYS.
4339 * docs/reference/cspi/at-spi-cspi-sections.txt:
4340 Added a number of missing APIs to SECTIONS.
4342 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4344 * registryd/Makefile.am:
4346 * cspi/bonobo/Makefile.am:
4347 Add $(X_LIBS) to makefiles.
4349 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4352 Revved version to 0.11.
4354 * libspi/component.c:
4355 Added implementation for grabFocus.
4357 * idl/Accessibility_Component.idl
4358 (Accessibility_Component_grabFocus):
4359 Made this method return boolean to indicate success or failure, to
4360 be consistent with cspi and the corresponding ATK method.
4362 * idl/Accessibility_Selection.idl
4363 (Accessibility_Selection_selectAll) :
4364 Made these methods return boolean to indicate success or
4365 failure, to be consistent with cspi and the corresponding ATK methods.
4367 * idl/Accessibility_EditableText.idl
4368 (Accessibility_EditableText_setTextContents,
4369 Accessibility_EditableText_insertText,
4370 Accessibility_EditableText_cutText,
4371 Accessibility_EditableText_deleteText,
4372 Accessibility_EditableText_pasteText):
4373 Made these methods return boolean to indicate
4376 * cspi/spi_editabletext.c:
4377 Made these methods return booleans.
4379 * libspi/selection.c:
4380 * libspi/component.c:
4381 * libspi/editabletext.c:
4382 Connected the boolean returns from ATK
4383 to the server-side code referenced above.
4385 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4387 * idl/Accessibility_Table.idl: Added missing methods,
4388 Accessibility_Table_addRowSelection,
4389 Accessibility_Table_addColumnSelection,
4390 Accessibility_Table_removeRowSelection,
4391 Accessibility_Table_removeColumnSelection.
4394 Added C wrappers for above IDL:
4395 AccessibleTable_addRowSelection,
4396 AccessibleTable_addColumnSelection,
4397 AccessibleTable_removeRowSelection,
4398 AccessibleTable_removeColumnSelection.
4401 Added server-side implementation code for IDL above, connecting
4402 to pre-existing ATK api.
4404 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4406 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4408 * libspi/accessible.c: Added implementation fo
4409 Accessibility_Accessible_get_state.
4411 * libspi/libspi.h: Added stateset.h to the list of includes.
4413 * libspi/stateset.c: Fixed broken implementation.
4415 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4418 Added implementation code for Accessibility_Magnifier_exit ().
4420 * util/mag_control.c:
4421 Added test code for above method; you can
4422 now kill an existing magnifier via
4423 ./mag_control q, from the util directory.
4425 * test/key-listener-test.c:
4427 Added a new test, for our key listener API.
4429 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4431 * test/app.c, test/keysynth-demo.c:
4433 Replace use of snprintf with g_snprintf.
4434 (fix for bugzilla 78249)
4436 2002-03-27 Michael Meeks <michael@ximian.com>
4440 * util/Makefile.am (INCLUDES): fix.
4441 (DONT_DIST_SOURCE): don't distribute the
4444 * libspi/Makefile.am (dist-hook): ditto.
4446 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4448 * libspi/hypertext.c:
4449 Fix warnings when yelp is used with atk-bridge
4451 2002-03-21 Michael Meeks <michael@ximian.com>
4453 * libspi/application.c (spi_application_new):
4454 use spi_accessible_construct so we use the AtkObject
4457 2002-03-19 Michael Meeks <michael@ximian.com>
4459 * registryd/registry.c (desktop_remove_application),
4460 (desktop_add_application): clean coding style.
4462 * registryd/desktop.c (spi_desktop_remove_application),
4463 (spi_desktop_add_application): kill re-enterency hazards.
4464 (spi_desktop_dispose): remove bogus redundant cast
4465 obscuring bug; fix bug too.
4466 (spi_desktop_init): make the desktop object immortal.
4468 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4471 Added a #define-guarded tree-traversal step
4472 when enumerating the apps (diagnostic tool).
4474 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4476 * idl/Accessibility_Role.idl:
4477 Added ROLE_DRAWING_AREA which seemed to be missing from the
4480 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4482 * cspi/spi-roletypes.h cspi/spi_accessible.c
4483 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4486 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4487 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4488 AT when applications are added and removed from the desktop. This
4489 reverts the previous broken implementation using the backing
4490 AtkObject for the SpiDesktop.
4492 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4494 * registryd/desktop.c: emit the "children-changed::add" and
4495 "children-changed::remove" signals on the backing ATK object for
4496 the desktop so AT can tell when applications are started and shut
4499 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4501 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4503 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4505 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4507 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4509 * cspi/state-types.h: synched with IDL and ATK
4511 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4513 * libspi/accessible.c
4514 (impl_accessibility_accessible_get_child_at_index):
4515 Change return value for g_return_if_fail ()
4516 to CORBA_OBJECT_NIL instead of "0" (!)
4518 * registryd/Makefile.am:
4519 * registryd/Accessibility_Register.server.in:
4520 Changed name of executable, "registryd",
4521 to something more informative:
4524 2002-03-13 Michael Meeks <michael@ximian.com>
4526 * atk-bridge/bridge.c (atk_bridge_init): don't register
4527 if we're in a bonobo-component, rather than a bonobo app.
4529 2002-03-13 Michael Meeks <michael@ximian.com>
4531 * atk-bridge/bridge.c (gtk_module_init): split
4532 out body to (atk_bridge_init): here, since otherwise
4533 we get symbol conflicts and oddness when invoked
4534 from (gnome_accessibility_module_init): here (upd.)
4536 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4539 New file. Explicitly allow "build sheriff" putbacks provided
4540 they are tested on Solaris.
4542 * docs/reference/cspi/Makefile.am:
4543 Added '-' to the "cp" command for index.sgml.
4544 ("patch by thomasvs, soon coming to a GUADEC near you")
4547 Incremented version number (0.9.0) for new release.
4548 Changed macro that checks for popt, to better detect
4549 obsolete versions of popt.
4552 Added X_LIBS to AC_SUBST, for applications
4553 that call Xlib API directly.
4556 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4559 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4562 Fix regression caused by hard-coding major
4563 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4566 * test/test-simple.c (test_editable_text),
4567 (test_test): revert previous change (error was
4568 a regression in gail which is now fixed).
4570 2002-03-04 Michael Meeks <michael@ximian.com>
4572 * test/test-simple.c (test_editable_text),
4573 (test_text): pass G_MAXINT instead of '-1' for
4574 whole string - is this a good thing !?
4576 * cspi/spi_accessible.c
4577 (Accessible_getRelationSet): fix crasher bug
4578 overwriting the end of the array.
4580 * test/test-simple.c (validate_accessible): free,
4581 not g_free returned relation set.
4583 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4585 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4586 implemented stateset support
4588 * idl/Accessibility_State.idl: Made necessary changes to
4589 the IDL to support state sets.
4591 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4593 * registryd/deviceeventcontroller.c:
4594 Added implementation for generateMouseEvent.
4596 * cspi/spi_registry.c:
4597 Connected new implementation for generateMouseEvent
4600 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4603 Incremented revision (but no change in public API
4604 outside of 'utils', which are not installed public yet.)
4606 * libspi/component.c:
4607 Changed to use atk_component API for layers and
4608 mdi_zorder, instead of deprecated atk_object API.
4610 Magnification Utility Enhancements:
4613 Added implementation of createZoomRegion, clearAllZoomRegions,
4614 resizeZoomRegion. Added new commandline argument
4615 "--no-initial-region". Note that clearAllZoomRegions doesn't
4616 unmap the old '0' region as it should (yet), and the other
4617 methods only work when creating/resizing a single region,
4618 which is "region 0".
4619 (Code for multiple region support will be added later.)
4622 Now we raise the magnifier window each time it's refreshed;
4623 this will help keep it on top.
4625 * util/mag_client.h:
4626 Added simple wrappers for above, used by mag_control.
4627 For general use, it's recommended to use the bonobo magnifier
4628 control API directly instead of using these wrappers.
4631 Moved ZoomRegionData from magnifier.c to this file.
4633 * util/mag_control.c:
4634 Added some code to exercise new IDL implementations.
4636 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4638 * libspi/text.c: Provide implementation for getAttributes.
4640 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4643 Incremented revision.
4645 * test/test-simple.c:
4646 Replaced use of deprecated g_main_iteration with
4647 g_main_context_iteration.
4649 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4652 Incremented revision for desktop alpha 2.
4654 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4656 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4659 * test/simple-at.c: include netinet/in.h.
4661 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4663 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4664 use NULL, not CORBA_OBJECT_NIL.
4666 * libspi/accessible.c:
4667 (impl_accessibility_accessible_get_relation_set):
4668 allocate the sequence correctly.
4670 * libspi/remoteobject.h: kill spi_remote_object_new.
4672 * test/test-simple.c: (validate_accessible): add code
4673 to test relation sets, now all we need is to figure
4674 out how to excercise this code path :/
4676 2002-01-18 Michael Meeks <michael@ximian.com>
4678 * test/test-simple.c
4679 (key_listener_cb): consume the key.
4680 (test_keylisteners): update.
4681 (main): wait for any pending unrefs on events.
4683 * registryd/deviceeventcontroller.c
4684 (spi_controller_update_key_grabs): only re-issue the
4685 grab on a key release.
4686 (spi_device_event_controller_forward_key_event):
4687 refresh the keygrabs before we notify the listeners,
4688 to reduce the X ungrab / re-grab race.
4689 (spi_controller_register_with_devices): remove
4690 XSelectInput - we do that with the gdk_window_ call.
4691 (_spi_controller_device_error_handler): return a value.
4692 s/GDK_DISPLAY/spi_get_display/
4694 2002-01-17 Michael Meeks <michael@ximian.com>
4696 * registryd/deviceeventcontroller.c
4697 (_deregister_keygrab): don't blow out the later
4700 * test/test-simple.c (test_keylisteners): do a
4701 more intelligent validation.
4703 2002-01-14 Michael Meeks <michael@ximian.com>
4705 * atk-bridge/bridge.c
4706 (gnome_accessibility_module_init),
4707 (gnome_accessibility_module_shutdown): impl.
4708 (gtk_module_init): protect vs. double inits.
4709 (add_signal_listener): impl.
4710 (spi_atk_bridge_state_event_listener): kill
4711 (deregister_application): split out of
4712 (spi_atk_bridge_exit_func): here.
4714 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4717 Added caret tracking when using magnifier, and
4718 now use text bounds for focus tracking of text elements, rather than
4719 the component bounds - this is helpful for short text fields in long
4720 table cells, at high magnification.
4722 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4724 * registryd/deviceeventcontroller.c:
4725 Regression fix for keylistener de-registration; global keygrabs
4726 were not being released when deregisterKeystrokeListener was
4727 called in cspi, since
4728 Accessibility_DeviceEventController_deregisterKeystrokeListener
4729 was called with a zero-length keyset. That is because the cspi
4730 method, SPI_deregisterKeystrokeListener, does not take a keyset
4731 parameter but instead should remove all the key grabs held be a
4733 The code in impl_deregister_keystroke_listener was changed to copy
4734 the keylist from the listener instance previously registered with
4735 the DeviceEventController before releasing the grabs.
4737 * registryd/registry.c:
4738 * registryd/deviceeventcontroller.c:
4739 * libspi/spi-private.h:
4741 Changed spelling of "re-enterant" to "re-entrant" globally.
4743 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4745 * test/test-simple.c:
4746 Changed key listeners test - the test was slightly mis-using the
4747 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4748 It now uses '=' as the key event listened to and generated,
4749 relying on a keysym match rather than assuming that keycode 33
4750 is always equal to keysym '!'.
4752 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4755 Changed simple-at to use a specific keyset, rather than
4756 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4757 manager, desktop, etc.
4759 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4761 * registryd/deviceeventcontroller.c:
4762 Replaced standard X error handler with a special handler that
4763 is non-fatal for failed keygrabs. This works around
4764 problems with keygrab clashes sometimes observed on
4766 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4767 mouse handling code as yet).
4769 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4772 Incremented revision for desktop alpha release.
4775 Fixed a couple of the more glaring errors (still not
4778 2002-01-11 Michael Meeks <michael@ximian.com>
4780 * registryd/deviceeventcontroller.c
4781 (spi_device_event_controller_forward_key_event): kill
4782 XUngrabKey / XKeyGrab race.
4783 (spi_controller_grab_keyboard): rename to
4784 (spi_controller_update_key_grabs): this, and deal
4785 with incremental adding / removing grabs more
4787 (_register_keygrab): ensure we're not pending a remove.
4788 (spi_grab_mask_free): impl.
4789 (spi_controller_register_global_keygrabs): split out
4791 (handle_keygrab): impl.
4792 (_deregister_keygrab): impl.
4793 (spi_controller_deregister_global_keygrabs): impl.
4794 (spi_controller_update_key_grabs): re-issue the grab if
4795 we just recieved a notification.
4797 * test/test-simple.c (key_listener_cb): remove debug.
4799 * registryd/deviceeventcontroller.c
4800 (spi_controller_register_device_listener): after
4801 registering a global keygrab, actualy register it !
4802 don't wait for a timeout; doh !
4804 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4805 to make it more readable / manipulable.
4806 s/grabmask/grab_mask/ s/refcount/ref_count/
4807 s/keyval/key_val/ s/modmask/mod_mask
4809 2002-01-08 Michael Meeks <michael@ximian.com>
4811 * registryd/deviceeventcontroller.c
4812 (spi_controller_register_with_devices): use gdk calls to
4814 (global_filter_fn): implement the filter.
4815 (spi_device_event_controller_check_key_event): rename to
4816 (spi_device_event_controller_forward_key_event): this & upd.
4817 (spi_get_display): replace with GDK_DISPLAY.
4819 * registryd/deviceeventcontroller.c
4820 (spi_controller_deregister_device_listener): unroll into
4821 (impl_deregister_keystroke_listener): here to simplify.
4822 (spi_controller_register_global_keygrabs): split cut and
4823 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4824 (spi_controller_deregister_device_listener): remove.
4825 (impl_register_mouse_listener): remove, no mouse listener
4826 support in at-spi-1.0
4828 * registryd/registry.c
4829 (_device_event_controller_hook): kill.
4830 (spi_registry_init): upd.
4832 * registryd/deviceeventcontroller.c
4833 (spi_device_event_controller_class_init): upd.
4834 (spi_check_key_event): merge into.
4835 (spi_device_event_controller_check_key_event):
4836 here and kill strange static ev init, don't leak
4837 the x_event - nor dynamicaly allocate it.
4839 * registryd/registry-main.c (main): re-direct
4840 timeout to remove strange vtable mess.
4842 * registryd/deviceeventcontroller.c
4843 (remove_listener_cb): impl.
4844 (spi_controller_deregister_device_listener):
4845 fix re-enterancy hazard.
4847 2002-01-07 Michael Meeks <michael@ximian.com>
4849 * registryd/deviceeventcontroller.c
4850 (spi_device_event_controller_new): upd.
4851 (impl_notify_listeners_sync): upd. debug.
4852 (spi_notify_keylisteners): fix re-enterancy hazards,
4853 prettify, remove O(n*n) iteration.
4854 (spi_controller_grab_keyboard): fix iteration.
4855 (spi_check_key_event): re-format to suit coding style.
4856 Clean all the warnings - we're warning free.
4858 * registryd/deviceeventcontroller.h:
4859 * registryd/registry.h: make mutualy referential with
4860 typesafe forward references instead of (!) void pointer
4863 2002-01-11 Michael Meeks <michael@ximian.com>
4865 * cspi/spi_accessible.c (role_names): add a role name
4866 to sync this array with the enum; and make the regression
4869 2002-01-10 Michael Meeks <michael@ximian.com>
4871 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4872 allow expansion of enumeration & kill warning.
4874 * test/test-simple.c (key_listener_cb): impl.
4875 (test_keylisteners): impl.
4877 * cspi/spi-listener.h: make listener signatures const
4878 on the provided (const) events.
4880 * test/keysynth-demo.c: upd. to const events.
4882 * test/simple-at.c: ditto.
4884 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4887 Rev the version to 0.5 (the previous tarball was named 0.4,
4888 even though the micro number was 3), so we need to rev upwards
4889 again for beta2/"desktop-alpha"
4892 Checked in a demo script, which requires editing before use!
4893 Proceed with caution.
4896 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4898 * cspi/spi_accessible.c:
4899 Add a couple of missing enum initializations, and fix some enum
4902 * cspi/spi_registry.c:
4903 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4905 * docs/reference/cspi/at-spi-cspi-sections.txt:
4906 Remove/fix a couple of broken document references.
4909 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4910 as Alt-Control to listen for commands, since on some systems
4911 Control-Alt may already be grabbed.
4913 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4916 Update version number to 0.4 for Beta2.
4918 * libspi/accessible.c, libspi/accessible.h:
4919 Expose spi_accessible_construct, to enable libgail-gnome
4920 construction from spi_accessible subtype.
4922 * utils/magnifier.c:
4923 Workaround for bug in some non-gnome-compliant window managers
4924 which made magnifier resize improperly.
4926 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4928 * libspi/accessible.c: (spi_accessible_new) :
4929 Move the test for SPI_IS_REMOTE_OBJECT to
4930 spi_accessible_new_return, fixing a bug and compile time warning.
4932 2002-01-08 Michael Meeks <michael@ximian.com>
4934 * registryd/registry.c (parse_event_type): remove strndup.
4936 * libspi/Makefile.am (libspi_la_SOURCES): remove
4937 sources already included in the headers section.
4939 * libspi/util.c: add.
4941 * libspi/spi-private.h: add.
4943 * registryd/registry.c: update to moved list iterators.
4945 2002-01-05 Michael Meeks <michael@ximian.com>
4947 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4949 * test/test-simple.c (main): ditto.
4951 2002-01-04 Michael Meeks <michael@ximian.com>
4953 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4954 redundant construct.
4956 * registryd/registry.c
4957 (get_listener_list): impl.
4958 (impl_accessibility_registry_register_global_event_listener):
4959 re-impl. to simplify using ~, remove dodgy const cast off.
4960 (parse_event_type): constify.
4961 (impl_accessibility_registry_deregister_global_event_listener_all):
4962 re-write, more efficiency and simplicity, kill re-enterancy
4964 (compare_listener_corbaref, compare_corba_objects),
4965 (compare_listener_quarks): define out.
4966 (impl_accessibility_registry_deregister_global_event_listener):
4967 re-write for effiency, and nail re-enterancy hazard.
4968 (impl_accessibility_registry_get_desktop_list): impl.
4969 (re_enterant_list_delete_link): impl.
4970 (re_enterant_list_foreach): impl.
4971 (remove_listener_cb): impl.
4972 (_registry_notify_listeners): kill.
4973 (notify_listeners_cb): impl.
4975 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4976 (SPI_getDesktopList): impl.
4978 * test/test-simple.c (test_desktop): test the methods.
4980 2002-01-03 Michael Meeks <michael@ximian.com>
4982 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4983 keystrings since we free them
4984 (SPI_freeAccessibleKeySet): in here.
4986 * libspi/accessible.c (spi_accessible_new): kill warning,
4987 wonder what is going on with the constructor here.
4989 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4991 * libspi/accessible.c (spi_accessible_new ()) :
4992 Added check to see if AtkObject is an SpiRemoteObject before
4993 creating an SpiAccessible.
4995 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4997 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4998 Enable keygrabs using the Control modifier, now that they are
4999 working properly (they were previously disabled).
5002 Change the command keygrab for this demo to "Control+Alt", so as
5003 to conflict with fewer other key commands on the system; this
5004 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5006 Removed a pointlessly-chatty keylistener for unshifted keys
5007 (shifted keys are still reported).
5009 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5011 * libspi/remoteobject.h:
5012 * libspi/remoteobject.c:
5013 Added definitions for special AtkObject subtype, required for
5014 support of remote components (specifically, used by BonoboControl
5015 accessibility implementation).
5017 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5019 * cspi/spi.h: synched relation types with ATK
5021 * cspi/spi_accessible.c: Added implementations of
5022 AcccessibleRelation_* methods
5024 * idl/Accessibility_Relation.idl: added getRelationTypeName
5025 method. Synched known relation types with ATK. Allowed for
5026 relation type extension with the RELATION_EXTENDED type.
5028 * libspi/relation.c: Provided implementations for
5029 AccessibleRelation methods.
5031 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5033 API tweaks for today's API 'freeze'.
5036 Added placeholder functions to allow future compatible expansion
5037 of the IDL interfaces.
5039 * idl/Accessibility_Registry.idl:
5040 Changed generateKeyEvent to generateKeyboardEvent. Changed
5041 signature of this method to accept an optional keystring in
5042 parameter (for complex text input synthesis) and changed use of
5043 simple 'boolean' parameter in registerKeystrokeListener to a
5044 struct, EventListenerMode.
5046 * cspi/spi_accessible.c:
5048 * cspi/spi_streamablecontent.c:
5049 Added references to AccessibleStreamableContent interface, and
5050 definition and implementation of AccessibleStreamableContent
5053 * cspi/spi_registry.c:
5055 Changed generateKeyEvent API to generateKeyboardEvent,
5056 taking a new (optional) keystring parameter to support complex
5061 Renamed directory (to better reflect its actual purpose, bridging
5062 from at-spi to ATK). The .so module is also now named
5065 * idl/Accessibility_Hypertext.idl:
5066 * libspi/accessible.c:
5067 * libspi/hypertext.h:
5068 * libspi/hypertext.c:
5069 Changed Accessibility_Hypertext to *not* derive from
5072 * cspi/spi_registry.c:
5073 Added list of legal event type names for 'window' events, which
5074 completes the registry event API.
5076 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5078 * at-bridge/bridge.c: Added registration for separate
5079 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5080 signals. If either of the first two parameters to the generic
5081 bridge signal handler are ints, they are passed on as event
5082 details. This allows an AT to determine what text was inserted.
5084 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5086 * registryd/deviceeventcontroller.c:
5087 Fixed regressions in generateKeyEvent caused by the removal of
5088 gdk_init from registryd; we now use pure X calls to connect to the
5089 display, which makes sense because deviceeventcontroller already
5090 uses a fair bit of X API (should eventually be migrated to a
5091 'portability layer').
5093 * registryd/desktop.c:
5094 Fixed minor regression in spi_desktop_init, changed the way the
5095 desktop name is being set to work with new spi_base API
5096 (gobject-based, rather than AtkObject-based).
5098 * registryd/Makefile.am:
5099 Minor revision of makefile to use XTST_LIBS variable rather than
5100 hard-wiring the Xtst LD_ADD element.
5102 * test/keysynth-demo.c:
5103 Tweaked an output message; added initialization of the
5104 'keystrings' member of the "switch listener" key_set.
5106 * libspi/relation.c:
5107 Squashed compile-time warning.
5109 * libspi/accessible.c:
5110 Cosmetic and formatting fixes, renamed a static method.
5112 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5114 * libspi/accessible.c
5116 * libspi/application.c
5119 * libspi/component.c
5120 * libspi/editabletext.c
5121 * libspi/hyperlink.c
5122 * libspi/hypertext.c
5124 * libspi/selection.c
5128 * registryd/desktop.c:
5129 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5131 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5133 * idl/Accessibility_Registry.idl:
5134 Added boolean member 'is_text' to DeviceEvent. This is for the
5135 use of key events, and helps prevent ambiguity between composed
5136 key strings and keysym names, since both may potentially be
5137 returned in the 'event_string' member.
5139 * at-bridge/bridge.c:
5140 * registryd/deviceeventcontroller.c:
5141 Use the 'is_text' member when notifying device event listeners.
5142 Knon issue: composed characters are not dealt with correctly by
5143 the global key listener implementation yet.
5145 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5147 * at-bridge/bridge.c:
5148 Namespaced local static methods to spi_atk_bridge_* where
5149 previously named bridge_*, and spi_* elsewhere.
5151 * at-bridge/bridge.c:
5152 * cspi/bonobo/cspi-bonobo-listener.c:
5153 Added demarshalling/conversion for string member of
5154 Accessibility_DeviceEvent to AccessibleKeystroke.
5156 * registryd/deviceeventcontroller.c:
5157 Added code to fill the Accessibility_DeviceEvent key string value
5158 member for global key events (i.e. from XGrabKey), to match
5159 behavior of Accessibility_DeviceEvent from the toolkit key events
5160 from the bridge. Fixed timestamp in global key event notifications.
5163 Added printout of key event's string value to
5164 report_ordinary_key_event, for demo/debugging purposes.
5166 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5168 * idl/Accessibility_Registry.idl:
5169 Removed Accessibility_KeyStroke structure in favor of generic
5170 Accessibility_DeviceEvent structure.
5171 Changed Accessibility_ControllerEventMask from a struct to an
5174 * at-bridge/bridge.c:
5175 Changed APIs to use DeviceEvent structure as above, and removed
5176 bogus casting between these event structures.
5178 * cspi/spi-listener.h:
5179 Added keystring member of AccessibleKeystroke structure, to enable
5180 matching on event "names" rather than only hardware codes and
5184 Added keystrings member of AccessibleKeySet struct, to allow
5185 matching on event names (as above).
5186 Added declarations for SPI_createAccessibleKeySet and
5187 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5188 event modmasks directly as unsigned ints rather than structs with
5189 refcounts, in the DeviceEventController methods.
5191 * cspi/spi_registry.c:
5192 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5194 * cspi/spi-roletypes.h:
5195 Added documentation of newly added SPI Roles.
5197 * cspi/bonobo/cspi-bonobo-listener.c:
5198 Changes in support of API changes above.
5200 * libspi/accessible.c:
5201 Converted APIs to use DeviceEvent structure (see IDL changes
5204 * registryd/deviceeventcontroller.c:
5205 Added DEControllerGrabMask structure to track keygrabs not only by
5206 modmask but by keyset as well; this allows us to do "global"
5207 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5208 grabbing on AnyKey and then filtering after-the-fact.
5209 Bugfixes for event filtration mean that we don't get false matches
5210 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5212 * registryd/deviceeventcontroller.c:
5213 Namespaced a number of static methods to use spi_ prefix. Major
5214 revision to internals of global (i.e. X) key grabs.
5216 * registryd/deviceeventcontroller.h:
5217 Removed keymask_list and added keygrabs_list to
5218 SpiDeviceEventController struct.
5221 Added use of SPI_createAccessibleKeySet API when creating a
5222 listener for only one key. Attach a listener to "shift spacebar
5223 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5224 X key event names to SPI key event names, so that listeners are
5225 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5227 * test/keysynth-demo.c:
5228 Changed (incorrect) use of X key event names (KeyPressed,
5229 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5232 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5234 * libspi/accessible.c:
5235 Convert all AtkRole enumerations to Accessibility_Role enums when
5236 getting a role from an AtkObject.
5238 * cspi/spi_accessible.c:
5239 Complete the conversion of Accessibility_Role enums at runtime to
5240 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5241 role enums correctly match those given in spi-roletypes.h.
5242 Re-synchronize the local names list for AccessibleRole_getName ().
5243 AccessibleRole_getName is now deprecated, since it duplicates the
5244 more reliable Accessible_getRoleName.
5245 Added some role types from Accessibility_Role.idl.
5247 * idl/Accessibility_Role.idl:
5248 Added some role types used by AtkRole.
5250 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5253 * cspi/spi_registry.c:
5255 * cspi/cspi-bonobo-listener.c:
5256 Namespaced all methods that did not begin with an "SPI_" or
5257 "Accessible" prefix to "SPI_".
5260 Homogenized internal function namespace to "cspi_" for statics.
5263 Patched tests to use the new CSPI API.
5265 * docs/reference/cspi/at-spi-cspi-sections.txt:
5266 Updated docs to reflect namespace changes, and added a number of
5267 methods to the documentation.
5269 * registryd/registry.c:
5270 Changed use of strings and string hashes in listener event
5271 matching and parse_event_string to use GQuark, which is guaranteed
5274 * registryd/registry.h:
5275 Squashed annoying warning.
5277 * idl/Accessibility_Role.idl:
5278 Extended range of available Accessibility_Role values.
5280 * cspi/spi_accessible.c:
5281 Re-ordered role names.
5283 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5285 * idl/Accessibility_Value.idl:
5286 Revert use of union back to CORBA_double, since the double type is
5287 more efficient and can contain the other types without loss of
5290 * idl/Accessibility_Accessible.idl:
5291 Added method Accessibility:Accessible:getRoleName, to complement
5292 Accessibility:Accessible:getRole.
5294 * cspi/spi_accessible.c:
5296 Added C binding for above, Accessible_getRoleName (), and changed
5297 signature of Accessible_getRole () to return an AccessibleRole.
5299 * cspi/spi-roletypes.h:
5300 Changed AccessibleRole_getName to return a char * instead of a
5301 const char *. This method is now at least temporarily deprecated
5302 in favor of asking Accessibles for their RoleNames directly.
5305 Revert to match Accessibility_Value.idl;
5309 Change signature of AccessibleValue methods to use double rather
5313 * cspi/spi_accessible.c:
5314 Changed Accessible_getRole to return an AccessibleRole enum rather
5315 than a UTF-8 string. The UTF-8 string can still be obtained via
5316 AccessibleRole_getName ().
5318 * test/test-simple.c:
5319 Add test_action. Small fixup to match API change to Accessible_getRole.
5322 Bugfix for get_action_from_servant ().
5324 2001-12-11 Michael Meeks <michael@ximian.com>
5326 * libspi/libspi.h: remove registry.h and
5327 desktop.h, deviceeventcontroller.h
5329 * libspi/Makefile.am: remove registry.[ch],
5330 desktop.[ch], deviceeventcontroller.[ch]
5332 * registryd/Makefile.am: add registry.[ch],
5333 desktop.[ch], rename registryd.c to registry-main.c.
5334 add deviceeventcontroller.[ch]
5336 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5339 Replace setenv() call with putenv ().
5341 * libspi/component.c:
5342 Bugfix in AccessibleComponent_getExtents (),
5345 2001-12-11 Michael Meeks <michael@ximian.com>
5347 * libspi/image.c (impl_getImageExtents): impl.
5348 (spi_image_class_init): upd.
5351 (AccessibleImage_getImageDescription): fix daft bug
5354 * test/test-simple.c (global_listener_cb): update
5355 to only quit if not --poke
5356 (main): catch --poke.
5357 (validate_accessible): upd. dumping, call test_image
5360 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5363 * idl/Accessibility.idl: update all IDL includes.
5365 * idl/*.idl - rename to namespace - this sucks, blame
5366 mjs' bad decision for oafd.
5368 * test/test-simple.c (create_test_window): add more tests.
5369 (create_tree): split this out.
5370 (validate_accessible): bugfix.
5372 2001-12-11 Michael Meeks <michael@ximian.com>
5374 * cspi/bonobo/cspi-bonobo-listener.c:
5375 (cspi_kestroke_listener_unref),
5376 (cspi_event_listener_unref): impl. undoing previous
5377 homenous environment - for Bill.
5379 * cspi/spi_table.c (long_seq_to_array): use
5382 * cspi/spi_main.c: split out all bonoboish bits into
5385 * cspi/spi-impl.h: upd. typedefs.
5387 * cspi/spi_registry.c: update to lowlevel API,
5388 return booleans to indicate success in some places.
5390 * cspi/spi_event.c: update to lowlevel API.
5392 * cspi/bonobo/Makefile.am: add.
5394 * cspi/bonobo/cspi-lowlevel.h: add
5396 * cspi/bonobo/cspi-bonobo.c: add
5398 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5400 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5401 (SUBDIRS): add bonobo, link in the libs.
5403 * cspi/spi-util.c: kill this file.
5405 * TODO: merge in my bits.
5407 2001-12-11 Michael Meeks <michael@ximian.com>
5409 * test/test-simple.c (test_value, test_table, main):
5410 remove unused variables causing warnings.
5412 * configure.in: cleanup checks - require gail.
5414 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5417 Changed Value interface to use SValue (scalars) rather than
5418 assuming all values are floats. This allows floats, doubles,
5419 longs, shorts, and unsigned values to be manipulated.
5420 Introduced Accessibility:SValue union.
5423 Updated to use new API above, and to work correctly with GValues
5424 of different types in AtkValue.
5427 Updated to use new API above. cspi's API is as yet unchanged.
5430 Updated the Value revision action item.
5432 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5434 * test/test-simple.c:
5435 Added test_table (GtkTreeView widget in test window to follow).
5436 Un-commented test_value, added GtkRange widget.
5437 Added GtkTreeView widget with GtkListStore. It passes regression
5438 test but leaks one SPI object for some reason.
5441 Fixed bug in impl__set_currentValue.
5443 2001-12-10 Michael Meeks <michael@ximian.com>
5445 * cspi/spi_text.c: audit for exception handling,
5446 tolerating NULL object references safely etc.
5448 * cspi/spi_value.c: ditto.
5450 * cspi/spi_table.c (AccessibleTable_getSummary),
5451 (AccessibleTable_getAccessibleAt),
5452 (AccessibleTable_getRowHeader),
5453 (AccessibleTable_getColumnHeader),
5454 (AccessibleTable_getCaption): fix bugs hidden by
5456 (long_seq_to_array): impl.
5457 (AccessibleTable_getSelectedRows),
5458 (AccessibleTable_getSelectedColumns): use it.
5460 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5463 Added a TODO list (rough and short for now).
5465 * cspi/spi_hyperlink.c:
5466 * cspi/spi_hypertext.c:
5467 Fixed macro name typos, and remove use of obsolete macro in
5468 AccessibleHyperlink_getLink.
5470 * cspi/spi_action.c:
5471 * cspi/spi_accessible.c:
5472 * cspi/spi_application.c:
5473 * cspi/spi_component.c:
5474 * cspi/spi_selection.c:
5477 Documentation fixes (removed return values from ref/unref methods).
5479 2001-12-10 Michael Meeks <michael@ximian.com>
5481 * cspi/spi_action.c: audit for exception handling,
5482 tolerating NULL object references safely etc.
5484 * cspi/spi_accessible.c: ditto.
5486 * cspi/spi_component.c: ditto.
5488 * cspi/spi_editabletext.c: ditto.
5490 * cspi/spi_hyperlink.c: ditto.
5492 * cspi/spi_hypertext.c: ditto.
5494 * cspi/spi_image.c: ditto.
5496 * cspi/spi_selection.c: ditto.
5498 2001-12-10 Michael Meeks <michael@ximian.com>
5500 * configure.in: use cspi/libspi.pc.in instead.
5502 * Makefile.am (pkgconfig_DATA): upd. to match.
5504 * test/simple-at.c (report_focus_event): kill hacks around
5505 bad return values, use putenv not setenv
5507 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5508 fire ChildGone - I killed it.
5510 * libspi/component.c
5511 (impl_accessibility_component_get_extents): remove
5514 * idl/Accessible.idl: kill ChildGone exception.
5516 * cspi/*.[ch]: kill int return from ref / unref.
5518 * cspi/spi_main.c (cspi_object_add_check): fold into
5519 (cspi_object_add): here.
5521 * cspi/spi_component.c (AccessibleComponent_getExtents):
5522 handle exceptions elegantly.
5524 * cspi/spi-private.h (cspi_check_ev_return),
5525 (cspi_return_if_fail): impl.
5527 * cspi/spi_accessible.c: use extensively.
5528 (AccessibleStateSet_equals): add direct compare check.
5530 * cspi/spi_selection.c: tolerate NULL objs, and check
5531 exceptions before return.
5533 * cspi/spi-util.c (cspi_warn_ev): rename to
5534 (cspi_check_ev): this & don't pass ev in; no point.
5536 2001-12-10 Michael Meeks <michael@ximian.com>
5538 * test/test-simple.c: use putenv not setenv
5539 (get_environment_vars): more chatty if you're not using
5542 * test/simple-at.c: do the setenv so more people see the
5545 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5547 * libspi/registry.c:
5548 Changed check of CORBA_environment on notification to be a warning
5549 instead of an error for the moment, since we can recover from this
5550 error when caused by a queued notification from a dead app.
5553 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5554 used by all current implementors of AtkValue), and coerce to
5555 CORBA_float. (Proper general case fix may require change to Value.idl).
5557 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5561 * cspi/spi_accessible.c:
5562 Documentation fixes: added user_data params to documentation for
5563 listeners and callbacks.
5565 * cspi/spi_accessible.c:
5566 Changed AccessibleStateSet_compare to return a
5567 StateSet rather than return the difference set into a third parameter.
5570 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5573 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5574 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5578 Remove subdirectory po from SUBDIRS for now.
5580 * at-bridge/bridge.c:
5581 Beefed up a couple of debug printouts.
5582 One-line fix for signal notification name formatting.
5584 * libspi/accessible.c:
5585 Added assertion to spi_accessible_new ().
5587 * libspi/application.c:
5588 Put #ifdef qualifiers around a printf.
5591 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5593 * registryd/Makefile.am:
5595 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5596 INTLTOOL_SERVER_RULE macro.
5599 Added an event listener for several ATK signals, for
5600 testing and debugging. Removed a few g_warnings.
5601 Added test output if focussed item implements the Value interface.
5603 * test/test-simple.c:
5604 Added test_value () function (known not to pass at the moment, so
5605 not actually called yet.
5607 2001-12-08 Michael Meeks <michael@ximian.com>
5609 * at-bridge/bridge.c (bridge_focus_tracker),
5610 (emit_eventv): fix the same ref. leak.
5611 (register_atk_event_listeners): don't leak.
5613 * cspi/spi-listener-impl.c (cspi_event): more
5614 protection from client code.
5616 * test/test-simple.c (test_desktop): unref the app.
5618 * test/Makefile.am: upd. TESTS.
5620 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5622 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5624 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5626 * cspi/spi_registry.c: constify in strings.
5627 (deregisterGlobalEventListenerAll): don't release the ref.
5629 * cspi/spi.h: start removing redundant / conflicting
5630 gtkdoc comments, making the API readable at a glance :-)
5632 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5634 * test/keysynth-demo.c (keysynth_exit, main): upd.
5636 * test/simple-at.c (main, simple_at_exit): upd.
5638 * test/test-simple.c (unutterable_horror): kill.
5639 (utterable_normal_derefs): kill.
5640 (main): upd & do a setenv before gtk_init, so that we
5641 can use memprof - and to save the pain of remembering
5642 this, if we're running under memprof - don't exit.
5644 * cspi/spi_main.c (SPI_exit): return exit status
5646 (SPI_event_quit): impl.
5647 (SPI_event_main): simplify.
5648 (cspi_is_gnome_app): kill.
5649 (SPI_init): kill isGNOMEapp arg.
5651 * at-bridge/bridge.c (register_atk_event_listeners):
5652 re-instate the unref.
5653 (bridge_exit_func): don't re-activate the registry,
5654 protect vs. theoretical re-entry, use the
5655 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5656 assert a clean shutdown - for regression tests.
5658 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5660 * configure.in: Comment out dummy i18n support for now,
5661 otherwise it fails to build.
5662 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5663 EXTRA_DIST. They are missing in tarball.
5665 2001-12-07 Michael Meeks <michael@ximian.com>
5667 * util/magnifier.c: kill bonobo activation reg. race.
5669 * libspi/component.c
5670 (impl_accessibility_component_get_extents): make it match
5673 * libspi/registry.c (_registry_notify_listeners):
5674 re-remove X headers & reconcile conflicts.
5675 (spi_listener_struct_free): bad conflict resolve.
5676 (impl_accessibility_registry_register_application):
5677 more bad merging fixed.
5678 (impl_accessibility_registry_deregister_application): ditto.
5679 (spi_registry_new): ditto.
5680 (spi_registry_init): don't have an applications field.
5682 [ merge fixups2 branch to here ]
5683 2001-12-07 Michael Meeks <michael@ximian.com>
5685 * test/simple-at.c (report_focus_event),
5686 (report_focussed_accessible): remove g_warning debug.
5688 2001-12-07 Michael Meeks <michael@ximian.com>
5690 * test/test-simple.c (validate_tree): comment out some checks.
5691 (test_desktop): app now not registered idly - horay.
5693 2001-12-07 Michael Meeks <michael@ximian.com>
5695 * cspi/spi_registry.c
5696 (registerAccessibleKeystrokeListener): clean, stop it leaking
5697 great swathes of memory, and device event controller references.
5698 ensure we always pass valid sequences.
5699 (deregisterAccessibleKeystrokeListener): ditto.
5700 (generateKeyEvent): upd.
5702 * at-bridge/bridge.c (bridge_key_listener): handle
5703 registry dead exception gracefully.
5704 (bridge_focus_tracker, emit_eventv): free ev.
5706 * test/simple-at.c (report_focus_event): fix polarity.
5708 * libspi/application.c (notify_listeners): kill the ev
5709 argument, and make sure we init the ev we use.
5710 (spi_application_object_event_listener): split out a chunk
5711 (get_atk_object_ref): here & fixup.
5712 (reverse_lookup_name_for_toolkit_event): make const.
5713 (spi_application_toolkit_event_listener): fixup, kill leaks
5716 * at-bridge/bridge.c (register_atk_event_listeners):
5717 don't unref the noop object - causes grief.
5719 * libspi/registry.c: remove the X headers.
5720 turn off the debug churn.
5722 * libspi/accessible.c (spi_accessible_new_return): only
5723 release the ref if we are supposed to [doh]
5725 * test/simple-at.c (report_button_press, report_focus_event):
5726 guard vs. unexpected exit.
5728 * at-bridge/bridge.c (gtk_module_init): prune printf.
5729 (bridge_exit_func): fix app unref.
5731 * libspi/Makefile.am: don't install registry or desktop.h
5733 * libspi/*.h: update includes.
5735 * libspi/application.h: don't include ourself, or
5736 other redundant headers.
5738 2001-12-06 Michael Meeks <michael@ximian.com>
5740 * libspi/accessible.c
5741 (get_accessible_from_servant): impl.
5742 Upd. all CORBA impl.s to use it killing cut and paste.
5744 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5746 (SPI_init): register atexit cleanup handler here.
5748 2001-12-06 Michael Meeks <michael@ximian.com>
5750 * at-bridge/bridge.c (gtk_module_init): g_error on
5751 activation exception
5753 2001-12-06 Michael Meeks <michael@ximian.com>
5755 * at-bridge/bridge.c (gtk_module_init): some sort of
5756 confusing merge clash - reverted.
5757 (bridge_idle_init): ditto.
5759 * test/test-simple.c (main, utterable_normal_derefs):
5760 merge from Bill - somehow not committed.
5762 2001-12-06 Michael Meeks <michael@ximian.com>
5764 * libspi/value.c (spi_value_class_init): upd.
5765 (spi_value_finalize): kill.
5767 * libspi/table.c (spi_table_finalize): kill.
5768 (spi_table_interface_new): upd.
5769 (spi_table_class_init): upd.
5770 (get_table_from_servant): impl.
5771 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5773 * libspi/selection.c (spi_selection_finalize): kill.
5774 (spi_selection_interface_new): upd.
5775 (spi_selection_class_init): upd.
5776 (get_selection_from_servant): impl.
5777 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5779 * libspi/relation.c (spi_relation_finalize): kill.
5780 (spi_relation_class_init, spi_relation_new): upd
5782 * libspi/image.c (spi_image_finalize): kill.
5783 (spi_image_class_init): upd.
5784 (spi_image_interface_new): upd.
5785 (get_image_from_servant): impl.
5786 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5788 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5789 (spi_hyperlink_finalize): kill.
5790 (spi_hyperlink_new): upd.
5791 (get_hyperlink_from_servant): impl.
5792 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5794 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5795 (spi_hypertext_finalize): kill.
5796 (spi_hypertext_class_init): upd.
5797 (get_hypertext_from_servant): impl.
5798 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5800 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5801 (spi_editable_text_interface_new): upd.
5802 (get_editable_text_from_servant): impl.
5803 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5805 * libspi/text.c (get_text_from_servant): impl.
5806 All impls - update to use it killing more cut and paste,
5807 also fix bad string returns on duff args ( a somewhat
5808 impossible case to handle - but hey ).
5809 (spi_text_construct): impl.
5810 (spi_text_interface_new): upd.
5811 (spi_text_object_finalize): kill.
5813 * libspi/component.c
5814 (accessibility_component_object_finalize): kill.
5815 (spi_component_class_init): upd.
5816 (get_component_from_servant): impl. helper to kill cut & paste.
5817 (impl_accessibility_component_contains):
5818 (impl_accessibility_component_get_accessible_at_point):
5819 (impl_accessibility_component_get_position):
5820 (impl_accessibility_component_get_extents):
5821 (impl_accessibility_component_get_mdi_z_order):
5822 (impl_accessibility_component_get_layer):
5823 (spi_component_interface_new): upd.
5825 * libspi/action.c (spi_action_finalize): kill.
5826 (spi_action_class_init): upd. inherit from SpiObject.
5827 (spi_action_interface_new): upd.
5828 (get_action_from_servant): impl. helper to reduce cut & paste.
5829 (impl_getKeyBinding, impl_getName, impl_doAction),
5830 (impl_getDescription): Use it everywhere.
5832 * cspi/spi_main.c (get_live_refs): a pointer hash.
5833 (spi_object_hash, spi_object_equal): comment out.
5834 There are issues with CORBA object hashing that need
5837 * libspi/application.c (spi_application_init),
5838 (spi_application_new): upd.
5840 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5841 (spi_accessible_class_init): upd.
5842 s/accessible/object/ in epv methods.
5844 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5846 * at-bridge/bridge.c:
5847 Reorder the bridge initialization into the bridge gtk_module_init,
5848 an immediate call to bridge_register_app, and an idle_add for
5849 register_atk_event_listeners (the only code that *must* wait until
5850 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5851 the activation, creates the application's Accessible object, and
5852 queues the bridge_idle_init function. Restored call to
5853 Accessibility_Registry_deregisterApplication().
5854 Prior to making this call we obtain a new reference to the
5855 registry, which is a temporary hack that helps us handle apps that
5856 shut down the bonobo mainloop before we get there.
5858 * libspi/registry.c:
5859 Fix string leakage in debug block, and don't segv if a an app
5860 dies before its event notifications have been propagated.
5863 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5864 as stopgap measure until we get proper exception handling when
5865 objects die during or before interrogation.
5869 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5870 Also changed default value of is_gnome_app to TRUE.
5873 * test/keysynth-demo.c:
5874 Changed use of SPI_init and SPI_event_main to reflect API change above.
5877 Made report_focus_event check the warning value from getName
5878 before reporting on focussed accessible; simplifies handling of
5879 notifications from dead objects.
5881 * test/test-simple.c: (Changes not in this patch since source is
5884 2001-12-05 Michael Meeks <michael@ximian.com>
5886 * registryd/registryd.c (main): protect against
5887 bonobo-activation startup race condition.
5889 * cspi/spi_main.c (cspi_object_add_check): cope
5890 with the exception elegantly.
5892 * idl/Accessible.idl: decl. ChildGone
5894 * libspi/desktop.c (spi_desktop_dispose): impl.
5895 (spi_desktop_class_init): upd.
5896 (spi_desktop_add_application),
5897 (spi_desktop_remove_application),
5898 (abnormal_application_termination): impl.
5899 (impl_desktop_get_child_at_index): re-impl.
5902 (impl_accessibility_registry_deregister_application),
5903 (impl_accessibility_registry_register_application):
5904 kill excessive debug clutter.
5906 * test/test-simple.c (test_misc): test some NULL
5907 tolerance. (main): upd.
5909 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5910 implements no interfaces - so let's not crash.
5912 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5914 * libspi/accessible.c (spi_accessible_new_return): impl.
5915 helper to calm the cut and paste, to cope with
5916 NULL AtkObjects effectively and efficiently, and to kill
5917 the referencing bugs.
5919 * libspi/table.c (impl_getAccessibleAt),
5920 (impl_getRowHeader, impl_getColumnHeader): upd.
5922 * libspi/hyperlink.c (impl_getObject): upd.
5924 * libspi/accessible.c
5925 (impl_accessibility_accessible_get_child_at_index): upd.
5927 * libspi/component.c
5928 (impl_accessibility_component_get_accessible_at_point): upd.
5930 * test/test-simple.c (test_editable_text, test_text): impl.
5933 * cspi/spi_editabletext.c
5934 (AccessibleEditableText_insertText): constify.
5936 * test/test-simple.c (focus_me): make more robust.
5938 * libspi/accessible.c: remove some printfs in methods that
5939 we test and work fine, so we can get a clean tree dump.
5941 * test/test-simple.c (validate_accessible),
5942 (validate_tree): make tree dumping pretty too.
5944 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5945 it builds without debug on.
5947 * test/test-simple.c (validate_accessible): fix the most
5950 * cspi/spi_main.c (spi_object_release): leave the nicely
5951 blanked memory around if in debug mode.
5953 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5955 [committed to fixups2]
5956 2001-12-05 Michael Meeks <michael@ximian.com>
5958 * libspi/editabletext.c
5959 (spi_editable_text_class_init): g_type_class_peek_parent,
5960 not interface peek - so we finalize cleanly.
5962 * libspi/accessible.c (spi_accessible_new): kill debug.
5964 * test/test-simple.c (validate_accessible): fix ref.
5965 leak, print strings before freeing them; sigh, comment a
5966 chunk out due to strangeness.
5967 (validate_tree): unref the child after use.
5969 * cspi/spi_component.c (AccessibleComponent_getLayer):
5970 add missing break statement, switch on zlayer not the
5971 uninitialized retval.
5973 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5974 before (possibly re-entering) remote unref.
5976 * test/simple-at.c (main): unref the desktop.
5978 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5981 * cspi/spi_main.c (cspi_accessible_is_a): here to
5982 isolate bonobo API usage more.
5984 * libspi/registry.c (impl_accessibility_registry_register_application):
5985 prune bogus comment.
5987 2001-12-04 Michael Meeks <michael@ximian.com>
5989 * test/test-simple.c (validate_tree): upd.
5990 IndexInParent check to make it more lucid.
5991 (validate_accessible): dump the tree.
5993 * libspi/accessible.c (de_register_public_ref),
5994 (get_public_refs): impl.
5995 (spi_accessible_new): make more efficient & intuitive.
5996 Now IndexInParent check works.
5998 2001-12-04 Michael Meeks <michael@ximian.com>
6000 * cspi/spi-util.h: remove.
6002 * cspi/spi.h: move SPI_freeString here
6004 * libspi/component.c (impl_accessibility_component_get_layer):
6006 (impl_accessibility_component_get_mdi_z_order): ditto,
6007 return -1 on error - is this ok ?
6009 * test/test-simple.c (test_application): impl.
6011 * cspi/spi_accessible.c (Accessible_getApplication),
6012 (Accessible_isApplication): impl.
6014 * libspi/registry.c (spi_listener_struct_free): release
6015 the CORBA reference too.
6017 * libspi/accessible.c
6018 (impl_accessibility_accessible_get_parent): fix ref leak.
6020 * libspi/registry.c (spi_registry_new): make the registry
6021 immortal - we don't want it to go away ever.
6023 * libspi/application.c
6024 (spi_accessible_application_finalize): impl. cleanup.
6026 * cspi/spi_registry.c
6027 (deregisterGlobalEventListenerAll),
6028 (deregisterGlobalEventListener),
6029 (deregisterAccessibleKeystrokeListener): fix ref leak.
6031 * cspi/spi_main.c (SPI_init): remove redundant ref.
6033 * test/test-simple.c (unutterable_horror): impl. to force a
6038 (impl_accessibility_registry_deregister_application): release
6039 the application when we de-register it.
6041 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6042 until we have the infastructure to get it right.
6044 2001-12-03 Michael Meeks <michael@ximian.com>
6046 * libspi/Makefile.am: only build eventlistener.[ch]
6048 * libspi/accessible.c
6049 (impl_accessibility_accessible_get_child_at_index): don't leak.
6051 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6052 before we hit the idle handler.
6054 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6055 debugging than exit.
6057 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6059 * libspi/listener.c (impl_notify_event): check source
6060 not NIL before unref.
6062 * libspi/registry.c (impl_registry_notify_event): ditto.
6064 * libspi/eventlistener.c
6065 (impl_accessible_event_notify_event): unref the source.
6067 * libspi/accessibleeventlistener.c
6068 (impl_accessible_event_notify_event): unref the source.
6070 * idl/Event.idl: remove 'hash_id' attribute - of no
6073 * libspi/application.c (notify_listeners): upd list
6075 (spi_application_object_event_listener),
6076 (spi_application_toolkit_event_listener): upd to do correct
6080 (_registry_notify_listeners): update.
6081 (parse_event_type): this method also leaks like a sieve.
6082 (impl_accessibility_registry_deregister_global_event_listener):
6083 fix ETYPE_WINDOW case.
6085 * libspi/application.c
6086 (impl_accessibility_application_register_object_event_listener):
6089 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6091 * libspi/hypertext.c (impl_getLink): ditto.
6093 * cspi/spi_main.c (cspi_object_add): remove
6094 bogus CORBA_Object_duplicate.
6096 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6099 * cspi/spi_accessible.c
6100 (Accessible_getRelationSet): fix leak / referencing issue.
6102 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6103 (cspi_object_add, cspi_object_unref): upd.
6104 (spi_object_release, get_live_refs): impl.
6105 (cspi_cleanup): simplify.
6107 * *.[ch]: s/boolean/SpiBoolean/
6109 * cspi/spi_accessible.c (role_names): actualy order so it
6110 corresponds with the enum !
6112 * test/test-simple.c (test_roles): check some role strings
6113 vs. enums to detect offset errors.
6115 2001-12-01 Michael Meeks <michael@ximian.com>
6117 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6119 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6121 (Accessible_getChildAtIndex): use cspi_add_check so we
6122 check the ev before using a (possibly) invalid value.
6124 * libspi/accessible.c
6125 (impl_accessibility_accessible_get_parent): don't segv
6128 * at-bridge/bridge.c (gtk_module_init): upd.
6129 (bridge_property_event_listener): don't leak strings
6131 (bridge_state_event_listener),
6132 (bridge_property_event_listener): don't use a static
6133 buffer in case of recursive event emission &
6134 re-enterancy - split out the swathe of cut and paste
6136 (emit_eventv): and fix 2 ref leaks here & comply to the
6138 (bridge_register_app): rename to
6139 (bridge_idle_init): this and kill arg parsing, split
6140 various inits & bonobo-activation registration to module
6141 init time, kill referencing error.
6142 (bridge_exit_func): fix the same leak.
6143 (bridge_focus_tracker): don't leak event structures
6145 (bridge_signal_listener): more leakage and cut & paste
6147 (bridge_key_listener): return the result - FIXME is
6148 this polarity correct ?
6149 (accessibility_keystroke_from_atk_key_event): rename
6150 (accessibility_init_keystroke_from_atk_key_event): and stop
6152 (gtk_module_init): return a value - not that it is checked by
6154 (bridge_key_listener): register my horror at casting between
6155 IDL defined structs.
6156 (bridge_get_registry): kill - not used.
6158 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6160 * test/test-simple.c (test_roles): impl.
6161 (test_desktop, validate_accessible, validate_tree): impl.
6163 * cspi/spi_accessible.c (role_names): fixup bogus
6164 MAX_ROLES setup, make constants const for efficient linkage
6165 (AccessibleRole_getName): conform to coding style, make
6168 2001-11-30 Michael Meeks <michael@ximian.com>
6170 * cspi/spi.h: add missing prototype.
6172 * libspi/registry.c (spi_listener_struct_new): fix sig.
6174 * test/Makefile.am: add test-simple
6176 * test/test-simple.c: add
6178 * test/test.sh: add.
6180 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6182 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6183 do it straight - since otherwise we often get an activation race.
6185 [ work before Bill duplicated a chunk of it ... ]
6186 2001-11-30 Michael Meeks <michael@ximian.com>
6188 * libspi/keystrokelistener.c
6189 (spi_keystroke_listener_class_init): fixup arg
6192 * libspi/eventlistener.c
6193 (spi_event_listener_class_init): ditto.
6195 * tests/test.sh: add.
6197 * cspi/spi-listener-impl.h: update macros.
6199 * cspi/spi-listener-impl.c
6200 (cspi_event_listener_remove_callback): add
6201 correct pre-conditions.
6203 * cspi/spi_main.c (SPI_exit): guard vs. double
6204 exits, exit the mainloop nicely.
6205 (SPI_event_main): make more sense.
6206 (SPI_init): move the atexit evilness here so we
6207 always do it (yuck).
6208 (SPI_event_main): upd.
6210 * test/simple-at.c: update for listener changes.
6212 * registryd/registryd.c (main): prune kruft.
6214 * libspi/libspi.h: upd.
6216 * libspi/eventlistener.[ch]: rename broken macros.
6218 * libspi/accessibleeventlistener.[ch]: remove.
6220 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6222 * test/test-simple.c: Add - automated tests.
6224 * cspi/spi-listener-impl.c (cspi_event),
6225 (cspi_key_event): add user_data to invoke.
6226 (cspi_keystroke_listener_finalize): impl.
6227 (cspi_keystroke_listener_class_init): upd.
6230 (createAccessibleEventListener),
6231 (AccessibleEventListener_addCallback),
6232 (createAccessibleKeystrokeListener),
6233 (AccessibleKeystrokeListener_addCallback): upd.
6235 * libspi/deviceeventcontroller.c
6236 (spi_device_event_controller_check_key_event): add public proto.
6239 (impl_accessibility_registry_deregister_global_event_listener):
6240 always init listeners.
6241 (_registry_notify_listeners): yes it is.
6243 * cspi/spi-listener-impl.c (cspi_key_event):
6245 (cspi_event_listener_finalize): impl.
6246 (cspi_event_listener_class_init): hook up.
6247 (event_handler_new, event_handler_free),
6248 (event_list_remove_by_callback): impl.
6249 (cspi_event_listener_remove_callback),
6250 (cspi_keystroke_listener_remove_callback),
6251 (cspi_keystroke_listener_add_callback),
6252 (cspi_event_listener_add_callback): upd.
6254 * libspi/keystrokelistener.c
6255 (keystroke_listener_object_finalize): kill
6256 (spi_keystroke_listener_class_init): upd.
6257 (spi_keystroke_listener_add_callback),
6258 (spi_keystroke_listener_remove_callback): kill,
6260 (impl_key_event): prune drasticaly.
6262 * libspi/eventlistener.c
6263 (spi_event_listener_add_callback),
6264 (spi_event_listener_remove_callback): kill, use
6266 (impl_accessible_event_notify_event): upd.
6267 (spi_event_listener_object_finalize): remove.
6269 * libspi/Makefile.am: use eventlistener.[ch]
6271 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6273 * libspi/registry.c (_registry_notify_listeners):
6274 Changed listener loop iteration to use preferred convention.
6275 Got rid of string memory leaks caused be calling g_strconcat
6276 inside function calls.
6278 * libspi/registry.c (parse_event_type):
6279 Stopped g_strconcat memory leaks, free the g_strsplit return,
6280 g_strdup the split pieces when used, etc.
6282 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6285 Change method 'compare' to return a 'difference set' rather than
6286 taking a StateSet as an out parameter (more Java-friendly).
6288 * idl/Accessible.idl:
6289 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6291 * idl/Component.idl:
6293 Changed methods 'getExtents' and 'getImageExtents' in these
6294 interfaces to return a BoundingBox structure.
6295 (getPosition and getSize are redundant and possibly should be
6296 removed, rather than creating a corresponding Point struct.)
6298 * cspi/spi_component.c:
6299 Modify implementation of getExtents to reflect the above IDL
6304 Add (missing) AccessibleImage_getExtents () API.
6306 * docs/reference/cspi/at-spi-cspi-sections.txt:
6307 Added AccessibleImage_getImageExtents () to docs.
6309 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6311 * idl/Component.idl:
6312 Added two methods, getLayer () and getMDIZOrder (), to reflect
6313 the new ATK methods atk_object_get_layer and
6314 atk_object_get_mdi_z_order. (Which arguably should be part of the
6315 AtkComponent API and AtkObject). Also added an enum,
6316 ComponentLayer, for the first method's return value.
6318 * libspi/component.c:
6319 Added implementations for these methods.
6321 * cspi/spi_component.c:
6323 Added cspi binding methods for above,
6324 AccessibleComponent_getLayer() and
6325 AccessibleComponent_getMDIZOrder().
6326 Added cspi enum 'AccessibleComponentLayer'.
6328 * docs/reference/cspi/at-spi-cspi-sections.txt:
6329 Added above methods to docs.
6333 Changed typedef for 'boolean' type (and all references to it) to
6334 SPIBoolean, to avoid keyword clashes with C++.
6337 Changed usages of 'boolean' to SPIBoolean.
6339 * test/keysynth-demo.c:
6340 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6341 app), except where SPIBoolean is required by the callbacks API.
6343 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6345 * cspi/spi_registry.c:
6346 Removed obsolete X event loop for passive keygrabs (which now
6349 * registryd/registryd.c:
6350 Removed unnecessary call to gdk_init() [cruft]. This also allows
6351 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6354 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6356 * docs/reference/cspi:
6357 Included docs for SPI_freeString in generated documentation.
6360 Renamed spi_freeString to SPI_freeString, for consistency. Added
6361 documentation for this function.
6364 Renamed spi_freeString to SPI_freeString, for consistency.
6365 Removed obsolete method declaration string_from_corba_string.
6367 * test/keysynth-demo.c:
6368 Small tweak to comments.
6371 Stopped leaking the strings returned from CSPI.
6373 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6375 Merged Michael's branch (see his ChangeLog entries below).
6377 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6378 bridge is alive, release on exit.
6380 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6381 Fix type check macro.
6384 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6387 Added is_gnome_app static, and method cspi_is_gnome_app(),
6388 so we can call the appropriate shutdown routine at exit in SPI_exit.
6390 * cspi/spi_main.c (cspi_object_ref):
6391 Duplicate the corba object passed in, since we're keeping it around.
6393 * cspi/SPI_exit.c, cspi_cleanup:
6394 Moved the releasing of the live refs to its own function, so we
6395 can put it in g_atexit (). Call the appropriate shutdown API
6396 depending on whethe calling client is a gnome app or not
6397 (bonobo_main_quit or CORBA_ORB_shutdown).
6399 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6400 Unref the listener when this method is called, after
6401 deregistration. Updated the API docs to note this behavior.
6403 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6404 Bugfixes: Ref the bonobo object when returning a parent or child
6405 reference, or an AccessibleRelation. Generally made sure
6406 BonoboObject refcount is incremented whenever we return an
6409 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6410 Fixed typo/bug in signal declaration.
6412 * libspi/accessibleeventlistener.h:
6415 * libspi/application.c (spi_application_new):
6416 Fixed leak in initialization.
6419 Remembered to increment bonobo-object refcount when returning
6420 children (applications) from desktop object.
6421 Added (empty) finalize method.
6423 * libspi/deviceeventcontroller.c:
6424 Hold a ref to listeners inside DEControllerKeyListeners.
6425 Added dec_key_listener_free() method. Use prepend instead of
6426 append in key_listener list. Fixed some refcount madness and
6427 leaks in the listener registration/deregistration - deregistration
6428 now calls dec_key_listener_free() on listeners, and on the
6429 temporarily constructed dec_key_listener() used to perform the search/match.
6431 * libspi/hypertext.c (spi_hypertest_finalize):
6432 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6433 class. Also fixed spi_hypertext_interface_new() and
6434 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6436 * libspi/hypertext.h:
6437 Removed pointless and duplicate AtkObject pointer from
6440 * libspi/keystrokelistener.c:
6441 Fixed incorrect type of keystroke_listener_parent_class,
6442 renamed keystroke_listener_object_finalize to
6443 spi_keystroke_listener_object_finalize.
6444 Fixed typo in signal declaration
6445 (spi_keystroke_listener_class_init).
6447 * libspi/registry.c:
6448 Added funcsions spi_listener_struct_new() and
6449 spi_listener_struct_free() to help with memory management issues.
6450 We also now use these methods instead of gnew + poking stuff into
6451 the struct, and to decrement listener counts/free the listeners
6452 when deregistering them.
6453 Fix more refcount bugs in getDesktop() and
6454 getDeviceEventController().
6457 De-ref the desktop after enumerating the applications. Explicitly
6458 decrement the refcounts on the created listeners on exit (using
6459 _unref for keystroke listeners, and via the
6460 deregisterGlobalEventListenerAll command for other event
6463 2001-11-27 Michael Meeks <michael@ximian.com>
6465 * cspi/spi-listener.h: fixup enum.
6467 2001-11-27 Michael Meeks <michael@ximian.com>
6469 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6470 (cspi_keystroke_listener_new): Use the cspi variants.
6472 2001-11-26 Michael Meeks <michael@ximian.com>
6474 * test/keysynth-demo.c: fix 2 compile warnings, missing
6477 * test/simple-at.c (report_focussed_accessible),
6478 (report_focus_event, report_button_press),
6479 (check_property_change, is_command_key),
6480 (report_ordinary_key_event, report_command_key_event): upd.
6482 * util/mag_client.h: include pre-requisites.
6484 * libspi/accessibleeventlistener.c
6485 (spi_event_listener_object_finalize): free any lingering
6488 * libspi/keystrokelistener.c
6489 (keystroke_listener_object_finalize): ditto.
6491 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6492 callbacks, with cspi types.
6494 * cspi/spi_event.c (createAccessibleEventListener): chain to
6495 (AccessibleEventListener_addCallback): here.
6496 (createAccessibleKeystrokeListener): chain to
6497 (AccessibleKeystrokeListener_addCallback): here.
6499 * libspi/keystrokelistener.c
6500 (spi_keystroke_listener_class_init): add signal.
6501 (impl_key_event): emit the event.
6502 (boolean_handled_accumulator): impl.
6503 (marshal_BOOLEAN__POINTER): add, gack.
6505 * libspi/accessibleeventlistener.c
6506 (spi_event_listener_class_init): add signal.
6507 (impl_accessible_event_notify_event): emit the signal &
6508 make the loop efficient.
6509 (spi_event_listener_add_callback): prepend the callback.
6511 * libspi/accessibleeventlistener.h: add an 'event' signal,
6512 decl type on callback.
6514 * libspi/keystrokelistener.h: ditto.
6516 * cspi/spi-listener.h: make methods typesafe and
6517 make them use the new event typedefs.
6519 * test/simple-at.c (report_focussed_accessible):
6520 include mag_client.h
6521 Use *(void *)text_interface not the other thing.
6523 * configure.in: add gtk to registryd bits - since we use
6526 * util/magnifier.c: include libbonobo.h
6528 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6530 * test/keysynth-demo.c:
6531 Turned this into a simple scanning keyboard, to demonstrate the
6532 use of g_timeout_add () as a means of creating timers for
6533 scanning, and the use of GtkStyle for visually indicating when
6534 virtual keyboard elements are selected.
6536 keysynth-demo now listens to any keyboard keys with zero-valued
6537 keycodes (i.e. 'unused' keys) and interprets them as
6540 Reworked the shiftlatch code so that shift-down state isn't held
6541 for long periods (it's only synthesized immediately prior to
6542 the keysynth event it's modifying). Note that shiftlatch in this
6543 demo is a convenience, not intended to take the place of AccessX
6544 which is the better choice for getting 'sticky' modifier keys.
6546 * libspi/deviceeventcontroller.c:
6547 * at-bridge/bridge.c:
6548 * cspi/spi_registry.c:
6549 Removed some debug print stuff, and put other verbosity in #ifdef
6554 Implemented some more of the magnifier IDL for the simple
6555 magnifier: namely, getZoomRegionParams.
6556 Added mag_x and mag_y members to MagnifierData struct, aid of this
6558 Added GtkWindow::realize signal handler to magnifier, to keep it
6559 from receiving keyboard focus from the WM.
6561 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6563 * cspi/spi-private.h: my guess at what michael forgot
6564 before he ran off to NZ :-)
6566 2001-11-23 Michael Meeks <michael@ximian.com>
6568 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6569 comment out non existant method invoke so we link.
6571 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6572 use bonobo_exception_get_text for more friendly warnings.
6574 * cspi/spi.c (Obj_Add): move into spi_main & rename
6575 spi_object_add; kill spi.c
6577 * cspi/spi_registry.c
6578 (deregisterGlobalEventListener),
6579 (deregisterGlobalEventListenerAll),
6580 (registerGlobalEventListener): fix exception leaks.
6582 * cspi/spi_main.c (spi_exception): impl. helper, so we
6583 don't leak exceptions.
6585 * cspi/spi_selection.c
6586 (AccessibleSelection_deselectSelectedChild): return the
6589 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6590 (spi_registry): ditto.
6591 (SPI_init): guard against double inits.
6593 * cspi/*.c: use spi_ev (), and spi_registry () where
6594 appropriate - a temporary hack until we have something
6595 better. Use spi_object_add
6597 2001-11-22 Michael Meeks <michael@ximian.com>
6599 * cspi/Makefile.am: re organise, install the headers.
6601 * cspi/*.h: add G_BEGIN/END_DECLS
6603 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6606 Added non-preemptive keylistener for key events with no modifiers
6607 and shift-only modifier.
6609 * libspi/keystrokelistener.c:
6610 Removed some verbose diagnostics printout.
6612 * cspi/spi_registry.c:
6613 Fixed a bug that caused all key listeners to be registered as
6616 * libspi/deviceeventcontroller.c:
6617 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6618 for non-preemptive key masks.
6621 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6623 * docs/reference/idl/at-spi-idl-docs.sgml:
6624 * docs/reference/idl/at-spi-idl-sections.txt:
6625 * docs/reference/idl/at-spi-idl-overrides.txt:
6626 Added missing files.
6628 * docs/reference/Makefile.am:
6629 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6630 to scan the IDL files :-(
6635 Added .cvsignore files.
6637 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6639 * libspi/deviceeventcontroller.c:
6640 * libspi/keystrokelistener.c:
6642 * cspi/spi_registry.c:
6643 Added filters for KeySets, KeyEventSeq, and event types to key
6644 event dispatching, so listeners should only receive those events
6645 that they requested :-)
6647 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6652 * docs/reference:Makefile.am:
6653 * docs/reference/cspi:
6654 * docs/reference/cspi:Makefile.am:
6655 * docs/reference/cspi:tmpl:
6656 * docs/reference/cspi:tmpl:*.sgml:
6657 * docs/reference/idl:
6658 * docs/reference/idl:Makefile.am:
6659 * docs/reference/idl:at-spi-idl-sections.txt:
6660 * docs/reference/idl:at-spi-idl-docs.sgml:
6661 * docs/reference/idl:tmpl:
6662 * docs/reference/idl:tmpl:*.sgml:
6664 Restructured docs directory to allow separate 'reference' docs
6665 section, and forked idl and cspi docs. Added the sgml template
6666 files to CVS. Added the first sections/structural sgml for the
6669 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6671 * configure.in, libspi/Makefile.am: find libXtst.
6673 2001-11-21 Michael Meeks <michael@ximian.com>
6675 * test/accessx-gui.c: s/spi_value/value/ - doh.
6677 * libspi/base.[ch]: add.
6679 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6681 * idl/Accessible.idl:
6682 * idl/Application.idl:
6685 Started gtk-doc cleanup on IDL.
6687 * libspi/deviceeventcontroller.c:
6688 Added and connected non-preemptive key notification from the
6689 toolkits (in addition to the pre-emptive support from XServer
6690 which we had before, but which causes 'focus flashing'). Filters
6691 are presently limited to key modifiers and global/non-global,
6692 KeySets are presently ignored, as are KeyEvent masks.
6694 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6695 structs into the persistant structure rather than just storing
6696 pointers to things that might not persist across servant
6699 The XGrabKey call now does async keygrabs, because synchronous
6700 ones were deadlocking with GDK_event code in a very nasty way.
6702 Added boolean to internal method notify_keylisteners, to indicate
6703 whether the event came from the 'toolkit source' or the 'global
6704 (XServer) source' - this is used in the notification process to
6705 determine which listeners to send the event to.
6707 deviceeventcontroller.c is now warning-free.
6709 * libspi/registry.c:
6710 Fixed regression in application de-registration.
6711 Also fixed some really brain-dead weirdness having to do with
6712 event dispatching - event structs are now duplicated before being
6713 re-marshalled in the dispatch to listeners. This also fixes a
6714 Solaris build problem.
6717 2001-11-20 Michael Meeks <michael@ximian.com>
6720 (impl_accessibility_registry_deregister_global_event_listener):
6723 * libspi/deviceeventcontroller.c
6724 (spi_device_event_controller_check_key_event): return
6725 FALSE on no virtual method.
6727 * libspi/*..h: make includes work on a correctly pathed install.
6729 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6731 * libspi/application.h: kill unused ( and whacked out )
6732 gboolean *spi_application_set_id (AtkObject *app, long id);
6734 2001-11-20 Michael Meeks <michael@ximian.com>
6736 * libspi/*.[ch]: further convert to bonobo's type func
6737 macros, remove redundnant casts etc.
6739 * libspi/text.c s/accessibility_text/spi_text/g,
6740 re-order to de-cruft.
6742 * libspi/hypertext.c: re-order to kill a huge slew
6743 of redundant forward decls.
6745 * libspi/relation.c: ditto.
6747 * libspi/image.c: ditto.
6749 * */.cvsignore: update
6751 2001-11-20 Michael Meeks <michael@ximian.com>
6753 * libspi/deviceeventcontroller.c
6754 (_controller_register_with_devices): use g_getenv,
6755 kill stdlib.h include.
6757 * libspi/keystrokelistener.c
6758 (spi_keystroke_listener_get_type): kill
6759 (spi_keystroke_listener_class_init),
6760 (spi_keystroke_listener_init): rename to this.
6762 * libspi/text.c (impl_getAttributes): fix warning / bug.
6764 * libspi/*.[ch]: more headers, includes and over commenting.
6766 2001-11-20 Michael Meeks <michael@ximian.com>
6768 * libspi/*.[ch]: fixup headers, includes and over commenting.
6770 * libspi/image.c (impl__get_imageDescription): const
6771 correctness warning fix. remove redundant casting.
6773 * libspi/table.c (impl_getRowDescription): ditto.
6774 (impl_getColumnDescription): ditto.
6776 * libspi/libspi.h: add.
6778 2001-11-19 Michael Meeks <michael@ximian.com>
6780 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6782 * libspi/component.c (accessibility_component_get_type):
6783 rename to (spi_component_get_type): and macroify.
6784 (accessibility_component_init): rename to
6785 (spi_component_init): this
6786 (accessibility_component_class_init): rename to
6787 (spi_component_class_init): this
6789 * libspi/action.c (spi_action_get_type): kill, use the macro.
6791 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6794 * libspi/application.c (spi_application_object_event_listener),
6795 (impl_accessibility_application_register_object_event_listener):
6796 warning fixes / const understanding updates.
6798 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6801 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6803 * libspi/spi_accessible.c: Added docs and C bindings for
6804 AccessibleStateSet. (No implementations yet). Documentation
6805 coverage for C bindings now 100%. Made docs for event listeners
6810 boolean notifyListenersSync (in DeviceEventListener listener,
6811 in DeviceEvent event);
6813 oneway void notifyListenersAsync (in DeviceEventListener listener,
6814 in DeviceEvent event);
6816 Added DeviceEventListener and DeviceEvent structs (may deprecate
6817 KeyStroke and KeystrokeListener in favor of this generic
6818 event/listener framework for devices).
6820 * libspi/deviceeventcontroller.c:
6822 Changed some key listener code to take masks, etc., and paved the
6823 way for integration of toolkit/non-preemptive key events. Changed
6824 signatures of some internal methods.
6826 * at-bridge/bridge.c:
6827 Fixed regression connecting to interface signals, apparently
6828 caused by GTK+ changes.
6830 Added an internal bridge_state_listener to deal with
6831 property-change:accessible-state signals.
6833 Changed the key_listeners GList to store structs (including masks,
6834 etc.) instead of just CORBA_Objects (required for full
6835 implementation of key listener API).
6837 Connected the bridge to all currently supported Atk signals.
6838 Events now supported:
6839 object:property-change
6840 object:property-change:accessible-name
6841 object:property-change:accessible-state
6842 object:property-change:accessible-description
6843 object:property-change:accessible-parent
6844 object:property-change:accessible-value
6845 object:property-change:accessible-role
6846 object:property-change:accessible-table-caption
6847 object:property-change:accessible-table-column-description
6848 object:property-change:accessible-table-column-header
6849 object:property-change:accessible-table-row-description
6850 object:property-change:accessible-table-row-header
6851 object:property-change:accessible-table-summary
6852 object:children-changed
6853 object:visible-data-changed
6854 object:selection-changed
6855 object:text-selection-changed
6857 object:text-caret-moved
6859 object:row-reordered
6861 object:column-inserted
6862 object:column-reordered
6863 object:column-deleted
6864 object:model-changed
6866 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6868 * libspi/hyperlink.c,h:
6869 Fixed some broken stuff in hyperlink.
6871 * libspi/relation.h:
6872 * libspi/relation.c:
6873 * cspi/spi_accessible.c:
6874 Initial implementations of AccessibleRelation methods, and docs.
6876 * libspi/accessible.c:
6877 Fixed a bug that caused SEGV if an accessible
6878 object's description is NULL, and a client
6879 requests it. An empty string is now returned.
6881 * cspi/spi_editabletext.c:
6882 * cspi/spi_hypertext.c:
6884 * cspi/spi_hyperlink.c:
6888 Doc coverage now 95%.
6890 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6892 One last namespacing revision:
6893 * libspi/accessibleeventlistener.[ch]:
6894 Renamed SpiAccessibleEventListener to SpiEventListener,
6895 (no need for two namespaces ;-)
6897 And lots of documentation fixes:
6899 * docs/at-spi-docs.sgml:
6900 Fixed 'underscore vs. hyphen' bug that was preventing
6901 the gtk-doc API docs from being automatically generated.
6904 * cspi/spi-listener.h
6906 * cspi/spi_accessible.c
6908 * cspi/spi_application.c
6909 * cspi/spi_component.c
6910 * cspi/spi_editabletext.c
6912 * cspi/spi_hypertext.c
6914 * cspi/spi_registry.c
6915 * cspi/spi_selection.c
6919 * docs/at-spi-docs.sgml
6920 * docs/at-spi-sections.txt
6922 Added and fixed up gtk-doc documentation in cspi.
6924 Interfaces now (fully) documented (subject to revision and enhancement):
6926 Event Listener Support
6928 AccessibleApplication
6932 AccessibleEditableText
6939 AccessibleRelationSet
6944 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6946 * at-bridge/bridge.c:
6947 Initial work for toolkit-level key snooper connection by bridge.
6952 New typedefs and fixes to support new namespacing, and cleaner
6953 separation of cspi bindings from libspi bonobo implementation.
6954 Removed inconsistent and extraneous Spi* namespace prefix that
6955 had crept into cspi headers.
6956 Lots of comment fixes that sed had missed.
6958 * cspi/spi-roletypes.h:
6959 * cspi/spi-statetypes.h:
6960 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6961 to AccessibleRoleType.
6963 * libspi/accessibleeventlistener.h:
6964 Fixed minor namespacing weirdness.
6966 * libspi/deviceeventcontroller.c:
6967 Reordered some internal API for device listeners.
6968 Changed the key registry final boolean to 'is_system_global'
6969 rather than 'is_synchronous', which is more descriptive of its
6971 Added spi_device_event_controller_new().
6972 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6974 * libspi/keystrokelistener.[ch]:
6975 Namespaced KeystrokeListener to SpiKeystrokeListener.
6976 Changed uses of keymasks to use SPI_ prefix, and did other
6979 * libspi/keymasks.h:
6980 Namespaced keymask constants with SPI_ prefix.
6982 * libspi/registry.c:
6983 Some warning fixes, and knock-on fixes from namespace changes.
6986 Added rules for accessx-gui test program.
6988 * test/accessx-gui.c:
6989 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6990 utility. It doesn't actually use at-spi, but it's still cool and
6993 * test/keysynth-demo.c:
6997 Fixes so that these test clients work properly with the namespaced
6998 libraries. (Incompletely tested for technical reasons, fixes may follow)
7001 2001-11-13 Michael Meeks <michael@ximian.com>
7003 * libspi/application.c
7004 (impl_accessibility_application_get_version),
7005 (impl_accessibility_application_get_toolkit_name):
7007 (impl_accessibility_application_set_id),
7008 (impl_accessibility_application_get_id): remove
7009 redundant casting code.
7011 * libspi/action.c (impl_getDescription): fix warnings.
7013 * libspi/accessible.c
7014 (impl_accessibility_accessible_get_parent),
7015 (impl_accessibility_accessible_get_child_at_index),
7016 (impl_accessibility_accessible_get_state),
7017 (impl_accessibility_accessible_get_relation_set):
7018 warning fixes & include action.h
7020 2001-11-13 Michael Meeks <michael@ximian.com>
7022 * *.[ch] fix bits I screwed up:
7024 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7025 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7027 2001-11-13 Michael Meeks <michael@ximian.com>
7029 * *.[ch] Namespace libspi into spi_ and Spi.
7031 2001-13-11 Michael Meeks <michael@ximian.com>
7033 * Makefile.am: dist & install at-spi-1.0.pc
7035 * libspi/Makefile.am: install into at-spi-1.0
7037 * idl/Makefile.am (idldir): install into at-spi-1.0
7039 * at-spi-1.0.pc.in: add.
7041 * configure.in: build it.
7043 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7045 * test/keysynth-demo.c:
7046 Use a 'realize' signal-handler to set the WM properties for
7047 the virtual keyboard, rather than making it a "POPUP" type
7048 override-redirect window (thanks to anders carlsson for that
7051 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7054 * test/keysynth-demo.c:
7055 Added new test of key synthesis, which creates a simple
7056 (mouse-operated) onscreen keyboard. It inserts key events into
7057 the currently-focused window, thus it does not grab keyboard focus
7060 * cspi/spi_registry.c:
7061 Added C binding for AT-SPI generateKeyEvent.
7063 * libspi/deviceeventcontroller.c:
7064 Added call to XFilterEvent so that key listener works with XIM (we
7065 hope). Added event_synth_type to generateKeyEvent, so that we can
7066 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7067 synthesize a press/release pair for KeySyms.
7069 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7071 * libspi/Makefile.am:
7072 * registryd/Makefile.am:
7073 (temporary) hack to include libXtst in libspi and registryd.
7074 (Needed for keystroke synthesis, see below).
7077 Improved API for registerKeystrokeListener, in accordance with
7078 discussions with Gnopernicus team and X server research.
7080 * libspi/registry.c:
7081 * libspi/deviceeventcontroller.c:
7082 * libspi/accessible.c:
7083 * libspi/keystrokelistener.c:
7084 Changes and fixes to support keylisteners for potentially
7085 consumed key events (that is, 'passive grabs').
7086 Added implementation for generateKeyEvent() [untested].
7089 Changes to registerKeystrokeListener() API, as above.
7090 Added deregisterGlobalEventListenerAll(), and
7091 deregisterKeystrokeListener(), which are needed for clean exit of
7093 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7094 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7096 * cspi/spi_registry.c:
7097 Added implementations of function prototypes mentioned above.
7099 * registryd/registryd.c:
7100 Added the key listener event source as a g_timeout(), to allow
7101 receipt of key events that are not caught by GDK (since GDK
7102 doesn't support passive keygrabs, this was necessary).
7105 Changed to attach a keylistener to 'Alt' keys, and
7106 respond to the following keycommands: Alt-M (toggle magnifier);
7107 Alt-F (toggle speech); Alt-Q (quit).
7108 Added an exit routine to deregister the listeners, and a key
7109 listener that prints some key info to the console when a key
7110 matches the listener mask (and is thus received by the listener).
7112 * util/idl/Magnifier.idl:
7113 Changes to magnifier API to support multiple zoom regions,
7114 non-uniform scaling in x and y, markDirty, and a host of other
7115 features that would be useful to magnification.
7118 * util/mag_client.c:
7119 * util/mag_client.h:
7120 * util/mag_control.c:
7122 Source code changes to support the above IDL changes.
7125 As above, and also changes to use a (slower) generic conversion
7126 path for colormap conversions, since the fast RGB conversions have been
7127 reported to fail for 16-bit displays.
7129 2001-10-26 Michael Meeks <michael@ximian.com>
7131 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7133 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7135 * at-bridge/Makefile.am: fix LDFLAGS.
7137 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7139 * at-bridge/bridge.c:
7140 Re-worked listeners for toolkit events, now we have signal
7141 and property listeners. Added a private method
7142 register_atk_event_listeners(), which registers with the
7143 various atk and gtk signals we need to monitor in order to emit
7145 Added emission hook for AtkObject:property-change events, to
7146 support the 'property listeners'.
7147 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7150 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7151 which emit warnings and exit, respectively, if CORBA errors occur
7152 during remote calls, and we now use these methods to check most of
7153 our CORBA calls in the C bindings.
7155 * cspi/spi_accessible.c:
7156 Changed AccessibleSelection_refSelectedChild() to
7157 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7158 now increment refcounts.
7160 * cspi/spi_component.c:
7161 Fixed some long pointer casts (dangerous!) to pass pointers to
7162 CORBA_longs of the proper type to the CORBA stubs, and copy the
7163 data into the longs that were passed into the C bindings code.
7165 * at-bridge/bridge.c:
7167 * libspi/accessible.c:
7168 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7169 hyperlinks, AtkHyperlink is an object type.
7171 * libspi/application.c:
7172 Added various conversions to and from "generic" event types and
7173 atk-specific types; this is really part of the 'bridge'
7174 implementation but is valid for all AtkObject-based accessibility
7177 * libspi/editabletext.c:
7178 Fixed nasty bug wherein editable text's finalize method was
7179 unref'ing tha AtkObject reference that the text parent class was
7180 about to unref _again_. There was also a nasty inheritance bug
7181 that meant that the AccessibleEditableText class was corrupt.
7183 * libspi/selection.c:
7184 Provided implementations for some selection API that was broken.
7186 * idl/Application.idl:
7187 Added registerObjectEventListener () method.
7190 Fixed a number of return values that were Bonobo_Unknowns from
7191 bonobo_object_corba_objref(), which I
7192 forgot to dup before returning. Changed instances of
7193 bonobo_object_corba_objref (bonobo_object(o)) to
7194 BONOBO_OBJREF(o), for concision and clarity.
7196 2001-10-13 Louise Miller <louise.miller@sun.com>
7198 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7199 idl/Event.idl, idl/Registry.idl
7200 Changed these files to include Bonobo_Unknown.idl instead
7203 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7205 * libspi/component.c libspi/component.h:
7206 Fixed typo. Added assertions for object checks in
7207 AccessibleComponent code.
7209 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7211 * idl/Accessible.idl:
7212 Added 'isEqual (Accessible *object)'
7213 method for Accessible. (Not Yet Implemented).
7216 Changed signature of registerKeystrokeListener() to
7217 take a KeySet and KeyEventSeq so that specific keys and event
7218 types could be requested for monitoring, and added a flag
7219 is_synchronous so that either synchronous or asynchronous
7220 notification could be requested. (However this is not all
7221 implemented yet). This also meant adding two new typedefs,
7222 KeyEventSeq and KeySet.
7225 Added two new relations, RELATION_TOOLTIP_FOR and
7226 RELATION_LEAFNODE_OF.
7229 Added new state, STATE_HAS_TOOLTIP.
7231 * libspi/text.c, editabletext.c:
7232 Added new assertions to all casts of bonobo-objects from
7233 CORBA servants, to prevent Text API calls on non-text objects.
7234 Changed suspect casts of int-pointer types, so that we
7235 always send a valid CORBA_long pointer to the CORBA APIs that use
7236 in/out long parameters. We then have to copy from the CORBA_long
7237 into the regular long or int for return to the C bindings, or
7238 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7241 * libspi/deviceeventcontroller.c:
7242 Cleaned these sources up.
7244 Changed return type for getCharacterAtOffset to
7245 CORBA_unsigned_long, to allow for 32-bit characters.
7248 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7252 Fixed 'make dist' so that distro compiles...
7253 * libspi/keymasks.h:
7255 * cspi/spi-listener.c:
7256 KeystrokeListenerCB now returns a boolean.
7258 Added KeyEventType struct, and KeyStroke.
7259 Also added createKeystrokeListener(),
7260 KeystrokeListener_addCallback(),
7261 KeystrokeListener_removeCallback(), and added a keymask to
7262 registerKeystrokeListener().
7263 * cspi/spi_accessible.c:
7264 Changed numerous return types for interfaces from
7265 AccessibleComponent to Accessible<InterfaceName>; this was
7266 probably a cut-and-paste error.
7268 Implementations of new KeystrokeListener api (from spi.h,
7271 Changes to key modifier mapping.
7272 Created ControllerEventMask struct.
7273 Made DeviceEventController derive from Bonobo::Unknown.
7275 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7276 * libspi/deviceeventcontroller.c:
7277 Added a number of new internal (private) methods.
7278 * libspi/editabletext.c:
7279 * libspi/editabletext.h:
7280 Fixed a number of bugs related to the fact that
7281 editabletext inherits from text. Fixed the EditableText struct,
7282 the init() call, and use correct casts when calling Text methods
7283 from an EditableText object. Removed (duplicate) atko from the
7284 EditableText structure, we use the one in the parent Text
7285 structure via the casts mentioned above.
7286 * libspi/keystrokelistener.[ch]:
7287 * libspi/registry.c:
7288 Changes in support of keyboard handling (above).
7290 Keyboard handling, though partly functional, is still not
7291 recommended for at-spi client use as there is considerable
7292 work yet to be done.
7295 Changed some places where pointers to various int types
7296 are cast to be pointers to CORBA_long types and vice-versa:
7297 pointer casting is not safe so we pass pointers of the correct
7298 types and then cast the result before putting it into the target
7301 * libspi/text.h: minor typos corrected.
7303 We now speak not only the name of a Text element, but the
7304 first sentence of its content, when it receives focus.
7305 I also changed the text compression to 75% from 50%.
7306 * util/Accessibility_Util.server.in:
7307 Changed the default magnifier type to be a 3x vertical
7308 splitscreen magnifier (was previously a 2x horizontal one).
7310 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7312 * libspi/keystrokelistener.h:
7313 * libspi/keystrokelistener.c:
7314 Initial functional implementations of KeystrokeListener.
7317 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7319 Fixed string handling for NULL strings in libspi.
7320 Added spi_freeString to free strings returned by C bindings.
7322 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7324 * libspi/keystrokelistener.h:
7325 * libspi/keystrokelistener.c:
7326 Began (no-op) implementations of KeystrokeListener
7328 * libspi/deviceeventcontroller.c:
7329 * libspi/deviceeventcontroller.h:
7330 Began creating implementations of DeviceEventController,
7331 to handle keystroke and mouse event listening and
7333 * libspi/accessible.c:
7334 Stubbed-in the implementations for
7335 Accessibility_Accessible_getState and
7336 Accessibility_Accessible_getRelationSet.
7337 * libspi/registry.c:
7338 Improved de-registration process and fixed some bugs,
7339 deregistration now works correctly.
7341 Added initialization of applications list (to NULL).
7343 Reduced speech compression from 0.5 to 0.7, for demo.
7344 Changed call to gdk_window_set_decorations()
7345 to gtk_window_set_decorated().
7346 * at-bridge/bridge.c:
7347 Bridge now deregisters when app exits, via
7348 registration of a cleanup function
7349 with the g_atexit() call.
7350 Required making 'app' static, renamed 'this_app'.
7351 Fixed broken use of bonobo_init, passing argv wrongly.
7353 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7357 Created a new directory for
7358 accessibility-related utilities, primarily for
7359 testing and demo purposes, but with possible
7366 Onscreen magnifier utility that
7367 is implemented as a bonobo service.
7369 * util/mag_client.c:
7370 * util/mag_client.h:
7371 Client-side support (simple C bindings)
7372 for Magnification service
7374 * util/mag_control.c:
7375 Client program example for
7376 Magnification service
7378 * util/Accessibility_Magnifier.server.in:
7379 Bonobo-activation file for the
7380 Magnification service.
7383 * util/idl/Magnifier.idl:
7384 IDL defining the bonobo Magnification
7388 Modifications to use the bonobo-activated magnifier
7389 above, in place of trying to connect to an existing
7390 magnifier that uses socket-listening IPC.
7392 If env variable MAGNIFIER is set, a magnifier service
7393 will be started if one does not exist.
7395 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7397 * at-bridge/bridge.c:
7398 applied patch from Marc to build and run
7399 against new glib and gtk+ (seemed like a change
7400 to bonobo_init signature was made ?)
7402 made festival-server support turned off by default.
7403 Added support for a simple magnifier (off by default)
7404 which will be added to a 'util' directory later.
7405 * at-bridge/Makefile.am:
7406 Changed "application.h" header from a 'source'
7407 to a 'dependency' of libat-bridge.
7409 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7418 Added interface implementation c files to list of
7419 includes so they are included in libcspi.
7422 Changed prototype of AccessibleAction_doAction to return a
7424 Changed prototype of AccessibleTable_getCaption to
7425 return an Accessible.
7426 Changed prototype of AccessibleTable_getSelectedRows
7427 and AccessibleTable_getSelectedColumns to
7428 return a long (returns the number of selected rows
7429 or columns respectively).
7430 Changed name of AccessibleText_refRunAttributes to
7431 AccessibleText_getAttributes.
7432 Changed prototype of AccessibleText_getCharacterExtents to
7433 return a void rather than a boolean.
7434 Added support for a AccessibleCoordType parameter
7435 specifying what type of coordinates are desired.
7436 Added an AccessibleCordType parameter to
7437 AccessibleText_getPointAtOffset.
7439 * cspi/spi_accessible.c:
7440 Added code to return the outstanding interfaces from
7441 Accessible_queryInterface.
7443 * cspi/spi_action.c:
7445 Corrected call to getNActions to call the c binding
7448 * cspi/spi_editabletext.c:
7450 Changed name from setRunAttributes to setAttributes.
7452 * cspi/spi_hyperlink.c:
7454 Changed call to getNAnchors to correctly call the c
7455 binding for an attribute.
7457 * cspi/spi_hypertext.c:
7459 Changed getImageDescription to correctly call the
7460 binding for an attribute.
7462 * cspi/spi_selection.c:
7463 Changed getNSelectedChildren to correctly call the c
7464 binding for the attribute.
7465 Changed refSelectedChild to getSelectedChild.
7469 Changed getCaption to return an Accessible.
7470 Fixed calls which retrieve attributes.
7471 Changed refAt to getAccessibleAt.
7472 Changed getNSelectedRows and getNSelectedColumns to
7476 Changed getCharacterExtents and getPointAtOffset to accept an
7477 AccessibleCoordType.
7479 Changed calls which retrieve attributes.
7480 Changed refRunAttributes to getAttributes.
7485 * idl/Hyperlink.idl:
7486 Changed n_anchors attribute to nAnchors to keep naming
7487 convention consistent.
7490 Made Table inherit from Bonobo::Unknown.
7491 Added nSelectedColumns and nSelectedRows attributes.
7494 Made Value inherit from Bonobo::Unknown.
7496 * libspi/hyperlink.c:
7497 Change for nAnchors attributte name change.
7499 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7507 Added interface implementation c files to list of
7508 includes so they are included in libcspi.
7511 Changed prototype of AccessibleAction_doAction to return a
7513 Changed prototype of AccessibleTable_getCaption to
7514 return an Accessible.
7515 Changed prototype of AccessibleTable_getSelectedRows
7516 and AccessibleTable_getSelectedColumns to
7517 return a long (returns the number of selected rows
7518 or columns respectively).
7519 Changed name of AccessibleText_refRunAttributes to
7520 AccessibleText_getAttributes.
7521 Changed prototype of AccessibleText_getCharacterExtents to
7522 return a void rather than a boolean.
7523 Added support for a AccessibleCoordType parameter
7524 specifying what type of coordinates are desired.
7525 Added an AccessibleCordType parameter to
7526 AccessibleText_getPointAtOffset.
7528 * cspi/spi_accessible.c:
7529 Added code to return the outstanding interfaces from
7530 Accessible_queryInterface.
7532 * cspi/spi_action.c:
7534 Corrected call to getNActions to call the c binding
7537 * cspi/spi_editabletext.c:
7539 Changed name from setRunAttributes to setAttributes.
7541 * cspi/spi_hyperlink.c:
7543 Changed call to getNAnchors to correctly call the c
7544 binding for an attribute.
7546 * cspi/spi_hypertext.c:
7548 Changed getImageDescription to correctly call the
7549 binding for an attribute.
7551 * cspi/spi_selection.c:
7552 Changed getNSelectedChildren to correctly call the c
7553 binding for the attribute.
7554 Changed refSelectedChild to getSelectedChild.
7558 Changed getCaption to return an Accessible.
7559 Fixed calls which retrieve attributes.
7560 Changed refAt to getAccessibleAt.
7561 Changed getNSelectedRows and getNSelectedColumns to
7565 Changed getCharacterExtents and getPointAtOffset to accept an
7566 AccessibleCoordType.
7568 Changed calls which retrieve attributes.
7569 Changed refRunAttributes to getAttributes.
7574 * idl/Hyperlink.idl:
7575 Changed n_anchors attribute to nAnchors to keep naming
7576 convention consistent.
7579 Made Table inherit from Bonobo::Unknown.
7580 Added nSelectedColumns and nSelectedRows attributes.
7583 Made Value inherit from Bonobo::Unknown.
7585 * libspi/hyperlink.c:
7586 Change for nAnchors attributte name change.
7589 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7591 implementations-- made server implementations own AtkObject pointers
7592 rather than their respective AtkInterrface pointers to fix
7593 refcounting. AtkHyperlink is still broken.
7595 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7596 * cspi/spi_accessible.c:
7597 Added method Accessible_Role_getName(),
7598 and requisite string array (role_names).
7599 Added conversion string_from_corba_strin() call
7600 to Accessible_getName and _getDescription.
7601 * libspi/accessible.c:
7602 Added implementation for Accessible_getRole()
7604 Added festival support, used if environment variable
7607 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7609 * at-bridge/bridge.c:
7610 Now allocate Accessibility_Event using
7611 Accessibility_Event__alloc() instead of g_new0().
7612 * libspi/accessibleeventlistener.c:
7613 Initialize AccessibleEventListener->callbacks to NULL.
7614 Fixed accessible__event_listener_init() param, changed to
7615 "AccessibleEventListener *" type.
7616 Changed a bonobo_object_release_unref() call to
7617 Accessibility_Accessible_unref().
7618 * libspi/listener.c:
7619 Changed Bonobo_Unknown_unref to (equivalent)
7620 Accessibility_Accessible_unref.
7621 * libspi/registry.c:
7622 Changed bonobo_object_release_unref to
7623 Accessibility_Accessible_unref.
7625 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7628 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7629 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7630 spi-util.c spi-util.h
7631 Implementations for C bindings to remaining accessibility
7634 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7637 changed return value of Action from void to boolean to
7638 bring in line with ATK.
7641 Changed getText funcions to return "out" start and end offsets.
7642 Changed getAttributes to take and offset and return the start
7643 and end offset of the attribute run.
7644 Changed getOffsetAtPoint and getCharacterExtents to take an
7645 enum describing whether coordinates are window or screen.
7648 libspi/action.c libspi/action.h libspi/editabletext.c
7649 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7650 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7651 libspi/image.h libspi/selection.c libspi/selection.h
7652 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7653 libspi/value.c libspi/value.h
7654 Added server implementations for outstanding ATK interfaces
7655 not yet implemented.
7657 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7660 Added (missing) getName() method.
7661 Made nActions an attribute.
7662 * idl/EditableText.idl:
7663 Changed order of params in setAttributes.
7664 * idl/Hyperlink.idl:
7665 Removed getAnchor, added getURI.
7667 Changed attributes to methods, for efficiency
7668 (so that getting extents can be done in one call)
7669 * idl/Selection.idl:
7670 Changed nSelectedChildren to attribute, and re-indented.
7671 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7673 * idl/Text.idl: reformatted to match our coding style.
7674 (temporarily?) removed getRowColumnAtOffset().
7675 Changed text selection API to support multi-select and
7676 non-contiguous selections, as in ATK.
7677 * idl/Value.idl: changed some methods to attributes.
7679 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7681 * libspi/listener.c(impl_notify_event):
7682 BonoboUnkown_unref the source instead
7683 of bonobo_object_release_unref - the ORB
7684 handles the releasing.
7686 * configure.in: require ORBit-2.3.94 for
7689 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7691 Tagged CVS repository 'EA_1_0'.
7692 * README.EARLY_ACCESS:
7693 Alphabetized acknowledgements list, and
7695 Listed some known dependencies of at-spi.
7697 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7699 * docs/at-spi-docs.sgml:
7700 * docs/at-spi-sections.txt:
7701 * docs/at-spi-overrides.txt: (Added zero-length file)
7702 Documentation improvements - gtk-doc should build
7703 docs for all implemented C bindings now.
7706 * cspi/spi.c: (New file)
7707 * cspi/spi_event.c: (New file)
7708 * cspi/spi_registry.c: (New file)
7709 * cspi/spi_accessible.c: (New file)
7710 * cspi/spi_application.c: (New file)
7711 * cspi/spi_component.c: (New file)
7712 Split spi_main.c into six parts, and included them from
7713 "spi.c". This is a bit of a hack, probably temporary,
7714 but required by gtk-doc, apparently.
7716 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7719 * docs/at-spi-docs.sgml:
7720 * docs/at-spi-sections.txt:
7722 Initial checkins/modifications for gtk-doc generation.
7725 Added (missing) interface query methods to Accessible's C binding.
7727 Added GenericInterface type definition.
7729 Added query for AccessibleComponent interface to focus event handler.
7730 Added printout of bounding box for focussed component.
7731 * libspi/component.c:
7732 Added partial implementation for AccessibleComponent to C binding.
7733 * idl/Application.idl:
7734 * libspi/registry.c:
7735 * libspi/listener.c:
7736 * libspi/application.c:
7737 * libspi/application.h:
7738 Changed "ID" attribute type from string to long.
7740 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7744 Made method naming consistent: methods taking object args
7745 start with uppercase, other methods (except those using
7746 acronyms) start with lowercase. Underscores delimit between
7747 object names and method names:
7748 SPI_init() - uppercase since it starts with an acronym.
7749 getDesktopCount () - lowercase start since no object param0.
7750 Accessible_getName() - uppercase object type name, studlyCaps method
7754 Added gtk-doc documentation for all currently implemented
7755 methods in the C bindings API.
7757 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7759 * Makefile.am : changed build order to build test last.
7762 Changed "createEventListener" to "CreateEventListener".
7763 * libspi/accessibleeventlistener.c :
7764 Bugfix for addition of callbacks.
7765 * test/Makefile.am :
7766 * test/simple-at.c :
7767 Added new test that uses the C bindings API.
7769 * libspi/listener.c :
7770 * libspi/registry.c :
7771 * libspi/accessibleeventlistener.c :
7772 * at-bridge/bridge.c :
7773 Renamed member "target" of Accessibility_Event to "source",
7774 which is more descriptive.
7777 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7781 * cspi/Makefile.am :
7782 Added makefile support for at-spi/cspi directory.
7785 * cspi/spi-listener.h : (NEW FILE)
7786 Added support for/use of spi-listener.h.
7788 C bindings now build successfully, with no warnings.
7789 * libspi/accessibleeventlistener.h : (NEW FILE)
7790 * libspi/accessibleeventlistener.c : (NEW FILE)
7791 * libspi/Makefile.am :
7792 Added new object type "AccessibleEventListener"
7793 which inherits from Listener, and allows attachment
7794 of in-process callbacks (so that a client with a listening
7795 object instance can add functionality to the local
7796 implementation, dynamically).
7798 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7800 * libspi/accessible.c:
7801 Add implementation for get_index_in_parent().
7803 Added #include of "spi-roletypes.h", and
7804 added enumerated type AccessibleCoordType.
7805 Added definition for KeystrokeListener (function type).
7808 * cspi/spi-statetypes.h :
7809 * cspi/spi-roletypes.h :
7811 Added these headers, used by spi.h.
7813 Added code (NOTE: not yet built by make).
7815 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7817 * libspi/Makefile.am: generate imodule
7818 at the same time as other idl compiler
7821 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7822 * libspi/registry.c :
7823 * libspi/application.c :
7824 * idl/Application.idl :
7825 Made registration with toolkit an application method,
7826 which is required since each app has its own toolkit static
7827 environment. Thus the bridge must register for
7828 notification of toolkit events from each application in turn.
7829 Toolkit notifications are now successfully registered for, and
7830 sent to the listening at client.
7832 Changed toolkit event string to use hyphens rather than underscores.
7833 * libspi/listener.c :
7834 listner now gives more info in debug mode - it reports the
7835 name of the event received, as well as the name of the source.
7838 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7840 * libspi/registry.c :
7841 added more implementation for toolkit events.
7842 Fixed bug such that toolkit event registrations
7843 (via atk) use the whole event name string, not
7845 Removed a useless call to an ORBit_ method.
7846 * at-bridge/bridge.c :
7847 Removed unused local sbuf[] variable.
7849 We now register for Gtk:GtkWidget:button_press_event
7850 events as well as "focus:" events.
7852 Add some more API from Registry.idl that was missing,
7853 for keystroke listening, keystroke and mouse event
7854 synthesis, and enumeration of accessible desktops.
7856 2001-08-16 Michael Meeks <michael@ximian.com>
7858 * configure.in: use AM_GLIB_GNU_GETTEXT.
7860 * Makefile.am (SUBDIRS): kill intl.
7862 2001-08-15 Michael Meeks <michael@ximian.com>
7864 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7866 * configure.in: upd.
7868 * configure.in: depend on a recent bonobo-activation that
7869 will find our server files ...
7871 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7873 * libspi/accessible.c : accessible_new() :
7874 Now we add the Component interface via bonobo_object_add_interface,
7875 if the contained AtkObject implements AtkComponent.
7876 * libspi/accessible.h : now include "component.h"
7877 * libspi/component.h :
7878 * libspi/component.c : added files - implementation of
7879 bonobo wrapper object for Accessibility/Component
7880 * libspi/listener.c :
7881 Added test code to check for Accessibility/Component:1.0
7882 interface and report whether it is implemented by the
7884 * libspi/registry.c :
7885 Now we check for not only the hash of the whole event
7886 string before relaying the event, we also check the
7887 "minor" event string (without the detail string).
7888 This allows event listeners to be registered against
7889 all events of a certain major+minor type, or just
7890 against a specific major+minor+detail type.
7891 * libspi/accessible.c :
7892 Added implementations for Accessible:get_parent(),
7893 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7894 * libspi/registry.c :
7895 * libspi/listener.c :
7896 Replaced calls to Accessibility_Accessible_ref() and
7897 Accessibility_Accessible_unref() with
7898 calls to bonobo_object_dup_ref() and
7899 bonobo_object_release_unref(), so that the CORBA object
7900 is dup-ed and released when relayed, as well as the bonobo object.
7902 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7904 * libspi/Makefile.am,
7905 registryd/Makefile.am,
7906 at-bridge/Makefile.am.
7907 test/Makefile.am, configure.in:
7908 reverse previous changes.
7910 * /idl/Image.idl: fix typo.
7912 * test/Makefile.am: put DEBUG_FLAGS
7915 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7917 * test/app.c: use argv[0] instead of
7920 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7922 * libspi/Makefile.am,
7923 registryd/Makefile.am,
7924 at-bridge/Makefile.am.
7925 test/Makefile.am, configure.in:
7926 cleanup, replace individual LIBS/CFLAGS with
7927 AT_COMMON_{LIBS|CFLAGS}.
7931 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7933 * configure.in, libspi/Makefile.am:
7934 Change IDL path checking for bonobo-activation
7937 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7939 * registryd/registry.c : separated event listeners to use
7940 3 separate lists (focus, window, toolkit). Began testing
7941 event names against hashes before relaying events.
7942 * test/at.c : now register for events of type "focus:"
7943 * test/app.c : now generate events of type "focus:"
7944 * at-bridge/bridge.c : register with ATK for focus events,
7945 and we now relay those focus events to any "focus:" listeners.
7946 This now works with the bridge as a GTK_MODULE when running test/at.
7947 * libspi/registry.c :
7948 * libspi/listener.c :
7949 now we ref event sources before propagating, and unref on receipt.
7950 * libspi/registry.c :
7951 some changes to internal structs, to support event typestring hashes.
7952 * text/app.c : changed the way the appname is generated.
7953 * cspi : added directory that will hold the C bindings library for
7954 non-CORBA/bonobo-savvy clients.
7955 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7956 * idl/Component.idl : added in parameter to indicate coord system for
7957 geometry-related calls.
7958 * idl/Hyperlink.idl : added readonly n_links attribute
7959 * idl/Image.idl : changed methods to attributes.
7961 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7963 * at-bridge/Makefile.am: link against
7964 ../libspi/libspi.la instead of -lspi.
7966 * at-spi/test/app.c: include
7967 bonobo-activation.h. Use a default appname
7968 if one is not provided.
7970 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7972 * idl/Registry.idl : temporarily changed register_Application
7973 to oneway, to work around issue with initial registration
7975 * idl/Application.idl : changed attribute "id" from readonly
7976 to read-write, since it needs to be assigned by Registry.
7977 * registryd/registryd.c : added call to set application id
7979 * registryd/registry.c : changed de-registration procedure to
7980 use CORBA_Object_hash() to find matching object ref in application
7981 lists and listener lists.
7982 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7983 began distinguishing between event types (work in progress).
7985 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7988 * libspi/application.c:
7989 Added implementations for get/set id, get_toolkitName,
7991 * registryd/registryd.c :
7995 Converted from use of OAF to bonobo-activation.
7996 * libspi/desktop.h :
7997 * libspi/desktop.c :
7999 Removed references to atksimpleobject, since base atkobject
8000 implementation now provides functionality we need.
8001 * libspi/atksimpleobject.c :
8002 * libspi/atksimpleobject.h :
8007 * at-bridge/Makefile.am
8008 * at-bridge/bridge.c
8011 Added directory "bridge" and contents, and added dependencies
8012 in Makefile.am/configure.in.
8013 Initial checkin of "at-bridge".
8014 This code is a GTK_MODULE which automatically registers
8015 GTK+ apps with the accessibility registry, using an object
8016 reference to the root ATK object.
8018 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8020 * po/Makefile.in.in: Remove. Again. If this
8021 doesn't get autogenerated - you need to update
8024 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8026 * po/Makefile.in.in: Add. Again.
8028 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8030 * libspi/accessible.c : added support for 'description' property.
8031 * libspi/accessible.c
8033 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8034 (since the two are now equivalent in libbonobo)
8042 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8043 Bonobo::Unknown as does Accessibility::Accessible.
8044 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8045 interface with Bonobo::Stream, since it was redundant with it.
8046 (The Stream returned by a StreamableContext object is expected to
8047 implement only a subset of Bonobo::Stream)
8049 2001-07-28 Anders Carlsson <andersca@gnome.org>
8051 * libspi/accessible.c (accessible_object_finalize): Change
8052 g_free to g_object_unref since the AtkObject is a GObject.
8054 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8056 * idl/Accessibility.idl: add new IDL files
8059 * idl/Action.idl: Definitions of actionable UI object
8060 * idl/Component.idl: Definitions of UI component geometry, etc.
8061 * idl/Hyperlink.idl: Defs of hyperlink behavior
8062 * idl/Image.idl: Def of accessible image
8063 * idl/Selection.idl: Definition of UI object with selectable children
8064 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8065 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8066 * idl/Text.idl: Interface defs for UI elements with complex textual content
8067 * idl/Value.idl: Definition of UI element that is a value controller or display
8069 2001-07-27 Michael Meeks <michael@ximian.com>
8071 * po/Makefile.in.in: remove autogenerated file from CVS.
8073 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8076 * idl/Registry.idl: include guard.
8078 * idl/Accessibility.idl: Add, and include all the other IDL
8081 * idl/*.idl: remove mass of pragmas etc.
8083 2001-07-26 Michael Meeks <michael@ximian.com>
8085 * registryd/Makefile.am (registryd_SOURCES): remove
8088 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8090 * libspi/.cvsignore, registryd/.cvsignore,
8091 test/.cvsignore: updated.
8093 * po/Makefile.in.in: gettext update.
8095 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8097 * initial CVS checkin
8099 2001-06-29 Michael Meeks <michael@ximian.com>
8101 * configure.in: add AM_CONFIG_HEADER to gen config.h