1 2006-12-13 Li Yuan <li.yuan@sun.com>
3 Patch from Ariel Rios to fix #163132 and #377079.
4 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
5 (spi_atk_bridge_get_registry_ior):
6 Use g_warning instead of g_error and g_critical to avoid crash.
8 2006-12-11 Bill Haneman <bill.haneman@sun.com>
11 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
12 if there are no non-default attributes defined at the current offset.
15 2006-12-04 Bill Haneman <bill.haneman@sun.com>
17 * idl/Accessibility_Role.idl: Fixed the documentation for
18 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
20 2006-12-04 Bill Haneman <bill.haneman@sun.com>
22 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
24 2006-11-07 Bill Haneman <bill.haneman@sun.com>
26 Patches from Padraig O'Briain for bugs #361386 and #369377.
28 * registryd/registry.c:
29 (struct NotifyContext): Change the e_out
30 member from an Accessibility_Event struct to a pointer to
32 (notify_listeners_cb): Modify to use the new struct definition above.
33 Allows use of ORBit_copy_value instead of CORBA_any__copy.
35 * registryd/deviceeventcontroller.c:
36 (spi_dec_button_update_and_emit): Free the event's any_data
38 (spi_dec_mouse_check):Free the event details any struct
40 (spi_device_event_controller_forward_mouse_event): Free any.
41 (spi_device_event_controller_forward_key_event): Ditto.
43 2006-11-07 Bill Haneman <bill.haneman@sun.com>
45 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
46 Don't require gtk+ and gail for building most of at-spi
49 * registryd/registry-main.c (main): We now get te value of display
50 using the env var DISPLAY rather than using the gdk_display_get_default
51 to avoid dependancy of gdk. Also, once the registry is started, we set
52 the ior of the registry as an X property.
53 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
55 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
56 the registration was successfull.
57 (spi_atk_bridge_do_registration): This function now returns success
58 or not on activating the registry.
59 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
60 has been set in the X root window and return it if available.
61 (spi_atk_bridge_get_registry): We now get the registry using the IOR
62 saved as a X property rather than using the OAFID.
64 2006-10-01 Bill Haneman <bill.haneman@sun.com>
66 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
68 2006-09-25 Bill Haneman <bill.haneman@sun.com>
70 * registryd/registry.c:
71 (desktop_remove_application): Don't pass a ref to the
72 dead application with the event, since it's probably
73 defunct and will cause SEGV if we try to unref,
74 extract app name, etc.
77 2006-09-20 Bill Haneman <bill.haneman@sun.com>
79 Patch from Neo Liu <nian.liu@sun.com>,
82 * atk-bridge/bridge.c:
83 (spi_atk_bridge_document_event_listener): New, for
86 2006-08-30 Bill Haneman <bill.haneman@sun.com>
89 Changed some parameter names so as not to
90 collide with class names - allows IDL to be compiled with
91 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
93 2006-08-22 Bill Haneman <bill.haneman@sun.com>
95 * atk-bridge/bridge.c:
96 (spi_atk_bridge_signal_listener):
97 Patch from Ginn Chen, assign detail1 in children-changed
98 so that the child object can be assigned to the Any when the
99 at-spi event is emitted. Bug #350552.
101 * libspi/application.c:
102 (spi_application_finalize): Remove g_print debug output.
105 2006-08-21 Bill Haneman <bill.haneman@sun.com>
107 * configure.in: Revved to AT-SPI 1.7.11.
109 * libspi/accessible.c:
110 (spi_accessible_new): Aggregate Hyperlink interface
111 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
113 * libspi/hyperlink.c:
114 (spi_hyperlink_new): Don't aggregate Action a second time if this
115 interface is created for an AtkHyperlinkImpl object (i.e. for a
116 child Accessible, as opposed to the Hyperlink instance from
118 (get_hyperlink_from_servant): Obtain the hyperlink from
119 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
121 Patch section from Ginn Chen...
123 * cspi/spi_accessible.c:
124 (_cspi_accessible_set_from_sequence):
125 Changed g_newa to g_new0 on Ginn Chen's suggestion.
127 * libspi/accessible.c:
128 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
129 (spi_accessible_new): Add the Document interface if present.
132 (impl_getAttributes): Fixed to use AtkAttribute properly.
135 (impl_getAttributes, impl_getDefaultAttributes):
136 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
138 2006-08-17 Bill Haneman <bill.haneman@sun.com>
140 * cspi/spi-private.h, cspi/spi_accessible.c:
141 (_cspi_attribute_set_from_sequence): Renamed from
142 cspi_attribute_set_from_sequence, to suppress export.
145 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
146 inline docs, which was keeping the doc from appearing.
147 (SPIExceptionHandler): Doc this.
149 * cspi/spi_document.c:
150 Added inline gtk-docs cut-n-pasted from the doxygen
151 docs in the corresponding IDL files.
152 (AccessibleDocument_getAttributes): Fix the retval here.
154 * cspi/spi_streamablecontent.c:
155 Fixed some 'Since' tags that were accidentally doxygen-style.
158 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
159 docs from the IDL file.
161 * docs/reference/cspi/at-spi-cspi-docs.sgml:
162 Added entities for Document and StreamableContent interfaces.
164 * docs/reference/cspi/at-spi-cspi-sections.txt:
165 Added some docs that were present inline but not getting
168 2006-07-31 Bill Haneman <bill.haneman@sun.com>
171 (impl_getRangeExtents): Use the atk_text_get_range_extents
172 API instead of looping over character bounds, now that
174 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
175 (_spi_text_bounds_contain): Remove, not needed anymore.
176 (_spi_text_rect_union): Remove, not needed anymore.
178 2006-07-31 Bill Haneman <bill.haneman@sun.com>
180 * atk-bridge/bridge.c:
181 (spi_atk_emit_eventv): Fix the CORBA_free call which was
182 causing 64-bit troubles and memory leaks.
183 Special thanks to Alexander Larsson who finally seems to
184 have tracked down the problem, not just here but in
188 (spi_init_any_object): Make sure we copy the CORBA value
189 when initializing an object for passing as a CORBA_Any.
192 2006-07-21 Bill Haneman <billh@gnome.org>
194 * idl/Accessibility.idl:
195 Reverted pragma changes, this broke the build in some envs
196 including the Debian team's build and some tinderbox builds.
198 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
201 Revved to 1.7.10, and edited the Xevie check (bug #319994).
203 * idl/Accessibility.idl:
204 Reworked inclusion of Bonobo_Unknown.idl, to
205 avoid double-linking libs in the Bonobo environment.
206 Thanks to Michael Meeks for the workaround, see bug #313122.
208 * registryd/deviceeventcontroller.c:
209 (spi_controller_notify_keylisteners):
210 Set the SPI_NUMLOCK_MASK bit if the modifier
211 corresponding to the conceptual numlock state is set.
214 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
216 * idl/Accessibility_Selection.idl:
217 (deselectChild): New method.
219 * libspi/selection.c:
220 (impl_deselectChild): Implement the new IDL method.
223 (AccessibleSelection_deselectChild): Added new method.
225 * cspi/spi_selection.c:
226 (AccessibleSelection_deselectChild): New method implemented.
228 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
230 * cspi/bonobo/cspi-bonobo.c:
231 (cspi_init): Replace g_error with g_warning, prevent
232 SEGV if the registry cannot be activated. Bug #346393.
234 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
236 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
238 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
239 2006-07-12 Ariel Rios <arios@us.ibm.com>
243 * idl/Accessibility_Table.idl:
244 (getRowColumnExtentsAtIndex): New method for getting
245 selection status and extents in one API call.
248 (impl_getRowColumnExtentsAtIndex): Implementation of
250 (spi_table_class_init): Add above to epv.
254 (AccessibleTable_getRowColumnExtentsAtIndex): New
255 method, retrieves selection status and row/col extents
256 for a table cell in a single API call.
258 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
259 2006-07-12 Ariel Rios <arios@us.ibm.com>
261 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
264 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
265 New bindings for new methods defined in idl and libspi.
268 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
269 Added prototype functions.
272 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
274 (spi_text_class_init): Added previous methods.
277 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
278 * libspi/spi-private.h: Corrections.
280 2006-06-29 Bill Haneman <bill.haneman@sun.com>
282 Added Document interface (see bug #326520),
283 with work from Ariel Rios <arios@us.ibm.com>.
285 * configure.in: Bump to 1.7.8.
287 * libspi/Makefile.am: Added document.[ch] to sources
290 (SpiDocument, SpiDocumentClass):
291 New interface implementation.
292 (spi_document_get_type, spi_document_construct)
293 (spi_document_interface_new): New methods added.
294 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
295 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
296 Added macros for SpiDocument
300 (spi_document_interface_new): Get a
301 new document interface. New.
302 (get_document_from_servant): Get an AtkDocument from servant New.
303 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
304 Implementation of methods defined on idl.
305 (spi_document_class_init, spi_document_init)
306 Init methods for SpiDocument. new
308 * idl/Accessibility.idl: Added Accessibility_Document.idl.
310 * cspi/Makefile.am: Added spi_document.c to sources.
312 * cspi/spi_document.c:
313 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
314 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
315 (AccessibleDocument_getAttributes): Bindings for methods defined
318 * cspi/spi_accessible.c:
319 (Accessible_isDocument, Accessible_getDocument) New.
321 (Accessible_isDocument, Accessible_getDocument)
322 (AccessibleDocument_ref, AccessibleDocument_unref)
323 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
324 (AccessibleDocument_getAttributes): Bindings added.
326 * idl/Makefile.am: Added Accessibility_Document.idl to
329 2006-06-29 Bill Haneman <bill.haneman@sun.com>
331 * idl/Accessibility_Document.idl: New interface
332 for complex documents. First stage of fix for RFE
335 2006-06-27 Bill Haneman <bill.haneman@sun.com>
337 * libspi/streamablecontent.c:
338 (impl_content_stream_close):
339 Unref the GIOChannel on close.
341 2006-06-23 Bill Haneman <bill.haneman@sun.com>
343 * idl/Accessibility_Role.idl:
344 * libspi/accessiblerole.c:
345 * cspi/spi_accessible.c: Added ROLE_LINK,
346 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
347 Bug #345758 and bug #140635.
350 2006-06-22 Bill Haneman <bill.haneman@sun.com>
354 * idl/Accessibility_StreamableContent.idl:
355 Fix derivation of StreamableContent and ContentStream.
357 * cspi/spi_streamablecontent.c:
358 (accessible_content_stream_client_read):
359 Fix the datatype of the content stream used.
360 Interpret short reads as EOF, and stop trying to
361 read when we've fulfilled the request.
362 (AccessibleStreamableContent_getContentTypes):
363 Use g_strdup, not CORBA_string_dup, for the strings.
364 (AccessibleStreamableContent_open):
365 Correctly use the new getStream method for opening,
366 not the deprecated getContent method.
367 Use the object reference as the stream hash key.
368 Make note of the 'one stream per client per streamable'
369 limitation in the docs.
372 Add streamablecontent.h to the list of #includes.
374 * libspi/streamablecontent.c:
375 (impl_content_stream_read): Initialize the GError.
376 Allocate the incoming buffer if reading a fixed length of
377 data. Use g_memmove instead of memcpy.
378 (impl_accessibility_streamable_get_content_types):
379 Init typelist->_maximum. Only allocate the buffer if
380 there is a non-zero number of content types available.
381 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
383 * libspi/streamablecontent.h:
384 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
387 (SPI_IS_VALUE): Fix a typo in this macro too.
389 2006-06-16 Bill Haneman <bill.haneman@sun.com>
393 * idl/Accessibility_StreambleContent.idl:
394 Deprecate the Bonobo_Stream-based methods in favor of
395 a self-contained "ContentStream" interface. This should
396 allow us to remove BonoboStream dependencies entirely, since
397 there were no non-NIL implementations of the old methods anyway.
398 (ContentStream): New interface.
399 (ContentStream::SeekType): Enum.
400 (ContentStream::seek): New.
401 (ContentStream::read): New.
402 (ContentStream::close): New.
403 (getContent): Deprecate.
404 (getURI): New method, returns a URI pointing to the content, if available.
406 * libspi/streamablecontent.c:
407 (SpiContentStream): Internal object type definition used to
408 implement Accessibility::StreamableContent::ContentStream via
409 AtkStreamableContent's GIOChannel back-end.
410 (spi_content_stream_new, spi_content_stream_dispose): See above;
412 (impl_content_stream_seek, impl_content_stream_read):
413 (impl_content_stream_close): New, implementations of
415 (impl_accessibility_streamable_get_stream): Implement the
416 public method Accessibility::StreamableContent::getStream.
417 (impl_accessibility_streamable_get_uri): Implement the
418 public method Accessibility::StreamableContent::getURI.
420 * cspi/spi_streamablecontent.c:
421 (accessible_bonobo_stream_client_seek): Replaced by
422 (accessible_content_stream_client_seek).
423 (accessible_bonobo_stream_client_read): Replaced by
424 (accessible_content_stream_client_read).
425 (AccessibleStreamableContent_open):
426 (AccessibleStreamableContent_seek):
427 (AccessibleStreamableContent_read):
428 (AccessibleStreamableContent_close): Use the new 'getStream'
429 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
431 2006-06-15 Bill Haneman <bill.haneman@sun.com>
433 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
434 remove from other .idl files (except LoginHelper).
437 2006-06-14 Bill Haneman <bill.haneman@sun.com>
439 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
442 * configure.in, */Makefile.am: mingw patch, modified from
443 original patch by yselkowitz. Bug #314216.
445 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
446 for completeness. Bug #163111.
448 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
449 * libspi/util.c, registryd/registry-main.c:
450 Fix guint/char* casts.
451 Patch from chpe, bug #333883.
453 2006-06-12 Bill Haneman <bill.haneman@sun.com>
455 * configure.in: Require atk-1.12.0, to pick up
456 new API. (bug #344412).
458 * libspi-1.0-uninstalled.pc.in:
460 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
461 Fix for #341488 from Samual Thibault.
463 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
464 Thanks to Brian Pepple.
466 2006-06-09 Bill Haneman <bill.haneman@sun.com>
469 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
470 New, missing implementations of attribute reading methods
473 * cspi/spi.h, spi_value.c:
474 (AccessibleValue_getMinimumIncrement): New methods wrapping
475 the (formerly unimplemented) property from Value.idl.
478 (impl_get_minimumIncrement): Implementation for retrieving
479 the minimum valuator increment, (formerly unimplemented).
482 2006-06-09 Bill Haneman <bill.haneman@sun.com>
484 * idl/Accessibility_State.idl:
485 Added STATE_VISITED (bug #338369).
487 * cspi/spi_accessible.c:
488 (spi_state_to_corba) Fixed marshalling of new statetypes.
491 (spi_init_state_tables, impl_getStates):
492 Fixed conversion of new statetypes to/from ATK.
494 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
496 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
497 definitions/conversions for new roles from ATK.
499 * idl/Accessibility_Relation.idl:
501 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
502 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
503 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
505 * libspi/accessible.c: Fixed marshalling of new role types from
508 2006-04-17 Matthias Clasen <mclasen@redhat.com>
510 * revert my previous change
512 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
514 * configure.in: Remove obssolete no_NO locale
515 * po/no.po: And the translation.
517 2006-04-05 Matthias Clasen <mclasen@redhat.com>
519 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
520 memory-management error that caused crashes on x86_64.
523 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
525 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
527 2006-03-27 Bill Haneman <bill.haneman@sun.com>
529 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
530 to strip "cspi_*" from the symbol table.
532 * cspi/spi_streamablecontent.c:
533 (get_streams): Make this method static.
536 (_cspi_exception_throw): rename to cspi_exception_throw,
537 so we can strip it with the rest...
540 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
542 2006-03-27 Bill Haneman <bill.haneman@sun.com>
544 Add doxygen-generated IDL docs to tarball, and enable
545 doxygen during build/install when available. Bug #301345.
547 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
549 * docs/reference/Makefile.am: Add idl to SUBDIRS.
551 * docs/reference/idl/Makefile.am: Optionally use
552 doxygen to create docs.
554 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
556 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
558 2006-03-20 Bill Haneman <bill.haneman@sun.com>
561 (impl_get_selected_rows): Don't free the selection if it's
562 empty or has not been assigned; init it to NULL so you can tell.
563 Also, allow for zero selected rows.
564 (impl_getSelectedColumns): Ditto. Bug #319088.
566 2006-03-11 Vincent Untz <vuntz@gnome.org>
568 Leak fix for bug #334217.
570 * libspi/application.c: spi_application_toolkit_event_listener():
571 don't duplicate the string we pass as an argument to
572 spi_init_any_nil() since spi_init_any_nil() already does it
573 * registryd/deviceeventcontroller.c:
574 (spi_dec_button_update_and_emit): ditto
575 (spi_dec_mouse_check): ditto
576 (spi_dec_emit_modifier_event): ditto
577 (spi_device_event_controller_forward_mouse): ditto
578 * registryd/registry.c:
579 (desktop_add_application): ditto
580 (desktop_remove_application): ditto
582 2006-02-20 Bill Haneman <billh@gnome.org>
584 * configure.in: Rev to 1.7.6.
586 Leak fixes for bug #331924.
588 * atk-bridge/bridge.c:
589 (spi_atk_bridge_init_base): Don't dup the string, it's already
590 been dup-ed. Fixes a leak.
591 (spi_atk_emit_eventv): Move the CORBA_free call here,
592 instead of spi_atk_state_event_listener; fixes another leak.
593 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
594 notifying the registry; fixes another leak.
596 * registryd/registry.c:
597 (registry_flush_event_queue): Free the CORBA_any when
598 flushing the event, not just the string. Fixes another leak.
599 (registry_queue_event): Free the CORBA_any when dropping
600 events on the floor; fixes another leak.
603 (spi_init_any_object, spi_init_any_nil):
604 Always set _release to TRUE. Fixes another leak.
606 2006-02-20 Bill Haneman <billh@gnome.org>
608 * configure.in: Rev to 1.7.5.
609 Reinstate localization of this module. Thanks for Rodney
610 Dawes for fixing my patch.
612 * registryd/Makefile.am: Remove Accessibility_Registry.server
613 from dist, since it needs to be re-created at configure time.
616 2006-01-31 Bill Haneman <billh@gnome.org>
618 * configure.in: Rev to 1.7.4 (to include build fix below).
620 * idl/Makefile.am: Include Selector.idl in dist.
624 (cspi_internal_event_get_object): Handle case where
625 "object" isn't present, i.e. CORBA_TC_Object doesn't match
626 the EventDetails data.
627 (cspi_internal_event_get_text): Handle NULL string.
628 (cspi_internal_event_get_rect): Handle missing/empty rect
629 data, Accessibility_TC_RectBounds doesn't match any_data.
631 2006-01-30 Bill Haneman <billh@gnome.org>
635 * atk-bridge/bridge.c:
636 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
637 interface and use that when instantiating a new source
638 accessible. Better fix for bug #321814.
640 2006-01-27 Bill Haneman <billh@gnome.org>
642 * idl/Accessibility_Selector.idl: Added to the cvs repository.
644 * configure.in: Revved to 1.7.3.
646 2006-01-17 Bill Haneman <billh@gnome.org>
648 * configure.in: Revved to 1.7.2, re-dist to include docs.
650 2006-01-09 Bill Haneman <billh@gnome.org>
652 * configure.in: Removed po/Makefile.in inclusion, we do not need
655 * idl/Accessibility.idl: Improved documentation here, and for all
656 IDL in the 'GNOME::Accessibility' namespace.
658 * idl/Accessibility_Accessible.idl:
659 (LOCALE_TYPE): Added enum.
660 (AttributeSet): New, for returning multiple name/value attribute pairs.
661 (RoleSet): New, sequence of Roles, to be used in upcoming
663 (getAttributes): New API, allows retrieval of name/value pair
664 annotations for all kinds of Accessible objects. C.f.
665 Text:getAttributes, which is only for typographic/textual/semantic tags in
667 (getApplication): New, retrieves the host/containing Application
668 instance for an object (without having to walk up the whole tree).
670 * idl/Accessibility_Component.idl:
671 (getAlpha): New method, returns the alpha blending (aka 'opacity')
672 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
675 * idl/Accessibility_Event.idl:
676 (EventDetails): New struct definition, for encapsulating
677 commonly-queried information about emitted events. The use of
678 this structure in emitted events (in the 'any' member of
679 Accessibility_Event) should greatly reduce the number of
680 client-server roundtrips necessary.
682 * idl/Accessibility_Image.idl:
683 (imageLocale): New, a readonly attribute indicating the POSIX
684 LC_MESSAGES locale of the image and associated Alt/descriptive
687 * idl/Accessibility_Relation.idl:
688 (RELATION_PARENT_WINDOW_OF): Include, as complement to
691 * idl/Accessibility_Role.idl:
692 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
693 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
694 complex document and form support.
696 * idl/Accessibility_State.idl:
697 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
698 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
699 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
700 for support of complex documents and forms.
702 * idl/Accessibility_StreamableContent.idl:
703 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
704 allow old bonobo-stream interfaces to be deprecated in the next
707 * idl/Accessibility_Text.idl:
708 (getAttributeValue): New method, allows query-by-name of single
711 * libspi/accessible.c:
712 Added support for new roles. Implemented new methods
713 (impl_accessibility_accessible_get_application): New
714 (impl_accessibility_accessible_get_attributes): New
716 * libspi/component.c:
717 (impl_accessibility_component_get_alpha): New.
720 (impl_accessibility_image_get_locale): New.
722 * libspi/relation.c: Added support for new relation type.
724 * libspi/stateset.c: Added support for new state types.
727 (impl_getAttributeValue): New.
730 New prototypes for private methods
732 spi_init_any_object, spi_init_any_string,
735 * libspi/spi_event.c:
736 Use EventDetails in the event emission methods.
738 * cspi/spi-private.h:
739 (cspi_role_from_spi_role): Expose this adapter method, since
740 we need it in the bridge (see below).
743 (AccessibleEvent_getSourceName):
744 (AccessibleEvent_getSourceRole):
745 (AccessibleEvent_getSourceApplication):
746 (AccessibleEvent_getSourceDetails):
747 New methods for interrogating/demarshalling
748 event details (i.e. source's accessible name, role,
751 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
752 Make use of the new EventDetails struct in events, if present.
753 (AccessibleEvent_getSourceName)
754 (AccessibleEvent_getSourceRole)
755 (AccessibleEvent_getSourceApplication)
756 (AccessibleEvent_getSourceDetails): Implement the newly exposed
758 (Accessible_getAttributes): New, wraps
759 Accessibility_Accessible_getAttributes.
760 (Accessible_getHostApplication): New, wraps
761 Accessibility_Accessible_getApplication.
764 (AccessibleImage_getImageLocale): New wrapper for
765 Accessibility_Image_get_imageLocale.
767 * cspi/spi_component.c:
768 (AccessibleComponent_getAlpha): New wrapper for
769 Accessibility_Component_getAlpha.
771 * atk-bridge/bridge.c:
772 Use new prototyped for init_any methods.
773 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
774 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
775 (spi_atk_bridge_init_base): Wrappers
776 for spi_init_any_* methods, due to refactor; include extended
777 information in the Accessibility_EventDetails struct, for instance
778 accessible-name, Role, and containing Application.
780 * registryd/registry.c:
781 Use new event emission (with EventDetails).
783 * registryd/deviceeventcontroller.c:
784 Use new event emission (with EventDetails).
786 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
788 * configure.in: Generate po/Makefile.in
789 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
790 * cspi/spi_streamablecontent.c:
791 (accessible_bonobo_stream_client_seek),
792 (AccessibleStreamableContent_seek): Remove unused vars.
793 * libspi/application.c: Missing header.
794 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
795 * login-helper/login-helper.c: (login_helper_finalize),
796 (login_helper_init): Remove unused stuff
797 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
798 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
799 and surround some with #ifdef GRAB_BUTTON.
800 * test/event-listener-test.c: (main), (report_event),
801 (report_caret_event), (report_detail_event),
802 (report_detail1_event), (report_bounds_event), (report_text_event),
803 (report_text_selection_event),
804 (report_active_descendant_changed_event),
805 (report_children_changed_event), (report_name_changed_event),
806 (report_description_changed_event), (report_parent_changed_event),
807 (report_window_event), (report_table_summary_event),
808 (report_table_header_event), (report_table_caption_event),
809 (report_table_row_description_event),
810 (report_table_column_description_event), (timing_test_event):
811 Remove a bunch of unused variables and fix a slew of format specifiers
812 * test/key-listener-test.c: (report_all_key_event): Format specifier
813 * test/keypad-test.c: (print_key_event): Same
814 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
816 * test/screen-review-test.c: (main), (print_chunk_debug),
817 (review_buffer_get_text_chunk), (debug_chunk_list),
818 (string_guess_clip), (text_chunk_get_clipped_string),
819 (text_chunk_list_to_string), (get_screen_review_line_at):
820 Remove unused variables and fix format specifiers.
821 * test/simple-at.c: (report_text_event): Format specifier fix.
822 * test/stress-test.c: (main): Remove unused var.
824 2005-12-29 Abel Cheung <maddog@linuxhall.org>
826 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
827 (yes I know that's useless)
829 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
831 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
833 2005-11-17 Michael Meeks <michael.meeks@novell.com>
835 * atk-bridge/bridge.c (spi_atk_emit_eventv):
836 urgh-fix embarassing typo.
838 2005-11-16 Michael Meeks <michael.meeks@novell.com>
840 * atk-bridge/bridge.c (spi_atk_emit_eventv):
841 do a faster, less problematic _unref call on this local
842 object, rather than a slower (potentially cross-thread
843 complicated) CORBA call.
845 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
847 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
848 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
849 * registryd/deviceeventcontroller.c:
850 (spi_controller_notify_mouselisteners),
851 (impl_generate_keyboard_event):
852 * test/screen-review-test.c: (chunk_bounds_within):
853 * test/test-simple.c: (test_desktop): Remove some unused code
854 and fix compiler warnings. Closes bug #320049.
856 2005-10-27 Bill Haneman <bill.haneman@sun.com>
858 * registryd/deviceeventcontroller.c:
859 (spi_controller_notify_keylisteners): Check
860 to make sure the event listener has requested 'preemptive'
861 status before pre-empting an event.
863 2005-08-29 Bill Haneman <bill.haneman@sun.com>
865 * configure.in, README, NEWS: Release 1.6.5.
867 2005-07-25 Matthias Clasen <mclasen@redhat.com>
869 * test/window-listener-test.c: Fix a printf
870 format error. (#169453)
872 2005-07-15 Bill Haneman <bill.haneman@sun.com>
874 * tests/test-simple.c:
875 (key_listener_cb): Ensure that the keystring is dup'ed instead of
876 relying on the old string from the key event hanging around after
877 the event handler returns. Fixes broken 'make check'.
879 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
881 * Added Marathi (mr_IN) translations.
883 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
885 * cspi/bonobo/cspi-bonobo-listener.c:
886 (cspi_event_list_remove_by_cb): Fix the build.
888 2005-05-26 Michael Meeks <michael.meeks@novell.com>
890 * cspi/bonobo/cspi-bonobo-listener.c
891 (cspi_event_list_remove_by_cb): actually filter by callback.
893 2005-05-25 Bill Haneman <bill.haneman@sun.com>
895 * registryd/registry.c (remove_listener_cb):
896 Make deregistration filter rules match the event emission rules.
898 2005-05-25 Michael Meeks <michael.meeks@novell.com>
900 * registryd/registry.c (remove_listener_cb),
901 (impl_accessibility_registry_deregister_global_event_listener),
902 (impl_accessibility_registry_deregister_global_event_listener_all):
903 pass a closure to the remove callback to filter listeners more
904 accurately on remove.
906 2005-04-05 Bill Haneman <bill.haneman@sun.com>
908 * configure.in: Revved to 1.6.4.
909 Remember to put quotes around XEVIE_LIBS assignment.
910 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
913 * tests/event-listener-test.c: Tweaked the tests - more detail
914 from caret events, and some interrogation of AccessibleText APIs.
915 Commented-out the bounds-changed events by default, since they can
918 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
920 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
921 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
922 Same here. Closes bug #167806
924 2005-04-05 Bill Haneman <bill.haneman@sun.com>
926 * atk-bridge/bridge.c:
927 (spi_atk_bridge_signal_listener):
928 Free the any._value if any._release is TRUE,
929 since the ORB won't do it for us in this case
930 [because this method is not a skel].
933 2005-03-30 Steve Murphy <murf@e-tools.com>
935 * configure.in: Added "rw" to ALL_LINGUAS.
937 2005-03-29 Bill Haneman <bill.haneman@sun.com>
939 * configure.in: Improved check for HAVE_XEVIE, to detect
940 presence on XOrg, where -lXevie is a separate library.
942 2005-03-08 Bill Haneman <bill.haneman@sun.com>
944 * configure.in, NEWS, README: Revved to 1.6.3.
946 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
948 * configure.in: Added "xh" to ALL_LINGUAS.
950 2005-02-07 Bill Haneman <bill.haneman@sun.com>
952 * atk-bridge/bridge.c:
953 (atk_bridge_init): Added missing NULL in g_strconcat(),
954 also check for symlink before logging to
955 insecure directory. Thanks to meissner@suse.de.
957 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
959 * tests/login-helper-server-test.c: Add return call to main
960 function. Patch from Chris Lahey. Fixes bug #165129.
962 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
964 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
966 2004-12-09 Bill Haneman <billh@gnome.org>
968 * registryd/registry-main.c:
969 Added #define <string.h> for strrchr. (bug 160862).
970 Thanks to Vincent Berger for catching.
972 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
974 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
975 restart registry process if the registry process is found to have died
976 and the current process is exiting.
977 (spi_atk_bridge_exit_func): Do not attempt to deregister the
978 application if the registry process has died.
979 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
980 does not return a registry object.
981 (spi_atk_tidy_windows): Give up if the registry process has died.
983 This fixes problems with hangs and crashes when logging out.
985 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/desktop.c: Add checking that we are not exiting before
988 calling spi_desktop_remove_application in
989 abnormal_application_termination. Fix for bug #152147.
991 2004-12-02 Bill Haneman <billh@gnome.org>
993 * configure.in, NEWS, README: Revved to 1.6.1.
995 Patch from Padraig O'Briain <padraig.obriain@sun.com>
996 * atk-bridge/bridge.c:
997 (atk_bridge_init): Save the pid when we start, to detect forks.
998 (spi_atk_bridge_exit_func): Don't call the cleanup routines
999 if we're in a forked pid.
1001 2004-10-09 Bill Haneman <billh@gnome.org>
1003 * idl/Accessibility_LoginHelper.idl:
1004 Improved inline documentation.
1006 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1008 * configure.in: Added gl (Galician) to ALL_LINGUAS
1010 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1012 * libspi/accessible.c:
1013 (impl_accessibility_accessible_get_role_name),
1014 (impl_accessibility_accessible_get_local_role_name):
1015 NULL vs. 0 cleanups.
1016 * libspi/component.c:
1017 (impl_accessibility_component_get_accessible_at_point):
1019 * libspi/eventlistener.c: (spi_event_listener_new):
1021 * libspi/stateset.c: (impl_compare): More of the same
1022 * libspi/table.c: (impl_getRowDescription): Again.
1023 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1024 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1025 (impl_generate_keyboard_event): Same.
1026 * registryd/registry-main.c: (main): Same
1027 * test/event-listener-test.c: (test_exit): Same
1028 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1029 * test/keysynth-test.c: (test_key_synthesis): Same
1030 * test/login-helper-server-test.c: (main): Fix warning.
1031 * test/screen-review-test.c: (test_exit): Fix include.
1032 * test/simple-at.c: (simple_at_exit), (_festival_init):
1035 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1037 * configure.in, NEWS, README: Revved to 1.6.0.
1039 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1041 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1042 was missing the HTML docs.
1044 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1046 * configure.in: only cleanups:
1047 - better looking PKG_CHECK_MODULES() output,
1049 - declare in one common place required versions of other tools using
1052 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1054 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1055 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1056 required ATK version accordingly.
1058 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1060 * cspi/bonobo/cspi-bonobo.c:
1061 (cspi_display_name): Fix C99ism.
1062 * atk-bridge/bridge.c:
1063 (spi_display_name): Fix C99ism.
1064 Patch from Jens Granseuer, jensgr@gmx.net.
1066 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1068 * configure.in: Added "or" to ALL_LINGUAS.
1070 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1072 * configure.in, NEWS, README: Revved to 1.5.4.
1074 * registryd/registry-main.c:
1075 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1078 * cspi/bonobo/cspi-bonobo.c:
1079 (cspi_display_name): New convenience method, gets DISPLAY with
1080 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1081 (cspi_init): Set the activation env value above before getting
1084 * atk-bridge/bridge.c:
1085 (spi_display_name): Create the AT_SPI_DISPLAY activation
1086 environment for an app, based on the DISPLAY environment with the
1087 screen number stripped off.
1088 (atk_bridge_init): Allow redirection of error messages to a log.
1089 (spi_atk_bridge_get_registry): Call
1090 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1092 Fixes for bugs #149962, #136986, #144086.
1094 2004-08-16 Christian Rose <menthos@menthos.com>
1096 * configure.in: Added "bs" to ALL_LINGUAS.
1098 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1100 * configure.in: Added nb to ALL_LINGUAS.
1102 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1105 (SPI_init): Return error code '2' if the activated
1106 registry cannot be pinged. Fixes bug #147648.
1108 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1110 * registryd/deviceeventcontroller.c:
1111 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1112 rely on timer-poll instead, to avoid conflict with
1115 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1117 * configure.in: Revved to 1.5.3.
1119 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1121 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1123 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1125 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1127 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1129 * atk-bridge/bridge.c:
1130 (spi_atk_bridge_do_registration):
1131 Register with ATK for AtkComponent:bounds-changed events.
1132 (api_atk_bridge_signal_listener):
1133 Marshal the AtkRectangle info into the event notification
1134 for object:bounds-changed events.
1137 (spi_init_any_rect): New method, inits a corba struct of
1138 type Accessibility_BoundingBox from an AtkRectangle.
1140 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1143 (SPIRect): New struct definition.
1144 (SPI_freeRect): New declaration.
1145 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1148 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1149 implemented. Gets the bounding box data from the CORBA_any
1150 associated with a bounds-changed event notification.
1151 (cspi_internal_event_get_rect): New, used internally by above method.
1154 (SPI_freeRect): Implemented this new method, for freeing
1157 * test/event-listener-test.c:
1158 (main, report_bounds_event):
1159 Added a test for object:bounds-changed events.
1161 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1163 * test/login-helper-server-test.c:
1164 (main): Fix C99-ism. Thanks to Jens Granseuer.
1166 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1168 * libloginhelper-1.0.pc.in:
1169 * idl/Accessibility_LoginHelper.idl:
1170 * login-helper/Makefile.am:
1171 * login-helper/login-helper.[ch]:
1172 * test/login-helper-client-test.c:
1173 * test/login-helper-server-test.c: Added files missing from CVS.
1174 Files obtained from at-spi-1.5.2 tarball.
1176 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1178 * configure.in: Create login-helper/Makefile.
1179 Incremented micro version.
1181 * Makefile.am: Add login-helper subdir and pkgconfig data.
1183 * login-helper: New subdir.
1185 * libloginhelper-1.0.pc.in: New.
1187 * idl/Accessibility_LoginHelper.idl: New file, defines
1188 interface whereby authentication clients can identify agents which
1189 need access to services during the login process, e.g. screen lock
1192 * login-helper/Makefile.am : New.
1194 * login-helper/login-helper.[ch] : New, implementation of
1195 a LoginHelper base class. Services needing LoginHelper can subclass.
1197 * test/Makefile.am : Added test for login-helper, client and
1200 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1201 Use proper prefix in #include files.
1203 * test/login-helper-client-test.c: New.
1205 * test/login-helper-server-test.c: New.
1207 2004-05-27 Alexander Shopov <ash@contact.bg>
1209 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1211 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1213 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1214 is positive. This should make it easier to detect inapprorpiate unref
1217 2004-05-11 James Henstridge <james@daa.com.au>
1219 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1220 no-op and deprecated.
1222 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1224 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1226 2004-04-28 Bill Haneman <billh@gnome.org>
1228 * Makefile.am: Added --enable-gtk-doc to
1229 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1231 2004-04-19 Bill Haneman <billh@gnome.org>
1233 * configure.in: Revved to 1.5.1.
1235 * registryd/deviceeventcontroller.c:
1237 (DEControllerPrivateData): Added fields for
1238 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1239 (spi_dec_replace_map_keysym): New internal utility for
1240 replacing a keysym in the keymap - used to allow
1241 synthesis of individual characters which aren't in the
1243 (spi_dec_reset_reserved): New; resets the changed keysym value
1245 (keycode_for_keysym): We now try to deal with failed
1246 XKeysymToKeycode requests by changing a keymap value
1247 and returning a reserved keycode. We now take
1248 a DEController pointer as first arg.
1249 (spi_controller_register_with_devices): Call XkbGetMap with
1250 the XkbKeySymsMask. Find the highest keycode in the current
1251 keymap which doesn't have any grabs, and mark that one for
1252 temporary re-mapping when out-of-range KeySyms are synthesized.
1253 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1256 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1258 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1260 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1262 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1264 2004-03-24 Bill Haneman <billh@gnome.org>
1267 (AccessibleTable_addRowSelection),
1268 (AccessibleTable_addColumnSelection),
1269 (AccessibleTable_removeRowSelection),
1270 (AccessibleTable_removeColumnSelection):
1271 Add declarations for spi wrappers which were
1272 inadvertantly omitted. Fixes bug #133413.
1275 Revved to 1.5.0 (unstable series for GNOME 2.7).
1277 2004-03-24 Bill Haneman <billh@gnome.org>
1279 * atk-bridge/bridge.c:
1280 Bracketed some debug output in
1281 conditionals, to avoid printing it in normal use.
1284 * libspi/hyperlink.c:
1285 Don't cast 'object' to ATK_OBJECT when constructing
1286 an AtkAction interface for a hyperlink.
1287 See discussion in bug #120659.
1289 * test/key-listener-test.c:
1290 (report_all_key_event): Send output to stderr,
1291 not stdout, for consistency with the rest of the test callbacks.
1294 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1295 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1296 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1297 try incrementing the revision AFTER doing a dist, at least
1300 2004-03-22 Bill Haneman <billh@gnome.org>
1302 * configure.in: Revved to 1.4.0, libtool 9.14.9
1304 2004-03-17 Laszlo Peter <laca@sun.com>
1306 * libspi-1.0-uninstalled.pc.in: add idldir
1308 * cspi-1.0-uninstalled.pc.in: add idldir
1310 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1312 * configure.in: Added "en_GB" to ALL_LINGUAS
1314 2004-03-15 Bill Haneman <billh@gnome.org>
1316 * configure.in: Revved to 1.3.16,
1319 2004-03-15 Laszlo Peter <laca@sun.com>
1321 * libspi-1.0-uninstalled.pc.in: new file
1323 * cspi-1.0-uninstalled.pc.in: new file
1325 * configure.in: add the new pc files to AC_OUTPUT
1327 * Makefile.am: add the new pc files to EXTRA_DIST
1329 2004-03-12 Bill Haneman <billh@gnome.org>
1331 * atk-bridge/bridge.c:
1332 (spi_atk_bridge_key_listener):
1333 Make sure to return consumed=FALSE if snoop
1334 event is not dispatched to listener.
1337 2004-03-01 Bill Haneman <billh@gnome.org>
1339 * configure.in: Revved to 1.3.15,
1342 2004-03-07 Danilo Segan <dsegan@gmx.net>
1344 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1346 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1348 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1350 2004-03-01 Bill Haneman <billh@gnome.org>
1352 * configure.in: Revved to 1.3.14.
1355 (SPI_exit): Removed "bye-bye" exit message.
1356 Moved "leak" report to happen before the
1357 iteration over the leaked refs list.
1358 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1360 2004-02-24 Bill Haneman <billh@gnome.org>
1362 * configure.in: Revved to 1.3.13.
1364 * docs/reference/cspi/Makefile.am:
1365 Correct typo that was breaking the docs build.
1367 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1369 * autogen.sh: Require version 1.7 of automake.
1371 * configure.in: call GTK_DOC_CHECK([1.0])
1373 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1375 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1377 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1379 * test/Makefile.am: Remove use of CFLAGS.
1381 This fixes bug #132987.
1383 2004-02-11 Bill Haneman <billh@gnome.org>
1385 * reverted most of Tomasz' patch below, since it was breaking
1386 builds (see bug #134058).
1388 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1390 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1391 correct pass "make dist" (empty .. because seems no sach types in
1392 header files with gtk-doc markups).
1393 * docs/reference/cspi/Makefile.am, configure.in:
1394 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1395 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1396 * Makefile.am: added:
1397 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1398 for force correct pass generate documentation on "make distcheck".
1399 * libspi/Makefile.am: fixes for automake >= 1.6.
1400 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1401 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1404 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1406 * docs/reference/cspi/Makefile.am (install-data-local): Install
1407 index.sgml since the doc autobuilder on widget.gnome.org looks for
1410 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1412 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1415 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1417 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1419 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1421 * test/simple-at.c: Fixed null string problems that cause core
1422 dumping problems on Solaris.
1424 2004-01-12 Bill Haneman <billh@gnome.org>
1426 * configure.in: Incremented version to 1.3.11.
1428 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1430 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1431 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1434 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1436 * configure.in: Added "fa" to ALL_LINGUAS.
1438 2003-12-20 Arafat Medini <lumina@silverpen.de>
1440 * configure.in: Added "ar" to ALL_LINGUAS
1442 2003-12-16 Bill Haneman <billh@gnome.org>
1444 * registryd/registry-main.c:
1446 Set the reg_env DISPLAY variable before registering the
1447 activated registry service. Fixes bug #129479.
1449 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1451 * configure.in: Added "id" in ALL_LINGUAS
1452 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1454 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1456 * registryd/deviceeventcontroller.c (global_filter_fn):
1457 When an event is consumed discard any XEvents were added to
1458 the queue while dealing with the the event. This can happen if
1459 processing of the event takes a long time. Call XUngrabKeyboard
1460 if an event was discarded. This fixes bug $124837.
1461 Only call wait_for_release_event for a KeyPress.
1462 Use local variable display instead of spi_get_display().
1463 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1466 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1468 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1469 Allow for mask to contain values other than NumLock mask.
1472 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1474 * registryd/devieceventcontroller.c:
1475 (wait_for_release_event): Change first parameter from GdkEvent to
1477 (global_filter_fn); Correct call to wait_for_release_event.
1481 2003-12-08 Bill Haneman <billh@gnome.org>
1485 * registryd/ucs2keysym.c: New file.
1487 * registryd/deviceeventcontroller.c:
1488 (dec_keysym_for_unichar): Remove old partial implementation and
1489 replace with call to ucs2keysym(), which is much more complete.
1490 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1495 2003-12-05 Bill Haneman <billh@gnome.org>
1497 * configure.in: Version 1.3.9.
1499 * docs/reference/cspi/tmpl/spi_registry.sgml:
1500 Added reference to libspi/keymasks.h to the
1501 description of Registry queries: AccessibleKeyMaskType.
1504 2003-12-04 Bill Haneman <billh@gnome.org>
1506 Fix for bug #121974.
1508 * idl/Accessibility_Application.idl:
1509 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1510 setlocale's LC_TYPEs.
1511 (Accessibility::Application::getLocale): New method.
1512 Allows clients to query the locale, by type, of an app.
1515 * cspi/spi_application.c:
1516 (AccessibleApplication_getLocale): New method, wraps IDL above.
1518 * libspi/application.c:
1519 (spi_application_class_init): Init epv entry for getLocale.
1520 (impl_accessibility_application_get_locale): Impl for above.
1522 * test/test-simple.c:
1523 (test_application): Added assertion for getLocale, i.e.
1524 that the string from AccessibleApplication_getLocale (app, type)
1525 is the same as that from setlocale (type, NULL);
1527 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1529 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1530 the keyboard on a timeout intil the key state goes from pressed to
1531 released. Fixes bug #111429.
1533 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1535 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1536 root object so that it is present when a context menu in an
1537 out-of-process applet is popped up.
1538 (spi_atk_bridge_do_registration): Create acceessible application root
1539 object only if it does not exist.
1541 This fixes bug #125834.
1543 2003-12-01 Bill Haneman <billh@gnome.org>
1545 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1548 Added enum for AccessibleStreamableContentSeekType.
1549 (AccessibleStreamableContent_freeContentTypeList): New.
1551 * cspi/spi_streamablecontent.c:
1552 (accessible_bonobo_stream_client_seek): New private method.
1553 (AccessibleStreamableContent_seek): Implemented this method,
1554 using Bonobo_Stream_seek.
1555 (AccessibleStreamableContent_freeContentTypeList): New method
1556 for freeing the return value from
1557 AccessibleStreamableContent_getContentTypes.
1558 (stream_cache_item_free): Replaces stream_release; stop leaks.
1559 (stream_release): removed.
1560 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1561 free the memory properly.
1563 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1565 Fix for bug #116009.
1567 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1569 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1571 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1573 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1575 2003-12-01 Bill Haneman <billh@gnome.org>
1577 Fix for bug/rfe #127463.
1579 * idl/Accessibility_Accessible.idl:
1580 (getLocalizedRoleName): New.
1581 (unimplemented4): Removed (replaced by above).
1583 * libspi/accessible.c:
1584 (impl_accessibility_accessible_get_local_role_name): New.
1585 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1589 (Accessible_getLocalizedRoleName): New.
1591 * cspi/spi_accessible.c:
1592 (Accessible_getLocalizedRoleName): New.
1594 2003-12-01 Bill Haneman <billh@gnome.org>
1596 Fix for bug #118581.
1597 * idl/Accessibility_Text.idl:
1598 (getDefaultAttributes): New.
1599 (unimplemented4): Removed (replaced by above method).
1602 (impl_getDefaultAttributes): New method.
1603 (spi_text_class_init):
1604 initialize the get_default_attributes slot in the epv.
1607 (AccessibleText_getDefaultAttributes): New prototype.
1610 (AccessibleText_getDefaultAttributes): New method.
1612 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1614 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1615 write beyond the end of the table. Fixes bug #120473.
1617 2003-09-30 Christian Rose <menthos@menthos.com>
1619 * configure.in: Added "eu" to ALL_LINGUAS.
1621 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1623 * configure.in: ALL_LINGUAS: Added no.
1625 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1627 * configure.in: Added lt to ALL_LINGUAS.
1629 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1631 * atk-bridge/bridge.c:
1632 (atk_bridge_init): Register event listeners always even for
1633 out-of-process applet.
1634 (spi_atk_bridge_toplevel_added): Remove call to
1635 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1636 (spi_atk_bridge_toplevelk_removed): Remove call to
1637 spi_atk_deregister_event_listenersa as the listeners are now always
1639 (spi_atk_bridge_register_application): Remove call to
1640 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1642 This fixes bug #120991.
1644 * libspi/table.c (impl_getColumnDescription): Correct typo,
1645 pointed out by Bolian.Yin@sun.com.
1647 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1649 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1651 2003-09-08 Bill Haneman <billh@gnome.org>
1653 * configure.in: Revved to 1.3.7.
1655 This is the GNOME 2.4.0 release of at-spi.
1657 * docs/reference/cspi/Makefile.am:
1658 Removed spurious inclusion of 'index.sgml' in the
1659 html directory; this was breaking make distcheck and
1660 also some other build environments.
1662 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1664 * registryd/registry.[ch}:
1665 Add queue_handler_id and focus_object to SpiRegistry data structure.
1666 (registry_flush_event_queue): If event being discarded is
1667 "state-change:focused" store object as focus_object.
1668 (registry_start_queue): Remove queue handler and focus object
1670 (registry_discard_event): New function which discards a focus event
1671 if we had stored focus object in the registry.
1672 (registry_queue_event): Add new check that is_queueing is set as this
1673 function is reentrant.
1674 (registry_filer_event): Add call to registry_discard_event.
1676 This resolves issues raised in bug #108664.
1678 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1680 * configure.in: Added "bn" to ALL_LINGUAS.
1682 2003-09-04 Bill Haneman <billh@gnome.org>
1684 * cspi/spi_event.c: Documentation improvements for
1685 (SPI_registerAccessibleKeylistener).
1687 * docs/reference/tmpl/spi_registry.sgml:
1688 Documentation improvements for SpiAccessibleKeylistenerCB.
1690 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1692 * configure.in: Added "ro" to ALL_LINGUAS.
1695 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1697 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1698 not decremented to zero. Fixes bug #120725.
1700 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1702 * configure.in: Added "ja" to ALL_LINGUAS.
1704 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1706 * configure.in: Added "is" to ALL_LINGUAS.
1708 2003-08-22 Christian Rose <menthos@menthos.com>
1710 * configure.in: Added "nl" to ALL_LINGUAS.
1712 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1714 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1715 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1717 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1719 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1720 type for unspecified exception.
1721 * cspi_streamablecontect): Add include of string.h for memcpy.
1722 (stream_release): Correct call to bonobo_object_release_unref
1723 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1724 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1725 argument of _cspi_expection_throw.
1726 * libspi/hyperlink.c: Add include of libspi/action.h:
1727 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1728 * libspi/streamablecontent.c: add include of libspi/component.h.
1729 * regisrtyd/deviceeventcontroller.c:
1730 (spi_dec_translate_mask): Removed unused variable priv.
1731 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1732 * registryd/registry.c:
1733 (registry_filter_event): Remove unused variable queue_is-empty.
1734 (impl_registry_notify_event): Use correct modifier in fprintf call.
1736 This fixes compiler warnings reported in bug #120220.
1738 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1740 * registryd/registryd.c: Remove this file.
1742 2003-08-17 Sanlig Badral <badral@openmn.org>
1744 * configure.in: Added mn to ALL_LINGUAS.
1746 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1748 * configure.in: Added et to ALL_LINGUAS.
1750 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1752 * test/event-listener-test.c: Change active-descendant to
1753 active-descendant-changed.
1755 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1757 * configure.in: Added "fi" in ALL_LINGUAS.
1759 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1761 * configure.in: Added "hi" in ALL_LINGUAS.
1763 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1765 * configure.in: Revved to 1.3.6.
1769 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1771 * registryd/deviceeventcontroller.c
1772 (spi_device_event_controller_object_finalize): Fix typo in previous
1775 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1777 * registryd/deviceeventcontroller.c
1778 (spi_device_event_controller_object_finalize): Fix build on
1779 systems without XEvIE.
1781 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1783 * acconfig.h, configure.in, registryd/Makefile.am,
1784 registryd/devicecontoller.[ch]: Add XEViE support.
1786 2003-08-06 Wang Jian <lark@linux.net.cn>
1788 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1790 2003-08-06 Metin Amiroff<metin@karegen.com>
1792 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1794 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1796 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1797 MODIFIER_ALT in correct place.
1799 This fixes part of bug #118114.
1801 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1803 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1805 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1807 * configure.in: Added "ko" to ALL_LINGUAS.
1809 2003-07-28 Ole Laursen <olau@hardworking.dk>
1811 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1813 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1815 * configure.in: Added "sq" to ALL_LINGUAS.
1817 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1819 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1821 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1823 * configure.in: updated ALL_LINGUAS list
1825 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1827 * configure.in: Added Belarusian to ALL_LINGUAS.
1829 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1831 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1833 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1834 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1836 This fixes bug #116949.
1838 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1840 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1841 Correct CSPI to SPI in function documentation.
1843 This fixes bug #118054.
1845 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1847 * configure.in: Added Russian to ALL_LINGUAS.
1849 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1851 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1853 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1855 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1857 2003-07-10 Joel Brich <joel.brich@laposte.net>
1859 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1861 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1863 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1865 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1867 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1868 resources allocated for AccessibleEvent. See cspi_event().
1870 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1871 static variable streams to NULL.
1873 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1874 Update so that AcessibleEvent_ref will work.
1876 This fixes bug #116624.
1878 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1880 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1882 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1884 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1886 2003-07-02 Christian Neumair <chris@gnome-de.org>
1888 * configure.in: Added "de" (German) to ALL_LINGUAS.
1890 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1892 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1894 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1896 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1898 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1900 * configure.in: Added "pl" to ALL_LINGUAS.
1902 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1904 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1906 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1909 (get_action_from_servant):
1910 Removed assertion that action is implemented on an AtkObject.
1912 * libspi/hyperlink.c:
1913 (spi_hyperlink_new):
1914 Aggregate AccessibleAction interface on the hyperlink object if
1915 the object implements AtkAction. (This convention is used in
1918 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1920 * configure.in: Revved to 1.3.5.
1922 * registryd/Accessibility_Registry.server.in.in:
1923 Marked up appropriate strings for translation.
1925 * atk-bridge/bridge.c: Marked a couple of
1926 user-visible warnings for translation. Questionable
1927 whether they are really useful, but possibly so.
1930 2003-06-28 Christian Rose <menthos@menthos.com>
1932 * configure.in: Added "sv" to ALL_LINGUAS.
1934 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1936 * registryd/registry.c:
1937 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1938 (registry_defer_on_event): Defer focus: events, this is an
1939 improvement to the patch for bug #108664.
1941 * TODO: Update with 2.4/"Dev Complete" items.
1943 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1945 * atk-bridge/bridge.c:
1946 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1947 looks up signals once.
1948 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1949 if doing registration.
1950 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1951 when doing registration.
1953 This fixes bug #115014.
1955 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1957 * atk-bridge/bridge.c:
1958 (atk_bridge_init): Add signal handler for children-changed:remove on
1959 root when in a BonoboComponent.
1960 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1961 for first toplevel only other incrememt variable toplevels.
1962 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1963 application and remove listeners.
1964 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1966 (spi_atk_deregister_event_listeners): New function which removes
1968 (reinit_register_vars): New fuction which reinitializes variables.
1970 This fixes bug #111578.
1972 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1974 * configure.in: version 1.3.4.
1976 * cspi/spi_accessible.c:
1977 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1980 2003-06-13 Michael Meeks <michael@ximian.com>
1982 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1984 * cspi/spi_main.c (cspi_peek_ev): impl.
1986 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1988 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1990 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1992 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1993 SPI_ROLE_AUTOCOMPLETE
1995 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1997 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1998 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2000 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2002 * libspi/streamablecontent.h:
2003 * libspi/streamablecontent.c:
2004 New files, provide implementation/wrappers for
2005 Accessibility_StreamableContent.
2007 * cspi/spi_streamablecontent.c:
2008 Connected the C wrappers to the libspi C bindings.
2009 (AccessibleStreamableContent_close): New method.
2012 (AccessibleStreamableContent_close): New method, needed
2013 since we have an "open, [seek], read, close" model in cspi.
2015 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2017 Fix for #108664; Padraig's revision of my original patch.
2019 * registryd/registry.h:
2020 Added event queue list, is_queuing, and exit_notify_timeout
2021 to the registry struct.
2023 * registryd/registry.c:
2024 (registry_init): Initialize new struct from registry.h.
2025 (impl_registry_notify_event):
2026 Filter events before notifying, in case some need to be
2028 (registry_filter_event): New,
2029 we defer certain incoming events (for instance
2030 window:deactivate) because we may wish to hide
2031 or reject them based on pending events. This is
2032 mostly a workaround for bug #108664.
2033 (registry_queue_event, registry_start_queue): New.
2034 (registry_defer_on_event): Test event to see if it
2036 (registry_reset_on_event): Returns TRUE if the
2037 event should cause a queue reset.
2038 (registry_discard_on_event): Returns TRUE if the event
2039 should cause the previous queue contents to be discarded.
2040 (registry_timeout_flush_queue): Flushes the pending event
2041 queue if no reset/discard-triggering events have come in
2042 within the timeout period.
2043 (registry_emit_event): New.
2044 (registry_clone_notify_context): New, used when queueing the
2045 event notify contexts.
2047 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2049 * configure.in: Version revved to 1.3.2, lt 0.9.2
2050 Incremented ATK required version to 1.3.4.
2052 * cspi/spi_registry.c:
2053 (SPI_generateKeyEvent):
2054 We now pass the keystring along if it's non-null.
2056 * registryd/deviceeventcontroller.c:
2057 (keysym_mod_mask): New method, returns modifier mask
2058 required to generate a keysym from a given keycode.
2059 (dec_synth_keysym): New method.
2060 (dec_synth_keystring): New method.
2061 (dec_get_modifier_state): New method.
2062 (dec_lock_modifiers): New
2063 (dec_unlock_modifiers): New.
2064 (dec_keysym_for_unichar): New, rather brute-force
2065 conversion from UCS-4 to X KeySyms. Only works for
2066 Latin at the moment, with partial implementations for
2067 Greek, Hebrew, and (incomplete) Katakana.
2068 (impl_generate_keyboard_event): Now implement
2069 "KEYSTRING" synthesis and implement "KEYSYM"
2071 (keycode_from_keysym): Improved, passes a returned
2072 modmask value now if the corresponding param is non-NULL.
2074 Fixes bugs #92143 and #109776.
2077 * test/keysynth-test.c:
2078 New test program for key synthesis, to confirm fixes for
2082 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2084 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2086 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2087 Add line for RELATION_POPUP_FOR
2089 * docs/reference/cspi/tmpl/spi_relation.sgml:
2090 Add relation SPI_RELATION_POPUP_FOR
2092 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2093 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2095 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2097 * libspi/relation.c (spi_init_relation_type_table):
2098 Add line for RELATION_POPUP_FOR
2100 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2102 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2103 there are still windows which have not been deleted and emit
2104 window:deactivate, if necessary and window:destroy events.
2105 This fixes bug #114370. The change on June 5th was not correct.
2107 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2109 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2112 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2114 New methods for client exception handling and interception.
2115 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2116 (SPI_exceptionHandlerPop): You guessed it...
2117 (SPI_getSourceType): Return the type of object which offended.
2118 (SPI_getExceptionCode): Return an enum code telling, possibly,
2119 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2120 (SPIAccessibleException_getSource): get the source object for
2121 exceptions that come from Accessibles, if SPIExceptionSourceType is
2122 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2123 (SPIException_getDescription): New, returns a string description of
2124 the problem. [Not yet a stable ABI, strings are not frozen]
2126 * cspi/spi-private.h:
2127 Added implementation details of opaque SPIException
2131 Implementations of above. Also
2132 (_cspi_exception_throw): new private method that
2133 dispatches exceptions to handlers, called from cspi-bonobo.c
2135 * cspi/bonobo/cspi-bonobo.c:
2136 (cspi_check_ev): call _cspi_exception_throw.
2137 Don't print a warning message if the exception has been
2138 handled by _cspi_exception_throw.
2140 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2142 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2143 there are still windows which have not been deleted and emit
2144 window:deactivate, if necessary and window:destroy events.
2145 This fixes bug #114370.
2147 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2150 (cspi_accessible_is_a): Make non-fatal
2151 if the object reference is dead.
2153 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2155 * cspi/spi_main.c: #include <stdio.h>
2156 * test/simple-at.c: ditto
2157 * test/event-listener-test.c: ditto
2158 * test/screen-review-test.c: ditto
2160 2003-05-30 Michael Meeks <michael@ximian.com>
2162 * test/test-simple.c (main): use CORBA_ORB_perform_work
2163 instead of an unnecessary linc_ call.
2165 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2167 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2168 Add SPI_STATE_INDETERMINATE.
2170 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2173 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2175 * libspi/stateset.c (init_state_type_tables): Add support for
2178 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2180 * configure: Update versions of atk and gail required.
2181 This fixes bug #113268.
2183 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2185 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2187 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2189 * libspi/Makefile.am:
2190 Ensure headers are generated before being used by c sources.
2192 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2195 Simplified lt versioning rules.
2196 Incremented version to 1.3.0, to indicate that we're on the
2197 unstable branch now.
2199 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2201 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2202 Add MKDB_OPTIONS=--outtput-format=xml
2204 * docs/reference/cspi/at-spi-cspi-docs.sgml
2205 docs/reference/idl/at-spi-idl-docs.sgml:
2206 Convert to Docbook XML.
2208 This fixes bug #111793.
2210 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2212 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2213 AcccessibleKeyEventType, AccessibleKeyMaskType.
2215 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2217 * cspi/state-types.h: Add documentation for AccessibleState.
2219 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2220 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2221 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2222 AccessibleComponentLayer.
2224 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2227 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2229 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2230 Accessible. Add description of AccessibleEvent,
2231 AccessibleEventListenerCB.
2233 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2236 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2237 documentation. Add description of AccessibleKeystrokeListenerCB,
2238 AccessibleKeyEventMask, AccessibleModifierMaskType,
2239 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2240 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2242 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2245 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2248 This fixes bug #104730.
2250 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2252 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2253 Set is_text field of Accessibility_DeviceEvent data structure.
2255 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2256 is-text field of AccessibleDeviceEvent data structure.
2258 This addresses part of bug #108666.
2260 * registryd/devcieeventcontroller.c: Unset debug option.
2262 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2264 * cspi/accessible.c:
2265 (cpi_initial_relation_type_table): New function which initializes
2266 mapping between Accessibility_RelationType and AccessibleRelationType.
2267 (cspi_relation_type_from_spi_relation_type): New function which
2268 translates an Accessibility_RelationType into an AccessibleRelationType.
2269 (AccessibleRelation_getRelationType): Use
2270 cpi_relation_type_get_spi_relation_type to return correct value.
2271 (spi_state_to_corba): Return correct type for default case.
2273 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2274 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2276 * cspi/cspi-bonobo-listener.c:
2277 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2280 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2281 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2282 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2283 libspi/image.c, libspi/listener.c, libspi/selection.c,
2284 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2285 registryd/desktop.c, registryd/registry.c:
2286 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2288 * libspi/eventlistener.c
2289 Remove semicolon after BONOBO_TYPE_FUNC.
2291 * libspi/relation.c:
2292 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2293 (spi_init_relation_type_table): Initialize using correct type.
2295 * registryd/desktop.c:
2296 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2297 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2298 of Accessibility_KeyEventType.
2300 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2303 * tests/simple-at.c, tests/screen-review-test.c:
2304 Add include for <strings.h>.
2306 * tests.stress-test.c:
2307 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2309 These changes fix compiler warnings when using FORTE compiler on
2310 Solaris; fixes bug #107479.
2313 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2316 * configure.in: revved to 1.1.10
2318 * libspi/keymasks.h:
2319 (SPI_KEYMASK_NUMLOCK): Added.
2321 * registryd/deviceeventcontroller.c:
2322 (spi_key_event_matches_listener): AND with a smaller
2323 bitmask (as we should).
2324 (spi_dec_translate_mask):
2325 New method, sets the virtual NumLock modifier bit
2326 if numlock is on. Eventually it can handle other virtual
2327 modifier bits if needed, or other marshalling from
2328 at-spi modifier masks to platform (X) masks.
2329 (spi_dec_key_listener_new):
2330 Call spi_dec_translate_mask to set up virtual mod bits
2331 in the 'mask' field when creating a new listener struct.
2332 (spi_dec_emit_modifier_event):
2333 Set the virtual (i.e. NumLock) bits before emitting event.
2334 (spi_controller_register_with_devices):
2335 Query for the NumLock modifier 'physical' bit if Xkb is
2336 present, for use in above methods.
2340 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2342 * registryd/deviceeventcontroller.c:
2343 (spi_keystroke_from_x_key_event):
2344 Instead of checking to see if the keysym is
2345 printable, check the string from XLookupString
2346 if available, get the first unicode character from it,
2347 and call g_unichar_isprint to determine whether the
2348 is_text flag should be TRUE or FALSE.
2352 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2354 * atk-bridge/bridge.c: Add support for extended events
2355 * cspi/spi_event.c: Add documentation and implementation for
2357 * tests/event-listener-test.c: Add tests for extended events.
2359 This fixes bugs #100424 and #100426.
2361 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2363 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2364 of LT_CURRENT. This fixes bug #89350.
2366 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2368 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2369 number of signal parameter values before accessing them. This fixes
2372 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2374 * configure.in: Fixed duplicate inclusion of -lspi.
2375 * branched for gnome-2-2/HEAD.
2376 [created tag "gnome-2-2"]
2378 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2380 * configure.in: 1.1.9 release.
2383 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2385 [needed by GOK, to fix bugs 107985 and 107988]
2386 * registryd/deviceeventcontroller.c:
2387 (spi_dec_clear_unlatch_pending):
2388 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2389 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2390 (spi_dec_init_mouse_listener):Emit warning if mouse button
2392 (spi_device_event_controller_forward_mouse_event):
2393 Removed unnecessary parens from a conditional.
2394 (global_filter_fn):Added TODO comment.
2395 (impl_generate_keyboard_event):
2396 Cancel a pending relatch if a 'delatching' key was
2399 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2401 * atk-bridge/bridge.c:
2402 Change atk_signal_child_changed to atk_signal_children_changed.
2403 Reorganize code in spi_atk_bridge_signal_listener().
2405 * test/event-listener-test.c:
2406 Add children_changed_listener and report_children_changed_event()
2407 to test AccessibleChildEvent_getChildAccessible.
2409 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2411 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2412 g_strdup to CORBA_String_dup (bug #105291)
2414 * test/event-listener-test.c (report_text_event): Add call to
2417 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2419 * registryd/deviceeventcontroller.c:
2420 (spi_keystroke_from_x_key_event):
2421 Fix string and keysym return codes to match modifier state.
2424 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2426 * registryd/deviceeventcontroller.c:
2427 (spi_keystroke_from_x_key_event):
2428 Fix segv due to improper use of isprint(c). [bug #107254]
2430 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2433 (get_accessible_text_boundary_type):
2434 Move default return value to (new) default case in switch.
2435 (get_accessible_text_clip_type):
2436 Move default return value to (new) default case in switch.
2438 * libspi/application.c:
2439 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2440 Remove unused methods.
2441 (impl_accessibility_application_register_object_event_listener):
2442 Remove unused methods.
2445 Added #include of <math.h>.
2447 * registryd/deviceeventcontroller.c:
2448 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2449 we don't currently use this method.
2450 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2452 (impl_generate_key_event):
2453 Remove unused variables.
2454 (impl_generate_mouse_event):
2455 Initialize button to zero, just in case we get an invalid
2456 input. Added support for mouse buttons 4 and 5.
2457 (spi_device_event_controller_new):
2458 Removed unused variable declaration for 'private'.
2460 Added #include of <gdk/gdk.h>
2462 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2464 * configure.in: Update to work when X is not installed in expected
2465 location. Fixes bug #105836.
2467 * atk-bridge/bridge.c
2468 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2470 (spi_atk_register_event_listener): Add signal listener for
2472 (spi_atk_bridge_signal_listener): Event event when link-selected
2473 signal is emitted. (bug #104622)
2475 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2476 on returned string. (bug #105291)
2478 * test/event-listener-test.c: Add test for link-selected.
2480 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2482 * atk-bridge/Makefile.am: Correct typo in previous commit.
2484 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2486 * atk-bridge/Makefile.am: Allow for build directory to be different
2487 from source directory
2489 * registryd/Makefile.am: Allow for build directory to be different
2490 from source directory
2494 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2497 Fixed dependencies for libcspi so that libspi gets pulled in
2498 properly. Fixes 104741.
2502 Clean up inline docs a little.
2504 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2506 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2507 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2508 the AtkObject within an SpiDesktop.
2509 This addresses bug #101524.
2511 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2512 Remove call to gdk_init().
2514 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2515 so that Display is set when SpiDesktop is created.
2517 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2519 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2520 This fixes bug #102830.
2522 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2524 * test/test-simple.c: Update to take account of fact that GailButton
2525 now implements AtkText.
2526 (create_text_window): Set name on AtkObject for GtkEntry.
2527 (validate_accessible): Check accessible name before calling test_text().
2529 * libspi/Makefile.am: Fix problem with building outside of source
2530 directory. Bug #98120.
2532 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2533 typo in documentation comments. Bug #94275.
2535 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2537 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2539 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2542 Add includes to avoid compiler warnings on Solaris.
2543 (impl_getRangeExtents): Bug fix.
2545 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2547 Fix for 100944, [API addition approved by Gman and murrayc].
2554 * idl/Accessibility_Text.idl:
2555 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2556 (Text::getRangeExtents): New method for efficient
2557 bounds query of a text range.
2558 (Text::getBoundedRanges): New method for efficient
2559 clipping of text to bounding boxes.
2560 (unImplemented7, unImplemented8):
2561 Removed these padding methods to preserve bincompat.
2564 (impl_getRangeExtents): implementation of new IDL.
2565 (impl_getBoundedRanges): implementation of new IDL.
2566 (SpiTextRect): Internal use struct.
2567 (_spi_text_rect_union): internal method, calculates union of two
2568 SpiTextRect bounding rects.
2569 (_spi_text_range_seq_from_gslist): internal method, allows us
2570 to build our sequence efficiently as a gslist then convert it
2572 (_spi_bounds_contain): internal method, determines whether
2573 a text character is "in" or "out" of a clip rect according to
2574 values of TEXT_CLIP_TYPE.
2575 (spi_text_class_init): Initialize the new methods in the epv.
2578 (AccessibleTextClipType): New enum used by screen review api.
2579 (AccessibleTextRange): New struct used by screen review api.
2580 (AccessibleText_getRangeExtents):
2581 cspi binding for Accessibility_Text_getRangeExtents.
2582 (AccessibleText_getBoundedRanges):
2583 cspi binding for Accessibility_Text_getBoundedRanges.
2584 (AccessibleTextRange_freeRanges): convenience method.
2587 (AccessibleText_getRangeExtents):
2588 cspi binding for Accessibility_Text_getRangeExtents.
2589 (AccessibleText_getBoundedRanges):
2590 cspi binding for Accessibility_Text_getBoundedRanges.
2591 (AccessibleTextRange_freeRanges): convenience method.
2592 (get_accessible_text_clip_type): internal conversion method.
2593 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2595 * registryd/deviceeventcontroller.c:
2596 (spi_dec_mouse_check):
2597 Improved behavior for mouse:abs events
2598 [same granularity as mouse:rel events, and no
2599 events when mouse is idle].
2601 2002-12-16 Michael Meeks <michael@ximian.com>
2603 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2605 * libspi/stateset.c (state_spi_to_atk): split out
2606 ( fix several remote array bounds nasties )
2607 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2608 (impl_remove): make safe from array bounds issues.
2609 (spi_atk_state_from_spi_state): impl.
2611 * libspi/stateset.h (spi_state_set_cache_is_empty):
2612 add a set of wrapper defines to get layering right.
2614 * cspi/spi_accessible.c: update state set stuff to
2617 2002-12-14 Michael Meeks <michael@ximian.com>
2619 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2620 to avoid 2 roundtrips to the registry per key event
2621 (spi_atk_bridge_key_listener): upd.
2622 (deregister_application): release the dec.
2624 * registryd/registry.c (notify_listeners_cb):
2625 bin lots of re-enterant complexity - we no longer
2626 do a round-trip bonobo ref here, ensure that a single
2627 listener's exception failure won't poison all other
2629 (impl_registry_notify_event): bin obvious memory leak.
2631 2002-12-13 Michael Meeks <michael@ximian.com>
2633 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2634 init the ev so the error is meaningful.
2635 (spi_atk_bridge_key_listener): ditto.
2637 * cspi/spi_main.c (cspi_ev): init the ev so we start
2638 with a clean slate, otherwise the first exception
2639 kills us completely.
2641 * cspi/spi_text.c (get_accessible_text_boundary_type):
2642 add a fallthrough for no warnings.
2644 * cspi/spi_registry.c: prune unused warnings.
2646 * cspi/spi_main.c (cspi_object_take): fix
2647 mind-blowing brokenness ( by watching the compile
2650 * cspi/spi_accessible.c (Accessible_getStateSet):
2651 re-impl. to use an AtkStateSet.
2652 (spi_state_type_from_accessible_state),
2653 (init_state_table): bin these.
2655 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2657 (atk_state_set_from_accessibility_state_set): here.
2659 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2660 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2661 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2662 (AccessibleStateSet_add, AccessibleStateSet_remove),
2663 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2664 (AccessibleStateSet_isEmpty): re-write to use a local
2667 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2669 * configure.in: Revved to 1.1.7 (new keymask vals).
2671 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2673 * libspi/keymasks.h:
2674 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2676 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2679 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2680 to compare two CORBA_TypeCodes.
2681 (cspi_internal_event_add): Silence warning from FORTE compiler.
2683 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2684 avoid implicit declaration of functions.
2686 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2688 * atk-bridge/bridge.c:
2689 (spi_atk_bridge_init_event_type_consts): Store signal id for
2690 active-descendant-changed signal.
2691 (spi_atk_register_event_listeners): Add signal listener for
2692 active-descendant-changed signal,
2693 (spi_atk_bridge_signal_listener): Move code in function
2694 spi_atk-signal_emit_event() into this function.
2695 Add support for active-descendant-changed
2696 Update support for child-changed signal.
2697 (spi_bridge_window_event_listener): Silence warning.
2699 * libspi/spi_private.[ch]:
2700 (spi_init_any_object): Change second parameter from CORBA_Object to
2702 Omit call to CORBA_Object_duplicate().
2703 Set CORBA_any's _value to CORBA_Object*.
2705 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2711 (AccessibleEvent_ref, AccessibleEvent_unref):
2712 New methods, for persisting an event outside the emission context.
2713 Must be used if the new accessor methods are to be called
2714 outside of the event listener's callback.
2716 * cspi/bonobo/cspi-bonobo.c:
2717 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2718 as second parameter instead of NULL, so we can call
2719 cspi_check_ev afterwards.
2722 (cspi_object_take): New internal method,
2723 converts a CORBA_Object reference to a hard ref on
2724 an Accessible if possible, returning NULL if the object
2725 reference is invalid or an Accessible * otherwise.
2728 (AccessibleEvent_ref):
2729 Increment the event's internal private refcount, and
2730 add the event's internal struct to an internal cache
2731 if it's not already there.
2732 (AccessibleEvent_unref):
2733 Decrement the event's refcount and remove it from
2734 the cspi event cache if refcount==0.
2735 (cspi_event_compare): New private method.
2736 Compares two event structs via their ids. Used
2738 (cspi_internal_event_lookup): New private method.
2739 (cspi_internal_event_check): New private method,
2740 a 0-order sanity check for events to make sure their
2741 private data is intact.
2742 (cspi_internal_event_add, cspi_internal_event_remove):
2743 New private methods for managiing the event cache.
2745 * cspi/bonobo/cspi-bonobo-listener.c:
2747 Initialize the new private data elements (id, magic, ref_count).
2749 * atk-bridge/bridge.c:
2750 (spi_atk_bridge_signal_listener):
2751 Fixed bug #100530, passing wrong params to emission func.
2753 * registryd/deviceeventcontroller.c:
2754 (spi_dec_button_update_and_emit):
2755 Fixed type in mask bit operations; fix for #99799.
2757 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2759 Removed some of the more dangerous workarounds from
2760 previous commit; they are only needed by GOK, which
2761 in reality should be using another method to accomplish
2762 the goals. So on reconsideration some of the workarounds
2763 need to be reverted:
2765 * registryd/deviceeventcontroller.c:
2766 (spi_keycodes_contain, spi_dec_init_keycode_list):
2767 Removed these methods, used only by a nasty hack to try
2768 and detect whether a key synthesis should be allowed
2769 to reset the XKB latch state or not. This code was only
2770 required to work around an interaction between GOK,
2771 button events, and XKB.
2772 (impl_generate_key_event):
2773 Removed hack at end of key generation that tried to
2774 "do the right thing" if XKB latch keys were generated
2775 in the midst of button press/release pairs.
2778 Added a check for HAVE_XINPUT. Not normally used yet.
2780 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2782 Workarounds and fixes for mouse event/XKB interaction.
2784 * registryd/deviceeventcontroller.c:
2785 (spi_keycodes_contain, spi_dec_init_keycode_list):
2786 New internal methods.
2787 (spi_dec_set_unlatch_pending):
2788 Split the method that tells XKB to expect an
2789 unlatch (and revert it) out of the rest of the
2790 event handling code. This method is called by the
2791 two mouse event handlers (the poll and the filter).
2792 (spi_dec_update_and_emit, spi_dec_mouse_check):
2793 New methods split from spi_dec_poll_mouse_moved.
2794 The second one is now called from inside the filterFn
2795 when an XKB delatch event is received, to determine
2796 whether to revert the delatch or not.
2797 (spi_poll_mouse_moved): Refactor; also we can now
2798 properly handle the case where multiple button states
2799 have changed between polling cycles and we didn't get
2800 notified due to another client's grab.
2802 Synchronize the server while handling an XKB notification.
2803 Ugly, but apparently necessary to avoid nasty races.
2804 Check the mouse state on receipt of an XKB latch change,
2805 to decide whether to revert the latch or not. (Latches are
2806 reverted if there is an immediately preceding mouse button
2807 event that a client has consumed, in which case we don't want
2808 the user to see the side-effect of the event).
2809 (spi_device_event_controller_forward_mouse_event):
2810 Check for modifier events and fire before resetting mouse_mask_state,
2811 prevents losing modifier events.
2813 (impl_generate_keyboard_event):
2814 If we've just generated a keyboard event for a non-shift key,
2815 we don't want to revert the pending XKB latch.
2816 Otherwise, check the modifier state (via a call to
2817 spi_dev_mouse_check) and set the relatch mask to
2818 that state before returning.
2820 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2823 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2826 * atk-bridge/bridge.c:
2827 (spi_atk_register_event_listeners):
2828 Don't re-register for ATK events if the registry has died
2829 and the app needs to re-register; the ATK listeners are in
2830 process and doing so will cause duplicate emission.
2832 * registryd/deviceeventcontroller.c:
2833 (spi_poll_mouse_moved):
2834 Reformat the source, detect and emit multiple button-change
2835 events (i.e. if multiple buttons have changed between poll
2837 Add code to detect mouse-down events even when the pointer
2838 is grabbed; workaround for GOK bug 98420.
2839 (spi_controller_register_with_devices):
2840 Call XTestGrabControl with 'impervious' flag set to True,
2841 allows us to synthesize events and query the pointer even during
2842 an active grab by another client.
2843 (spi_device_event_controller_forward_mouse_event):
2844 Set the mouse_mask_state to the mouse_button_state from
2845 the intercepted event, to synchronize the grab listener with
2848 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2850 * cspi/spi_accessible.c:
2851 (AccessibleRole_getName):
2852 Added necessary strings for making this (deprecated)
2853 method work with the new role types.
2854 (init_role_table, role_table):
2855 Added definition of SPI_ROLE_APPLICATION.
2857 * libspi/spi-roletypes.h:
2858 Added SPI_ROLE_APPLICATION.
2860 * idl/Accessibility_Role.idl:
2861 Added ROLE_APPLICATION.
2863 * docs/reference/cspi/at-spi-cspi-decl.txt:
2864 Added SPI_ROLE_APPLICATION to docs.
2866 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2868 * cspi/spi_accessible.c
2869 (cspi_init_role_table): Do not write beyond end of role_table.
2870 (Accessible_getRole): Use correct type for value returned by
2871 Accessibility_Accessible_getRole().
2873 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2874 beyond end of role_table. (This fixes bug #98269)
2876 * libspi/application.c: Add include file spi-private.h for
2877 definition of spi_init_any_nil.
2879 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2883 * libspi/spi-private.h:
2884 Added DGB() macro, and extern int _dbg declaration.
2886 * registryd/registry.c:
2887 (definitions) storage for _dbg.
2888 (spi_registry_init):
2889 Get environment variable "AT_SPI_DEBUG".
2890 (spi_registry_set_debug):
2891 New method, to initialize _dbg value.
2892 (spi_listener_struct_new, spi_registry_object_finalize):
2893 (notify_listeners_cb):
2894 Changed fprintfs to use DBG and g_warning().
2896 * registryd/deviceeventcontroller.c:
2897 (_deregister_keygrab, spi_controller_register_device_listener):
2898 Changed debug/warning messages to use DBG macro.
2900 * libspi/listener.c:
2901 (impl_notify_event):
2902 Changed warning messages to use DBG macro and g_warning().
2904 * atk-bridge/bridge.c:
2905 (atk_bridge_init, spi_atk_bridge_get_registry):
2906 (spi_atk_bridge_exit_func):
2907 (spi_atk_bridge_property_event_listener):
2908 Changed status, warning, and error messages to use
2909 g_warning, g_message, and DBG macros.
2912 Read the state of the AT_SPI_DEBUG environment variable
2913 and set a local '_dbg' accordingly.
2915 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2917 FIXES for 98836, 98842, other bugs.
2920 Revved to 1.1.4, interface-age=4, binary-age=4.
2922 * registryd/deviceeventcontroller.c:
2924 Fixed crasher bug in last_mouse_pos initialization.
2926 * registryd/registry.c:
2927 (desktop_add_application, desktop_remove_application):
2928 Added (and then commented out) some support for
2929 object context marshalling. [TODO]
2931 * atk-bridge/bridge.c:
2932 (spi_atk_bridge_event_context_create):
2933 Commented out object context creation until it can
2934 be properly tested and debugged.
2936 * registryd/registry.c:
2937 (impl_registry_notify_event):
2938 Fixed crasher bug, we were calling
2939 spi_re_entrant_list_foreach () with an empty list.
2941 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2943 * idl/Accessibility_Action.idl:
2944 * idl/Accessibility_Component.idl:
2945 * idl/Accessibility_Desktop.idl:
2946 * idl/Accessibility_Event.idl:
2947 * idl/Accessibility_Hyperlink.idl:
2948 * idl/Accessibility_Image.idl:
2949 * idl/Accessibility_Relation.idl:
2950 * idl/Accessibility_Selection.idl:
2951 * idl/Accessibility_State.idl:
2952 * idl/Accessibility_Value.idl:
2953 Updated unimplemented slot count to minimum of
2954 four for all interfaces, for ABI freeze.
2956 * idl/Accessibility_EditableText.idl:
2957 * idl/Accessibility_Text.idl:
2958 Updated unimplemented slot count to six
2961 * idl/Accessibility_Registry.idl:
2962 Updated unimplemented slot count to six
2963 (also for DeviceEventController),
2966 * idl/Accessibility_Table.idl:
2967 Updated unimplemented slot count to eight,
2970 * idl/Accessibility_Event.idl:
2971 Added CORBA_any "any_data" member to Event struct.
2973 * idl/Accessibility_Event.idl:
2974 Added CORBA_any "any_data" member to Event struct.
2976 * atk-bridge/bridge.c:
2978 atk_signal_text_changed, atk_signal_child_changed,
2979 signal ids queried from gtype system.
2980 (AtkBridgeEventContextType): New enum.
2981 (AtkBridgeEventContextData): New struct.
2982 (AtkBridgeEventContext): New struct.
2983 (atk_bridge_init_event_type_consts):
2984 New method, initializes type contants for comparison
2985 prior to emit_eventv.
2986 (atk_bridge_event_context_init): New method,
2987 initializes a CORBA_any from an AtkBridgeEventContext.
2988 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2989 initialize the event.any_data struct.
2990 (spi_atk_bridge_event_context_create): New method,
2991 creates an AtkBridgeEventContext from signal/event info.
2992 (spi_atk_bridge_event_context_free): New method.
2993 (spi_atk_emit_eventv): Changed to take an
2994 AtkBridgeEventContext parameter. We now initialize
2995 the event.any_data member prior to notifying the
2996 Registry, via the AtkBridgeEventContext.
2997 (spi_atk_bridge_property_event_listener):
2998 (spi_atk_bridge_state_event_listener):
2999 Match emit_eventv signature.
3000 (spi_atk_bridge_object_event_listener):
3001 Match emit_eventv signature, and create an
3002 event context from the event details.
3003 Free the event context afterwards.
3004 (spi_atk_bridge_window_event_listener):
3005 Create an event context, pass it to the
3009 (AccessibleEvent_getContextString):
3010 (AccessibleEvent_getContextObject):
3011 New methods, allow query of AccessibleEvent objects
3012 for more context details (via the "any_data" member
3013 of the Event struct, above).
3016 Definitions for AccessibleEvent_getContextString
3017 and AccessibleEvent_getContextObject.
3019 * cspi/spi_listener.h:
3020 (InternalEvent): New struct.
3023 (AccessibleEvent_getContextString):
3024 (AccessibleEvent_getContextObject):
3025 Implementations of new methods, for obtaining
3026 additional context information from some event types.
3028 * cspi/spi_registry.c:
3029 (SPI_registerGlobalEventListener):
3030 Added mention of active-descendant-changed event in docs.
3032 * cspi/cspi-bonobo-listener.c:
3034 Marshal the any into the AccessibleEvent via
3037 * libspi/spi-private.h:
3038 #include <orbit/orbit.h>
3040 (spi_init_any_string):
3041 (spi_init_any_object):
3042 New convenience function declarations.
3046 (spi_init_any_string):
3047 (spi_init_any_object):
3048 New convenience function implementations.
3050 * registryd/deviceeventcontroller.c:
3051 (spi_poll_dec_mouse_moved):
3052 (spi_device_event_controller_forward_mous_event):
3053 Initialize any_data member of event.
3054 (spi_deregister_controller_device_listener):
3055 Fix incorrect param pass which was preventing deregistration.
3057 * registryd/registry.c:
3058 (desktop_add_application):
3059 (desktop_remove_application):
3060 Add object data to event's any_data before dispatch.
3062 Fix for error messages from GAIL.
3064 * test/event-listener-test.c:
3065 Test new ContextString and "any_data" API:
3066 (report_text_event): New method query and output context string.
3067 (main): register a new text listener with report_text_event
3070 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3072 Fixes for bugs 98127 and 97914.
3073 * cspi/spi-roletypes.h:
3074 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3076 * cspi/spi-statetypes.h:
3077 Added SPI_STATE_MANAGES_DESCENDANTS
3079 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3080 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3081 * cspi/spi_accessible.c:
3082 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3083 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3084 Accessibility_STATE_MANAGES_DESCENDANTS
3085 * libspi/accessible.c:
3086 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3087 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3088 As requested by Bill, I also cleaned up the alignment.
3089 * libspi/relation.c:
3090 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3091 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3092 * libspi/stateset.c:
3093 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3094 Accessibility_STATE_MANAGES_DESCENDANTS
3095 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3096 Document changes reflecting modifications to roles.
3097 * docs/reference/cspi/tmpl/spi_relation.sgml:
3098 Document changes reflecting modifications to relations.
3099 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3100 Document changes reflecting modifications to states.
3102 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3105 Revved to 1.1.3, interface-age=3, binary-age=3.
3106 Added REBUILD macro.
3109 Removed accessx-gui from the tests, since we have a nice
3110 keyboard accessibility capplet now :-)
3112 * test/keysynth-demo.c:
3113 (increment_scan): removed do-nothing default: case,
3116 * test/visual-bell.c:
3117 (main) : removed do-nothing default: case,
3120 * cspi/spi_action.c:
3121 (AccessibleAction_getKeyBinding_):
3122 Documented keybinding string format.
3126 (AccessibleText_getAttributes):
3127 Documented the text attribute string format.
3128 It's changed to use semicolon delimiters also,
3129 to prevent clashes with CSS attributes, but the old
3130 trick of looking for ", " strings will still work
3131 (as unreliably as ever). Fix for bug related to 97916.
3134 Include <cspi/bonobo/cspi-bonobo-listener.h>
3135 Fixes build warning.
3136 (SPI_freeAccessibleKeySet):
3137 (AccessibleKeystrokeListener_addCallback):
3138 (AccessibleKeystrokeListener_removeCallback):
3139 Modify to use AccessibleDeviceListener API internally,
3140 instead of AccessibleKeystrokeListener.
3142 * idl/Accessibility_Event.idl:
3143 Added two more empty slots to EventListener (for a total of four).
3145 * idl/Accessibility_Accessible.idl:
3146 Added four empty slots to Accessible interface.
3148 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3150 * idl/Accessibility_Registry.idl:
3151 (KeyEventType, EventType):
3152 Marked KeyEventType as deprecated; it duplicates
3153 functionality of EventType, which has been extended to
3154 include Mouse-button events.
3155 (KeyEventTypeSeq): defined in terms of EventType.
3156 (registerDeviceEventListener, deregisterDeviceEventListener):
3157 New methods, for managing listeners to device events,
3158 which potentially may consume them.
3161 Added definition for AccessibleDeviceListener.
3163 * cspi/spi-listener.h:
3164 (enum AccessibleDeviceEventType):
3165 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3166 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3167 for backwards compat.
3168 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3169 and typedef'd AccessibleKeystroke to it for back-compat.
3170 (AccessibleDeviceListenerCB):
3171 New function prototype typedef.
3174 (AccessibleDeviceEventMask): New typedef.
3175 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3176 (AccessibleKeyMaskType):
3177 Set equivalent to AccessibleModifierMaskType for back-compat.
3178 (SPI_createAccessibleKeystrokeListener):
3179 (AccessibleKeystrokeListener_unref):
3180 Deprecated in favor of equivalent (better-named) new API below..
3181 keystroke listeners are like all device listeners.
3182 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3183 New API names for old features :-).
3184 (AccessibleDeviceListener_addCallback):
3185 (AccessibleDeviceListener_removeCallback):
3186 (SPI_registerDeviceEventListener):
3187 (SPI_deregisterDeviceEventListener):
3191 (SPI_createAccessibleKeystrokeListener):
3192 Use new preferred API, cspi_device_listener_new() and
3193 cspi_device_listener_add_cb().
3194 (AccessibleKeystrokeListener_removeCallback):
3195 Use new preferred API, cspi_device_listener_remove_cb().
3196 (AccessibleKeystrokeListener_unref):
3197 Use new preferred API, cspi_device_listener_unref().
3198 (SPI_createAccessibleDeviceListener):
3199 (AccessibleDeviceListener_addCallback):
3200 (AccessibleDeviceListener_removeCallback):
3201 Implementation of new API.
3203 * cspi/spi_registry.c:
3204 (SPI_registerDeviceEventListener):
3205 (SPI_deregisterDeviceEventListener):
3206 Implementation of new API. Fixed memory leak and removed need to
3207 allocate EventTypeSeq (thanks Michael for catching this).
3208 Squashed a wayward CORBA_exception_free that shouldn't get called.
3210 * cspi/bonobo/cspi-bonobo-listener.c:
3212 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3213 (cspi_key_event): renamed to cspi_device_event().
3214 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3215 Extended to handle mouse button events as well as key events.
3216 (CSpiKeystrokeListener):
3217 Class superceded by CSpiDeviceListener.
3218 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3219 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3221 * cspi/bonobo/cspi-bonobo-listener.h:
3222 (CSpiKeystrokeListener):
3223 Class superceded by CSpiDeviceListener.
3224 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3225 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3227 * libspi/Makefile.am:
3228 Replaced keystrokelistener.h and keystrokelistener.c
3229 with devicelistener.h and devicelistener.c; keystrokelisener.h
3230 stub retained for back-compat.
3232 * libspi/keystrokelistener.c:
3236 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3238 * registryd/deviceeventcontroller.c:
3239 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3240 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3241 (DEControllerPrivateData): Added xkb settings data.
3242 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3243 button release events (which can't be captured via XGrabButton).
3244 Don't dispatch via the 'normal' event mechanism if the device event was
3246 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3247 Handle the typeseq data in its new location (see above).
3248 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3249 New methods, for "generic" device listeners.
3250 (spi_controller_register_device_listener):
3251 Now handle mouse event listeners as well as key listeners.
3252 (spi_controller_notify_mouselisteners):
3253 New internal method.
3254 (spi_device_event_controller_forward_mouse_event):
3255 Now we notify mouse device listeners as well as generating the
3256 non-consumable "mouse:" events.
3258 We must check and restore the XKB
3259 modifier map if we consume the event, since the act of triggering
3260 a mouse event will normally reset the XKB latch. This is required for
3262 (spi_controller_register_with_devices):
3263 Load the XKB settings when registering, and register for XKB
3264 state notify events.
3265 (spi_key_eventtype_seq_contains_event):
3266 Renamed spi_eventtype_seq_contains_event, since it's used
3267 internally for all device event types now.
3268 (spi_key_event_matches_listener):
3269 Uses spi_eventtype_seq_contains_event now.
3270 (spi_device_event_controller_object_finalize):
3271 Free the private data and the XkbKeyboard struct.
3272 (impl_register_device_listener, impl_deregister_device_listener):
3273 Implementation of new IDL.
3274 (spi_deregister_controller_device_listener):
3275 New internal method.
3276 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3277 More efficient implementation, we don't have to create a new
3278 XkbControls structure every time we query.
3279 (spi_device_event_controller_class_init):
3280 Initialize the epv entries for the new IDL. Assign the
3281 "spi-dec-private" quark.
3282 (spi_device_event_controller_init):
3283 Initialize the private data.
3284 (spi_device_event_controller_forward_key_event):
3285 Removed a bogus CORBA_exception_free() call.
3287 * registryd/deviceeventcontroller.h:
3288 Replaced inclusion of keystrokelistener.h with
3291 * test/event-listener-test.c:
3292 (report_mouse_event):
3295 Added mouse-event device listener.
3297 * test/test-simple.c:
3298 (create_test_window):
3299 Fixed regression (we were instantiating a GtkRange,
3300 which is now an abstract class). Also fixed to match
3301 existing AtkRole names, this seems to have changed in ATK
3302 awhile ago; too late now I think, and the new
3303 mechanism is at least elegant and consistent with the
3304 glib enum "nick" APIs.
3306 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3308 * idl/Accessibility_Relation.idl:
3309 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3310 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3311 * idl/Accessibility_Role.idl:
3312 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3313 * idl/Accessibility_State.idl:
3314 add STATE_MANAGES_DESCENDANTS
3315 * test/event-listener-test.c:
3316 Added a listener for active-descendant events.
3318 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3320 * atk-bridge/bridge.c
3321 (atk_bridge_init): If application is Bonobo component wait until top
3322 level is added before registering
3323 (spi_atk_bridge_do_registration): New function which contains code,
3324 formerly in atk_bridge_init, to do application registration.
3325 (spi_atk_bridge_toplevel_added): Signal called when top level
3326 added to Bonobo component
3328 This fixes bug #83134.
3330 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3332 * registryd/deviceeventcontroller.c
3333 Fixed compilation error caused by calling gettimeofday()
3336 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3341 Added template for HAVE_XKB.
3344 Changes to check for XKB, and to set the HAVE_XKB #define if it
3347 * libspi/listener.c:
3348 ()impl_notify_event): Make failure to get event source name
3351 * registryd/deviceeventcontroller.c:
3352 (#include): include X11/XKBlib.h.
3353 (DEControllerPrivateData) : New struct.
3354 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3356 (dec_synth_keycode_press) (dec_synth_keycode_release):
3357 New methods; split the key synthesis code into these methods.
3358 They check XKB settings before determining the "time" values to
3359 pass to Xtest; this fixes bug #95828.
3360 (impl_generate_keyboard_event): Changed to use methods above,
3361 instead of callng Xtest directly.
3362 (spi_device_event_controller_init): Initialize new privae struct s
3364 (spi_device_event_controllr_object_finalize):
3365 Free the (new) private data.
3367 * registryd/deviceeventcontroller.h:
3368 Add new gpointer to end of struct data.
3370 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3373 Incremented revision to 1.1.2, SONAME is still '.so', library
3374 extensions are ".so.0.0.2".
3376 * registryd/deviceeventcontroller.c:
3377 FIXES FOR #93592 and #95940.
3378 (statics): renamed mouse_button_state to mouse_mask_state,
3379 added key_modifier_mask.
3380 (spi_dec_poll_mouse_moved):
3381 Added key modifier checks, and emit "keyboard:modifiers"
3382 events when the key modifiers currently in use change.
3383 Also generate "mouse:abs" events periodically, even if the mouse
3384 is stationary (should we?).
3385 Alternatively we could generate "mouse:abs" events for either all
3386 mouse movements, or every 'nth' mouse movement, or at the
3387 beginning and end of every "active" mouse period.
3389 * test/event-listener-test.c:
3390 (main): Added listener for "keyboard:modifiers" events.
3392 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3394 * libspi/keymasks.h:
3395 Added key mask #defines for mouse buttons; e.g.
3396 SPI_KEYMASK_BUTTON1, etc.
3399 Incremented dependency on ATK to version 1.1.0. (This dependency
3400 is probably premature but will soon be real enough).
3402 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3404 * libspi/hyperlink.[ch]
3405 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3406 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3409 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3414 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3416 * registryd/deviceeventcontroller.c
3417 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3418 events to be ignored.
3419 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3420 keyboard_mode so that XAllowEvents() can be called.
3424 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3426 * cspi/spi-accessible.c: Correct names of roles returned by
3427 AccessibleRole_getName(). Fixes bug #95055.
3429 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3431 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3434 * registryd/registry.c
3435 (desktop_remove_application: Write diagnostic message to stderr for
3438 (impl_accessibility_registry_deregister_global_event_listener):
3439 Correct size of lists array. This addresses bug #94555).
3441 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3443 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3446 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3448 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3451 * registryd/registry.c (impl_registry_notify_event): Remove
3452 unnecessary call to parser_event_type().
3454 * docs/reference/cspi/tmpl/spi_component.sgml:
3455 Add reference to SPI_LAYER_WINDOW.
3457 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3459 * registryd/registry.c
3460 (desktop_add_application): Remove leak.
3461 (desktop_remove_application): Remove leak.
3462 (parser_event_type): Remove leak.
3464 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3466 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3467 bogus call to CORBA_string_dup(). Also removed unnecessary
3468 g_string_dup/g_free calls.
3470 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3472 * registryd/deviceeventcontroller.c:
3473 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3475 * test/event-listener-test.c:
3476 main: commented out three redundant listeners, to reduce output
3477 noise. (They still are potentially useful for testing).
3480 2002-09-13 Michael Meeks <michael@ximian.com>
3482 * Update all the copyrights to include Ximian.
3484 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3486 * cspi/spi.h: add SPI_LAYER_WINDOW.
3488 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3489 add Accessibility_LAYER_WINDOW case.
3491 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3493 * libspi/component.c: (impl_accessibility_component_get_layer):
3494 add ATK_LAYER_WINDOW case.
3496 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3498 * configure.in: incremented micro version.
3500 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3502 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3505 Clarified and reworded our commit policy.
3508 Started an API "todo" addition list for 2.2.
3511 (impl_getSelection):
3512 Free char pointer from atk_text_get_selection, which was being leaked.
3514 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3517 Small revision to author acknowledgement.
3519 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3521 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3522 If signal has detail add it to the type of the event.
3525 2002-08-12 Michael Meeks <michael@ximian.com>
3527 * test/test-simple.c (global_listener_cb): bin bogosity.
3528 (test_keylisteners): disable, still doesn't work reliably,
3529 certainly not on my system anyway.
3531 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3532 don't leak a reference on the DEC. This round-trip
3533 fetching of the DEC per keystroke sucks, it should be
3536 * cspi/spi-private.h,
3537 * cspi/cspi-lowlevel.h,
3538 * cspi/bonobo/cspi-bonobo-listener.[ch],
3539 * cspi/bonobo/cspi-bonobo.c: get the copyright
3540 notices better - there is still a large amount of
3541 work in at-spi falsely attributed solely to Sun.
3543 * cspi/spi_main.c (cspi_object_ref): kill bogus
3544 hash lookup, just increment the ref.
3545 (SPI_freeString): make explicit the fact that we
3546 handle NULL strings just fine.
3547 (report_leaked_ref): obey coding standards.
3548 (cspi_object_hash, cspi_object_equal): kill retval.
3549 (cspi_object_release): only release if not on loan.
3550 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3551 (cspi_object_borrow, cspi_object_return): impl.
3553 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3554 use cspi_object_borrow / return.
3556 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3558 * cspi/bonobo/cspi-bonobo-listener.c:
3560 Don't call cspi_oject_new() because this is creating a new Accessible
3561 every single time that an event is fired. This causes ATs like at-poke
3562 to nolonger recognise the source of the event and thus ignore it.
3563 Re-use the object from the cache, ref it and then unref it after the
3564 listeners have been called.
3566 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3568 * test/event-listener-test.c:
3569 Added command-line options to disable mouse events (m) and
3572 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3574 * configure.in: Update required versions of ATK, GTK+ and GAIL
3576 * cspi-1.0.pc.in: Add dependency for X include files
3579 * cspi/bonobo/Makefile.am:
3580 Add $(X_CFLAGS) so that X include files
3581 are picked up even if not in standard place (bug #71686)
3583 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3585 * registryd/deviceeventcontroller.c: fix for 84261
3586 (spi_dec_mouse_moved):
3587 Added test of mouse button mask, so that we can detect mouse
3588 button release. Unfortunately we can't otherwise detect mouse
3589 button release events without consuming the mouse press event,
3590 because of the way XGrabButton works. This means that our mouse
3591 release events have a latency dependent on the polling period
3592 while the mouse button is down. At least in this case we only
3593 have to poll while the button is down, and not at other times.
3594 If the button masks don't match with what the last press event
3595 reported, we report the appropriate button release event.
3596 (spi_dec_ungrab_mouse):
3597 New method (not yet called).
3598 (spi_device_event_controller_forward_mouse_event):
3599 New method, sends mouse press event from GdkFilter.
3600 (spi_dec_init_mouse_listener):
3601 Added code to call XGrabButton, redirecting mouse button events to
3602 the root window and our Gdk event loop.
3604 Added code to filter mouse button events, and reordered.
3606 * test/event-listener-test.c:
3608 Added registration for mouse events of type "mouse:button".
3610 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3612 * registryd/deviceeventcontroller.c: partial fix for 84261
3613 (spi_dec_poll_mouse_idle):
3614 New method, a timeout which checks to see if the mouse
3616 (spi_dec_poll_mouse_moving):
3617 A timeout to be called when mouse motion is underway.
3618 (spi_dec_poll_mouse_moved):
3619 A method which fires an event if the mouse has moved, and reports
3620 whether or not it did so.
3621 (spi_dec_init_mouse_listener):
3622 A method which sets up the timeouts above.
3623 (spi_device_event_controller_new):
3624 Now calls spi_dec_init_mouse_listener.
3626 * registryd/registry.c:
3627 (spi_registry_init):
3628 Now we initialize the device event controller when the registry is
3629 initialized, instead of waiting until a client has requested a key
3630 event notification; this is because we need the event controller
3631 for mouse events, but the mouse event registration API is a
3632 "registry" call and doesn't explicitly call the
3633 deviceeventcontroller.
3634 We now report mouse motion events with a 100 ms idle latency and
3635 a 20 ms granularity when motion is in progress.
3637 * test/event-listener-test.c:
3639 We now register the "detail listener" for events of type
3640 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3641 delivered only for the first mouse event received, and thereafter
3642 "mouse:abs" events are delivered.)
3644 * cspi/spi_registry.c:
3645 DOCS: Documented the above mouse event typestrings.
3647 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3649 Happy Summer Solstice...
3651 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3652 (spi_controller_notify_keylisteners):
3653 Changes to remove a listener from the listener list, freeing its
3654 open keygrabs, if a notification to that listener fails. This
3655 means that although a dead listener can continue to hold a passive
3656 keygrab, a maximum of one dispatch to such a listener can fail
3657 before the listener is removed from the list, thus the keygrab
3658 will be released on the next occurrence.
3659 As part of this fix:
3660 (spi_notify_keylisteners):
3661 Renamed to spi_controller_notify_keylisteners, as the controller
3662 instance must now be passed as an argument.
3663 The copied 'notify' GList is now a list of DEControllerKeyListener
3664 objects, since we need more than just the CORBA reference if a
3665 notify fails and we need to deregister the listener.
3666 (impl_notify_listeners_sync):
3667 (impl_notify_listeners_async):
3668 (spi_device_event_controller_forward_key_event):
3669 Modify use of notify_keylisteners in accordance with above
3671 (spi_deregister_controller_key_listener):
3672 New method introduced by refactoring, from
3673 impl_deregister_keystroke_listener.
3674 (impl_deregister_keystroke_listener):
3675 Call spi_deregister_controller_key_listener.
3676 (spi_key_listener_clone):
3677 New method to copy a key listner without doing a 'ref' on the
3678 remote object instance; used to create a notifier list.
3679 (spi_key_listener_data_free):
3680 New method, frees data without unreffing the source.
3682 (spi_key_listener_clone_free): new method.
3683 (spi_key_listener_free):
3684 refactored to call spi_key_listener_data_free.
3686 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3688 * registryd/registry.c: [fix for bug 86048]
3689 (notify_listeners_cb):
3690 Clear CORBA system exceptions which occur when notifying
3691 listeners, before returning to the source of the original event,
3692 since the event source doesn't care if the relayed notify failed.
3693 In other words, don't complain to the atk-bridge if the registry
3694 could not notify all its listeners, that's no fault of the
3695 application and thus should not appear to be an error from the
3696 application's perspective.
3698 * cspi/spi_main.c: [fix for bug 85980]
3700 Replaced use of bonobo_object_dup_ref with call to the wrapper
3701 method, csou_dup_ref (); this silences a compiler warning and
3702 provided more portability.
3704 Ping the registry before return, and restart if necessary.
3706 * cspi/bonobo/cspi-bonobo.c:
3708 New internal method.
3710 Fixed this method to return an object reference, as it should have
3713 * cspi/cspi-lowlevel.h:
3714 Added internal definition for cspi_ping() and fixed
3715 return type of cspi_dup_ref().
3718 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3720 * atk-bridge/bridge.c: [fix for bug 85305]
3721 (spi_atk_bridge_register_application):
3722 New method where the initial application registry calls have been
3723 moved; it allows an application to re-register in response to
3724 certain error conditions (such as a registry restart, see below).
3726 Moved some initialization code to the method
3727 spi_atk_bridge_get_registry, below.
3728 (spi_atk_bridge_get_registry):
3729 New, private accessor function for the Accessibility_Registry
3730 instance. If the registry has not been started before, or has
3731 died (as detected by failure of a CORBA exception), it is
3732 restarted before return, and spi_atk_bridge_register_application
3733 is called again to register with the new bridge instance.
3734 (spi_atk_emit_eventv):
3735 Set registry_died on error; use spi_atk_bridge_get_registry () to
3736 access the registry.
3738 * registryd/registry.c:
3739 (impl_accessibility_registry_register_global_event_listener):
3740 Set listener's event_type_quark to etype.minor instead of
3741 etype.major (fix for bug 84856).
3743 * test/event-listener-test.c:
3744 (report_detail_event):
3745 Change the output string so that user/tester can tell that the
3746 'detail listener' was called instead of the 'generic listener'.
3748 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3750 Fixes for bugs 84900, 84908, 84897, 84898.
3755 Revved version to 1.1.0
3756 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3757 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3759 * idl/Accessibility_Registry.idl:
3760 (EventListener::notifyEvent):
3761 Removed 'oneway' directive after extensive consulation with
3762 ORBit2 team and others. This means also that unref() of the event
3763 source can and should be done synchronously after emission, rather
3764 than remotely in the client, after servicing the notify call on
3767 NOTE: This change speeds up listener performance considerably, but
3768 introduces new latency on the application side. We may want to
3769 add an event queue to the atk-bridge.
3771 * atk-bridge/bridge.c:
3772 (spi_atk_bridge_focus_tracker):
3773 Do a local unref() on the event source after emission.
3775 * registryd/registry.c:
3776 (desktop_remove_application):
3777 Do an unref() on the event source after emission.
3778 (desktop_add_application):
3779 Do an unref() on the event source after emission.
3780 (notify_listeners_cb):
3781 When relaying an event, don't automatically add the event source
3782 to the local object cache, just CORBA_dup it instead. Likewise,
3783 if this method reenters, release the ref rather than calling
3785 (impl_registry_notify_event):
3786 No longer call remote unref() on the event source after dispatch.
3788 * libspi/eventlistener.c:
3789 (impl_accessible_event_notify_event):
3790 Removed remote unref ()
3792 * cspi/bonobo/cspi-bonobo-listener.c:
3794 We now call cspi_object_new() instead of cspi_object_add() on
3795 receipt of an event; thus we only have an implicit object ref
3796 while the cspi_event method is being executed. If we need to keep
3797 a reference to the object, the listener must call ref() on the
3798 object. Thus also we don't need to call cspi_object_unref() after
3799 invoking the listener callbacks in this method.
3803 New internal API for creating a new cspi object, without adding it
3804 to the object cache.
3806 Now uses cspi_object_new() to create the cspi object instance.
3808 Now checks to see if the object is in the internal object cache,
3809 and adds it if necessary before incrementing its refcount (note
3810 that new objects are added with a refcount of 1).
3811 (report_leaked_ref):
3812 New method which gives some information on leaked object instances
3813 if leak detection is turned on.
3815 * test/event-listener-test.c:
3816 (timing_test_event):
3817 New method, used for testing event delivery timing for special
3818 events of type "object:test". It reports elapsed time and
3819 events/sec every 500 events.
3821 Added a new listener, 'test listener', to check timing of event
3822 receipt as noted above.
3824 Added some timing output here also, reports elapsed time every 100
3827 * test/stress-test.c:
3828 Emit events of type "object:test", for use with "event-listener-test".
3830 * test/test-simple.c:
3831 (global_listener_cb):
3832 Call Accessible_ref() on the event source before calling
3833 validate_accessible, since the validation process does pointer
3834 comparisons on the event source, meaning that the event source
3835 needs to be added to the local object cache first. Any use of
3836 such pointer comparisons between Accessible objects requires that
3837 the caller hold an explicit reference to those objects.
3838 We also must therefore call Accessible_unref() when leaving this method.
3840 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3842 * registryd/deviceeventcontroller.c:
3843 (spi_controller_update_key_grabs):
3844 Fix for #84735, subsequent keygrab listeners not informed of
3845 registration failure.
3848 (spi_base_construct):
3849 Add an assertion on construct, to make sure the GObject passed in
3850 is really a GObject.
3852 Explicitly initialize object->gobj pointer to NULL;
3854 * cspi/bonobo/cspi-bonobo-listener.c:
3855 (cspi_object_add_ref):
3856 New method, can specify whether to dup-ref a bonobo object passed
3857 in if it's newly added to the object cache.
3859 Now calls cspi_object_add_ref with second param of "FALSE". This
3860 prevents us from doing a pointless dup-ref followed by
3861 release-unref for all those cases where the object is already in
3862 our object cache (fix for #85205).
3864 * atk-bridge/bridge.c:
3865 (spi_atk_bridge_idle_init):
3866 Removed this method, we don't need to initialize in an idle
3869 Changed to call spi_atk_register_event_listeners directly, not via an
3870 idle handler. (fix for #81139)
3871 (gnome_accessibility_module_shutdown):
3872 Removed conditional around deregistration of listeners, since we
3873 don't use the idle handler and thus have always registered when
3875 (spi_init_keystroke_from_atk_key_event):
3876 Changed references to Accessibility_KEY_PRESSED to
3877 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3879 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3881 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3886 * test/stress-test.c:
3889 (may have been an incomplete commit yesterday?)
3891 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3894 Added target for new stress-test.
3896 * test/stress-test.c:
3897 New test, sends 1000 focus notifies in quick succession.
3899 * test/key-listener-test.c:
3900 Now we report whether a keylistener registration
3901 request succeeded or failed.
3903 * test/event-listener-test.c:
3904 Uncommented some listeners which are now implemented.
3907 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3909 * registryd/deviceeventcontroller.c:
3910 (spi_controller_update_key_grabs):
3911 Fix for #82509, lack of failure notification when
3912 ALL_WINDOWS keygrabs fail due to XGrabKey
3913 failure: we synchronize the server when
3914 registering a passive grab, to make sure we get the
3915 error message before the call returns.
3917 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3919 * test/test-simple.c:
3921 Removed #ifdef KEY_IMPL_WORKS guards.
3922 (test_keylisteners):
3923 Removed #ifdef KEY_IMPL_WORKS guards.
3924 Fixed bug which was causing a hang waiting for a
3925 "press" event (which was already overwritten by a "release"
3926 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3928 Added code to set globals 'key_press_received' and
3929 'key_release_received'.
3932 Added section "1.1 API Proposed Additions" which
3933 lists API additions desired for at-spi-1.1 (only one so far).
3934 Updated TODO list a little.
3936 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3938 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3941 * configure.in: Revved to 1.0.0.
3943 * idl/Accessibility_Registry.idl:
3944 (registerKeystrokeListener):
3945 Added boolean return value.
3947 * registryd/registry.c:
3948 (notify_listeners_cb): Minor fix to debug output.
3950 * registryd/Accessibility_Registry.server.in.in:
3951 Revved version number in OAFIID to 1.0.
3953 * registryd/registryd.c:
3955 Use new OAFIID version.
3957 * cspi/bonobo/cspi-bonobo.c:
3959 Use new OAFIID version.
3965 * atk-bridge/bridge.c:
3967 Use new OAFIID version.
3969 * registryd/deviceeventcontroller.c:
3970 (impl_register_keystroke_listener):
3971 Added CORBA_boolean return value.
3972 (spi_controller_register_device_listener):
3973 Added gboolean return value.
3974 (spi_controller_register_global_keygrabs):
3975 Added gboolean return value.
3976 (spi_key_set_contains_key):
3977 Added implementation for many more control keys,
3978 for instance F1-F12, arrow keys, End, Home, Page_Up,
3980 [TODO: some still not implemented].
3982 * text/screen-review-test.c:
3983 (text_chunk_pad_string):
3984 New function: it provides mapping between coordinate
3985 positions of text chunks and character positions in the
3986 screen-review-line output string.
3987 (text_chunk_to_string):
3988 New function, calls text_chunk_pad_string with various
3989 pad/delimiter characters. Pushbuttons are delimited with
3990 square brackets, Frames with vertical 'pipe' lines, and
3991 other text with double quotes.
3992 (text_chunk_list_to_string):
3993 Calls new function text_chunk_to_string.
3994 (toplevel_composite):
3995 New function to composite layers CANVAS through
3996 POPUP in each toplevel (other layers are composited
3997 across toplevels, i.e. BACKGROUND and OVERLAY).
3998 (review_buffer_composite):
3999 Revise to use new methods.
4005 2002-05-31 Laszlo Peter <laca@sun.com>
4007 * configure.in: add the Xtst libdir to the runpath on Solaris,
4008 since it's not in the default library search path.
4010 2002-05-29 jacob berkman <jacob@ximian.com>
4012 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4014 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4016 * test/screen-review-test.c:
4017 (text_chunk_pad_string):
4018 Added method, which pads the string according to the
4019 text bounds of the chunk. It also takes a 3-character
4020 string as a param which indicates the characters to be
4021 used for start, padding, and end delimitation of the chunk.
4022 (text_chunk_to_string):
4023 Changed to use text_chunk_pad_string.
4025 * configure.in: Fixed bug in AC_OUTPUT that was
4026 causing path substitution in Accessibility_Registry.server
4029 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4031 * text/screen-review-test.c:
4032 (guess_string_clip):
4033 New method which attempts a best-guess at clipping
4034 text from components (like Java labels) which don't
4035 actually implement AccessibleText. This inaccurate
4036 clip is based on the assumption that the label is
4037 justified left-and-right, and monospaced.
4038 (text_chunk_get_clipped_string):
4039 We now call guess_string_clip() for text-containing
4040 components that don't implement AccessibleText.
4042 * test/screen-review-test.c:
4043 (review_buffer_get_text_chunk):
4044 We now pull "name" from labels if they do not implement
4045 AccessibleText (i.e. for Java labels).
4046 (get_screen_review_line_at):
4047 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4050 Replaceded AC_OUTPUT target
4051 registryd/Accessibility_Registry.server with
4052 registryd/Accessibility_Registry.server.in.
4054 * registryd/Accessibility_Registry.server.in:
4055 Removed (this is now a Makefile target).
4057 * registryd/Accessibility_Registry.server.in.in:
4058 Added (source for target above). We now use $(libexecdir) as
4059 prefix for the executable at-spi-registryd.
4061 * registry/Makefile.am:
4062 Now install at-spi-registryd into $(libexecdir), and build .server
4063 file with path (see above).
4065 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4067 * test/screen-review-test.c:
4068 (text_chunk_get_clipped_string):
4069 We now check to see if words fall within clip bounds
4070 before resorting to character-by-character clip bounds testing.
4072 * TODO: Added a section for "2.2 Proposed API Additions".
4074 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4076 * test/screen-review-test.c:
4078 Added a screen review benchmarking and test program to test
4081 * cspi/spi_accessible.c:
4083 Made some of the debug strings passed to cspi_check_ev a
4084 little more specific.
4086 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4088 * test/screen-review-test.c: Fix crashes in debug statements
4090 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4092 * test/screen-review-test.c: Added this file.
4094 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4096 * atk-bridge/bridge.c: changed "object:state-change" to
4097 "object:state-changed" to match docs.
4099 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4101 * atk-bridge/bridge.c: Hooked up state-change event details.
4103 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4105 * registryd/registry.c:
4106 Fixed quarking bug in event string parsing; now events with
4107 detail parameters get matched correctly to listeners.
4110 * util/idl/Magnifier.idl: remove.
4112 * util/*.[ch]: Remove.
4113 Magnification utilities and IDL are now in module gnome-mag.
4115 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4117 * registryd/deviceeventcontroller.c:
4118 Fixed bug in grab key conversion which was causing keycode grabs
4119 to be converted to AnyKey grabs.
4122 updated NEWS file to reflect recent spin-off of gnome-mag.
4124 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4126 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4127 busted AccessibleStateSet_compare. Removed redundant casts.
4129 * cspi/spi-action.c: Removed redundant casts.
4131 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4133 * cspi/spi_component.c: Fixed typos and casting error.
4135 * cspi/spi_editabletext.c: Removed redundant casts.
4137 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4139 * cspi/spi_hypertext.c: Eliminated redundant casts.
4141 * cspi/spi_image.c: Eliminated redundant casts.
4143 * cspi/spi_registry.c: Eliminated redundant casts.
4144 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4145 * cspi/spi_selection.c: Removed redundant casts.
4146 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4147 handling. Screen geometry and text offsets were being returned as 0
4148 on error which is technically valid-- changed these to return -1.
4149 Added marshaller for text boundary types to fix bug with boundary
4150 types being passed incorrectly to atk.
4152 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4155 * cspi/spi_registry.c:
4156 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4157 which was uncovered by the recent key changes.
4159 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4161 * test/event-listener-test.c:
4163 Added new test, "event-listener-test";
4164 this code does two things; it benchmarks traversal time
4165 for the accessible hierarchy for the first running accessible
4166 app, and it connects listeners for all supported event types.
4167 It is thus useful as an example event listener and for
4168 diagnostics/debugging of event generation.
4170 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4173 Removed unnecessary dependency on libutil.
4176 Revved micro version: 0.13.1
4178 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4181 Removed util/Makefile from targets.
4184 Removed util subdir from SUBDIRS (temporarily,
4185 pending removal of magnifier-only code
4189 #ifdef-ed out magnifier dependencies, since
4190 magnifier IDL, headers, and binary now live in
4191 module gnome-mag and we don't want at-spi to depend
4192 on gnome-mag. A magnifier demo which can run alongside
4193 simple-at is forthcoming in the gnome-mag module.
4195 NOTE: Split magnifier binary, IDL, and magnification
4196 activation code from at-spi into module gnome-mag.
4198 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4200 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4201 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4203 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4206 Revved to version 0.13.0
4208 * idl/Accessibility_Registry.idl:
4209 Changed definition of KeySet from sequence of longs to sequence of
4210 KeyDefinitions, and added KeyDefinition struct.
4211 Required for fix to bug 80616.
4213 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4214 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4215 to use new definition (see above).
4217 * registryd/deviceeventcontroller.c: handle_keygrab(),
4218 spi_keyset_contains_key():
4219 Changed to make use of new struct; this allows matching based on
4220 string key-name, for instance "Tab". This also allows matching of
4221 composed characters, non-alphanumeric characters in a way that
4222 doesn't involve dependencies on X keysym codes directly, etc.
4224 * test/key-listener-test.c:
4225 Added test for Alt-Tab key using "string" specification of keyset,
4226 and modified one of the tests to use a keycode-based keyset.
4227 Thus this test both tests and demonstrates the creation and use of
4228 keysets of three forms: specified via keycode array,
4229 keysym array, and string array. (The string case only contains a
4230 single string, i.e. a string array of length 1).
4233 Turned on PRINT_TREE option by default. Also fixed a
4234 string-freeing bug in the PRINT_TREE code.
4235 Added a listener to window:minimize events.
4237 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4239 * atk-bridge/bridge.c:
4240 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4241 for window:activate and window:deactiveate
4242 (atk_bridge_property_event_listener atk_bridge_signal_listener
4243 atk_bridge_window_event_listener) Tidy debug code
4245 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4247 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4248 Fixed handling for NULL return value from ATK.
4250 * libspi/action.c libspi/component.c libspi/editabletext.
4251 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4252 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4253 Removed redundant casts.
4255 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4256 Fixed off by one bug.
4258 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4259 function not present in idl)
4261 2002-05-02 jacob berkman <jacob@ximian.com>
4263 * atk-bridge/Makefile.am: make atk-bridge a real module
4265 2002-04-26 Radek Doulik <rodo@ximian.com>
4267 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4268 atk_state_types table
4270 2002-04-22 jacob berkman <jacob@ximian.com>
4273 * libspi/Makefile.am: add deps on the built files to help
4274 automake, and don't version the ORBit typelib
4276 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4278 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4279 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4280 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4281 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4282 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4283 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4284 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4285 libspi/accessible.h libspi/accessible.h libspi/base.h
4286 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4287 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4288 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4289 libspi/spi-private.h libspi/statetset.h libspi/table.h
4290 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4291 util/mag_client.h util/mag_control.c util/mag_image.c
4292 util/mag_image.h util/magnifier.c util/magnifier.h:
4293 Add missing file headers; standardize existing ones
4295 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4297 * atk-bridge/bridge.c: Added window event support.
4299 2002-04-18 Michael Meeks <michael@ximian.com>
4301 * libspi/relation.c (impl_getNTargets): impl.
4302 (impl_getTarget): impl.
4304 * libspi/Makefile.am: fix stateset install.
4306 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4309 Started putting useful info in this file.
4311 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4313 * atk-bridge/bridge.c:
4314 Propagate state-changed notifications to ATs
4316 * cspi/spi_registry.c: update docs to reflect actual behavior of
4317 state-change events.
4319 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4322 Incremented version to 0.12.1
4324 * util/mag_client.h:
4325 Add missing declaration for magnifier_exit,
4326 used by mag_control.c - Forte compiler didn't like
4327 the implicit redeclaration of the function :-(
4330 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4333 Revved version to 0.12 due to API change (see below).
4335 * cspi/spi-roletypes.h:
4336 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4337 definition from the inline docs, and added docs
4338 for SPI_ROLE_LAST_DEFINED.
4341 * cspi/spi_streamablecontent.c:
4342 Added missing seek_type parameter to
4343 (so far unused) method,
4344 AccessibleStreamableContent_seek().
4345 [ RT approval JodyG. ]
4348 Fixed docs for SPI_createAccessibleKeystrokeListener.
4350 * cspi/spi_registry.c:
4351 Fixed docs for SPI_KEYSET_ALL_KEYS.
4353 * docs/reference/cspi/at-spi-cspi-sections.txt:
4354 Added a number of missing APIs to SECTIONS.
4356 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4358 * registryd/Makefile.am:
4360 * cspi/bonobo/Makefile.am:
4361 Add $(X_LIBS) to makefiles.
4363 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4366 Revved version to 0.11.
4368 * libspi/component.c:
4369 Added implementation for grabFocus.
4371 * idl/Accessibility_Component.idl
4372 (Accessibility_Component_grabFocus):
4373 Made this method return boolean to indicate success or failure, to
4374 be consistent with cspi and the corresponding ATK method.
4376 * idl/Accessibility_Selection.idl
4377 (Accessibility_Selection_selectAll) :
4378 Made these methods return boolean to indicate success or
4379 failure, to be consistent with cspi and the corresponding ATK methods.
4381 * idl/Accessibility_EditableText.idl
4382 (Accessibility_EditableText_setTextContents,
4383 Accessibility_EditableText_insertText,
4384 Accessibility_EditableText_cutText,
4385 Accessibility_EditableText_deleteText,
4386 Accessibility_EditableText_pasteText):
4387 Made these methods return boolean to indicate
4390 * cspi/spi_editabletext.c:
4391 Made these methods return booleans.
4393 * libspi/selection.c:
4394 * libspi/component.c:
4395 * libspi/editabletext.c:
4396 Connected the boolean returns from ATK
4397 to the server-side code referenced above.
4399 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4401 * idl/Accessibility_Table.idl: Added missing methods,
4402 Accessibility_Table_addRowSelection,
4403 Accessibility_Table_addColumnSelection,
4404 Accessibility_Table_removeRowSelection,
4405 Accessibility_Table_removeColumnSelection.
4408 Added C wrappers for above IDL:
4409 AccessibleTable_addRowSelection,
4410 AccessibleTable_addColumnSelection,
4411 AccessibleTable_removeRowSelection,
4412 AccessibleTable_removeColumnSelection.
4415 Added server-side implementation code for IDL above, connecting
4416 to pre-existing ATK api.
4418 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4420 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4422 * libspi/accessible.c: Added implementation fo
4423 Accessibility_Accessible_get_state.
4425 * libspi/libspi.h: Added stateset.h to the list of includes.
4427 * libspi/stateset.c: Fixed broken implementation.
4429 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4432 Added implementation code for Accessibility_Magnifier_exit ().
4434 * util/mag_control.c:
4435 Added test code for above method; you can
4436 now kill an existing magnifier via
4437 ./mag_control q, from the util directory.
4439 * test/key-listener-test.c:
4441 Added a new test, for our key listener API.
4443 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4445 * test/app.c, test/keysynth-demo.c:
4447 Replace use of snprintf with g_snprintf.
4448 (fix for bugzilla 78249)
4450 2002-03-27 Michael Meeks <michael@ximian.com>
4454 * util/Makefile.am (INCLUDES): fix.
4455 (DONT_DIST_SOURCE): don't distribute the
4458 * libspi/Makefile.am (dist-hook): ditto.
4460 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4462 * libspi/hypertext.c:
4463 Fix warnings when yelp is used with atk-bridge
4465 2002-03-21 Michael Meeks <michael@ximian.com>
4467 * libspi/application.c (spi_application_new):
4468 use spi_accessible_construct so we use the AtkObject
4471 2002-03-19 Michael Meeks <michael@ximian.com>
4473 * registryd/registry.c (desktop_remove_application),
4474 (desktop_add_application): clean coding style.
4476 * registryd/desktop.c (spi_desktop_remove_application),
4477 (spi_desktop_add_application): kill re-enterency hazards.
4478 (spi_desktop_dispose): remove bogus redundant cast
4479 obscuring bug; fix bug too.
4480 (spi_desktop_init): make the desktop object immortal.
4482 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4485 Added a #define-guarded tree-traversal step
4486 when enumerating the apps (diagnostic tool).
4488 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4490 * idl/Accessibility_Role.idl:
4491 Added ROLE_DRAWING_AREA which seemed to be missing from the
4494 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4496 * cspi/spi-roletypes.h cspi/spi_accessible.c
4497 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4500 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4501 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4502 AT when applications are added and removed from the desktop. This
4503 reverts the previous broken implementation using the backing
4504 AtkObject for the SpiDesktop.
4506 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4508 * registryd/desktop.c: emit the "children-changed::add" and
4509 "children-changed::remove" signals on the backing ATK object for
4510 the desktop so AT can tell when applications are started and shut
4513 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4515 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4517 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4519 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4521 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4523 * cspi/state-types.h: synched with IDL and ATK
4525 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4527 * libspi/accessible.c
4528 (impl_accessibility_accessible_get_child_at_index):
4529 Change return value for g_return_if_fail ()
4530 to CORBA_OBJECT_NIL instead of "0" (!)
4532 * registryd/Makefile.am:
4533 * registryd/Accessibility_Register.server.in:
4534 Changed name of executable, "registryd",
4535 to something more informative:
4538 2002-03-13 Michael Meeks <michael@ximian.com>
4540 * atk-bridge/bridge.c (atk_bridge_init): don't register
4541 if we're in a bonobo-component, rather than a bonobo app.
4543 2002-03-13 Michael Meeks <michael@ximian.com>
4545 * atk-bridge/bridge.c (gtk_module_init): split
4546 out body to (atk_bridge_init): here, since otherwise
4547 we get symbol conflicts and oddness when invoked
4548 from (gnome_accessibility_module_init): here (upd.)
4550 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4553 New file. Explicitly allow "build sheriff" putbacks provided
4554 they are tested on Solaris.
4556 * docs/reference/cspi/Makefile.am:
4557 Added '-' to the "cp" command for index.sgml.
4558 ("patch by thomasvs, soon coming to a GUADEC near you")
4561 Incremented version number (0.9.0) for new release.
4562 Changed macro that checks for popt, to better detect
4563 obsolete versions of popt.
4566 Added X_LIBS to AC_SUBST, for applications
4567 that call Xlib API directly.
4570 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4573 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4576 Fix regression caused by hard-coding major
4577 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4580 * test/test-simple.c (test_editable_text),
4581 (test_test): revert previous change (error was
4582 a regression in gail which is now fixed).
4584 2002-03-04 Michael Meeks <michael@ximian.com>
4586 * test/test-simple.c (test_editable_text),
4587 (test_text): pass G_MAXINT instead of '-1' for
4588 whole string - is this a good thing !?
4590 * cspi/spi_accessible.c
4591 (Accessible_getRelationSet): fix crasher bug
4592 overwriting the end of the array.
4594 * test/test-simple.c (validate_accessible): free,
4595 not g_free returned relation set.
4597 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4599 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4600 implemented stateset support
4602 * idl/Accessibility_State.idl: Made necessary changes to
4603 the IDL to support state sets.
4605 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4607 * registryd/deviceeventcontroller.c:
4608 Added implementation for generateMouseEvent.
4610 * cspi/spi_registry.c:
4611 Connected new implementation for generateMouseEvent
4614 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4617 Incremented revision (but no change in public API
4618 outside of 'utils', which are not installed public yet.)
4620 * libspi/component.c:
4621 Changed to use atk_component API for layers and
4622 mdi_zorder, instead of deprecated atk_object API.
4624 Magnification Utility Enhancements:
4627 Added implementation of createZoomRegion, clearAllZoomRegions,
4628 resizeZoomRegion. Added new commandline argument
4629 "--no-initial-region". Note that clearAllZoomRegions doesn't
4630 unmap the old '0' region as it should (yet), and the other
4631 methods only work when creating/resizing a single region,
4632 which is "region 0".
4633 (Code for multiple region support will be added later.)
4636 Now we raise the magnifier window each time it's refreshed;
4637 this will help keep it on top.
4639 * util/mag_client.h:
4640 Added simple wrappers for above, used by mag_control.
4641 For general use, it's recommended to use the bonobo magnifier
4642 control API directly instead of using these wrappers.
4645 Moved ZoomRegionData from magnifier.c to this file.
4647 * util/mag_control.c:
4648 Added some code to exercise new IDL implementations.
4650 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4652 * libspi/text.c: Provide implementation for getAttributes.
4654 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4657 Incremented revision.
4659 * test/test-simple.c:
4660 Replaced use of deprecated g_main_iteration with
4661 g_main_context_iteration.
4663 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4666 Incremented revision for desktop alpha 2.
4668 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4670 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4673 * test/simple-at.c: include netinet/in.h.
4675 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4677 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4678 use NULL, not CORBA_OBJECT_NIL.
4680 * libspi/accessible.c:
4681 (impl_accessibility_accessible_get_relation_set):
4682 allocate the sequence correctly.
4684 * libspi/remoteobject.h: kill spi_remote_object_new.
4686 * test/test-simple.c: (validate_accessible): add code
4687 to test relation sets, now all we need is to figure
4688 out how to excercise this code path :/
4690 2002-01-18 Michael Meeks <michael@ximian.com>
4692 * test/test-simple.c
4693 (key_listener_cb): consume the key.
4694 (test_keylisteners): update.
4695 (main): wait for any pending unrefs on events.
4697 * registryd/deviceeventcontroller.c
4698 (spi_controller_update_key_grabs): only re-issue the
4699 grab on a key release.
4700 (spi_device_event_controller_forward_key_event):
4701 refresh the keygrabs before we notify the listeners,
4702 to reduce the X ungrab / re-grab race.
4703 (spi_controller_register_with_devices): remove
4704 XSelectInput - we do that with the gdk_window_ call.
4705 (_spi_controller_device_error_handler): return a value.
4706 s/GDK_DISPLAY/spi_get_display/
4708 2002-01-17 Michael Meeks <michael@ximian.com>
4710 * registryd/deviceeventcontroller.c
4711 (_deregister_keygrab): don't blow out the later
4714 * test/test-simple.c (test_keylisteners): do a
4715 more intelligent validation.
4717 2002-01-14 Michael Meeks <michael@ximian.com>
4719 * atk-bridge/bridge.c
4720 (gnome_accessibility_module_init),
4721 (gnome_accessibility_module_shutdown): impl.
4722 (gtk_module_init): protect vs. double inits.
4723 (add_signal_listener): impl.
4724 (spi_atk_bridge_state_event_listener): kill
4725 (deregister_application): split out of
4726 (spi_atk_bridge_exit_func): here.
4728 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4731 Added caret tracking when using magnifier, and
4732 now use text bounds for focus tracking of text elements, rather than
4733 the component bounds - this is helpful for short text fields in long
4734 table cells, at high magnification.
4736 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4738 * registryd/deviceeventcontroller.c:
4739 Regression fix for keylistener de-registration; global keygrabs
4740 were not being released when deregisterKeystrokeListener was
4741 called in cspi, since
4742 Accessibility_DeviceEventController_deregisterKeystrokeListener
4743 was called with a zero-length keyset. That is because the cspi
4744 method, SPI_deregisterKeystrokeListener, does not take a keyset
4745 parameter but instead should remove all the key grabs held be a
4747 The code in impl_deregister_keystroke_listener was changed to copy
4748 the keylist from the listener instance previously registered with
4749 the DeviceEventController before releasing the grabs.
4751 * registryd/registry.c:
4752 * registryd/deviceeventcontroller.c:
4753 * libspi/spi-private.h:
4755 Changed spelling of "re-enterant" to "re-entrant" globally.
4757 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4759 * test/test-simple.c:
4760 Changed key listeners test - the test was slightly mis-using the
4761 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4762 It now uses '=' as the key event listened to and generated,
4763 relying on a keysym match rather than assuming that keycode 33
4764 is always equal to keysym '!'.
4766 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4769 Changed simple-at to use a specific keyset, rather than
4770 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4771 manager, desktop, etc.
4773 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4775 * registryd/deviceeventcontroller.c:
4776 Replaced standard X error handler with a special handler that
4777 is non-fatal for failed keygrabs. This works around
4778 problems with keygrab clashes sometimes observed on
4780 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4781 mouse handling code as yet).
4783 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4786 Incremented revision for desktop alpha release.
4789 Fixed a couple of the more glaring errors (still not
4792 2002-01-11 Michael Meeks <michael@ximian.com>
4794 * registryd/deviceeventcontroller.c
4795 (spi_device_event_controller_forward_key_event): kill
4796 XUngrabKey / XKeyGrab race.
4797 (spi_controller_grab_keyboard): rename to
4798 (spi_controller_update_key_grabs): this, and deal
4799 with incremental adding / removing grabs more
4801 (_register_keygrab): ensure we're not pending a remove.
4802 (spi_grab_mask_free): impl.
4803 (spi_controller_register_global_keygrabs): split out
4805 (handle_keygrab): impl.
4806 (_deregister_keygrab): impl.
4807 (spi_controller_deregister_global_keygrabs): impl.
4808 (spi_controller_update_key_grabs): re-issue the grab if
4809 we just recieved a notification.
4811 * test/test-simple.c (key_listener_cb): remove debug.
4813 * registryd/deviceeventcontroller.c
4814 (spi_controller_register_device_listener): after
4815 registering a global keygrab, actualy register it !
4816 don't wait for a timeout; doh !
4818 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4819 to make it more readable / manipulable.
4820 s/grabmask/grab_mask/ s/refcount/ref_count/
4821 s/keyval/key_val/ s/modmask/mod_mask
4823 2002-01-08 Michael Meeks <michael@ximian.com>
4825 * registryd/deviceeventcontroller.c
4826 (spi_controller_register_with_devices): use gdk calls to
4828 (global_filter_fn): implement the filter.
4829 (spi_device_event_controller_check_key_event): rename to
4830 (spi_device_event_controller_forward_key_event): this & upd.
4831 (spi_get_display): replace with GDK_DISPLAY.
4833 * registryd/deviceeventcontroller.c
4834 (spi_controller_deregister_device_listener): unroll into
4835 (impl_deregister_keystroke_listener): here to simplify.
4836 (spi_controller_register_global_keygrabs): split cut and
4837 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4838 (spi_controller_deregister_device_listener): remove.
4839 (impl_register_mouse_listener): remove, no mouse listener
4840 support in at-spi-1.0
4842 * registryd/registry.c
4843 (_device_event_controller_hook): kill.
4844 (spi_registry_init): upd.
4846 * registryd/deviceeventcontroller.c
4847 (spi_device_event_controller_class_init): upd.
4848 (spi_check_key_event): merge into.
4849 (spi_device_event_controller_check_key_event):
4850 here and kill strange static ev init, don't leak
4851 the x_event - nor dynamicaly allocate it.
4853 * registryd/registry-main.c (main): re-direct
4854 timeout to remove strange vtable mess.
4856 * registryd/deviceeventcontroller.c
4857 (remove_listener_cb): impl.
4858 (spi_controller_deregister_device_listener):
4859 fix re-enterancy hazard.
4861 2002-01-07 Michael Meeks <michael@ximian.com>
4863 * registryd/deviceeventcontroller.c
4864 (spi_device_event_controller_new): upd.
4865 (impl_notify_listeners_sync): upd. debug.
4866 (spi_notify_keylisteners): fix re-enterancy hazards,
4867 prettify, remove O(n*n) iteration.
4868 (spi_controller_grab_keyboard): fix iteration.
4869 (spi_check_key_event): re-format to suit coding style.
4870 Clean all the warnings - we're warning free.
4872 * registryd/deviceeventcontroller.h:
4873 * registryd/registry.h: make mutualy referential with
4874 typesafe forward references instead of (!) void pointer
4877 2002-01-11 Michael Meeks <michael@ximian.com>
4879 * cspi/spi_accessible.c (role_names): add a role name
4880 to sync this array with the enum; and make the regression
4883 2002-01-10 Michael Meeks <michael@ximian.com>
4885 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4886 allow expansion of enumeration & kill warning.
4888 * test/test-simple.c (key_listener_cb): impl.
4889 (test_keylisteners): impl.
4891 * cspi/spi-listener.h: make listener signatures const
4892 on the provided (const) events.
4894 * test/keysynth-demo.c: upd. to const events.
4896 * test/simple-at.c: ditto.
4898 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4901 Rev the version to 0.5 (the previous tarball was named 0.4,
4902 even though the micro number was 3), so we need to rev upwards
4903 again for beta2/"desktop-alpha"
4906 Checked in a demo script, which requires editing before use!
4907 Proceed with caution.
4910 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4912 * cspi/spi_accessible.c:
4913 Add a couple of missing enum initializations, and fix some enum
4916 * cspi/spi_registry.c:
4917 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4919 * docs/reference/cspi/at-spi-cspi-sections.txt:
4920 Remove/fix a couple of broken document references.
4923 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4924 as Alt-Control to listen for commands, since on some systems
4925 Control-Alt may already be grabbed.
4927 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4930 Update version number to 0.4 for Beta2.
4932 * libspi/accessible.c, libspi/accessible.h:
4933 Expose spi_accessible_construct, to enable libgail-gnome
4934 construction from spi_accessible subtype.
4936 * utils/magnifier.c:
4937 Workaround for bug in some non-gnome-compliant window managers
4938 which made magnifier resize improperly.
4940 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4942 * libspi/accessible.c: (spi_accessible_new) :
4943 Move the test for SPI_IS_REMOTE_OBJECT to
4944 spi_accessible_new_return, fixing a bug and compile time warning.
4946 2002-01-08 Michael Meeks <michael@ximian.com>
4948 * registryd/registry.c (parse_event_type): remove strndup.
4950 * libspi/Makefile.am (libspi_la_SOURCES): remove
4951 sources already included in the headers section.
4953 * libspi/util.c: add.
4955 * libspi/spi-private.h: add.
4957 * registryd/registry.c: update to moved list iterators.
4959 2002-01-05 Michael Meeks <michael@ximian.com>
4961 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4963 * test/test-simple.c (main): ditto.
4965 2002-01-04 Michael Meeks <michael@ximian.com>
4967 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4968 redundant construct.
4970 * registryd/registry.c
4971 (get_listener_list): impl.
4972 (impl_accessibility_registry_register_global_event_listener):
4973 re-impl. to simplify using ~, remove dodgy const cast off.
4974 (parse_event_type): constify.
4975 (impl_accessibility_registry_deregister_global_event_listener_all):
4976 re-write, more efficiency and simplicity, kill re-enterancy
4978 (compare_listener_corbaref, compare_corba_objects),
4979 (compare_listener_quarks): define out.
4980 (impl_accessibility_registry_deregister_global_event_listener):
4981 re-write for effiency, and nail re-enterancy hazard.
4982 (impl_accessibility_registry_get_desktop_list): impl.
4983 (re_enterant_list_delete_link): impl.
4984 (re_enterant_list_foreach): impl.
4985 (remove_listener_cb): impl.
4986 (_registry_notify_listeners): kill.
4987 (notify_listeners_cb): impl.
4989 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4990 (SPI_getDesktopList): impl.
4992 * test/test-simple.c (test_desktop): test the methods.
4994 2002-01-03 Michael Meeks <michael@ximian.com>
4996 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4997 keystrings since we free them
4998 (SPI_freeAccessibleKeySet): in here.
5000 * libspi/accessible.c (spi_accessible_new): kill warning,
5001 wonder what is going on with the constructor here.
5003 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5005 * libspi/accessible.c (spi_accessible_new ()) :
5006 Added check to see if AtkObject is an SpiRemoteObject before
5007 creating an SpiAccessible.
5009 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5011 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5012 Enable keygrabs using the Control modifier, now that they are
5013 working properly (they were previously disabled).
5016 Change the command keygrab for this demo to "Control+Alt", so as
5017 to conflict with fewer other key commands on the system; this
5018 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5020 Removed a pointlessly-chatty keylistener for unshifted keys
5021 (shifted keys are still reported).
5023 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5025 * libspi/remoteobject.h:
5026 * libspi/remoteobject.c:
5027 Added definitions for special AtkObject subtype, required for
5028 support of remote components (specifically, used by BonoboControl
5029 accessibility implementation).
5031 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5033 * cspi/spi.h: synched relation types with ATK
5035 * cspi/spi_accessible.c: Added implementations of
5036 AcccessibleRelation_* methods
5038 * idl/Accessibility_Relation.idl: added getRelationTypeName
5039 method. Synched known relation types with ATK. Allowed for
5040 relation type extension with the RELATION_EXTENDED type.
5042 * libspi/relation.c: Provided implementations for
5043 AccessibleRelation methods.
5045 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5047 API tweaks for today's API 'freeze'.
5050 Added placeholder functions to allow future compatible expansion
5051 of the IDL interfaces.
5053 * idl/Accessibility_Registry.idl:
5054 Changed generateKeyEvent to generateKeyboardEvent. Changed
5055 signature of this method to accept an optional keystring in
5056 parameter (for complex text input synthesis) and changed use of
5057 simple 'boolean' parameter in registerKeystrokeListener to a
5058 struct, EventListenerMode.
5060 * cspi/spi_accessible.c:
5062 * cspi/spi_streamablecontent.c:
5063 Added references to AccessibleStreamableContent interface, and
5064 definition and implementation of AccessibleStreamableContent
5067 * cspi/spi_registry.c:
5069 Changed generateKeyEvent API to generateKeyboardEvent,
5070 taking a new (optional) keystring parameter to support complex
5075 Renamed directory (to better reflect its actual purpose, bridging
5076 from at-spi to ATK). The .so module is also now named
5079 * idl/Accessibility_Hypertext.idl:
5080 * libspi/accessible.c:
5081 * libspi/hypertext.h:
5082 * libspi/hypertext.c:
5083 Changed Accessibility_Hypertext to *not* derive from
5086 * cspi/spi_registry.c:
5087 Added list of legal event type names for 'window' events, which
5088 completes the registry event API.
5090 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5092 * at-bridge/bridge.c: Added registration for separate
5093 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5094 signals. If either of the first two parameters to the generic
5095 bridge signal handler are ints, they are passed on as event
5096 details. This allows an AT to determine what text was inserted.
5098 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5100 * registryd/deviceeventcontroller.c:
5101 Fixed regressions in generateKeyEvent caused by the removal of
5102 gdk_init from registryd; we now use pure X calls to connect to the
5103 display, which makes sense because deviceeventcontroller already
5104 uses a fair bit of X API (should eventually be migrated to a
5105 'portability layer').
5107 * registryd/desktop.c:
5108 Fixed minor regression in spi_desktop_init, changed the way the
5109 desktop name is being set to work with new spi_base API
5110 (gobject-based, rather than AtkObject-based).
5112 * registryd/Makefile.am:
5113 Minor revision of makefile to use XTST_LIBS variable rather than
5114 hard-wiring the Xtst LD_ADD element.
5116 * test/keysynth-demo.c:
5117 Tweaked an output message; added initialization of the
5118 'keystrings' member of the "switch listener" key_set.
5120 * libspi/relation.c:
5121 Squashed compile-time warning.
5123 * libspi/accessible.c:
5124 Cosmetic and formatting fixes, renamed a static method.
5126 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5128 * libspi/accessible.c
5130 * libspi/application.c
5133 * libspi/component.c
5134 * libspi/editabletext.c
5135 * libspi/hyperlink.c
5136 * libspi/hypertext.c
5138 * libspi/selection.c
5142 * registryd/desktop.c:
5143 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5145 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5147 * idl/Accessibility_Registry.idl:
5148 Added boolean member 'is_text' to DeviceEvent. This is for the
5149 use of key events, and helps prevent ambiguity between composed
5150 key strings and keysym names, since both may potentially be
5151 returned in the 'event_string' member.
5153 * at-bridge/bridge.c:
5154 * registryd/deviceeventcontroller.c:
5155 Use the 'is_text' member when notifying device event listeners.
5156 Knon issue: composed characters are not dealt with correctly by
5157 the global key listener implementation yet.
5159 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5161 * at-bridge/bridge.c:
5162 Namespaced local static methods to spi_atk_bridge_* where
5163 previously named bridge_*, and spi_* elsewhere.
5165 * at-bridge/bridge.c:
5166 * cspi/bonobo/cspi-bonobo-listener.c:
5167 Added demarshalling/conversion for string member of
5168 Accessibility_DeviceEvent to AccessibleKeystroke.
5170 * registryd/deviceeventcontroller.c:
5171 Added code to fill the Accessibility_DeviceEvent key string value
5172 member for global key events (i.e. from XGrabKey), to match
5173 behavior of Accessibility_DeviceEvent from the toolkit key events
5174 from the bridge. Fixed timestamp in global key event notifications.
5177 Added printout of key event's string value to
5178 report_ordinary_key_event, for demo/debugging purposes.
5180 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5182 * idl/Accessibility_Registry.idl:
5183 Removed Accessibility_KeyStroke structure in favor of generic
5184 Accessibility_DeviceEvent structure.
5185 Changed Accessibility_ControllerEventMask from a struct to an
5188 * at-bridge/bridge.c:
5189 Changed APIs to use DeviceEvent structure as above, and removed
5190 bogus casting between these event structures.
5192 * cspi/spi-listener.h:
5193 Added keystring member of AccessibleKeystroke structure, to enable
5194 matching on event "names" rather than only hardware codes and
5198 Added keystrings member of AccessibleKeySet struct, to allow
5199 matching on event names (as above).
5200 Added declarations for SPI_createAccessibleKeySet and
5201 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5202 event modmasks directly as unsigned ints rather than structs with
5203 refcounts, in the DeviceEventController methods.
5205 * cspi/spi_registry.c:
5206 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5208 * cspi/spi-roletypes.h:
5209 Added documentation of newly added SPI Roles.
5211 * cspi/bonobo/cspi-bonobo-listener.c:
5212 Changes in support of API changes above.
5214 * libspi/accessible.c:
5215 Converted APIs to use DeviceEvent structure (see IDL changes
5218 * registryd/deviceeventcontroller.c:
5219 Added DEControllerGrabMask structure to track keygrabs not only by
5220 modmask but by keyset as well; this allows us to do "global"
5221 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5222 grabbing on AnyKey and then filtering after-the-fact.
5223 Bugfixes for event filtration mean that we don't get false matches
5224 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5226 * registryd/deviceeventcontroller.c:
5227 Namespaced a number of static methods to use spi_ prefix. Major
5228 revision to internals of global (i.e. X) key grabs.
5230 * registryd/deviceeventcontroller.h:
5231 Removed keymask_list and added keygrabs_list to
5232 SpiDeviceEventController struct.
5235 Added use of SPI_createAccessibleKeySet API when creating a
5236 listener for only one key. Attach a listener to "shift spacebar
5237 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5238 X key event names to SPI key event names, so that listeners are
5239 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5241 * test/keysynth-demo.c:
5242 Changed (incorrect) use of X key event names (KeyPressed,
5243 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5246 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5248 * libspi/accessible.c:
5249 Convert all AtkRole enumerations to Accessibility_Role enums when
5250 getting a role from an AtkObject.
5252 * cspi/spi_accessible.c:
5253 Complete the conversion of Accessibility_Role enums at runtime to
5254 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5255 role enums correctly match those given in spi-roletypes.h.
5256 Re-synchronize the local names list for AccessibleRole_getName ().
5257 AccessibleRole_getName is now deprecated, since it duplicates the
5258 more reliable Accessible_getRoleName.
5259 Added some role types from Accessibility_Role.idl.
5261 * idl/Accessibility_Role.idl:
5262 Added some role types used by AtkRole.
5264 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5267 * cspi/spi_registry.c:
5269 * cspi/cspi-bonobo-listener.c:
5270 Namespaced all methods that did not begin with an "SPI_" or
5271 "Accessible" prefix to "SPI_".
5274 Homogenized internal function namespace to "cspi_" for statics.
5277 Patched tests to use the new CSPI API.
5279 * docs/reference/cspi/at-spi-cspi-sections.txt:
5280 Updated docs to reflect namespace changes, and added a number of
5281 methods to the documentation.
5283 * registryd/registry.c:
5284 Changed use of strings and string hashes in listener event
5285 matching and parse_event_string to use GQuark, which is guaranteed
5288 * registryd/registry.h:
5289 Squashed annoying warning.
5291 * idl/Accessibility_Role.idl:
5292 Extended range of available Accessibility_Role values.
5294 * cspi/spi_accessible.c:
5295 Re-ordered role names.
5297 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5299 * idl/Accessibility_Value.idl:
5300 Revert use of union back to CORBA_double, since the double type is
5301 more efficient and can contain the other types without loss of
5304 * idl/Accessibility_Accessible.idl:
5305 Added method Accessibility:Accessible:getRoleName, to complement
5306 Accessibility:Accessible:getRole.
5308 * cspi/spi_accessible.c:
5310 Added C binding for above, Accessible_getRoleName (), and changed
5311 signature of Accessible_getRole () to return an AccessibleRole.
5313 * cspi/spi-roletypes.h:
5314 Changed AccessibleRole_getName to return a char * instead of a
5315 const char *. This method is now at least temporarily deprecated
5316 in favor of asking Accessibles for their RoleNames directly.
5319 Revert to match Accessibility_Value.idl;
5323 Change signature of AccessibleValue methods to use double rather
5327 * cspi/spi_accessible.c:
5328 Changed Accessible_getRole to return an AccessibleRole enum rather
5329 than a UTF-8 string. The UTF-8 string can still be obtained via
5330 AccessibleRole_getName ().
5332 * test/test-simple.c:
5333 Add test_action. Small fixup to match API change to Accessible_getRole.
5336 Bugfix for get_action_from_servant ().
5338 2001-12-11 Michael Meeks <michael@ximian.com>
5340 * libspi/libspi.h: remove registry.h and
5341 desktop.h, deviceeventcontroller.h
5343 * libspi/Makefile.am: remove registry.[ch],
5344 desktop.[ch], deviceeventcontroller.[ch]
5346 * registryd/Makefile.am: add registry.[ch],
5347 desktop.[ch], rename registryd.c to registry-main.c.
5348 add deviceeventcontroller.[ch]
5350 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5353 Replace setenv() call with putenv ().
5355 * libspi/component.c:
5356 Bugfix in AccessibleComponent_getExtents (),
5359 2001-12-11 Michael Meeks <michael@ximian.com>
5361 * libspi/image.c (impl_getImageExtents): impl.
5362 (spi_image_class_init): upd.
5365 (AccessibleImage_getImageDescription): fix daft bug
5368 * test/test-simple.c (global_listener_cb): update
5369 to only quit if not --poke
5370 (main): catch --poke.
5371 (validate_accessible): upd. dumping, call test_image
5374 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5377 * idl/Accessibility.idl: update all IDL includes.
5379 * idl/*.idl - rename to namespace - this sucks, blame
5380 mjs' bad decision for oafd.
5382 * test/test-simple.c (create_test_window): add more tests.
5383 (create_tree): split this out.
5384 (validate_accessible): bugfix.
5386 2001-12-11 Michael Meeks <michael@ximian.com>
5388 * cspi/bonobo/cspi-bonobo-listener.c:
5389 (cspi_kestroke_listener_unref),
5390 (cspi_event_listener_unref): impl. undoing previous
5391 homenous environment - for Bill.
5393 * cspi/spi_table.c (long_seq_to_array): use
5396 * cspi/spi_main.c: split out all bonoboish bits into
5399 * cspi/spi-impl.h: upd. typedefs.
5401 * cspi/spi_registry.c: update to lowlevel API,
5402 return booleans to indicate success in some places.
5404 * cspi/spi_event.c: update to lowlevel API.
5406 * cspi/bonobo/Makefile.am: add.
5408 * cspi/bonobo/cspi-lowlevel.h: add
5410 * cspi/bonobo/cspi-bonobo.c: add
5412 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5414 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5415 (SUBDIRS): add bonobo, link in the libs.
5417 * cspi/spi-util.c: kill this file.
5419 * TODO: merge in my bits.
5421 2001-12-11 Michael Meeks <michael@ximian.com>
5423 * test/test-simple.c (test_value, test_table, main):
5424 remove unused variables causing warnings.
5426 * configure.in: cleanup checks - require gail.
5428 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5431 Changed Value interface to use SValue (scalars) rather than
5432 assuming all values are floats. This allows floats, doubles,
5433 longs, shorts, and unsigned values to be manipulated.
5434 Introduced Accessibility:SValue union.
5437 Updated to use new API above, and to work correctly with GValues
5438 of different types in AtkValue.
5441 Updated to use new API above. cspi's API is as yet unchanged.
5444 Updated the Value revision action item.
5446 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5448 * test/test-simple.c:
5449 Added test_table (GtkTreeView widget in test window to follow).
5450 Un-commented test_value, added GtkRange widget.
5451 Added GtkTreeView widget with GtkListStore. It passes regression
5452 test but leaks one SPI object for some reason.
5455 Fixed bug in impl__set_currentValue.
5457 2001-12-10 Michael Meeks <michael@ximian.com>
5459 * cspi/spi_text.c: audit for exception handling,
5460 tolerating NULL object references safely etc.
5462 * cspi/spi_value.c: ditto.
5464 * cspi/spi_table.c (AccessibleTable_getSummary),
5465 (AccessibleTable_getAccessibleAt),
5466 (AccessibleTable_getRowHeader),
5467 (AccessibleTable_getColumnHeader),
5468 (AccessibleTable_getCaption): fix bugs hidden by
5470 (long_seq_to_array): impl.
5471 (AccessibleTable_getSelectedRows),
5472 (AccessibleTable_getSelectedColumns): use it.
5474 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5477 Added a TODO list (rough and short for now).
5479 * cspi/spi_hyperlink.c:
5480 * cspi/spi_hypertext.c:
5481 Fixed macro name typos, and remove use of obsolete macro in
5482 AccessibleHyperlink_getLink.
5484 * cspi/spi_action.c:
5485 * cspi/spi_accessible.c:
5486 * cspi/spi_application.c:
5487 * cspi/spi_component.c:
5488 * cspi/spi_selection.c:
5491 Documentation fixes (removed return values from ref/unref methods).
5493 2001-12-10 Michael Meeks <michael@ximian.com>
5495 * cspi/spi_action.c: audit for exception handling,
5496 tolerating NULL object references safely etc.
5498 * cspi/spi_accessible.c: ditto.
5500 * cspi/spi_component.c: ditto.
5502 * cspi/spi_editabletext.c: ditto.
5504 * cspi/spi_hyperlink.c: ditto.
5506 * cspi/spi_hypertext.c: ditto.
5508 * cspi/spi_image.c: ditto.
5510 * cspi/spi_selection.c: ditto.
5512 2001-12-10 Michael Meeks <michael@ximian.com>
5514 * configure.in: use cspi/libspi.pc.in instead.
5516 * Makefile.am (pkgconfig_DATA): upd. to match.
5518 * test/simple-at.c (report_focus_event): kill hacks around
5519 bad return values, use putenv not setenv
5521 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5522 fire ChildGone - I killed it.
5524 * libspi/component.c
5525 (impl_accessibility_component_get_extents): remove
5528 * idl/Accessible.idl: kill ChildGone exception.
5530 * cspi/*.[ch]: kill int return from ref / unref.
5532 * cspi/spi_main.c (cspi_object_add_check): fold into
5533 (cspi_object_add): here.
5535 * cspi/spi_component.c (AccessibleComponent_getExtents):
5536 handle exceptions elegantly.
5538 * cspi/spi-private.h (cspi_check_ev_return),
5539 (cspi_return_if_fail): impl.
5541 * cspi/spi_accessible.c: use extensively.
5542 (AccessibleStateSet_equals): add direct compare check.
5544 * cspi/spi_selection.c: tolerate NULL objs, and check
5545 exceptions before return.
5547 * cspi/spi-util.c (cspi_warn_ev): rename to
5548 (cspi_check_ev): this & don't pass ev in; no point.
5550 2001-12-10 Michael Meeks <michael@ximian.com>
5552 * test/test-simple.c: use putenv not setenv
5553 (get_environment_vars): more chatty if you're not using
5556 * test/simple-at.c: do the setenv so more people see the
5559 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5561 * libspi/registry.c:
5562 Changed check of CORBA_environment on notification to be a warning
5563 instead of an error for the moment, since we can recover from this
5564 error when caused by a queued notification from a dead app.
5567 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5568 used by all current implementors of AtkValue), and coerce to
5569 CORBA_float. (Proper general case fix may require change to Value.idl).
5571 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5575 * cspi/spi_accessible.c:
5576 Documentation fixes: added user_data params to documentation for
5577 listeners and callbacks.
5579 * cspi/spi_accessible.c:
5580 Changed AccessibleStateSet_compare to return a
5581 StateSet rather than return the difference set into a third parameter.
5584 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5587 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5588 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5592 Remove subdirectory po from SUBDIRS for now.
5594 * at-bridge/bridge.c:
5595 Beefed up a couple of debug printouts.
5596 One-line fix for signal notification name formatting.
5598 * libspi/accessible.c:
5599 Added assertion to spi_accessible_new ().
5601 * libspi/application.c:
5602 Put #ifdef qualifiers around a printf.
5605 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5607 * registryd/Makefile.am:
5609 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5610 INTLTOOL_SERVER_RULE macro.
5613 Added an event listener for several ATK signals, for
5614 testing and debugging. Removed a few g_warnings.
5615 Added test output if focussed item implements the Value interface.
5617 * test/test-simple.c:
5618 Added test_value () function (known not to pass at the moment, so
5619 not actually called yet.
5621 2001-12-08 Michael Meeks <michael@ximian.com>
5623 * at-bridge/bridge.c (bridge_focus_tracker),
5624 (emit_eventv): fix the same ref. leak.
5625 (register_atk_event_listeners): don't leak.
5627 * cspi/spi-listener-impl.c (cspi_event): more
5628 protection from client code.
5630 * test/test-simple.c (test_desktop): unref the app.
5632 * test/Makefile.am: upd. TESTS.
5634 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5636 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5638 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5640 * cspi/spi_registry.c: constify in strings.
5641 (deregisterGlobalEventListenerAll): don't release the ref.
5643 * cspi/spi.h: start removing redundant / conflicting
5644 gtkdoc comments, making the API readable at a glance :-)
5646 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5648 * test/keysynth-demo.c (keysynth_exit, main): upd.
5650 * test/simple-at.c (main, simple_at_exit): upd.
5652 * test/test-simple.c (unutterable_horror): kill.
5653 (utterable_normal_derefs): kill.
5654 (main): upd & do a setenv before gtk_init, so that we
5655 can use memprof - and to save the pain of remembering
5656 this, if we're running under memprof - don't exit.
5658 * cspi/spi_main.c (SPI_exit): return exit status
5660 (SPI_event_quit): impl.
5661 (SPI_event_main): simplify.
5662 (cspi_is_gnome_app): kill.
5663 (SPI_init): kill isGNOMEapp arg.
5665 * at-bridge/bridge.c (register_atk_event_listeners):
5666 re-instate the unref.
5667 (bridge_exit_func): don't re-activate the registry,
5668 protect vs. theoretical re-entry, use the
5669 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5670 assert a clean shutdown - for regression tests.
5672 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5674 * configure.in: Comment out dummy i18n support for now,
5675 otherwise it fails to build.
5676 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5677 EXTRA_DIST. They are missing in tarball.
5679 2001-12-07 Michael Meeks <michael@ximian.com>
5681 * util/magnifier.c: kill bonobo activation reg. race.
5683 * libspi/component.c
5684 (impl_accessibility_component_get_extents): make it match
5687 * libspi/registry.c (_registry_notify_listeners):
5688 re-remove X headers & reconcile conflicts.
5689 (spi_listener_struct_free): bad conflict resolve.
5690 (impl_accessibility_registry_register_application):
5691 more bad merging fixed.
5692 (impl_accessibility_registry_deregister_application): ditto.
5693 (spi_registry_new): ditto.
5694 (spi_registry_init): don't have an applications field.
5696 [ merge fixups2 branch to here ]
5697 2001-12-07 Michael Meeks <michael@ximian.com>
5699 * test/simple-at.c (report_focus_event),
5700 (report_focussed_accessible): remove g_warning debug.
5702 2001-12-07 Michael Meeks <michael@ximian.com>
5704 * test/test-simple.c (validate_tree): comment out some checks.
5705 (test_desktop): app now not registered idly - horay.
5707 2001-12-07 Michael Meeks <michael@ximian.com>
5709 * cspi/spi_registry.c
5710 (registerAccessibleKeystrokeListener): clean, stop it leaking
5711 great swathes of memory, and device event controller references.
5712 ensure we always pass valid sequences.
5713 (deregisterAccessibleKeystrokeListener): ditto.
5714 (generateKeyEvent): upd.
5716 * at-bridge/bridge.c (bridge_key_listener): handle
5717 registry dead exception gracefully.
5718 (bridge_focus_tracker, emit_eventv): free ev.
5720 * test/simple-at.c (report_focus_event): fix polarity.
5722 * libspi/application.c (notify_listeners): kill the ev
5723 argument, and make sure we init the ev we use.
5724 (spi_application_object_event_listener): split out a chunk
5725 (get_atk_object_ref): here & fixup.
5726 (reverse_lookup_name_for_toolkit_event): make const.
5727 (spi_application_toolkit_event_listener): fixup, kill leaks
5730 * at-bridge/bridge.c (register_atk_event_listeners):
5731 don't unref the noop object - causes grief.
5733 * libspi/registry.c: remove the X headers.
5734 turn off the debug churn.
5736 * libspi/accessible.c (spi_accessible_new_return): only
5737 release the ref if we are supposed to [doh]
5739 * test/simple-at.c (report_button_press, report_focus_event):
5740 guard vs. unexpected exit.
5742 * at-bridge/bridge.c (gtk_module_init): prune printf.
5743 (bridge_exit_func): fix app unref.
5745 * libspi/Makefile.am: don't install registry or desktop.h
5747 * libspi/*.h: update includes.
5749 * libspi/application.h: don't include ourself, or
5750 other redundant headers.
5752 2001-12-06 Michael Meeks <michael@ximian.com>
5754 * libspi/accessible.c
5755 (get_accessible_from_servant): impl.
5756 Upd. all CORBA impl.s to use it killing cut and paste.
5758 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5760 (SPI_init): register atexit cleanup handler here.
5762 2001-12-06 Michael Meeks <michael@ximian.com>
5764 * at-bridge/bridge.c (gtk_module_init): g_error on
5765 activation exception
5767 2001-12-06 Michael Meeks <michael@ximian.com>
5769 * at-bridge/bridge.c (gtk_module_init): some sort of
5770 confusing merge clash - reverted.
5771 (bridge_idle_init): ditto.
5773 * test/test-simple.c (main, utterable_normal_derefs):
5774 merge from Bill - somehow not committed.
5776 2001-12-06 Michael Meeks <michael@ximian.com>
5778 * libspi/value.c (spi_value_class_init): upd.
5779 (spi_value_finalize): kill.
5781 * libspi/table.c (spi_table_finalize): kill.
5782 (spi_table_interface_new): upd.
5783 (spi_table_class_init): upd.
5784 (get_table_from_servant): impl.
5785 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5787 * libspi/selection.c (spi_selection_finalize): kill.
5788 (spi_selection_interface_new): upd.
5789 (spi_selection_class_init): upd.
5790 (get_selection_from_servant): impl.
5791 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5793 * libspi/relation.c (spi_relation_finalize): kill.
5794 (spi_relation_class_init, spi_relation_new): upd
5796 * libspi/image.c (spi_image_finalize): kill.
5797 (spi_image_class_init): upd.
5798 (spi_image_interface_new): upd.
5799 (get_image_from_servant): impl.
5800 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5802 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5803 (spi_hyperlink_finalize): kill.
5804 (spi_hyperlink_new): upd.
5805 (get_hyperlink_from_servant): impl.
5806 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5808 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5809 (spi_hypertext_finalize): kill.
5810 (spi_hypertext_class_init): upd.
5811 (get_hypertext_from_servant): impl.
5812 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5814 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5815 (spi_editable_text_interface_new): upd.
5816 (get_editable_text_from_servant): impl.
5817 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5819 * libspi/text.c (get_text_from_servant): impl.
5820 All impls - update to use it killing more cut and paste,
5821 also fix bad string returns on duff args ( a somewhat
5822 impossible case to handle - but hey ).
5823 (spi_text_construct): impl.
5824 (spi_text_interface_new): upd.
5825 (spi_text_object_finalize): kill.
5827 * libspi/component.c
5828 (accessibility_component_object_finalize): kill.
5829 (spi_component_class_init): upd.
5830 (get_component_from_servant): impl. helper to kill cut & paste.
5831 (impl_accessibility_component_contains):
5832 (impl_accessibility_component_get_accessible_at_point):
5833 (impl_accessibility_component_get_position):
5834 (impl_accessibility_component_get_extents):
5835 (impl_accessibility_component_get_mdi_z_order):
5836 (impl_accessibility_component_get_layer):
5837 (spi_component_interface_new): upd.
5839 * libspi/action.c (spi_action_finalize): kill.
5840 (spi_action_class_init): upd. inherit from SpiObject.
5841 (spi_action_interface_new): upd.
5842 (get_action_from_servant): impl. helper to reduce cut & paste.
5843 (impl_getKeyBinding, impl_getName, impl_doAction),
5844 (impl_getDescription): Use it everywhere.
5846 * cspi/spi_main.c (get_live_refs): a pointer hash.
5847 (spi_object_hash, spi_object_equal): comment out.
5848 There are issues with CORBA object hashing that need
5851 * libspi/application.c (spi_application_init),
5852 (spi_application_new): upd.
5854 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5855 (spi_accessible_class_init): upd.
5856 s/accessible/object/ in epv methods.
5858 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5860 * at-bridge/bridge.c:
5861 Reorder the bridge initialization into the bridge gtk_module_init,
5862 an immediate call to bridge_register_app, and an idle_add for
5863 register_atk_event_listeners (the only code that *must* wait until
5864 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5865 the activation, creates the application's Accessible object, and
5866 queues the bridge_idle_init function. Restored call to
5867 Accessibility_Registry_deregisterApplication().
5868 Prior to making this call we obtain a new reference to the
5869 registry, which is a temporary hack that helps us handle apps that
5870 shut down the bonobo mainloop before we get there.
5872 * libspi/registry.c:
5873 Fix string leakage in debug block, and don't segv if a an app
5874 dies before its event notifications have been propagated.
5877 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5878 as stopgap measure until we get proper exception handling when
5879 objects die during or before interrogation.
5883 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5884 Also changed default value of is_gnome_app to TRUE.
5887 * test/keysynth-demo.c:
5888 Changed use of SPI_init and SPI_event_main to reflect API change above.
5891 Made report_focus_event check the warning value from getName
5892 before reporting on focussed accessible; simplifies handling of
5893 notifications from dead objects.
5895 * test/test-simple.c: (Changes not in this patch since source is
5898 2001-12-05 Michael Meeks <michael@ximian.com>
5900 * registryd/registryd.c (main): protect against
5901 bonobo-activation startup race condition.
5903 * cspi/spi_main.c (cspi_object_add_check): cope
5904 with the exception elegantly.
5906 * idl/Accessible.idl: decl. ChildGone
5908 * libspi/desktop.c (spi_desktop_dispose): impl.
5909 (spi_desktop_class_init): upd.
5910 (spi_desktop_add_application),
5911 (spi_desktop_remove_application),
5912 (abnormal_application_termination): impl.
5913 (impl_desktop_get_child_at_index): re-impl.
5916 (impl_accessibility_registry_deregister_application),
5917 (impl_accessibility_registry_register_application):
5918 kill excessive debug clutter.
5920 * test/test-simple.c (test_misc): test some NULL
5921 tolerance. (main): upd.
5923 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5924 implements no interfaces - so let's not crash.
5926 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5928 * libspi/accessible.c (spi_accessible_new_return): impl.
5929 helper to calm the cut and paste, to cope with
5930 NULL AtkObjects effectively and efficiently, and to kill
5931 the referencing bugs.
5933 * libspi/table.c (impl_getAccessibleAt),
5934 (impl_getRowHeader, impl_getColumnHeader): upd.
5936 * libspi/hyperlink.c (impl_getObject): upd.
5938 * libspi/accessible.c
5939 (impl_accessibility_accessible_get_child_at_index): upd.
5941 * libspi/component.c
5942 (impl_accessibility_component_get_accessible_at_point): upd.
5944 * test/test-simple.c (test_editable_text, test_text): impl.
5947 * cspi/spi_editabletext.c
5948 (AccessibleEditableText_insertText): constify.
5950 * test/test-simple.c (focus_me): make more robust.
5952 * libspi/accessible.c: remove some printfs in methods that
5953 we test and work fine, so we can get a clean tree dump.
5955 * test/test-simple.c (validate_accessible),
5956 (validate_tree): make tree dumping pretty too.
5958 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5959 it builds without debug on.
5961 * test/test-simple.c (validate_accessible): fix the most
5964 * cspi/spi_main.c (spi_object_release): leave the nicely
5965 blanked memory around if in debug mode.
5967 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5969 [committed to fixups2]
5970 2001-12-05 Michael Meeks <michael@ximian.com>
5972 * libspi/editabletext.c
5973 (spi_editable_text_class_init): g_type_class_peek_parent,
5974 not interface peek - so we finalize cleanly.
5976 * libspi/accessible.c (spi_accessible_new): kill debug.
5978 * test/test-simple.c (validate_accessible): fix ref.
5979 leak, print strings before freeing them; sigh, comment a
5980 chunk out due to strangeness.
5981 (validate_tree): unref the child after use.
5983 * cspi/spi_component.c (AccessibleComponent_getLayer):
5984 add missing break statement, switch on zlayer not the
5985 uninitialized retval.
5987 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5988 before (possibly re-entering) remote unref.
5990 * test/simple-at.c (main): unref the desktop.
5992 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5995 * cspi/spi_main.c (cspi_accessible_is_a): here to
5996 isolate bonobo API usage more.
5998 * libspi/registry.c (impl_accessibility_registry_register_application):
5999 prune bogus comment.
6001 2001-12-04 Michael Meeks <michael@ximian.com>
6003 * test/test-simple.c (validate_tree): upd.
6004 IndexInParent check to make it more lucid.
6005 (validate_accessible): dump the tree.
6007 * libspi/accessible.c (de_register_public_ref),
6008 (get_public_refs): impl.
6009 (spi_accessible_new): make more efficient & intuitive.
6010 Now IndexInParent check works.
6012 2001-12-04 Michael Meeks <michael@ximian.com>
6014 * cspi/spi-util.h: remove.
6016 * cspi/spi.h: move SPI_freeString here
6018 * libspi/component.c (impl_accessibility_component_get_layer):
6020 (impl_accessibility_component_get_mdi_z_order): ditto,
6021 return -1 on error - is this ok ?
6023 * test/test-simple.c (test_application): impl.
6025 * cspi/spi_accessible.c (Accessible_getApplication),
6026 (Accessible_isApplication): impl.
6028 * libspi/registry.c (spi_listener_struct_free): release
6029 the CORBA reference too.
6031 * libspi/accessible.c
6032 (impl_accessibility_accessible_get_parent): fix ref leak.
6034 * libspi/registry.c (spi_registry_new): make the registry
6035 immortal - we don't want it to go away ever.
6037 * libspi/application.c
6038 (spi_accessible_application_finalize): impl. cleanup.
6040 * cspi/spi_registry.c
6041 (deregisterGlobalEventListenerAll),
6042 (deregisterGlobalEventListener),
6043 (deregisterAccessibleKeystrokeListener): fix ref leak.
6045 * cspi/spi_main.c (SPI_init): remove redundant ref.
6047 * test/test-simple.c (unutterable_horror): impl. to force a
6052 (impl_accessibility_registry_deregister_application): release
6053 the application when we de-register it.
6055 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6056 until we have the infastructure to get it right.
6058 2001-12-03 Michael Meeks <michael@ximian.com>
6060 * libspi/Makefile.am: only build eventlistener.[ch]
6062 * libspi/accessible.c
6063 (impl_accessibility_accessible_get_child_at_index): don't leak.
6065 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6066 before we hit the idle handler.
6068 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6069 debugging than exit.
6071 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6073 * libspi/listener.c (impl_notify_event): check source
6074 not NIL before unref.
6076 * libspi/registry.c (impl_registry_notify_event): ditto.
6078 * libspi/eventlistener.c
6079 (impl_accessible_event_notify_event): unref the source.
6081 * libspi/accessibleeventlistener.c
6082 (impl_accessible_event_notify_event): unref the source.
6084 * idl/Event.idl: remove 'hash_id' attribute - of no
6087 * libspi/application.c (notify_listeners): upd list
6089 (spi_application_object_event_listener),
6090 (spi_application_toolkit_event_listener): upd to do correct
6094 (_registry_notify_listeners): update.
6095 (parse_event_type): this method also leaks like a sieve.
6096 (impl_accessibility_registry_deregister_global_event_listener):
6097 fix ETYPE_WINDOW case.
6099 * libspi/application.c
6100 (impl_accessibility_application_register_object_event_listener):
6103 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6105 * libspi/hypertext.c (impl_getLink): ditto.
6107 * cspi/spi_main.c (cspi_object_add): remove
6108 bogus CORBA_Object_duplicate.
6110 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6113 * cspi/spi_accessible.c
6114 (Accessible_getRelationSet): fix leak / referencing issue.
6116 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6117 (cspi_object_add, cspi_object_unref): upd.
6118 (spi_object_release, get_live_refs): impl.
6119 (cspi_cleanup): simplify.
6121 * *.[ch]: s/boolean/SpiBoolean/
6123 * cspi/spi_accessible.c (role_names): actualy order so it
6124 corresponds with the enum !
6126 * test/test-simple.c (test_roles): check some role strings
6127 vs. enums to detect offset errors.
6129 2001-12-01 Michael Meeks <michael@ximian.com>
6131 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6133 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6135 (Accessible_getChildAtIndex): use cspi_add_check so we
6136 check the ev before using a (possibly) invalid value.
6138 * libspi/accessible.c
6139 (impl_accessibility_accessible_get_parent): don't segv
6142 * at-bridge/bridge.c (gtk_module_init): upd.
6143 (bridge_property_event_listener): don't leak strings
6145 (bridge_state_event_listener),
6146 (bridge_property_event_listener): don't use a static
6147 buffer in case of recursive event emission &
6148 re-enterancy - split out the swathe of cut and paste
6150 (emit_eventv): and fix 2 ref leaks here & comply to the
6152 (bridge_register_app): rename to
6153 (bridge_idle_init): this and kill arg parsing, split
6154 various inits & bonobo-activation registration to module
6155 init time, kill referencing error.
6156 (bridge_exit_func): fix the same leak.
6157 (bridge_focus_tracker): don't leak event structures
6159 (bridge_signal_listener): more leakage and cut & paste
6161 (bridge_key_listener): return the result - FIXME is
6162 this polarity correct ?
6163 (accessibility_keystroke_from_atk_key_event): rename
6164 (accessibility_init_keystroke_from_atk_key_event): and stop
6166 (gtk_module_init): return a value - not that it is checked by
6168 (bridge_key_listener): register my horror at casting between
6169 IDL defined structs.
6170 (bridge_get_registry): kill - not used.
6172 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6174 * test/test-simple.c (test_roles): impl.
6175 (test_desktop, validate_accessible, validate_tree): impl.
6177 * cspi/spi_accessible.c (role_names): fixup bogus
6178 MAX_ROLES setup, make constants const for efficient linkage
6179 (AccessibleRole_getName): conform to coding style, make
6182 2001-11-30 Michael Meeks <michael@ximian.com>
6184 * cspi/spi.h: add missing prototype.
6186 * libspi/registry.c (spi_listener_struct_new): fix sig.
6188 * test/Makefile.am: add test-simple
6190 * test/test-simple.c: add
6192 * test/test.sh: add.
6194 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6196 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6197 do it straight - since otherwise we often get an activation race.
6199 [ work before Bill duplicated a chunk of it ... ]
6200 2001-11-30 Michael Meeks <michael@ximian.com>
6202 * libspi/keystrokelistener.c
6203 (spi_keystroke_listener_class_init): fixup arg
6206 * libspi/eventlistener.c
6207 (spi_event_listener_class_init): ditto.
6209 * tests/test.sh: add.
6211 * cspi/spi-listener-impl.h: update macros.
6213 * cspi/spi-listener-impl.c
6214 (cspi_event_listener_remove_callback): add
6215 correct pre-conditions.
6217 * cspi/spi_main.c (SPI_exit): guard vs. double
6218 exits, exit the mainloop nicely.
6219 (SPI_event_main): make more sense.
6220 (SPI_init): move the atexit evilness here so we
6221 always do it (yuck).
6222 (SPI_event_main): upd.
6224 * test/simple-at.c: update for listener changes.
6226 * registryd/registryd.c (main): prune kruft.
6228 * libspi/libspi.h: upd.
6230 * libspi/eventlistener.[ch]: rename broken macros.
6232 * libspi/accessibleeventlistener.[ch]: remove.
6234 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6236 * test/test-simple.c: Add - automated tests.
6238 * cspi/spi-listener-impl.c (cspi_event),
6239 (cspi_key_event): add user_data to invoke.
6240 (cspi_keystroke_listener_finalize): impl.
6241 (cspi_keystroke_listener_class_init): upd.
6244 (createAccessibleEventListener),
6245 (AccessibleEventListener_addCallback),
6246 (createAccessibleKeystrokeListener),
6247 (AccessibleKeystrokeListener_addCallback): upd.
6249 * libspi/deviceeventcontroller.c
6250 (spi_device_event_controller_check_key_event): add public proto.
6253 (impl_accessibility_registry_deregister_global_event_listener):
6254 always init listeners.
6255 (_registry_notify_listeners): yes it is.
6257 * cspi/spi-listener-impl.c (cspi_key_event):
6259 (cspi_event_listener_finalize): impl.
6260 (cspi_event_listener_class_init): hook up.
6261 (event_handler_new, event_handler_free),
6262 (event_list_remove_by_callback): impl.
6263 (cspi_event_listener_remove_callback),
6264 (cspi_keystroke_listener_remove_callback),
6265 (cspi_keystroke_listener_add_callback),
6266 (cspi_event_listener_add_callback): upd.
6268 * libspi/keystrokelistener.c
6269 (keystroke_listener_object_finalize): kill
6270 (spi_keystroke_listener_class_init): upd.
6271 (spi_keystroke_listener_add_callback),
6272 (spi_keystroke_listener_remove_callback): kill,
6274 (impl_key_event): prune drasticaly.
6276 * libspi/eventlistener.c
6277 (spi_event_listener_add_callback),
6278 (spi_event_listener_remove_callback): kill, use
6280 (impl_accessible_event_notify_event): upd.
6281 (spi_event_listener_object_finalize): remove.
6283 * libspi/Makefile.am: use eventlistener.[ch]
6285 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6287 * libspi/registry.c (_registry_notify_listeners):
6288 Changed listener loop iteration to use preferred convention.
6289 Got rid of string memory leaks caused be calling g_strconcat
6290 inside function calls.
6292 * libspi/registry.c (parse_event_type):
6293 Stopped g_strconcat memory leaks, free the g_strsplit return,
6294 g_strdup the split pieces when used, etc.
6296 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6299 Change method 'compare' to return a 'difference set' rather than
6300 taking a StateSet as an out parameter (more Java-friendly).
6302 * idl/Accessible.idl:
6303 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6305 * idl/Component.idl:
6307 Changed methods 'getExtents' and 'getImageExtents' in these
6308 interfaces to return a BoundingBox structure.
6309 (getPosition and getSize are redundant and possibly should be
6310 removed, rather than creating a corresponding Point struct.)
6312 * cspi/spi_component.c:
6313 Modify implementation of getExtents to reflect the above IDL
6318 Add (missing) AccessibleImage_getExtents () API.
6320 * docs/reference/cspi/at-spi-cspi-sections.txt:
6321 Added AccessibleImage_getImageExtents () to docs.
6323 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6325 * idl/Component.idl:
6326 Added two methods, getLayer () and getMDIZOrder (), to reflect
6327 the new ATK methods atk_object_get_layer and
6328 atk_object_get_mdi_z_order. (Which arguably should be part of the
6329 AtkComponent API and AtkObject). Also added an enum,
6330 ComponentLayer, for the first method's return value.
6332 * libspi/component.c:
6333 Added implementations for these methods.
6335 * cspi/spi_component.c:
6337 Added cspi binding methods for above,
6338 AccessibleComponent_getLayer() and
6339 AccessibleComponent_getMDIZOrder().
6340 Added cspi enum 'AccessibleComponentLayer'.
6342 * docs/reference/cspi/at-spi-cspi-sections.txt:
6343 Added above methods to docs.
6347 Changed typedef for 'boolean' type (and all references to it) to
6348 SPIBoolean, to avoid keyword clashes with C++.
6351 Changed usages of 'boolean' to SPIBoolean.
6353 * test/keysynth-demo.c:
6354 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6355 app), except where SPIBoolean is required by the callbacks API.
6357 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6359 * cspi/spi_registry.c:
6360 Removed obsolete X event loop for passive keygrabs (which now
6363 * registryd/registryd.c:
6364 Removed unnecessary call to gdk_init() [cruft]. This also allows
6365 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6368 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6370 * docs/reference/cspi:
6371 Included docs for SPI_freeString in generated documentation.
6374 Renamed spi_freeString to SPI_freeString, for consistency. Added
6375 documentation for this function.
6378 Renamed spi_freeString to SPI_freeString, for consistency.
6379 Removed obsolete method declaration string_from_corba_string.
6381 * test/keysynth-demo.c:
6382 Small tweak to comments.
6385 Stopped leaking the strings returned from CSPI.
6387 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6389 Merged Michael's branch (see his ChangeLog entries below).
6391 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6392 bridge is alive, release on exit.
6394 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6395 Fix type check macro.
6398 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6401 Added is_gnome_app static, and method cspi_is_gnome_app(),
6402 so we can call the appropriate shutdown routine at exit in SPI_exit.
6404 * cspi/spi_main.c (cspi_object_ref):
6405 Duplicate the corba object passed in, since we're keeping it around.
6407 * cspi/SPI_exit.c, cspi_cleanup:
6408 Moved the releasing of the live refs to its own function, so we
6409 can put it in g_atexit (). Call the appropriate shutdown API
6410 depending on whethe calling client is a gnome app or not
6411 (bonobo_main_quit or CORBA_ORB_shutdown).
6413 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6414 Unref the listener when this method is called, after
6415 deregistration. Updated the API docs to note this behavior.
6417 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6418 Bugfixes: Ref the bonobo object when returning a parent or child
6419 reference, or an AccessibleRelation. Generally made sure
6420 BonoboObject refcount is incremented whenever we return an
6423 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6424 Fixed typo/bug in signal declaration.
6426 * libspi/accessibleeventlistener.h:
6429 * libspi/application.c (spi_application_new):
6430 Fixed leak in initialization.
6433 Remembered to increment bonobo-object refcount when returning
6434 children (applications) from desktop object.
6435 Added (empty) finalize method.
6437 * libspi/deviceeventcontroller.c:
6438 Hold a ref to listeners inside DEControllerKeyListeners.
6439 Added dec_key_listener_free() method. Use prepend instead of
6440 append in key_listener list. Fixed some refcount madness and
6441 leaks in the listener registration/deregistration - deregistration
6442 now calls dec_key_listener_free() on listeners, and on the
6443 temporarily constructed dec_key_listener() used to perform the search/match.
6445 * libspi/hypertext.c (spi_hypertest_finalize):
6446 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6447 class. Also fixed spi_hypertext_interface_new() and
6448 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6450 * libspi/hypertext.h:
6451 Removed pointless and duplicate AtkObject pointer from
6454 * libspi/keystrokelistener.c:
6455 Fixed incorrect type of keystroke_listener_parent_class,
6456 renamed keystroke_listener_object_finalize to
6457 spi_keystroke_listener_object_finalize.
6458 Fixed typo in signal declaration
6459 (spi_keystroke_listener_class_init).
6461 * libspi/registry.c:
6462 Added funcsions spi_listener_struct_new() and
6463 spi_listener_struct_free() to help with memory management issues.
6464 We also now use these methods instead of gnew + poking stuff into
6465 the struct, and to decrement listener counts/free the listeners
6466 when deregistering them.
6467 Fix more refcount bugs in getDesktop() and
6468 getDeviceEventController().
6471 De-ref the desktop after enumerating the applications. Explicitly
6472 decrement the refcounts on the created listeners on exit (using
6473 _unref for keystroke listeners, and via the
6474 deregisterGlobalEventListenerAll command for other event
6477 2001-11-27 Michael Meeks <michael@ximian.com>
6479 * cspi/spi-listener.h: fixup enum.
6481 2001-11-27 Michael Meeks <michael@ximian.com>
6483 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6484 (cspi_keystroke_listener_new): Use the cspi variants.
6486 2001-11-26 Michael Meeks <michael@ximian.com>
6488 * test/keysynth-demo.c: fix 2 compile warnings, missing
6491 * test/simple-at.c (report_focussed_accessible),
6492 (report_focus_event, report_button_press),
6493 (check_property_change, is_command_key),
6494 (report_ordinary_key_event, report_command_key_event): upd.
6496 * util/mag_client.h: include pre-requisites.
6498 * libspi/accessibleeventlistener.c
6499 (spi_event_listener_object_finalize): free any lingering
6502 * libspi/keystrokelistener.c
6503 (keystroke_listener_object_finalize): ditto.
6505 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6506 callbacks, with cspi types.
6508 * cspi/spi_event.c (createAccessibleEventListener): chain to
6509 (AccessibleEventListener_addCallback): here.
6510 (createAccessibleKeystrokeListener): chain to
6511 (AccessibleKeystrokeListener_addCallback): here.
6513 * libspi/keystrokelistener.c
6514 (spi_keystroke_listener_class_init): add signal.
6515 (impl_key_event): emit the event.
6516 (boolean_handled_accumulator): impl.
6517 (marshal_BOOLEAN__POINTER): add, gack.
6519 * libspi/accessibleeventlistener.c
6520 (spi_event_listener_class_init): add signal.
6521 (impl_accessible_event_notify_event): emit the signal &
6522 make the loop efficient.
6523 (spi_event_listener_add_callback): prepend the callback.
6525 * libspi/accessibleeventlistener.h: add an 'event' signal,
6526 decl type on callback.
6528 * libspi/keystrokelistener.h: ditto.
6530 * cspi/spi-listener.h: make methods typesafe and
6531 make them use the new event typedefs.
6533 * test/simple-at.c (report_focussed_accessible):
6534 include mag_client.h
6535 Use *(void *)text_interface not the other thing.
6537 * configure.in: add gtk to registryd bits - since we use
6540 * util/magnifier.c: include libbonobo.h
6542 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6544 * test/keysynth-demo.c:
6545 Turned this into a simple scanning keyboard, to demonstrate the
6546 use of g_timeout_add () as a means of creating timers for
6547 scanning, and the use of GtkStyle for visually indicating when
6548 virtual keyboard elements are selected.
6550 keysynth-demo now listens to any keyboard keys with zero-valued
6551 keycodes (i.e. 'unused' keys) and interprets them as
6554 Reworked the shiftlatch code so that shift-down state isn't held
6555 for long periods (it's only synthesized immediately prior to
6556 the keysynth event it's modifying). Note that shiftlatch in this
6557 demo is a convenience, not intended to take the place of AccessX
6558 which is the better choice for getting 'sticky' modifier keys.
6560 * libspi/deviceeventcontroller.c:
6561 * at-bridge/bridge.c:
6562 * cspi/spi_registry.c:
6563 Removed some debug print stuff, and put other verbosity in #ifdef
6568 Implemented some more of the magnifier IDL for the simple
6569 magnifier: namely, getZoomRegionParams.
6570 Added mag_x and mag_y members to MagnifierData struct, aid of this
6572 Added GtkWindow::realize signal handler to magnifier, to keep it
6573 from receiving keyboard focus from the WM.
6575 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6577 * cspi/spi-private.h: my guess at what michael forgot
6578 before he ran off to NZ :-)
6580 2001-11-23 Michael Meeks <michael@ximian.com>
6582 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6583 comment out non existant method invoke so we link.
6585 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6586 use bonobo_exception_get_text for more friendly warnings.
6588 * cspi/spi.c (Obj_Add): move into spi_main & rename
6589 spi_object_add; kill spi.c
6591 * cspi/spi_registry.c
6592 (deregisterGlobalEventListener),
6593 (deregisterGlobalEventListenerAll),
6594 (registerGlobalEventListener): fix exception leaks.
6596 * cspi/spi_main.c (spi_exception): impl. helper, so we
6597 don't leak exceptions.
6599 * cspi/spi_selection.c
6600 (AccessibleSelection_deselectSelectedChild): return the
6603 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6604 (spi_registry): ditto.
6605 (SPI_init): guard against double inits.
6607 * cspi/*.c: use spi_ev (), and spi_registry () where
6608 appropriate - a temporary hack until we have something
6609 better. Use spi_object_add
6611 2001-11-22 Michael Meeks <michael@ximian.com>
6613 * cspi/Makefile.am: re organise, install the headers.
6615 * cspi/*.h: add G_BEGIN/END_DECLS
6617 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6620 Added non-preemptive keylistener for key events with no modifiers
6621 and shift-only modifier.
6623 * libspi/keystrokelistener.c:
6624 Removed some verbose diagnostics printout.
6626 * cspi/spi_registry.c:
6627 Fixed a bug that caused all key listeners to be registered as
6630 * libspi/deviceeventcontroller.c:
6631 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6632 for non-preemptive key masks.
6635 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6637 * docs/reference/idl/at-spi-idl-docs.sgml:
6638 * docs/reference/idl/at-spi-idl-sections.txt:
6639 * docs/reference/idl/at-spi-idl-overrides.txt:
6640 Added missing files.
6642 * docs/reference/Makefile.am:
6643 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6644 to scan the IDL files :-(
6649 Added .cvsignore files.
6651 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6653 * libspi/deviceeventcontroller.c:
6654 * libspi/keystrokelistener.c:
6656 * cspi/spi_registry.c:
6657 Added filters for KeySets, KeyEventSeq, and event types to key
6658 event dispatching, so listeners should only receive those events
6659 that they requested :-)
6661 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6666 * docs/reference:Makefile.am:
6667 * docs/reference/cspi:
6668 * docs/reference/cspi:Makefile.am:
6669 * docs/reference/cspi:tmpl:
6670 * docs/reference/cspi:tmpl:*.sgml:
6671 * docs/reference/idl:
6672 * docs/reference/idl:Makefile.am:
6673 * docs/reference/idl:at-spi-idl-sections.txt:
6674 * docs/reference/idl:at-spi-idl-docs.sgml:
6675 * docs/reference/idl:tmpl:
6676 * docs/reference/idl:tmpl:*.sgml:
6678 Restructured docs directory to allow separate 'reference' docs
6679 section, and forked idl and cspi docs. Added the sgml template
6680 files to CVS. Added the first sections/structural sgml for the
6683 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6685 * configure.in, libspi/Makefile.am: find libXtst.
6687 2001-11-21 Michael Meeks <michael@ximian.com>
6689 * test/accessx-gui.c: s/spi_value/value/ - doh.
6691 * libspi/base.[ch]: add.
6693 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6695 * idl/Accessible.idl:
6696 * idl/Application.idl:
6699 Started gtk-doc cleanup on IDL.
6701 * libspi/deviceeventcontroller.c:
6702 Added and connected non-preemptive key notification from the
6703 toolkits (in addition to the pre-emptive support from XServer
6704 which we had before, but which causes 'focus flashing'). Filters
6705 are presently limited to key modifiers and global/non-global,
6706 KeySets are presently ignored, as are KeyEvent masks.
6708 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6709 structs into the persistant structure rather than just storing
6710 pointers to things that might not persist across servant
6713 The XGrabKey call now does async keygrabs, because synchronous
6714 ones were deadlocking with GDK_event code in a very nasty way.
6716 Added boolean to internal method notify_keylisteners, to indicate
6717 whether the event came from the 'toolkit source' or the 'global
6718 (XServer) source' - this is used in the notification process to
6719 determine which listeners to send the event to.
6721 deviceeventcontroller.c is now warning-free.
6723 * libspi/registry.c:
6724 Fixed regression in application de-registration.
6725 Also fixed some really brain-dead weirdness having to do with
6726 event dispatching - event structs are now duplicated before being
6727 re-marshalled in the dispatch to listeners. This also fixes a
6728 Solaris build problem.
6731 2001-11-20 Michael Meeks <michael@ximian.com>
6734 (impl_accessibility_registry_deregister_global_event_listener):
6737 * libspi/deviceeventcontroller.c
6738 (spi_device_event_controller_check_key_event): return
6739 FALSE on no virtual method.
6741 * libspi/*..h: make includes work on a correctly pathed install.
6743 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6745 * libspi/application.h: kill unused ( and whacked out )
6746 gboolean *spi_application_set_id (AtkObject *app, long id);
6748 2001-11-20 Michael Meeks <michael@ximian.com>
6750 * libspi/*.[ch]: further convert to bonobo's type func
6751 macros, remove redundnant casts etc.
6753 * libspi/text.c s/accessibility_text/spi_text/g,
6754 re-order to de-cruft.
6756 * libspi/hypertext.c: re-order to kill a huge slew
6757 of redundant forward decls.
6759 * libspi/relation.c: ditto.
6761 * libspi/image.c: ditto.
6763 * */.cvsignore: update
6765 2001-11-20 Michael Meeks <michael@ximian.com>
6767 * libspi/deviceeventcontroller.c
6768 (_controller_register_with_devices): use g_getenv,
6769 kill stdlib.h include.
6771 * libspi/keystrokelistener.c
6772 (spi_keystroke_listener_get_type): kill
6773 (spi_keystroke_listener_class_init),
6774 (spi_keystroke_listener_init): rename to this.
6776 * libspi/text.c (impl_getAttributes): fix warning / bug.
6778 * libspi/*.[ch]: more headers, includes and over commenting.
6780 2001-11-20 Michael Meeks <michael@ximian.com>
6782 * libspi/*.[ch]: fixup headers, includes and over commenting.
6784 * libspi/image.c (impl__get_imageDescription): const
6785 correctness warning fix. remove redundant casting.
6787 * libspi/table.c (impl_getRowDescription): ditto.
6788 (impl_getColumnDescription): ditto.
6790 * libspi/libspi.h: add.
6792 2001-11-19 Michael Meeks <michael@ximian.com>
6794 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6796 * libspi/component.c (accessibility_component_get_type):
6797 rename to (spi_component_get_type): and macroify.
6798 (accessibility_component_init): rename to
6799 (spi_component_init): this
6800 (accessibility_component_class_init): rename to
6801 (spi_component_class_init): this
6803 * libspi/action.c (spi_action_get_type): kill, use the macro.
6805 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6808 * libspi/application.c (spi_application_object_event_listener),
6809 (impl_accessibility_application_register_object_event_listener):
6810 warning fixes / const understanding updates.
6812 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6815 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6817 * libspi/spi_accessible.c: Added docs and C bindings for
6818 AccessibleStateSet. (No implementations yet). Documentation
6819 coverage for C bindings now 100%. Made docs for event listeners
6824 boolean notifyListenersSync (in DeviceEventListener listener,
6825 in DeviceEvent event);
6827 oneway void notifyListenersAsync (in DeviceEventListener listener,
6828 in DeviceEvent event);
6830 Added DeviceEventListener and DeviceEvent structs (may deprecate
6831 KeyStroke and KeystrokeListener in favor of this generic
6832 event/listener framework for devices).
6834 * libspi/deviceeventcontroller.c:
6836 Changed some key listener code to take masks, etc., and paved the
6837 way for integration of toolkit/non-preemptive key events. Changed
6838 signatures of some internal methods.
6840 * at-bridge/bridge.c:
6841 Fixed regression connecting to interface signals, apparently
6842 caused by GTK+ changes.
6844 Added an internal bridge_state_listener to deal with
6845 property-change:accessible-state signals.
6847 Changed the key_listeners GList to store structs (including masks,
6848 etc.) instead of just CORBA_Objects (required for full
6849 implementation of key listener API).
6851 Connected the bridge to all currently supported Atk signals.
6852 Events now supported:
6853 object:property-change
6854 object:property-change:accessible-name
6855 object:property-change:accessible-state
6856 object:property-change:accessible-description
6857 object:property-change:accessible-parent
6858 object:property-change:accessible-value
6859 object:property-change:accessible-role
6860 object:property-change:accessible-table-caption
6861 object:property-change:accessible-table-column-description
6862 object:property-change:accessible-table-column-header
6863 object:property-change:accessible-table-row-description
6864 object:property-change:accessible-table-row-header
6865 object:property-change:accessible-table-summary
6866 object:children-changed
6867 object:visible-data-changed
6868 object:selection-changed
6869 object:text-selection-changed
6871 object:text-caret-moved
6873 object:row-reordered
6875 object:column-inserted
6876 object:column-reordered
6877 object:column-deleted
6878 object:model-changed
6880 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6882 * libspi/hyperlink.c,h:
6883 Fixed some broken stuff in hyperlink.
6885 * libspi/relation.h:
6886 * libspi/relation.c:
6887 * cspi/spi_accessible.c:
6888 Initial implementations of AccessibleRelation methods, and docs.
6890 * libspi/accessible.c:
6891 Fixed a bug that caused SEGV if an accessible
6892 object's description is NULL, and a client
6893 requests it. An empty string is now returned.
6895 * cspi/spi_editabletext.c:
6896 * cspi/spi_hypertext.c:
6898 * cspi/spi_hyperlink.c:
6902 Doc coverage now 95%.
6904 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6906 One last namespacing revision:
6907 * libspi/accessibleeventlistener.[ch]:
6908 Renamed SpiAccessibleEventListener to SpiEventListener,
6909 (no need for two namespaces ;-)
6911 And lots of documentation fixes:
6913 * docs/at-spi-docs.sgml:
6914 Fixed 'underscore vs. hyphen' bug that was preventing
6915 the gtk-doc API docs from being automatically generated.
6918 * cspi/spi-listener.h
6920 * cspi/spi_accessible.c
6922 * cspi/spi_application.c
6923 * cspi/spi_component.c
6924 * cspi/spi_editabletext.c
6926 * cspi/spi_hypertext.c
6928 * cspi/spi_registry.c
6929 * cspi/spi_selection.c
6933 * docs/at-spi-docs.sgml
6934 * docs/at-spi-sections.txt
6936 Added and fixed up gtk-doc documentation in cspi.
6938 Interfaces now (fully) documented (subject to revision and enhancement):
6940 Event Listener Support
6942 AccessibleApplication
6946 AccessibleEditableText
6953 AccessibleRelationSet
6958 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6960 * at-bridge/bridge.c:
6961 Initial work for toolkit-level key snooper connection by bridge.
6966 New typedefs and fixes to support new namespacing, and cleaner
6967 separation of cspi bindings from libspi bonobo implementation.
6968 Removed inconsistent and extraneous Spi* namespace prefix that
6969 had crept into cspi headers.
6970 Lots of comment fixes that sed had missed.
6972 * cspi/spi-roletypes.h:
6973 * cspi/spi-statetypes.h:
6974 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6975 to AccessibleRoleType.
6977 * libspi/accessibleeventlistener.h:
6978 Fixed minor namespacing weirdness.
6980 * libspi/deviceeventcontroller.c:
6981 Reordered some internal API for device listeners.
6982 Changed the key registry final boolean to 'is_system_global'
6983 rather than 'is_synchronous', which is more descriptive of its
6985 Added spi_device_event_controller_new().
6986 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6988 * libspi/keystrokelistener.[ch]:
6989 Namespaced KeystrokeListener to SpiKeystrokeListener.
6990 Changed uses of keymasks to use SPI_ prefix, and did other
6993 * libspi/keymasks.h:
6994 Namespaced keymask constants with SPI_ prefix.
6996 * libspi/registry.c:
6997 Some warning fixes, and knock-on fixes from namespace changes.
7000 Added rules for accessx-gui test program.
7002 * test/accessx-gui.c:
7003 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7004 utility. It doesn't actually use at-spi, but it's still cool and
7007 * test/keysynth-demo.c:
7011 Fixes so that these test clients work properly with the namespaced
7012 libraries. (Incompletely tested for technical reasons, fixes may follow)
7015 2001-11-13 Michael Meeks <michael@ximian.com>
7017 * libspi/application.c
7018 (impl_accessibility_application_get_version),
7019 (impl_accessibility_application_get_toolkit_name):
7021 (impl_accessibility_application_set_id),
7022 (impl_accessibility_application_get_id): remove
7023 redundant casting code.
7025 * libspi/action.c (impl_getDescription): fix warnings.
7027 * libspi/accessible.c
7028 (impl_accessibility_accessible_get_parent),
7029 (impl_accessibility_accessible_get_child_at_index),
7030 (impl_accessibility_accessible_get_state),
7031 (impl_accessibility_accessible_get_relation_set):
7032 warning fixes & include action.h
7034 2001-11-13 Michael Meeks <michael@ximian.com>
7036 * *.[ch] fix bits I screwed up:
7038 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7039 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7041 2001-11-13 Michael Meeks <michael@ximian.com>
7043 * *.[ch] Namespace libspi into spi_ and Spi.
7045 2001-13-11 Michael Meeks <michael@ximian.com>
7047 * Makefile.am: dist & install at-spi-1.0.pc
7049 * libspi/Makefile.am: install into at-spi-1.0
7051 * idl/Makefile.am (idldir): install into at-spi-1.0
7053 * at-spi-1.0.pc.in: add.
7055 * configure.in: build it.
7057 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7059 * test/keysynth-demo.c:
7060 Use a 'realize' signal-handler to set the WM properties for
7061 the virtual keyboard, rather than making it a "POPUP" type
7062 override-redirect window (thanks to anders carlsson for that
7065 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7068 * test/keysynth-demo.c:
7069 Added new test of key synthesis, which creates a simple
7070 (mouse-operated) onscreen keyboard. It inserts key events into
7071 the currently-focused window, thus it does not grab keyboard focus
7074 * cspi/spi_registry.c:
7075 Added C binding for AT-SPI generateKeyEvent.
7077 * libspi/deviceeventcontroller.c:
7078 Added call to XFilterEvent so that key listener works with XIM (we
7079 hope). Added event_synth_type to generateKeyEvent, so that we can
7080 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7081 synthesize a press/release pair for KeySyms.
7083 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7085 * libspi/Makefile.am:
7086 * registryd/Makefile.am:
7087 (temporary) hack to include libXtst in libspi and registryd.
7088 (Needed for keystroke synthesis, see below).
7091 Improved API for registerKeystrokeListener, in accordance with
7092 discussions with Gnopernicus team and X server research.
7094 * libspi/registry.c:
7095 * libspi/deviceeventcontroller.c:
7096 * libspi/accessible.c:
7097 * libspi/keystrokelistener.c:
7098 Changes and fixes to support keylisteners for potentially
7099 consumed key events (that is, 'passive grabs').
7100 Added implementation for generateKeyEvent() [untested].
7103 Changes to registerKeystrokeListener() API, as above.
7104 Added deregisterGlobalEventListenerAll(), and
7105 deregisterKeystrokeListener(), which are needed for clean exit of
7107 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7108 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7110 * cspi/spi_registry.c:
7111 Added implementations of function prototypes mentioned above.
7113 * registryd/registryd.c:
7114 Added the key listener event source as a g_timeout(), to allow
7115 receipt of key events that are not caught by GDK (since GDK
7116 doesn't support passive keygrabs, this was necessary).
7119 Changed to attach a keylistener to 'Alt' keys, and
7120 respond to the following keycommands: Alt-M (toggle magnifier);
7121 Alt-F (toggle speech); Alt-Q (quit).
7122 Added an exit routine to deregister the listeners, and a key
7123 listener that prints some key info to the console when a key
7124 matches the listener mask (and is thus received by the listener).
7126 * util/idl/Magnifier.idl:
7127 Changes to magnifier API to support multiple zoom regions,
7128 non-uniform scaling in x and y, markDirty, and a host of other
7129 features that would be useful to magnification.
7132 * util/mag_client.c:
7133 * util/mag_client.h:
7134 * util/mag_control.c:
7136 Source code changes to support the above IDL changes.
7139 As above, and also changes to use a (slower) generic conversion
7140 path for colormap conversions, since the fast RGB conversions have been
7141 reported to fail for 16-bit displays.
7143 2001-10-26 Michael Meeks <michael@ximian.com>
7145 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7147 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7149 * at-bridge/Makefile.am: fix LDFLAGS.
7151 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7153 * at-bridge/bridge.c:
7154 Re-worked listeners for toolkit events, now we have signal
7155 and property listeners. Added a private method
7156 register_atk_event_listeners(), which registers with the
7157 various atk and gtk signals we need to monitor in order to emit
7159 Added emission hook for AtkObject:property-change events, to
7160 support the 'property listeners'.
7161 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7164 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7165 which emit warnings and exit, respectively, if CORBA errors occur
7166 during remote calls, and we now use these methods to check most of
7167 our CORBA calls in the C bindings.
7169 * cspi/spi_accessible.c:
7170 Changed AccessibleSelection_refSelectedChild() to
7171 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7172 now increment refcounts.
7174 * cspi/spi_component.c:
7175 Fixed some long pointer casts (dangerous!) to pass pointers to
7176 CORBA_longs of the proper type to the CORBA stubs, and copy the
7177 data into the longs that were passed into the C bindings code.
7179 * at-bridge/bridge.c:
7181 * libspi/accessible.c:
7182 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7183 hyperlinks, AtkHyperlink is an object type.
7185 * libspi/application.c:
7186 Added various conversions to and from "generic" event types and
7187 atk-specific types; this is really part of the 'bridge'
7188 implementation but is valid for all AtkObject-based accessibility
7191 * libspi/editabletext.c:
7192 Fixed nasty bug wherein editable text's finalize method was
7193 unref'ing tha AtkObject reference that the text parent class was
7194 about to unref _again_. There was also a nasty inheritance bug
7195 that meant that the AccessibleEditableText class was corrupt.
7197 * libspi/selection.c:
7198 Provided implementations for some selection API that was broken.
7200 * idl/Application.idl:
7201 Added registerObjectEventListener () method.
7204 Fixed a number of return values that were Bonobo_Unknowns from
7205 bonobo_object_corba_objref(), which I
7206 forgot to dup before returning. Changed instances of
7207 bonobo_object_corba_objref (bonobo_object(o)) to
7208 BONOBO_OBJREF(o), for concision and clarity.
7210 2001-10-13 Louise Miller <louise.miller@sun.com>
7212 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7213 idl/Event.idl, idl/Registry.idl
7214 Changed these files to include Bonobo_Unknown.idl instead
7217 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7219 * libspi/component.c libspi/component.h:
7220 Fixed typo. Added assertions for object checks in
7221 AccessibleComponent code.
7223 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7225 * idl/Accessible.idl:
7226 Added 'isEqual (Accessible *object)'
7227 method for Accessible. (Not Yet Implemented).
7230 Changed signature of registerKeystrokeListener() to
7231 take a KeySet and KeyEventSeq so that specific keys and event
7232 types could be requested for monitoring, and added a flag
7233 is_synchronous so that either synchronous or asynchronous
7234 notification could be requested. (However this is not all
7235 implemented yet). This also meant adding two new typedefs,
7236 KeyEventSeq and KeySet.
7239 Added two new relations, RELATION_TOOLTIP_FOR and
7240 RELATION_LEAFNODE_OF.
7243 Added new state, STATE_HAS_TOOLTIP.
7245 * libspi/text.c, editabletext.c:
7246 Added new assertions to all casts of bonobo-objects from
7247 CORBA servants, to prevent Text API calls on non-text objects.
7248 Changed suspect casts of int-pointer types, so that we
7249 always send a valid CORBA_long pointer to the CORBA APIs that use
7250 in/out long parameters. We then have to copy from the CORBA_long
7251 into the regular long or int for return to the C bindings, or
7252 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7255 * libspi/deviceeventcontroller.c:
7256 Cleaned these sources up.
7258 Changed return type for getCharacterAtOffset to
7259 CORBA_unsigned_long, to allow for 32-bit characters.
7262 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7266 Fixed 'make dist' so that distro compiles...
7267 * libspi/keymasks.h:
7269 * cspi/spi-listener.c:
7270 KeystrokeListenerCB now returns a boolean.
7272 Added KeyEventType struct, and KeyStroke.
7273 Also added createKeystrokeListener(),
7274 KeystrokeListener_addCallback(),
7275 KeystrokeListener_removeCallback(), and added a keymask to
7276 registerKeystrokeListener().
7277 * cspi/spi_accessible.c:
7278 Changed numerous return types for interfaces from
7279 AccessibleComponent to Accessible<InterfaceName>; this was
7280 probably a cut-and-paste error.
7282 Implementations of new KeystrokeListener api (from spi.h,
7285 Changes to key modifier mapping.
7286 Created ControllerEventMask struct.
7287 Made DeviceEventController derive from Bonobo::Unknown.
7289 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7290 * libspi/deviceeventcontroller.c:
7291 Added a number of new internal (private) methods.
7292 * libspi/editabletext.c:
7293 * libspi/editabletext.h:
7294 Fixed a number of bugs related to the fact that
7295 editabletext inherits from text. Fixed the EditableText struct,
7296 the init() call, and use correct casts when calling Text methods
7297 from an EditableText object. Removed (duplicate) atko from the
7298 EditableText structure, we use the one in the parent Text
7299 structure via the casts mentioned above.
7300 * libspi/keystrokelistener.[ch]:
7301 * libspi/registry.c:
7302 Changes in support of keyboard handling (above).
7304 Keyboard handling, though partly functional, is still not
7305 recommended for at-spi client use as there is considerable
7306 work yet to be done.
7309 Changed some places where pointers to various int types
7310 are cast to be pointers to CORBA_long types and vice-versa:
7311 pointer casting is not safe so we pass pointers of the correct
7312 types and then cast the result before putting it into the target
7315 * libspi/text.h: minor typos corrected.
7317 We now speak not only the name of a Text element, but the
7318 first sentence of its content, when it receives focus.
7319 I also changed the text compression to 75% from 50%.
7320 * util/Accessibility_Util.server.in:
7321 Changed the default magnifier type to be a 3x vertical
7322 splitscreen magnifier (was previously a 2x horizontal one).
7324 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7326 * libspi/keystrokelistener.h:
7327 * libspi/keystrokelistener.c:
7328 Initial functional implementations of KeystrokeListener.
7331 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7333 Fixed string handling for NULL strings in libspi.
7334 Added spi_freeString to free strings returned by C bindings.
7336 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7338 * libspi/keystrokelistener.h:
7339 * libspi/keystrokelistener.c:
7340 Began (no-op) implementations of KeystrokeListener
7342 * libspi/deviceeventcontroller.c:
7343 * libspi/deviceeventcontroller.h:
7344 Began creating implementations of DeviceEventController,
7345 to handle keystroke and mouse event listening and
7347 * libspi/accessible.c:
7348 Stubbed-in the implementations for
7349 Accessibility_Accessible_getState and
7350 Accessibility_Accessible_getRelationSet.
7351 * libspi/registry.c:
7352 Improved de-registration process and fixed some bugs,
7353 deregistration now works correctly.
7355 Added initialization of applications list (to NULL).
7357 Reduced speech compression from 0.5 to 0.7, for demo.
7358 Changed call to gdk_window_set_decorations()
7359 to gtk_window_set_decorated().
7360 * at-bridge/bridge.c:
7361 Bridge now deregisters when app exits, via
7362 registration of a cleanup function
7363 with the g_atexit() call.
7364 Required making 'app' static, renamed 'this_app'.
7365 Fixed broken use of bonobo_init, passing argv wrongly.
7367 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7371 Created a new directory for
7372 accessibility-related utilities, primarily for
7373 testing and demo purposes, but with possible
7380 Onscreen magnifier utility that
7381 is implemented as a bonobo service.
7383 * util/mag_client.c:
7384 * util/mag_client.h:
7385 Client-side support (simple C bindings)
7386 for Magnification service
7388 * util/mag_control.c:
7389 Client program example for
7390 Magnification service
7392 * util/Accessibility_Magnifier.server.in:
7393 Bonobo-activation file for the
7394 Magnification service.
7397 * util/idl/Magnifier.idl:
7398 IDL defining the bonobo Magnification
7402 Modifications to use the bonobo-activated magnifier
7403 above, in place of trying to connect to an existing
7404 magnifier that uses socket-listening IPC.
7406 If env variable MAGNIFIER is set, a magnifier service
7407 will be started if one does not exist.
7409 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7411 * at-bridge/bridge.c:
7412 applied patch from Marc to build and run
7413 against new glib and gtk+ (seemed like a change
7414 to bonobo_init signature was made ?)
7416 made festival-server support turned off by default.
7417 Added support for a simple magnifier (off by default)
7418 which will be added to a 'util' directory later.
7419 * at-bridge/Makefile.am:
7420 Changed "application.h" header from a 'source'
7421 to a 'dependency' of libat-bridge.
7423 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7432 Added interface implementation c files to list of
7433 includes so they are included in libcspi.
7436 Changed prototype of AccessibleAction_doAction to return a
7438 Changed prototype of AccessibleTable_getCaption to
7439 return an Accessible.
7440 Changed prototype of AccessibleTable_getSelectedRows
7441 and AccessibleTable_getSelectedColumns to
7442 return a long (returns the number of selected rows
7443 or columns respectively).
7444 Changed name of AccessibleText_refRunAttributes to
7445 AccessibleText_getAttributes.
7446 Changed prototype of AccessibleText_getCharacterExtents to
7447 return a void rather than a boolean.
7448 Added support for a AccessibleCoordType parameter
7449 specifying what type of coordinates are desired.
7450 Added an AccessibleCordType parameter to
7451 AccessibleText_getPointAtOffset.
7453 * cspi/spi_accessible.c:
7454 Added code to return the outstanding interfaces from
7455 Accessible_queryInterface.
7457 * cspi/spi_action.c:
7459 Corrected call to getNActions to call the c binding
7462 * cspi/spi_editabletext.c:
7464 Changed name from setRunAttributes to setAttributes.
7466 * cspi/spi_hyperlink.c:
7468 Changed call to getNAnchors to correctly call the c
7469 binding for an attribute.
7471 * cspi/spi_hypertext.c:
7473 Changed getImageDescription to correctly call the
7474 binding for an attribute.
7476 * cspi/spi_selection.c:
7477 Changed getNSelectedChildren to correctly call the c
7478 binding for the attribute.
7479 Changed refSelectedChild to getSelectedChild.
7483 Changed getCaption to return an Accessible.
7484 Fixed calls which retrieve attributes.
7485 Changed refAt to getAccessibleAt.
7486 Changed getNSelectedRows and getNSelectedColumns to
7490 Changed getCharacterExtents and getPointAtOffset to accept an
7491 AccessibleCoordType.
7493 Changed calls which retrieve attributes.
7494 Changed refRunAttributes to getAttributes.
7499 * idl/Hyperlink.idl:
7500 Changed n_anchors attribute to nAnchors to keep naming
7501 convention consistent.
7504 Made Table inherit from Bonobo::Unknown.
7505 Added nSelectedColumns and nSelectedRows attributes.
7508 Made Value inherit from Bonobo::Unknown.
7510 * libspi/hyperlink.c:
7511 Change for nAnchors attributte name change.
7513 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7521 Added interface implementation c files to list of
7522 includes so they are included in libcspi.
7525 Changed prototype of AccessibleAction_doAction to return a
7527 Changed prototype of AccessibleTable_getCaption to
7528 return an Accessible.
7529 Changed prototype of AccessibleTable_getSelectedRows
7530 and AccessibleTable_getSelectedColumns to
7531 return a long (returns the number of selected rows
7532 or columns respectively).
7533 Changed name of AccessibleText_refRunAttributes to
7534 AccessibleText_getAttributes.
7535 Changed prototype of AccessibleText_getCharacterExtents to
7536 return a void rather than a boolean.
7537 Added support for a AccessibleCoordType parameter
7538 specifying what type of coordinates are desired.
7539 Added an AccessibleCordType parameter to
7540 AccessibleText_getPointAtOffset.
7542 * cspi/spi_accessible.c:
7543 Added code to return the outstanding interfaces from
7544 Accessible_queryInterface.
7546 * cspi/spi_action.c:
7548 Corrected call to getNActions to call the c binding
7551 * cspi/spi_editabletext.c:
7553 Changed name from setRunAttributes to setAttributes.
7555 * cspi/spi_hyperlink.c:
7557 Changed call to getNAnchors to correctly call the c
7558 binding for an attribute.
7560 * cspi/spi_hypertext.c:
7562 Changed getImageDescription to correctly call the
7563 binding for an attribute.
7565 * cspi/spi_selection.c:
7566 Changed getNSelectedChildren to correctly call the c
7567 binding for the attribute.
7568 Changed refSelectedChild to getSelectedChild.
7572 Changed getCaption to return an Accessible.
7573 Fixed calls which retrieve attributes.
7574 Changed refAt to getAccessibleAt.
7575 Changed getNSelectedRows and getNSelectedColumns to
7579 Changed getCharacterExtents and getPointAtOffset to accept an
7580 AccessibleCoordType.
7582 Changed calls which retrieve attributes.
7583 Changed refRunAttributes to getAttributes.
7588 * idl/Hyperlink.idl:
7589 Changed n_anchors attribute to nAnchors to keep naming
7590 convention consistent.
7593 Made Table inherit from Bonobo::Unknown.
7594 Added nSelectedColumns and nSelectedRows attributes.
7597 Made Value inherit from Bonobo::Unknown.
7599 * libspi/hyperlink.c:
7600 Change for nAnchors attributte name change.
7603 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7605 implementations-- made server implementations own AtkObject pointers
7606 rather than their respective AtkInterrface pointers to fix
7607 refcounting. AtkHyperlink is still broken.
7609 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7610 * cspi/spi_accessible.c:
7611 Added method Accessible_Role_getName(),
7612 and requisite string array (role_names).
7613 Added conversion string_from_corba_strin() call
7614 to Accessible_getName and _getDescription.
7615 * libspi/accessible.c:
7616 Added implementation for Accessible_getRole()
7618 Added festival support, used if environment variable
7621 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7623 * at-bridge/bridge.c:
7624 Now allocate Accessibility_Event using
7625 Accessibility_Event__alloc() instead of g_new0().
7626 * libspi/accessibleeventlistener.c:
7627 Initialize AccessibleEventListener->callbacks to NULL.
7628 Fixed accessible__event_listener_init() param, changed to
7629 "AccessibleEventListener *" type.
7630 Changed a bonobo_object_release_unref() call to
7631 Accessibility_Accessible_unref().
7632 * libspi/listener.c:
7633 Changed Bonobo_Unknown_unref to (equivalent)
7634 Accessibility_Accessible_unref.
7635 * libspi/registry.c:
7636 Changed bonobo_object_release_unref to
7637 Accessibility_Accessible_unref.
7639 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7642 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7643 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7644 spi-util.c spi-util.h
7645 Implementations for C bindings to remaining accessibility
7648 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7651 changed return value of Action from void to boolean to
7652 bring in line with ATK.
7655 Changed getText funcions to return "out" start and end offsets.
7656 Changed getAttributes to take and offset and return the start
7657 and end offset of the attribute run.
7658 Changed getOffsetAtPoint and getCharacterExtents to take an
7659 enum describing whether coordinates are window or screen.
7662 libspi/action.c libspi/action.h libspi/editabletext.c
7663 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7664 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7665 libspi/image.h libspi/selection.c libspi/selection.h
7666 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7667 libspi/value.c libspi/value.h
7668 Added server implementations for outstanding ATK interfaces
7669 not yet implemented.
7671 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7674 Added (missing) getName() method.
7675 Made nActions an attribute.
7676 * idl/EditableText.idl:
7677 Changed order of params in setAttributes.
7678 * idl/Hyperlink.idl:
7679 Removed getAnchor, added getURI.
7681 Changed attributes to methods, for efficiency
7682 (so that getting extents can be done in one call)
7683 * idl/Selection.idl:
7684 Changed nSelectedChildren to attribute, and re-indented.
7685 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7687 * idl/Text.idl: reformatted to match our coding style.
7688 (temporarily?) removed getRowColumnAtOffset().
7689 Changed text selection API to support multi-select and
7690 non-contiguous selections, as in ATK.
7691 * idl/Value.idl: changed some methods to attributes.
7693 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7695 * libspi/listener.c(impl_notify_event):
7696 BonoboUnkown_unref the source instead
7697 of bonobo_object_release_unref - the ORB
7698 handles the releasing.
7700 * configure.in: require ORBit-2.3.94 for
7703 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7705 Tagged CVS repository 'EA_1_0'.
7706 * README.EARLY_ACCESS:
7707 Alphabetized acknowledgements list, and
7709 Listed some known dependencies of at-spi.
7711 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7713 * docs/at-spi-docs.sgml:
7714 * docs/at-spi-sections.txt:
7715 * docs/at-spi-overrides.txt: (Added zero-length file)
7716 Documentation improvements - gtk-doc should build
7717 docs for all implemented C bindings now.
7720 * cspi/spi.c: (New file)
7721 * cspi/spi_event.c: (New file)
7722 * cspi/spi_registry.c: (New file)
7723 * cspi/spi_accessible.c: (New file)
7724 * cspi/spi_application.c: (New file)
7725 * cspi/spi_component.c: (New file)
7726 Split spi_main.c into six parts, and included them from
7727 "spi.c". This is a bit of a hack, probably temporary,
7728 but required by gtk-doc, apparently.
7730 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7733 * docs/at-spi-docs.sgml:
7734 * docs/at-spi-sections.txt:
7736 Initial checkins/modifications for gtk-doc generation.
7739 Added (missing) interface query methods to Accessible's C binding.
7741 Added GenericInterface type definition.
7743 Added query for AccessibleComponent interface to focus event handler.
7744 Added printout of bounding box for focussed component.
7745 * libspi/component.c:
7746 Added partial implementation for AccessibleComponent to C binding.
7747 * idl/Application.idl:
7748 * libspi/registry.c:
7749 * libspi/listener.c:
7750 * libspi/application.c:
7751 * libspi/application.h:
7752 Changed "ID" attribute type from string to long.
7754 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7758 Made method naming consistent: methods taking object args
7759 start with uppercase, other methods (except those using
7760 acronyms) start with lowercase. Underscores delimit between
7761 object names and method names:
7762 SPI_init() - uppercase since it starts with an acronym.
7763 getDesktopCount () - lowercase start since no object param0.
7764 Accessible_getName() - uppercase object type name, studlyCaps method
7768 Added gtk-doc documentation for all currently implemented
7769 methods in the C bindings API.
7771 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7773 * Makefile.am : changed build order to build test last.
7776 Changed "createEventListener" to "CreateEventListener".
7777 * libspi/accessibleeventlistener.c :
7778 Bugfix for addition of callbacks.
7779 * test/Makefile.am :
7780 * test/simple-at.c :
7781 Added new test that uses the C bindings API.
7783 * libspi/listener.c :
7784 * libspi/registry.c :
7785 * libspi/accessibleeventlistener.c :
7786 * at-bridge/bridge.c :
7787 Renamed member "target" of Accessibility_Event to "source",
7788 which is more descriptive.
7791 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7795 * cspi/Makefile.am :
7796 Added makefile support for at-spi/cspi directory.
7799 * cspi/spi-listener.h : (NEW FILE)
7800 Added support for/use of spi-listener.h.
7802 C bindings now build successfully, with no warnings.
7803 * libspi/accessibleeventlistener.h : (NEW FILE)
7804 * libspi/accessibleeventlistener.c : (NEW FILE)
7805 * libspi/Makefile.am :
7806 Added new object type "AccessibleEventListener"
7807 which inherits from Listener, and allows attachment
7808 of in-process callbacks (so that a client with a listening
7809 object instance can add functionality to the local
7810 implementation, dynamically).
7812 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7814 * libspi/accessible.c:
7815 Add implementation for get_index_in_parent().
7817 Added #include of "spi-roletypes.h", and
7818 added enumerated type AccessibleCoordType.
7819 Added definition for KeystrokeListener (function type).
7822 * cspi/spi-statetypes.h :
7823 * cspi/spi-roletypes.h :
7825 Added these headers, used by spi.h.
7827 Added code (NOTE: not yet built by make).
7829 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7831 * libspi/Makefile.am: generate imodule
7832 at the same time as other idl compiler
7835 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7836 * libspi/registry.c :
7837 * libspi/application.c :
7838 * idl/Application.idl :
7839 Made registration with toolkit an application method,
7840 which is required since each app has its own toolkit static
7841 environment. Thus the bridge must register for
7842 notification of toolkit events from each application in turn.
7843 Toolkit notifications are now successfully registered for, and
7844 sent to the listening at client.
7846 Changed toolkit event string to use hyphens rather than underscores.
7847 * libspi/listener.c :
7848 listner now gives more info in debug mode - it reports the
7849 name of the event received, as well as the name of the source.
7852 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7854 * libspi/registry.c :
7855 added more implementation for toolkit events.
7856 Fixed bug such that toolkit event registrations
7857 (via atk) use the whole event name string, not
7859 Removed a useless call to an ORBit_ method.
7860 * at-bridge/bridge.c :
7861 Removed unused local sbuf[] variable.
7863 We now register for Gtk:GtkWidget:button_press_event
7864 events as well as "focus:" events.
7866 Add some more API from Registry.idl that was missing,
7867 for keystroke listening, keystroke and mouse event
7868 synthesis, and enumeration of accessible desktops.
7870 2001-08-16 Michael Meeks <michael@ximian.com>
7872 * configure.in: use AM_GLIB_GNU_GETTEXT.
7874 * Makefile.am (SUBDIRS): kill intl.
7876 2001-08-15 Michael Meeks <michael@ximian.com>
7878 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7880 * configure.in: upd.
7882 * configure.in: depend on a recent bonobo-activation that
7883 will find our server files ...
7885 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7887 * libspi/accessible.c : accessible_new() :
7888 Now we add the Component interface via bonobo_object_add_interface,
7889 if the contained AtkObject implements AtkComponent.
7890 * libspi/accessible.h : now include "component.h"
7891 * libspi/component.h :
7892 * libspi/component.c : added files - implementation of
7893 bonobo wrapper object for Accessibility/Component
7894 * libspi/listener.c :
7895 Added test code to check for Accessibility/Component:1.0
7896 interface and report whether it is implemented by the
7898 * libspi/registry.c :
7899 Now we check for not only the hash of the whole event
7900 string before relaying the event, we also check the
7901 "minor" event string (without the detail string).
7902 This allows event listeners to be registered against
7903 all events of a certain major+minor type, or just
7904 against a specific major+minor+detail type.
7905 * libspi/accessible.c :
7906 Added implementations for Accessible:get_parent(),
7907 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7908 * libspi/registry.c :
7909 * libspi/listener.c :
7910 Replaced calls to Accessibility_Accessible_ref() and
7911 Accessibility_Accessible_unref() with
7912 calls to bonobo_object_dup_ref() and
7913 bonobo_object_release_unref(), so that the CORBA object
7914 is dup-ed and released when relayed, as well as the bonobo object.
7916 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7918 * libspi/Makefile.am,
7919 registryd/Makefile.am,
7920 at-bridge/Makefile.am.
7921 test/Makefile.am, configure.in:
7922 reverse previous changes.
7924 * /idl/Image.idl: fix typo.
7926 * test/Makefile.am: put DEBUG_FLAGS
7929 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7931 * test/app.c: use argv[0] instead of
7934 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7936 * libspi/Makefile.am,
7937 registryd/Makefile.am,
7938 at-bridge/Makefile.am.
7939 test/Makefile.am, configure.in:
7940 cleanup, replace individual LIBS/CFLAGS with
7941 AT_COMMON_{LIBS|CFLAGS}.
7945 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7947 * configure.in, libspi/Makefile.am:
7948 Change IDL path checking for bonobo-activation
7951 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7953 * registryd/registry.c : separated event listeners to use
7954 3 separate lists (focus, window, toolkit). Began testing
7955 event names against hashes before relaying events.
7956 * test/at.c : now register for events of type "focus:"
7957 * test/app.c : now generate events of type "focus:"
7958 * at-bridge/bridge.c : register with ATK for focus events,
7959 and we now relay those focus events to any "focus:" listeners.
7960 This now works with the bridge as a GTK_MODULE when running test/at.
7961 * libspi/registry.c :
7962 * libspi/listener.c :
7963 now we ref event sources before propagating, and unref on receipt.
7964 * libspi/registry.c :
7965 some changes to internal structs, to support event typestring hashes.
7966 * text/app.c : changed the way the appname is generated.
7967 * cspi : added directory that will hold the C bindings library for
7968 non-CORBA/bonobo-savvy clients.
7969 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7970 * idl/Component.idl : added in parameter to indicate coord system for
7971 geometry-related calls.
7972 * idl/Hyperlink.idl : added readonly n_links attribute
7973 * idl/Image.idl : changed methods to attributes.
7975 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7977 * at-bridge/Makefile.am: link against
7978 ../libspi/libspi.la instead of -lspi.
7980 * at-spi/test/app.c: include
7981 bonobo-activation.h. Use a default appname
7982 if one is not provided.
7984 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7986 * idl/Registry.idl : temporarily changed register_Application
7987 to oneway, to work around issue with initial registration
7989 * idl/Application.idl : changed attribute "id" from readonly
7990 to read-write, since it needs to be assigned by Registry.
7991 * registryd/registryd.c : added call to set application id
7993 * registryd/registry.c : changed de-registration procedure to
7994 use CORBA_Object_hash() to find matching object ref in application
7995 lists and listener lists.
7996 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7997 began distinguishing between event types (work in progress).
7999 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8002 * libspi/application.c:
8003 Added implementations for get/set id, get_toolkitName,
8005 * registryd/registryd.c :
8009 Converted from use of OAF to bonobo-activation.
8010 * libspi/desktop.h :
8011 * libspi/desktop.c :
8013 Removed references to atksimpleobject, since base atkobject
8014 implementation now provides functionality we need.
8015 * libspi/atksimpleobject.c :
8016 * libspi/atksimpleobject.h :
8021 * at-bridge/Makefile.am
8022 * at-bridge/bridge.c
8025 Added directory "bridge" and contents, and added dependencies
8026 in Makefile.am/configure.in.
8027 Initial checkin of "at-bridge".
8028 This code is a GTK_MODULE which automatically registers
8029 GTK+ apps with the accessibility registry, using an object
8030 reference to the root ATK object.
8032 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8034 * po/Makefile.in.in: Remove. Again. If this
8035 doesn't get autogenerated - you need to update
8038 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8040 * po/Makefile.in.in: Add. Again.
8042 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8044 * libspi/accessible.c : added support for 'description' property.
8045 * libspi/accessible.c
8047 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8048 (since the two are now equivalent in libbonobo)
8056 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8057 Bonobo::Unknown as does Accessibility::Accessible.
8058 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8059 interface with Bonobo::Stream, since it was redundant with it.
8060 (The Stream returned by a StreamableContext object is expected to
8061 implement only a subset of Bonobo::Stream)
8063 2001-07-28 Anders Carlsson <andersca@gnome.org>
8065 * libspi/accessible.c (accessible_object_finalize): Change
8066 g_free to g_object_unref since the AtkObject is a GObject.
8068 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8070 * idl/Accessibility.idl: add new IDL files
8073 * idl/Action.idl: Definitions of actionable UI object
8074 * idl/Component.idl: Definitions of UI component geometry, etc.
8075 * idl/Hyperlink.idl: Defs of hyperlink behavior
8076 * idl/Image.idl: Def of accessible image
8077 * idl/Selection.idl: Definition of UI object with selectable children
8078 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8079 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8080 * idl/Text.idl: Interface defs for UI elements with complex textual content
8081 * idl/Value.idl: Definition of UI element that is a value controller or display
8083 2001-07-27 Michael Meeks <michael@ximian.com>
8085 * po/Makefile.in.in: remove autogenerated file from CVS.
8087 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8090 * idl/Registry.idl: include guard.
8092 * idl/Accessibility.idl: Add, and include all the other IDL
8095 * idl/*.idl: remove mass of pragmas etc.
8097 2001-07-26 Michael Meeks <michael@ximian.com>
8099 * registryd/Makefile.am (registryd_SOURCES): remove
8102 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8104 * libspi/.cvsignore, registryd/.cvsignore,
8105 test/.cvsignore: updated.
8107 * po/Makefile.in.in: gettext update.
8109 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8111 * initial CVS checkin
8113 2001-06-29 Michael Meeks <michael@ximian.com>
8115 * configure.in: add AM_CONFIG_HEADER to gen config.h