1 2006-09-20 Bill Haneman <bill.haneman@sun.com>
3 Patch from Neo Liu <nian.liu@sun.com>,
7 (spi_atk_bridge_document_event_listener): New, for
10 2006-08-30 Bill Haneman <bill.haneman@sun.com>
13 Changed some parameter names so as not to
14 collide with class names - allows IDL to be compiled with
15 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
17 2006-08-22 Bill Haneman <bill.haneman@sun.com>
19 * atk-bridge/bridge.c:
20 (spi_atk_bridge_signal_listener):
21 Patch from Ginn Chen, assign detail1 in children-changed
22 so that the child object can be assigned to the Any when the
23 at-spi event is emitted. Bug #350552.
25 * libspi/application.c:
26 (spi_application_finalize): Remove g_print debug output.
29 2006-08-21 Bill Haneman <bill.haneman@sun.com>
31 * configure.in: Revved to AT-SPI 1.7.11.
33 * libspi/accessible.c:
34 (spi_accessible_new): Aggregate Hyperlink interface
35 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
38 (spi_hyperlink_new): Don't aggregate Action a second time if this
39 interface is created for an AtkHyperlinkImpl object (i.e. for a
40 child Accessible, as opposed to the Hyperlink instance from
42 (get_hyperlink_from_servant): Obtain the hyperlink from
43 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
45 Patch section from Ginn Chen...
47 * cspi/spi_accessible.c:
48 (_cspi_accessible_set_from_sequence):
49 Changed g_newa to g_new0 on Ginn Chen's suggestion.
51 * libspi/accessible.c:
52 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
53 (spi_accessible_new): Add the Document interface if present.
56 (impl_getAttributes): Fixed to use AtkAttribute properly.
59 (impl_getAttributes, impl_getDefaultAttributes):
60 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
62 2006-08-17 Bill Haneman <bill.haneman@sun.com>
64 * cspi/spi-private.h, cspi/spi_accessible.c:
65 (_cspi_attribute_set_from_sequence): Renamed from
66 cspi_attribute_set_from_sequence, to suppress export.
69 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
70 inline docs, which was keeping the doc from appearing.
71 (SPIExceptionHandler): Doc this.
73 * cspi/spi_document.c:
74 Added inline gtk-docs cut-n-pasted from the doxygen
75 docs in the corresponding IDL files.
76 (AccessibleDocument_getAttributes): Fix the retval here.
78 * cspi/spi_streamablecontent.c:
79 Fixed some 'Since' tags that were accidentally doxygen-style.
82 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
83 docs from the IDL file.
85 * docs/reference/cspi/at-spi-cspi-docs.sgml:
86 Added entities for Document and StreamableContent interfaces.
88 * docs/reference/cspi/at-spi-cspi-sections.txt:
89 Added some docs that were present inline but not getting
92 2006-07-31 Bill Haneman <bill.haneman@sun.com>
95 (impl_getRangeExtents): Use the atk_text_get_range_extents
96 API instead of looping over character bounds, now that
98 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
99 (_spi_text_bounds_contain): Remove, not needed anymore.
100 (_spi_text_rect_union): Remove, not needed anymore.
102 2006-07-31 Bill Haneman <bill.haneman@sun.com>
104 * atk-bridge/bridge.c:
105 (spi_atk_emit_eventv): Fix the CORBA_free call which was
106 causing 64-bit troubles and memory leaks.
107 Special thanks to Alexander Larsson who finally seems to
108 have tracked down the problem, not just here but in
112 (spi_init_any_object): Make sure we copy the CORBA value
113 when initializing an object for passing as a CORBA_Any.
116 2006-07-21 Bill Haneman <billh@gnome.org>
118 * idl/Accessibility.idl:
119 Reverted pragma changes, this broke the build in some envs
120 including the Debian team's build and some tinderbox builds.
122 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
125 Revved to 1.7.10, and edited the Xevie check (bug #319994).
127 * idl/Accessibility.idl:
128 Reworked inclusion of Bonobo_Unknown.idl, to
129 avoid double-linking libs in the Bonobo environment.
130 Thanks to Michael Meeks for the workaround, see bug #313122.
132 * registryd/deviceeventcontroller.c:
133 (spi_controller_notify_keylisteners):
134 Set the SPI_NUMLOCK_MASK bit if the modifier
135 corresponding to the conceptual numlock state is set.
138 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
140 * idl/Accessibility_Selection.idl:
141 (deselectChild): New method.
143 * libspi/selection.c:
144 (impl_deselectChild): Implement the new IDL method.
147 (AccessibleSelection_deselectChild): Added new method.
149 * cspi/spi_selection.c:
150 (AccessibleSelection_deselectChild): New method implemented.
152 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
154 * cspi/bonobo/cspi-bonobo.c:
155 (cspi_init): Replace g_error with g_warning, prevent
156 SEGV if the registry cannot be activated. Bug #346393.
158 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
160 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
162 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
163 2006-07-12 Ariel Rios <arios@us.ibm.com>
167 * idl/Accessibility_Table.idl:
168 (getRowColumnExtentsAtIndex): New method for getting
169 selection status and extents in one API call.
172 (impl_getRowColumnExtentsAtIndex): Implementation of
174 (spi_table_class_init): Add above to epv.
178 (AccessibleTable_getRowColumnExtentsAtIndex): New
179 method, retrieves selection status and row/col extents
180 for a table cell in a single API call.
182 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
183 2006-07-12 Ariel Rios <arios@us.ibm.com>
185 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
188 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
189 New bindings for new methods defined in idl and libspi.
192 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
193 Added prototype functions.
196 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
198 (spi_text_class_init): Added previous methods.
201 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
202 * libspi/spi-private.h: Corrections.
204 2006-06-29 Bill Haneman <bill.haneman@sun.com>
206 Added Document interface (see bug #326520),
207 with work from Ariel Rios <arios@us.ibm.com>.
209 * configure.in: Bump to 1.7.8.
211 * libspi/Makefile.am: Added document.[ch] to sources
214 (SpiDocument, SpiDocumentClass):
215 New interface implementation.
216 (spi_document_get_type, spi_document_construct)
217 (spi_document_interface_new): New methods added.
218 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
219 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
220 Added macros for SpiDocument
224 (spi_document_interface_new): Get a
225 new document interface. New.
226 (get_document_from_servant): Get an AtkDocument from servant New.
227 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
228 Implementation of methods defined on idl.
229 (spi_document_class_init, spi_document_init)
230 Init methods for SpiDocument. new
232 * idl/Accessibility.idl: Added Accessibility_Document.idl.
234 * cspi/Makefile.am: Added spi_document.c to sources.
236 * cspi/spi_document.c:
237 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
238 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
239 (AccessibleDocument_getAttributes): Bindings for methods defined
242 * cspi/spi_accessible.c:
243 (Accessible_isDocument, Accessible_getDocument) New.
245 (Accessible_isDocument, Accessible_getDocument)
246 (AccessibleDocument_ref, AccessibleDocument_unref)
247 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
248 (AccessibleDocument_getAttributes): Bindings added.
250 * idl/Makefile.am: Added Accessibility_Document.idl to
253 2006-06-29 Bill Haneman <bill.haneman@sun.com>
255 * idl/Accessibility_Document.idl: New interface
256 for complex documents. First stage of fix for RFE
259 2006-06-27 Bill Haneman <bill.haneman@sun.com>
261 * libspi/streamablecontent.c:
262 (impl_content_stream_close):
263 Unref the GIOChannel on close.
265 2006-06-23 Bill Haneman <bill.haneman@sun.com>
267 * idl/Accessibility_Role.idl:
268 * libspi/accessiblerole.c:
269 * cspi/spi_accessible.c: Added ROLE_LINK,
270 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
271 Bug #345758 and bug #140635.
274 2006-06-22 Bill Haneman <bill.haneman@sun.com>
278 * idl/Accessibility_StreamableContent.idl:
279 Fix derivation of StreamableContent and ContentStream.
281 * cspi/spi_streamablecontent.c:
282 (accessible_content_stream_client_read):
283 Fix the datatype of the content stream used.
284 Interpret short reads as EOF, and stop trying to
285 read when we've fulfilled the request.
286 (AccessibleStreamableContent_getContentTypes):
287 Use g_strdup, not CORBA_string_dup, for the strings.
288 (AccessibleStreamableContent_open):
289 Correctly use the new getStream method for opening,
290 not the deprecated getContent method.
291 Use the object reference as the stream hash key.
292 Make note of the 'one stream per client per streamable'
293 limitation in the docs.
296 Add streamablecontent.h to the list of #includes.
298 * libspi/streamablecontent.c:
299 (impl_content_stream_read): Initialize the GError.
300 Allocate the incoming buffer if reading a fixed length of
301 data. Use g_memmove instead of memcpy.
302 (impl_accessibility_streamable_get_content_types):
303 Init typelist->_maximum. Only allocate the buffer if
304 there is a non-zero number of content types available.
305 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
307 * libspi/streamablecontent.h:
308 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
311 (SPI_IS_VALUE): Fix a typo in this macro too.
313 2006-06-16 Bill Haneman <bill.haneman@sun.com>
317 * idl/Accessibility_StreambleContent.idl:
318 Deprecate the Bonobo_Stream-based methods in favor of
319 a self-contained "ContentStream" interface. This should
320 allow us to remove BonoboStream dependencies entirely, since
321 there were no non-NIL implementations of the old methods anyway.
322 (ContentStream): New interface.
323 (ContentStream::SeekType): Enum.
324 (ContentStream::seek): New.
325 (ContentStream::read): New.
326 (ContentStream::close): New.
327 (getContent): Deprecate.
328 (getURI): New method, returns a URI pointing to the content, if available.
330 * libspi/streamablecontent.c:
331 (SpiContentStream): Internal object type definition used to
332 implement Accessibility::StreamableContent::ContentStream via
333 AtkStreamableContent's GIOChannel back-end.
334 (spi_content_stream_new, spi_content_stream_dispose): See above;
336 (impl_content_stream_seek, impl_content_stream_read):
337 (impl_content_stream_close): New, implementations of
339 (impl_accessibility_streamable_get_stream): Implement the
340 public method Accessibility::StreamableContent::getStream.
341 (impl_accessibility_streamable_get_uri): Implement the
342 public method Accessibility::StreamableContent::getURI.
344 * cspi/spi_streamablecontent.c:
345 (accessible_bonobo_stream_client_seek): Replaced by
346 (accessible_content_stream_client_seek).
347 (accessible_bonobo_stream_client_read): Replaced by
348 (accessible_content_stream_client_read).
349 (AccessibleStreamableContent_open):
350 (AccessibleStreamableContent_seek):
351 (AccessibleStreamableContent_read):
352 (AccessibleStreamableContent_close): Use the new 'getStream'
353 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
355 2006-06-15 Bill Haneman <bill.haneman@sun.com>
357 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
358 remove from other .idl files (except LoginHelper).
361 2006-06-14 Bill Haneman <bill.haneman@sun.com>
363 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
366 * configure.in, */Makefile.am: mingw patch, modified from
367 original patch by yselkowitz. Bug #314216.
369 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
370 for completeness. Bug #163111.
372 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
373 * libspi/util.c, registryd/registry-main.c:
374 Fix guint/char* casts.
375 Patch from chpe, bug #333883.
377 2006-06-12 Bill Haneman <bill.haneman@sun.com>
379 * configure.in: Require atk-1.12.0, to pick up
380 new API. (bug #344412).
382 * libspi-1.0-uninstalled.pc.in:
384 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
385 Fix for #341488 from Samual Thibault.
387 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
388 Thanks to Brian Pepple.
390 2006-06-09 Bill Haneman <bill.haneman@sun.com>
393 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
394 New, missing implementations of attribute reading methods
397 * cspi/spi.h, spi_value.c:
398 (AccessibleValue_getMinimumIncrement): New methods wrapping
399 the (formerly unimplemented) property from Value.idl.
402 (impl_get_minimumIncrement): Implementation for retrieving
403 the minimum valuator increment, (formerly unimplemented).
406 2006-06-09 Bill Haneman <bill.haneman@sun.com>
408 * idl/Accessibility_State.idl:
409 Added STATE_VISITED (bug #338369).
411 * cspi/spi_accessible.c:
412 (spi_state_to_corba) Fixed marshalling of new statetypes.
415 (spi_init_state_tables, impl_getStates):
416 Fixed conversion of new statetypes to/from ATK.
418 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
420 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
421 definitions/conversions for new roles from ATK.
423 * idl/Accessibility_Relation.idl:
425 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
426 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
427 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
429 * libspi/accessible.c: Fixed marshalling of new role types from
432 2006-04-17 Matthias Clasen <mclasen@redhat.com>
434 * revert my previous change
436 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
438 * configure.in: Remove obssolete no_NO locale
439 * po/no.po: And the translation.
441 2006-04-05 Matthias Clasen <mclasen@redhat.com>
443 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
444 memory-management error that caused crashes on x86_64.
447 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
449 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
451 2006-03-27 Bill Haneman <bill.haneman@sun.com>
453 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
454 to strip "cspi_*" from the symbol table.
456 * cspi/spi_streamablecontent.c:
457 (get_streams): Make this method static.
460 (_cspi_exception_throw): rename to cspi_exception_throw,
461 so we can strip it with the rest...
464 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
466 2006-03-27 Bill Haneman <bill.haneman@sun.com>
468 Add doxygen-generated IDL docs to tarball, and enable
469 doxygen during build/install when available. Bug #301345.
471 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
473 * docs/reference/Makefile.am: Add idl to SUBDIRS.
475 * docs/reference/idl/Makefile.am: Optionally use
476 doxygen to create docs.
478 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
480 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
482 2006-03-20 Bill Haneman <bill.haneman@sun.com>
485 (impl_get_selected_rows): Don't free the selection if it's
486 empty or has not been assigned; init it to NULL so you can tell.
487 Also, allow for zero selected rows.
488 (impl_getSelectedColumns): Ditto. Bug #319088.
490 2006-03-11 Vincent Untz <vuntz@gnome.org>
492 Leak fix for bug #334217.
494 * libspi/application.c: spi_application_toolkit_event_listener():
495 don't duplicate the string we pass as an argument to
496 spi_init_any_nil() since spi_init_any_nil() already does it
497 * registryd/deviceeventcontroller.c:
498 (spi_dec_button_update_and_emit): ditto
499 (spi_dec_mouse_check): ditto
500 (spi_dec_emit_modifier_event): ditto
501 (spi_device_event_controller_forward_mouse): ditto
502 * registryd/registry.c:
503 (desktop_add_application): ditto
504 (desktop_remove_application): ditto
506 2006-02-20 Bill Haneman <billh@gnome.org>
508 * configure.in: Rev to 1.7.6.
510 Leak fixes for bug #331924.
512 * atk-bridge/bridge.c:
513 (spi_atk_bridge_init_base): Don't dup the string, it's already
514 been dup-ed. Fixes a leak.
515 (spi_atk_emit_eventv): Move the CORBA_free call here,
516 instead of spi_atk_state_event_listener; fixes another leak.
517 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
518 notifying the registry; fixes another leak.
520 * registryd/registry.c:
521 (registry_flush_event_queue): Free the CORBA_any when
522 flushing the event, not just the string. Fixes another leak.
523 (registry_queue_event): Free the CORBA_any when dropping
524 events on the floor; fixes another leak.
527 (spi_init_any_object, spi_init_any_nil):
528 Always set _release to TRUE. Fixes another leak.
530 2006-02-20 Bill Haneman <billh@gnome.org>
532 * configure.in: Rev to 1.7.5.
533 Reinstate localization of this module. Thanks for Rodney
534 Dawes for fixing my patch.
536 * registryd/Makefile.am: Remove Accessibility_Registry.server
537 from dist, since it needs to be re-created at configure time.
540 2006-01-31 Bill Haneman <billh@gnome.org>
542 * configure.in: Rev to 1.7.4 (to include build fix below).
544 * idl/Makefile.am: Include Selector.idl in dist.
548 (cspi_internal_event_get_object): Handle case where
549 "object" isn't present, i.e. CORBA_TC_Object doesn't match
550 the EventDetails data.
551 (cspi_internal_event_get_text): Handle NULL string.
552 (cspi_internal_event_get_rect): Handle missing/empty rect
553 data, Accessibility_TC_RectBounds doesn't match any_data.
555 2006-01-30 Bill Haneman <billh@gnome.org>
559 * atk-bridge/bridge.c:
560 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
561 interface and use that when instantiating a new source
562 accessible. Better fix for bug #321814.
564 2006-01-27 Bill Haneman <billh@gnome.org>
566 * idl/Accessibility_Selector.idl: Added to the cvs repository.
568 * configure.in: Revved to 1.7.3.
570 2006-01-17 Bill Haneman <billh@gnome.org>
572 * configure.in: Revved to 1.7.2, re-dist to include docs.
574 2006-01-09 Bill Haneman <billh@gnome.org>
576 * configure.in: Removed po/Makefile.in inclusion, we do not need
579 * idl/Accessibility.idl: Improved documentation here, and for all
580 IDL in the 'GNOME::Accessibility' namespace.
582 * idl/Accessibility_Accessible.idl:
583 (LOCALE_TYPE): Added enum.
584 (AttributeSet): New, for returning multiple name/value attribute pairs.
585 (RoleSet): New, sequence of Roles, to be used in upcoming
587 (getAttributes): New API, allows retrieval of name/value pair
588 annotations for all kinds of Accessible objects. C.f.
589 Text:getAttributes, which is only for typographic/textual/semantic tags in
591 (getApplication): New, retrieves the host/containing Application
592 instance for an object (without having to walk up the whole tree).
594 * idl/Accessibility_Component.idl:
595 (getAlpha): New method, returns the alpha blending (aka 'opacity')
596 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
599 * idl/Accessibility_Event.idl:
600 (EventDetails): New struct definition, for encapsulating
601 commonly-queried information about emitted events. The use of
602 this structure in emitted events (in the 'any' member of
603 Accessibility_Event) should greatly reduce the number of
604 client-server roundtrips necessary.
606 * idl/Accessibility_Image.idl:
607 (imageLocale): New, a readonly attribute indicating the POSIX
608 LC_MESSAGES locale of the image and associated Alt/descriptive
611 * idl/Accessibility_Relation.idl:
612 (RELATION_PARENT_WINDOW_OF): Include, as complement to
615 * idl/Accessibility_Role.idl:
616 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
617 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
618 complex document and form support.
620 * idl/Accessibility_State.idl:
621 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
622 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
623 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
624 for support of complex documents and forms.
626 * idl/Accessibility_StreamableContent.idl:
627 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
628 allow old bonobo-stream interfaces to be deprecated in the next
631 * idl/Accessibility_Text.idl:
632 (getAttributeValue): New method, allows query-by-name of single
635 * libspi/accessible.c:
636 Added support for new roles. Implemented new methods
637 (impl_accessibility_accessible_get_application): New
638 (impl_accessibility_accessible_get_attributes): New
640 * libspi/component.c:
641 (impl_accessibility_component_get_alpha): New.
644 (impl_accessibility_image_get_locale): New.
646 * libspi/relation.c: Added support for new relation type.
648 * libspi/stateset.c: Added support for new state types.
651 (impl_getAttributeValue): New.
654 New prototypes for private methods
656 spi_init_any_object, spi_init_any_string,
659 * libspi/spi_event.c:
660 Use EventDetails in the event emission methods.
662 * cspi/spi-private.h:
663 (cspi_role_from_spi_role): Expose this adapter method, since
664 we need it in the bridge (see below).
667 (AccessibleEvent_getSourceName):
668 (AccessibleEvent_getSourceRole):
669 (AccessibleEvent_getSourceApplication):
670 (AccessibleEvent_getSourceDetails):
671 New methods for interrogating/demarshalling
672 event details (i.e. source's accessible name, role,
675 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
676 Make use of the new EventDetails struct in events, if present.
677 (AccessibleEvent_getSourceName)
678 (AccessibleEvent_getSourceRole)
679 (AccessibleEvent_getSourceApplication)
680 (AccessibleEvent_getSourceDetails): Implement the newly exposed
682 (Accessible_getAttributes): New, wraps
683 Accessibility_Accessible_getAttributes.
684 (Accessible_getHostApplication): New, wraps
685 Accessibility_Accessible_getApplication.
688 (AccessibleImage_getImageLocale): New wrapper for
689 Accessibility_Image_get_imageLocale.
691 * cspi/spi_component.c:
692 (AccessibleComponent_getAlpha): New wrapper for
693 Accessibility_Component_getAlpha.
695 * atk-bridge/bridge.c:
696 Use new prototyped for init_any methods.
697 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
698 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
699 (spi_atk_bridge_init_base): Wrappers
700 for spi_init_any_* methods, due to refactor; include extended
701 information in the Accessibility_EventDetails struct, for instance
702 accessible-name, Role, and containing Application.
704 * registryd/registry.c:
705 Use new event emission (with EventDetails).
707 * registryd/deviceeventcontroller.c:
708 Use new event emission (with EventDetails).
710 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
712 * configure.in: Generate po/Makefile.in
713 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
714 * cspi/spi_streamablecontent.c:
715 (accessible_bonobo_stream_client_seek),
716 (AccessibleStreamableContent_seek): Remove unused vars.
717 * libspi/application.c: Missing header.
718 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
719 * login-helper/login-helper.c: (login_helper_finalize),
720 (login_helper_init): Remove unused stuff
721 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
722 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
723 and surround some with #ifdef GRAB_BUTTON.
724 * test/event-listener-test.c: (main), (report_event),
725 (report_caret_event), (report_detail_event),
726 (report_detail1_event), (report_bounds_event), (report_text_event),
727 (report_text_selection_event),
728 (report_active_descendant_changed_event),
729 (report_children_changed_event), (report_name_changed_event),
730 (report_description_changed_event), (report_parent_changed_event),
731 (report_window_event), (report_table_summary_event),
732 (report_table_header_event), (report_table_caption_event),
733 (report_table_row_description_event),
734 (report_table_column_description_event), (timing_test_event):
735 Remove a bunch of unused variables and fix a slew of format specifiers
736 * test/key-listener-test.c: (report_all_key_event): Format specifier
737 * test/keypad-test.c: (print_key_event): Same
738 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
740 * test/screen-review-test.c: (main), (print_chunk_debug),
741 (review_buffer_get_text_chunk), (debug_chunk_list),
742 (string_guess_clip), (text_chunk_get_clipped_string),
743 (text_chunk_list_to_string), (get_screen_review_line_at):
744 Remove unused variables and fix format specifiers.
745 * test/simple-at.c: (report_text_event): Format specifier fix.
746 * test/stress-test.c: (main): Remove unused var.
748 2005-12-29 Abel Cheung <maddog@linuxhall.org>
750 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
751 (yes I know that's useless)
753 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
755 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
757 2005-11-17 Michael Meeks <michael.meeks@novell.com>
759 * atk-bridge/bridge.c (spi_atk_emit_eventv):
760 urgh-fix embarassing typo.
762 2005-11-16 Michael Meeks <michael.meeks@novell.com>
764 * atk-bridge/bridge.c (spi_atk_emit_eventv):
765 do a faster, less problematic _unref call on this local
766 object, rather than a slower (potentially cross-thread
767 complicated) CORBA call.
769 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
771 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
772 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
773 * registryd/deviceeventcontroller.c:
774 (spi_controller_notify_mouselisteners),
775 (impl_generate_keyboard_event):
776 * test/screen-review-test.c: (chunk_bounds_within):
777 * test/test-simple.c: (test_desktop): Remove some unused code
778 and fix compiler warnings. Closes bug #320049.
780 2005-10-27 Bill Haneman <bill.haneman@sun.com>
782 * registryd/deviceeventcontroller.c:
783 (spi_controller_notify_keylisteners): Check
784 to make sure the event listener has requested 'preemptive'
785 status before pre-empting an event.
787 2005-08-29 Bill Haneman <bill.haneman@sun.com>
789 * configure.in, README, NEWS: Release 1.6.5.
791 2005-07-25 Matthias Clasen <mclasen@redhat.com>
793 * test/window-listener-test.c: Fix a printf
794 format error. (#169453)
796 2005-07-15 Bill Haneman <bill.haneman@sun.com>
798 * tests/test-simple.c:
799 (key_listener_cb): Ensure that the keystring is dup'ed instead of
800 relying on the old string from the key event hanging around after
801 the event handler returns. Fixes broken 'make check'.
803 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
805 * Added Marathi (mr_IN) translations.
807 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
809 * cspi/bonobo/cspi-bonobo-listener.c:
810 (cspi_event_list_remove_by_cb): Fix the build.
812 2005-05-26 Michael Meeks <michael.meeks@novell.com>
814 * cspi/bonobo/cspi-bonobo-listener.c
815 (cspi_event_list_remove_by_cb): actually filter by callback.
817 2005-05-25 Bill Haneman <bill.haneman@sun.com>
819 * registryd/registry.c (remove_listener_cb):
820 Make deregistration filter rules match the event emission rules.
822 2005-05-25 Michael Meeks <michael.meeks@novell.com>
824 * registryd/registry.c (remove_listener_cb),
825 (impl_accessibility_registry_deregister_global_event_listener),
826 (impl_accessibility_registry_deregister_global_event_listener_all):
827 pass a closure to the remove callback to filter listeners more
828 accurately on remove.
830 2005-04-05 Bill Haneman <bill.haneman@sun.com>
832 * configure.in: Revved to 1.6.4.
833 Remember to put quotes around XEVIE_LIBS assignment.
834 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
837 * tests/event-listener-test.c: Tweaked the tests - more detail
838 from caret events, and some interrogation of AccessibleText APIs.
839 Commented-out the bounds-changed events by default, since they can
842 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
844 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
845 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
846 Same here. Closes bug #167806
848 2005-04-05 Bill Haneman <bill.haneman@sun.com>
850 * atk-bridge/bridge.c:
851 (spi_atk_bridge_signal_listener):
852 Free the any._value if any._release is TRUE,
853 since the ORB won't do it for us in this case
854 [because this method is not a skel].
857 2005-03-30 Steve Murphy <murf@e-tools.com>
859 * configure.in: Added "rw" to ALL_LINGUAS.
861 2005-03-29 Bill Haneman <bill.haneman@sun.com>
863 * configure.in: Improved check for HAVE_XEVIE, to detect
864 presence on XOrg, where -lXevie is a separate library.
866 2005-03-08 Bill Haneman <bill.haneman@sun.com>
868 * configure.in, NEWS, README: Revved to 1.6.3.
870 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
872 * configure.in: Added "xh" to ALL_LINGUAS.
874 2005-02-07 Bill Haneman <bill.haneman@sun.com>
876 * atk-bridge/bridge.c:
877 (atk_bridge_init): Added missing NULL in g_strconcat(),
878 also check for symlink before logging to
879 insecure directory. Thanks to meissner@suse.de.
881 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
883 * tests/login-helper-server-test.c: Add return call to main
884 function. Patch from Chris Lahey. Fixes bug #165129.
886 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
888 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
890 2004-12-09 Bill Haneman <billh@gnome.org>
892 * registryd/registry-main.c:
893 Added #define <string.h> for strrchr. (bug 160862).
894 Thanks to Vincent Berger for catching.
896 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
898 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
899 restart registry process if the registry process is found to have died
900 and the current process is exiting.
901 (spi_atk_bridge_exit_func): Do not attempt to deregister the
902 application if the registry process has died.
903 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
904 does not return a registry object.
905 (spi_atk_tidy_windows): Give up if the registry process has died.
907 This fixes problems with hangs and crashes when logging out.
909 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
911 * registryd/desktop.c: Add checking that we are not exiting before
912 calling spi_desktop_remove_application in
913 abnormal_application_termination. Fix for bug #152147.
915 2004-12-02 Bill Haneman <billh@gnome.org>
917 * configure.in, NEWS, README: Revved to 1.6.1.
919 Patch from Padraig O'Briain <padraig.obriain@sun.com>
920 * atk-bridge/bridge.c:
921 (atk_bridge_init): Save the pid when we start, to detect forks.
922 (spi_atk_bridge_exit_func): Don't call the cleanup routines
923 if we're in a forked pid.
925 2004-10-09 Bill Haneman <billh@gnome.org>
927 * idl/Accessibility_LoginHelper.idl:
928 Improved inline documentation.
930 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
932 * configure.in: Added gl (Galician) to ALL_LINGUAS
934 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
936 * libspi/accessible.c:
937 (impl_accessibility_accessible_get_role_name),
938 (impl_accessibility_accessible_get_local_role_name):
940 * libspi/component.c:
941 (impl_accessibility_component_get_accessible_at_point):
943 * libspi/eventlistener.c: (spi_event_listener_new):
945 * libspi/stateset.c: (impl_compare): More of the same
946 * libspi/table.c: (impl_getRowDescription): Again.
947 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
948 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
949 (impl_generate_keyboard_event): Same.
950 * registryd/registry-main.c: (main): Same
951 * test/event-listener-test.c: (test_exit): Same
952 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
953 * test/keysynth-test.c: (test_key_synthesis): Same
954 * test/login-helper-server-test.c: (main): Fix warning.
955 * test/screen-review-test.c: (test_exit): Fix include.
956 * test/simple-at.c: (simple_at_exit), (_festival_init):
959 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
961 * configure.in, NEWS, README: Revved to 1.6.0.
963 2004-09-12 Bill Haneman <bill.haneman@sun.com>
965 * configure.in: Rev and re-dist, since the 1.5.4 tarball
966 was missing the HTML docs.
968 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
970 * configure.in: only cleanups:
971 - better looking PKG_CHECK_MODULES() output,
973 - declare in one common place required versions of other tools using
976 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
978 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
979 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
980 required ATK version accordingly.
982 2004-09-03 Bill Haneman <bill.haneman@sun.com>
984 * cspi/bonobo/cspi-bonobo.c:
985 (cspi_display_name): Fix C99ism.
986 * atk-bridge/bridge.c:
987 (spi_display_name): Fix C99ism.
988 Patch from Jens Granseuer, jensgr@gmx.net.
990 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
992 * configure.in: Added "or" to ALL_LINGUAS.
994 2004-08-20 Bill Haneman <bill.haneman@sun.com>
996 * configure.in, NEWS, README: Revved to 1.5.4.
998 * registryd/registry-main.c:
999 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1002 * cspi/bonobo/cspi-bonobo.c:
1003 (cspi_display_name): New convenience method, gets DISPLAY with
1004 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1005 (cspi_init): Set the activation env value above before getting
1008 * atk-bridge/bridge.c:
1009 (spi_display_name): Create the AT_SPI_DISPLAY activation
1010 environment for an app, based on the DISPLAY environment with the
1011 screen number stripped off.
1012 (atk_bridge_init): Allow redirection of error messages to a log.
1013 (spi_atk_bridge_get_registry): Call
1014 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1016 Fixes for bugs #149962, #136986, #144086.
1018 2004-08-16 Christian Rose <menthos@menthos.com>
1020 * configure.in: Added "bs" to ALL_LINGUAS.
1022 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1024 * configure.in: Added nb to ALL_LINGUAS.
1026 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1029 (SPI_init): Return error code '2' if the activated
1030 registry cannot be pinged. Fixes bug #147648.
1032 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1034 * registryd/deviceeventcontroller.c:
1035 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1036 rely on timer-poll instead, to avoid conflict with
1039 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1041 * configure.in: Revved to 1.5.3.
1043 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1045 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1047 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1049 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1051 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1053 * atk-bridge/bridge.c:
1054 (spi_atk_bridge_do_registration):
1055 Register with ATK for AtkComponent:bounds-changed events.
1056 (api_atk_bridge_signal_listener):
1057 Marshal the AtkRectangle info into the event notification
1058 for object:bounds-changed events.
1061 (spi_init_any_rect): New method, inits a corba struct of
1062 type Accessibility_BoundingBox from an AtkRectangle.
1064 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1067 (SPIRect): New struct definition.
1068 (SPI_freeRect): New declaration.
1069 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1072 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1073 implemented. Gets the bounding box data from the CORBA_any
1074 associated with a bounds-changed event notification.
1075 (cspi_internal_event_get_rect): New, used internally by above method.
1078 (SPI_freeRect): Implemented this new method, for freeing
1081 * test/event-listener-test.c:
1082 (main, report_bounds_event):
1083 Added a test for object:bounds-changed events.
1085 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1087 * test/login-helper-server-test.c:
1088 (main): Fix C99-ism. Thanks to Jens Granseuer.
1090 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1092 * libloginhelper-1.0.pc.in:
1093 * idl/Accessibility_LoginHelper.idl:
1094 * login-helper/Makefile.am:
1095 * login-helper/login-helper.[ch]:
1096 * test/login-helper-client-test.c:
1097 * test/login-helper-server-test.c: Added files missing from CVS.
1098 Files obtained from at-spi-1.5.2 tarball.
1100 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1102 * configure.in: Create login-helper/Makefile.
1103 Incremented micro version.
1105 * Makefile.am: Add login-helper subdir and pkgconfig data.
1107 * login-helper: New subdir.
1109 * libloginhelper-1.0.pc.in: New.
1111 * idl/Accessibility_LoginHelper.idl: New file, defines
1112 interface whereby authentication clients can identify agents which
1113 need access to services during the login process, e.g. screen lock
1116 * login-helper/Makefile.am : New.
1118 * login-helper/login-helper.[ch] : New, implementation of
1119 a LoginHelper base class. Services needing LoginHelper can subclass.
1121 * test/Makefile.am : Added test for login-helper, client and
1124 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1125 Use proper prefix in #include files.
1127 * test/login-helper-client-test.c: New.
1129 * test/login-helper-server-test.c: New.
1131 2004-05-27 Alexander Shopov <ash@contact.bg>
1133 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1135 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1137 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1138 is positive. This should make it easier to detect inapprorpiate unref
1141 2004-05-11 James Henstridge <james@daa.com.au>
1143 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1144 no-op and deprecated.
1146 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1148 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1150 2004-04-28 Bill Haneman <billh@gnome.org>
1152 * Makefile.am: Added --enable-gtk-doc to
1153 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1155 2004-04-19 Bill Haneman <billh@gnome.org>
1157 * configure.in: Revved to 1.5.1.
1159 * registryd/deviceeventcontroller.c:
1161 (DEControllerPrivateData): Added fields for
1162 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1163 (spi_dec_replace_map_keysym): New internal utility for
1164 replacing a keysym in the keymap - used to allow
1165 synthesis of individual characters which aren't in the
1167 (spi_dec_reset_reserved): New; resets the changed keysym value
1169 (keycode_for_keysym): We now try to deal with failed
1170 XKeysymToKeycode requests by changing a keymap value
1171 and returning a reserved keycode. We now take
1172 a DEController pointer as first arg.
1173 (spi_controller_register_with_devices): Call XkbGetMap with
1174 the XkbKeySymsMask. Find the highest keycode in the current
1175 keymap which doesn't have any grabs, and mark that one for
1176 temporary re-mapping when out-of-range KeySyms are synthesized.
1177 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1180 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1182 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1184 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1186 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1188 2004-03-24 Bill Haneman <billh@gnome.org>
1191 (AccessibleTable_addRowSelection),
1192 (AccessibleTable_addColumnSelection),
1193 (AccessibleTable_removeRowSelection),
1194 (AccessibleTable_removeColumnSelection):
1195 Add declarations for spi wrappers which were
1196 inadvertantly omitted. Fixes bug #133413.
1199 Revved to 1.5.0 (unstable series for GNOME 2.7).
1201 2004-03-24 Bill Haneman <billh@gnome.org>
1203 * atk-bridge/bridge.c:
1204 Bracketed some debug output in
1205 conditionals, to avoid printing it in normal use.
1208 * libspi/hyperlink.c:
1209 Don't cast 'object' to ATK_OBJECT when constructing
1210 an AtkAction interface for a hyperlink.
1211 See discussion in bug #120659.
1213 * test/key-listener-test.c:
1214 (report_all_key_event): Send output to stderr,
1215 not stdout, for consistency with the rest of the test callbacks.
1218 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1219 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1220 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1221 try incrementing the revision AFTER doing a dist, at least
1224 2004-03-22 Bill Haneman <billh@gnome.org>
1226 * configure.in: Revved to 1.4.0, libtool 9.14.9
1228 2004-03-17 Laszlo Peter <laca@sun.com>
1230 * libspi-1.0-uninstalled.pc.in: add idldir
1232 * cspi-1.0-uninstalled.pc.in: add idldir
1234 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1236 * configure.in: Added "en_GB" to ALL_LINGUAS
1238 2004-03-15 Bill Haneman <billh@gnome.org>
1240 * configure.in: Revved to 1.3.16,
1243 2004-03-15 Laszlo Peter <laca@sun.com>
1245 * libspi-1.0-uninstalled.pc.in: new file
1247 * cspi-1.0-uninstalled.pc.in: new file
1249 * configure.in: add the new pc files to AC_OUTPUT
1251 * Makefile.am: add the new pc files to EXTRA_DIST
1253 2004-03-12 Bill Haneman <billh@gnome.org>
1255 * atk-bridge/bridge.c:
1256 (spi_atk_bridge_key_listener):
1257 Make sure to return consumed=FALSE if snoop
1258 event is not dispatched to listener.
1261 2004-03-01 Bill Haneman <billh@gnome.org>
1263 * configure.in: Revved to 1.3.15,
1266 2004-03-07 Danilo Segan <dsegan@gmx.net>
1268 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1270 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1272 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1274 2004-03-01 Bill Haneman <billh@gnome.org>
1276 * configure.in: Revved to 1.3.14.
1279 (SPI_exit): Removed "bye-bye" exit message.
1280 Moved "leak" report to happen before the
1281 iteration over the leaked refs list.
1282 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1284 2004-02-24 Bill Haneman <billh@gnome.org>
1286 * configure.in: Revved to 1.3.13.
1288 * docs/reference/cspi/Makefile.am:
1289 Correct typo that was breaking the docs build.
1291 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1293 * autogen.sh: Require version 1.7 of automake.
1295 * configure.in: call GTK_DOC_CHECK([1.0])
1297 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1299 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1301 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1303 * test/Makefile.am: Remove use of CFLAGS.
1305 This fixes bug #132987.
1307 2004-02-11 Bill Haneman <billh@gnome.org>
1309 * reverted most of Tomasz' patch below, since it was breaking
1310 builds (see bug #134058).
1312 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1314 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1315 correct pass "make dist" (empty .. because seems no sach types in
1316 header files with gtk-doc markups).
1317 * docs/reference/cspi/Makefile.am, configure.in:
1318 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1319 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1320 * Makefile.am: added:
1321 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1322 for force correct pass generate documentation on "make distcheck".
1323 * libspi/Makefile.am: fixes for automake >= 1.6.
1324 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1325 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1328 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1330 * docs/reference/cspi/Makefile.am (install-data-local): Install
1331 index.sgml since the doc autobuilder on widget.gnome.org looks for
1334 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1336 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1339 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1341 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1343 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1345 * test/simple-at.c: Fixed null string problems that cause core
1346 dumping problems on Solaris.
1348 2004-01-12 Bill Haneman <billh@gnome.org>
1350 * configure.in: Incremented version to 1.3.11.
1352 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1354 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1355 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1358 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1360 * configure.in: Added "fa" to ALL_LINGUAS.
1362 2003-12-20 Arafat Medini <lumina@silverpen.de>
1364 * configure.in: Added "ar" to ALL_LINGUAS
1366 2003-12-16 Bill Haneman <billh@gnome.org>
1368 * registryd/registry-main.c:
1370 Set the reg_env DISPLAY variable before registering the
1371 activated registry service. Fixes bug #129479.
1373 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1375 * configure.in: Added "id" in ALL_LINGUAS
1376 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1378 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1380 * registryd/deviceeventcontroller.c (global_filter_fn):
1381 When an event is consumed discard any XEvents were added to
1382 the queue while dealing with the the event. This can happen if
1383 processing of the event takes a long time. Call XUngrabKeyboard
1384 if an event was discarded. This fixes bug $124837.
1385 Only call wait_for_release_event for a KeyPress.
1386 Use local variable display instead of spi_get_display().
1387 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1390 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1392 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1393 Allow for mask to contain values other than NumLock mask.
1396 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1398 * registryd/devieceventcontroller.c:
1399 (wait_for_release_event): Change first parameter from GdkEvent to
1401 (global_filter_fn); Correct call to wait_for_release_event.
1405 2003-12-08 Bill Haneman <billh@gnome.org>
1409 * registryd/ucs2keysym.c: New file.
1411 * registryd/deviceeventcontroller.c:
1412 (dec_keysym_for_unichar): Remove old partial implementation and
1413 replace with call to ucs2keysym(), which is much more complete.
1414 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1419 2003-12-05 Bill Haneman <billh@gnome.org>
1421 * configure.in: Version 1.3.9.
1423 * docs/reference/cspi/tmpl/spi_registry.sgml:
1424 Added reference to libspi/keymasks.h to the
1425 description of Registry queries: AccessibleKeyMaskType.
1428 2003-12-04 Bill Haneman <billh@gnome.org>
1430 Fix for bug #121974.
1432 * idl/Accessibility_Application.idl:
1433 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1434 setlocale's LC_TYPEs.
1435 (Accessibility::Application::getLocale): New method.
1436 Allows clients to query the locale, by type, of an app.
1439 * cspi/spi_application.c:
1440 (AccessibleApplication_getLocale): New method, wraps IDL above.
1442 * libspi/application.c:
1443 (spi_application_class_init): Init epv entry for getLocale.
1444 (impl_accessibility_application_get_locale): Impl for above.
1446 * test/test-simple.c:
1447 (test_application): Added assertion for getLocale, i.e.
1448 that the string from AccessibleApplication_getLocale (app, type)
1449 is the same as that from setlocale (type, NULL);
1451 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1453 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1454 the keyboard on a timeout intil the key state goes from pressed to
1455 released. Fixes bug #111429.
1457 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1459 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1460 root object so that it is present when a context menu in an
1461 out-of-process applet is popped up.
1462 (spi_atk_bridge_do_registration): Create acceessible application root
1463 object only if it does not exist.
1465 This fixes bug #125834.
1467 2003-12-01 Bill Haneman <billh@gnome.org>
1469 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1472 Added enum for AccessibleStreamableContentSeekType.
1473 (AccessibleStreamableContent_freeContentTypeList): New.
1475 * cspi/spi_streamablecontent.c:
1476 (accessible_bonobo_stream_client_seek): New private method.
1477 (AccessibleStreamableContent_seek): Implemented this method,
1478 using Bonobo_Stream_seek.
1479 (AccessibleStreamableContent_freeContentTypeList): New method
1480 for freeing the return value from
1481 AccessibleStreamableContent_getContentTypes.
1482 (stream_cache_item_free): Replaces stream_release; stop leaks.
1483 (stream_release): removed.
1484 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1485 free the memory properly.
1487 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1489 Fix for bug #116009.
1491 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1493 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1495 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1497 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1499 2003-12-01 Bill Haneman <billh@gnome.org>
1501 Fix for bug/rfe #127463.
1503 * idl/Accessibility_Accessible.idl:
1504 (getLocalizedRoleName): New.
1505 (unimplemented4): Removed (replaced by above).
1507 * libspi/accessible.c:
1508 (impl_accessibility_accessible_get_local_role_name): New.
1509 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1513 (Accessible_getLocalizedRoleName): New.
1515 * cspi/spi_accessible.c:
1516 (Accessible_getLocalizedRoleName): New.
1518 2003-12-01 Bill Haneman <billh@gnome.org>
1520 Fix for bug #118581.
1521 * idl/Accessibility_Text.idl:
1522 (getDefaultAttributes): New.
1523 (unimplemented4): Removed (replaced by above method).
1526 (impl_getDefaultAttributes): New method.
1527 (spi_text_class_init):
1528 initialize the get_default_attributes slot in the epv.
1531 (AccessibleText_getDefaultAttributes): New prototype.
1534 (AccessibleText_getDefaultAttributes): New method.
1536 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1538 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1539 write beyond the end of the table. Fixes bug #120473.
1541 2003-09-30 Christian Rose <menthos@menthos.com>
1543 * configure.in: Added "eu" to ALL_LINGUAS.
1545 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1547 * configure.in: ALL_LINGUAS: Added no.
1549 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1551 * configure.in: Added lt to ALL_LINGUAS.
1553 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1555 * atk-bridge/bridge.c:
1556 (atk_bridge_init): Register event listeners always even for
1557 out-of-process applet.
1558 (spi_atk_bridge_toplevel_added): Remove call to
1559 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1560 (spi_atk_bridge_toplevelk_removed): Remove call to
1561 spi_atk_deregister_event_listenersa as the listeners are now always
1563 (spi_atk_bridge_register_application): Remove call to
1564 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1566 This fixes bug #120991.
1568 * libspi/table.c (impl_getColumnDescription): Correct typo,
1569 pointed out by Bolian.Yin@sun.com.
1571 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1573 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1575 2003-09-08 Bill Haneman <billh@gnome.org>
1577 * configure.in: Revved to 1.3.7.
1579 This is the GNOME 2.4.0 release of at-spi.
1581 * docs/reference/cspi/Makefile.am:
1582 Removed spurious inclusion of 'index.sgml' in the
1583 html directory; this was breaking make distcheck and
1584 also some other build environments.
1586 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1588 * registryd/registry.[ch}:
1589 Add queue_handler_id and focus_object to SpiRegistry data structure.
1590 (registry_flush_event_queue): If event being discarded is
1591 "state-change:focused" store object as focus_object.
1592 (registry_start_queue): Remove queue handler and focus object
1594 (registry_discard_event): New function which discards a focus event
1595 if we had stored focus object in the registry.
1596 (registry_queue_event): Add new check that is_queueing is set as this
1597 function is reentrant.
1598 (registry_filer_event): Add call to registry_discard_event.
1600 This resolves issues raised in bug #108664.
1602 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1604 * configure.in: Added "bn" to ALL_LINGUAS.
1606 2003-09-04 Bill Haneman <billh@gnome.org>
1608 * cspi/spi_event.c: Documentation improvements for
1609 (SPI_registerAccessibleKeylistener).
1611 * docs/reference/tmpl/spi_registry.sgml:
1612 Documentation improvements for SpiAccessibleKeylistenerCB.
1614 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1616 * configure.in: Added "ro" to ALL_LINGUAS.
1619 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1621 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1622 not decremented to zero. Fixes bug #120725.
1624 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1626 * configure.in: Added "ja" to ALL_LINGUAS.
1628 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1630 * configure.in: Added "is" to ALL_LINGUAS.
1632 2003-08-22 Christian Rose <menthos@menthos.com>
1634 * configure.in: Added "nl" to ALL_LINGUAS.
1636 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1638 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1639 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1641 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1643 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1644 type for unspecified exception.
1645 * cspi_streamablecontect): Add include of string.h for memcpy.
1646 (stream_release): Correct call to bonobo_object_release_unref
1647 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1648 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1649 argument of _cspi_expection_throw.
1650 * libspi/hyperlink.c: Add include of libspi/action.h:
1651 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1652 * libspi/streamablecontent.c: add include of libspi/component.h.
1653 * regisrtyd/deviceeventcontroller.c:
1654 (spi_dec_translate_mask): Removed unused variable priv.
1655 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1656 * registryd/registry.c:
1657 (registry_filter_event): Remove unused variable queue_is-empty.
1658 (impl_registry_notify_event): Use correct modifier in fprintf call.
1660 This fixes compiler warnings reported in bug #120220.
1662 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1664 * registryd/registryd.c: Remove this file.
1666 2003-08-17 Sanlig Badral <badral@openmn.org>
1668 * configure.in: Added mn to ALL_LINGUAS.
1670 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1672 * configure.in: Added et to ALL_LINGUAS.
1674 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1676 * test/event-listener-test.c: Change active-descendant to
1677 active-descendant-changed.
1679 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1681 * configure.in: Added "fi" in ALL_LINGUAS.
1683 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1685 * configure.in: Added "hi" in ALL_LINGUAS.
1687 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1689 * configure.in: Revved to 1.3.6.
1693 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1695 * registryd/deviceeventcontroller.c
1696 (spi_device_event_controller_object_finalize): Fix typo in previous
1699 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1701 * registryd/deviceeventcontroller.c
1702 (spi_device_event_controller_object_finalize): Fix build on
1703 systems without XEvIE.
1705 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1707 * acconfig.h, configure.in, registryd/Makefile.am,
1708 registryd/devicecontoller.[ch]: Add XEViE support.
1710 2003-08-06 Wang Jian <lark@linux.net.cn>
1712 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1714 2003-08-06 Metin Amiroff<metin@karegen.com>
1716 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1718 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1720 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1721 MODIFIER_ALT in correct place.
1723 This fixes part of bug #118114.
1725 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1727 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1729 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1731 * configure.in: Added "ko" to ALL_LINGUAS.
1733 2003-07-28 Ole Laursen <olau@hardworking.dk>
1735 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1737 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1739 * configure.in: Added "sq" to ALL_LINGUAS.
1741 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1743 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1745 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1747 * configure.in: updated ALL_LINGUAS list
1749 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1751 * configure.in: Added Belarusian to ALL_LINGUAS.
1753 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1755 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1757 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1758 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1760 This fixes bug #116949.
1762 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1764 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1765 Correct CSPI to SPI in function documentation.
1767 This fixes bug #118054.
1769 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1771 * configure.in: Added Russian to ALL_LINGUAS.
1773 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1775 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1777 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1779 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1781 2003-07-10 Joel Brich <joel.brich@laposte.net>
1783 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1785 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1787 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1789 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1791 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1792 resources allocated for AccessibleEvent. See cspi_event().
1794 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1795 static variable streams to NULL.
1797 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1798 Update so that AcessibleEvent_ref will work.
1800 This fixes bug #116624.
1802 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1804 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1806 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1808 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1810 2003-07-02 Christian Neumair <chris@gnome-de.org>
1812 * configure.in: Added "de" (German) to ALL_LINGUAS.
1814 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1816 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1818 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1820 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1822 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1824 * configure.in: Added "pl" to ALL_LINGUAS.
1826 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1828 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1830 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1833 (get_action_from_servant):
1834 Removed assertion that action is implemented on an AtkObject.
1836 * libspi/hyperlink.c:
1837 (spi_hyperlink_new):
1838 Aggregate AccessibleAction interface on the hyperlink object if
1839 the object implements AtkAction. (This convention is used in
1842 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1844 * configure.in: Revved to 1.3.5.
1846 * registryd/Accessibility_Registry.server.in.in:
1847 Marked up appropriate strings for translation.
1849 * atk-bridge/bridge.c: Marked a couple of
1850 user-visible warnings for translation. Questionable
1851 whether they are really useful, but possibly so.
1854 2003-06-28 Christian Rose <menthos@menthos.com>
1856 * configure.in: Added "sv" to ALL_LINGUAS.
1858 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1860 * registryd/registry.c:
1861 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1862 (registry_defer_on_event): Defer focus: events, this is an
1863 improvement to the patch for bug #108664.
1865 * TODO: Update with 2.4/"Dev Complete" items.
1867 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1869 * atk-bridge/bridge.c:
1870 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1871 looks up signals once.
1872 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1873 if doing registration.
1874 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1875 when doing registration.
1877 This fixes bug #115014.
1879 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1881 * atk-bridge/bridge.c:
1882 (atk_bridge_init): Add signal handler for children-changed:remove on
1883 root when in a BonoboComponent.
1884 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1885 for first toplevel only other incrememt variable toplevels.
1886 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1887 application and remove listeners.
1888 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1890 (spi_atk_deregister_event_listeners): New function which removes
1892 (reinit_register_vars): New fuction which reinitializes variables.
1894 This fixes bug #111578.
1896 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1898 * configure.in: version 1.3.4.
1900 * cspi/spi_accessible.c:
1901 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1904 2003-06-13 Michael Meeks <michael@ximian.com>
1906 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1908 * cspi/spi_main.c (cspi_peek_ev): impl.
1910 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1912 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1914 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1916 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1917 SPI_ROLE_AUTOCOMPLETE
1919 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1921 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1922 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1924 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1926 * libspi/streamablecontent.h:
1927 * libspi/streamablecontent.c:
1928 New files, provide implementation/wrappers for
1929 Accessibility_StreamableContent.
1931 * cspi/spi_streamablecontent.c:
1932 Connected the C wrappers to the libspi C bindings.
1933 (AccessibleStreamableContent_close): New method.
1936 (AccessibleStreamableContent_close): New method, needed
1937 since we have an "open, [seek], read, close" model in cspi.
1939 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1941 Fix for #108664; Padraig's revision of my original patch.
1943 * registryd/registry.h:
1944 Added event queue list, is_queuing, and exit_notify_timeout
1945 to the registry struct.
1947 * registryd/registry.c:
1948 (registry_init): Initialize new struct from registry.h.
1949 (impl_registry_notify_event):
1950 Filter events before notifying, in case some need to be
1952 (registry_filter_event): New,
1953 we defer certain incoming events (for instance
1954 window:deactivate) because we may wish to hide
1955 or reject them based on pending events. This is
1956 mostly a workaround for bug #108664.
1957 (registry_queue_event, registry_start_queue): New.
1958 (registry_defer_on_event): Test event to see if it
1960 (registry_reset_on_event): Returns TRUE if the
1961 event should cause a queue reset.
1962 (registry_discard_on_event): Returns TRUE if the event
1963 should cause the previous queue contents to be discarded.
1964 (registry_timeout_flush_queue): Flushes the pending event
1965 queue if no reset/discard-triggering events have come in
1966 within the timeout period.
1967 (registry_emit_event): New.
1968 (registry_clone_notify_context): New, used when queueing the
1969 event notify contexts.
1971 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1973 * configure.in: Version revved to 1.3.2, lt 0.9.2
1974 Incremented ATK required version to 1.3.4.
1976 * cspi/spi_registry.c:
1977 (SPI_generateKeyEvent):
1978 We now pass the keystring along if it's non-null.
1980 * registryd/deviceeventcontroller.c:
1981 (keysym_mod_mask): New method, returns modifier mask
1982 required to generate a keysym from a given keycode.
1983 (dec_synth_keysym): New method.
1984 (dec_synth_keystring): New method.
1985 (dec_get_modifier_state): New method.
1986 (dec_lock_modifiers): New
1987 (dec_unlock_modifiers): New.
1988 (dec_keysym_for_unichar): New, rather brute-force
1989 conversion from UCS-4 to X KeySyms. Only works for
1990 Latin at the moment, with partial implementations for
1991 Greek, Hebrew, and (incomplete) Katakana.
1992 (impl_generate_keyboard_event): Now implement
1993 "KEYSTRING" synthesis and implement "KEYSYM"
1995 (keycode_from_keysym): Improved, passes a returned
1996 modmask value now if the corresponding param is non-NULL.
1998 Fixes bugs #92143 and #109776.
2001 * test/keysynth-test.c:
2002 New test program for key synthesis, to confirm fixes for
2006 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2008 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2010 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2011 Add line for RELATION_POPUP_FOR
2013 * docs/reference/cspi/tmpl/spi_relation.sgml:
2014 Add relation SPI_RELATION_POPUP_FOR
2016 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2017 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2019 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2021 * libspi/relation.c (spi_init_relation_type_table):
2022 Add line for RELATION_POPUP_FOR
2024 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2026 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2027 there are still windows which have not been deleted and emit
2028 window:deactivate, if necessary and window:destroy events.
2029 This fixes bug #114370. The change on June 5th was not correct.
2031 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2033 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2036 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2038 New methods for client exception handling and interception.
2039 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2040 (SPI_exceptionHandlerPop): You guessed it...
2041 (SPI_getSourceType): Return the type of object which offended.
2042 (SPI_getExceptionCode): Return an enum code telling, possibly,
2043 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2044 (SPIAccessibleException_getSource): get the source object for
2045 exceptions that come from Accessibles, if SPIExceptionSourceType is
2046 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2047 (SPIException_getDescription): New, returns a string description of
2048 the problem. [Not yet a stable ABI, strings are not frozen]
2050 * cspi/spi-private.h:
2051 Added implementation details of opaque SPIException
2055 Implementations of above. Also
2056 (_cspi_exception_throw): new private method that
2057 dispatches exceptions to handlers, called from cspi-bonobo.c
2059 * cspi/bonobo/cspi-bonobo.c:
2060 (cspi_check_ev): call _cspi_exception_throw.
2061 Don't print a warning message if the exception has been
2062 handled by _cspi_exception_throw.
2064 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2066 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2067 there are still windows which have not been deleted and emit
2068 window:deactivate, if necessary and window:destroy events.
2069 This fixes bug #114370.
2071 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2074 (cspi_accessible_is_a): Make non-fatal
2075 if the object reference is dead.
2077 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2079 * cspi/spi_main.c: #include <stdio.h>
2080 * test/simple-at.c: ditto
2081 * test/event-listener-test.c: ditto
2082 * test/screen-review-test.c: ditto
2084 2003-05-30 Michael Meeks <michael@ximian.com>
2086 * test/test-simple.c (main): use CORBA_ORB_perform_work
2087 instead of an unnecessary linc_ call.
2089 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2091 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2092 Add SPI_STATE_INDETERMINATE.
2094 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2097 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2099 * libspi/stateset.c (init_state_type_tables): Add support for
2102 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2104 * configure: Update versions of atk and gail required.
2105 This fixes bug #113268.
2107 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2109 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2111 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2113 * libspi/Makefile.am:
2114 Ensure headers are generated before being used by c sources.
2116 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2119 Simplified lt versioning rules.
2120 Incremented version to 1.3.0, to indicate that we're on the
2121 unstable branch now.
2123 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2125 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2126 Add MKDB_OPTIONS=--outtput-format=xml
2128 * docs/reference/cspi/at-spi-cspi-docs.sgml
2129 docs/reference/idl/at-spi-idl-docs.sgml:
2130 Convert to Docbook XML.
2132 This fixes bug #111793.
2134 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2136 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2137 AcccessibleKeyEventType, AccessibleKeyMaskType.
2139 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2141 * cspi/state-types.h: Add documentation for AccessibleState.
2143 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2144 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2145 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2146 AccessibleComponentLayer.
2148 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2151 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2153 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2154 Accessible. Add description of AccessibleEvent,
2155 AccessibleEventListenerCB.
2157 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2160 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2161 documentation. Add description of AccessibleKeystrokeListenerCB,
2162 AccessibleKeyEventMask, AccessibleModifierMaskType,
2163 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2164 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2166 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2169 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2172 This fixes bug #104730.
2174 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2176 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2177 Set is_text field of Accessibility_DeviceEvent data structure.
2179 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2180 is-text field of AccessibleDeviceEvent data structure.
2182 This addresses part of bug #108666.
2184 * registryd/devcieeventcontroller.c: Unset debug option.
2186 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2188 * cspi/accessible.c:
2189 (cpi_initial_relation_type_table): New function which initializes
2190 mapping between Accessibility_RelationType and AccessibleRelationType.
2191 (cspi_relation_type_from_spi_relation_type): New function which
2192 translates an Accessibility_RelationType into an AccessibleRelationType.
2193 (AccessibleRelation_getRelationType): Use
2194 cpi_relation_type_get_spi_relation_type to return correct value.
2195 (spi_state_to_corba): Return correct type for default case.
2197 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2198 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2200 * cspi/cspi-bonobo-listener.c:
2201 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2204 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2205 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2206 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2207 libspi/image.c, libspi/listener.c, libspi/selection.c,
2208 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2209 registryd/desktop.c, registryd/registry.c:
2210 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2212 * libspi/eventlistener.c
2213 Remove semicolon after BONOBO_TYPE_FUNC.
2215 * libspi/relation.c:
2216 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2217 (spi_init_relation_type_table): Initialize using correct type.
2219 * registryd/desktop.c:
2220 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2221 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2222 of Accessibility_KeyEventType.
2224 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2227 * tests/simple-at.c, tests/screen-review-test.c:
2228 Add include for <strings.h>.
2230 * tests.stress-test.c:
2231 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2233 These changes fix compiler warnings when using FORTE compiler on
2234 Solaris; fixes bug #107479.
2237 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2240 * configure.in: revved to 1.1.10
2242 * libspi/keymasks.h:
2243 (SPI_KEYMASK_NUMLOCK): Added.
2245 * registryd/deviceeventcontroller.c:
2246 (spi_key_event_matches_listener): AND with a smaller
2247 bitmask (as we should).
2248 (spi_dec_translate_mask):
2249 New method, sets the virtual NumLock modifier bit
2250 if numlock is on. Eventually it can handle other virtual
2251 modifier bits if needed, or other marshalling from
2252 at-spi modifier masks to platform (X) masks.
2253 (spi_dec_key_listener_new):
2254 Call spi_dec_translate_mask to set up virtual mod bits
2255 in the 'mask' field when creating a new listener struct.
2256 (spi_dec_emit_modifier_event):
2257 Set the virtual (i.e. NumLock) bits before emitting event.
2258 (spi_controller_register_with_devices):
2259 Query for the NumLock modifier 'physical' bit if Xkb is
2260 present, for use in above methods.
2264 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2266 * registryd/deviceeventcontroller.c:
2267 (spi_keystroke_from_x_key_event):
2268 Instead of checking to see if the keysym is
2269 printable, check the string from XLookupString
2270 if available, get the first unicode character from it,
2271 and call g_unichar_isprint to determine whether the
2272 is_text flag should be TRUE or FALSE.
2276 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2278 * atk-bridge/bridge.c: Add support for extended events
2279 * cspi/spi_event.c: Add documentation and implementation for
2281 * tests/event-listener-test.c: Add tests for extended events.
2283 This fixes bugs #100424 and #100426.
2285 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2287 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2288 of LT_CURRENT. This fixes bug #89350.
2290 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2292 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2293 number of signal parameter values before accessing them. This fixes
2296 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2298 * configure.in: Fixed duplicate inclusion of -lspi.
2299 * branched for gnome-2-2/HEAD.
2300 [created tag "gnome-2-2"]
2302 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2304 * configure.in: 1.1.9 release.
2307 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2309 [needed by GOK, to fix bugs 107985 and 107988]
2310 * registryd/deviceeventcontroller.c:
2311 (spi_dec_clear_unlatch_pending):
2312 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2313 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2314 (spi_dec_init_mouse_listener):Emit warning if mouse button
2316 (spi_device_event_controller_forward_mouse_event):
2317 Removed unnecessary parens from a conditional.
2318 (global_filter_fn):Added TODO comment.
2319 (impl_generate_keyboard_event):
2320 Cancel a pending relatch if a 'delatching' key was
2323 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2325 * atk-bridge/bridge.c:
2326 Change atk_signal_child_changed to atk_signal_children_changed.
2327 Reorganize code in spi_atk_bridge_signal_listener().
2329 * test/event-listener-test.c:
2330 Add children_changed_listener and report_children_changed_event()
2331 to test AccessibleChildEvent_getChildAccessible.
2333 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2335 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2336 g_strdup to CORBA_String_dup (bug #105291)
2338 * test/event-listener-test.c (report_text_event): Add call to
2341 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2343 * registryd/deviceeventcontroller.c:
2344 (spi_keystroke_from_x_key_event):
2345 Fix string and keysym return codes to match modifier state.
2348 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2350 * registryd/deviceeventcontroller.c:
2351 (spi_keystroke_from_x_key_event):
2352 Fix segv due to improper use of isprint(c). [bug #107254]
2354 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2357 (get_accessible_text_boundary_type):
2358 Move default return value to (new) default case in switch.
2359 (get_accessible_text_clip_type):
2360 Move default return value to (new) default case in switch.
2362 * libspi/application.c:
2363 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2364 Remove unused methods.
2365 (impl_accessibility_application_register_object_event_listener):
2366 Remove unused methods.
2369 Added #include of <math.h>.
2371 * registryd/deviceeventcontroller.c:
2372 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2373 we don't currently use this method.
2374 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2376 (impl_generate_key_event):
2377 Remove unused variables.
2378 (impl_generate_mouse_event):
2379 Initialize button to zero, just in case we get an invalid
2380 input. Added support for mouse buttons 4 and 5.
2381 (spi_device_event_controller_new):
2382 Removed unused variable declaration for 'private'.
2384 Added #include of <gdk/gdk.h>
2386 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2388 * configure.in: Update to work when X is not installed in expected
2389 location. Fixes bug #105836.
2391 * atk-bridge/bridge.c
2392 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2394 (spi_atk_register_event_listener): Add signal listener for
2396 (spi_atk_bridge_signal_listener): Event event when link-selected
2397 signal is emitted. (bug #104622)
2399 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2400 on returned string. (bug #105291)
2402 * test/event-listener-test.c: Add test for link-selected.
2404 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2406 * atk-bridge/Makefile.am: Correct typo in previous commit.
2408 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2410 * atk-bridge/Makefile.am: Allow for build directory to be different
2411 from source directory
2413 * registryd/Makefile.am: Allow for build directory to be different
2414 from source directory
2418 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2421 Fixed dependencies for libcspi so that libspi gets pulled in
2422 properly. Fixes 104741.
2426 Clean up inline docs a little.
2428 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2430 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2431 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2432 the AtkObject within an SpiDesktop.
2433 This addresses bug #101524.
2435 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2436 Remove call to gdk_init().
2438 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2439 so that Display is set when SpiDesktop is created.
2441 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2443 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2444 This fixes bug #102830.
2446 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2448 * test/test-simple.c: Update to take account of fact that GailButton
2449 now implements AtkText.
2450 (create_text_window): Set name on AtkObject for GtkEntry.
2451 (validate_accessible): Check accessible name before calling test_text().
2453 * libspi/Makefile.am: Fix problem with building outside of source
2454 directory. Bug #98120.
2456 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2457 typo in documentation comments. Bug #94275.
2459 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2461 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2463 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2466 Add includes to avoid compiler warnings on Solaris.
2467 (impl_getRangeExtents): Bug fix.
2469 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2471 Fix for 100944, [API addition approved by Gman and murrayc].
2478 * idl/Accessibility_Text.idl:
2479 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2480 (Text::getRangeExtents): New method for efficient
2481 bounds query of a text range.
2482 (Text::getBoundedRanges): New method for efficient
2483 clipping of text to bounding boxes.
2484 (unImplemented7, unImplemented8):
2485 Removed these padding methods to preserve bincompat.
2488 (impl_getRangeExtents): implementation of new IDL.
2489 (impl_getBoundedRanges): implementation of new IDL.
2490 (SpiTextRect): Internal use struct.
2491 (_spi_text_rect_union): internal method, calculates union of two
2492 SpiTextRect bounding rects.
2493 (_spi_text_range_seq_from_gslist): internal method, allows us
2494 to build our sequence efficiently as a gslist then convert it
2496 (_spi_bounds_contain): internal method, determines whether
2497 a text character is "in" or "out" of a clip rect according to
2498 values of TEXT_CLIP_TYPE.
2499 (spi_text_class_init): Initialize the new methods in the epv.
2502 (AccessibleTextClipType): New enum used by screen review api.
2503 (AccessibleTextRange): New struct used by screen review api.
2504 (AccessibleText_getRangeExtents):
2505 cspi binding for Accessibility_Text_getRangeExtents.
2506 (AccessibleText_getBoundedRanges):
2507 cspi binding for Accessibility_Text_getBoundedRanges.
2508 (AccessibleTextRange_freeRanges): convenience method.
2511 (AccessibleText_getRangeExtents):
2512 cspi binding for Accessibility_Text_getRangeExtents.
2513 (AccessibleText_getBoundedRanges):
2514 cspi binding for Accessibility_Text_getBoundedRanges.
2515 (AccessibleTextRange_freeRanges): convenience method.
2516 (get_accessible_text_clip_type): internal conversion method.
2517 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2519 * registryd/deviceeventcontroller.c:
2520 (spi_dec_mouse_check):
2521 Improved behavior for mouse:abs events
2522 [same granularity as mouse:rel events, and no
2523 events when mouse is idle].
2525 2002-12-16 Michael Meeks <michael@ximian.com>
2527 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2529 * libspi/stateset.c (state_spi_to_atk): split out
2530 ( fix several remote array bounds nasties )
2531 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2532 (impl_remove): make safe from array bounds issues.
2533 (spi_atk_state_from_spi_state): impl.
2535 * libspi/stateset.h (spi_state_set_cache_is_empty):
2536 add a set of wrapper defines to get layering right.
2538 * cspi/spi_accessible.c: update state set stuff to
2541 2002-12-14 Michael Meeks <michael@ximian.com>
2543 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2544 to avoid 2 roundtrips to the registry per key event
2545 (spi_atk_bridge_key_listener): upd.
2546 (deregister_application): release the dec.
2548 * registryd/registry.c (notify_listeners_cb):
2549 bin lots of re-enterant complexity - we no longer
2550 do a round-trip bonobo ref here, ensure that a single
2551 listener's exception failure won't poison all other
2553 (impl_registry_notify_event): bin obvious memory leak.
2555 2002-12-13 Michael Meeks <michael@ximian.com>
2557 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2558 init the ev so the error is meaningful.
2559 (spi_atk_bridge_key_listener): ditto.
2561 * cspi/spi_main.c (cspi_ev): init the ev so we start
2562 with a clean slate, otherwise the first exception
2563 kills us completely.
2565 * cspi/spi_text.c (get_accessible_text_boundary_type):
2566 add a fallthrough for no warnings.
2568 * cspi/spi_registry.c: prune unused warnings.
2570 * cspi/spi_main.c (cspi_object_take): fix
2571 mind-blowing brokenness ( by watching the compile
2574 * cspi/spi_accessible.c (Accessible_getStateSet):
2575 re-impl. to use an AtkStateSet.
2576 (spi_state_type_from_accessible_state),
2577 (init_state_table): bin these.
2579 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2581 (atk_state_set_from_accessibility_state_set): here.
2583 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2584 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2585 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2586 (AccessibleStateSet_add, AccessibleStateSet_remove),
2587 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2588 (AccessibleStateSet_isEmpty): re-write to use a local
2591 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2593 * configure.in: Revved to 1.1.7 (new keymask vals).
2595 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2597 * libspi/keymasks.h:
2598 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2600 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2603 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2604 to compare two CORBA_TypeCodes.
2605 (cspi_internal_event_add): Silence warning from FORTE compiler.
2607 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2608 avoid implicit declaration of functions.
2610 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2612 * atk-bridge/bridge.c:
2613 (spi_atk_bridge_init_event_type_consts): Store signal id for
2614 active-descendant-changed signal.
2615 (spi_atk_register_event_listeners): Add signal listener for
2616 active-descendant-changed signal,
2617 (spi_atk_bridge_signal_listener): Move code in function
2618 spi_atk-signal_emit_event() into this function.
2619 Add support for active-descendant-changed
2620 Update support for child-changed signal.
2621 (spi_bridge_window_event_listener): Silence warning.
2623 * libspi/spi_private.[ch]:
2624 (spi_init_any_object): Change second parameter from CORBA_Object to
2626 Omit call to CORBA_Object_duplicate().
2627 Set CORBA_any's _value to CORBA_Object*.
2629 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2635 (AccessibleEvent_ref, AccessibleEvent_unref):
2636 New methods, for persisting an event outside the emission context.
2637 Must be used if the new accessor methods are to be called
2638 outside of the event listener's callback.
2640 * cspi/bonobo/cspi-bonobo.c:
2641 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2642 as second parameter instead of NULL, so we can call
2643 cspi_check_ev afterwards.
2646 (cspi_object_take): New internal method,
2647 converts a CORBA_Object reference to a hard ref on
2648 an Accessible if possible, returning NULL if the object
2649 reference is invalid or an Accessible * otherwise.
2652 (AccessibleEvent_ref):
2653 Increment the event's internal private refcount, and
2654 add the event's internal struct to an internal cache
2655 if it's not already there.
2656 (AccessibleEvent_unref):
2657 Decrement the event's refcount and remove it from
2658 the cspi event cache if refcount==0.
2659 (cspi_event_compare): New private method.
2660 Compares two event structs via their ids. Used
2662 (cspi_internal_event_lookup): New private method.
2663 (cspi_internal_event_check): New private method,
2664 a 0-order sanity check for events to make sure their
2665 private data is intact.
2666 (cspi_internal_event_add, cspi_internal_event_remove):
2667 New private methods for managiing the event cache.
2669 * cspi/bonobo/cspi-bonobo-listener.c:
2671 Initialize the new private data elements (id, magic, ref_count).
2673 * atk-bridge/bridge.c:
2674 (spi_atk_bridge_signal_listener):
2675 Fixed bug #100530, passing wrong params to emission func.
2677 * registryd/deviceeventcontroller.c:
2678 (spi_dec_button_update_and_emit):
2679 Fixed type in mask bit operations; fix for #99799.
2681 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2683 Removed some of the more dangerous workarounds from
2684 previous commit; they are only needed by GOK, which
2685 in reality should be using another method to accomplish
2686 the goals. So on reconsideration some of the workarounds
2687 need to be reverted:
2689 * registryd/deviceeventcontroller.c:
2690 (spi_keycodes_contain, spi_dec_init_keycode_list):
2691 Removed these methods, used only by a nasty hack to try
2692 and detect whether a key synthesis should be allowed
2693 to reset the XKB latch state or not. This code was only
2694 required to work around an interaction between GOK,
2695 button events, and XKB.
2696 (impl_generate_key_event):
2697 Removed hack at end of key generation that tried to
2698 "do the right thing" if XKB latch keys were generated
2699 in the midst of button press/release pairs.
2702 Added a check for HAVE_XINPUT. Not normally used yet.
2704 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2706 Workarounds and fixes for mouse event/XKB interaction.
2708 * registryd/deviceeventcontroller.c:
2709 (spi_keycodes_contain, spi_dec_init_keycode_list):
2710 New internal methods.
2711 (spi_dec_set_unlatch_pending):
2712 Split the method that tells XKB to expect an
2713 unlatch (and revert it) out of the rest of the
2714 event handling code. This method is called by the
2715 two mouse event handlers (the poll and the filter).
2716 (spi_dec_update_and_emit, spi_dec_mouse_check):
2717 New methods split from spi_dec_poll_mouse_moved.
2718 The second one is now called from inside the filterFn
2719 when an XKB delatch event is received, to determine
2720 whether to revert the delatch or not.
2721 (spi_poll_mouse_moved): Refactor; also we can now
2722 properly handle the case where multiple button states
2723 have changed between polling cycles and we didn't get
2724 notified due to another client's grab.
2726 Synchronize the server while handling an XKB notification.
2727 Ugly, but apparently necessary to avoid nasty races.
2728 Check the mouse state on receipt of an XKB latch change,
2729 to decide whether to revert the latch or not. (Latches are
2730 reverted if there is an immediately preceding mouse button
2731 event that a client has consumed, in which case we don't want
2732 the user to see the side-effect of the event).
2733 (spi_device_event_controller_forward_mouse_event):
2734 Check for modifier events and fire before resetting mouse_mask_state,
2735 prevents losing modifier events.
2737 (impl_generate_keyboard_event):
2738 If we've just generated a keyboard event for a non-shift key,
2739 we don't want to revert the pending XKB latch.
2740 Otherwise, check the modifier state (via a call to
2741 spi_dev_mouse_check) and set the relatch mask to
2742 that state before returning.
2744 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2747 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2750 * atk-bridge/bridge.c:
2751 (spi_atk_register_event_listeners):
2752 Don't re-register for ATK events if the registry has died
2753 and the app needs to re-register; the ATK listeners are in
2754 process and doing so will cause duplicate emission.
2756 * registryd/deviceeventcontroller.c:
2757 (spi_poll_mouse_moved):
2758 Reformat the source, detect and emit multiple button-change
2759 events (i.e. if multiple buttons have changed between poll
2761 Add code to detect mouse-down events even when the pointer
2762 is grabbed; workaround for GOK bug 98420.
2763 (spi_controller_register_with_devices):
2764 Call XTestGrabControl with 'impervious' flag set to True,
2765 allows us to synthesize events and query the pointer even during
2766 an active grab by another client.
2767 (spi_device_event_controller_forward_mouse_event):
2768 Set the mouse_mask_state to the mouse_button_state from
2769 the intercepted event, to synchronize the grab listener with
2772 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2774 * cspi/spi_accessible.c:
2775 (AccessibleRole_getName):
2776 Added necessary strings for making this (deprecated)
2777 method work with the new role types.
2778 (init_role_table, role_table):
2779 Added definition of SPI_ROLE_APPLICATION.
2781 * libspi/spi-roletypes.h:
2782 Added SPI_ROLE_APPLICATION.
2784 * idl/Accessibility_Role.idl:
2785 Added ROLE_APPLICATION.
2787 * docs/reference/cspi/at-spi-cspi-decl.txt:
2788 Added SPI_ROLE_APPLICATION to docs.
2790 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2792 * cspi/spi_accessible.c
2793 (cspi_init_role_table): Do not write beyond end of role_table.
2794 (Accessible_getRole): Use correct type for value returned by
2795 Accessibility_Accessible_getRole().
2797 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2798 beyond end of role_table. (This fixes bug #98269)
2800 * libspi/application.c: Add include file spi-private.h for
2801 definition of spi_init_any_nil.
2803 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2807 * libspi/spi-private.h:
2808 Added DGB() macro, and extern int _dbg declaration.
2810 * registryd/registry.c:
2811 (definitions) storage for _dbg.
2812 (spi_registry_init):
2813 Get environment variable "AT_SPI_DEBUG".
2814 (spi_registry_set_debug):
2815 New method, to initialize _dbg value.
2816 (spi_listener_struct_new, spi_registry_object_finalize):
2817 (notify_listeners_cb):
2818 Changed fprintfs to use DBG and g_warning().
2820 * registryd/deviceeventcontroller.c:
2821 (_deregister_keygrab, spi_controller_register_device_listener):
2822 Changed debug/warning messages to use DBG macro.
2824 * libspi/listener.c:
2825 (impl_notify_event):
2826 Changed warning messages to use DBG macro and g_warning().
2828 * atk-bridge/bridge.c:
2829 (atk_bridge_init, spi_atk_bridge_get_registry):
2830 (spi_atk_bridge_exit_func):
2831 (spi_atk_bridge_property_event_listener):
2832 Changed status, warning, and error messages to use
2833 g_warning, g_message, and DBG macros.
2836 Read the state of the AT_SPI_DEBUG environment variable
2837 and set a local '_dbg' accordingly.
2839 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2841 FIXES for 98836, 98842, other bugs.
2844 Revved to 1.1.4, interface-age=4, binary-age=4.
2846 * registryd/deviceeventcontroller.c:
2848 Fixed crasher bug in last_mouse_pos initialization.
2850 * registryd/registry.c:
2851 (desktop_add_application, desktop_remove_application):
2852 Added (and then commented out) some support for
2853 object context marshalling. [TODO]
2855 * atk-bridge/bridge.c:
2856 (spi_atk_bridge_event_context_create):
2857 Commented out object context creation until it can
2858 be properly tested and debugged.
2860 * registryd/registry.c:
2861 (impl_registry_notify_event):
2862 Fixed crasher bug, we were calling
2863 spi_re_entrant_list_foreach () with an empty list.
2865 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2867 * idl/Accessibility_Action.idl:
2868 * idl/Accessibility_Component.idl:
2869 * idl/Accessibility_Desktop.idl:
2870 * idl/Accessibility_Event.idl:
2871 * idl/Accessibility_Hyperlink.idl:
2872 * idl/Accessibility_Image.idl:
2873 * idl/Accessibility_Relation.idl:
2874 * idl/Accessibility_Selection.idl:
2875 * idl/Accessibility_State.idl:
2876 * idl/Accessibility_Value.idl:
2877 Updated unimplemented slot count to minimum of
2878 four for all interfaces, for ABI freeze.
2880 * idl/Accessibility_EditableText.idl:
2881 * idl/Accessibility_Text.idl:
2882 Updated unimplemented slot count to six
2885 * idl/Accessibility_Registry.idl:
2886 Updated unimplemented slot count to six
2887 (also for DeviceEventController),
2890 * idl/Accessibility_Table.idl:
2891 Updated unimplemented slot count to eight,
2894 * idl/Accessibility_Event.idl:
2895 Added CORBA_any "any_data" member to Event struct.
2897 * idl/Accessibility_Event.idl:
2898 Added CORBA_any "any_data" member to Event struct.
2900 * atk-bridge/bridge.c:
2902 atk_signal_text_changed, atk_signal_child_changed,
2903 signal ids queried from gtype system.
2904 (AtkBridgeEventContextType): New enum.
2905 (AtkBridgeEventContextData): New struct.
2906 (AtkBridgeEventContext): New struct.
2907 (atk_bridge_init_event_type_consts):
2908 New method, initializes type contants for comparison
2909 prior to emit_eventv.
2910 (atk_bridge_event_context_init): New method,
2911 initializes a CORBA_any from an AtkBridgeEventContext.
2912 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2913 initialize the event.any_data struct.
2914 (spi_atk_bridge_event_context_create): New method,
2915 creates an AtkBridgeEventContext from signal/event info.
2916 (spi_atk_bridge_event_context_free): New method.
2917 (spi_atk_emit_eventv): Changed to take an
2918 AtkBridgeEventContext parameter. We now initialize
2919 the event.any_data member prior to notifying the
2920 Registry, via the AtkBridgeEventContext.
2921 (spi_atk_bridge_property_event_listener):
2922 (spi_atk_bridge_state_event_listener):
2923 Match emit_eventv signature.
2924 (spi_atk_bridge_object_event_listener):
2925 Match emit_eventv signature, and create an
2926 event context from the event details.
2927 Free the event context afterwards.
2928 (spi_atk_bridge_window_event_listener):
2929 Create an event context, pass it to the
2933 (AccessibleEvent_getContextString):
2934 (AccessibleEvent_getContextObject):
2935 New methods, allow query of AccessibleEvent objects
2936 for more context details (via the "any_data" member
2937 of the Event struct, above).
2940 Definitions for AccessibleEvent_getContextString
2941 and AccessibleEvent_getContextObject.
2943 * cspi/spi_listener.h:
2944 (InternalEvent): New struct.
2947 (AccessibleEvent_getContextString):
2948 (AccessibleEvent_getContextObject):
2949 Implementations of new methods, for obtaining
2950 additional context information from some event types.
2952 * cspi/spi_registry.c:
2953 (SPI_registerGlobalEventListener):
2954 Added mention of active-descendant-changed event in docs.
2956 * cspi/cspi-bonobo-listener.c:
2958 Marshal the any into the AccessibleEvent via
2961 * libspi/spi-private.h:
2962 #include <orbit/orbit.h>
2964 (spi_init_any_string):
2965 (spi_init_any_object):
2966 New convenience function declarations.
2970 (spi_init_any_string):
2971 (spi_init_any_object):
2972 New convenience function implementations.
2974 * registryd/deviceeventcontroller.c:
2975 (spi_poll_dec_mouse_moved):
2976 (spi_device_event_controller_forward_mous_event):
2977 Initialize any_data member of event.
2978 (spi_deregister_controller_device_listener):
2979 Fix incorrect param pass which was preventing deregistration.
2981 * registryd/registry.c:
2982 (desktop_add_application):
2983 (desktop_remove_application):
2984 Add object data to event's any_data before dispatch.
2986 Fix for error messages from GAIL.
2988 * test/event-listener-test.c:
2989 Test new ContextString and "any_data" API:
2990 (report_text_event): New method query and output context string.
2991 (main): register a new text listener with report_text_event
2994 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2996 Fixes for bugs 98127 and 97914.
2997 * cspi/spi-roletypes.h:
2998 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3000 * cspi/spi-statetypes.h:
3001 Added SPI_STATE_MANAGES_DESCENDANTS
3003 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3004 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3005 * cspi/spi_accessible.c:
3006 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3007 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3008 Accessibility_STATE_MANAGES_DESCENDANTS
3009 * libspi/accessible.c:
3010 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3011 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3012 As requested by Bill, I also cleaned up the alignment.
3013 * libspi/relation.c:
3014 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3015 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3016 * libspi/stateset.c:
3017 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3018 Accessibility_STATE_MANAGES_DESCENDANTS
3019 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3020 Document changes reflecting modifications to roles.
3021 * docs/reference/cspi/tmpl/spi_relation.sgml:
3022 Document changes reflecting modifications to relations.
3023 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3024 Document changes reflecting modifications to states.
3026 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3029 Revved to 1.1.3, interface-age=3, binary-age=3.
3030 Added REBUILD macro.
3033 Removed accessx-gui from the tests, since we have a nice
3034 keyboard accessibility capplet now :-)
3036 * test/keysynth-demo.c:
3037 (increment_scan): removed do-nothing default: case,
3040 * test/visual-bell.c:
3041 (main) : removed do-nothing default: case,
3044 * cspi/spi_action.c:
3045 (AccessibleAction_getKeyBinding_):
3046 Documented keybinding string format.
3050 (AccessibleText_getAttributes):
3051 Documented the text attribute string format.
3052 It's changed to use semicolon delimiters also,
3053 to prevent clashes with CSS attributes, but the old
3054 trick of looking for ", " strings will still work
3055 (as unreliably as ever). Fix for bug related to 97916.
3058 Include <cspi/bonobo/cspi-bonobo-listener.h>
3059 Fixes build warning.
3060 (SPI_freeAccessibleKeySet):
3061 (AccessibleKeystrokeListener_addCallback):
3062 (AccessibleKeystrokeListener_removeCallback):
3063 Modify to use AccessibleDeviceListener API internally,
3064 instead of AccessibleKeystrokeListener.
3066 * idl/Accessibility_Event.idl:
3067 Added two more empty slots to EventListener (for a total of four).
3069 * idl/Accessibility_Accessible.idl:
3070 Added four empty slots to Accessible interface.
3072 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3074 * idl/Accessibility_Registry.idl:
3075 (KeyEventType, EventType):
3076 Marked KeyEventType as deprecated; it duplicates
3077 functionality of EventType, which has been extended to
3078 include Mouse-button events.
3079 (KeyEventTypeSeq): defined in terms of EventType.
3080 (registerDeviceEventListener, deregisterDeviceEventListener):
3081 New methods, for managing listeners to device events,
3082 which potentially may consume them.
3085 Added definition for AccessibleDeviceListener.
3087 * cspi/spi-listener.h:
3088 (enum AccessibleDeviceEventType):
3089 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3090 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3091 for backwards compat.
3092 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3093 and typedef'd AccessibleKeystroke to it for back-compat.
3094 (AccessibleDeviceListenerCB):
3095 New function prototype typedef.
3098 (AccessibleDeviceEventMask): New typedef.
3099 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3100 (AccessibleKeyMaskType):
3101 Set equivalent to AccessibleModifierMaskType for back-compat.
3102 (SPI_createAccessibleKeystrokeListener):
3103 (AccessibleKeystrokeListener_unref):
3104 Deprecated in favor of equivalent (better-named) new API below..
3105 keystroke listeners are like all device listeners.
3106 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3107 New API names for old features :-).
3108 (AccessibleDeviceListener_addCallback):
3109 (AccessibleDeviceListener_removeCallback):
3110 (SPI_registerDeviceEventListener):
3111 (SPI_deregisterDeviceEventListener):
3115 (SPI_createAccessibleKeystrokeListener):
3116 Use new preferred API, cspi_device_listener_new() and
3117 cspi_device_listener_add_cb().
3118 (AccessibleKeystrokeListener_removeCallback):
3119 Use new preferred API, cspi_device_listener_remove_cb().
3120 (AccessibleKeystrokeListener_unref):
3121 Use new preferred API, cspi_device_listener_unref().
3122 (SPI_createAccessibleDeviceListener):
3123 (AccessibleDeviceListener_addCallback):
3124 (AccessibleDeviceListener_removeCallback):
3125 Implementation of new API.
3127 * cspi/spi_registry.c:
3128 (SPI_registerDeviceEventListener):
3129 (SPI_deregisterDeviceEventListener):
3130 Implementation of new API. Fixed memory leak and removed need to
3131 allocate EventTypeSeq (thanks Michael for catching this).
3132 Squashed a wayward CORBA_exception_free that shouldn't get called.
3134 * cspi/bonobo/cspi-bonobo-listener.c:
3136 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3137 (cspi_key_event): renamed to cspi_device_event().
3138 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3139 Extended to handle mouse button events as well as key events.
3140 (CSpiKeystrokeListener):
3141 Class superceded by CSpiDeviceListener.
3142 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3143 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3145 * cspi/bonobo/cspi-bonobo-listener.h:
3146 (CSpiKeystrokeListener):
3147 Class superceded by CSpiDeviceListener.
3148 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3149 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3151 * libspi/Makefile.am:
3152 Replaced keystrokelistener.h and keystrokelistener.c
3153 with devicelistener.h and devicelistener.c; keystrokelisener.h
3154 stub retained for back-compat.
3156 * libspi/keystrokelistener.c:
3160 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3162 * registryd/deviceeventcontroller.c:
3163 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3164 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3165 (DEControllerPrivateData): Added xkb settings data.
3166 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3167 button release events (which can't be captured via XGrabButton).
3168 Don't dispatch via the 'normal' event mechanism if the device event was
3170 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3171 Handle the typeseq data in its new location (see above).
3172 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3173 New methods, for "generic" device listeners.
3174 (spi_controller_register_device_listener):
3175 Now handle mouse event listeners as well as key listeners.
3176 (spi_controller_notify_mouselisteners):
3177 New internal method.
3178 (spi_device_event_controller_forward_mouse_event):
3179 Now we notify mouse device listeners as well as generating the
3180 non-consumable "mouse:" events.
3182 We must check and restore the XKB
3183 modifier map if we consume the event, since the act of triggering
3184 a mouse event will normally reset the XKB latch. This is required for
3186 (spi_controller_register_with_devices):
3187 Load the XKB settings when registering, and register for XKB
3188 state notify events.
3189 (spi_key_eventtype_seq_contains_event):
3190 Renamed spi_eventtype_seq_contains_event, since it's used
3191 internally for all device event types now.
3192 (spi_key_event_matches_listener):
3193 Uses spi_eventtype_seq_contains_event now.
3194 (spi_device_event_controller_object_finalize):
3195 Free the private data and the XkbKeyboard struct.
3196 (impl_register_device_listener, impl_deregister_device_listener):
3197 Implementation of new IDL.
3198 (spi_deregister_controller_device_listener):
3199 New internal method.
3200 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3201 More efficient implementation, we don't have to create a new
3202 XkbControls structure every time we query.
3203 (spi_device_event_controller_class_init):
3204 Initialize the epv entries for the new IDL. Assign the
3205 "spi-dec-private" quark.
3206 (spi_device_event_controller_init):
3207 Initialize the private data.
3208 (spi_device_event_controller_forward_key_event):
3209 Removed a bogus CORBA_exception_free() call.
3211 * registryd/deviceeventcontroller.h:
3212 Replaced inclusion of keystrokelistener.h with
3215 * test/event-listener-test.c:
3216 (report_mouse_event):
3219 Added mouse-event device listener.
3221 * test/test-simple.c:
3222 (create_test_window):
3223 Fixed regression (we were instantiating a GtkRange,
3224 which is now an abstract class). Also fixed to match
3225 existing AtkRole names, this seems to have changed in ATK
3226 awhile ago; too late now I think, and the new
3227 mechanism is at least elegant and consistent with the
3228 glib enum "nick" APIs.
3230 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3232 * idl/Accessibility_Relation.idl:
3233 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3234 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3235 * idl/Accessibility_Role.idl:
3236 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3237 * idl/Accessibility_State.idl:
3238 add STATE_MANAGES_DESCENDANTS
3239 * test/event-listener-test.c:
3240 Added a listener for active-descendant events.
3242 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3244 * atk-bridge/bridge.c
3245 (atk_bridge_init): If application is Bonobo component wait until top
3246 level is added before registering
3247 (spi_atk_bridge_do_registration): New function which contains code,
3248 formerly in atk_bridge_init, to do application registration.
3249 (spi_atk_bridge_toplevel_added): Signal called when top level
3250 added to Bonobo component
3252 This fixes bug #83134.
3254 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3256 * registryd/deviceeventcontroller.c
3257 Fixed compilation error caused by calling gettimeofday()
3260 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3265 Added template for HAVE_XKB.
3268 Changes to check for XKB, and to set the HAVE_XKB #define if it
3271 * libspi/listener.c:
3272 ()impl_notify_event): Make failure to get event source name
3275 * registryd/deviceeventcontroller.c:
3276 (#include): include X11/XKBlib.h.
3277 (DEControllerPrivateData) : New struct.
3278 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3280 (dec_synth_keycode_press) (dec_synth_keycode_release):
3281 New methods; split the key synthesis code into these methods.
3282 They check XKB settings before determining the "time" values to
3283 pass to Xtest; this fixes bug #95828.
3284 (impl_generate_keyboard_event): Changed to use methods above,
3285 instead of callng Xtest directly.
3286 (spi_device_event_controller_init): Initialize new privae struct s
3288 (spi_device_event_controllr_object_finalize):
3289 Free the (new) private data.
3291 * registryd/deviceeventcontroller.h:
3292 Add new gpointer to end of struct data.
3294 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3297 Incremented revision to 1.1.2, SONAME is still '.so', library
3298 extensions are ".so.0.0.2".
3300 * registryd/deviceeventcontroller.c:
3301 FIXES FOR #93592 and #95940.
3302 (statics): renamed mouse_button_state to mouse_mask_state,
3303 added key_modifier_mask.
3304 (spi_dec_poll_mouse_moved):
3305 Added key modifier checks, and emit "keyboard:modifiers"
3306 events when the key modifiers currently in use change.
3307 Also generate "mouse:abs" events periodically, even if the mouse
3308 is stationary (should we?).
3309 Alternatively we could generate "mouse:abs" events for either all
3310 mouse movements, or every 'nth' mouse movement, or at the
3311 beginning and end of every "active" mouse period.
3313 * test/event-listener-test.c:
3314 (main): Added listener for "keyboard:modifiers" events.
3316 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3318 * libspi/keymasks.h:
3319 Added key mask #defines for mouse buttons; e.g.
3320 SPI_KEYMASK_BUTTON1, etc.
3323 Incremented dependency on ATK to version 1.1.0. (This dependency
3324 is probably premature but will soon be real enough).
3326 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3328 * libspi/hyperlink.[ch]
3329 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3330 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3333 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3338 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3340 * registryd/deviceeventcontroller.c
3341 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3342 events to be ignored.
3343 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3344 keyboard_mode so that XAllowEvents() can be called.
3348 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3350 * cspi/spi-accessible.c: Correct names of roles returned by
3351 AccessibleRole_getName(). Fixes bug #95055.
3353 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3355 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3358 * registryd/registry.c
3359 (desktop_remove_application: Write diagnostic message to stderr for
3362 (impl_accessibility_registry_deregister_global_event_listener):
3363 Correct size of lists array. This addresses bug #94555).
3365 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3367 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3370 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3372 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3375 * registryd/registry.c (impl_registry_notify_event): Remove
3376 unnecessary call to parser_event_type().
3378 * docs/reference/cspi/tmpl/spi_component.sgml:
3379 Add reference to SPI_LAYER_WINDOW.
3381 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3383 * registryd/registry.c
3384 (desktop_add_application): Remove leak.
3385 (desktop_remove_application): Remove leak.
3386 (parser_event_type): Remove leak.
3388 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3390 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3391 bogus call to CORBA_string_dup(). Also removed unnecessary
3392 g_string_dup/g_free calls.
3394 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3396 * registryd/deviceeventcontroller.c:
3397 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3399 * test/event-listener-test.c:
3400 main: commented out three redundant listeners, to reduce output
3401 noise. (They still are potentially useful for testing).
3404 2002-09-13 Michael Meeks <michael@ximian.com>
3406 * Update all the copyrights to include Ximian.
3408 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3410 * cspi/spi.h: add SPI_LAYER_WINDOW.
3412 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3413 add Accessibility_LAYER_WINDOW case.
3415 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3417 * libspi/component.c: (impl_accessibility_component_get_layer):
3418 add ATK_LAYER_WINDOW case.
3420 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3422 * configure.in: incremented micro version.
3424 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3426 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3429 Clarified and reworded our commit policy.
3432 Started an API "todo" addition list for 2.2.
3435 (impl_getSelection):
3436 Free char pointer from atk_text_get_selection, which was being leaked.
3438 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3441 Small revision to author acknowledgement.
3443 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3445 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3446 If signal has detail add it to the type of the event.
3449 2002-08-12 Michael Meeks <michael@ximian.com>
3451 * test/test-simple.c (global_listener_cb): bin bogosity.
3452 (test_keylisteners): disable, still doesn't work reliably,
3453 certainly not on my system anyway.
3455 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3456 don't leak a reference on the DEC. This round-trip
3457 fetching of the DEC per keystroke sucks, it should be
3460 * cspi/spi-private.h,
3461 * cspi/cspi-lowlevel.h,
3462 * cspi/bonobo/cspi-bonobo-listener.[ch],
3463 * cspi/bonobo/cspi-bonobo.c: get the copyright
3464 notices better - there is still a large amount of
3465 work in at-spi falsely attributed solely to Sun.
3467 * cspi/spi_main.c (cspi_object_ref): kill bogus
3468 hash lookup, just increment the ref.
3469 (SPI_freeString): make explicit the fact that we
3470 handle NULL strings just fine.
3471 (report_leaked_ref): obey coding standards.
3472 (cspi_object_hash, cspi_object_equal): kill retval.
3473 (cspi_object_release): only release if not on loan.
3474 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3475 (cspi_object_borrow, cspi_object_return): impl.
3477 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3478 use cspi_object_borrow / return.
3480 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3482 * cspi/bonobo/cspi-bonobo-listener.c:
3484 Don't call cspi_oject_new() because this is creating a new Accessible
3485 every single time that an event is fired. This causes ATs like at-poke
3486 to nolonger recognise the source of the event and thus ignore it.
3487 Re-use the object from the cache, ref it and then unref it after the
3488 listeners have been called.
3490 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3492 * test/event-listener-test.c:
3493 Added command-line options to disable mouse events (m) and
3496 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3498 * configure.in: Update required versions of ATK, GTK+ and GAIL
3500 * cspi-1.0.pc.in: Add dependency for X include files
3503 * cspi/bonobo/Makefile.am:
3504 Add $(X_CFLAGS) so that X include files
3505 are picked up even if not in standard place (bug #71686)
3507 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3509 * registryd/deviceeventcontroller.c: fix for 84261
3510 (spi_dec_mouse_moved):
3511 Added test of mouse button mask, so that we can detect mouse
3512 button release. Unfortunately we can't otherwise detect mouse
3513 button release events without consuming the mouse press event,
3514 because of the way XGrabButton works. This means that our mouse
3515 release events have a latency dependent on the polling period
3516 while the mouse button is down. At least in this case we only
3517 have to poll while the button is down, and not at other times.
3518 If the button masks don't match with what the last press event
3519 reported, we report the appropriate button release event.
3520 (spi_dec_ungrab_mouse):
3521 New method (not yet called).
3522 (spi_device_event_controller_forward_mouse_event):
3523 New method, sends mouse press event from GdkFilter.
3524 (spi_dec_init_mouse_listener):
3525 Added code to call XGrabButton, redirecting mouse button events to
3526 the root window and our Gdk event loop.
3528 Added code to filter mouse button events, and reordered.
3530 * test/event-listener-test.c:
3532 Added registration for mouse events of type "mouse:button".
3534 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3536 * registryd/deviceeventcontroller.c: partial fix for 84261
3537 (spi_dec_poll_mouse_idle):
3538 New method, a timeout which checks to see if the mouse
3540 (spi_dec_poll_mouse_moving):
3541 A timeout to be called when mouse motion is underway.
3542 (spi_dec_poll_mouse_moved):
3543 A method which fires an event if the mouse has moved, and reports
3544 whether or not it did so.
3545 (spi_dec_init_mouse_listener):
3546 A method which sets up the timeouts above.
3547 (spi_device_event_controller_new):
3548 Now calls spi_dec_init_mouse_listener.
3550 * registryd/registry.c:
3551 (spi_registry_init):
3552 Now we initialize the device event controller when the registry is
3553 initialized, instead of waiting until a client has requested a key
3554 event notification; this is because we need the event controller
3555 for mouse events, but the mouse event registration API is a
3556 "registry" call and doesn't explicitly call the
3557 deviceeventcontroller.
3558 We now report mouse motion events with a 100 ms idle latency and
3559 a 20 ms granularity when motion is in progress.
3561 * test/event-listener-test.c:
3563 We now register the "detail listener" for events of type
3564 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3565 delivered only for the first mouse event received, and thereafter
3566 "mouse:abs" events are delivered.)
3568 * cspi/spi_registry.c:
3569 DOCS: Documented the above mouse event typestrings.
3571 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3573 Happy Summer Solstice...
3575 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3576 (spi_controller_notify_keylisteners):
3577 Changes to remove a listener from the listener list, freeing its
3578 open keygrabs, if a notification to that listener fails. This
3579 means that although a dead listener can continue to hold a passive
3580 keygrab, a maximum of one dispatch to such a listener can fail
3581 before the listener is removed from the list, thus the keygrab
3582 will be released on the next occurrence.
3583 As part of this fix:
3584 (spi_notify_keylisteners):
3585 Renamed to spi_controller_notify_keylisteners, as the controller
3586 instance must now be passed as an argument.
3587 The copied 'notify' GList is now a list of DEControllerKeyListener
3588 objects, since we need more than just the CORBA reference if a
3589 notify fails and we need to deregister the listener.
3590 (impl_notify_listeners_sync):
3591 (impl_notify_listeners_async):
3592 (spi_device_event_controller_forward_key_event):
3593 Modify use of notify_keylisteners in accordance with above
3595 (spi_deregister_controller_key_listener):
3596 New method introduced by refactoring, from
3597 impl_deregister_keystroke_listener.
3598 (impl_deregister_keystroke_listener):
3599 Call spi_deregister_controller_key_listener.
3600 (spi_key_listener_clone):
3601 New method to copy a key listner without doing a 'ref' on the
3602 remote object instance; used to create a notifier list.
3603 (spi_key_listener_data_free):
3604 New method, frees data without unreffing the source.
3606 (spi_key_listener_clone_free): new method.
3607 (spi_key_listener_free):
3608 refactored to call spi_key_listener_data_free.
3610 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3612 * registryd/registry.c: [fix for bug 86048]
3613 (notify_listeners_cb):
3614 Clear CORBA system exceptions which occur when notifying
3615 listeners, before returning to the source of the original event,
3616 since the event source doesn't care if the relayed notify failed.
3617 In other words, don't complain to the atk-bridge if the registry
3618 could not notify all its listeners, that's no fault of the
3619 application and thus should not appear to be an error from the
3620 application's perspective.
3622 * cspi/spi_main.c: [fix for bug 85980]
3624 Replaced use of bonobo_object_dup_ref with call to the wrapper
3625 method, csou_dup_ref (); this silences a compiler warning and
3626 provided more portability.
3628 Ping the registry before return, and restart if necessary.
3630 * cspi/bonobo/cspi-bonobo.c:
3632 New internal method.
3634 Fixed this method to return an object reference, as it should have
3637 * cspi/cspi-lowlevel.h:
3638 Added internal definition for cspi_ping() and fixed
3639 return type of cspi_dup_ref().
3642 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3644 * atk-bridge/bridge.c: [fix for bug 85305]
3645 (spi_atk_bridge_register_application):
3646 New method where the initial application registry calls have been
3647 moved; it allows an application to re-register in response to
3648 certain error conditions (such as a registry restart, see below).
3650 Moved some initialization code to the method
3651 spi_atk_bridge_get_registry, below.
3652 (spi_atk_bridge_get_registry):
3653 New, private accessor function for the Accessibility_Registry
3654 instance. If the registry has not been started before, or has
3655 died (as detected by failure of a CORBA exception), it is
3656 restarted before return, and spi_atk_bridge_register_application
3657 is called again to register with the new bridge instance.
3658 (spi_atk_emit_eventv):
3659 Set registry_died on error; use spi_atk_bridge_get_registry () to
3660 access the registry.
3662 * registryd/registry.c:
3663 (impl_accessibility_registry_register_global_event_listener):
3664 Set listener's event_type_quark to etype.minor instead of
3665 etype.major (fix for bug 84856).
3667 * test/event-listener-test.c:
3668 (report_detail_event):
3669 Change the output string so that user/tester can tell that the
3670 'detail listener' was called instead of the 'generic listener'.
3672 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3674 Fixes for bugs 84900, 84908, 84897, 84898.
3679 Revved version to 1.1.0
3680 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3681 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3683 * idl/Accessibility_Registry.idl:
3684 (EventListener::notifyEvent):
3685 Removed 'oneway' directive after extensive consulation with
3686 ORBit2 team and others. This means also that unref() of the event
3687 source can and should be done synchronously after emission, rather
3688 than remotely in the client, after servicing the notify call on
3691 NOTE: This change speeds up listener performance considerably, but
3692 introduces new latency on the application side. We may want to
3693 add an event queue to the atk-bridge.
3695 * atk-bridge/bridge.c:
3696 (spi_atk_bridge_focus_tracker):
3697 Do a local unref() on the event source after emission.
3699 * registryd/registry.c:
3700 (desktop_remove_application):
3701 Do an unref() on the event source after emission.
3702 (desktop_add_application):
3703 Do an unref() on the event source after emission.
3704 (notify_listeners_cb):
3705 When relaying an event, don't automatically add the event source
3706 to the local object cache, just CORBA_dup it instead. Likewise,
3707 if this method reenters, release the ref rather than calling
3709 (impl_registry_notify_event):
3710 No longer call remote unref() on the event source after dispatch.
3712 * libspi/eventlistener.c:
3713 (impl_accessible_event_notify_event):
3714 Removed remote unref ()
3716 * cspi/bonobo/cspi-bonobo-listener.c:
3718 We now call cspi_object_new() instead of cspi_object_add() on
3719 receipt of an event; thus we only have an implicit object ref
3720 while the cspi_event method is being executed. If we need to keep
3721 a reference to the object, the listener must call ref() on the
3722 object. Thus also we don't need to call cspi_object_unref() after
3723 invoking the listener callbacks in this method.
3727 New internal API for creating a new cspi object, without adding it
3728 to the object cache.
3730 Now uses cspi_object_new() to create the cspi object instance.
3732 Now checks to see if the object is in the internal object cache,
3733 and adds it if necessary before incrementing its refcount (note
3734 that new objects are added with a refcount of 1).
3735 (report_leaked_ref):
3736 New method which gives some information on leaked object instances
3737 if leak detection is turned on.
3739 * test/event-listener-test.c:
3740 (timing_test_event):
3741 New method, used for testing event delivery timing for special
3742 events of type "object:test". It reports elapsed time and
3743 events/sec every 500 events.
3745 Added a new listener, 'test listener', to check timing of event
3746 receipt as noted above.
3748 Added some timing output here also, reports elapsed time every 100
3751 * test/stress-test.c:
3752 Emit events of type "object:test", for use with "event-listener-test".
3754 * test/test-simple.c:
3755 (global_listener_cb):
3756 Call Accessible_ref() on the event source before calling
3757 validate_accessible, since the validation process does pointer
3758 comparisons on the event source, meaning that the event source
3759 needs to be added to the local object cache first. Any use of
3760 such pointer comparisons between Accessible objects requires that
3761 the caller hold an explicit reference to those objects.
3762 We also must therefore call Accessible_unref() when leaving this method.
3764 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3766 * registryd/deviceeventcontroller.c:
3767 (spi_controller_update_key_grabs):
3768 Fix for #84735, subsequent keygrab listeners not informed of
3769 registration failure.
3772 (spi_base_construct):
3773 Add an assertion on construct, to make sure the GObject passed in
3774 is really a GObject.
3776 Explicitly initialize object->gobj pointer to NULL;
3778 * cspi/bonobo/cspi-bonobo-listener.c:
3779 (cspi_object_add_ref):
3780 New method, can specify whether to dup-ref a bonobo object passed
3781 in if it's newly added to the object cache.
3783 Now calls cspi_object_add_ref with second param of "FALSE". This
3784 prevents us from doing a pointless dup-ref followed by
3785 release-unref for all those cases where the object is already in
3786 our object cache (fix for #85205).
3788 * atk-bridge/bridge.c:
3789 (spi_atk_bridge_idle_init):
3790 Removed this method, we don't need to initialize in an idle
3793 Changed to call spi_atk_register_event_listeners directly, not via an
3794 idle handler. (fix for #81139)
3795 (gnome_accessibility_module_shutdown):
3796 Removed conditional around deregistration of listeners, since we
3797 don't use the idle handler and thus have always registered when
3799 (spi_init_keystroke_from_atk_key_event):
3800 Changed references to Accessibility_KEY_PRESSED to
3801 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3803 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3805 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3810 * test/stress-test.c:
3813 (may have been an incomplete commit yesterday?)
3815 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3818 Added target for new stress-test.
3820 * test/stress-test.c:
3821 New test, sends 1000 focus notifies in quick succession.
3823 * test/key-listener-test.c:
3824 Now we report whether a keylistener registration
3825 request succeeded or failed.
3827 * test/event-listener-test.c:
3828 Uncommented some listeners which are now implemented.
3831 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3833 * registryd/deviceeventcontroller.c:
3834 (spi_controller_update_key_grabs):
3835 Fix for #82509, lack of failure notification when
3836 ALL_WINDOWS keygrabs fail due to XGrabKey
3837 failure: we synchronize the server when
3838 registering a passive grab, to make sure we get the
3839 error message before the call returns.
3841 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3843 * test/test-simple.c:
3845 Removed #ifdef KEY_IMPL_WORKS guards.
3846 (test_keylisteners):
3847 Removed #ifdef KEY_IMPL_WORKS guards.
3848 Fixed bug which was causing a hang waiting for a
3849 "press" event (which was already overwritten by a "release"
3850 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3852 Added code to set globals 'key_press_received' and
3853 'key_release_received'.
3856 Added section "1.1 API Proposed Additions" which
3857 lists API additions desired for at-spi-1.1 (only one so far).
3858 Updated TODO list a little.
3860 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3862 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3865 * configure.in: Revved to 1.0.0.
3867 * idl/Accessibility_Registry.idl:
3868 (registerKeystrokeListener):
3869 Added boolean return value.
3871 * registryd/registry.c:
3872 (notify_listeners_cb): Minor fix to debug output.
3874 * registryd/Accessibility_Registry.server.in.in:
3875 Revved version number in OAFIID to 1.0.
3877 * registryd/registryd.c:
3879 Use new OAFIID version.
3881 * cspi/bonobo/cspi-bonobo.c:
3883 Use new OAFIID version.
3889 * atk-bridge/bridge.c:
3891 Use new OAFIID version.
3893 * registryd/deviceeventcontroller.c:
3894 (impl_register_keystroke_listener):
3895 Added CORBA_boolean return value.
3896 (spi_controller_register_device_listener):
3897 Added gboolean return value.
3898 (spi_controller_register_global_keygrabs):
3899 Added gboolean return value.
3900 (spi_key_set_contains_key):
3901 Added implementation for many more control keys,
3902 for instance F1-F12, arrow keys, End, Home, Page_Up,
3904 [TODO: some still not implemented].
3906 * text/screen-review-test.c:
3907 (text_chunk_pad_string):
3908 New function: it provides mapping between coordinate
3909 positions of text chunks and character positions in the
3910 screen-review-line output string.
3911 (text_chunk_to_string):
3912 New function, calls text_chunk_pad_string with various
3913 pad/delimiter characters. Pushbuttons are delimited with
3914 square brackets, Frames with vertical 'pipe' lines, and
3915 other text with double quotes.
3916 (text_chunk_list_to_string):
3917 Calls new function text_chunk_to_string.
3918 (toplevel_composite):
3919 New function to composite layers CANVAS through
3920 POPUP in each toplevel (other layers are composited
3921 across toplevels, i.e. BACKGROUND and OVERLAY).
3922 (review_buffer_composite):
3923 Revise to use new methods.
3929 2002-05-31 Laszlo Peter <laca@sun.com>
3931 * configure.in: add the Xtst libdir to the runpath on Solaris,
3932 since it's not in the default library search path.
3934 2002-05-29 jacob berkman <jacob@ximian.com>
3936 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3938 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3940 * test/screen-review-test.c:
3941 (text_chunk_pad_string):
3942 Added method, which pads the string according to the
3943 text bounds of the chunk. It also takes a 3-character
3944 string as a param which indicates the characters to be
3945 used for start, padding, and end delimitation of the chunk.
3946 (text_chunk_to_string):
3947 Changed to use text_chunk_pad_string.
3949 * configure.in: Fixed bug in AC_OUTPUT that was
3950 causing path substitution in Accessibility_Registry.server
3953 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3955 * text/screen-review-test.c:
3956 (guess_string_clip):
3957 New method which attempts a best-guess at clipping
3958 text from components (like Java labels) which don't
3959 actually implement AccessibleText. This inaccurate
3960 clip is based on the assumption that the label is
3961 justified left-and-right, and monospaced.
3962 (text_chunk_get_clipped_string):
3963 We now call guess_string_clip() for text-containing
3964 components that don't implement AccessibleText.
3966 * test/screen-review-test.c:
3967 (review_buffer_get_text_chunk):
3968 We now pull "name" from labels if they do not implement
3969 AccessibleText (i.e. for Java labels).
3970 (get_screen_review_line_at):
3971 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3974 Replaceded AC_OUTPUT target
3975 registryd/Accessibility_Registry.server with
3976 registryd/Accessibility_Registry.server.in.
3978 * registryd/Accessibility_Registry.server.in:
3979 Removed (this is now a Makefile target).
3981 * registryd/Accessibility_Registry.server.in.in:
3982 Added (source for target above). We now use $(libexecdir) as
3983 prefix for the executable at-spi-registryd.
3985 * registry/Makefile.am:
3986 Now install at-spi-registryd into $(libexecdir), and build .server
3987 file with path (see above).
3989 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3991 * test/screen-review-test.c:
3992 (text_chunk_get_clipped_string):
3993 We now check to see if words fall within clip bounds
3994 before resorting to character-by-character clip bounds testing.
3996 * TODO: Added a section for "2.2 Proposed API Additions".
3998 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4000 * test/screen-review-test.c:
4002 Added a screen review benchmarking and test program to test
4005 * cspi/spi_accessible.c:
4007 Made some of the debug strings passed to cspi_check_ev a
4008 little more specific.
4010 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4012 * test/screen-review-test.c: Fix crashes in debug statements
4014 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4016 * test/screen-review-test.c: Added this file.
4018 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4020 * atk-bridge/bridge.c: changed "object:state-change" to
4021 "object:state-changed" to match docs.
4023 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4025 * atk-bridge/bridge.c: Hooked up state-change event details.
4027 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4029 * registryd/registry.c:
4030 Fixed quarking bug in event string parsing; now events with
4031 detail parameters get matched correctly to listeners.
4034 * util/idl/Magnifier.idl: remove.
4036 * util/*.[ch]: Remove.
4037 Magnification utilities and IDL are now in module gnome-mag.
4039 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4041 * registryd/deviceeventcontroller.c:
4042 Fixed bug in grab key conversion which was causing keycode grabs
4043 to be converted to AnyKey grabs.
4046 updated NEWS file to reflect recent spin-off of gnome-mag.
4048 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4050 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4051 busted AccessibleStateSet_compare. Removed redundant casts.
4053 * cspi/spi-action.c: Removed redundant casts.
4055 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4057 * cspi/spi_component.c: Fixed typos and casting error.
4059 * cspi/spi_editabletext.c: Removed redundant casts.
4061 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4063 * cspi/spi_hypertext.c: Eliminated redundant casts.
4065 * cspi/spi_image.c: Eliminated redundant casts.
4067 * cspi/spi_registry.c: Eliminated redundant casts.
4068 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4069 * cspi/spi_selection.c: Removed redundant casts.
4070 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4071 handling. Screen geometry and text offsets were being returned as 0
4072 on error which is technically valid-- changed these to return -1.
4073 Added marshaller for text boundary types to fix bug with boundary
4074 types being passed incorrectly to atk.
4076 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4079 * cspi/spi_registry.c:
4080 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4081 which was uncovered by the recent key changes.
4083 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4085 * test/event-listener-test.c:
4087 Added new test, "event-listener-test";
4088 this code does two things; it benchmarks traversal time
4089 for the accessible hierarchy for the first running accessible
4090 app, and it connects listeners for all supported event types.
4091 It is thus useful as an example event listener and for
4092 diagnostics/debugging of event generation.
4094 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4097 Removed unnecessary dependency on libutil.
4100 Revved micro version: 0.13.1
4102 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4105 Removed util/Makefile from targets.
4108 Removed util subdir from SUBDIRS (temporarily,
4109 pending removal of magnifier-only code
4113 #ifdef-ed out magnifier dependencies, since
4114 magnifier IDL, headers, and binary now live in
4115 module gnome-mag and we don't want at-spi to depend
4116 on gnome-mag. A magnifier demo which can run alongside
4117 simple-at is forthcoming in the gnome-mag module.
4119 NOTE: Split magnifier binary, IDL, and magnification
4120 activation code from at-spi into module gnome-mag.
4122 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4124 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4125 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4127 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4130 Revved to version 0.13.0
4132 * idl/Accessibility_Registry.idl:
4133 Changed definition of KeySet from sequence of longs to sequence of
4134 KeyDefinitions, and added KeyDefinition struct.
4135 Required for fix to bug 80616.
4137 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4138 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4139 to use new definition (see above).
4141 * registryd/deviceeventcontroller.c: handle_keygrab(),
4142 spi_keyset_contains_key():
4143 Changed to make use of new struct; this allows matching based on
4144 string key-name, for instance "Tab". This also allows matching of
4145 composed characters, non-alphanumeric characters in a way that
4146 doesn't involve dependencies on X keysym codes directly, etc.
4148 * test/key-listener-test.c:
4149 Added test for Alt-Tab key using "string" specification of keyset,
4150 and modified one of the tests to use a keycode-based keyset.
4151 Thus this test both tests and demonstrates the creation and use of
4152 keysets of three forms: specified via keycode array,
4153 keysym array, and string array. (The string case only contains a
4154 single string, i.e. a string array of length 1).
4157 Turned on PRINT_TREE option by default. Also fixed a
4158 string-freeing bug in the PRINT_TREE code.
4159 Added a listener to window:minimize events.
4161 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4163 * atk-bridge/bridge.c:
4164 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4165 for window:activate and window:deactiveate
4166 (atk_bridge_property_event_listener atk_bridge_signal_listener
4167 atk_bridge_window_event_listener) Tidy debug code
4169 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4171 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4172 Fixed handling for NULL return value from ATK.
4174 * libspi/action.c libspi/component.c libspi/editabletext.
4175 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4176 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4177 Removed redundant casts.
4179 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4180 Fixed off by one bug.
4182 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4183 function not present in idl)
4185 2002-05-02 jacob berkman <jacob@ximian.com>
4187 * atk-bridge/Makefile.am: make atk-bridge a real module
4189 2002-04-26 Radek Doulik <rodo@ximian.com>
4191 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4192 atk_state_types table
4194 2002-04-22 jacob berkman <jacob@ximian.com>
4197 * libspi/Makefile.am: add deps on the built files to help
4198 automake, and don't version the ORBit typelib
4200 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4202 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4203 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4204 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4205 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4206 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4207 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4208 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4209 libspi/accessible.h libspi/accessible.h libspi/base.h
4210 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4211 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4212 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4213 libspi/spi-private.h libspi/statetset.h libspi/table.h
4214 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4215 util/mag_client.h util/mag_control.c util/mag_image.c
4216 util/mag_image.h util/magnifier.c util/magnifier.h:
4217 Add missing file headers; standardize existing ones
4219 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4221 * atk-bridge/bridge.c: Added window event support.
4223 2002-04-18 Michael Meeks <michael@ximian.com>
4225 * libspi/relation.c (impl_getNTargets): impl.
4226 (impl_getTarget): impl.
4228 * libspi/Makefile.am: fix stateset install.
4230 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4233 Started putting useful info in this file.
4235 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4237 * atk-bridge/bridge.c:
4238 Propagate state-changed notifications to ATs
4240 * cspi/spi_registry.c: update docs to reflect actual behavior of
4241 state-change events.
4243 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4246 Incremented version to 0.12.1
4248 * util/mag_client.h:
4249 Add missing declaration for magnifier_exit,
4250 used by mag_control.c - Forte compiler didn't like
4251 the implicit redeclaration of the function :-(
4254 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4257 Revved version to 0.12 due to API change (see below).
4259 * cspi/spi-roletypes.h:
4260 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4261 definition from the inline docs, and added docs
4262 for SPI_ROLE_LAST_DEFINED.
4265 * cspi/spi_streamablecontent.c:
4266 Added missing seek_type parameter to
4267 (so far unused) method,
4268 AccessibleStreamableContent_seek().
4269 [ RT approval JodyG. ]
4272 Fixed docs for SPI_createAccessibleKeystrokeListener.
4274 * cspi/spi_registry.c:
4275 Fixed docs for SPI_KEYSET_ALL_KEYS.
4277 * docs/reference/cspi/at-spi-cspi-sections.txt:
4278 Added a number of missing APIs to SECTIONS.
4280 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4282 * registryd/Makefile.am:
4284 * cspi/bonobo/Makefile.am:
4285 Add $(X_LIBS) to makefiles.
4287 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4290 Revved version to 0.11.
4292 * libspi/component.c:
4293 Added implementation for grabFocus.
4295 * idl/Accessibility_Component.idl
4296 (Accessibility_Component_grabFocus):
4297 Made this method return boolean to indicate success or failure, to
4298 be consistent with cspi and the corresponding ATK method.
4300 * idl/Accessibility_Selection.idl
4301 (Accessibility_Selection_selectAll) :
4302 Made these methods return boolean to indicate success or
4303 failure, to be consistent with cspi and the corresponding ATK methods.
4305 * idl/Accessibility_EditableText.idl
4306 (Accessibility_EditableText_setTextContents,
4307 Accessibility_EditableText_insertText,
4308 Accessibility_EditableText_cutText,
4309 Accessibility_EditableText_deleteText,
4310 Accessibility_EditableText_pasteText):
4311 Made these methods return boolean to indicate
4314 * cspi/spi_editabletext.c:
4315 Made these methods return booleans.
4317 * libspi/selection.c:
4318 * libspi/component.c:
4319 * libspi/editabletext.c:
4320 Connected the boolean returns from ATK
4321 to the server-side code referenced above.
4323 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4325 * idl/Accessibility_Table.idl: Added missing methods,
4326 Accessibility_Table_addRowSelection,
4327 Accessibility_Table_addColumnSelection,
4328 Accessibility_Table_removeRowSelection,
4329 Accessibility_Table_removeColumnSelection.
4332 Added C wrappers for above IDL:
4333 AccessibleTable_addRowSelection,
4334 AccessibleTable_addColumnSelection,
4335 AccessibleTable_removeRowSelection,
4336 AccessibleTable_removeColumnSelection.
4339 Added server-side implementation code for IDL above, connecting
4340 to pre-existing ATK api.
4342 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4344 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4346 * libspi/accessible.c: Added implementation fo
4347 Accessibility_Accessible_get_state.
4349 * libspi/libspi.h: Added stateset.h to the list of includes.
4351 * libspi/stateset.c: Fixed broken implementation.
4353 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4356 Added implementation code for Accessibility_Magnifier_exit ().
4358 * util/mag_control.c:
4359 Added test code for above method; you can
4360 now kill an existing magnifier via
4361 ./mag_control q, from the util directory.
4363 * test/key-listener-test.c:
4365 Added a new test, for our key listener API.
4367 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4369 * test/app.c, test/keysynth-demo.c:
4371 Replace use of snprintf with g_snprintf.
4372 (fix for bugzilla 78249)
4374 2002-03-27 Michael Meeks <michael@ximian.com>
4378 * util/Makefile.am (INCLUDES): fix.
4379 (DONT_DIST_SOURCE): don't distribute the
4382 * libspi/Makefile.am (dist-hook): ditto.
4384 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4386 * libspi/hypertext.c:
4387 Fix warnings when yelp is used with atk-bridge
4389 2002-03-21 Michael Meeks <michael@ximian.com>
4391 * libspi/application.c (spi_application_new):
4392 use spi_accessible_construct so we use the AtkObject
4395 2002-03-19 Michael Meeks <michael@ximian.com>
4397 * registryd/registry.c (desktop_remove_application),
4398 (desktop_add_application): clean coding style.
4400 * registryd/desktop.c (spi_desktop_remove_application),
4401 (spi_desktop_add_application): kill re-enterency hazards.
4402 (spi_desktop_dispose): remove bogus redundant cast
4403 obscuring bug; fix bug too.
4404 (spi_desktop_init): make the desktop object immortal.
4406 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4409 Added a #define-guarded tree-traversal step
4410 when enumerating the apps (diagnostic tool).
4412 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4414 * idl/Accessibility_Role.idl:
4415 Added ROLE_DRAWING_AREA which seemed to be missing from the
4418 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4420 * cspi/spi-roletypes.h cspi/spi_accessible.c
4421 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4424 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4425 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4426 AT when applications are added and removed from the desktop. This
4427 reverts the previous broken implementation using the backing
4428 AtkObject for the SpiDesktop.
4430 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4432 * registryd/desktop.c: emit the "children-changed::add" and
4433 "children-changed::remove" signals on the backing ATK object for
4434 the desktop so AT can tell when applications are started and shut
4437 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4439 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4441 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4443 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4445 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4447 * cspi/state-types.h: synched with IDL and ATK
4449 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4451 * libspi/accessible.c
4452 (impl_accessibility_accessible_get_child_at_index):
4453 Change return value for g_return_if_fail ()
4454 to CORBA_OBJECT_NIL instead of "0" (!)
4456 * registryd/Makefile.am:
4457 * registryd/Accessibility_Register.server.in:
4458 Changed name of executable, "registryd",
4459 to something more informative:
4462 2002-03-13 Michael Meeks <michael@ximian.com>
4464 * atk-bridge/bridge.c (atk_bridge_init): don't register
4465 if we're in a bonobo-component, rather than a bonobo app.
4467 2002-03-13 Michael Meeks <michael@ximian.com>
4469 * atk-bridge/bridge.c (gtk_module_init): split
4470 out body to (atk_bridge_init): here, since otherwise
4471 we get symbol conflicts and oddness when invoked
4472 from (gnome_accessibility_module_init): here (upd.)
4474 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4477 New file. Explicitly allow "build sheriff" putbacks provided
4478 they are tested on Solaris.
4480 * docs/reference/cspi/Makefile.am:
4481 Added '-' to the "cp" command for index.sgml.
4482 ("patch by thomasvs, soon coming to a GUADEC near you")
4485 Incremented version number (0.9.0) for new release.
4486 Changed macro that checks for popt, to better detect
4487 obsolete versions of popt.
4490 Added X_LIBS to AC_SUBST, for applications
4491 that call Xlib API directly.
4494 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4497 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4500 Fix regression caused by hard-coding major
4501 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4504 * test/test-simple.c (test_editable_text),
4505 (test_test): revert previous change (error was
4506 a regression in gail which is now fixed).
4508 2002-03-04 Michael Meeks <michael@ximian.com>
4510 * test/test-simple.c (test_editable_text),
4511 (test_text): pass G_MAXINT instead of '-1' for
4512 whole string - is this a good thing !?
4514 * cspi/spi_accessible.c
4515 (Accessible_getRelationSet): fix crasher bug
4516 overwriting the end of the array.
4518 * test/test-simple.c (validate_accessible): free,
4519 not g_free returned relation set.
4521 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4523 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4524 implemented stateset support
4526 * idl/Accessibility_State.idl: Made necessary changes to
4527 the IDL to support state sets.
4529 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4531 * registryd/deviceeventcontroller.c:
4532 Added implementation for generateMouseEvent.
4534 * cspi/spi_registry.c:
4535 Connected new implementation for generateMouseEvent
4538 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4541 Incremented revision (but no change in public API
4542 outside of 'utils', which are not installed public yet.)
4544 * libspi/component.c:
4545 Changed to use atk_component API for layers and
4546 mdi_zorder, instead of deprecated atk_object API.
4548 Magnification Utility Enhancements:
4551 Added implementation of createZoomRegion, clearAllZoomRegions,
4552 resizeZoomRegion. Added new commandline argument
4553 "--no-initial-region". Note that clearAllZoomRegions doesn't
4554 unmap the old '0' region as it should (yet), and the other
4555 methods only work when creating/resizing a single region,
4556 which is "region 0".
4557 (Code for multiple region support will be added later.)
4560 Now we raise the magnifier window each time it's refreshed;
4561 this will help keep it on top.
4563 * util/mag_client.h:
4564 Added simple wrappers for above, used by mag_control.
4565 For general use, it's recommended to use the bonobo magnifier
4566 control API directly instead of using these wrappers.
4569 Moved ZoomRegionData from magnifier.c to this file.
4571 * util/mag_control.c:
4572 Added some code to exercise new IDL implementations.
4574 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4576 * libspi/text.c: Provide implementation for getAttributes.
4578 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4581 Incremented revision.
4583 * test/test-simple.c:
4584 Replaced use of deprecated g_main_iteration with
4585 g_main_context_iteration.
4587 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4590 Incremented revision for desktop alpha 2.
4592 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4594 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4597 * test/simple-at.c: include netinet/in.h.
4599 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4601 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4602 use NULL, not CORBA_OBJECT_NIL.
4604 * libspi/accessible.c:
4605 (impl_accessibility_accessible_get_relation_set):
4606 allocate the sequence correctly.
4608 * libspi/remoteobject.h: kill spi_remote_object_new.
4610 * test/test-simple.c: (validate_accessible): add code
4611 to test relation sets, now all we need is to figure
4612 out how to excercise this code path :/
4614 2002-01-18 Michael Meeks <michael@ximian.com>
4616 * test/test-simple.c
4617 (key_listener_cb): consume the key.
4618 (test_keylisteners): update.
4619 (main): wait for any pending unrefs on events.
4621 * registryd/deviceeventcontroller.c
4622 (spi_controller_update_key_grabs): only re-issue the
4623 grab on a key release.
4624 (spi_device_event_controller_forward_key_event):
4625 refresh the keygrabs before we notify the listeners,
4626 to reduce the X ungrab / re-grab race.
4627 (spi_controller_register_with_devices): remove
4628 XSelectInput - we do that with the gdk_window_ call.
4629 (_spi_controller_device_error_handler): return a value.
4630 s/GDK_DISPLAY/spi_get_display/
4632 2002-01-17 Michael Meeks <michael@ximian.com>
4634 * registryd/deviceeventcontroller.c
4635 (_deregister_keygrab): don't blow out the later
4638 * test/test-simple.c (test_keylisteners): do a
4639 more intelligent validation.
4641 2002-01-14 Michael Meeks <michael@ximian.com>
4643 * atk-bridge/bridge.c
4644 (gnome_accessibility_module_init),
4645 (gnome_accessibility_module_shutdown): impl.
4646 (gtk_module_init): protect vs. double inits.
4647 (add_signal_listener): impl.
4648 (spi_atk_bridge_state_event_listener): kill
4649 (deregister_application): split out of
4650 (spi_atk_bridge_exit_func): here.
4652 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4655 Added caret tracking when using magnifier, and
4656 now use text bounds for focus tracking of text elements, rather than
4657 the component bounds - this is helpful for short text fields in long
4658 table cells, at high magnification.
4660 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4662 * registryd/deviceeventcontroller.c:
4663 Regression fix for keylistener de-registration; global keygrabs
4664 were not being released when deregisterKeystrokeListener was
4665 called in cspi, since
4666 Accessibility_DeviceEventController_deregisterKeystrokeListener
4667 was called with a zero-length keyset. That is because the cspi
4668 method, SPI_deregisterKeystrokeListener, does not take a keyset
4669 parameter but instead should remove all the key grabs held be a
4671 The code in impl_deregister_keystroke_listener was changed to copy
4672 the keylist from the listener instance previously registered with
4673 the DeviceEventController before releasing the grabs.
4675 * registryd/registry.c:
4676 * registryd/deviceeventcontroller.c:
4677 * libspi/spi-private.h:
4679 Changed spelling of "re-enterant" to "re-entrant" globally.
4681 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4683 * test/test-simple.c:
4684 Changed key listeners test - the test was slightly mis-using the
4685 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4686 It now uses '=' as the key event listened to and generated,
4687 relying on a keysym match rather than assuming that keycode 33
4688 is always equal to keysym '!'.
4690 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4693 Changed simple-at to use a specific keyset, rather than
4694 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4695 manager, desktop, etc.
4697 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4699 * registryd/deviceeventcontroller.c:
4700 Replaced standard X error handler with a special handler that
4701 is non-fatal for failed keygrabs. This works around
4702 problems with keygrab clashes sometimes observed on
4704 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4705 mouse handling code as yet).
4707 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4710 Incremented revision for desktop alpha release.
4713 Fixed a couple of the more glaring errors (still not
4716 2002-01-11 Michael Meeks <michael@ximian.com>
4718 * registryd/deviceeventcontroller.c
4719 (spi_device_event_controller_forward_key_event): kill
4720 XUngrabKey / XKeyGrab race.
4721 (spi_controller_grab_keyboard): rename to
4722 (spi_controller_update_key_grabs): this, and deal
4723 with incremental adding / removing grabs more
4725 (_register_keygrab): ensure we're not pending a remove.
4726 (spi_grab_mask_free): impl.
4727 (spi_controller_register_global_keygrabs): split out
4729 (handle_keygrab): impl.
4730 (_deregister_keygrab): impl.
4731 (spi_controller_deregister_global_keygrabs): impl.
4732 (spi_controller_update_key_grabs): re-issue the grab if
4733 we just recieved a notification.
4735 * test/test-simple.c (key_listener_cb): remove debug.
4737 * registryd/deviceeventcontroller.c
4738 (spi_controller_register_device_listener): after
4739 registering a global keygrab, actualy register it !
4740 don't wait for a timeout; doh !
4742 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4743 to make it more readable / manipulable.
4744 s/grabmask/grab_mask/ s/refcount/ref_count/
4745 s/keyval/key_val/ s/modmask/mod_mask
4747 2002-01-08 Michael Meeks <michael@ximian.com>
4749 * registryd/deviceeventcontroller.c
4750 (spi_controller_register_with_devices): use gdk calls to
4752 (global_filter_fn): implement the filter.
4753 (spi_device_event_controller_check_key_event): rename to
4754 (spi_device_event_controller_forward_key_event): this & upd.
4755 (spi_get_display): replace with GDK_DISPLAY.
4757 * registryd/deviceeventcontroller.c
4758 (spi_controller_deregister_device_listener): unroll into
4759 (impl_deregister_keystroke_listener): here to simplify.
4760 (spi_controller_register_global_keygrabs): split cut and
4761 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4762 (spi_controller_deregister_device_listener): remove.
4763 (impl_register_mouse_listener): remove, no mouse listener
4764 support in at-spi-1.0
4766 * registryd/registry.c
4767 (_device_event_controller_hook): kill.
4768 (spi_registry_init): upd.
4770 * registryd/deviceeventcontroller.c
4771 (spi_device_event_controller_class_init): upd.
4772 (spi_check_key_event): merge into.
4773 (spi_device_event_controller_check_key_event):
4774 here and kill strange static ev init, don't leak
4775 the x_event - nor dynamicaly allocate it.
4777 * registryd/registry-main.c (main): re-direct
4778 timeout to remove strange vtable mess.
4780 * registryd/deviceeventcontroller.c
4781 (remove_listener_cb): impl.
4782 (spi_controller_deregister_device_listener):
4783 fix re-enterancy hazard.
4785 2002-01-07 Michael Meeks <michael@ximian.com>
4787 * registryd/deviceeventcontroller.c
4788 (spi_device_event_controller_new): upd.
4789 (impl_notify_listeners_sync): upd. debug.
4790 (spi_notify_keylisteners): fix re-enterancy hazards,
4791 prettify, remove O(n*n) iteration.
4792 (spi_controller_grab_keyboard): fix iteration.
4793 (spi_check_key_event): re-format to suit coding style.
4794 Clean all the warnings - we're warning free.
4796 * registryd/deviceeventcontroller.h:
4797 * registryd/registry.h: make mutualy referential with
4798 typesafe forward references instead of (!) void pointer
4801 2002-01-11 Michael Meeks <michael@ximian.com>
4803 * cspi/spi_accessible.c (role_names): add a role name
4804 to sync this array with the enum; and make the regression
4807 2002-01-10 Michael Meeks <michael@ximian.com>
4809 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4810 allow expansion of enumeration & kill warning.
4812 * test/test-simple.c (key_listener_cb): impl.
4813 (test_keylisteners): impl.
4815 * cspi/spi-listener.h: make listener signatures const
4816 on the provided (const) events.
4818 * test/keysynth-demo.c: upd. to const events.
4820 * test/simple-at.c: ditto.
4822 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4825 Rev the version to 0.5 (the previous tarball was named 0.4,
4826 even though the micro number was 3), so we need to rev upwards
4827 again for beta2/"desktop-alpha"
4830 Checked in a demo script, which requires editing before use!
4831 Proceed with caution.
4834 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4836 * cspi/spi_accessible.c:
4837 Add a couple of missing enum initializations, and fix some enum
4840 * cspi/spi_registry.c:
4841 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4843 * docs/reference/cspi/at-spi-cspi-sections.txt:
4844 Remove/fix a couple of broken document references.
4847 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4848 as Alt-Control to listen for commands, since on some systems
4849 Control-Alt may already be grabbed.
4851 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4854 Update version number to 0.4 for Beta2.
4856 * libspi/accessible.c, libspi/accessible.h:
4857 Expose spi_accessible_construct, to enable libgail-gnome
4858 construction from spi_accessible subtype.
4860 * utils/magnifier.c:
4861 Workaround for bug in some non-gnome-compliant window managers
4862 which made magnifier resize improperly.
4864 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4866 * libspi/accessible.c: (spi_accessible_new) :
4867 Move the test for SPI_IS_REMOTE_OBJECT to
4868 spi_accessible_new_return, fixing a bug and compile time warning.
4870 2002-01-08 Michael Meeks <michael@ximian.com>
4872 * registryd/registry.c (parse_event_type): remove strndup.
4874 * libspi/Makefile.am (libspi_la_SOURCES): remove
4875 sources already included in the headers section.
4877 * libspi/util.c: add.
4879 * libspi/spi-private.h: add.
4881 * registryd/registry.c: update to moved list iterators.
4883 2002-01-05 Michael Meeks <michael@ximian.com>
4885 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4887 * test/test-simple.c (main): ditto.
4889 2002-01-04 Michael Meeks <michael@ximian.com>
4891 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4892 redundant construct.
4894 * registryd/registry.c
4895 (get_listener_list): impl.
4896 (impl_accessibility_registry_register_global_event_listener):
4897 re-impl. to simplify using ~, remove dodgy const cast off.
4898 (parse_event_type): constify.
4899 (impl_accessibility_registry_deregister_global_event_listener_all):
4900 re-write, more efficiency and simplicity, kill re-enterancy
4902 (compare_listener_corbaref, compare_corba_objects),
4903 (compare_listener_quarks): define out.
4904 (impl_accessibility_registry_deregister_global_event_listener):
4905 re-write for effiency, and nail re-enterancy hazard.
4906 (impl_accessibility_registry_get_desktop_list): impl.
4907 (re_enterant_list_delete_link): impl.
4908 (re_enterant_list_foreach): impl.
4909 (remove_listener_cb): impl.
4910 (_registry_notify_listeners): kill.
4911 (notify_listeners_cb): impl.
4913 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4914 (SPI_getDesktopList): impl.
4916 * test/test-simple.c (test_desktop): test the methods.
4918 2002-01-03 Michael Meeks <michael@ximian.com>
4920 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4921 keystrings since we free them
4922 (SPI_freeAccessibleKeySet): in here.
4924 * libspi/accessible.c (spi_accessible_new): kill warning,
4925 wonder what is going on with the constructor here.
4927 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4929 * libspi/accessible.c (spi_accessible_new ()) :
4930 Added check to see if AtkObject is an SpiRemoteObject before
4931 creating an SpiAccessible.
4933 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4935 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4936 Enable keygrabs using the Control modifier, now that they are
4937 working properly (they were previously disabled).
4940 Change the command keygrab for this demo to "Control+Alt", so as
4941 to conflict with fewer other key commands on the system; this
4942 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4944 Removed a pointlessly-chatty keylistener for unshifted keys
4945 (shifted keys are still reported).
4947 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4949 * libspi/remoteobject.h:
4950 * libspi/remoteobject.c:
4951 Added definitions for special AtkObject subtype, required for
4952 support of remote components (specifically, used by BonoboControl
4953 accessibility implementation).
4955 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4957 * cspi/spi.h: synched relation types with ATK
4959 * cspi/spi_accessible.c: Added implementations of
4960 AcccessibleRelation_* methods
4962 * idl/Accessibility_Relation.idl: added getRelationTypeName
4963 method. Synched known relation types with ATK. Allowed for
4964 relation type extension with the RELATION_EXTENDED type.
4966 * libspi/relation.c: Provided implementations for
4967 AccessibleRelation methods.
4969 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4971 API tweaks for today's API 'freeze'.
4974 Added placeholder functions to allow future compatible expansion
4975 of the IDL interfaces.
4977 * idl/Accessibility_Registry.idl:
4978 Changed generateKeyEvent to generateKeyboardEvent. Changed
4979 signature of this method to accept an optional keystring in
4980 parameter (for complex text input synthesis) and changed use of
4981 simple 'boolean' parameter in registerKeystrokeListener to a
4982 struct, EventListenerMode.
4984 * cspi/spi_accessible.c:
4986 * cspi/spi_streamablecontent.c:
4987 Added references to AccessibleStreamableContent interface, and
4988 definition and implementation of AccessibleStreamableContent
4991 * cspi/spi_registry.c:
4993 Changed generateKeyEvent API to generateKeyboardEvent,
4994 taking a new (optional) keystring parameter to support complex
4999 Renamed directory (to better reflect its actual purpose, bridging
5000 from at-spi to ATK). The .so module is also now named
5003 * idl/Accessibility_Hypertext.idl:
5004 * libspi/accessible.c:
5005 * libspi/hypertext.h:
5006 * libspi/hypertext.c:
5007 Changed Accessibility_Hypertext to *not* derive from
5010 * cspi/spi_registry.c:
5011 Added list of legal event type names for 'window' events, which
5012 completes the registry event API.
5014 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5016 * at-bridge/bridge.c: Added registration for separate
5017 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5018 signals. If either of the first two parameters to the generic
5019 bridge signal handler are ints, they are passed on as event
5020 details. This allows an AT to determine what text was inserted.
5022 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5024 * registryd/deviceeventcontroller.c:
5025 Fixed regressions in generateKeyEvent caused by the removal of
5026 gdk_init from registryd; we now use pure X calls to connect to the
5027 display, which makes sense because deviceeventcontroller already
5028 uses a fair bit of X API (should eventually be migrated to a
5029 'portability layer').
5031 * registryd/desktop.c:
5032 Fixed minor regression in spi_desktop_init, changed the way the
5033 desktop name is being set to work with new spi_base API
5034 (gobject-based, rather than AtkObject-based).
5036 * registryd/Makefile.am:
5037 Minor revision of makefile to use XTST_LIBS variable rather than
5038 hard-wiring the Xtst LD_ADD element.
5040 * test/keysynth-demo.c:
5041 Tweaked an output message; added initialization of the
5042 'keystrings' member of the "switch listener" key_set.
5044 * libspi/relation.c:
5045 Squashed compile-time warning.
5047 * libspi/accessible.c:
5048 Cosmetic and formatting fixes, renamed a static method.
5050 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5052 * libspi/accessible.c
5054 * libspi/application.c
5057 * libspi/component.c
5058 * libspi/editabletext.c
5059 * libspi/hyperlink.c
5060 * libspi/hypertext.c
5062 * libspi/selection.c
5066 * registryd/desktop.c:
5067 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5069 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5071 * idl/Accessibility_Registry.idl:
5072 Added boolean member 'is_text' to DeviceEvent. This is for the
5073 use of key events, and helps prevent ambiguity between composed
5074 key strings and keysym names, since both may potentially be
5075 returned in the 'event_string' member.
5077 * at-bridge/bridge.c:
5078 * registryd/deviceeventcontroller.c:
5079 Use the 'is_text' member when notifying device event listeners.
5080 Knon issue: composed characters are not dealt with correctly by
5081 the global key listener implementation yet.
5083 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5085 * at-bridge/bridge.c:
5086 Namespaced local static methods to spi_atk_bridge_* where
5087 previously named bridge_*, and spi_* elsewhere.
5089 * at-bridge/bridge.c:
5090 * cspi/bonobo/cspi-bonobo-listener.c:
5091 Added demarshalling/conversion for string member of
5092 Accessibility_DeviceEvent to AccessibleKeystroke.
5094 * registryd/deviceeventcontroller.c:
5095 Added code to fill the Accessibility_DeviceEvent key string value
5096 member for global key events (i.e. from XGrabKey), to match
5097 behavior of Accessibility_DeviceEvent from the toolkit key events
5098 from the bridge. Fixed timestamp in global key event notifications.
5101 Added printout of key event's string value to
5102 report_ordinary_key_event, for demo/debugging purposes.
5104 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5106 * idl/Accessibility_Registry.idl:
5107 Removed Accessibility_KeyStroke structure in favor of generic
5108 Accessibility_DeviceEvent structure.
5109 Changed Accessibility_ControllerEventMask from a struct to an
5112 * at-bridge/bridge.c:
5113 Changed APIs to use DeviceEvent structure as above, and removed
5114 bogus casting between these event structures.
5116 * cspi/spi-listener.h:
5117 Added keystring member of AccessibleKeystroke structure, to enable
5118 matching on event "names" rather than only hardware codes and
5122 Added keystrings member of AccessibleKeySet struct, to allow
5123 matching on event names (as above).
5124 Added declarations for SPI_createAccessibleKeySet and
5125 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5126 event modmasks directly as unsigned ints rather than structs with
5127 refcounts, in the DeviceEventController methods.
5129 * cspi/spi_registry.c:
5130 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5132 * cspi/spi-roletypes.h:
5133 Added documentation of newly added SPI Roles.
5135 * cspi/bonobo/cspi-bonobo-listener.c:
5136 Changes in support of API changes above.
5138 * libspi/accessible.c:
5139 Converted APIs to use DeviceEvent structure (see IDL changes
5142 * registryd/deviceeventcontroller.c:
5143 Added DEControllerGrabMask structure to track keygrabs not only by
5144 modmask but by keyset as well; this allows us to do "global"
5145 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5146 grabbing on AnyKey and then filtering after-the-fact.
5147 Bugfixes for event filtration mean that we don't get false matches
5148 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5150 * registryd/deviceeventcontroller.c:
5151 Namespaced a number of static methods to use spi_ prefix. Major
5152 revision to internals of global (i.e. X) key grabs.
5154 * registryd/deviceeventcontroller.h:
5155 Removed keymask_list and added keygrabs_list to
5156 SpiDeviceEventController struct.
5159 Added use of SPI_createAccessibleKeySet API when creating a
5160 listener for only one key. Attach a listener to "shift spacebar
5161 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5162 X key event names to SPI key event names, so that listeners are
5163 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5165 * test/keysynth-demo.c:
5166 Changed (incorrect) use of X key event names (KeyPressed,
5167 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5170 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5172 * libspi/accessible.c:
5173 Convert all AtkRole enumerations to Accessibility_Role enums when
5174 getting a role from an AtkObject.
5176 * cspi/spi_accessible.c:
5177 Complete the conversion of Accessibility_Role enums at runtime to
5178 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5179 role enums correctly match those given in spi-roletypes.h.
5180 Re-synchronize the local names list for AccessibleRole_getName ().
5181 AccessibleRole_getName is now deprecated, since it duplicates the
5182 more reliable Accessible_getRoleName.
5183 Added some role types from Accessibility_Role.idl.
5185 * idl/Accessibility_Role.idl:
5186 Added some role types used by AtkRole.
5188 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5191 * cspi/spi_registry.c:
5193 * cspi/cspi-bonobo-listener.c:
5194 Namespaced all methods that did not begin with an "SPI_" or
5195 "Accessible" prefix to "SPI_".
5198 Homogenized internal function namespace to "cspi_" for statics.
5201 Patched tests to use the new CSPI API.
5203 * docs/reference/cspi/at-spi-cspi-sections.txt:
5204 Updated docs to reflect namespace changes, and added a number of
5205 methods to the documentation.
5207 * registryd/registry.c:
5208 Changed use of strings and string hashes in listener event
5209 matching and parse_event_string to use GQuark, which is guaranteed
5212 * registryd/registry.h:
5213 Squashed annoying warning.
5215 * idl/Accessibility_Role.idl:
5216 Extended range of available Accessibility_Role values.
5218 * cspi/spi_accessible.c:
5219 Re-ordered role names.
5221 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5223 * idl/Accessibility_Value.idl:
5224 Revert use of union back to CORBA_double, since the double type is
5225 more efficient and can contain the other types without loss of
5228 * idl/Accessibility_Accessible.idl:
5229 Added method Accessibility:Accessible:getRoleName, to complement
5230 Accessibility:Accessible:getRole.
5232 * cspi/spi_accessible.c:
5234 Added C binding for above, Accessible_getRoleName (), and changed
5235 signature of Accessible_getRole () to return an AccessibleRole.
5237 * cspi/spi-roletypes.h:
5238 Changed AccessibleRole_getName to return a char * instead of a
5239 const char *. This method is now at least temporarily deprecated
5240 in favor of asking Accessibles for their RoleNames directly.
5243 Revert to match Accessibility_Value.idl;
5247 Change signature of AccessibleValue methods to use double rather
5251 * cspi/spi_accessible.c:
5252 Changed Accessible_getRole to return an AccessibleRole enum rather
5253 than a UTF-8 string. The UTF-8 string can still be obtained via
5254 AccessibleRole_getName ().
5256 * test/test-simple.c:
5257 Add test_action. Small fixup to match API change to Accessible_getRole.
5260 Bugfix for get_action_from_servant ().
5262 2001-12-11 Michael Meeks <michael@ximian.com>
5264 * libspi/libspi.h: remove registry.h and
5265 desktop.h, deviceeventcontroller.h
5267 * libspi/Makefile.am: remove registry.[ch],
5268 desktop.[ch], deviceeventcontroller.[ch]
5270 * registryd/Makefile.am: add registry.[ch],
5271 desktop.[ch], rename registryd.c to registry-main.c.
5272 add deviceeventcontroller.[ch]
5274 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5277 Replace setenv() call with putenv ().
5279 * libspi/component.c:
5280 Bugfix in AccessibleComponent_getExtents (),
5283 2001-12-11 Michael Meeks <michael@ximian.com>
5285 * libspi/image.c (impl_getImageExtents): impl.
5286 (spi_image_class_init): upd.
5289 (AccessibleImage_getImageDescription): fix daft bug
5292 * test/test-simple.c (global_listener_cb): update
5293 to only quit if not --poke
5294 (main): catch --poke.
5295 (validate_accessible): upd. dumping, call test_image
5298 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5301 * idl/Accessibility.idl: update all IDL includes.
5303 * idl/*.idl - rename to namespace - this sucks, blame
5304 mjs' bad decision for oafd.
5306 * test/test-simple.c (create_test_window): add more tests.
5307 (create_tree): split this out.
5308 (validate_accessible): bugfix.
5310 2001-12-11 Michael Meeks <michael@ximian.com>
5312 * cspi/bonobo/cspi-bonobo-listener.c:
5313 (cspi_kestroke_listener_unref),
5314 (cspi_event_listener_unref): impl. undoing previous
5315 homenous environment - for Bill.
5317 * cspi/spi_table.c (long_seq_to_array): use
5320 * cspi/spi_main.c: split out all bonoboish bits into
5323 * cspi/spi-impl.h: upd. typedefs.
5325 * cspi/spi_registry.c: update to lowlevel API,
5326 return booleans to indicate success in some places.
5328 * cspi/spi_event.c: update to lowlevel API.
5330 * cspi/bonobo/Makefile.am: add.
5332 * cspi/bonobo/cspi-lowlevel.h: add
5334 * cspi/bonobo/cspi-bonobo.c: add
5336 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5338 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5339 (SUBDIRS): add bonobo, link in the libs.
5341 * cspi/spi-util.c: kill this file.
5343 * TODO: merge in my bits.
5345 2001-12-11 Michael Meeks <michael@ximian.com>
5347 * test/test-simple.c (test_value, test_table, main):
5348 remove unused variables causing warnings.
5350 * configure.in: cleanup checks - require gail.
5352 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5355 Changed Value interface to use SValue (scalars) rather than
5356 assuming all values are floats. This allows floats, doubles,
5357 longs, shorts, and unsigned values to be manipulated.
5358 Introduced Accessibility:SValue union.
5361 Updated to use new API above, and to work correctly with GValues
5362 of different types in AtkValue.
5365 Updated to use new API above. cspi's API is as yet unchanged.
5368 Updated the Value revision action item.
5370 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5372 * test/test-simple.c:
5373 Added test_table (GtkTreeView widget in test window to follow).
5374 Un-commented test_value, added GtkRange widget.
5375 Added GtkTreeView widget with GtkListStore. It passes regression
5376 test but leaks one SPI object for some reason.
5379 Fixed bug in impl__set_currentValue.
5381 2001-12-10 Michael Meeks <michael@ximian.com>
5383 * cspi/spi_text.c: audit for exception handling,
5384 tolerating NULL object references safely etc.
5386 * cspi/spi_value.c: ditto.
5388 * cspi/spi_table.c (AccessibleTable_getSummary),
5389 (AccessibleTable_getAccessibleAt),
5390 (AccessibleTable_getRowHeader),
5391 (AccessibleTable_getColumnHeader),
5392 (AccessibleTable_getCaption): fix bugs hidden by
5394 (long_seq_to_array): impl.
5395 (AccessibleTable_getSelectedRows),
5396 (AccessibleTable_getSelectedColumns): use it.
5398 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5401 Added a TODO list (rough and short for now).
5403 * cspi/spi_hyperlink.c:
5404 * cspi/spi_hypertext.c:
5405 Fixed macro name typos, and remove use of obsolete macro in
5406 AccessibleHyperlink_getLink.
5408 * cspi/spi_action.c:
5409 * cspi/spi_accessible.c:
5410 * cspi/spi_application.c:
5411 * cspi/spi_component.c:
5412 * cspi/spi_selection.c:
5415 Documentation fixes (removed return values from ref/unref methods).
5417 2001-12-10 Michael Meeks <michael@ximian.com>
5419 * cspi/spi_action.c: audit for exception handling,
5420 tolerating NULL object references safely etc.
5422 * cspi/spi_accessible.c: ditto.
5424 * cspi/spi_component.c: ditto.
5426 * cspi/spi_editabletext.c: ditto.
5428 * cspi/spi_hyperlink.c: ditto.
5430 * cspi/spi_hypertext.c: ditto.
5432 * cspi/spi_image.c: ditto.
5434 * cspi/spi_selection.c: ditto.
5436 2001-12-10 Michael Meeks <michael@ximian.com>
5438 * configure.in: use cspi/libspi.pc.in instead.
5440 * Makefile.am (pkgconfig_DATA): upd. to match.
5442 * test/simple-at.c (report_focus_event): kill hacks around
5443 bad return values, use putenv not setenv
5445 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5446 fire ChildGone - I killed it.
5448 * libspi/component.c
5449 (impl_accessibility_component_get_extents): remove
5452 * idl/Accessible.idl: kill ChildGone exception.
5454 * cspi/*.[ch]: kill int return from ref / unref.
5456 * cspi/spi_main.c (cspi_object_add_check): fold into
5457 (cspi_object_add): here.
5459 * cspi/spi_component.c (AccessibleComponent_getExtents):
5460 handle exceptions elegantly.
5462 * cspi/spi-private.h (cspi_check_ev_return),
5463 (cspi_return_if_fail): impl.
5465 * cspi/spi_accessible.c: use extensively.
5466 (AccessibleStateSet_equals): add direct compare check.
5468 * cspi/spi_selection.c: tolerate NULL objs, and check
5469 exceptions before return.
5471 * cspi/spi-util.c (cspi_warn_ev): rename to
5472 (cspi_check_ev): this & don't pass ev in; no point.
5474 2001-12-10 Michael Meeks <michael@ximian.com>
5476 * test/test-simple.c: use putenv not setenv
5477 (get_environment_vars): more chatty if you're not using
5480 * test/simple-at.c: do the setenv so more people see the
5483 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5485 * libspi/registry.c:
5486 Changed check of CORBA_environment on notification to be a warning
5487 instead of an error for the moment, since we can recover from this
5488 error when caused by a queued notification from a dead app.
5491 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5492 used by all current implementors of AtkValue), and coerce to
5493 CORBA_float. (Proper general case fix may require change to Value.idl).
5495 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5499 * cspi/spi_accessible.c:
5500 Documentation fixes: added user_data params to documentation for
5501 listeners and callbacks.
5503 * cspi/spi_accessible.c:
5504 Changed AccessibleStateSet_compare to return a
5505 StateSet rather than return the difference set into a third parameter.
5508 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5511 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5512 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5516 Remove subdirectory po from SUBDIRS for now.
5518 * at-bridge/bridge.c:
5519 Beefed up a couple of debug printouts.
5520 One-line fix for signal notification name formatting.
5522 * libspi/accessible.c:
5523 Added assertion to spi_accessible_new ().
5525 * libspi/application.c:
5526 Put #ifdef qualifiers around a printf.
5529 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5531 * registryd/Makefile.am:
5533 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5534 INTLTOOL_SERVER_RULE macro.
5537 Added an event listener for several ATK signals, for
5538 testing and debugging. Removed a few g_warnings.
5539 Added test output if focussed item implements the Value interface.
5541 * test/test-simple.c:
5542 Added test_value () function (known not to pass at the moment, so
5543 not actually called yet.
5545 2001-12-08 Michael Meeks <michael@ximian.com>
5547 * at-bridge/bridge.c (bridge_focus_tracker),
5548 (emit_eventv): fix the same ref. leak.
5549 (register_atk_event_listeners): don't leak.
5551 * cspi/spi-listener-impl.c (cspi_event): more
5552 protection from client code.
5554 * test/test-simple.c (test_desktop): unref the app.
5556 * test/Makefile.am: upd. TESTS.
5558 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5560 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5562 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5564 * cspi/spi_registry.c: constify in strings.
5565 (deregisterGlobalEventListenerAll): don't release the ref.
5567 * cspi/spi.h: start removing redundant / conflicting
5568 gtkdoc comments, making the API readable at a glance :-)
5570 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5572 * test/keysynth-demo.c (keysynth_exit, main): upd.
5574 * test/simple-at.c (main, simple_at_exit): upd.
5576 * test/test-simple.c (unutterable_horror): kill.
5577 (utterable_normal_derefs): kill.
5578 (main): upd & do a setenv before gtk_init, so that we
5579 can use memprof - and to save the pain of remembering
5580 this, if we're running under memprof - don't exit.
5582 * cspi/spi_main.c (SPI_exit): return exit status
5584 (SPI_event_quit): impl.
5585 (SPI_event_main): simplify.
5586 (cspi_is_gnome_app): kill.
5587 (SPI_init): kill isGNOMEapp arg.
5589 * at-bridge/bridge.c (register_atk_event_listeners):
5590 re-instate the unref.
5591 (bridge_exit_func): don't re-activate the registry,
5592 protect vs. theoretical re-entry, use the
5593 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5594 assert a clean shutdown - for regression tests.
5596 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5598 * configure.in: Comment out dummy i18n support for now,
5599 otherwise it fails to build.
5600 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5601 EXTRA_DIST. They are missing in tarball.
5603 2001-12-07 Michael Meeks <michael@ximian.com>
5605 * util/magnifier.c: kill bonobo activation reg. race.
5607 * libspi/component.c
5608 (impl_accessibility_component_get_extents): make it match
5611 * libspi/registry.c (_registry_notify_listeners):
5612 re-remove X headers & reconcile conflicts.
5613 (spi_listener_struct_free): bad conflict resolve.
5614 (impl_accessibility_registry_register_application):
5615 more bad merging fixed.
5616 (impl_accessibility_registry_deregister_application): ditto.
5617 (spi_registry_new): ditto.
5618 (spi_registry_init): don't have an applications field.
5620 [ merge fixups2 branch to here ]
5621 2001-12-07 Michael Meeks <michael@ximian.com>
5623 * test/simple-at.c (report_focus_event),
5624 (report_focussed_accessible): remove g_warning debug.
5626 2001-12-07 Michael Meeks <michael@ximian.com>
5628 * test/test-simple.c (validate_tree): comment out some checks.
5629 (test_desktop): app now not registered idly - horay.
5631 2001-12-07 Michael Meeks <michael@ximian.com>
5633 * cspi/spi_registry.c
5634 (registerAccessibleKeystrokeListener): clean, stop it leaking
5635 great swathes of memory, and device event controller references.
5636 ensure we always pass valid sequences.
5637 (deregisterAccessibleKeystrokeListener): ditto.
5638 (generateKeyEvent): upd.
5640 * at-bridge/bridge.c (bridge_key_listener): handle
5641 registry dead exception gracefully.
5642 (bridge_focus_tracker, emit_eventv): free ev.
5644 * test/simple-at.c (report_focus_event): fix polarity.
5646 * libspi/application.c (notify_listeners): kill the ev
5647 argument, and make sure we init the ev we use.
5648 (spi_application_object_event_listener): split out a chunk
5649 (get_atk_object_ref): here & fixup.
5650 (reverse_lookup_name_for_toolkit_event): make const.
5651 (spi_application_toolkit_event_listener): fixup, kill leaks
5654 * at-bridge/bridge.c (register_atk_event_listeners):
5655 don't unref the noop object - causes grief.
5657 * libspi/registry.c: remove the X headers.
5658 turn off the debug churn.
5660 * libspi/accessible.c (spi_accessible_new_return): only
5661 release the ref if we are supposed to [doh]
5663 * test/simple-at.c (report_button_press, report_focus_event):
5664 guard vs. unexpected exit.
5666 * at-bridge/bridge.c (gtk_module_init): prune printf.
5667 (bridge_exit_func): fix app unref.
5669 * libspi/Makefile.am: don't install registry or desktop.h
5671 * libspi/*.h: update includes.
5673 * libspi/application.h: don't include ourself, or
5674 other redundant headers.
5676 2001-12-06 Michael Meeks <michael@ximian.com>
5678 * libspi/accessible.c
5679 (get_accessible_from_servant): impl.
5680 Upd. all CORBA impl.s to use it killing cut and paste.
5682 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5684 (SPI_init): register atexit cleanup handler here.
5686 2001-12-06 Michael Meeks <michael@ximian.com>
5688 * at-bridge/bridge.c (gtk_module_init): g_error on
5689 activation exception
5691 2001-12-06 Michael Meeks <michael@ximian.com>
5693 * at-bridge/bridge.c (gtk_module_init): some sort of
5694 confusing merge clash - reverted.
5695 (bridge_idle_init): ditto.
5697 * test/test-simple.c (main, utterable_normal_derefs):
5698 merge from Bill - somehow not committed.
5700 2001-12-06 Michael Meeks <michael@ximian.com>
5702 * libspi/value.c (spi_value_class_init): upd.
5703 (spi_value_finalize): kill.
5705 * libspi/table.c (spi_table_finalize): kill.
5706 (spi_table_interface_new): upd.
5707 (spi_table_class_init): upd.
5708 (get_table_from_servant): impl.
5709 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5711 * libspi/selection.c (spi_selection_finalize): kill.
5712 (spi_selection_interface_new): upd.
5713 (spi_selection_class_init): upd.
5714 (get_selection_from_servant): impl.
5715 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5717 * libspi/relation.c (spi_relation_finalize): kill.
5718 (spi_relation_class_init, spi_relation_new): upd
5720 * libspi/image.c (spi_image_finalize): kill.
5721 (spi_image_class_init): upd.
5722 (spi_image_interface_new): upd.
5723 (get_image_from_servant): impl.
5724 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5726 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5727 (spi_hyperlink_finalize): kill.
5728 (spi_hyperlink_new): upd.
5729 (get_hyperlink_from_servant): impl.
5730 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5732 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5733 (spi_hypertext_finalize): kill.
5734 (spi_hypertext_class_init): upd.
5735 (get_hypertext_from_servant): impl.
5736 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5738 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5739 (spi_editable_text_interface_new): upd.
5740 (get_editable_text_from_servant): impl.
5741 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5743 * libspi/text.c (get_text_from_servant): impl.
5744 All impls - update to use it killing more cut and paste,
5745 also fix bad string returns on duff args ( a somewhat
5746 impossible case to handle - but hey ).
5747 (spi_text_construct): impl.
5748 (spi_text_interface_new): upd.
5749 (spi_text_object_finalize): kill.
5751 * libspi/component.c
5752 (accessibility_component_object_finalize): kill.
5753 (spi_component_class_init): upd.
5754 (get_component_from_servant): impl. helper to kill cut & paste.
5755 (impl_accessibility_component_contains):
5756 (impl_accessibility_component_get_accessible_at_point):
5757 (impl_accessibility_component_get_position):
5758 (impl_accessibility_component_get_extents):
5759 (impl_accessibility_component_get_mdi_z_order):
5760 (impl_accessibility_component_get_layer):
5761 (spi_component_interface_new): upd.
5763 * libspi/action.c (spi_action_finalize): kill.
5764 (spi_action_class_init): upd. inherit from SpiObject.
5765 (spi_action_interface_new): upd.
5766 (get_action_from_servant): impl. helper to reduce cut & paste.
5767 (impl_getKeyBinding, impl_getName, impl_doAction),
5768 (impl_getDescription): Use it everywhere.
5770 * cspi/spi_main.c (get_live_refs): a pointer hash.
5771 (spi_object_hash, spi_object_equal): comment out.
5772 There are issues with CORBA object hashing that need
5775 * libspi/application.c (spi_application_init),
5776 (spi_application_new): upd.
5778 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5779 (spi_accessible_class_init): upd.
5780 s/accessible/object/ in epv methods.
5782 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5784 * at-bridge/bridge.c:
5785 Reorder the bridge initialization into the bridge gtk_module_init,
5786 an immediate call to bridge_register_app, and an idle_add for
5787 register_atk_event_listeners (the only code that *must* wait until
5788 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5789 the activation, creates the application's Accessible object, and
5790 queues the bridge_idle_init function. Restored call to
5791 Accessibility_Registry_deregisterApplication().
5792 Prior to making this call we obtain a new reference to the
5793 registry, which is a temporary hack that helps us handle apps that
5794 shut down the bonobo mainloop before we get there.
5796 * libspi/registry.c:
5797 Fix string leakage in debug block, and don't segv if a an app
5798 dies before its event notifications have been propagated.
5801 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5802 as stopgap measure until we get proper exception handling when
5803 objects die during or before interrogation.
5807 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5808 Also changed default value of is_gnome_app to TRUE.
5811 * test/keysynth-demo.c:
5812 Changed use of SPI_init and SPI_event_main to reflect API change above.
5815 Made report_focus_event check the warning value from getName
5816 before reporting on focussed accessible; simplifies handling of
5817 notifications from dead objects.
5819 * test/test-simple.c: (Changes not in this patch since source is
5822 2001-12-05 Michael Meeks <michael@ximian.com>
5824 * registryd/registryd.c (main): protect against
5825 bonobo-activation startup race condition.
5827 * cspi/spi_main.c (cspi_object_add_check): cope
5828 with the exception elegantly.
5830 * idl/Accessible.idl: decl. ChildGone
5832 * libspi/desktop.c (spi_desktop_dispose): impl.
5833 (spi_desktop_class_init): upd.
5834 (spi_desktop_add_application),
5835 (spi_desktop_remove_application),
5836 (abnormal_application_termination): impl.
5837 (impl_desktop_get_child_at_index): re-impl.
5840 (impl_accessibility_registry_deregister_application),
5841 (impl_accessibility_registry_register_application):
5842 kill excessive debug clutter.
5844 * test/test-simple.c (test_misc): test some NULL
5845 tolerance. (main): upd.
5847 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5848 implements no interfaces - so let's not crash.
5850 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5852 * libspi/accessible.c (spi_accessible_new_return): impl.
5853 helper to calm the cut and paste, to cope with
5854 NULL AtkObjects effectively and efficiently, and to kill
5855 the referencing bugs.
5857 * libspi/table.c (impl_getAccessibleAt),
5858 (impl_getRowHeader, impl_getColumnHeader): upd.
5860 * libspi/hyperlink.c (impl_getObject): upd.
5862 * libspi/accessible.c
5863 (impl_accessibility_accessible_get_child_at_index): upd.
5865 * libspi/component.c
5866 (impl_accessibility_component_get_accessible_at_point): upd.
5868 * test/test-simple.c (test_editable_text, test_text): impl.
5871 * cspi/spi_editabletext.c
5872 (AccessibleEditableText_insertText): constify.
5874 * test/test-simple.c (focus_me): make more robust.
5876 * libspi/accessible.c: remove some printfs in methods that
5877 we test and work fine, so we can get a clean tree dump.
5879 * test/test-simple.c (validate_accessible),
5880 (validate_tree): make tree dumping pretty too.
5882 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5883 it builds without debug on.
5885 * test/test-simple.c (validate_accessible): fix the most
5888 * cspi/spi_main.c (spi_object_release): leave the nicely
5889 blanked memory around if in debug mode.
5891 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5893 [committed to fixups2]
5894 2001-12-05 Michael Meeks <michael@ximian.com>
5896 * libspi/editabletext.c
5897 (spi_editable_text_class_init): g_type_class_peek_parent,
5898 not interface peek - so we finalize cleanly.
5900 * libspi/accessible.c (spi_accessible_new): kill debug.
5902 * test/test-simple.c (validate_accessible): fix ref.
5903 leak, print strings before freeing them; sigh, comment a
5904 chunk out due to strangeness.
5905 (validate_tree): unref the child after use.
5907 * cspi/spi_component.c (AccessibleComponent_getLayer):
5908 add missing break statement, switch on zlayer not the
5909 uninitialized retval.
5911 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5912 before (possibly re-entering) remote unref.
5914 * test/simple-at.c (main): unref the desktop.
5916 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5919 * cspi/spi_main.c (cspi_accessible_is_a): here to
5920 isolate bonobo API usage more.
5922 * libspi/registry.c (impl_accessibility_registry_register_application):
5923 prune bogus comment.
5925 2001-12-04 Michael Meeks <michael@ximian.com>
5927 * test/test-simple.c (validate_tree): upd.
5928 IndexInParent check to make it more lucid.
5929 (validate_accessible): dump the tree.
5931 * libspi/accessible.c (de_register_public_ref),
5932 (get_public_refs): impl.
5933 (spi_accessible_new): make more efficient & intuitive.
5934 Now IndexInParent check works.
5936 2001-12-04 Michael Meeks <michael@ximian.com>
5938 * cspi/spi-util.h: remove.
5940 * cspi/spi.h: move SPI_freeString here
5942 * libspi/component.c (impl_accessibility_component_get_layer):
5944 (impl_accessibility_component_get_mdi_z_order): ditto,
5945 return -1 on error - is this ok ?
5947 * test/test-simple.c (test_application): impl.
5949 * cspi/spi_accessible.c (Accessible_getApplication),
5950 (Accessible_isApplication): impl.
5952 * libspi/registry.c (spi_listener_struct_free): release
5953 the CORBA reference too.
5955 * libspi/accessible.c
5956 (impl_accessibility_accessible_get_parent): fix ref leak.
5958 * libspi/registry.c (spi_registry_new): make the registry
5959 immortal - we don't want it to go away ever.
5961 * libspi/application.c
5962 (spi_accessible_application_finalize): impl. cleanup.
5964 * cspi/spi_registry.c
5965 (deregisterGlobalEventListenerAll),
5966 (deregisterGlobalEventListener),
5967 (deregisterAccessibleKeystrokeListener): fix ref leak.
5969 * cspi/spi_main.c (SPI_init): remove redundant ref.
5971 * test/test-simple.c (unutterable_horror): impl. to force a
5976 (impl_accessibility_registry_deregister_application): release
5977 the application when we de-register it.
5979 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5980 until we have the infastructure to get it right.
5982 2001-12-03 Michael Meeks <michael@ximian.com>
5984 * libspi/Makefile.am: only build eventlistener.[ch]
5986 * libspi/accessible.c
5987 (impl_accessibility_accessible_get_child_at_index): don't leak.
5989 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5990 before we hit the idle handler.
5992 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5993 debugging than exit.
5995 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5997 * libspi/listener.c (impl_notify_event): check source
5998 not NIL before unref.
6000 * libspi/registry.c (impl_registry_notify_event): ditto.
6002 * libspi/eventlistener.c
6003 (impl_accessible_event_notify_event): unref the source.
6005 * libspi/accessibleeventlistener.c
6006 (impl_accessible_event_notify_event): unref the source.
6008 * idl/Event.idl: remove 'hash_id' attribute - of no
6011 * libspi/application.c (notify_listeners): upd list
6013 (spi_application_object_event_listener),
6014 (spi_application_toolkit_event_listener): upd to do correct
6018 (_registry_notify_listeners): update.
6019 (parse_event_type): this method also leaks like a sieve.
6020 (impl_accessibility_registry_deregister_global_event_listener):
6021 fix ETYPE_WINDOW case.
6023 * libspi/application.c
6024 (impl_accessibility_application_register_object_event_listener):
6027 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6029 * libspi/hypertext.c (impl_getLink): ditto.
6031 * cspi/spi_main.c (cspi_object_add): remove
6032 bogus CORBA_Object_duplicate.
6034 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6037 * cspi/spi_accessible.c
6038 (Accessible_getRelationSet): fix leak / referencing issue.
6040 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6041 (cspi_object_add, cspi_object_unref): upd.
6042 (spi_object_release, get_live_refs): impl.
6043 (cspi_cleanup): simplify.
6045 * *.[ch]: s/boolean/SpiBoolean/
6047 * cspi/spi_accessible.c (role_names): actualy order so it
6048 corresponds with the enum !
6050 * test/test-simple.c (test_roles): check some role strings
6051 vs. enums to detect offset errors.
6053 2001-12-01 Michael Meeks <michael@ximian.com>
6055 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6057 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6059 (Accessible_getChildAtIndex): use cspi_add_check so we
6060 check the ev before using a (possibly) invalid value.
6062 * libspi/accessible.c
6063 (impl_accessibility_accessible_get_parent): don't segv
6066 * at-bridge/bridge.c (gtk_module_init): upd.
6067 (bridge_property_event_listener): don't leak strings
6069 (bridge_state_event_listener),
6070 (bridge_property_event_listener): don't use a static
6071 buffer in case of recursive event emission &
6072 re-enterancy - split out the swathe of cut and paste
6074 (emit_eventv): and fix 2 ref leaks here & comply to the
6076 (bridge_register_app): rename to
6077 (bridge_idle_init): this and kill arg parsing, split
6078 various inits & bonobo-activation registration to module
6079 init time, kill referencing error.
6080 (bridge_exit_func): fix the same leak.
6081 (bridge_focus_tracker): don't leak event structures
6083 (bridge_signal_listener): more leakage and cut & paste
6085 (bridge_key_listener): return the result - FIXME is
6086 this polarity correct ?
6087 (accessibility_keystroke_from_atk_key_event): rename
6088 (accessibility_init_keystroke_from_atk_key_event): and stop
6090 (gtk_module_init): return a value - not that it is checked by
6092 (bridge_key_listener): register my horror at casting between
6093 IDL defined structs.
6094 (bridge_get_registry): kill - not used.
6096 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6098 * test/test-simple.c (test_roles): impl.
6099 (test_desktop, validate_accessible, validate_tree): impl.
6101 * cspi/spi_accessible.c (role_names): fixup bogus
6102 MAX_ROLES setup, make constants const for efficient linkage
6103 (AccessibleRole_getName): conform to coding style, make
6106 2001-11-30 Michael Meeks <michael@ximian.com>
6108 * cspi/spi.h: add missing prototype.
6110 * libspi/registry.c (spi_listener_struct_new): fix sig.
6112 * test/Makefile.am: add test-simple
6114 * test/test-simple.c: add
6116 * test/test.sh: add.
6118 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6120 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6121 do it straight - since otherwise we often get an activation race.
6123 [ work before Bill duplicated a chunk of it ... ]
6124 2001-11-30 Michael Meeks <michael@ximian.com>
6126 * libspi/keystrokelistener.c
6127 (spi_keystroke_listener_class_init): fixup arg
6130 * libspi/eventlistener.c
6131 (spi_event_listener_class_init): ditto.
6133 * tests/test.sh: add.
6135 * cspi/spi-listener-impl.h: update macros.
6137 * cspi/spi-listener-impl.c
6138 (cspi_event_listener_remove_callback): add
6139 correct pre-conditions.
6141 * cspi/spi_main.c (SPI_exit): guard vs. double
6142 exits, exit the mainloop nicely.
6143 (SPI_event_main): make more sense.
6144 (SPI_init): move the atexit evilness here so we
6145 always do it (yuck).
6146 (SPI_event_main): upd.
6148 * test/simple-at.c: update for listener changes.
6150 * registryd/registryd.c (main): prune kruft.
6152 * libspi/libspi.h: upd.
6154 * libspi/eventlistener.[ch]: rename broken macros.
6156 * libspi/accessibleeventlistener.[ch]: remove.
6158 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6160 * test/test-simple.c: Add - automated tests.
6162 * cspi/spi-listener-impl.c (cspi_event),
6163 (cspi_key_event): add user_data to invoke.
6164 (cspi_keystroke_listener_finalize): impl.
6165 (cspi_keystroke_listener_class_init): upd.
6168 (createAccessibleEventListener),
6169 (AccessibleEventListener_addCallback),
6170 (createAccessibleKeystrokeListener),
6171 (AccessibleKeystrokeListener_addCallback): upd.
6173 * libspi/deviceeventcontroller.c
6174 (spi_device_event_controller_check_key_event): add public proto.
6177 (impl_accessibility_registry_deregister_global_event_listener):
6178 always init listeners.
6179 (_registry_notify_listeners): yes it is.
6181 * cspi/spi-listener-impl.c (cspi_key_event):
6183 (cspi_event_listener_finalize): impl.
6184 (cspi_event_listener_class_init): hook up.
6185 (event_handler_new, event_handler_free),
6186 (event_list_remove_by_callback): impl.
6187 (cspi_event_listener_remove_callback),
6188 (cspi_keystroke_listener_remove_callback),
6189 (cspi_keystroke_listener_add_callback),
6190 (cspi_event_listener_add_callback): upd.
6192 * libspi/keystrokelistener.c
6193 (keystroke_listener_object_finalize): kill
6194 (spi_keystroke_listener_class_init): upd.
6195 (spi_keystroke_listener_add_callback),
6196 (spi_keystroke_listener_remove_callback): kill,
6198 (impl_key_event): prune drasticaly.
6200 * libspi/eventlistener.c
6201 (spi_event_listener_add_callback),
6202 (spi_event_listener_remove_callback): kill, use
6204 (impl_accessible_event_notify_event): upd.
6205 (spi_event_listener_object_finalize): remove.
6207 * libspi/Makefile.am: use eventlistener.[ch]
6209 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6211 * libspi/registry.c (_registry_notify_listeners):
6212 Changed listener loop iteration to use preferred convention.
6213 Got rid of string memory leaks caused be calling g_strconcat
6214 inside function calls.
6216 * libspi/registry.c (parse_event_type):
6217 Stopped g_strconcat memory leaks, free the g_strsplit return,
6218 g_strdup the split pieces when used, etc.
6220 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6223 Change method 'compare' to return a 'difference set' rather than
6224 taking a StateSet as an out parameter (more Java-friendly).
6226 * idl/Accessible.idl:
6227 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6229 * idl/Component.idl:
6231 Changed methods 'getExtents' and 'getImageExtents' in these
6232 interfaces to return a BoundingBox structure.
6233 (getPosition and getSize are redundant and possibly should be
6234 removed, rather than creating a corresponding Point struct.)
6236 * cspi/spi_component.c:
6237 Modify implementation of getExtents to reflect the above IDL
6242 Add (missing) AccessibleImage_getExtents () API.
6244 * docs/reference/cspi/at-spi-cspi-sections.txt:
6245 Added AccessibleImage_getImageExtents () to docs.
6247 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6249 * idl/Component.idl:
6250 Added two methods, getLayer () and getMDIZOrder (), to reflect
6251 the new ATK methods atk_object_get_layer and
6252 atk_object_get_mdi_z_order. (Which arguably should be part of the
6253 AtkComponent API and AtkObject). Also added an enum,
6254 ComponentLayer, for the first method's return value.
6256 * libspi/component.c:
6257 Added implementations for these methods.
6259 * cspi/spi_component.c:
6261 Added cspi binding methods for above,
6262 AccessibleComponent_getLayer() and
6263 AccessibleComponent_getMDIZOrder().
6264 Added cspi enum 'AccessibleComponentLayer'.
6266 * docs/reference/cspi/at-spi-cspi-sections.txt:
6267 Added above methods to docs.
6271 Changed typedef for 'boolean' type (and all references to it) to
6272 SPIBoolean, to avoid keyword clashes with C++.
6275 Changed usages of 'boolean' to SPIBoolean.
6277 * test/keysynth-demo.c:
6278 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6279 app), except where SPIBoolean is required by the callbacks API.
6281 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6283 * cspi/spi_registry.c:
6284 Removed obsolete X event loop for passive keygrabs (which now
6287 * registryd/registryd.c:
6288 Removed unnecessary call to gdk_init() [cruft]. This also allows
6289 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6292 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6294 * docs/reference/cspi:
6295 Included docs for SPI_freeString in generated documentation.
6298 Renamed spi_freeString to SPI_freeString, for consistency. Added
6299 documentation for this function.
6302 Renamed spi_freeString to SPI_freeString, for consistency.
6303 Removed obsolete method declaration string_from_corba_string.
6305 * test/keysynth-demo.c:
6306 Small tweak to comments.
6309 Stopped leaking the strings returned from CSPI.
6311 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6313 Merged Michael's branch (see his ChangeLog entries below).
6315 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6316 bridge is alive, release on exit.
6318 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6319 Fix type check macro.
6322 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6325 Added is_gnome_app static, and method cspi_is_gnome_app(),
6326 so we can call the appropriate shutdown routine at exit in SPI_exit.
6328 * cspi/spi_main.c (cspi_object_ref):
6329 Duplicate the corba object passed in, since we're keeping it around.
6331 * cspi/SPI_exit.c, cspi_cleanup:
6332 Moved the releasing of the live refs to its own function, so we
6333 can put it in g_atexit (). Call the appropriate shutdown API
6334 depending on whethe calling client is a gnome app or not
6335 (bonobo_main_quit or CORBA_ORB_shutdown).
6337 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6338 Unref the listener when this method is called, after
6339 deregistration. Updated the API docs to note this behavior.
6341 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6342 Bugfixes: Ref the bonobo object when returning a parent or child
6343 reference, or an AccessibleRelation. Generally made sure
6344 BonoboObject refcount is incremented whenever we return an
6347 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6348 Fixed typo/bug in signal declaration.
6350 * libspi/accessibleeventlistener.h:
6353 * libspi/application.c (spi_application_new):
6354 Fixed leak in initialization.
6357 Remembered to increment bonobo-object refcount when returning
6358 children (applications) from desktop object.
6359 Added (empty) finalize method.
6361 * libspi/deviceeventcontroller.c:
6362 Hold a ref to listeners inside DEControllerKeyListeners.
6363 Added dec_key_listener_free() method. Use prepend instead of
6364 append in key_listener list. Fixed some refcount madness and
6365 leaks in the listener registration/deregistration - deregistration
6366 now calls dec_key_listener_free() on listeners, and on the
6367 temporarily constructed dec_key_listener() used to perform the search/match.
6369 * libspi/hypertext.c (spi_hypertest_finalize):
6370 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6371 class. Also fixed spi_hypertext_interface_new() and
6372 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6374 * libspi/hypertext.h:
6375 Removed pointless and duplicate AtkObject pointer from
6378 * libspi/keystrokelistener.c:
6379 Fixed incorrect type of keystroke_listener_parent_class,
6380 renamed keystroke_listener_object_finalize to
6381 spi_keystroke_listener_object_finalize.
6382 Fixed typo in signal declaration
6383 (spi_keystroke_listener_class_init).
6385 * libspi/registry.c:
6386 Added funcsions spi_listener_struct_new() and
6387 spi_listener_struct_free() to help with memory management issues.
6388 We also now use these methods instead of gnew + poking stuff into
6389 the struct, and to decrement listener counts/free the listeners
6390 when deregistering them.
6391 Fix more refcount bugs in getDesktop() and
6392 getDeviceEventController().
6395 De-ref the desktop after enumerating the applications. Explicitly
6396 decrement the refcounts on the created listeners on exit (using
6397 _unref for keystroke listeners, and via the
6398 deregisterGlobalEventListenerAll command for other event
6401 2001-11-27 Michael Meeks <michael@ximian.com>
6403 * cspi/spi-listener.h: fixup enum.
6405 2001-11-27 Michael Meeks <michael@ximian.com>
6407 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6408 (cspi_keystroke_listener_new): Use the cspi variants.
6410 2001-11-26 Michael Meeks <michael@ximian.com>
6412 * test/keysynth-demo.c: fix 2 compile warnings, missing
6415 * test/simple-at.c (report_focussed_accessible),
6416 (report_focus_event, report_button_press),
6417 (check_property_change, is_command_key),
6418 (report_ordinary_key_event, report_command_key_event): upd.
6420 * util/mag_client.h: include pre-requisites.
6422 * libspi/accessibleeventlistener.c
6423 (spi_event_listener_object_finalize): free any lingering
6426 * libspi/keystrokelistener.c
6427 (keystroke_listener_object_finalize): ditto.
6429 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6430 callbacks, with cspi types.
6432 * cspi/spi_event.c (createAccessibleEventListener): chain to
6433 (AccessibleEventListener_addCallback): here.
6434 (createAccessibleKeystrokeListener): chain to
6435 (AccessibleKeystrokeListener_addCallback): here.
6437 * libspi/keystrokelistener.c
6438 (spi_keystroke_listener_class_init): add signal.
6439 (impl_key_event): emit the event.
6440 (boolean_handled_accumulator): impl.
6441 (marshal_BOOLEAN__POINTER): add, gack.
6443 * libspi/accessibleeventlistener.c
6444 (spi_event_listener_class_init): add signal.
6445 (impl_accessible_event_notify_event): emit the signal &
6446 make the loop efficient.
6447 (spi_event_listener_add_callback): prepend the callback.
6449 * libspi/accessibleeventlistener.h: add an 'event' signal,
6450 decl type on callback.
6452 * libspi/keystrokelistener.h: ditto.
6454 * cspi/spi-listener.h: make methods typesafe and
6455 make them use the new event typedefs.
6457 * test/simple-at.c (report_focussed_accessible):
6458 include mag_client.h
6459 Use *(void *)text_interface not the other thing.
6461 * configure.in: add gtk to registryd bits - since we use
6464 * util/magnifier.c: include libbonobo.h
6466 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6468 * test/keysynth-demo.c:
6469 Turned this into a simple scanning keyboard, to demonstrate the
6470 use of g_timeout_add () as a means of creating timers for
6471 scanning, and the use of GtkStyle for visually indicating when
6472 virtual keyboard elements are selected.
6474 keysynth-demo now listens to any keyboard keys with zero-valued
6475 keycodes (i.e. 'unused' keys) and interprets them as
6478 Reworked the shiftlatch code so that shift-down state isn't held
6479 for long periods (it's only synthesized immediately prior to
6480 the keysynth event it's modifying). Note that shiftlatch in this
6481 demo is a convenience, not intended to take the place of AccessX
6482 which is the better choice for getting 'sticky' modifier keys.
6484 * libspi/deviceeventcontroller.c:
6485 * at-bridge/bridge.c:
6486 * cspi/spi_registry.c:
6487 Removed some debug print stuff, and put other verbosity in #ifdef
6492 Implemented some more of the magnifier IDL for the simple
6493 magnifier: namely, getZoomRegionParams.
6494 Added mag_x and mag_y members to MagnifierData struct, aid of this
6496 Added GtkWindow::realize signal handler to magnifier, to keep it
6497 from receiving keyboard focus from the WM.
6499 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6501 * cspi/spi-private.h: my guess at what michael forgot
6502 before he ran off to NZ :-)
6504 2001-11-23 Michael Meeks <michael@ximian.com>
6506 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6507 comment out non existant method invoke so we link.
6509 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6510 use bonobo_exception_get_text for more friendly warnings.
6512 * cspi/spi.c (Obj_Add): move into spi_main & rename
6513 spi_object_add; kill spi.c
6515 * cspi/spi_registry.c
6516 (deregisterGlobalEventListener),
6517 (deregisterGlobalEventListenerAll),
6518 (registerGlobalEventListener): fix exception leaks.
6520 * cspi/spi_main.c (spi_exception): impl. helper, so we
6521 don't leak exceptions.
6523 * cspi/spi_selection.c
6524 (AccessibleSelection_deselectSelectedChild): return the
6527 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6528 (spi_registry): ditto.
6529 (SPI_init): guard against double inits.
6531 * cspi/*.c: use spi_ev (), and spi_registry () where
6532 appropriate - a temporary hack until we have something
6533 better. Use spi_object_add
6535 2001-11-22 Michael Meeks <michael@ximian.com>
6537 * cspi/Makefile.am: re organise, install the headers.
6539 * cspi/*.h: add G_BEGIN/END_DECLS
6541 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6544 Added non-preemptive keylistener for key events with no modifiers
6545 and shift-only modifier.
6547 * libspi/keystrokelistener.c:
6548 Removed some verbose diagnostics printout.
6550 * cspi/spi_registry.c:
6551 Fixed a bug that caused all key listeners to be registered as
6554 * libspi/deviceeventcontroller.c:
6555 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6556 for non-preemptive key masks.
6559 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6561 * docs/reference/idl/at-spi-idl-docs.sgml:
6562 * docs/reference/idl/at-spi-idl-sections.txt:
6563 * docs/reference/idl/at-spi-idl-overrides.txt:
6564 Added missing files.
6566 * docs/reference/Makefile.am:
6567 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6568 to scan the IDL files :-(
6573 Added .cvsignore files.
6575 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6577 * libspi/deviceeventcontroller.c:
6578 * libspi/keystrokelistener.c:
6580 * cspi/spi_registry.c:
6581 Added filters for KeySets, KeyEventSeq, and event types to key
6582 event dispatching, so listeners should only receive those events
6583 that they requested :-)
6585 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6590 * docs/reference:Makefile.am:
6591 * docs/reference/cspi:
6592 * docs/reference/cspi:Makefile.am:
6593 * docs/reference/cspi:tmpl:
6594 * docs/reference/cspi:tmpl:*.sgml:
6595 * docs/reference/idl:
6596 * docs/reference/idl:Makefile.am:
6597 * docs/reference/idl:at-spi-idl-sections.txt:
6598 * docs/reference/idl:at-spi-idl-docs.sgml:
6599 * docs/reference/idl:tmpl:
6600 * docs/reference/idl:tmpl:*.sgml:
6602 Restructured docs directory to allow separate 'reference' docs
6603 section, and forked idl and cspi docs. Added the sgml template
6604 files to CVS. Added the first sections/structural sgml for the
6607 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6609 * configure.in, libspi/Makefile.am: find libXtst.
6611 2001-11-21 Michael Meeks <michael@ximian.com>
6613 * test/accessx-gui.c: s/spi_value/value/ - doh.
6615 * libspi/base.[ch]: add.
6617 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6619 * idl/Accessible.idl:
6620 * idl/Application.idl:
6623 Started gtk-doc cleanup on IDL.
6625 * libspi/deviceeventcontroller.c:
6626 Added and connected non-preemptive key notification from the
6627 toolkits (in addition to the pre-emptive support from XServer
6628 which we had before, but which causes 'focus flashing'). Filters
6629 are presently limited to key modifiers and global/non-global,
6630 KeySets are presently ignored, as are KeyEvent masks.
6632 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6633 structs into the persistant structure rather than just storing
6634 pointers to things that might not persist across servant
6637 The XGrabKey call now does async keygrabs, because synchronous
6638 ones were deadlocking with GDK_event code in a very nasty way.
6640 Added boolean to internal method notify_keylisteners, to indicate
6641 whether the event came from the 'toolkit source' or the 'global
6642 (XServer) source' - this is used in the notification process to
6643 determine which listeners to send the event to.
6645 deviceeventcontroller.c is now warning-free.
6647 * libspi/registry.c:
6648 Fixed regression in application de-registration.
6649 Also fixed some really brain-dead weirdness having to do with
6650 event dispatching - event structs are now duplicated before being
6651 re-marshalled in the dispatch to listeners. This also fixes a
6652 Solaris build problem.
6655 2001-11-20 Michael Meeks <michael@ximian.com>
6658 (impl_accessibility_registry_deregister_global_event_listener):
6661 * libspi/deviceeventcontroller.c
6662 (spi_device_event_controller_check_key_event): return
6663 FALSE on no virtual method.
6665 * libspi/*..h: make includes work on a correctly pathed install.
6667 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6669 * libspi/application.h: kill unused ( and whacked out )
6670 gboolean *spi_application_set_id (AtkObject *app, long id);
6672 2001-11-20 Michael Meeks <michael@ximian.com>
6674 * libspi/*.[ch]: further convert to bonobo's type func
6675 macros, remove redundnant casts etc.
6677 * libspi/text.c s/accessibility_text/spi_text/g,
6678 re-order to de-cruft.
6680 * libspi/hypertext.c: re-order to kill a huge slew
6681 of redundant forward decls.
6683 * libspi/relation.c: ditto.
6685 * libspi/image.c: ditto.
6687 * */.cvsignore: update
6689 2001-11-20 Michael Meeks <michael@ximian.com>
6691 * libspi/deviceeventcontroller.c
6692 (_controller_register_with_devices): use g_getenv,
6693 kill stdlib.h include.
6695 * libspi/keystrokelistener.c
6696 (spi_keystroke_listener_get_type): kill
6697 (spi_keystroke_listener_class_init),
6698 (spi_keystroke_listener_init): rename to this.
6700 * libspi/text.c (impl_getAttributes): fix warning / bug.
6702 * libspi/*.[ch]: more headers, includes and over commenting.
6704 2001-11-20 Michael Meeks <michael@ximian.com>
6706 * libspi/*.[ch]: fixup headers, includes and over commenting.
6708 * libspi/image.c (impl__get_imageDescription): const
6709 correctness warning fix. remove redundant casting.
6711 * libspi/table.c (impl_getRowDescription): ditto.
6712 (impl_getColumnDescription): ditto.
6714 * libspi/libspi.h: add.
6716 2001-11-19 Michael Meeks <michael@ximian.com>
6718 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6720 * libspi/component.c (accessibility_component_get_type):
6721 rename to (spi_component_get_type): and macroify.
6722 (accessibility_component_init): rename to
6723 (spi_component_init): this
6724 (accessibility_component_class_init): rename to
6725 (spi_component_class_init): this
6727 * libspi/action.c (spi_action_get_type): kill, use the macro.
6729 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6732 * libspi/application.c (spi_application_object_event_listener),
6733 (impl_accessibility_application_register_object_event_listener):
6734 warning fixes / const understanding updates.
6736 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6739 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6741 * libspi/spi_accessible.c: Added docs and C bindings for
6742 AccessibleStateSet. (No implementations yet). Documentation
6743 coverage for C bindings now 100%. Made docs for event listeners
6748 boolean notifyListenersSync (in DeviceEventListener listener,
6749 in DeviceEvent event);
6751 oneway void notifyListenersAsync (in DeviceEventListener listener,
6752 in DeviceEvent event);
6754 Added DeviceEventListener and DeviceEvent structs (may deprecate
6755 KeyStroke and KeystrokeListener in favor of this generic
6756 event/listener framework for devices).
6758 * libspi/deviceeventcontroller.c:
6760 Changed some key listener code to take masks, etc., and paved the
6761 way for integration of toolkit/non-preemptive key events. Changed
6762 signatures of some internal methods.
6764 * at-bridge/bridge.c:
6765 Fixed regression connecting to interface signals, apparently
6766 caused by GTK+ changes.
6768 Added an internal bridge_state_listener to deal with
6769 property-change:accessible-state signals.
6771 Changed the key_listeners GList to store structs (including masks,
6772 etc.) instead of just CORBA_Objects (required for full
6773 implementation of key listener API).
6775 Connected the bridge to all currently supported Atk signals.
6776 Events now supported:
6777 object:property-change
6778 object:property-change:accessible-name
6779 object:property-change:accessible-state
6780 object:property-change:accessible-description
6781 object:property-change:accessible-parent
6782 object:property-change:accessible-value
6783 object:property-change:accessible-role
6784 object:property-change:accessible-table-caption
6785 object:property-change:accessible-table-column-description
6786 object:property-change:accessible-table-column-header
6787 object:property-change:accessible-table-row-description
6788 object:property-change:accessible-table-row-header
6789 object:property-change:accessible-table-summary
6790 object:children-changed
6791 object:visible-data-changed
6792 object:selection-changed
6793 object:text-selection-changed
6795 object:text-caret-moved
6797 object:row-reordered
6799 object:column-inserted
6800 object:column-reordered
6801 object:column-deleted
6802 object:model-changed
6804 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6806 * libspi/hyperlink.c,h:
6807 Fixed some broken stuff in hyperlink.
6809 * libspi/relation.h:
6810 * libspi/relation.c:
6811 * cspi/spi_accessible.c:
6812 Initial implementations of AccessibleRelation methods, and docs.
6814 * libspi/accessible.c:
6815 Fixed a bug that caused SEGV if an accessible
6816 object's description is NULL, and a client
6817 requests it. An empty string is now returned.
6819 * cspi/spi_editabletext.c:
6820 * cspi/spi_hypertext.c:
6822 * cspi/spi_hyperlink.c:
6826 Doc coverage now 95%.
6828 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6830 One last namespacing revision:
6831 * libspi/accessibleeventlistener.[ch]:
6832 Renamed SpiAccessibleEventListener to SpiEventListener,
6833 (no need for two namespaces ;-)
6835 And lots of documentation fixes:
6837 * docs/at-spi-docs.sgml:
6838 Fixed 'underscore vs. hyphen' bug that was preventing
6839 the gtk-doc API docs from being automatically generated.
6842 * cspi/spi-listener.h
6844 * cspi/spi_accessible.c
6846 * cspi/spi_application.c
6847 * cspi/spi_component.c
6848 * cspi/spi_editabletext.c
6850 * cspi/spi_hypertext.c
6852 * cspi/spi_registry.c
6853 * cspi/spi_selection.c
6857 * docs/at-spi-docs.sgml
6858 * docs/at-spi-sections.txt
6860 Added and fixed up gtk-doc documentation in cspi.
6862 Interfaces now (fully) documented (subject to revision and enhancement):
6864 Event Listener Support
6866 AccessibleApplication
6870 AccessibleEditableText
6877 AccessibleRelationSet
6882 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6884 * at-bridge/bridge.c:
6885 Initial work for toolkit-level key snooper connection by bridge.
6890 New typedefs and fixes to support new namespacing, and cleaner
6891 separation of cspi bindings from libspi bonobo implementation.
6892 Removed inconsistent and extraneous Spi* namespace prefix that
6893 had crept into cspi headers.
6894 Lots of comment fixes that sed had missed.
6896 * cspi/spi-roletypes.h:
6897 * cspi/spi-statetypes.h:
6898 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6899 to AccessibleRoleType.
6901 * libspi/accessibleeventlistener.h:
6902 Fixed minor namespacing weirdness.
6904 * libspi/deviceeventcontroller.c:
6905 Reordered some internal API for device listeners.
6906 Changed the key registry final boolean to 'is_system_global'
6907 rather than 'is_synchronous', which is more descriptive of its
6909 Added spi_device_event_controller_new().
6910 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6912 * libspi/keystrokelistener.[ch]:
6913 Namespaced KeystrokeListener to SpiKeystrokeListener.
6914 Changed uses of keymasks to use SPI_ prefix, and did other
6917 * libspi/keymasks.h:
6918 Namespaced keymask constants with SPI_ prefix.
6920 * libspi/registry.c:
6921 Some warning fixes, and knock-on fixes from namespace changes.
6924 Added rules for accessx-gui test program.
6926 * test/accessx-gui.c:
6927 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6928 utility. It doesn't actually use at-spi, but it's still cool and
6931 * test/keysynth-demo.c:
6935 Fixes so that these test clients work properly with the namespaced
6936 libraries. (Incompletely tested for technical reasons, fixes may follow)
6939 2001-11-13 Michael Meeks <michael@ximian.com>
6941 * libspi/application.c
6942 (impl_accessibility_application_get_version),
6943 (impl_accessibility_application_get_toolkit_name):
6945 (impl_accessibility_application_set_id),
6946 (impl_accessibility_application_get_id): remove
6947 redundant casting code.
6949 * libspi/action.c (impl_getDescription): fix warnings.
6951 * libspi/accessible.c
6952 (impl_accessibility_accessible_get_parent),
6953 (impl_accessibility_accessible_get_child_at_index),
6954 (impl_accessibility_accessible_get_state),
6955 (impl_accessibility_accessible_get_relation_set):
6956 warning fixes & include action.h
6958 2001-11-13 Michael Meeks <michael@ximian.com>
6960 * *.[ch] fix bits I screwed up:
6962 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6963 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6965 2001-11-13 Michael Meeks <michael@ximian.com>
6967 * *.[ch] Namespace libspi into spi_ and Spi.
6969 2001-13-11 Michael Meeks <michael@ximian.com>
6971 * Makefile.am: dist & install at-spi-1.0.pc
6973 * libspi/Makefile.am: install into at-spi-1.0
6975 * idl/Makefile.am (idldir): install into at-spi-1.0
6977 * at-spi-1.0.pc.in: add.
6979 * configure.in: build it.
6981 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6983 * test/keysynth-demo.c:
6984 Use a 'realize' signal-handler to set the WM properties for
6985 the virtual keyboard, rather than making it a "POPUP" type
6986 override-redirect window (thanks to anders carlsson for that
6989 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6992 * test/keysynth-demo.c:
6993 Added new test of key synthesis, which creates a simple
6994 (mouse-operated) onscreen keyboard. It inserts key events into
6995 the currently-focused window, thus it does not grab keyboard focus
6998 * cspi/spi_registry.c:
6999 Added C binding for AT-SPI generateKeyEvent.
7001 * libspi/deviceeventcontroller.c:
7002 Added call to XFilterEvent so that key listener works with XIM (we
7003 hope). Added event_synth_type to generateKeyEvent, so that we can
7004 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7005 synthesize a press/release pair for KeySyms.
7007 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7009 * libspi/Makefile.am:
7010 * registryd/Makefile.am:
7011 (temporary) hack to include libXtst in libspi and registryd.
7012 (Needed for keystroke synthesis, see below).
7015 Improved API for registerKeystrokeListener, in accordance with
7016 discussions with Gnopernicus team and X server research.
7018 * libspi/registry.c:
7019 * libspi/deviceeventcontroller.c:
7020 * libspi/accessible.c:
7021 * libspi/keystrokelistener.c:
7022 Changes and fixes to support keylisteners for potentially
7023 consumed key events (that is, 'passive grabs').
7024 Added implementation for generateKeyEvent() [untested].
7027 Changes to registerKeystrokeListener() API, as above.
7028 Added deregisterGlobalEventListenerAll(), and
7029 deregisterKeystrokeListener(), which are needed for clean exit of
7031 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7032 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7034 * cspi/spi_registry.c:
7035 Added implementations of function prototypes mentioned above.
7037 * registryd/registryd.c:
7038 Added the key listener event source as a g_timeout(), to allow
7039 receipt of key events that are not caught by GDK (since GDK
7040 doesn't support passive keygrabs, this was necessary).
7043 Changed to attach a keylistener to 'Alt' keys, and
7044 respond to the following keycommands: Alt-M (toggle magnifier);
7045 Alt-F (toggle speech); Alt-Q (quit).
7046 Added an exit routine to deregister the listeners, and a key
7047 listener that prints some key info to the console when a key
7048 matches the listener mask (and is thus received by the listener).
7050 * util/idl/Magnifier.idl:
7051 Changes to magnifier API to support multiple zoom regions,
7052 non-uniform scaling in x and y, markDirty, and a host of other
7053 features that would be useful to magnification.
7056 * util/mag_client.c:
7057 * util/mag_client.h:
7058 * util/mag_control.c:
7060 Source code changes to support the above IDL changes.
7063 As above, and also changes to use a (slower) generic conversion
7064 path for colormap conversions, since the fast RGB conversions have been
7065 reported to fail for 16-bit displays.
7067 2001-10-26 Michael Meeks <michael@ximian.com>
7069 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7071 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7073 * at-bridge/Makefile.am: fix LDFLAGS.
7075 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7077 * at-bridge/bridge.c:
7078 Re-worked listeners for toolkit events, now we have signal
7079 and property listeners. Added a private method
7080 register_atk_event_listeners(), which registers with the
7081 various atk and gtk signals we need to monitor in order to emit
7083 Added emission hook for AtkObject:property-change events, to
7084 support the 'property listeners'.
7085 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7088 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7089 which emit warnings and exit, respectively, if CORBA errors occur
7090 during remote calls, and we now use these methods to check most of
7091 our CORBA calls in the C bindings.
7093 * cspi/spi_accessible.c:
7094 Changed AccessibleSelection_refSelectedChild() to
7095 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7096 now increment refcounts.
7098 * cspi/spi_component.c:
7099 Fixed some long pointer casts (dangerous!) to pass pointers to
7100 CORBA_longs of the proper type to the CORBA stubs, and copy the
7101 data into the longs that were passed into the C bindings code.
7103 * at-bridge/bridge.c:
7105 * libspi/accessible.c:
7106 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7107 hyperlinks, AtkHyperlink is an object type.
7109 * libspi/application.c:
7110 Added various conversions to and from "generic" event types and
7111 atk-specific types; this is really part of the 'bridge'
7112 implementation but is valid for all AtkObject-based accessibility
7115 * libspi/editabletext.c:
7116 Fixed nasty bug wherein editable text's finalize method was
7117 unref'ing tha AtkObject reference that the text parent class was
7118 about to unref _again_. There was also a nasty inheritance bug
7119 that meant that the AccessibleEditableText class was corrupt.
7121 * libspi/selection.c:
7122 Provided implementations for some selection API that was broken.
7124 * idl/Application.idl:
7125 Added registerObjectEventListener () method.
7128 Fixed a number of return values that were Bonobo_Unknowns from
7129 bonobo_object_corba_objref(), which I
7130 forgot to dup before returning. Changed instances of
7131 bonobo_object_corba_objref (bonobo_object(o)) to
7132 BONOBO_OBJREF(o), for concision and clarity.
7134 2001-10-13 Louise Miller <louise.miller@sun.com>
7136 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7137 idl/Event.idl, idl/Registry.idl
7138 Changed these files to include Bonobo_Unknown.idl instead
7141 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7143 * libspi/component.c libspi/component.h:
7144 Fixed typo. Added assertions for object checks in
7145 AccessibleComponent code.
7147 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7149 * idl/Accessible.idl:
7150 Added 'isEqual (Accessible *object)'
7151 method for Accessible. (Not Yet Implemented).
7154 Changed signature of registerKeystrokeListener() to
7155 take a KeySet and KeyEventSeq so that specific keys and event
7156 types could be requested for monitoring, and added a flag
7157 is_synchronous so that either synchronous or asynchronous
7158 notification could be requested. (However this is not all
7159 implemented yet). This also meant adding two new typedefs,
7160 KeyEventSeq and KeySet.
7163 Added two new relations, RELATION_TOOLTIP_FOR and
7164 RELATION_LEAFNODE_OF.
7167 Added new state, STATE_HAS_TOOLTIP.
7169 * libspi/text.c, editabletext.c:
7170 Added new assertions to all casts of bonobo-objects from
7171 CORBA servants, to prevent Text API calls on non-text objects.
7172 Changed suspect casts of int-pointer types, so that we
7173 always send a valid CORBA_long pointer to the CORBA APIs that use
7174 in/out long parameters. We then have to copy from the CORBA_long
7175 into the regular long or int for return to the C bindings, or
7176 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7179 * libspi/deviceeventcontroller.c:
7180 Cleaned these sources up.
7182 Changed return type for getCharacterAtOffset to
7183 CORBA_unsigned_long, to allow for 32-bit characters.
7186 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7190 Fixed 'make dist' so that distro compiles...
7191 * libspi/keymasks.h:
7193 * cspi/spi-listener.c:
7194 KeystrokeListenerCB now returns a boolean.
7196 Added KeyEventType struct, and KeyStroke.
7197 Also added createKeystrokeListener(),
7198 KeystrokeListener_addCallback(),
7199 KeystrokeListener_removeCallback(), and added a keymask to
7200 registerKeystrokeListener().
7201 * cspi/spi_accessible.c:
7202 Changed numerous return types for interfaces from
7203 AccessibleComponent to Accessible<InterfaceName>; this was
7204 probably a cut-and-paste error.
7206 Implementations of new KeystrokeListener api (from spi.h,
7209 Changes to key modifier mapping.
7210 Created ControllerEventMask struct.
7211 Made DeviceEventController derive from Bonobo::Unknown.
7213 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7214 * libspi/deviceeventcontroller.c:
7215 Added a number of new internal (private) methods.
7216 * libspi/editabletext.c:
7217 * libspi/editabletext.h:
7218 Fixed a number of bugs related to the fact that
7219 editabletext inherits from text. Fixed the EditableText struct,
7220 the init() call, and use correct casts when calling Text methods
7221 from an EditableText object. Removed (duplicate) atko from the
7222 EditableText structure, we use the one in the parent Text
7223 structure via the casts mentioned above.
7224 * libspi/keystrokelistener.[ch]:
7225 * libspi/registry.c:
7226 Changes in support of keyboard handling (above).
7228 Keyboard handling, though partly functional, is still not
7229 recommended for at-spi client use as there is considerable
7230 work yet to be done.
7233 Changed some places where pointers to various int types
7234 are cast to be pointers to CORBA_long types and vice-versa:
7235 pointer casting is not safe so we pass pointers of the correct
7236 types and then cast the result before putting it into the target
7239 * libspi/text.h: minor typos corrected.
7241 We now speak not only the name of a Text element, but the
7242 first sentence of its content, when it receives focus.
7243 I also changed the text compression to 75% from 50%.
7244 * util/Accessibility_Util.server.in:
7245 Changed the default magnifier type to be a 3x vertical
7246 splitscreen magnifier (was previously a 2x horizontal one).
7248 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7250 * libspi/keystrokelistener.h:
7251 * libspi/keystrokelistener.c:
7252 Initial functional implementations of KeystrokeListener.
7255 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7257 Fixed string handling for NULL strings in libspi.
7258 Added spi_freeString to free strings returned by C bindings.
7260 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7262 * libspi/keystrokelistener.h:
7263 * libspi/keystrokelistener.c:
7264 Began (no-op) implementations of KeystrokeListener
7266 * libspi/deviceeventcontroller.c:
7267 * libspi/deviceeventcontroller.h:
7268 Began creating implementations of DeviceEventController,
7269 to handle keystroke and mouse event listening and
7271 * libspi/accessible.c:
7272 Stubbed-in the implementations for
7273 Accessibility_Accessible_getState and
7274 Accessibility_Accessible_getRelationSet.
7275 * libspi/registry.c:
7276 Improved de-registration process and fixed some bugs,
7277 deregistration now works correctly.
7279 Added initialization of applications list (to NULL).
7281 Reduced speech compression from 0.5 to 0.7, for demo.
7282 Changed call to gdk_window_set_decorations()
7283 to gtk_window_set_decorated().
7284 * at-bridge/bridge.c:
7285 Bridge now deregisters when app exits, via
7286 registration of a cleanup function
7287 with the g_atexit() call.
7288 Required making 'app' static, renamed 'this_app'.
7289 Fixed broken use of bonobo_init, passing argv wrongly.
7291 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7295 Created a new directory for
7296 accessibility-related utilities, primarily for
7297 testing and demo purposes, but with possible
7304 Onscreen magnifier utility that
7305 is implemented as a bonobo service.
7307 * util/mag_client.c:
7308 * util/mag_client.h:
7309 Client-side support (simple C bindings)
7310 for Magnification service
7312 * util/mag_control.c:
7313 Client program example for
7314 Magnification service
7316 * util/Accessibility_Magnifier.server.in:
7317 Bonobo-activation file for the
7318 Magnification service.
7321 * util/idl/Magnifier.idl:
7322 IDL defining the bonobo Magnification
7326 Modifications to use the bonobo-activated magnifier
7327 above, in place of trying to connect to an existing
7328 magnifier that uses socket-listening IPC.
7330 If env variable MAGNIFIER is set, a magnifier service
7331 will be started if one does not exist.
7333 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7335 * at-bridge/bridge.c:
7336 applied patch from Marc to build and run
7337 against new glib and gtk+ (seemed like a change
7338 to bonobo_init signature was made ?)
7340 made festival-server support turned off by default.
7341 Added support for a simple magnifier (off by default)
7342 which will be added to a 'util' directory later.
7343 * at-bridge/Makefile.am:
7344 Changed "application.h" header from a 'source'
7345 to a 'dependency' of libat-bridge.
7347 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7356 Added interface implementation c files to list of
7357 includes so they are included in libcspi.
7360 Changed prototype of AccessibleAction_doAction to return a
7362 Changed prototype of AccessibleTable_getCaption to
7363 return an Accessible.
7364 Changed prototype of AccessibleTable_getSelectedRows
7365 and AccessibleTable_getSelectedColumns to
7366 return a long (returns the number of selected rows
7367 or columns respectively).
7368 Changed name of AccessibleText_refRunAttributes to
7369 AccessibleText_getAttributes.
7370 Changed prototype of AccessibleText_getCharacterExtents to
7371 return a void rather than a boolean.
7372 Added support for a AccessibleCoordType parameter
7373 specifying what type of coordinates are desired.
7374 Added an AccessibleCordType parameter to
7375 AccessibleText_getPointAtOffset.
7377 * cspi/spi_accessible.c:
7378 Added code to return the outstanding interfaces from
7379 Accessible_queryInterface.
7381 * cspi/spi_action.c:
7383 Corrected call to getNActions to call the c binding
7386 * cspi/spi_editabletext.c:
7388 Changed name from setRunAttributes to setAttributes.
7390 * cspi/spi_hyperlink.c:
7392 Changed call to getNAnchors to correctly call the c
7393 binding for an attribute.
7395 * cspi/spi_hypertext.c:
7397 Changed getImageDescription to correctly call the
7398 binding for an attribute.
7400 * cspi/spi_selection.c:
7401 Changed getNSelectedChildren to correctly call the c
7402 binding for the attribute.
7403 Changed refSelectedChild to getSelectedChild.
7407 Changed getCaption to return an Accessible.
7408 Fixed calls which retrieve attributes.
7409 Changed refAt to getAccessibleAt.
7410 Changed getNSelectedRows and getNSelectedColumns to
7414 Changed getCharacterExtents and getPointAtOffset to accept an
7415 AccessibleCoordType.
7417 Changed calls which retrieve attributes.
7418 Changed refRunAttributes to getAttributes.
7423 * idl/Hyperlink.idl:
7424 Changed n_anchors attribute to nAnchors to keep naming
7425 convention consistent.
7428 Made Table inherit from Bonobo::Unknown.
7429 Added nSelectedColumns and nSelectedRows attributes.
7432 Made Value inherit from Bonobo::Unknown.
7434 * libspi/hyperlink.c:
7435 Change for nAnchors attributte name change.
7437 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7445 Added interface implementation c files to list of
7446 includes so they are included in libcspi.
7449 Changed prototype of AccessibleAction_doAction to return a
7451 Changed prototype of AccessibleTable_getCaption to
7452 return an Accessible.
7453 Changed prototype of AccessibleTable_getSelectedRows
7454 and AccessibleTable_getSelectedColumns to
7455 return a long (returns the number of selected rows
7456 or columns respectively).
7457 Changed name of AccessibleText_refRunAttributes to
7458 AccessibleText_getAttributes.
7459 Changed prototype of AccessibleText_getCharacterExtents to
7460 return a void rather than a boolean.
7461 Added support for a AccessibleCoordType parameter
7462 specifying what type of coordinates are desired.
7463 Added an AccessibleCordType parameter to
7464 AccessibleText_getPointAtOffset.
7466 * cspi/spi_accessible.c:
7467 Added code to return the outstanding interfaces from
7468 Accessible_queryInterface.
7470 * cspi/spi_action.c:
7472 Corrected call to getNActions to call the c binding
7475 * cspi/spi_editabletext.c:
7477 Changed name from setRunAttributes to setAttributes.
7479 * cspi/spi_hyperlink.c:
7481 Changed call to getNAnchors to correctly call the c
7482 binding for an attribute.
7484 * cspi/spi_hypertext.c:
7486 Changed getImageDescription to correctly call the
7487 binding for an attribute.
7489 * cspi/spi_selection.c:
7490 Changed getNSelectedChildren to correctly call the c
7491 binding for the attribute.
7492 Changed refSelectedChild to getSelectedChild.
7496 Changed getCaption to return an Accessible.
7497 Fixed calls which retrieve attributes.
7498 Changed refAt to getAccessibleAt.
7499 Changed getNSelectedRows and getNSelectedColumns to
7503 Changed getCharacterExtents and getPointAtOffset to accept an
7504 AccessibleCoordType.
7506 Changed calls which retrieve attributes.
7507 Changed refRunAttributes to getAttributes.
7512 * idl/Hyperlink.idl:
7513 Changed n_anchors attribute to nAnchors to keep naming
7514 convention consistent.
7517 Made Table inherit from Bonobo::Unknown.
7518 Added nSelectedColumns and nSelectedRows attributes.
7521 Made Value inherit from Bonobo::Unknown.
7523 * libspi/hyperlink.c:
7524 Change for nAnchors attributte name change.
7527 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7529 implementations-- made server implementations own AtkObject pointers
7530 rather than their respective AtkInterrface pointers to fix
7531 refcounting. AtkHyperlink is still broken.
7533 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7534 * cspi/spi_accessible.c:
7535 Added method Accessible_Role_getName(),
7536 and requisite string array (role_names).
7537 Added conversion string_from_corba_strin() call
7538 to Accessible_getName and _getDescription.
7539 * libspi/accessible.c:
7540 Added implementation for Accessible_getRole()
7542 Added festival support, used if environment variable
7545 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7547 * at-bridge/bridge.c:
7548 Now allocate Accessibility_Event using
7549 Accessibility_Event__alloc() instead of g_new0().
7550 * libspi/accessibleeventlistener.c:
7551 Initialize AccessibleEventListener->callbacks to NULL.
7552 Fixed accessible__event_listener_init() param, changed to
7553 "AccessibleEventListener *" type.
7554 Changed a bonobo_object_release_unref() call to
7555 Accessibility_Accessible_unref().
7556 * libspi/listener.c:
7557 Changed Bonobo_Unknown_unref to (equivalent)
7558 Accessibility_Accessible_unref.
7559 * libspi/registry.c:
7560 Changed bonobo_object_release_unref to
7561 Accessibility_Accessible_unref.
7563 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7566 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7567 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7568 spi-util.c spi-util.h
7569 Implementations for C bindings to remaining accessibility
7572 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7575 changed return value of Action from void to boolean to
7576 bring in line with ATK.
7579 Changed getText funcions to return "out" start and end offsets.
7580 Changed getAttributes to take and offset and return the start
7581 and end offset of the attribute run.
7582 Changed getOffsetAtPoint and getCharacterExtents to take an
7583 enum describing whether coordinates are window or screen.
7586 libspi/action.c libspi/action.h libspi/editabletext.c
7587 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7588 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7589 libspi/image.h libspi/selection.c libspi/selection.h
7590 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7591 libspi/value.c libspi/value.h
7592 Added server implementations for outstanding ATK interfaces
7593 not yet implemented.
7595 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7598 Added (missing) getName() method.
7599 Made nActions an attribute.
7600 * idl/EditableText.idl:
7601 Changed order of params in setAttributes.
7602 * idl/Hyperlink.idl:
7603 Removed getAnchor, added getURI.
7605 Changed attributes to methods, for efficiency
7606 (so that getting extents can be done in one call)
7607 * idl/Selection.idl:
7608 Changed nSelectedChildren to attribute, and re-indented.
7609 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7611 * idl/Text.idl: reformatted to match our coding style.
7612 (temporarily?) removed getRowColumnAtOffset().
7613 Changed text selection API to support multi-select and
7614 non-contiguous selections, as in ATK.
7615 * idl/Value.idl: changed some methods to attributes.
7617 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7619 * libspi/listener.c(impl_notify_event):
7620 BonoboUnkown_unref the source instead
7621 of bonobo_object_release_unref - the ORB
7622 handles the releasing.
7624 * configure.in: require ORBit-2.3.94 for
7627 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7629 Tagged CVS repository 'EA_1_0'.
7630 * README.EARLY_ACCESS:
7631 Alphabetized acknowledgements list, and
7633 Listed some known dependencies of at-spi.
7635 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7637 * docs/at-spi-docs.sgml:
7638 * docs/at-spi-sections.txt:
7639 * docs/at-spi-overrides.txt: (Added zero-length file)
7640 Documentation improvements - gtk-doc should build
7641 docs for all implemented C bindings now.
7644 * cspi/spi.c: (New file)
7645 * cspi/spi_event.c: (New file)
7646 * cspi/spi_registry.c: (New file)
7647 * cspi/spi_accessible.c: (New file)
7648 * cspi/spi_application.c: (New file)
7649 * cspi/spi_component.c: (New file)
7650 Split spi_main.c into six parts, and included them from
7651 "spi.c". This is a bit of a hack, probably temporary,
7652 but required by gtk-doc, apparently.
7654 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7657 * docs/at-spi-docs.sgml:
7658 * docs/at-spi-sections.txt:
7660 Initial checkins/modifications for gtk-doc generation.
7663 Added (missing) interface query methods to Accessible's C binding.
7665 Added GenericInterface type definition.
7667 Added query for AccessibleComponent interface to focus event handler.
7668 Added printout of bounding box for focussed component.
7669 * libspi/component.c:
7670 Added partial implementation for AccessibleComponent to C binding.
7671 * idl/Application.idl:
7672 * libspi/registry.c:
7673 * libspi/listener.c:
7674 * libspi/application.c:
7675 * libspi/application.h:
7676 Changed "ID" attribute type from string to long.
7678 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7682 Made method naming consistent: methods taking object args
7683 start with uppercase, other methods (except those using
7684 acronyms) start with lowercase. Underscores delimit between
7685 object names and method names:
7686 SPI_init() - uppercase since it starts with an acronym.
7687 getDesktopCount () - lowercase start since no object param0.
7688 Accessible_getName() - uppercase object type name, studlyCaps method
7692 Added gtk-doc documentation for all currently implemented
7693 methods in the C bindings API.
7695 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7697 * Makefile.am : changed build order to build test last.
7700 Changed "createEventListener" to "CreateEventListener".
7701 * libspi/accessibleeventlistener.c :
7702 Bugfix for addition of callbacks.
7703 * test/Makefile.am :
7704 * test/simple-at.c :
7705 Added new test that uses the C bindings API.
7707 * libspi/listener.c :
7708 * libspi/registry.c :
7709 * libspi/accessibleeventlistener.c :
7710 * at-bridge/bridge.c :
7711 Renamed member "target" of Accessibility_Event to "source",
7712 which is more descriptive.
7715 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7719 * cspi/Makefile.am :
7720 Added makefile support for at-spi/cspi directory.
7723 * cspi/spi-listener.h : (NEW FILE)
7724 Added support for/use of spi-listener.h.
7726 C bindings now build successfully, with no warnings.
7727 * libspi/accessibleeventlistener.h : (NEW FILE)
7728 * libspi/accessibleeventlistener.c : (NEW FILE)
7729 * libspi/Makefile.am :
7730 Added new object type "AccessibleEventListener"
7731 which inherits from Listener, and allows attachment
7732 of in-process callbacks (so that a client with a listening
7733 object instance can add functionality to the local
7734 implementation, dynamically).
7736 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7738 * libspi/accessible.c:
7739 Add implementation for get_index_in_parent().
7741 Added #include of "spi-roletypes.h", and
7742 added enumerated type AccessibleCoordType.
7743 Added definition for KeystrokeListener (function type).
7746 * cspi/spi-statetypes.h :
7747 * cspi/spi-roletypes.h :
7749 Added these headers, used by spi.h.
7751 Added code (NOTE: not yet built by make).
7753 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7755 * libspi/Makefile.am: generate imodule
7756 at the same time as other idl compiler
7759 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7760 * libspi/registry.c :
7761 * libspi/application.c :
7762 * idl/Application.idl :
7763 Made registration with toolkit an application method,
7764 which is required since each app has its own toolkit static
7765 environment. Thus the bridge must register for
7766 notification of toolkit events from each application in turn.
7767 Toolkit notifications are now successfully registered for, and
7768 sent to the listening at client.
7770 Changed toolkit event string to use hyphens rather than underscores.
7771 * libspi/listener.c :
7772 listner now gives more info in debug mode - it reports the
7773 name of the event received, as well as the name of the source.
7776 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7778 * libspi/registry.c :
7779 added more implementation for toolkit events.
7780 Fixed bug such that toolkit event registrations
7781 (via atk) use the whole event name string, not
7783 Removed a useless call to an ORBit_ method.
7784 * at-bridge/bridge.c :
7785 Removed unused local sbuf[] variable.
7787 We now register for Gtk:GtkWidget:button_press_event
7788 events as well as "focus:" events.
7790 Add some more API from Registry.idl that was missing,
7791 for keystroke listening, keystroke and mouse event
7792 synthesis, and enumeration of accessible desktops.
7794 2001-08-16 Michael Meeks <michael@ximian.com>
7796 * configure.in: use AM_GLIB_GNU_GETTEXT.
7798 * Makefile.am (SUBDIRS): kill intl.
7800 2001-08-15 Michael Meeks <michael@ximian.com>
7802 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7804 * configure.in: upd.
7806 * configure.in: depend on a recent bonobo-activation that
7807 will find our server files ...
7809 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7811 * libspi/accessible.c : accessible_new() :
7812 Now we add the Component interface via bonobo_object_add_interface,
7813 if the contained AtkObject implements AtkComponent.
7814 * libspi/accessible.h : now include "component.h"
7815 * libspi/component.h :
7816 * libspi/component.c : added files - implementation of
7817 bonobo wrapper object for Accessibility/Component
7818 * libspi/listener.c :
7819 Added test code to check for Accessibility/Component:1.0
7820 interface and report whether it is implemented by the
7822 * libspi/registry.c :
7823 Now we check for not only the hash of the whole event
7824 string before relaying the event, we also check the
7825 "minor" event string (without the detail string).
7826 This allows event listeners to be registered against
7827 all events of a certain major+minor type, or just
7828 against a specific major+minor+detail type.
7829 * libspi/accessible.c :
7830 Added implementations for Accessible:get_parent(),
7831 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7832 * libspi/registry.c :
7833 * libspi/listener.c :
7834 Replaced calls to Accessibility_Accessible_ref() and
7835 Accessibility_Accessible_unref() with
7836 calls to bonobo_object_dup_ref() and
7837 bonobo_object_release_unref(), so that the CORBA object
7838 is dup-ed and released when relayed, as well as the bonobo object.
7840 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7842 * libspi/Makefile.am,
7843 registryd/Makefile.am,
7844 at-bridge/Makefile.am.
7845 test/Makefile.am, configure.in:
7846 reverse previous changes.
7848 * /idl/Image.idl: fix typo.
7850 * test/Makefile.am: put DEBUG_FLAGS
7853 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7855 * test/app.c: use argv[0] instead of
7858 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7860 * libspi/Makefile.am,
7861 registryd/Makefile.am,
7862 at-bridge/Makefile.am.
7863 test/Makefile.am, configure.in:
7864 cleanup, replace individual LIBS/CFLAGS with
7865 AT_COMMON_{LIBS|CFLAGS}.
7869 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7871 * configure.in, libspi/Makefile.am:
7872 Change IDL path checking for bonobo-activation
7875 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7877 * registryd/registry.c : separated event listeners to use
7878 3 separate lists (focus, window, toolkit). Began testing
7879 event names against hashes before relaying events.
7880 * test/at.c : now register for events of type "focus:"
7881 * test/app.c : now generate events of type "focus:"
7882 * at-bridge/bridge.c : register with ATK for focus events,
7883 and we now relay those focus events to any "focus:" listeners.
7884 This now works with the bridge as a GTK_MODULE when running test/at.
7885 * libspi/registry.c :
7886 * libspi/listener.c :
7887 now we ref event sources before propagating, and unref on receipt.
7888 * libspi/registry.c :
7889 some changes to internal structs, to support event typestring hashes.
7890 * text/app.c : changed the way the appname is generated.
7891 * cspi : added directory that will hold the C bindings library for
7892 non-CORBA/bonobo-savvy clients.
7893 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7894 * idl/Component.idl : added in parameter to indicate coord system for
7895 geometry-related calls.
7896 * idl/Hyperlink.idl : added readonly n_links attribute
7897 * idl/Image.idl : changed methods to attributes.
7899 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7901 * at-bridge/Makefile.am: link against
7902 ../libspi/libspi.la instead of -lspi.
7904 * at-spi/test/app.c: include
7905 bonobo-activation.h. Use a default appname
7906 if one is not provided.
7908 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7910 * idl/Registry.idl : temporarily changed register_Application
7911 to oneway, to work around issue with initial registration
7913 * idl/Application.idl : changed attribute "id" from readonly
7914 to read-write, since it needs to be assigned by Registry.
7915 * registryd/registryd.c : added call to set application id
7917 * registryd/registry.c : changed de-registration procedure to
7918 use CORBA_Object_hash() to find matching object ref in application
7919 lists and listener lists.
7920 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7921 began distinguishing between event types (work in progress).
7923 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7926 * libspi/application.c:
7927 Added implementations for get/set id, get_toolkitName,
7929 * registryd/registryd.c :
7933 Converted from use of OAF to bonobo-activation.
7934 * libspi/desktop.h :
7935 * libspi/desktop.c :
7937 Removed references to atksimpleobject, since base atkobject
7938 implementation now provides functionality we need.
7939 * libspi/atksimpleobject.c :
7940 * libspi/atksimpleobject.h :
7945 * at-bridge/Makefile.am
7946 * at-bridge/bridge.c
7949 Added directory "bridge" and contents, and added dependencies
7950 in Makefile.am/configure.in.
7951 Initial checkin of "at-bridge".
7952 This code is a GTK_MODULE which automatically registers
7953 GTK+ apps with the accessibility registry, using an object
7954 reference to the root ATK object.
7956 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7958 * po/Makefile.in.in: Remove. Again. If this
7959 doesn't get autogenerated - you need to update
7962 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7964 * po/Makefile.in.in: Add. Again.
7966 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7968 * libspi/accessible.c : added support for 'description' property.
7969 * libspi/accessible.c
7971 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7972 (since the two are now equivalent in libbonobo)
7980 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7981 Bonobo::Unknown as does Accessibility::Accessible.
7982 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7983 interface with Bonobo::Stream, since it was redundant with it.
7984 (The Stream returned by a StreamableContext object is expected to
7985 implement only a subset of Bonobo::Stream)
7987 2001-07-28 Anders Carlsson <andersca@gnome.org>
7989 * libspi/accessible.c (accessible_object_finalize): Change
7990 g_free to g_object_unref since the AtkObject is a GObject.
7992 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7994 * idl/Accessibility.idl: add new IDL files
7997 * idl/Action.idl: Definitions of actionable UI object
7998 * idl/Component.idl: Definitions of UI component geometry, etc.
7999 * idl/Hyperlink.idl: Defs of hyperlink behavior
8000 * idl/Image.idl: Def of accessible image
8001 * idl/Selection.idl: Definition of UI object with selectable children
8002 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8003 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8004 * idl/Text.idl: Interface defs for UI elements with complex textual content
8005 * idl/Value.idl: Definition of UI element that is a value controller or display
8007 2001-07-27 Michael Meeks <michael@ximian.com>
8009 * po/Makefile.in.in: remove autogenerated file from CVS.
8011 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8014 * idl/Registry.idl: include guard.
8016 * idl/Accessibility.idl: Add, and include all the other IDL
8019 * idl/*.idl: remove mass of pragmas etc.
8021 2001-07-26 Michael Meeks <michael@ximian.com>
8023 * registryd/Makefile.am (registryd_SOURCES): remove
8026 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8028 * libspi/.cvsignore, registryd/.cvsignore,
8029 test/.cvsignore: updated.
8031 * po/Makefile.in.in: gettext update.
8033 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8035 * initial CVS checkin
8037 2001-06-29 Michael Meeks <michael@ximian.com>
8039 * configure.in: add AM_CONFIG_HEADER to gen config.h