1 2006-11-07 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
4 Don't require gtk+ and gail for building most of at-spi
7 * registryd/registry-main.c (main): We now get te value of display
8 using the env var DISPLAY rather than using the gdk_display_get_default
9 to avoid dependancy of gdk. Also, once the registry is started, we set
10 the ior of the registry as an X property.
11 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
13 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
14 the registration was successfull.
15 (spi_atk_bridge_do_registration): This function now returns success
16 or not on activating the registry.
17 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
18 has been set in the X root window and return it if available.
19 (spi_atk_bridge_get_registry): We now get the registry using the IOR
20 saved as a X property rather than using the OAFID.
22 2006-10-01 Bill Haneman <bill.haneman@sun.com>
24 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
26 2006-09-25 Bill Haneman <bill.haneman@sun.com>
28 * registryd/registry.c:
29 (desktop_remove_application): Don't pass a ref to the
30 dead application with the event, since it's probably
31 defunct and will cause SEGV if we try to unref,
32 extract app name, etc.
35 2006-09-20 Bill Haneman <bill.haneman@sun.com>
37 Patch from Neo Liu <nian.liu@sun.com>,
40 * atk-bridge/bridge.c:
41 (spi_atk_bridge_document_event_listener): New, for
44 2006-08-30 Bill Haneman <bill.haneman@sun.com>
47 Changed some parameter names so as not to
48 collide with class names - allows IDL to be compiled with
49 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
51 2006-08-22 Bill Haneman <bill.haneman@sun.com>
53 * atk-bridge/bridge.c:
54 (spi_atk_bridge_signal_listener):
55 Patch from Ginn Chen, assign detail1 in children-changed
56 so that the child object can be assigned to the Any when the
57 at-spi event is emitted. Bug #350552.
59 * libspi/application.c:
60 (spi_application_finalize): Remove g_print debug output.
63 2006-08-21 Bill Haneman <bill.haneman@sun.com>
65 * configure.in: Revved to AT-SPI 1.7.11.
67 * libspi/accessible.c:
68 (spi_accessible_new): Aggregate Hyperlink interface
69 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
72 (spi_hyperlink_new): Don't aggregate Action a second time if this
73 interface is created for an AtkHyperlinkImpl object (i.e. for a
74 child Accessible, as opposed to the Hyperlink instance from
76 (get_hyperlink_from_servant): Obtain the hyperlink from
77 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
79 Patch section from Ginn Chen...
81 * cspi/spi_accessible.c:
82 (_cspi_accessible_set_from_sequence):
83 Changed g_newa to g_new0 on Ginn Chen's suggestion.
85 * libspi/accessible.c:
86 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
87 (spi_accessible_new): Add the Document interface if present.
90 (impl_getAttributes): Fixed to use AtkAttribute properly.
93 (impl_getAttributes, impl_getDefaultAttributes):
94 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
96 2006-08-17 Bill Haneman <bill.haneman@sun.com>
98 * cspi/spi-private.h, cspi/spi_accessible.c:
99 (_cspi_attribute_set_from_sequence): Renamed from
100 cspi_attribute_set_from_sequence, to suppress export.
103 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
104 inline docs, which was keeping the doc from appearing.
105 (SPIExceptionHandler): Doc this.
107 * cspi/spi_document.c:
108 Added inline gtk-docs cut-n-pasted from the doxygen
109 docs in the corresponding IDL files.
110 (AccessibleDocument_getAttributes): Fix the retval here.
112 * cspi/spi_streamablecontent.c:
113 Fixed some 'Since' tags that were accidentally doxygen-style.
116 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
117 docs from the IDL file.
119 * docs/reference/cspi/at-spi-cspi-docs.sgml:
120 Added entities for Document and StreamableContent interfaces.
122 * docs/reference/cspi/at-spi-cspi-sections.txt:
123 Added some docs that were present inline but not getting
126 2006-07-31 Bill Haneman <bill.haneman@sun.com>
129 (impl_getRangeExtents): Use the atk_text_get_range_extents
130 API instead of looping over character bounds, now that
132 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
133 (_spi_text_bounds_contain): Remove, not needed anymore.
134 (_spi_text_rect_union): Remove, not needed anymore.
136 2006-07-31 Bill Haneman <bill.haneman@sun.com>
138 * atk-bridge/bridge.c:
139 (spi_atk_emit_eventv): Fix the CORBA_free call which was
140 causing 64-bit troubles and memory leaks.
141 Special thanks to Alexander Larsson who finally seems to
142 have tracked down the problem, not just here but in
146 (spi_init_any_object): Make sure we copy the CORBA value
147 when initializing an object for passing as a CORBA_Any.
150 2006-07-21 Bill Haneman <billh@gnome.org>
152 * idl/Accessibility.idl:
153 Reverted pragma changes, this broke the build in some envs
154 including the Debian team's build and some tinderbox builds.
156 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
159 Revved to 1.7.10, and edited the Xevie check (bug #319994).
161 * idl/Accessibility.idl:
162 Reworked inclusion of Bonobo_Unknown.idl, to
163 avoid double-linking libs in the Bonobo environment.
164 Thanks to Michael Meeks for the workaround, see bug #313122.
166 * registryd/deviceeventcontroller.c:
167 (spi_controller_notify_keylisteners):
168 Set the SPI_NUMLOCK_MASK bit if the modifier
169 corresponding to the conceptual numlock state is set.
172 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
174 * idl/Accessibility_Selection.idl:
175 (deselectChild): New method.
177 * libspi/selection.c:
178 (impl_deselectChild): Implement the new IDL method.
181 (AccessibleSelection_deselectChild): Added new method.
183 * cspi/spi_selection.c:
184 (AccessibleSelection_deselectChild): New method implemented.
186 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
188 * cspi/bonobo/cspi-bonobo.c:
189 (cspi_init): Replace g_error with g_warning, prevent
190 SEGV if the registry cannot be activated. Bug #346393.
192 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
194 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
196 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
197 2006-07-12 Ariel Rios <arios@us.ibm.com>
201 * idl/Accessibility_Table.idl:
202 (getRowColumnExtentsAtIndex): New method for getting
203 selection status and extents in one API call.
206 (impl_getRowColumnExtentsAtIndex): Implementation of
208 (spi_table_class_init): Add above to epv.
212 (AccessibleTable_getRowColumnExtentsAtIndex): New
213 method, retrieves selection status and row/col extents
214 for a table cell in a single API call.
216 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
217 2006-07-12 Ariel Rios <arios@us.ibm.com>
219 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
222 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
223 New bindings for new methods defined in idl and libspi.
226 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
227 Added prototype functions.
230 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
232 (spi_text_class_init): Added previous methods.
235 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
236 * libspi/spi-private.h: Corrections.
238 2006-06-29 Bill Haneman <bill.haneman@sun.com>
240 Added Document interface (see bug #326520),
241 with work from Ariel Rios <arios@us.ibm.com>.
243 * configure.in: Bump to 1.7.8.
245 * libspi/Makefile.am: Added document.[ch] to sources
248 (SpiDocument, SpiDocumentClass):
249 New interface implementation.
250 (spi_document_get_type, spi_document_construct)
251 (spi_document_interface_new): New methods added.
252 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
253 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
254 Added macros for SpiDocument
258 (spi_document_interface_new): Get a
259 new document interface. New.
260 (get_document_from_servant): Get an AtkDocument from servant New.
261 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
262 Implementation of methods defined on idl.
263 (spi_document_class_init, spi_document_init)
264 Init methods for SpiDocument. new
266 * idl/Accessibility.idl: Added Accessibility_Document.idl.
268 * cspi/Makefile.am: Added spi_document.c to sources.
270 * cspi/spi_document.c:
271 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
272 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
273 (AccessibleDocument_getAttributes): Bindings for methods defined
276 * cspi/spi_accessible.c:
277 (Accessible_isDocument, Accessible_getDocument) New.
279 (Accessible_isDocument, Accessible_getDocument)
280 (AccessibleDocument_ref, AccessibleDocument_unref)
281 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
282 (AccessibleDocument_getAttributes): Bindings added.
284 * idl/Makefile.am: Added Accessibility_Document.idl to
287 2006-06-29 Bill Haneman <bill.haneman@sun.com>
289 * idl/Accessibility_Document.idl: New interface
290 for complex documents. First stage of fix for RFE
293 2006-06-27 Bill Haneman <bill.haneman@sun.com>
295 * libspi/streamablecontent.c:
296 (impl_content_stream_close):
297 Unref the GIOChannel on close.
299 2006-06-23 Bill Haneman <bill.haneman@sun.com>
301 * idl/Accessibility_Role.idl:
302 * libspi/accessiblerole.c:
303 * cspi/spi_accessible.c: Added ROLE_LINK,
304 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
305 Bug #345758 and bug #140635.
308 2006-06-22 Bill Haneman <bill.haneman@sun.com>
312 * idl/Accessibility_StreamableContent.idl:
313 Fix derivation of StreamableContent and ContentStream.
315 * cspi/spi_streamablecontent.c:
316 (accessible_content_stream_client_read):
317 Fix the datatype of the content stream used.
318 Interpret short reads as EOF, and stop trying to
319 read when we've fulfilled the request.
320 (AccessibleStreamableContent_getContentTypes):
321 Use g_strdup, not CORBA_string_dup, for the strings.
322 (AccessibleStreamableContent_open):
323 Correctly use the new getStream method for opening,
324 not the deprecated getContent method.
325 Use the object reference as the stream hash key.
326 Make note of the 'one stream per client per streamable'
327 limitation in the docs.
330 Add streamablecontent.h to the list of #includes.
332 * libspi/streamablecontent.c:
333 (impl_content_stream_read): Initialize the GError.
334 Allocate the incoming buffer if reading a fixed length of
335 data. Use g_memmove instead of memcpy.
336 (impl_accessibility_streamable_get_content_types):
337 Init typelist->_maximum. Only allocate the buffer if
338 there is a non-zero number of content types available.
339 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
341 * libspi/streamablecontent.h:
342 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
345 (SPI_IS_VALUE): Fix a typo in this macro too.
347 2006-06-16 Bill Haneman <bill.haneman@sun.com>
351 * idl/Accessibility_StreambleContent.idl:
352 Deprecate the Bonobo_Stream-based methods in favor of
353 a self-contained "ContentStream" interface. This should
354 allow us to remove BonoboStream dependencies entirely, since
355 there were no non-NIL implementations of the old methods anyway.
356 (ContentStream): New interface.
357 (ContentStream::SeekType): Enum.
358 (ContentStream::seek): New.
359 (ContentStream::read): New.
360 (ContentStream::close): New.
361 (getContent): Deprecate.
362 (getURI): New method, returns a URI pointing to the content, if available.
364 * libspi/streamablecontent.c:
365 (SpiContentStream): Internal object type definition used to
366 implement Accessibility::StreamableContent::ContentStream via
367 AtkStreamableContent's GIOChannel back-end.
368 (spi_content_stream_new, spi_content_stream_dispose): See above;
370 (impl_content_stream_seek, impl_content_stream_read):
371 (impl_content_stream_close): New, implementations of
373 (impl_accessibility_streamable_get_stream): Implement the
374 public method Accessibility::StreamableContent::getStream.
375 (impl_accessibility_streamable_get_uri): Implement the
376 public method Accessibility::StreamableContent::getURI.
378 * cspi/spi_streamablecontent.c:
379 (accessible_bonobo_stream_client_seek): Replaced by
380 (accessible_content_stream_client_seek).
381 (accessible_bonobo_stream_client_read): Replaced by
382 (accessible_content_stream_client_read).
383 (AccessibleStreamableContent_open):
384 (AccessibleStreamableContent_seek):
385 (AccessibleStreamableContent_read):
386 (AccessibleStreamableContent_close): Use the new 'getStream'
387 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
389 2006-06-15 Bill Haneman <bill.haneman@sun.com>
391 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
392 remove from other .idl files (except LoginHelper).
395 2006-06-14 Bill Haneman <bill.haneman@sun.com>
397 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
400 * configure.in, */Makefile.am: mingw patch, modified from
401 original patch by yselkowitz. Bug #314216.
403 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
404 for completeness. Bug #163111.
406 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
407 * libspi/util.c, registryd/registry-main.c:
408 Fix guint/char* casts.
409 Patch from chpe, bug #333883.
411 2006-06-12 Bill Haneman <bill.haneman@sun.com>
413 * configure.in: Require atk-1.12.0, to pick up
414 new API. (bug #344412).
416 * libspi-1.0-uninstalled.pc.in:
418 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
419 Fix for #341488 from Samual Thibault.
421 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
422 Thanks to Brian Pepple.
424 2006-06-09 Bill Haneman <bill.haneman@sun.com>
427 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
428 New, missing implementations of attribute reading methods
431 * cspi/spi.h, spi_value.c:
432 (AccessibleValue_getMinimumIncrement): New methods wrapping
433 the (formerly unimplemented) property from Value.idl.
436 (impl_get_minimumIncrement): Implementation for retrieving
437 the minimum valuator increment, (formerly unimplemented).
440 2006-06-09 Bill Haneman <bill.haneman@sun.com>
442 * idl/Accessibility_State.idl:
443 Added STATE_VISITED (bug #338369).
445 * cspi/spi_accessible.c:
446 (spi_state_to_corba) Fixed marshalling of new statetypes.
449 (spi_init_state_tables, impl_getStates):
450 Fixed conversion of new statetypes to/from ATK.
452 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
454 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
455 definitions/conversions for new roles from ATK.
457 * idl/Accessibility_Relation.idl:
459 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
460 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
461 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
463 * libspi/accessible.c: Fixed marshalling of new role types from
466 2006-04-17 Matthias Clasen <mclasen@redhat.com>
468 * revert my previous change
470 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
472 * configure.in: Remove obssolete no_NO locale
473 * po/no.po: And the translation.
475 2006-04-05 Matthias Clasen <mclasen@redhat.com>
477 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
478 memory-management error that caused crashes on x86_64.
481 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
483 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
485 2006-03-27 Bill Haneman <bill.haneman@sun.com>
487 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
488 to strip "cspi_*" from the symbol table.
490 * cspi/spi_streamablecontent.c:
491 (get_streams): Make this method static.
494 (_cspi_exception_throw): rename to cspi_exception_throw,
495 so we can strip it with the rest...
498 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
500 2006-03-27 Bill Haneman <bill.haneman@sun.com>
502 Add doxygen-generated IDL docs to tarball, and enable
503 doxygen during build/install when available. Bug #301345.
505 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
507 * docs/reference/Makefile.am: Add idl to SUBDIRS.
509 * docs/reference/idl/Makefile.am: Optionally use
510 doxygen to create docs.
512 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
514 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
516 2006-03-20 Bill Haneman <bill.haneman@sun.com>
519 (impl_get_selected_rows): Don't free the selection if it's
520 empty or has not been assigned; init it to NULL so you can tell.
521 Also, allow for zero selected rows.
522 (impl_getSelectedColumns): Ditto. Bug #319088.
524 2006-03-11 Vincent Untz <vuntz@gnome.org>
526 Leak fix for bug #334217.
528 * libspi/application.c: spi_application_toolkit_event_listener():
529 don't duplicate the string we pass as an argument to
530 spi_init_any_nil() since spi_init_any_nil() already does it
531 * registryd/deviceeventcontroller.c:
532 (spi_dec_button_update_and_emit): ditto
533 (spi_dec_mouse_check): ditto
534 (spi_dec_emit_modifier_event): ditto
535 (spi_device_event_controller_forward_mouse): ditto
536 * registryd/registry.c:
537 (desktop_add_application): ditto
538 (desktop_remove_application): ditto
540 2006-02-20 Bill Haneman <billh@gnome.org>
542 * configure.in: Rev to 1.7.6.
544 Leak fixes for bug #331924.
546 * atk-bridge/bridge.c:
547 (spi_atk_bridge_init_base): Don't dup the string, it's already
548 been dup-ed. Fixes a leak.
549 (spi_atk_emit_eventv): Move the CORBA_free call here,
550 instead of spi_atk_state_event_listener; fixes another leak.
551 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
552 notifying the registry; fixes another leak.
554 * registryd/registry.c:
555 (registry_flush_event_queue): Free the CORBA_any when
556 flushing the event, not just the string. Fixes another leak.
557 (registry_queue_event): Free the CORBA_any when dropping
558 events on the floor; fixes another leak.
561 (spi_init_any_object, spi_init_any_nil):
562 Always set _release to TRUE. Fixes another leak.
564 2006-02-20 Bill Haneman <billh@gnome.org>
566 * configure.in: Rev to 1.7.5.
567 Reinstate localization of this module. Thanks for Rodney
568 Dawes for fixing my patch.
570 * registryd/Makefile.am: Remove Accessibility_Registry.server
571 from dist, since it needs to be re-created at configure time.
574 2006-01-31 Bill Haneman <billh@gnome.org>
576 * configure.in: Rev to 1.7.4 (to include build fix below).
578 * idl/Makefile.am: Include Selector.idl in dist.
582 (cspi_internal_event_get_object): Handle case where
583 "object" isn't present, i.e. CORBA_TC_Object doesn't match
584 the EventDetails data.
585 (cspi_internal_event_get_text): Handle NULL string.
586 (cspi_internal_event_get_rect): Handle missing/empty rect
587 data, Accessibility_TC_RectBounds doesn't match any_data.
589 2006-01-30 Bill Haneman <billh@gnome.org>
593 * atk-bridge/bridge.c:
594 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
595 interface and use that when instantiating a new source
596 accessible. Better fix for bug #321814.
598 2006-01-27 Bill Haneman <billh@gnome.org>
600 * idl/Accessibility_Selector.idl: Added to the cvs repository.
602 * configure.in: Revved to 1.7.3.
604 2006-01-17 Bill Haneman <billh@gnome.org>
606 * configure.in: Revved to 1.7.2, re-dist to include docs.
608 2006-01-09 Bill Haneman <billh@gnome.org>
610 * configure.in: Removed po/Makefile.in inclusion, we do not need
613 * idl/Accessibility.idl: Improved documentation here, and for all
614 IDL in the 'GNOME::Accessibility' namespace.
616 * idl/Accessibility_Accessible.idl:
617 (LOCALE_TYPE): Added enum.
618 (AttributeSet): New, for returning multiple name/value attribute pairs.
619 (RoleSet): New, sequence of Roles, to be used in upcoming
621 (getAttributes): New API, allows retrieval of name/value pair
622 annotations for all kinds of Accessible objects. C.f.
623 Text:getAttributes, which is only for typographic/textual/semantic tags in
625 (getApplication): New, retrieves the host/containing Application
626 instance for an object (without having to walk up the whole tree).
628 * idl/Accessibility_Component.idl:
629 (getAlpha): New method, returns the alpha blending (aka 'opacity')
630 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
633 * idl/Accessibility_Event.idl:
634 (EventDetails): New struct definition, for encapsulating
635 commonly-queried information about emitted events. The use of
636 this structure in emitted events (in the 'any' member of
637 Accessibility_Event) should greatly reduce the number of
638 client-server roundtrips necessary.
640 * idl/Accessibility_Image.idl:
641 (imageLocale): New, a readonly attribute indicating the POSIX
642 LC_MESSAGES locale of the image and associated Alt/descriptive
645 * idl/Accessibility_Relation.idl:
646 (RELATION_PARENT_WINDOW_OF): Include, as complement to
649 * idl/Accessibility_Role.idl:
650 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
651 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
652 complex document and form support.
654 * idl/Accessibility_State.idl:
655 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
656 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
657 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
658 for support of complex documents and forms.
660 * idl/Accessibility_StreamableContent.idl:
661 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
662 allow old bonobo-stream interfaces to be deprecated in the next
665 * idl/Accessibility_Text.idl:
666 (getAttributeValue): New method, allows query-by-name of single
669 * libspi/accessible.c:
670 Added support for new roles. Implemented new methods
671 (impl_accessibility_accessible_get_application): New
672 (impl_accessibility_accessible_get_attributes): New
674 * libspi/component.c:
675 (impl_accessibility_component_get_alpha): New.
678 (impl_accessibility_image_get_locale): New.
680 * libspi/relation.c: Added support for new relation type.
682 * libspi/stateset.c: Added support for new state types.
685 (impl_getAttributeValue): New.
688 New prototypes for private methods
690 spi_init_any_object, spi_init_any_string,
693 * libspi/spi_event.c:
694 Use EventDetails in the event emission methods.
696 * cspi/spi-private.h:
697 (cspi_role_from_spi_role): Expose this adapter method, since
698 we need it in the bridge (see below).
701 (AccessibleEvent_getSourceName):
702 (AccessibleEvent_getSourceRole):
703 (AccessibleEvent_getSourceApplication):
704 (AccessibleEvent_getSourceDetails):
705 New methods for interrogating/demarshalling
706 event details (i.e. source's accessible name, role,
709 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
710 Make use of the new EventDetails struct in events, if present.
711 (AccessibleEvent_getSourceName)
712 (AccessibleEvent_getSourceRole)
713 (AccessibleEvent_getSourceApplication)
714 (AccessibleEvent_getSourceDetails): Implement the newly exposed
716 (Accessible_getAttributes): New, wraps
717 Accessibility_Accessible_getAttributes.
718 (Accessible_getHostApplication): New, wraps
719 Accessibility_Accessible_getApplication.
722 (AccessibleImage_getImageLocale): New wrapper for
723 Accessibility_Image_get_imageLocale.
725 * cspi/spi_component.c:
726 (AccessibleComponent_getAlpha): New wrapper for
727 Accessibility_Component_getAlpha.
729 * atk-bridge/bridge.c:
730 Use new prototyped for init_any methods.
731 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
732 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
733 (spi_atk_bridge_init_base): Wrappers
734 for spi_init_any_* methods, due to refactor; include extended
735 information in the Accessibility_EventDetails struct, for instance
736 accessible-name, Role, and containing Application.
738 * registryd/registry.c:
739 Use new event emission (with EventDetails).
741 * registryd/deviceeventcontroller.c:
742 Use new event emission (with EventDetails).
744 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
746 * configure.in: Generate po/Makefile.in
747 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
748 * cspi/spi_streamablecontent.c:
749 (accessible_bonobo_stream_client_seek),
750 (AccessibleStreamableContent_seek): Remove unused vars.
751 * libspi/application.c: Missing header.
752 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
753 * login-helper/login-helper.c: (login_helper_finalize),
754 (login_helper_init): Remove unused stuff
755 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
756 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
757 and surround some with #ifdef GRAB_BUTTON.
758 * test/event-listener-test.c: (main), (report_event),
759 (report_caret_event), (report_detail_event),
760 (report_detail1_event), (report_bounds_event), (report_text_event),
761 (report_text_selection_event),
762 (report_active_descendant_changed_event),
763 (report_children_changed_event), (report_name_changed_event),
764 (report_description_changed_event), (report_parent_changed_event),
765 (report_window_event), (report_table_summary_event),
766 (report_table_header_event), (report_table_caption_event),
767 (report_table_row_description_event),
768 (report_table_column_description_event), (timing_test_event):
769 Remove a bunch of unused variables and fix a slew of format specifiers
770 * test/key-listener-test.c: (report_all_key_event): Format specifier
771 * test/keypad-test.c: (print_key_event): Same
772 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
774 * test/screen-review-test.c: (main), (print_chunk_debug),
775 (review_buffer_get_text_chunk), (debug_chunk_list),
776 (string_guess_clip), (text_chunk_get_clipped_string),
777 (text_chunk_list_to_string), (get_screen_review_line_at):
778 Remove unused variables and fix format specifiers.
779 * test/simple-at.c: (report_text_event): Format specifier fix.
780 * test/stress-test.c: (main): Remove unused var.
782 2005-12-29 Abel Cheung <maddog@linuxhall.org>
784 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
785 (yes I know that's useless)
787 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
789 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
791 2005-11-17 Michael Meeks <michael.meeks@novell.com>
793 * atk-bridge/bridge.c (spi_atk_emit_eventv):
794 urgh-fix embarassing typo.
796 2005-11-16 Michael Meeks <michael.meeks@novell.com>
798 * atk-bridge/bridge.c (spi_atk_emit_eventv):
799 do a faster, less problematic _unref call on this local
800 object, rather than a slower (potentially cross-thread
801 complicated) CORBA call.
803 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
805 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
806 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
807 * registryd/deviceeventcontroller.c:
808 (spi_controller_notify_mouselisteners),
809 (impl_generate_keyboard_event):
810 * test/screen-review-test.c: (chunk_bounds_within):
811 * test/test-simple.c: (test_desktop): Remove some unused code
812 and fix compiler warnings. Closes bug #320049.
814 2005-10-27 Bill Haneman <bill.haneman@sun.com>
816 * registryd/deviceeventcontroller.c:
817 (spi_controller_notify_keylisteners): Check
818 to make sure the event listener has requested 'preemptive'
819 status before pre-empting an event.
821 2005-08-29 Bill Haneman <bill.haneman@sun.com>
823 * configure.in, README, NEWS: Release 1.6.5.
825 2005-07-25 Matthias Clasen <mclasen@redhat.com>
827 * test/window-listener-test.c: Fix a printf
828 format error. (#169453)
830 2005-07-15 Bill Haneman <bill.haneman@sun.com>
832 * tests/test-simple.c:
833 (key_listener_cb): Ensure that the keystring is dup'ed instead of
834 relying on the old string from the key event hanging around after
835 the event handler returns. Fixes broken 'make check'.
837 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
839 * Added Marathi (mr_IN) translations.
841 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
843 * cspi/bonobo/cspi-bonobo-listener.c:
844 (cspi_event_list_remove_by_cb): Fix the build.
846 2005-05-26 Michael Meeks <michael.meeks@novell.com>
848 * cspi/bonobo/cspi-bonobo-listener.c
849 (cspi_event_list_remove_by_cb): actually filter by callback.
851 2005-05-25 Bill Haneman <bill.haneman@sun.com>
853 * registryd/registry.c (remove_listener_cb):
854 Make deregistration filter rules match the event emission rules.
856 2005-05-25 Michael Meeks <michael.meeks@novell.com>
858 * registryd/registry.c (remove_listener_cb),
859 (impl_accessibility_registry_deregister_global_event_listener),
860 (impl_accessibility_registry_deregister_global_event_listener_all):
861 pass a closure to the remove callback to filter listeners more
862 accurately on remove.
864 2005-04-05 Bill Haneman <bill.haneman@sun.com>
866 * configure.in: Revved to 1.6.4.
867 Remember to put quotes around XEVIE_LIBS assignment.
868 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
871 * tests/event-listener-test.c: Tweaked the tests - more detail
872 from caret events, and some interrogation of AccessibleText APIs.
873 Commented-out the bounds-changed events by default, since they can
876 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
878 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
879 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
880 Same here. Closes bug #167806
882 2005-04-05 Bill Haneman <bill.haneman@sun.com>
884 * atk-bridge/bridge.c:
885 (spi_atk_bridge_signal_listener):
886 Free the any._value if any._release is TRUE,
887 since the ORB won't do it for us in this case
888 [because this method is not a skel].
891 2005-03-30 Steve Murphy <murf@e-tools.com>
893 * configure.in: Added "rw" to ALL_LINGUAS.
895 2005-03-29 Bill Haneman <bill.haneman@sun.com>
897 * configure.in: Improved check for HAVE_XEVIE, to detect
898 presence on XOrg, where -lXevie is a separate library.
900 2005-03-08 Bill Haneman <bill.haneman@sun.com>
902 * configure.in, NEWS, README: Revved to 1.6.3.
904 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
906 * configure.in: Added "xh" to ALL_LINGUAS.
908 2005-02-07 Bill Haneman <bill.haneman@sun.com>
910 * atk-bridge/bridge.c:
911 (atk_bridge_init): Added missing NULL in g_strconcat(),
912 also check for symlink before logging to
913 insecure directory. Thanks to meissner@suse.de.
915 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
917 * tests/login-helper-server-test.c: Add return call to main
918 function. Patch from Chris Lahey. Fixes bug #165129.
920 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
922 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
924 2004-12-09 Bill Haneman <billh@gnome.org>
926 * registryd/registry-main.c:
927 Added #define <string.h> for strrchr. (bug 160862).
928 Thanks to Vincent Berger for catching.
930 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
932 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
933 restart registry process if the registry process is found to have died
934 and the current process is exiting.
935 (spi_atk_bridge_exit_func): Do not attempt to deregister the
936 application if the registry process has died.
937 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
938 does not return a registry object.
939 (spi_atk_tidy_windows): Give up if the registry process has died.
941 This fixes problems with hangs and crashes when logging out.
943 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
945 * registryd/desktop.c: Add checking that we are not exiting before
946 calling spi_desktop_remove_application in
947 abnormal_application_termination. Fix for bug #152147.
949 2004-12-02 Bill Haneman <billh@gnome.org>
951 * configure.in, NEWS, README: Revved to 1.6.1.
953 Patch from Padraig O'Briain <padraig.obriain@sun.com>
954 * atk-bridge/bridge.c:
955 (atk_bridge_init): Save the pid when we start, to detect forks.
956 (spi_atk_bridge_exit_func): Don't call the cleanup routines
957 if we're in a forked pid.
959 2004-10-09 Bill Haneman <billh@gnome.org>
961 * idl/Accessibility_LoginHelper.idl:
962 Improved inline documentation.
964 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
966 * configure.in: Added gl (Galician) to ALL_LINGUAS
968 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
970 * libspi/accessible.c:
971 (impl_accessibility_accessible_get_role_name),
972 (impl_accessibility_accessible_get_local_role_name):
974 * libspi/component.c:
975 (impl_accessibility_component_get_accessible_at_point):
977 * libspi/eventlistener.c: (spi_event_listener_new):
979 * libspi/stateset.c: (impl_compare): More of the same
980 * libspi/table.c: (impl_getRowDescription): Again.
981 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
982 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
983 (impl_generate_keyboard_event): Same.
984 * registryd/registry-main.c: (main): Same
985 * test/event-listener-test.c: (test_exit): Same
986 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
987 * test/keysynth-test.c: (test_key_synthesis): Same
988 * test/login-helper-server-test.c: (main): Fix warning.
989 * test/screen-review-test.c: (test_exit): Fix include.
990 * test/simple-at.c: (simple_at_exit), (_festival_init):
993 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
995 * configure.in, NEWS, README: Revved to 1.6.0.
997 2004-09-12 Bill Haneman <bill.haneman@sun.com>
999 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1000 was missing the HTML docs.
1002 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1004 * configure.in: only cleanups:
1005 - better looking PKG_CHECK_MODULES() output,
1007 - declare in one common place required versions of other tools using
1010 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1012 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1013 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1014 required ATK version accordingly.
1016 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1018 * cspi/bonobo/cspi-bonobo.c:
1019 (cspi_display_name): Fix C99ism.
1020 * atk-bridge/bridge.c:
1021 (spi_display_name): Fix C99ism.
1022 Patch from Jens Granseuer, jensgr@gmx.net.
1024 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1026 * configure.in: Added "or" to ALL_LINGUAS.
1028 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1030 * configure.in, NEWS, README: Revved to 1.5.4.
1032 * registryd/registry-main.c:
1033 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1036 * cspi/bonobo/cspi-bonobo.c:
1037 (cspi_display_name): New convenience method, gets DISPLAY with
1038 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1039 (cspi_init): Set the activation env value above before getting
1042 * atk-bridge/bridge.c:
1043 (spi_display_name): Create the AT_SPI_DISPLAY activation
1044 environment for an app, based on the DISPLAY environment with the
1045 screen number stripped off.
1046 (atk_bridge_init): Allow redirection of error messages to a log.
1047 (spi_atk_bridge_get_registry): Call
1048 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1050 Fixes for bugs #149962, #136986, #144086.
1052 2004-08-16 Christian Rose <menthos@menthos.com>
1054 * configure.in: Added "bs" to ALL_LINGUAS.
1056 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1058 * configure.in: Added nb to ALL_LINGUAS.
1060 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1063 (SPI_init): Return error code '2' if the activated
1064 registry cannot be pinged. Fixes bug #147648.
1066 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1068 * registryd/deviceeventcontroller.c:
1069 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1070 rely on timer-poll instead, to avoid conflict with
1073 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1075 * configure.in: Revved to 1.5.3.
1077 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1079 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1081 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1083 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1085 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1087 * atk-bridge/bridge.c:
1088 (spi_atk_bridge_do_registration):
1089 Register with ATK for AtkComponent:bounds-changed events.
1090 (api_atk_bridge_signal_listener):
1091 Marshal the AtkRectangle info into the event notification
1092 for object:bounds-changed events.
1095 (spi_init_any_rect): New method, inits a corba struct of
1096 type Accessibility_BoundingBox from an AtkRectangle.
1098 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1101 (SPIRect): New struct definition.
1102 (SPI_freeRect): New declaration.
1103 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1106 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1107 implemented. Gets the bounding box data from the CORBA_any
1108 associated with a bounds-changed event notification.
1109 (cspi_internal_event_get_rect): New, used internally by above method.
1112 (SPI_freeRect): Implemented this new method, for freeing
1115 * test/event-listener-test.c:
1116 (main, report_bounds_event):
1117 Added a test for object:bounds-changed events.
1119 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1121 * test/login-helper-server-test.c:
1122 (main): Fix C99-ism. Thanks to Jens Granseuer.
1124 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1126 * libloginhelper-1.0.pc.in:
1127 * idl/Accessibility_LoginHelper.idl:
1128 * login-helper/Makefile.am:
1129 * login-helper/login-helper.[ch]:
1130 * test/login-helper-client-test.c:
1131 * test/login-helper-server-test.c: Added files missing from CVS.
1132 Files obtained from at-spi-1.5.2 tarball.
1134 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1136 * configure.in: Create login-helper/Makefile.
1137 Incremented micro version.
1139 * Makefile.am: Add login-helper subdir and pkgconfig data.
1141 * login-helper: New subdir.
1143 * libloginhelper-1.0.pc.in: New.
1145 * idl/Accessibility_LoginHelper.idl: New file, defines
1146 interface whereby authentication clients can identify agents which
1147 need access to services during the login process, e.g. screen lock
1150 * login-helper/Makefile.am : New.
1152 * login-helper/login-helper.[ch] : New, implementation of
1153 a LoginHelper base class. Services needing LoginHelper can subclass.
1155 * test/Makefile.am : Added test for login-helper, client and
1158 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1159 Use proper prefix in #include files.
1161 * test/login-helper-client-test.c: New.
1163 * test/login-helper-server-test.c: New.
1165 2004-05-27 Alexander Shopov <ash@contact.bg>
1167 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1169 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1171 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1172 is positive. This should make it easier to detect inapprorpiate unref
1175 2004-05-11 James Henstridge <james@daa.com.au>
1177 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1178 no-op and deprecated.
1180 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1182 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1184 2004-04-28 Bill Haneman <billh@gnome.org>
1186 * Makefile.am: Added --enable-gtk-doc to
1187 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1189 2004-04-19 Bill Haneman <billh@gnome.org>
1191 * configure.in: Revved to 1.5.1.
1193 * registryd/deviceeventcontroller.c:
1195 (DEControllerPrivateData): Added fields for
1196 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1197 (spi_dec_replace_map_keysym): New internal utility for
1198 replacing a keysym in the keymap - used to allow
1199 synthesis of individual characters which aren't in the
1201 (spi_dec_reset_reserved): New; resets the changed keysym value
1203 (keycode_for_keysym): We now try to deal with failed
1204 XKeysymToKeycode requests by changing a keymap value
1205 and returning a reserved keycode. We now take
1206 a DEController pointer as first arg.
1207 (spi_controller_register_with_devices): Call XkbGetMap with
1208 the XkbKeySymsMask. Find the highest keycode in the current
1209 keymap which doesn't have any grabs, and mark that one for
1210 temporary re-mapping when out-of-range KeySyms are synthesized.
1211 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1214 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1216 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1218 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1220 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1222 2004-03-24 Bill Haneman <billh@gnome.org>
1225 (AccessibleTable_addRowSelection),
1226 (AccessibleTable_addColumnSelection),
1227 (AccessibleTable_removeRowSelection),
1228 (AccessibleTable_removeColumnSelection):
1229 Add declarations for spi wrappers which were
1230 inadvertantly omitted. Fixes bug #133413.
1233 Revved to 1.5.0 (unstable series for GNOME 2.7).
1235 2004-03-24 Bill Haneman <billh@gnome.org>
1237 * atk-bridge/bridge.c:
1238 Bracketed some debug output in
1239 conditionals, to avoid printing it in normal use.
1242 * libspi/hyperlink.c:
1243 Don't cast 'object' to ATK_OBJECT when constructing
1244 an AtkAction interface for a hyperlink.
1245 See discussion in bug #120659.
1247 * test/key-listener-test.c:
1248 (report_all_key_event): Send output to stderr,
1249 not stdout, for consistency with the rest of the test callbacks.
1252 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1253 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1254 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1255 try incrementing the revision AFTER doing a dist, at least
1258 2004-03-22 Bill Haneman <billh@gnome.org>
1260 * configure.in: Revved to 1.4.0, libtool 9.14.9
1262 2004-03-17 Laszlo Peter <laca@sun.com>
1264 * libspi-1.0-uninstalled.pc.in: add idldir
1266 * cspi-1.0-uninstalled.pc.in: add idldir
1268 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1270 * configure.in: Added "en_GB" to ALL_LINGUAS
1272 2004-03-15 Bill Haneman <billh@gnome.org>
1274 * configure.in: Revved to 1.3.16,
1277 2004-03-15 Laszlo Peter <laca@sun.com>
1279 * libspi-1.0-uninstalled.pc.in: new file
1281 * cspi-1.0-uninstalled.pc.in: new file
1283 * configure.in: add the new pc files to AC_OUTPUT
1285 * Makefile.am: add the new pc files to EXTRA_DIST
1287 2004-03-12 Bill Haneman <billh@gnome.org>
1289 * atk-bridge/bridge.c:
1290 (spi_atk_bridge_key_listener):
1291 Make sure to return consumed=FALSE if snoop
1292 event is not dispatched to listener.
1295 2004-03-01 Bill Haneman <billh@gnome.org>
1297 * configure.in: Revved to 1.3.15,
1300 2004-03-07 Danilo Segan <dsegan@gmx.net>
1302 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1304 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1306 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1308 2004-03-01 Bill Haneman <billh@gnome.org>
1310 * configure.in: Revved to 1.3.14.
1313 (SPI_exit): Removed "bye-bye" exit message.
1314 Moved "leak" report to happen before the
1315 iteration over the leaked refs list.
1316 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1318 2004-02-24 Bill Haneman <billh@gnome.org>
1320 * configure.in: Revved to 1.3.13.
1322 * docs/reference/cspi/Makefile.am:
1323 Correct typo that was breaking the docs build.
1325 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1327 * autogen.sh: Require version 1.7 of automake.
1329 * configure.in: call GTK_DOC_CHECK([1.0])
1331 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1333 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1335 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1337 * test/Makefile.am: Remove use of CFLAGS.
1339 This fixes bug #132987.
1341 2004-02-11 Bill Haneman <billh@gnome.org>
1343 * reverted most of Tomasz' patch below, since it was breaking
1344 builds (see bug #134058).
1346 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1348 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1349 correct pass "make dist" (empty .. because seems no sach types in
1350 header files with gtk-doc markups).
1351 * docs/reference/cspi/Makefile.am, configure.in:
1352 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1353 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1354 * Makefile.am: added:
1355 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1356 for force correct pass generate documentation on "make distcheck".
1357 * libspi/Makefile.am: fixes for automake >= 1.6.
1358 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1359 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1362 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1364 * docs/reference/cspi/Makefile.am (install-data-local): Install
1365 index.sgml since the doc autobuilder on widget.gnome.org looks for
1368 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1370 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1373 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1375 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1377 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1379 * test/simple-at.c: Fixed null string problems that cause core
1380 dumping problems on Solaris.
1382 2004-01-12 Bill Haneman <billh@gnome.org>
1384 * configure.in: Incremented version to 1.3.11.
1386 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1388 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1389 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1392 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1394 * configure.in: Added "fa" to ALL_LINGUAS.
1396 2003-12-20 Arafat Medini <lumina@silverpen.de>
1398 * configure.in: Added "ar" to ALL_LINGUAS
1400 2003-12-16 Bill Haneman <billh@gnome.org>
1402 * registryd/registry-main.c:
1404 Set the reg_env DISPLAY variable before registering the
1405 activated registry service. Fixes bug #129479.
1407 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1409 * configure.in: Added "id" in ALL_LINGUAS
1410 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1412 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1414 * registryd/deviceeventcontroller.c (global_filter_fn):
1415 When an event is consumed discard any XEvents were added to
1416 the queue while dealing with the the event. This can happen if
1417 processing of the event takes a long time. Call XUngrabKeyboard
1418 if an event was discarded. This fixes bug $124837.
1419 Only call wait_for_release_event for a KeyPress.
1420 Use local variable display instead of spi_get_display().
1421 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1424 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1426 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1427 Allow for mask to contain values other than NumLock mask.
1430 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1432 * registryd/devieceventcontroller.c:
1433 (wait_for_release_event): Change first parameter from GdkEvent to
1435 (global_filter_fn); Correct call to wait_for_release_event.
1439 2003-12-08 Bill Haneman <billh@gnome.org>
1443 * registryd/ucs2keysym.c: New file.
1445 * registryd/deviceeventcontroller.c:
1446 (dec_keysym_for_unichar): Remove old partial implementation and
1447 replace with call to ucs2keysym(), which is much more complete.
1448 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1453 2003-12-05 Bill Haneman <billh@gnome.org>
1455 * configure.in: Version 1.3.9.
1457 * docs/reference/cspi/tmpl/spi_registry.sgml:
1458 Added reference to libspi/keymasks.h to the
1459 description of Registry queries: AccessibleKeyMaskType.
1462 2003-12-04 Bill Haneman <billh@gnome.org>
1464 Fix for bug #121974.
1466 * idl/Accessibility_Application.idl:
1467 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1468 setlocale's LC_TYPEs.
1469 (Accessibility::Application::getLocale): New method.
1470 Allows clients to query the locale, by type, of an app.
1473 * cspi/spi_application.c:
1474 (AccessibleApplication_getLocale): New method, wraps IDL above.
1476 * libspi/application.c:
1477 (spi_application_class_init): Init epv entry for getLocale.
1478 (impl_accessibility_application_get_locale): Impl for above.
1480 * test/test-simple.c:
1481 (test_application): Added assertion for getLocale, i.e.
1482 that the string from AccessibleApplication_getLocale (app, type)
1483 is the same as that from setlocale (type, NULL);
1485 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1487 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1488 the keyboard on a timeout intil the key state goes from pressed to
1489 released. Fixes bug #111429.
1491 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1493 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1494 root object so that it is present when a context menu in an
1495 out-of-process applet is popped up.
1496 (spi_atk_bridge_do_registration): Create acceessible application root
1497 object only if it does not exist.
1499 This fixes bug #125834.
1501 2003-12-01 Bill Haneman <billh@gnome.org>
1503 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1506 Added enum for AccessibleStreamableContentSeekType.
1507 (AccessibleStreamableContent_freeContentTypeList): New.
1509 * cspi/spi_streamablecontent.c:
1510 (accessible_bonobo_stream_client_seek): New private method.
1511 (AccessibleStreamableContent_seek): Implemented this method,
1512 using Bonobo_Stream_seek.
1513 (AccessibleStreamableContent_freeContentTypeList): New method
1514 for freeing the return value from
1515 AccessibleStreamableContent_getContentTypes.
1516 (stream_cache_item_free): Replaces stream_release; stop leaks.
1517 (stream_release): removed.
1518 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1519 free the memory properly.
1521 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1523 Fix for bug #116009.
1525 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1527 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1529 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1531 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1533 2003-12-01 Bill Haneman <billh@gnome.org>
1535 Fix for bug/rfe #127463.
1537 * idl/Accessibility_Accessible.idl:
1538 (getLocalizedRoleName): New.
1539 (unimplemented4): Removed (replaced by above).
1541 * libspi/accessible.c:
1542 (impl_accessibility_accessible_get_local_role_name): New.
1543 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1547 (Accessible_getLocalizedRoleName): New.
1549 * cspi/spi_accessible.c:
1550 (Accessible_getLocalizedRoleName): New.
1552 2003-12-01 Bill Haneman <billh@gnome.org>
1554 Fix for bug #118581.
1555 * idl/Accessibility_Text.idl:
1556 (getDefaultAttributes): New.
1557 (unimplemented4): Removed (replaced by above method).
1560 (impl_getDefaultAttributes): New method.
1561 (spi_text_class_init):
1562 initialize the get_default_attributes slot in the epv.
1565 (AccessibleText_getDefaultAttributes): New prototype.
1568 (AccessibleText_getDefaultAttributes): New method.
1570 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1572 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1573 write beyond the end of the table. Fixes bug #120473.
1575 2003-09-30 Christian Rose <menthos@menthos.com>
1577 * configure.in: Added "eu" to ALL_LINGUAS.
1579 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1581 * configure.in: ALL_LINGUAS: Added no.
1583 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1585 * configure.in: Added lt to ALL_LINGUAS.
1587 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1589 * atk-bridge/bridge.c:
1590 (atk_bridge_init): Register event listeners always even for
1591 out-of-process applet.
1592 (spi_atk_bridge_toplevel_added): Remove call to
1593 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1594 (spi_atk_bridge_toplevelk_removed): Remove call to
1595 spi_atk_deregister_event_listenersa as the listeners are now always
1597 (spi_atk_bridge_register_application): Remove call to
1598 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1600 This fixes bug #120991.
1602 * libspi/table.c (impl_getColumnDescription): Correct typo,
1603 pointed out by Bolian.Yin@sun.com.
1605 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1607 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1609 2003-09-08 Bill Haneman <billh@gnome.org>
1611 * configure.in: Revved to 1.3.7.
1613 This is the GNOME 2.4.0 release of at-spi.
1615 * docs/reference/cspi/Makefile.am:
1616 Removed spurious inclusion of 'index.sgml' in the
1617 html directory; this was breaking make distcheck and
1618 also some other build environments.
1620 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1622 * registryd/registry.[ch}:
1623 Add queue_handler_id and focus_object to SpiRegistry data structure.
1624 (registry_flush_event_queue): If event being discarded is
1625 "state-change:focused" store object as focus_object.
1626 (registry_start_queue): Remove queue handler and focus object
1628 (registry_discard_event): New function which discards a focus event
1629 if we had stored focus object in the registry.
1630 (registry_queue_event): Add new check that is_queueing is set as this
1631 function is reentrant.
1632 (registry_filer_event): Add call to registry_discard_event.
1634 This resolves issues raised in bug #108664.
1636 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1638 * configure.in: Added "bn" to ALL_LINGUAS.
1640 2003-09-04 Bill Haneman <billh@gnome.org>
1642 * cspi/spi_event.c: Documentation improvements for
1643 (SPI_registerAccessibleKeylistener).
1645 * docs/reference/tmpl/spi_registry.sgml:
1646 Documentation improvements for SpiAccessibleKeylistenerCB.
1648 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1650 * configure.in: Added "ro" to ALL_LINGUAS.
1653 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1655 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1656 not decremented to zero. Fixes bug #120725.
1658 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1660 * configure.in: Added "ja" to ALL_LINGUAS.
1662 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1664 * configure.in: Added "is" to ALL_LINGUAS.
1666 2003-08-22 Christian Rose <menthos@menthos.com>
1668 * configure.in: Added "nl" to ALL_LINGUAS.
1670 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1672 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1673 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1675 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1677 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1678 type for unspecified exception.
1679 * cspi_streamablecontect): Add include of string.h for memcpy.
1680 (stream_release): Correct call to bonobo_object_release_unref
1681 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1682 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1683 argument of _cspi_expection_throw.
1684 * libspi/hyperlink.c: Add include of libspi/action.h:
1685 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1686 * libspi/streamablecontent.c: add include of libspi/component.h.
1687 * regisrtyd/deviceeventcontroller.c:
1688 (spi_dec_translate_mask): Removed unused variable priv.
1689 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1690 * registryd/registry.c:
1691 (registry_filter_event): Remove unused variable queue_is-empty.
1692 (impl_registry_notify_event): Use correct modifier in fprintf call.
1694 This fixes compiler warnings reported in bug #120220.
1696 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1698 * registryd/registryd.c: Remove this file.
1700 2003-08-17 Sanlig Badral <badral@openmn.org>
1702 * configure.in: Added mn to ALL_LINGUAS.
1704 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1706 * configure.in: Added et to ALL_LINGUAS.
1708 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1710 * test/event-listener-test.c: Change active-descendant to
1711 active-descendant-changed.
1713 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1715 * configure.in: Added "fi" in ALL_LINGUAS.
1717 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1719 * configure.in: Added "hi" in ALL_LINGUAS.
1721 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1723 * configure.in: Revved to 1.3.6.
1727 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1729 * registryd/deviceeventcontroller.c
1730 (spi_device_event_controller_object_finalize): Fix typo in previous
1733 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1735 * registryd/deviceeventcontroller.c
1736 (spi_device_event_controller_object_finalize): Fix build on
1737 systems without XEvIE.
1739 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1741 * acconfig.h, configure.in, registryd/Makefile.am,
1742 registryd/devicecontoller.[ch]: Add XEViE support.
1744 2003-08-06 Wang Jian <lark@linux.net.cn>
1746 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1748 2003-08-06 Metin Amiroff<metin@karegen.com>
1750 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1752 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1754 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1755 MODIFIER_ALT in correct place.
1757 This fixes part of bug #118114.
1759 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1761 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1763 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1765 * configure.in: Added "ko" to ALL_LINGUAS.
1767 2003-07-28 Ole Laursen <olau@hardworking.dk>
1769 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1771 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1773 * configure.in: Added "sq" to ALL_LINGUAS.
1775 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1777 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1779 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1781 * configure.in: updated ALL_LINGUAS list
1783 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1785 * configure.in: Added Belarusian to ALL_LINGUAS.
1787 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1789 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1791 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1792 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1794 This fixes bug #116949.
1796 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1798 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1799 Correct CSPI to SPI in function documentation.
1801 This fixes bug #118054.
1803 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1805 * configure.in: Added Russian to ALL_LINGUAS.
1807 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1809 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1811 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1813 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1815 2003-07-10 Joel Brich <joel.brich@laposte.net>
1817 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1819 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1821 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1823 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1825 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1826 resources allocated for AccessibleEvent. See cspi_event().
1828 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1829 static variable streams to NULL.
1831 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1832 Update so that AcessibleEvent_ref will work.
1834 This fixes bug #116624.
1836 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1838 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1840 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1842 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1844 2003-07-02 Christian Neumair <chris@gnome-de.org>
1846 * configure.in: Added "de" (German) to ALL_LINGUAS.
1848 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1850 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1852 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1854 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1856 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1858 * configure.in: Added "pl" to ALL_LINGUAS.
1860 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1862 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1864 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1867 (get_action_from_servant):
1868 Removed assertion that action is implemented on an AtkObject.
1870 * libspi/hyperlink.c:
1871 (spi_hyperlink_new):
1872 Aggregate AccessibleAction interface on the hyperlink object if
1873 the object implements AtkAction. (This convention is used in
1876 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1878 * configure.in: Revved to 1.3.5.
1880 * registryd/Accessibility_Registry.server.in.in:
1881 Marked up appropriate strings for translation.
1883 * atk-bridge/bridge.c: Marked a couple of
1884 user-visible warnings for translation. Questionable
1885 whether they are really useful, but possibly so.
1888 2003-06-28 Christian Rose <menthos@menthos.com>
1890 * configure.in: Added "sv" to ALL_LINGUAS.
1892 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1894 * registryd/registry.c:
1895 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1896 (registry_defer_on_event): Defer focus: events, this is an
1897 improvement to the patch for bug #108664.
1899 * TODO: Update with 2.4/"Dev Complete" items.
1901 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1903 * atk-bridge/bridge.c:
1904 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1905 looks up signals once.
1906 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1907 if doing registration.
1908 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1909 when doing registration.
1911 This fixes bug #115014.
1913 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1915 * atk-bridge/bridge.c:
1916 (atk_bridge_init): Add signal handler for children-changed:remove on
1917 root when in a BonoboComponent.
1918 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1919 for first toplevel only other incrememt variable toplevels.
1920 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1921 application and remove listeners.
1922 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1924 (spi_atk_deregister_event_listeners): New function which removes
1926 (reinit_register_vars): New fuction which reinitializes variables.
1928 This fixes bug #111578.
1930 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1932 * configure.in: version 1.3.4.
1934 * cspi/spi_accessible.c:
1935 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1938 2003-06-13 Michael Meeks <michael@ximian.com>
1940 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1942 * cspi/spi_main.c (cspi_peek_ev): impl.
1944 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1946 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1948 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1950 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1951 SPI_ROLE_AUTOCOMPLETE
1953 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1955 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1956 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1958 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1960 * libspi/streamablecontent.h:
1961 * libspi/streamablecontent.c:
1962 New files, provide implementation/wrappers for
1963 Accessibility_StreamableContent.
1965 * cspi/spi_streamablecontent.c:
1966 Connected the C wrappers to the libspi C bindings.
1967 (AccessibleStreamableContent_close): New method.
1970 (AccessibleStreamableContent_close): New method, needed
1971 since we have an "open, [seek], read, close" model in cspi.
1973 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1975 Fix for #108664; Padraig's revision of my original patch.
1977 * registryd/registry.h:
1978 Added event queue list, is_queuing, and exit_notify_timeout
1979 to the registry struct.
1981 * registryd/registry.c:
1982 (registry_init): Initialize new struct from registry.h.
1983 (impl_registry_notify_event):
1984 Filter events before notifying, in case some need to be
1986 (registry_filter_event): New,
1987 we defer certain incoming events (for instance
1988 window:deactivate) because we may wish to hide
1989 or reject them based on pending events. This is
1990 mostly a workaround for bug #108664.
1991 (registry_queue_event, registry_start_queue): New.
1992 (registry_defer_on_event): Test event to see if it
1994 (registry_reset_on_event): Returns TRUE if the
1995 event should cause a queue reset.
1996 (registry_discard_on_event): Returns TRUE if the event
1997 should cause the previous queue contents to be discarded.
1998 (registry_timeout_flush_queue): Flushes the pending event
1999 queue if no reset/discard-triggering events have come in
2000 within the timeout period.
2001 (registry_emit_event): New.
2002 (registry_clone_notify_context): New, used when queueing the
2003 event notify contexts.
2005 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2007 * configure.in: Version revved to 1.3.2, lt 0.9.2
2008 Incremented ATK required version to 1.3.4.
2010 * cspi/spi_registry.c:
2011 (SPI_generateKeyEvent):
2012 We now pass the keystring along if it's non-null.
2014 * registryd/deviceeventcontroller.c:
2015 (keysym_mod_mask): New method, returns modifier mask
2016 required to generate a keysym from a given keycode.
2017 (dec_synth_keysym): New method.
2018 (dec_synth_keystring): New method.
2019 (dec_get_modifier_state): New method.
2020 (dec_lock_modifiers): New
2021 (dec_unlock_modifiers): New.
2022 (dec_keysym_for_unichar): New, rather brute-force
2023 conversion from UCS-4 to X KeySyms. Only works for
2024 Latin at the moment, with partial implementations for
2025 Greek, Hebrew, and (incomplete) Katakana.
2026 (impl_generate_keyboard_event): Now implement
2027 "KEYSTRING" synthesis and implement "KEYSYM"
2029 (keycode_from_keysym): Improved, passes a returned
2030 modmask value now if the corresponding param is non-NULL.
2032 Fixes bugs #92143 and #109776.
2035 * test/keysynth-test.c:
2036 New test program for key synthesis, to confirm fixes for
2040 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2042 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2044 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2045 Add line for RELATION_POPUP_FOR
2047 * docs/reference/cspi/tmpl/spi_relation.sgml:
2048 Add relation SPI_RELATION_POPUP_FOR
2050 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2051 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2053 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2055 * libspi/relation.c (spi_init_relation_type_table):
2056 Add line for RELATION_POPUP_FOR
2058 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2060 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2061 there are still windows which have not been deleted and emit
2062 window:deactivate, if necessary and window:destroy events.
2063 This fixes bug #114370. The change on June 5th was not correct.
2065 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2067 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2070 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2072 New methods for client exception handling and interception.
2073 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2074 (SPI_exceptionHandlerPop): You guessed it...
2075 (SPI_getSourceType): Return the type of object which offended.
2076 (SPI_getExceptionCode): Return an enum code telling, possibly,
2077 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2078 (SPIAccessibleException_getSource): get the source object for
2079 exceptions that come from Accessibles, if SPIExceptionSourceType is
2080 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2081 (SPIException_getDescription): New, returns a string description of
2082 the problem. [Not yet a stable ABI, strings are not frozen]
2084 * cspi/spi-private.h:
2085 Added implementation details of opaque SPIException
2089 Implementations of above. Also
2090 (_cspi_exception_throw): new private method that
2091 dispatches exceptions to handlers, called from cspi-bonobo.c
2093 * cspi/bonobo/cspi-bonobo.c:
2094 (cspi_check_ev): call _cspi_exception_throw.
2095 Don't print a warning message if the exception has been
2096 handled by _cspi_exception_throw.
2098 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2100 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2101 there are still windows which have not been deleted and emit
2102 window:deactivate, if necessary and window:destroy events.
2103 This fixes bug #114370.
2105 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2108 (cspi_accessible_is_a): Make non-fatal
2109 if the object reference is dead.
2111 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2113 * cspi/spi_main.c: #include <stdio.h>
2114 * test/simple-at.c: ditto
2115 * test/event-listener-test.c: ditto
2116 * test/screen-review-test.c: ditto
2118 2003-05-30 Michael Meeks <michael@ximian.com>
2120 * test/test-simple.c (main): use CORBA_ORB_perform_work
2121 instead of an unnecessary linc_ call.
2123 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2125 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2126 Add SPI_STATE_INDETERMINATE.
2128 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2131 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2133 * libspi/stateset.c (init_state_type_tables): Add support for
2136 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2138 * configure: Update versions of atk and gail required.
2139 This fixes bug #113268.
2141 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2143 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2145 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2147 * libspi/Makefile.am:
2148 Ensure headers are generated before being used by c sources.
2150 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2153 Simplified lt versioning rules.
2154 Incremented version to 1.3.0, to indicate that we're on the
2155 unstable branch now.
2157 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2159 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2160 Add MKDB_OPTIONS=--outtput-format=xml
2162 * docs/reference/cspi/at-spi-cspi-docs.sgml
2163 docs/reference/idl/at-spi-idl-docs.sgml:
2164 Convert to Docbook XML.
2166 This fixes bug #111793.
2168 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2170 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2171 AcccessibleKeyEventType, AccessibleKeyMaskType.
2173 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2175 * cspi/state-types.h: Add documentation for AccessibleState.
2177 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2178 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2179 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2180 AccessibleComponentLayer.
2182 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2185 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2187 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2188 Accessible. Add description of AccessibleEvent,
2189 AccessibleEventListenerCB.
2191 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2194 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2195 documentation. Add description of AccessibleKeystrokeListenerCB,
2196 AccessibleKeyEventMask, AccessibleModifierMaskType,
2197 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2198 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2200 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2203 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2206 This fixes bug #104730.
2208 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2210 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2211 Set is_text field of Accessibility_DeviceEvent data structure.
2213 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2214 is-text field of AccessibleDeviceEvent data structure.
2216 This addresses part of bug #108666.
2218 * registryd/devcieeventcontroller.c: Unset debug option.
2220 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2222 * cspi/accessible.c:
2223 (cpi_initial_relation_type_table): New function which initializes
2224 mapping between Accessibility_RelationType and AccessibleRelationType.
2225 (cspi_relation_type_from_spi_relation_type): New function which
2226 translates an Accessibility_RelationType into an AccessibleRelationType.
2227 (AccessibleRelation_getRelationType): Use
2228 cpi_relation_type_get_spi_relation_type to return correct value.
2229 (spi_state_to_corba): Return correct type for default case.
2231 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2232 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2234 * cspi/cspi-bonobo-listener.c:
2235 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2238 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2239 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2240 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2241 libspi/image.c, libspi/listener.c, libspi/selection.c,
2242 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2243 registryd/desktop.c, registryd/registry.c:
2244 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2246 * libspi/eventlistener.c
2247 Remove semicolon after BONOBO_TYPE_FUNC.
2249 * libspi/relation.c:
2250 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2251 (spi_init_relation_type_table): Initialize using correct type.
2253 * registryd/desktop.c:
2254 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2255 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2256 of Accessibility_KeyEventType.
2258 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2261 * tests/simple-at.c, tests/screen-review-test.c:
2262 Add include for <strings.h>.
2264 * tests.stress-test.c:
2265 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2267 These changes fix compiler warnings when using FORTE compiler on
2268 Solaris; fixes bug #107479.
2271 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2274 * configure.in: revved to 1.1.10
2276 * libspi/keymasks.h:
2277 (SPI_KEYMASK_NUMLOCK): Added.
2279 * registryd/deviceeventcontroller.c:
2280 (spi_key_event_matches_listener): AND with a smaller
2281 bitmask (as we should).
2282 (spi_dec_translate_mask):
2283 New method, sets the virtual NumLock modifier bit
2284 if numlock is on. Eventually it can handle other virtual
2285 modifier bits if needed, or other marshalling from
2286 at-spi modifier masks to platform (X) masks.
2287 (spi_dec_key_listener_new):
2288 Call spi_dec_translate_mask to set up virtual mod bits
2289 in the 'mask' field when creating a new listener struct.
2290 (spi_dec_emit_modifier_event):
2291 Set the virtual (i.e. NumLock) bits before emitting event.
2292 (spi_controller_register_with_devices):
2293 Query for the NumLock modifier 'physical' bit if Xkb is
2294 present, for use in above methods.
2298 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2300 * registryd/deviceeventcontroller.c:
2301 (spi_keystroke_from_x_key_event):
2302 Instead of checking to see if the keysym is
2303 printable, check the string from XLookupString
2304 if available, get the first unicode character from it,
2305 and call g_unichar_isprint to determine whether the
2306 is_text flag should be TRUE or FALSE.
2310 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2312 * atk-bridge/bridge.c: Add support for extended events
2313 * cspi/spi_event.c: Add documentation and implementation for
2315 * tests/event-listener-test.c: Add tests for extended events.
2317 This fixes bugs #100424 and #100426.
2319 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2321 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2322 of LT_CURRENT. This fixes bug #89350.
2324 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2326 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2327 number of signal parameter values before accessing them. This fixes
2330 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2332 * configure.in: Fixed duplicate inclusion of -lspi.
2333 * branched for gnome-2-2/HEAD.
2334 [created tag "gnome-2-2"]
2336 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2338 * configure.in: 1.1.9 release.
2341 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2343 [needed by GOK, to fix bugs 107985 and 107988]
2344 * registryd/deviceeventcontroller.c:
2345 (spi_dec_clear_unlatch_pending):
2346 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2347 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2348 (spi_dec_init_mouse_listener):Emit warning if mouse button
2350 (spi_device_event_controller_forward_mouse_event):
2351 Removed unnecessary parens from a conditional.
2352 (global_filter_fn):Added TODO comment.
2353 (impl_generate_keyboard_event):
2354 Cancel a pending relatch if a 'delatching' key was
2357 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2359 * atk-bridge/bridge.c:
2360 Change atk_signal_child_changed to atk_signal_children_changed.
2361 Reorganize code in spi_atk_bridge_signal_listener().
2363 * test/event-listener-test.c:
2364 Add children_changed_listener and report_children_changed_event()
2365 to test AccessibleChildEvent_getChildAccessible.
2367 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2369 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2370 g_strdup to CORBA_String_dup (bug #105291)
2372 * test/event-listener-test.c (report_text_event): Add call to
2375 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2377 * registryd/deviceeventcontroller.c:
2378 (spi_keystroke_from_x_key_event):
2379 Fix string and keysym return codes to match modifier state.
2382 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2384 * registryd/deviceeventcontroller.c:
2385 (spi_keystroke_from_x_key_event):
2386 Fix segv due to improper use of isprint(c). [bug #107254]
2388 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2391 (get_accessible_text_boundary_type):
2392 Move default return value to (new) default case in switch.
2393 (get_accessible_text_clip_type):
2394 Move default return value to (new) default case in switch.
2396 * libspi/application.c:
2397 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2398 Remove unused methods.
2399 (impl_accessibility_application_register_object_event_listener):
2400 Remove unused methods.
2403 Added #include of <math.h>.
2405 * registryd/deviceeventcontroller.c:
2406 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2407 we don't currently use this method.
2408 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2410 (impl_generate_key_event):
2411 Remove unused variables.
2412 (impl_generate_mouse_event):
2413 Initialize button to zero, just in case we get an invalid
2414 input. Added support for mouse buttons 4 and 5.
2415 (spi_device_event_controller_new):
2416 Removed unused variable declaration for 'private'.
2418 Added #include of <gdk/gdk.h>
2420 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2422 * configure.in: Update to work when X is not installed in expected
2423 location. Fixes bug #105836.
2425 * atk-bridge/bridge.c
2426 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2428 (spi_atk_register_event_listener): Add signal listener for
2430 (spi_atk_bridge_signal_listener): Event event when link-selected
2431 signal is emitted. (bug #104622)
2433 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2434 on returned string. (bug #105291)
2436 * test/event-listener-test.c: Add test for link-selected.
2438 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2440 * atk-bridge/Makefile.am: Correct typo in previous commit.
2442 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2444 * atk-bridge/Makefile.am: Allow for build directory to be different
2445 from source directory
2447 * registryd/Makefile.am: Allow for build directory to be different
2448 from source directory
2452 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2455 Fixed dependencies for libcspi so that libspi gets pulled in
2456 properly. Fixes 104741.
2460 Clean up inline docs a little.
2462 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2464 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2465 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2466 the AtkObject within an SpiDesktop.
2467 This addresses bug #101524.
2469 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2470 Remove call to gdk_init().
2472 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2473 so that Display is set when SpiDesktop is created.
2475 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2477 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2478 This fixes bug #102830.
2480 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2482 * test/test-simple.c: Update to take account of fact that GailButton
2483 now implements AtkText.
2484 (create_text_window): Set name on AtkObject for GtkEntry.
2485 (validate_accessible): Check accessible name before calling test_text().
2487 * libspi/Makefile.am: Fix problem with building outside of source
2488 directory. Bug #98120.
2490 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2491 typo in documentation comments. Bug #94275.
2493 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2495 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2497 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2500 Add includes to avoid compiler warnings on Solaris.
2501 (impl_getRangeExtents): Bug fix.
2503 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2505 Fix for 100944, [API addition approved by Gman and murrayc].
2512 * idl/Accessibility_Text.idl:
2513 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2514 (Text::getRangeExtents): New method for efficient
2515 bounds query of a text range.
2516 (Text::getBoundedRanges): New method for efficient
2517 clipping of text to bounding boxes.
2518 (unImplemented7, unImplemented8):
2519 Removed these padding methods to preserve bincompat.
2522 (impl_getRangeExtents): implementation of new IDL.
2523 (impl_getBoundedRanges): implementation of new IDL.
2524 (SpiTextRect): Internal use struct.
2525 (_spi_text_rect_union): internal method, calculates union of two
2526 SpiTextRect bounding rects.
2527 (_spi_text_range_seq_from_gslist): internal method, allows us
2528 to build our sequence efficiently as a gslist then convert it
2530 (_spi_bounds_contain): internal method, determines whether
2531 a text character is "in" or "out" of a clip rect according to
2532 values of TEXT_CLIP_TYPE.
2533 (spi_text_class_init): Initialize the new methods in the epv.
2536 (AccessibleTextClipType): New enum used by screen review api.
2537 (AccessibleTextRange): New struct used by screen review api.
2538 (AccessibleText_getRangeExtents):
2539 cspi binding for Accessibility_Text_getRangeExtents.
2540 (AccessibleText_getBoundedRanges):
2541 cspi binding for Accessibility_Text_getBoundedRanges.
2542 (AccessibleTextRange_freeRanges): convenience method.
2545 (AccessibleText_getRangeExtents):
2546 cspi binding for Accessibility_Text_getRangeExtents.
2547 (AccessibleText_getBoundedRanges):
2548 cspi binding for Accessibility_Text_getBoundedRanges.
2549 (AccessibleTextRange_freeRanges): convenience method.
2550 (get_accessible_text_clip_type): internal conversion method.
2551 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2553 * registryd/deviceeventcontroller.c:
2554 (spi_dec_mouse_check):
2555 Improved behavior for mouse:abs events
2556 [same granularity as mouse:rel events, and no
2557 events when mouse is idle].
2559 2002-12-16 Michael Meeks <michael@ximian.com>
2561 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2563 * libspi/stateset.c (state_spi_to_atk): split out
2564 ( fix several remote array bounds nasties )
2565 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2566 (impl_remove): make safe from array bounds issues.
2567 (spi_atk_state_from_spi_state): impl.
2569 * libspi/stateset.h (spi_state_set_cache_is_empty):
2570 add a set of wrapper defines to get layering right.
2572 * cspi/spi_accessible.c: update state set stuff to
2575 2002-12-14 Michael Meeks <michael@ximian.com>
2577 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2578 to avoid 2 roundtrips to the registry per key event
2579 (spi_atk_bridge_key_listener): upd.
2580 (deregister_application): release the dec.
2582 * registryd/registry.c (notify_listeners_cb):
2583 bin lots of re-enterant complexity - we no longer
2584 do a round-trip bonobo ref here, ensure that a single
2585 listener's exception failure won't poison all other
2587 (impl_registry_notify_event): bin obvious memory leak.
2589 2002-12-13 Michael Meeks <michael@ximian.com>
2591 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2592 init the ev so the error is meaningful.
2593 (spi_atk_bridge_key_listener): ditto.
2595 * cspi/spi_main.c (cspi_ev): init the ev so we start
2596 with a clean slate, otherwise the first exception
2597 kills us completely.
2599 * cspi/spi_text.c (get_accessible_text_boundary_type):
2600 add a fallthrough for no warnings.
2602 * cspi/spi_registry.c: prune unused warnings.
2604 * cspi/spi_main.c (cspi_object_take): fix
2605 mind-blowing brokenness ( by watching the compile
2608 * cspi/spi_accessible.c (Accessible_getStateSet):
2609 re-impl. to use an AtkStateSet.
2610 (spi_state_type_from_accessible_state),
2611 (init_state_table): bin these.
2613 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2615 (atk_state_set_from_accessibility_state_set): here.
2617 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2618 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2619 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2620 (AccessibleStateSet_add, AccessibleStateSet_remove),
2621 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2622 (AccessibleStateSet_isEmpty): re-write to use a local
2625 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2627 * configure.in: Revved to 1.1.7 (new keymask vals).
2629 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2631 * libspi/keymasks.h:
2632 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2634 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2637 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2638 to compare two CORBA_TypeCodes.
2639 (cspi_internal_event_add): Silence warning from FORTE compiler.
2641 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2642 avoid implicit declaration of functions.
2644 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2646 * atk-bridge/bridge.c:
2647 (spi_atk_bridge_init_event_type_consts): Store signal id for
2648 active-descendant-changed signal.
2649 (spi_atk_register_event_listeners): Add signal listener for
2650 active-descendant-changed signal,
2651 (spi_atk_bridge_signal_listener): Move code in function
2652 spi_atk-signal_emit_event() into this function.
2653 Add support for active-descendant-changed
2654 Update support for child-changed signal.
2655 (spi_bridge_window_event_listener): Silence warning.
2657 * libspi/spi_private.[ch]:
2658 (spi_init_any_object): Change second parameter from CORBA_Object to
2660 Omit call to CORBA_Object_duplicate().
2661 Set CORBA_any's _value to CORBA_Object*.
2663 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2669 (AccessibleEvent_ref, AccessibleEvent_unref):
2670 New methods, for persisting an event outside the emission context.
2671 Must be used if the new accessor methods are to be called
2672 outside of the event listener's callback.
2674 * cspi/bonobo/cspi-bonobo.c:
2675 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2676 as second parameter instead of NULL, so we can call
2677 cspi_check_ev afterwards.
2680 (cspi_object_take): New internal method,
2681 converts a CORBA_Object reference to a hard ref on
2682 an Accessible if possible, returning NULL if the object
2683 reference is invalid or an Accessible * otherwise.
2686 (AccessibleEvent_ref):
2687 Increment the event's internal private refcount, and
2688 add the event's internal struct to an internal cache
2689 if it's not already there.
2690 (AccessibleEvent_unref):
2691 Decrement the event's refcount and remove it from
2692 the cspi event cache if refcount==0.
2693 (cspi_event_compare): New private method.
2694 Compares two event structs via their ids. Used
2696 (cspi_internal_event_lookup): New private method.
2697 (cspi_internal_event_check): New private method,
2698 a 0-order sanity check for events to make sure their
2699 private data is intact.
2700 (cspi_internal_event_add, cspi_internal_event_remove):
2701 New private methods for managiing the event cache.
2703 * cspi/bonobo/cspi-bonobo-listener.c:
2705 Initialize the new private data elements (id, magic, ref_count).
2707 * atk-bridge/bridge.c:
2708 (spi_atk_bridge_signal_listener):
2709 Fixed bug #100530, passing wrong params to emission func.
2711 * registryd/deviceeventcontroller.c:
2712 (spi_dec_button_update_and_emit):
2713 Fixed type in mask bit operations; fix for #99799.
2715 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2717 Removed some of the more dangerous workarounds from
2718 previous commit; they are only needed by GOK, which
2719 in reality should be using another method to accomplish
2720 the goals. So on reconsideration some of the workarounds
2721 need to be reverted:
2723 * registryd/deviceeventcontroller.c:
2724 (spi_keycodes_contain, spi_dec_init_keycode_list):
2725 Removed these methods, used only by a nasty hack to try
2726 and detect whether a key synthesis should be allowed
2727 to reset the XKB latch state or not. This code was only
2728 required to work around an interaction between GOK,
2729 button events, and XKB.
2730 (impl_generate_key_event):
2731 Removed hack at end of key generation that tried to
2732 "do the right thing" if XKB latch keys were generated
2733 in the midst of button press/release pairs.
2736 Added a check for HAVE_XINPUT. Not normally used yet.
2738 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2740 Workarounds and fixes for mouse event/XKB interaction.
2742 * registryd/deviceeventcontroller.c:
2743 (spi_keycodes_contain, spi_dec_init_keycode_list):
2744 New internal methods.
2745 (spi_dec_set_unlatch_pending):
2746 Split the method that tells XKB to expect an
2747 unlatch (and revert it) out of the rest of the
2748 event handling code. This method is called by the
2749 two mouse event handlers (the poll and the filter).
2750 (spi_dec_update_and_emit, spi_dec_mouse_check):
2751 New methods split from spi_dec_poll_mouse_moved.
2752 The second one is now called from inside the filterFn
2753 when an XKB delatch event is received, to determine
2754 whether to revert the delatch or not.
2755 (spi_poll_mouse_moved): Refactor; also we can now
2756 properly handle the case where multiple button states
2757 have changed between polling cycles and we didn't get
2758 notified due to another client's grab.
2760 Synchronize the server while handling an XKB notification.
2761 Ugly, but apparently necessary to avoid nasty races.
2762 Check the mouse state on receipt of an XKB latch change,
2763 to decide whether to revert the latch or not. (Latches are
2764 reverted if there is an immediately preceding mouse button
2765 event that a client has consumed, in which case we don't want
2766 the user to see the side-effect of the event).
2767 (spi_device_event_controller_forward_mouse_event):
2768 Check for modifier events and fire before resetting mouse_mask_state,
2769 prevents losing modifier events.
2771 (impl_generate_keyboard_event):
2772 If we've just generated a keyboard event for a non-shift key,
2773 we don't want to revert the pending XKB latch.
2774 Otherwise, check the modifier state (via a call to
2775 spi_dev_mouse_check) and set the relatch mask to
2776 that state before returning.
2778 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2781 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2784 * atk-bridge/bridge.c:
2785 (spi_atk_register_event_listeners):
2786 Don't re-register for ATK events if the registry has died
2787 and the app needs to re-register; the ATK listeners are in
2788 process and doing so will cause duplicate emission.
2790 * registryd/deviceeventcontroller.c:
2791 (spi_poll_mouse_moved):
2792 Reformat the source, detect and emit multiple button-change
2793 events (i.e. if multiple buttons have changed between poll
2795 Add code to detect mouse-down events even when the pointer
2796 is grabbed; workaround for GOK bug 98420.
2797 (spi_controller_register_with_devices):
2798 Call XTestGrabControl with 'impervious' flag set to True,
2799 allows us to synthesize events and query the pointer even during
2800 an active grab by another client.
2801 (spi_device_event_controller_forward_mouse_event):
2802 Set the mouse_mask_state to the mouse_button_state from
2803 the intercepted event, to synchronize the grab listener with
2806 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2808 * cspi/spi_accessible.c:
2809 (AccessibleRole_getName):
2810 Added necessary strings for making this (deprecated)
2811 method work with the new role types.
2812 (init_role_table, role_table):
2813 Added definition of SPI_ROLE_APPLICATION.
2815 * libspi/spi-roletypes.h:
2816 Added SPI_ROLE_APPLICATION.
2818 * idl/Accessibility_Role.idl:
2819 Added ROLE_APPLICATION.
2821 * docs/reference/cspi/at-spi-cspi-decl.txt:
2822 Added SPI_ROLE_APPLICATION to docs.
2824 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2826 * cspi/spi_accessible.c
2827 (cspi_init_role_table): Do not write beyond end of role_table.
2828 (Accessible_getRole): Use correct type for value returned by
2829 Accessibility_Accessible_getRole().
2831 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2832 beyond end of role_table. (This fixes bug #98269)
2834 * libspi/application.c: Add include file spi-private.h for
2835 definition of spi_init_any_nil.
2837 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2841 * libspi/spi-private.h:
2842 Added DGB() macro, and extern int _dbg declaration.
2844 * registryd/registry.c:
2845 (definitions) storage for _dbg.
2846 (spi_registry_init):
2847 Get environment variable "AT_SPI_DEBUG".
2848 (spi_registry_set_debug):
2849 New method, to initialize _dbg value.
2850 (spi_listener_struct_new, spi_registry_object_finalize):
2851 (notify_listeners_cb):
2852 Changed fprintfs to use DBG and g_warning().
2854 * registryd/deviceeventcontroller.c:
2855 (_deregister_keygrab, spi_controller_register_device_listener):
2856 Changed debug/warning messages to use DBG macro.
2858 * libspi/listener.c:
2859 (impl_notify_event):
2860 Changed warning messages to use DBG macro and g_warning().
2862 * atk-bridge/bridge.c:
2863 (atk_bridge_init, spi_atk_bridge_get_registry):
2864 (spi_atk_bridge_exit_func):
2865 (spi_atk_bridge_property_event_listener):
2866 Changed status, warning, and error messages to use
2867 g_warning, g_message, and DBG macros.
2870 Read the state of the AT_SPI_DEBUG environment variable
2871 and set a local '_dbg' accordingly.
2873 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2875 FIXES for 98836, 98842, other bugs.
2878 Revved to 1.1.4, interface-age=4, binary-age=4.
2880 * registryd/deviceeventcontroller.c:
2882 Fixed crasher bug in last_mouse_pos initialization.
2884 * registryd/registry.c:
2885 (desktop_add_application, desktop_remove_application):
2886 Added (and then commented out) some support for
2887 object context marshalling. [TODO]
2889 * atk-bridge/bridge.c:
2890 (spi_atk_bridge_event_context_create):
2891 Commented out object context creation until it can
2892 be properly tested and debugged.
2894 * registryd/registry.c:
2895 (impl_registry_notify_event):
2896 Fixed crasher bug, we were calling
2897 spi_re_entrant_list_foreach () with an empty list.
2899 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2901 * idl/Accessibility_Action.idl:
2902 * idl/Accessibility_Component.idl:
2903 * idl/Accessibility_Desktop.idl:
2904 * idl/Accessibility_Event.idl:
2905 * idl/Accessibility_Hyperlink.idl:
2906 * idl/Accessibility_Image.idl:
2907 * idl/Accessibility_Relation.idl:
2908 * idl/Accessibility_Selection.idl:
2909 * idl/Accessibility_State.idl:
2910 * idl/Accessibility_Value.idl:
2911 Updated unimplemented slot count to minimum of
2912 four for all interfaces, for ABI freeze.
2914 * idl/Accessibility_EditableText.idl:
2915 * idl/Accessibility_Text.idl:
2916 Updated unimplemented slot count to six
2919 * idl/Accessibility_Registry.idl:
2920 Updated unimplemented slot count to six
2921 (also for DeviceEventController),
2924 * idl/Accessibility_Table.idl:
2925 Updated unimplemented slot count to eight,
2928 * idl/Accessibility_Event.idl:
2929 Added CORBA_any "any_data" member to Event struct.
2931 * idl/Accessibility_Event.idl:
2932 Added CORBA_any "any_data" member to Event struct.
2934 * atk-bridge/bridge.c:
2936 atk_signal_text_changed, atk_signal_child_changed,
2937 signal ids queried from gtype system.
2938 (AtkBridgeEventContextType): New enum.
2939 (AtkBridgeEventContextData): New struct.
2940 (AtkBridgeEventContext): New struct.
2941 (atk_bridge_init_event_type_consts):
2942 New method, initializes type contants for comparison
2943 prior to emit_eventv.
2944 (atk_bridge_event_context_init): New method,
2945 initializes a CORBA_any from an AtkBridgeEventContext.
2946 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2947 initialize the event.any_data struct.
2948 (spi_atk_bridge_event_context_create): New method,
2949 creates an AtkBridgeEventContext from signal/event info.
2950 (spi_atk_bridge_event_context_free): New method.
2951 (spi_atk_emit_eventv): Changed to take an
2952 AtkBridgeEventContext parameter. We now initialize
2953 the event.any_data member prior to notifying the
2954 Registry, via the AtkBridgeEventContext.
2955 (spi_atk_bridge_property_event_listener):
2956 (spi_atk_bridge_state_event_listener):
2957 Match emit_eventv signature.
2958 (spi_atk_bridge_object_event_listener):
2959 Match emit_eventv signature, and create an
2960 event context from the event details.
2961 Free the event context afterwards.
2962 (spi_atk_bridge_window_event_listener):
2963 Create an event context, pass it to the
2967 (AccessibleEvent_getContextString):
2968 (AccessibleEvent_getContextObject):
2969 New methods, allow query of AccessibleEvent objects
2970 for more context details (via the "any_data" member
2971 of the Event struct, above).
2974 Definitions for AccessibleEvent_getContextString
2975 and AccessibleEvent_getContextObject.
2977 * cspi/spi_listener.h:
2978 (InternalEvent): New struct.
2981 (AccessibleEvent_getContextString):
2982 (AccessibleEvent_getContextObject):
2983 Implementations of new methods, for obtaining
2984 additional context information from some event types.
2986 * cspi/spi_registry.c:
2987 (SPI_registerGlobalEventListener):
2988 Added mention of active-descendant-changed event in docs.
2990 * cspi/cspi-bonobo-listener.c:
2992 Marshal the any into the AccessibleEvent via
2995 * libspi/spi-private.h:
2996 #include <orbit/orbit.h>
2998 (spi_init_any_string):
2999 (spi_init_any_object):
3000 New convenience function declarations.
3004 (spi_init_any_string):
3005 (spi_init_any_object):
3006 New convenience function implementations.
3008 * registryd/deviceeventcontroller.c:
3009 (spi_poll_dec_mouse_moved):
3010 (spi_device_event_controller_forward_mous_event):
3011 Initialize any_data member of event.
3012 (spi_deregister_controller_device_listener):
3013 Fix incorrect param pass which was preventing deregistration.
3015 * registryd/registry.c:
3016 (desktop_add_application):
3017 (desktop_remove_application):
3018 Add object data to event's any_data before dispatch.
3020 Fix for error messages from GAIL.
3022 * test/event-listener-test.c:
3023 Test new ContextString and "any_data" API:
3024 (report_text_event): New method query and output context string.
3025 (main): register a new text listener with report_text_event
3028 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3030 Fixes for bugs 98127 and 97914.
3031 * cspi/spi-roletypes.h:
3032 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3034 * cspi/spi-statetypes.h:
3035 Added SPI_STATE_MANAGES_DESCENDANTS
3037 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3038 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3039 * cspi/spi_accessible.c:
3040 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3041 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3042 Accessibility_STATE_MANAGES_DESCENDANTS
3043 * libspi/accessible.c:
3044 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3045 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3046 As requested by Bill, I also cleaned up the alignment.
3047 * libspi/relation.c:
3048 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3049 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3050 * libspi/stateset.c:
3051 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3052 Accessibility_STATE_MANAGES_DESCENDANTS
3053 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3054 Document changes reflecting modifications to roles.
3055 * docs/reference/cspi/tmpl/spi_relation.sgml:
3056 Document changes reflecting modifications to relations.
3057 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3058 Document changes reflecting modifications to states.
3060 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3063 Revved to 1.1.3, interface-age=3, binary-age=3.
3064 Added REBUILD macro.
3067 Removed accessx-gui from the tests, since we have a nice
3068 keyboard accessibility capplet now :-)
3070 * test/keysynth-demo.c:
3071 (increment_scan): removed do-nothing default: case,
3074 * test/visual-bell.c:
3075 (main) : removed do-nothing default: case,
3078 * cspi/spi_action.c:
3079 (AccessibleAction_getKeyBinding_):
3080 Documented keybinding string format.
3084 (AccessibleText_getAttributes):
3085 Documented the text attribute string format.
3086 It's changed to use semicolon delimiters also,
3087 to prevent clashes with CSS attributes, but the old
3088 trick of looking for ", " strings will still work
3089 (as unreliably as ever). Fix for bug related to 97916.
3092 Include <cspi/bonobo/cspi-bonobo-listener.h>
3093 Fixes build warning.
3094 (SPI_freeAccessibleKeySet):
3095 (AccessibleKeystrokeListener_addCallback):
3096 (AccessibleKeystrokeListener_removeCallback):
3097 Modify to use AccessibleDeviceListener API internally,
3098 instead of AccessibleKeystrokeListener.
3100 * idl/Accessibility_Event.idl:
3101 Added two more empty slots to EventListener (for a total of four).
3103 * idl/Accessibility_Accessible.idl:
3104 Added four empty slots to Accessible interface.
3106 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3108 * idl/Accessibility_Registry.idl:
3109 (KeyEventType, EventType):
3110 Marked KeyEventType as deprecated; it duplicates
3111 functionality of EventType, which has been extended to
3112 include Mouse-button events.
3113 (KeyEventTypeSeq): defined in terms of EventType.
3114 (registerDeviceEventListener, deregisterDeviceEventListener):
3115 New methods, for managing listeners to device events,
3116 which potentially may consume them.
3119 Added definition for AccessibleDeviceListener.
3121 * cspi/spi-listener.h:
3122 (enum AccessibleDeviceEventType):
3123 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3124 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3125 for backwards compat.
3126 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3127 and typedef'd AccessibleKeystroke to it for back-compat.
3128 (AccessibleDeviceListenerCB):
3129 New function prototype typedef.
3132 (AccessibleDeviceEventMask): New typedef.
3133 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3134 (AccessibleKeyMaskType):
3135 Set equivalent to AccessibleModifierMaskType for back-compat.
3136 (SPI_createAccessibleKeystrokeListener):
3137 (AccessibleKeystrokeListener_unref):
3138 Deprecated in favor of equivalent (better-named) new API below..
3139 keystroke listeners are like all device listeners.
3140 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3141 New API names for old features :-).
3142 (AccessibleDeviceListener_addCallback):
3143 (AccessibleDeviceListener_removeCallback):
3144 (SPI_registerDeviceEventListener):
3145 (SPI_deregisterDeviceEventListener):
3149 (SPI_createAccessibleKeystrokeListener):
3150 Use new preferred API, cspi_device_listener_new() and
3151 cspi_device_listener_add_cb().
3152 (AccessibleKeystrokeListener_removeCallback):
3153 Use new preferred API, cspi_device_listener_remove_cb().
3154 (AccessibleKeystrokeListener_unref):
3155 Use new preferred API, cspi_device_listener_unref().
3156 (SPI_createAccessibleDeviceListener):
3157 (AccessibleDeviceListener_addCallback):
3158 (AccessibleDeviceListener_removeCallback):
3159 Implementation of new API.
3161 * cspi/spi_registry.c:
3162 (SPI_registerDeviceEventListener):
3163 (SPI_deregisterDeviceEventListener):
3164 Implementation of new API. Fixed memory leak and removed need to
3165 allocate EventTypeSeq (thanks Michael for catching this).
3166 Squashed a wayward CORBA_exception_free that shouldn't get called.
3168 * cspi/bonobo/cspi-bonobo-listener.c:
3170 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3171 (cspi_key_event): renamed to cspi_device_event().
3172 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3173 Extended to handle mouse button events as well as key events.
3174 (CSpiKeystrokeListener):
3175 Class superceded by CSpiDeviceListener.
3176 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3177 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3179 * cspi/bonobo/cspi-bonobo-listener.h:
3180 (CSpiKeystrokeListener):
3181 Class superceded by CSpiDeviceListener.
3182 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3183 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3185 * libspi/Makefile.am:
3186 Replaced keystrokelistener.h and keystrokelistener.c
3187 with devicelistener.h and devicelistener.c; keystrokelisener.h
3188 stub retained for back-compat.
3190 * libspi/keystrokelistener.c:
3194 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3196 * registryd/deviceeventcontroller.c:
3197 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3198 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3199 (DEControllerPrivateData): Added xkb settings data.
3200 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3201 button release events (which can't be captured via XGrabButton).
3202 Don't dispatch via the 'normal' event mechanism if the device event was
3204 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3205 Handle the typeseq data in its new location (see above).
3206 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3207 New methods, for "generic" device listeners.
3208 (spi_controller_register_device_listener):
3209 Now handle mouse event listeners as well as key listeners.
3210 (spi_controller_notify_mouselisteners):
3211 New internal method.
3212 (spi_device_event_controller_forward_mouse_event):
3213 Now we notify mouse device listeners as well as generating the
3214 non-consumable "mouse:" events.
3216 We must check and restore the XKB
3217 modifier map if we consume the event, since the act of triggering
3218 a mouse event will normally reset the XKB latch. This is required for
3220 (spi_controller_register_with_devices):
3221 Load the XKB settings when registering, and register for XKB
3222 state notify events.
3223 (spi_key_eventtype_seq_contains_event):
3224 Renamed spi_eventtype_seq_contains_event, since it's used
3225 internally for all device event types now.
3226 (spi_key_event_matches_listener):
3227 Uses spi_eventtype_seq_contains_event now.
3228 (spi_device_event_controller_object_finalize):
3229 Free the private data and the XkbKeyboard struct.
3230 (impl_register_device_listener, impl_deregister_device_listener):
3231 Implementation of new IDL.
3232 (spi_deregister_controller_device_listener):
3233 New internal method.
3234 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3235 More efficient implementation, we don't have to create a new
3236 XkbControls structure every time we query.
3237 (spi_device_event_controller_class_init):
3238 Initialize the epv entries for the new IDL. Assign the
3239 "spi-dec-private" quark.
3240 (spi_device_event_controller_init):
3241 Initialize the private data.
3242 (spi_device_event_controller_forward_key_event):
3243 Removed a bogus CORBA_exception_free() call.
3245 * registryd/deviceeventcontroller.h:
3246 Replaced inclusion of keystrokelistener.h with
3249 * test/event-listener-test.c:
3250 (report_mouse_event):
3253 Added mouse-event device listener.
3255 * test/test-simple.c:
3256 (create_test_window):
3257 Fixed regression (we were instantiating a GtkRange,
3258 which is now an abstract class). Also fixed to match
3259 existing AtkRole names, this seems to have changed in ATK
3260 awhile ago; too late now I think, and the new
3261 mechanism is at least elegant and consistent with the
3262 glib enum "nick" APIs.
3264 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3266 * idl/Accessibility_Relation.idl:
3267 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3268 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3269 * idl/Accessibility_Role.idl:
3270 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3271 * idl/Accessibility_State.idl:
3272 add STATE_MANAGES_DESCENDANTS
3273 * test/event-listener-test.c:
3274 Added a listener for active-descendant events.
3276 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3278 * atk-bridge/bridge.c
3279 (atk_bridge_init): If application is Bonobo component wait until top
3280 level is added before registering
3281 (spi_atk_bridge_do_registration): New function which contains code,
3282 formerly in atk_bridge_init, to do application registration.
3283 (spi_atk_bridge_toplevel_added): Signal called when top level
3284 added to Bonobo component
3286 This fixes bug #83134.
3288 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3290 * registryd/deviceeventcontroller.c
3291 Fixed compilation error caused by calling gettimeofday()
3294 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3299 Added template for HAVE_XKB.
3302 Changes to check for XKB, and to set the HAVE_XKB #define if it
3305 * libspi/listener.c:
3306 ()impl_notify_event): Make failure to get event source name
3309 * registryd/deviceeventcontroller.c:
3310 (#include): include X11/XKBlib.h.
3311 (DEControllerPrivateData) : New struct.
3312 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3314 (dec_synth_keycode_press) (dec_synth_keycode_release):
3315 New methods; split the key synthesis code into these methods.
3316 They check XKB settings before determining the "time" values to
3317 pass to Xtest; this fixes bug #95828.
3318 (impl_generate_keyboard_event): Changed to use methods above,
3319 instead of callng Xtest directly.
3320 (spi_device_event_controller_init): Initialize new privae struct s
3322 (spi_device_event_controllr_object_finalize):
3323 Free the (new) private data.
3325 * registryd/deviceeventcontroller.h:
3326 Add new gpointer to end of struct data.
3328 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3331 Incremented revision to 1.1.2, SONAME is still '.so', library
3332 extensions are ".so.0.0.2".
3334 * registryd/deviceeventcontroller.c:
3335 FIXES FOR #93592 and #95940.
3336 (statics): renamed mouse_button_state to mouse_mask_state,
3337 added key_modifier_mask.
3338 (spi_dec_poll_mouse_moved):
3339 Added key modifier checks, and emit "keyboard:modifiers"
3340 events when the key modifiers currently in use change.
3341 Also generate "mouse:abs" events periodically, even if the mouse
3342 is stationary (should we?).
3343 Alternatively we could generate "mouse:abs" events for either all
3344 mouse movements, or every 'nth' mouse movement, or at the
3345 beginning and end of every "active" mouse period.
3347 * test/event-listener-test.c:
3348 (main): Added listener for "keyboard:modifiers" events.
3350 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3352 * libspi/keymasks.h:
3353 Added key mask #defines for mouse buttons; e.g.
3354 SPI_KEYMASK_BUTTON1, etc.
3357 Incremented dependency on ATK to version 1.1.0. (This dependency
3358 is probably premature but will soon be real enough).
3360 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3362 * libspi/hyperlink.[ch]
3363 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3364 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3367 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3372 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3374 * registryd/deviceeventcontroller.c
3375 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3376 events to be ignored.
3377 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3378 keyboard_mode so that XAllowEvents() can be called.
3382 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3384 * cspi/spi-accessible.c: Correct names of roles returned by
3385 AccessibleRole_getName(). Fixes bug #95055.
3387 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3389 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3392 * registryd/registry.c
3393 (desktop_remove_application: Write diagnostic message to stderr for
3396 (impl_accessibility_registry_deregister_global_event_listener):
3397 Correct size of lists array. This addresses bug #94555).
3399 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3401 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3404 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3406 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3409 * registryd/registry.c (impl_registry_notify_event): Remove
3410 unnecessary call to parser_event_type().
3412 * docs/reference/cspi/tmpl/spi_component.sgml:
3413 Add reference to SPI_LAYER_WINDOW.
3415 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3417 * registryd/registry.c
3418 (desktop_add_application): Remove leak.
3419 (desktop_remove_application): Remove leak.
3420 (parser_event_type): Remove leak.
3422 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3424 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3425 bogus call to CORBA_string_dup(). Also removed unnecessary
3426 g_string_dup/g_free calls.
3428 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3430 * registryd/deviceeventcontroller.c:
3431 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3433 * test/event-listener-test.c:
3434 main: commented out three redundant listeners, to reduce output
3435 noise. (They still are potentially useful for testing).
3438 2002-09-13 Michael Meeks <michael@ximian.com>
3440 * Update all the copyrights to include Ximian.
3442 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3444 * cspi/spi.h: add SPI_LAYER_WINDOW.
3446 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3447 add Accessibility_LAYER_WINDOW case.
3449 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3451 * libspi/component.c: (impl_accessibility_component_get_layer):
3452 add ATK_LAYER_WINDOW case.
3454 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3456 * configure.in: incremented micro version.
3458 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3460 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3463 Clarified and reworded our commit policy.
3466 Started an API "todo" addition list for 2.2.
3469 (impl_getSelection):
3470 Free char pointer from atk_text_get_selection, which was being leaked.
3472 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3475 Small revision to author acknowledgement.
3477 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3479 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3480 If signal has detail add it to the type of the event.
3483 2002-08-12 Michael Meeks <michael@ximian.com>
3485 * test/test-simple.c (global_listener_cb): bin bogosity.
3486 (test_keylisteners): disable, still doesn't work reliably,
3487 certainly not on my system anyway.
3489 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3490 don't leak a reference on the DEC. This round-trip
3491 fetching of the DEC per keystroke sucks, it should be
3494 * cspi/spi-private.h,
3495 * cspi/cspi-lowlevel.h,
3496 * cspi/bonobo/cspi-bonobo-listener.[ch],
3497 * cspi/bonobo/cspi-bonobo.c: get the copyright
3498 notices better - there is still a large amount of
3499 work in at-spi falsely attributed solely to Sun.
3501 * cspi/spi_main.c (cspi_object_ref): kill bogus
3502 hash lookup, just increment the ref.
3503 (SPI_freeString): make explicit the fact that we
3504 handle NULL strings just fine.
3505 (report_leaked_ref): obey coding standards.
3506 (cspi_object_hash, cspi_object_equal): kill retval.
3507 (cspi_object_release): only release if not on loan.
3508 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3509 (cspi_object_borrow, cspi_object_return): impl.
3511 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3512 use cspi_object_borrow / return.
3514 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3516 * cspi/bonobo/cspi-bonobo-listener.c:
3518 Don't call cspi_oject_new() because this is creating a new Accessible
3519 every single time that an event is fired. This causes ATs like at-poke
3520 to nolonger recognise the source of the event and thus ignore it.
3521 Re-use the object from the cache, ref it and then unref it after the
3522 listeners have been called.
3524 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3526 * test/event-listener-test.c:
3527 Added command-line options to disable mouse events (m) and
3530 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3532 * configure.in: Update required versions of ATK, GTK+ and GAIL
3534 * cspi-1.0.pc.in: Add dependency for X include files
3537 * cspi/bonobo/Makefile.am:
3538 Add $(X_CFLAGS) so that X include files
3539 are picked up even if not in standard place (bug #71686)
3541 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3543 * registryd/deviceeventcontroller.c: fix for 84261
3544 (spi_dec_mouse_moved):
3545 Added test of mouse button mask, so that we can detect mouse
3546 button release. Unfortunately we can't otherwise detect mouse
3547 button release events without consuming the mouse press event,
3548 because of the way XGrabButton works. This means that our mouse
3549 release events have a latency dependent on the polling period
3550 while the mouse button is down. At least in this case we only
3551 have to poll while the button is down, and not at other times.
3552 If the button masks don't match with what the last press event
3553 reported, we report the appropriate button release event.
3554 (spi_dec_ungrab_mouse):
3555 New method (not yet called).
3556 (spi_device_event_controller_forward_mouse_event):
3557 New method, sends mouse press event from GdkFilter.
3558 (spi_dec_init_mouse_listener):
3559 Added code to call XGrabButton, redirecting mouse button events to
3560 the root window and our Gdk event loop.
3562 Added code to filter mouse button events, and reordered.
3564 * test/event-listener-test.c:
3566 Added registration for mouse events of type "mouse:button".
3568 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3570 * registryd/deviceeventcontroller.c: partial fix for 84261
3571 (spi_dec_poll_mouse_idle):
3572 New method, a timeout which checks to see if the mouse
3574 (spi_dec_poll_mouse_moving):
3575 A timeout to be called when mouse motion is underway.
3576 (spi_dec_poll_mouse_moved):
3577 A method which fires an event if the mouse has moved, and reports
3578 whether or not it did so.
3579 (spi_dec_init_mouse_listener):
3580 A method which sets up the timeouts above.
3581 (spi_device_event_controller_new):
3582 Now calls spi_dec_init_mouse_listener.
3584 * registryd/registry.c:
3585 (spi_registry_init):
3586 Now we initialize the device event controller when the registry is
3587 initialized, instead of waiting until a client has requested a key
3588 event notification; this is because we need the event controller
3589 for mouse events, but the mouse event registration API is a
3590 "registry" call and doesn't explicitly call the
3591 deviceeventcontroller.
3592 We now report mouse motion events with a 100 ms idle latency and
3593 a 20 ms granularity when motion is in progress.
3595 * test/event-listener-test.c:
3597 We now register the "detail listener" for events of type
3598 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3599 delivered only for the first mouse event received, and thereafter
3600 "mouse:abs" events are delivered.)
3602 * cspi/spi_registry.c:
3603 DOCS: Documented the above mouse event typestrings.
3605 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3607 Happy Summer Solstice...
3609 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3610 (spi_controller_notify_keylisteners):
3611 Changes to remove a listener from the listener list, freeing its
3612 open keygrabs, if a notification to that listener fails. This
3613 means that although a dead listener can continue to hold a passive
3614 keygrab, a maximum of one dispatch to such a listener can fail
3615 before the listener is removed from the list, thus the keygrab
3616 will be released on the next occurrence.
3617 As part of this fix:
3618 (spi_notify_keylisteners):
3619 Renamed to spi_controller_notify_keylisteners, as the controller
3620 instance must now be passed as an argument.
3621 The copied 'notify' GList is now a list of DEControllerKeyListener
3622 objects, since we need more than just the CORBA reference if a
3623 notify fails and we need to deregister the listener.
3624 (impl_notify_listeners_sync):
3625 (impl_notify_listeners_async):
3626 (spi_device_event_controller_forward_key_event):
3627 Modify use of notify_keylisteners in accordance with above
3629 (spi_deregister_controller_key_listener):
3630 New method introduced by refactoring, from
3631 impl_deregister_keystroke_listener.
3632 (impl_deregister_keystroke_listener):
3633 Call spi_deregister_controller_key_listener.
3634 (spi_key_listener_clone):
3635 New method to copy a key listner without doing a 'ref' on the
3636 remote object instance; used to create a notifier list.
3637 (spi_key_listener_data_free):
3638 New method, frees data without unreffing the source.
3640 (spi_key_listener_clone_free): new method.
3641 (spi_key_listener_free):
3642 refactored to call spi_key_listener_data_free.
3644 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3646 * registryd/registry.c: [fix for bug 86048]
3647 (notify_listeners_cb):
3648 Clear CORBA system exceptions which occur when notifying
3649 listeners, before returning to the source of the original event,
3650 since the event source doesn't care if the relayed notify failed.
3651 In other words, don't complain to the atk-bridge if the registry
3652 could not notify all its listeners, that's no fault of the
3653 application and thus should not appear to be an error from the
3654 application's perspective.
3656 * cspi/spi_main.c: [fix for bug 85980]
3658 Replaced use of bonobo_object_dup_ref with call to the wrapper
3659 method, csou_dup_ref (); this silences a compiler warning and
3660 provided more portability.
3662 Ping the registry before return, and restart if necessary.
3664 * cspi/bonobo/cspi-bonobo.c:
3666 New internal method.
3668 Fixed this method to return an object reference, as it should have
3671 * cspi/cspi-lowlevel.h:
3672 Added internal definition for cspi_ping() and fixed
3673 return type of cspi_dup_ref().
3676 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3678 * atk-bridge/bridge.c: [fix for bug 85305]
3679 (spi_atk_bridge_register_application):
3680 New method where the initial application registry calls have been
3681 moved; it allows an application to re-register in response to
3682 certain error conditions (such as a registry restart, see below).
3684 Moved some initialization code to the method
3685 spi_atk_bridge_get_registry, below.
3686 (spi_atk_bridge_get_registry):
3687 New, private accessor function for the Accessibility_Registry
3688 instance. If the registry has not been started before, or has
3689 died (as detected by failure of a CORBA exception), it is
3690 restarted before return, and spi_atk_bridge_register_application
3691 is called again to register with the new bridge instance.
3692 (spi_atk_emit_eventv):
3693 Set registry_died on error; use spi_atk_bridge_get_registry () to
3694 access the registry.
3696 * registryd/registry.c:
3697 (impl_accessibility_registry_register_global_event_listener):
3698 Set listener's event_type_quark to etype.minor instead of
3699 etype.major (fix for bug 84856).
3701 * test/event-listener-test.c:
3702 (report_detail_event):
3703 Change the output string so that user/tester can tell that the
3704 'detail listener' was called instead of the 'generic listener'.
3706 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3708 Fixes for bugs 84900, 84908, 84897, 84898.
3713 Revved version to 1.1.0
3714 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3715 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3717 * idl/Accessibility_Registry.idl:
3718 (EventListener::notifyEvent):
3719 Removed 'oneway' directive after extensive consulation with
3720 ORBit2 team and others. This means also that unref() of the event
3721 source can and should be done synchronously after emission, rather
3722 than remotely in the client, after servicing the notify call on
3725 NOTE: This change speeds up listener performance considerably, but
3726 introduces new latency on the application side. We may want to
3727 add an event queue to the atk-bridge.
3729 * atk-bridge/bridge.c:
3730 (spi_atk_bridge_focus_tracker):
3731 Do a local unref() on the event source after emission.
3733 * registryd/registry.c:
3734 (desktop_remove_application):
3735 Do an unref() on the event source after emission.
3736 (desktop_add_application):
3737 Do an unref() on the event source after emission.
3738 (notify_listeners_cb):
3739 When relaying an event, don't automatically add the event source
3740 to the local object cache, just CORBA_dup it instead. Likewise,
3741 if this method reenters, release the ref rather than calling
3743 (impl_registry_notify_event):
3744 No longer call remote unref() on the event source after dispatch.
3746 * libspi/eventlistener.c:
3747 (impl_accessible_event_notify_event):
3748 Removed remote unref ()
3750 * cspi/bonobo/cspi-bonobo-listener.c:
3752 We now call cspi_object_new() instead of cspi_object_add() on
3753 receipt of an event; thus we only have an implicit object ref
3754 while the cspi_event method is being executed. If we need to keep
3755 a reference to the object, the listener must call ref() on the
3756 object. Thus also we don't need to call cspi_object_unref() after
3757 invoking the listener callbacks in this method.
3761 New internal API for creating a new cspi object, without adding it
3762 to the object cache.
3764 Now uses cspi_object_new() to create the cspi object instance.
3766 Now checks to see if the object is in the internal object cache,
3767 and adds it if necessary before incrementing its refcount (note
3768 that new objects are added with a refcount of 1).
3769 (report_leaked_ref):
3770 New method which gives some information on leaked object instances
3771 if leak detection is turned on.
3773 * test/event-listener-test.c:
3774 (timing_test_event):
3775 New method, used for testing event delivery timing for special
3776 events of type "object:test". It reports elapsed time and
3777 events/sec every 500 events.
3779 Added a new listener, 'test listener', to check timing of event
3780 receipt as noted above.
3782 Added some timing output here also, reports elapsed time every 100
3785 * test/stress-test.c:
3786 Emit events of type "object:test", for use with "event-listener-test".
3788 * test/test-simple.c:
3789 (global_listener_cb):
3790 Call Accessible_ref() on the event source before calling
3791 validate_accessible, since the validation process does pointer
3792 comparisons on the event source, meaning that the event source
3793 needs to be added to the local object cache first. Any use of
3794 such pointer comparisons between Accessible objects requires that
3795 the caller hold an explicit reference to those objects.
3796 We also must therefore call Accessible_unref() when leaving this method.
3798 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3800 * registryd/deviceeventcontroller.c:
3801 (spi_controller_update_key_grabs):
3802 Fix for #84735, subsequent keygrab listeners not informed of
3803 registration failure.
3806 (spi_base_construct):
3807 Add an assertion on construct, to make sure the GObject passed in
3808 is really a GObject.
3810 Explicitly initialize object->gobj pointer to NULL;
3812 * cspi/bonobo/cspi-bonobo-listener.c:
3813 (cspi_object_add_ref):
3814 New method, can specify whether to dup-ref a bonobo object passed
3815 in if it's newly added to the object cache.
3817 Now calls cspi_object_add_ref with second param of "FALSE". This
3818 prevents us from doing a pointless dup-ref followed by
3819 release-unref for all those cases where the object is already in
3820 our object cache (fix for #85205).
3822 * atk-bridge/bridge.c:
3823 (spi_atk_bridge_idle_init):
3824 Removed this method, we don't need to initialize in an idle
3827 Changed to call spi_atk_register_event_listeners directly, not via an
3828 idle handler. (fix for #81139)
3829 (gnome_accessibility_module_shutdown):
3830 Removed conditional around deregistration of listeners, since we
3831 don't use the idle handler and thus have always registered when
3833 (spi_init_keystroke_from_atk_key_event):
3834 Changed references to Accessibility_KEY_PRESSED to
3835 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3837 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3839 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3844 * test/stress-test.c:
3847 (may have been an incomplete commit yesterday?)
3849 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3852 Added target for new stress-test.
3854 * test/stress-test.c:
3855 New test, sends 1000 focus notifies in quick succession.
3857 * test/key-listener-test.c:
3858 Now we report whether a keylistener registration
3859 request succeeded or failed.
3861 * test/event-listener-test.c:
3862 Uncommented some listeners which are now implemented.
3865 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3867 * registryd/deviceeventcontroller.c:
3868 (spi_controller_update_key_grabs):
3869 Fix for #82509, lack of failure notification when
3870 ALL_WINDOWS keygrabs fail due to XGrabKey
3871 failure: we synchronize the server when
3872 registering a passive grab, to make sure we get the
3873 error message before the call returns.
3875 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3877 * test/test-simple.c:
3879 Removed #ifdef KEY_IMPL_WORKS guards.
3880 (test_keylisteners):
3881 Removed #ifdef KEY_IMPL_WORKS guards.
3882 Fixed bug which was causing a hang waiting for a
3883 "press" event (which was already overwritten by a "release"
3884 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3886 Added code to set globals 'key_press_received' and
3887 'key_release_received'.
3890 Added section "1.1 API Proposed Additions" which
3891 lists API additions desired for at-spi-1.1 (only one so far).
3892 Updated TODO list a little.
3894 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3896 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3899 * configure.in: Revved to 1.0.0.
3901 * idl/Accessibility_Registry.idl:
3902 (registerKeystrokeListener):
3903 Added boolean return value.
3905 * registryd/registry.c:
3906 (notify_listeners_cb): Minor fix to debug output.
3908 * registryd/Accessibility_Registry.server.in.in:
3909 Revved version number in OAFIID to 1.0.
3911 * registryd/registryd.c:
3913 Use new OAFIID version.
3915 * cspi/bonobo/cspi-bonobo.c:
3917 Use new OAFIID version.
3923 * atk-bridge/bridge.c:
3925 Use new OAFIID version.
3927 * registryd/deviceeventcontroller.c:
3928 (impl_register_keystroke_listener):
3929 Added CORBA_boolean return value.
3930 (spi_controller_register_device_listener):
3931 Added gboolean return value.
3932 (spi_controller_register_global_keygrabs):
3933 Added gboolean return value.
3934 (spi_key_set_contains_key):
3935 Added implementation for many more control keys,
3936 for instance F1-F12, arrow keys, End, Home, Page_Up,
3938 [TODO: some still not implemented].
3940 * text/screen-review-test.c:
3941 (text_chunk_pad_string):
3942 New function: it provides mapping between coordinate
3943 positions of text chunks and character positions in the
3944 screen-review-line output string.
3945 (text_chunk_to_string):
3946 New function, calls text_chunk_pad_string with various
3947 pad/delimiter characters. Pushbuttons are delimited with
3948 square brackets, Frames with vertical 'pipe' lines, and
3949 other text with double quotes.
3950 (text_chunk_list_to_string):
3951 Calls new function text_chunk_to_string.
3952 (toplevel_composite):
3953 New function to composite layers CANVAS through
3954 POPUP in each toplevel (other layers are composited
3955 across toplevels, i.e. BACKGROUND and OVERLAY).
3956 (review_buffer_composite):
3957 Revise to use new methods.
3963 2002-05-31 Laszlo Peter <laca@sun.com>
3965 * configure.in: add the Xtst libdir to the runpath on Solaris,
3966 since it's not in the default library search path.
3968 2002-05-29 jacob berkman <jacob@ximian.com>
3970 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3972 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3974 * test/screen-review-test.c:
3975 (text_chunk_pad_string):
3976 Added method, which pads the string according to the
3977 text bounds of the chunk. It also takes a 3-character
3978 string as a param which indicates the characters to be
3979 used for start, padding, and end delimitation of the chunk.
3980 (text_chunk_to_string):
3981 Changed to use text_chunk_pad_string.
3983 * configure.in: Fixed bug in AC_OUTPUT that was
3984 causing path substitution in Accessibility_Registry.server
3987 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3989 * text/screen-review-test.c:
3990 (guess_string_clip):
3991 New method which attempts a best-guess at clipping
3992 text from components (like Java labels) which don't
3993 actually implement AccessibleText. This inaccurate
3994 clip is based on the assumption that the label is
3995 justified left-and-right, and monospaced.
3996 (text_chunk_get_clipped_string):
3997 We now call guess_string_clip() for text-containing
3998 components that don't implement AccessibleText.
4000 * test/screen-review-test.c:
4001 (review_buffer_get_text_chunk):
4002 We now pull "name" from labels if they do not implement
4003 AccessibleText (i.e. for Java labels).
4004 (get_screen_review_line_at):
4005 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4008 Replaceded AC_OUTPUT target
4009 registryd/Accessibility_Registry.server with
4010 registryd/Accessibility_Registry.server.in.
4012 * registryd/Accessibility_Registry.server.in:
4013 Removed (this is now a Makefile target).
4015 * registryd/Accessibility_Registry.server.in.in:
4016 Added (source for target above). We now use $(libexecdir) as
4017 prefix for the executable at-spi-registryd.
4019 * registry/Makefile.am:
4020 Now install at-spi-registryd into $(libexecdir), and build .server
4021 file with path (see above).
4023 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4025 * test/screen-review-test.c:
4026 (text_chunk_get_clipped_string):
4027 We now check to see if words fall within clip bounds
4028 before resorting to character-by-character clip bounds testing.
4030 * TODO: Added a section for "2.2 Proposed API Additions".
4032 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4034 * test/screen-review-test.c:
4036 Added a screen review benchmarking and test program to test
4039 * cspi/spi_accessible.c:
4041 Made some of the debug strings passed to cspi_check_ev a
4042 little more specific.
4044 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4046 * test/screen-review-test.c: Fix crashes in debug statements
4048 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4050 * test/screen-review-test.c: Added this file.
4052 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4054 * atk-bridge/bridge.c: changed "object:state-change" to
4055 "object:state-changed" to match docs.
4057 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4059 * atk-bridge/bridge.c: Hooked up state-change event details.
4061 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4063 * registryd/registry.c:
4064 Fixed quarking bug in event string parsing; now events with
4065 detail parameters get matched correctly to listeners.
4068 * util/idl/Magnifier.idl: remove.
4070 * util/*.[ch]: Remove.
4071 Magnification utilities and IDL are now in module gnome-mag.
4073 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4075 * registryd/deviceeventcontroller.c:
4076 Fixed bug in grab key conversion which was causing keycode grabs
4077 to be converted to AnyKey grabs.
4080 updated NEWS file to reflect recent spin-off of gnome-mag.
4082 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4084 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4085 busted AccessibleStateSet_compare. Removed redundant casts.
4087 * cspi/spi-action.c: Removed redundant casts.
4089 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4091 * cspi/spi_component.c: Fixed typos and casting error.
4093 * cspi/spi_editabletext.c: Removed redundant casts.
4095 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4097 * cspi/spi_hypertext.c: Eliminated redundant casts.
4099 * cspi/spi_image.c: Eliminated redundant casts.
4101 * cspi/spi_registry.c: Eliminated redundant casts.
4102 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4103 * cspi/spi_selection.c: Removed redundant casts.
4104 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4105 handling. Screen geometry and text offsets were being returned as 0
4106 on error which is technically valid-- changed these to return -1.
4107 Added marshaller for text boundary types to fix bug with boundary
4108 types being passed incorrectly to atk.
4110 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4113 * cspi/spi_registry.c:
4114 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4115 which was uncovered by the recent key changes.
4117 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4119 * test/event-listener-test.c:
4121 Added new test, "event-listener-test";
4122 this code does two things; it benchmarks traversal time
4123 for the accessible hierarchy for the first running accessible
4124 app, and it connects listeners for all supported event types.
4125 It is thus useful as an example event listener and for
4126 diagnostics/debugging of event generation.
4128 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4131 Removed unnecessary dependency on libutil.
4134 Revved micro version: 0.13.1
4136 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4139 Removed util/Makefile from targets.
4142 Removed util subdir from SUBDIRS (temporarily,
4143 pending removal of magnifier-only code
4147 #ifdef-ed out magnifier dependencies, since
4148 magnifier IDL, headers, and binary now live in
4149 module gnome-mag and we don't want at-spi to depend
4150 on gnome-mag. A magnifier demo which can run alongside
4151 simple-at is forthcoming in the gnome-mag module.
4153 NOTE: Split magnifier binary, IDL, and magnification
4154 activation code from at-spi into module gnome-mag.
4156 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4158 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4159 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4161 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4164 Revved to version 0.13.0
4166 * idl/Accessibility_Registry.idl:
4167 Changed definition of KeySet from sequence of longs to sequence of
4168 KeyDefinitions, and added KeyDefinition struct.
4169 Required for fix to bug 80616.
4171 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4172 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4173 to use new definition (see above).
4175 * registryd/deviceeventcontroller.c: handle_keygrab(),
4176 spi_keyset_contains_key():
4177 Changed to make use of new struct; this allows matching based on
4178 string key-name, for instance "Tab". This also allows matching of
4179 composed characters, non-alphanumeric characters in a way that
4180 doesn't involve dependencies on X keysym codes directly, etc.
4182 * test/key-listener-test.c:
4183 Added test for Alt-Tab key using "string" specification of keyset,
4184 and modified one of the tests to use a keycode-based keyset.
4185 Thus this test both tests and demonstrates the creation and use of
4186 keysets of three forms: specified via keycode array,
4187 keysym array, and string array. (The string case only contains a
4188 single string, i.e. a string array of length 1).
4191 Turned on PRINT_TREE option by default. Also fixed a
4192 string-freeing bug in the PRINT_TREE code.
4193 Added a listener to window:minimize events.
4195 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4197 * atk-bridge/bridge.c:
4198 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4199 for window:activate and window:deactiveate
4200 (atk_bridge_property_event_listener atk_bridge_signal_listener
4201 atk_bridge_window_event_listener) Tidy debug code
4203 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4205 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4206 Fixed handling for NULL return value from ATK.
4208 * libspi/action.c libspi/component.c libspi/editabletext.
4209 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4210 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4211 Removed redundant casts.
4213 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4214 Fixed off by one bug.
4216 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4217 function not present in idl)
4219 2002-05-02 jacob berkman <jacob@ximian.com>
4221 * atk-bridge/Makefile.am: make atk-bridge a real module
4223 2002-04-26 Radek Doulik <rodo@ximian.com>
4225 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4226 atk_state_types table
4228 2002-04-22 jacob berkman <jacob@ximian.com>
4231 * libspi/Makefile.am: add deps on the built files to help
4232 automake, and don't version the ORBit typelib
4234 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4236 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4237 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4238 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4239 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4240 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4241 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4242 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4243 libspi/accessible.h libspi/accessible.h libspi/base.h
4244 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4245 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4246 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4247 libspi/spi-private.h libspi/statetset.h libspi/table.h
4248 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4249 util/mag_client.h util/mag_control.c util/mag_image.c
4250 util/mag_image.h util/magnifier.c util/magnifier.h:
4251 Add missing file headers; standardize existing ones
4253 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4255 * atk-bridge/bridge.c: Added window event support.
4257 2002-04-18 Michael Meeks <michael@ximian.com>
4259 * libspi/relation.c (impl_getNTargets): impl.
4260 (impl_getTarget): impl.
4262 * libspi/Makefile.am: fix stateset install.
4264 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4267 Started putting useful info in this file.
4269 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4271 * atk-bridge/bridge.c:
4272 Propagate state-changed notifications to ATs
4274 * cspi/spi_registry.c: update docs to reflect actual behavior of
4275 state-change events.
4277 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4280 Incremented version to 0.12.1
4282 * util/mag_client.h:
4283 Add missing declaration for magnifier_exit,
4284 used by mag_control.c - Forte compiler didn't like
4285 the implicit redeclaration of the function :-(
4288 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4291 Revved version to 0.12 due to API change (see below).
4293 * cspi/spi-roletypes.h:
4294 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4295 definition from the inline docs, and added docs
4296 for SPI_ROLE_LAST_DEFINED.
4299 * cspi/spi_streamablecontent.c:
4300 Added missing seek_type parameter to
4301 (so far unused) method,
4302 AccessibleStreamableContent_seek().
4303 [ RT approval JodyG. ]
4306 Fixed docs for SPI_createAccessibleKeystrokeListener.
4308 * cspi/spi_registry.c:
4309 Fixed docs for SPI_KEYSET_ALL_KEYS.
4311 * docs/reference/cspi/at-spi-cspi-sections.txt:
4312 Added a number of missing APIs to SECTIONS.
4314 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4316 * registryd/Makefile.am:
4318 * cspi/bonobo/Makefile.am:
4319 Add $(X_LIBS) to makefiles.
4321 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4324 Revved version to 0.11.
4326 * libspi/component.c:
4327 Added implementation for grabFocus.
4329 * idl/Accessibility_Component.idl
4330 (Accessibility_Component_grabFocus):
4331 Made this method return boolean to indicate success or failure, to
4332 be consistent with cspi and the corresponding ATK method.
4334 * idl/Accessibility_Selection.idl
4335 (Accessibility_Selection_selectAll) :
4336 Made these methods return boolean to indicate success or
4337 failure, to be consistent with cspi and the corresponding ATK methods.
4339 * idl/Accessibility_EditableText.idl
4340 (Accessibility_EditableText_setTextContents,
4341 Accessibility_EditableText_insertText,
4342 Accessibility_EditableText_cutText,
4343 Accessibility_EditableText_deleteText,
4344 Accessibility_EditableText_pasteText):
4345 Made these methods return boolean to indicate
4348 * cspi/spi_editabletext.c:
4349 Made these methods return booleans.
4351 * libspi/selection.c:
4352 * libspi/component.c:
4353 * libspi/editabletext.c:
4354 Connected the boolean returns from ATK
4355 to the server-side code referenced above.
4357 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4359 * idl/Accessibility_Table.idl: Added missing methods,
4360 Accessibility_Table_addRowSelection,
4361 Accessibility_Table_addColumnSelection,
4362 Accessibility_Table_removeRowSelection,
4363 Accessibility_Table_removeColumnSelection.
4366 Added C wrappers for above IDL:
4367 AccessibleTable_addRowSelection,
4368 AccessibleTable_addColumnSelection,
4369 AccessibleTable_removeRowSelection,
4370 AccessibleTable_removeColumnSelection.
4373 Added server-side implementation code for IDL above, connecting
4374 to pre-existing ATK api.
4376 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4378 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4380 * libspi/accessible.c: Added implementation fo
4381 Accessibility_Accessible_get_state.
4383 * libspi/libspi.h: Added stateset.h to the list of includes.
4385 * libspi/stateset.c: Fixed broken implementation.
4387 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4390 Added implementation code for Accessibility_Magnifier_exit ().
4392 * util/mag_control.c:
4393 Added test code for above method; you can
4394 now kill an existing magnifier via
4395 ./mag_control q, from the util directory.
4397 * test/key-listener-test.c:
4399 Added a new test, for our key listener API.
4401 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4403 * test/app.c, test/keysynth-demo.c:
4405 Replace use of snprintf with g_snprintf.
4406 (fix for bugzilla 78249)
4408 2002-03-27 Michael Meeks <michael@ximian.com>
4412 * util/Makefile.am (INCLUDES): fix.
4413 (DONT_DIST_SOURCE): don't distribute the
4416 * libspi/Makefile.am (dist-hook): ditto.
4418 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4420 * libspi/hypertext.c:
4421 Fix warnings when yelp is used with atk-bridge
4423 2002-03-21 Michael Meeks <michael@ximian.com>
4425 * libspi/application.c (spi_application_new):
4426 use spi_accessible_construct so we use the AtkObject
4429 2002-03-19 Michael Meeks <michael@ximian.com>
4431 * registryd/registry.c (desktop_remove_application),
4432 (desktop_add_application): clean coding style.
4434 * registryd/desktop.c (spi_desktop_remove_application),
4435 (spi_desktop_add_application): kill re-enterency hazards.
4436 (spi_desktop_dispose): remove bogus redundant cast
4437 obscuring bug; fix bug too.
4438 (spi_desktop_init): make the desktop object immortal.
4440 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4443 Added a #define-guarded tree-traversal step
4444 when enumerating the apps (diagnostic tool).
4446 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4448 * idl/Accessibility_Role.idl:
4449 Added ROLE_DRAWING_AREA which seemed to be missing from the
4452 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4454 * cspi/spi-roletypes.h cspi/spi_accessible.c
4455 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4458 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4459 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4460 AT when applications are added and removed from the desktop. This
4461 reverts the previous broken implementation using the backing
4462 AtkObject for the SpiDesktop.
4464 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4466 * registryd/desktop.c: emit the "children-changed::add" and
4467 "children-changed::remove" signals on the backing ATK object for
4468 the desktop so AT can tell when applications are started and shut
4471 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4473 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4475 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4477 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4479 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4481 * cspi/state-types.h: synched with IDL and ATK
4483 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4485 * libspi/accessible.c
4486 (impl_accessibility_accessible_get_child_at_index):
4487 Change return value for g_return_if_fail ()
4488 to CORBA_OBJECT_NIL instead of "0" (!)
4490 * registryd/Makefile.am:
4491 * registryd/Accessibility_Register.server.in:
4492 Changed name of executable, "registryd",
4493 to something more informative:
4496 2002-03-13 Michael Meeks <michael@ximian.com>
4498 * atk-bridge/bridge.c (atk_bridge_init): don't register
4499 if we're in a bonobo-component, rather than a bonobo app.
4501 2002-03-13 Michael Meeks <michael@ximian.com>
4503 * atk-bridge/bridge.c (gtk_module_init): split
4504 out body to (atk_bridge_init): here, since otherwise
4505 we get symbol conflicts and oddness when invoked
4506 from (gnome_accessibility_module_init): here (upd.)
4508 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4511 New file. Explicitly allow "build sheriff" putbacks provided
4512 they are tested on Solaris.
4514 * docs/reference/cspi/Makefile.am:
4515 Added '-' to the "cp" command for index.sgml.
4516 ("patch by thomasvs, soon coming to a GUADEC near you")
4519 Incremented version number (0.9.0) for new release.
4520 Changed macro that checks for popt, to better detect
4521 obsolete versions of popt.
4524 Added X_LIBS to AC_SUBST, for applications
4525 that call Xlib API directly.
4528 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4531 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4534 Fix regression caused by hard-coding major
4535 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4538 * test/test-simple.c (test_editable_text),
4539 (test_test): revert previous change (error was
4540 a regression in gail which is now fixed).
4542 2002-03-04 Michael Meeks <michael@ximian.com>
4544 * test/test-simple.c (test_editable_text),
4545 (test_text): pass G_MAXINT instead of '-1' for
4546 whole string - is this a good thing !?
4548 * cspi/spi_accessible.c
4549 (Accessible_getRelationSet): fix crasher bug
4550 overwriting the end of the array.
4552 * test/test-simple.c (validate_accessible): free,
4553 not g_free returned relation set.
4555 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4557 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4558 implemented stateset support
4560 * idl/Accessibility_State.idl: Made necessary changes to
4561 the IDL to support state sets.
4563 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4565 * registryd/deviceeventcontroller.c:
4566 Added implementation for generateMouseEvent.
4568 * cspi/spi_registry.c:
4569 Connected new implementation for generateMouseEvent
4572 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4575 Incremented revision (but no change in public API
4576 outside of 'utils', which are not installed public yet.)
4578 * libspi/component.c:
4579 Changed to use atk_component API for layers and
4580 mdi_zorder, instead of deprecated atk_object API.
4582 Magnification Utility Enhancements:
4585 Added implementation of createZoomRegion, clearAllZoomRegions,
4586 resizeZoomRegion. Added new commandline argument
4587 "--no-initial-region". Note that clearAllZoomRegions doesn't
4588 unmap the old '0' region as it should (yet), and the other
4589 methods only work when creating/resizing a single region,
4590 which is "region 0".
4591 (Code for multiple region support will be added later.)
4594 Now we raise the magnifier window each time it's refreshed;
4595 this will help keep it on top.
4597 * util/mag_client.h:
4598 Added simple wrappers for above, used by mag_control.
4599 For general use, it's recommended to use the bonobo magnifier
4600 control API directly instead of using these wrappers.
4603 Moved ZoomRegionData from magnifier.c to this file.
4605 * util/mag_control.c:
4606 Added some code to exercise new IDL implementations.
4608 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4610 * libspi/text.c: Provide implementation for getAttributes.
4612 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4615 Incremented revision.
4617 * test/test-simple.c:
4618 Replaced use of deprecated g_main_iteration with
4619 g_main_context_iteration.
4621 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4624 Incremented revision for desktop alpha 2.
4626 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4628 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4631 * test/simple-at.c: include netinet/in.h.
4633 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4635 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4636 use NULL, not CORBA_OBJECT_NIL.
4638 * libspi/accessible.c:
4639 (impl_accessibility_accessible_get_relation_set):
4640 allocate the sequence correctly.
4642 * libspi/remoteobject.h: kill spi_remote_object_new.
4644 * test/test-simple.c: (validate_accessible): add code
4645 to test relation sets, now all we need is to figure
4646 out how to excercise this code path :/
4648 2002-01-18 Michael Meeks <michael@ximian.com>
4650 * test/test-simple.c
4651 (key_listener_cb): consume the key.
4652 (test_keylisteners): update.
4653 (main): wait for any pending unrefs on events.
4655 * registryd/deviceeventcontroller.c
4656 (spi_controller_update_key_grabs): only re-issue the
4657 grab on a key release.
4658 (spi_device_event_controller_forward_key_event):
4659 refresh the keygrabs before we notify the listeners,
4660 to reduce the X ungrab / re-grab race.
4661 (spi_controller_register_with_devices): remove
4662 XSelectInput - we do that with the gdk_window_ call.
4663 (_spi_controller_device_error_handler): return a value.
4664 s/GDK_DISPLAY/spi_get_display/
4666 2002-01-17 Michael Meeks <michael@ximian.com>
4668 * registryd/deviceeventcontroller.c
4669 (_deregister_keygrab): don't blow out the later
4672 * test/test-simple.c (test_keylisteners): do a
4673 more intelligent validation.
4675 2002-01-14 Michael Meeks <michael@ximian.com>
4677 * atk-bridge/bridge.c
4678 (gnome_accessibility_module_init),
4679 (gnome_accessibility_module_shutdown): impl.
4680 (gtk_module_init): protect vs. double inits.
4681 (add_signal_listener): impl.
4682 (spi_atk_bridge_state_event_listener): kill
4683 (deregister_application): split out of
4684 (spi_atk_bridge_exit_func): here.
4686 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4689 Added caret tracking when using magnifier, and
4690 now use text bounds for focus tracking of text elements, rather than
4691 the component bounds - this is helpful for short text fields in long
4692 table cells, at high magnification.
4694 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4696 * registryd/deviceeventcontroller.c:
4697 Regression fix for keylistener de-registration; global keygrabs
4698 were not being released when deregisterKeystrokeListener was
4699 called in cspi, since
4700 Accessibility_DeviceEventController_deregisterKeystrokeListener
4701 was called with a zero-length keyset. That is because the cspi
4702 method, SPI_deregisterKeystrokeListener, does not take a keyset
4703 parameter but instead should remove all the key grabs held be a
4705 The code in impl_deregister_keystroke_listener was changed to copy
4706 the keylist from the listener instance previously registered with
4707 the DeviceEventController before releasing the grabs.
4709 * registryd/registry.c:
4710 * registryd/deviceeventcontroller.c:
4711 * libspi/spi-private.h:
4713 Changed spelling of "re-enterant" to "re-entrant" globally.
4715 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4717 * test/test-simple.c:
4718 Changed key listeners test - the test was slightly mis-using the
4719 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4720 It now uses '=' as the key event listened to and generated,
4721 relying on a keysym match rather than assuming that keycode 33
4722 is always equal to keysym '!'.
4724 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4727 Changed simple-at to use a specific keyset, rather than
4728 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4729 manager, desktop, etc.
4731 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4733 * registryd/deviceeventcontroller.c:
4734 Replaced standard X error handler with a special handler that
4735 is non-fatal for failed keygrabs. This works around
4736 problems with keygrab clashes sometimes observed on
4738 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4739 mouse handling code as yet).
4741 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4744 Incremented revision for desktop alpha release.
4747 Fixed a couple of the more glaring errors (still not
4750 2002-01-11 Michael Meeks <michael@ximian.com>
4752 * registryd/deviceeventcontroller.c
4753 (spi_device_event_controller_forward_key_event): kill
4754 XUngrabKey / XKeyGrab race.
4755 (spi_controller_grab_keyboard): rename to
4756 (spi_controller_update_key_grabs): this, and deal
4757 with incremental adding / removing grabs more
4759 (_register_keygrab): ensure we're not pending a remove.
4760 (spi_grab_mask_free): impl.
4761 (spi_controller_register_global_keygrabs): split out
4763 (handle_keygrab): impl.
4764 (_deregister_keygrab): impl.
4765 (spi_controller_deregister_global_keygrabs): impl.
4766 (spi_controller_update_key_grabs): re-issue the grab if
4767 we just recieved a notification.
4769 * test/test-simple.c (key_listener_cb): remove debug.
4771 * registryd/deviceeventcontroller.c
4772 (spi_controller_register_device_listener): after
4773 registering a global keygrab, actualy register it !
4774 don't wait for a timeout; doh !
4776 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4777 to make it more readable / manipulable.
4778 s/grabmask/grab_mask/ s/refcount/ref_count/
4779 s/keyval/key_val/ s/modmask/mod_mask
4781 2002-01-08 Michael Meeks <michael@ximian.com>
4783 * registryd/deviceeventcontroller.c
4784 (spi_controller_register_with_devices): use gdk calls to
4786 (global_filter_fn): implement the filter.
4787 (spi_device_event_controller_check_key_event): rename to
4788 (spi_device_event_controller_forward_key_event): this & upd.
4789 (spi_get_display): replace with GDK_DISPLAY.
4791 * registryd/deviceeventcontroller.c
4792 (spi_controller_deregister_device_listener): unroll into
4793 (impl_deregister_keystroke_listener): here to simplify.
4794 (spi_controller_register_global_keygrabs): split cut and
4795 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4796 (spi_controller_deregister_device_listener): remove.
4797 (impl_register_mouse_listener): remove, no mouse listener
4798 support in at-spi-1.0
4800 * registryd/registry.c
4801 (_device_event_controller_hook): kill.
4802 (spi_registry_init): upd.
4804 * registryd/deviceeventcontroller.c
4805 (spi_device_event_controller_class_init): upd.
4806 (spi_check_key_event): merge into.
4807 (spi_device_event_controller_check_key_event):
4808 here and kill strange static ev init, don't leak
4809 the x_event - nor dynamicaly allocate it.
4811 * registryd/registry-main.c (main): re-direct
4812 timeout to remove strange vtable mess.
4814 * registryd/deviceeventcontroller.c
4815 (remove_listener_cb): impl.
4816 (spi_controller_deregister_device_listener):
4817 fix re-enterancy hazard.
4819 2002-01-07 Michael Meeks <michael@ximian.com>
4821 * registryd/deviceeventcontroller.c
4822 (spi_device_event_controller_new): upd.
4823 (impl_notify_listeners_sync): upd. debug.
4824 (spi_notify_keylisteners): fix re-enterancy hazards,
4825 prettify, remove O(n*n) iteration.
4826 (spi_controller_grab_keyboard): fix iteration.
4827 (spi_check_key_event): re-format to suit coding style.
4828 Clean all the warnings - we're warning free.
4830 * registryd/deviceeventcontroller.h:
4831 * registryd/registry.h: make mutualy referential with
4832 typesafe forward references instead of (!) void pointer
4835 2002-01-11 Michael Meeks <michael@ximian.com>
4837 * cspi/spi_accessible.c (role_names): add a role name
4838 to sync this array with the enum; and make the regression
4841 2002-01-10 Michael Meeks <michael@ximian.com>
4843 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4844 allow expansion of enumeration & kill warning.
4846 * test/test-simple.c (key_listener_cb): impl.
4847 (test_keylisteners): impl.
4849 * cspi/spi-listener.h: make listener signatures const
4850 on the provided (const) events.
4852 * test/keysynth-demo.c: upd. to const events.
4854 * test/simple-at.c: ditto.
4856 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4859 Rev the version to 0.5 (the previous tarball was named 0.4,
4860 even though the micro number was 3), so we need to rev upwards
4861 again for beta2/"desktop-alpha"
4864 Checked in a demo script, which requires editing before use!
4865 Proceed with caution.
4868 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4870 * cspi/spi_accessible.c:
4871 Add a couple of missing enum initializations, and fix some enum
4874 * cspi/spi_registry.c:
4875 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4877 * docs/reference/cspi/at-spi-cspi-sections.txt:
4878 Remove/fix a couple of broken document references.
4881 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4882 as Alt-Control to listen for commands, since on some systems
4883 Control-Alt may already be grabbed.
4885 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4888 Update version number to 0.4 for Beta2.
4890 * libspi/accessible.c, libspi/accessible.h:
4891 Expose spi_accessible_construct, to enable libgail-gnome
4892 construction from spi_accessible subtype.
4894 * utils/magnifier.c:
4895 Workaround for bug in some non-gnome-compliant window managers
4896 which made magnifier resize improperly.
4898 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4900 * libspi/accessible.c: (spi_accessible_new) :
4901 Move the test for SPI_IS_REMOTE_OBJECT to
4902 spi_accessible_new_return, fixing a bug and compile time warning.
4904 2002-01-08 Michael Meeks <michael@ximian.com>
4906 * registryd/registry.c (parse_event_type): remove strndup.
4908 * libspi/Makefile.am (libspi_la_SOURCES): remove
4909 sources already included in the headers section.
4911 * libspi/util.c: add.
4913 * libspi/spi-private.h: add.
4915 * registryd/registry.c: update to moved list iterators.
4917 2002-01-05 Michael Meeks <michael@ximian.com>
4919 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4921 * test/test-simple.c (main): ditto.
4923 2002-01-04 Michael Meeks <michael@ximian.com>
4925 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4926 redundant construct.
4928 * registryd/registry.c
4929 (get_listener_list): impl.
4930 (impl_accessibility_registry_register_global_event_listener):
4931 re-impl. to simplify using ~, remove dodgy const cast off.
4932 (parse_event_type): constify.
4933 (impl_accessibility_registry_deregister_global_event_listener_all):
4934 re-write, more efficiency and simplicity, kill re-enterancy
4936 (compare_listener_corbaref, compare_corba_objects),
4937 (compare_listener_quarks): define out.
4938 (impl_accessibility_registry_deregister_global_event_listener):
4939 re-write for effiency, and nail re-enterancy hazard.
4940 (impl_accessibility_registry_get_desktop_list): impl.
4941 (re_enterant_list_delete_link): impl.
4942 (re_enterant_list_foreach): impl.
4943 (remove_listener_cb): impl.
4944 (_registry_notify_listeners): kill.
4945 (notify_listeners_cb): impl.
4947 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4948 (SPI_getDesktopList): impl.
4950 * test/test-simple.c (test_desktop): test the methods.
4952 2002-01-03 Michael Meeks <michael@ximian.com>
4954 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4955 keystrings since we free them
4956 (SPI_freeAccessibleKeySet): in here.
4958 * libspi/accessible.c (spi_accessible_new): kill warning,
4959 wonder what is going on with the constructor here.
4961 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4963 * libspi/accessible.c (spi_accessible_new ()) :
4964 Added check to see if AtkObject is an SpiRemoteObject before
4965 creating an SpiAccessible.
4967 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4969 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4970 Enable keygrabs using the Control modifier, now that they are
4971 working properly (they were previously disabled).
4974 Change the command keygrab for this demo to "Control+Alt", so as
4975 to conflict with fewer other key commands on the system; this
4976 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4978 Removed a pointlessly-chatty keylistener for unshifted keys
4979 (shifted keys are still reported).
4981 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4983 * libspi/remoteobject.h:
4984 * libspi/remoteobject.c:
4985 Added definitions for special AtkObject subtype, required for
4986 support of remote components (specifically, used by BonoboControl
4987 accessibility implementation).
4989 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4991 * cspi/spi.h: synched relation types with ATK
4993 * cspi/spi_accessible.c: Added implementations of
4994 AcccessibleRelation_* methods
4996 * idl/Accessibility_Relation.idl: added getRelationTypeName
4997 method. Synched known relation types with ATK. Allowed for
4998 relation type extension with the RELATION_EXTENDED type.
5000 * libspi/relation.c: Provided implementations for
5001 AccessibleRelation methods.
5003 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5005 API tweaks for today's API 'freeze'.
5008 Added placeholder functions to allow future compatible expansion
5009 of the IDL interfaces.
5011 * idl/Accessibility_Registry.idl:
5012 Changed generateKeyEvent to generateKeyboardEvent. Changed
5013 signature of this method to accept an optional keystring in
5014 parameter (for complex text input synthesis) and changed use of
5015 simple 'boolean' parameter in registerKeystrokeListener to a
5016 struct, EventListenerMode.
5018 * cspi/spi_accessible.c:
5020 * cspi/spi_streamablecontent.c:
5021 Added references to AccessibleStreamableContent interface, and
5022 definition and implementation of AccessibleStreamableContent
5025 * cspi/spi_registry.c:
5027 Changed generateKeyEvent API to generateKeyboardEvent,
5028 taking a new (optional) keystring parameter to support complex
5033 Renamed directory (to better reflect its actual purpose, bridging
5034 from at-spi to ATK). The .so module is also now named
5037 * idl/Accessibility_Hypertext.idl:
5038 * libspi/accessible.c:
5039 * libspi/hypertext.h:
5040 * libspi/hypertext.c:
5041 Changed Accessibility_Hypertext to *not* derive from
5044 * cspi/spi_registry.c:
5045 Added list of legal event type names for 'window' events, which
5046 completes the registry event API.
5048 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5050 * at-bridge/bridge.c: Added registration for separate
5051 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5052 signals. If either of the first two parameters to the generic
5053 bridge signal handler are ints, they are passed on as event
5054 details. This allows an AT to determine what text was inserted.
5056 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5058 * registryd/deviceeventcontroller.c:
5059 Fixed regressions in generateKeyEvent caused by the removal of
5060 gdk_init from registryd; we now use pure X calls to connect to the
5061 display, which makes sense because deviceeventcontroller already
5062 uses a fair bit of X API (should eventually be migrated to a
5063 'portability layer').
5065 * registryd/desktop.c:
5066 Fixed minor regression in spi_desktop_init, changed the way the
5067 desktop name is being set to work with new spi_base API
5068 (gobject-based, rather than AtkObject-based).
5070 * registryd/Makefile.am:
5071 Minor revision of makefile to use XTST_LIBS variable rather than
5072 hard-wiring the Xtst LD_ADD element.
5074 * test/keysynth-demo.c:
5075 Tweaked an output message; added initialization of the
5076 'keystrings' member of the "switch listener" key_set.
5078 * libspi/relation.c:
5079 Squashed compile-time warning.
5081 * libspi/accessible.c:
5082 Cosmetic and formatting fixes, renamed a static method.
5084 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5086 * libspi/accessible.c
5088 * libspi/application.c
5091 * libspi/component.c
5092 * libspi/editabletext.c
5093 * libspi/hyperlink.c
5094 * libspi/hypertext.c
5096 * libspi/selection.c
5100 * registryd/desktop.c:
5101 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5103 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5105 * idl/Accessibility_Registry.idl:
5106 Added boolean member 'is_text' to DeviceEvent. This is for the
5107 use of key events, and helps prevent ambiguity between composed
5108 key strings and keysym names, since both may potentially be
5109 returned in the 'event_string' member.
5111 * at-bridge/bridge.c:
5112 * registryd/deviceeventcontroller.c:
5113 Use the 'is_text' member when notifying device event listeners.
5114 Knon issue: composed characters are not dealt with correctly by
5115 the global key listener implementation yet.
5117 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5119 * at-bridge/bridge.c:
5120 Namespaced local static methods to spi_atk_bridge_* where
5121 previously named bridge_*, and spi_* elsewhere.
5123 * at-bridge/bridge.c:
5124 * cspi/bonobo/cspi-bonobo-listener.c:
5125 Added demarshalling/conversion for string member of
5126 Accessibility_DeviceEvent to AccessibleKeystroke.
5128 * registryd/deviceeventcontroller.c:
5129 Added code to fill the Accessibility_DeviceEvent key string value
5130 member for global key events (i.e. from XGrabKey), to match
5131 behavior of Accessibility_DeviceEvent from the toolkit key events
5132 from the bridge. Fixed timestamp in global key event notifications.
5135 Added printout of key event's string value to
5136 report_ordinary_key_event, for demo/debugging purposes.
5138 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5140 * idl/Accessibility_Registry.idl:
5141 Removed Accessibility_KeyStroke structure in favor of generic
5142 Accessibility_DeviceEvent structure.
5143 Changed Accessibility_ControllerEventMask from a struct to an
5146 * at-bridge/bridge.c:
5147 Changed APIs to use DeviceEvent structure as above, and removed
5148 bogus casting between these event structures.
5150 * cspi/spi-listener.h:
5151 Added keystring member of AccessibleKeystroke structure, to enable
5152 matching on event "names" rather than only hardware codes and
5156 Added keystrings member of AccessibleKeySet struct, to allow
5157 matching on event names (as above).
5158 Added declarations for SPI_createAccessibleKeySet and
5159 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5160 event modmasks directly as unsigned ints rather than structs with
5161 refcounts, in the DeviceEventController methods.
5163 * cspi/spi_registry.c:
5164 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5166 * cspi/spi-roletypes.h:
5167 Added documentation of newly added SPI Roles.
5169 * cspi/bonobo/cspi-bonobo-listener.c:
5170 Changes in support of API changes above.
5172 * libspi/accessible.c:
5173 Converted APIs to use DeviceEvent structure (see IDL changes
5176 * registryd/deviceeventcontroller.c:
5177 Added DEControllerGrabMask structure to track keygrabs not only by
5178 modmask but by keyset as well; this allows us to do "global"
5179 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5180 grabbing on AnyKey and then filtering after-the-fact.
5181 Bugfixes for event filtration mean that we don't get false matches
5182 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5184 * registryd/deviceeventcontroller.c:
5185 Namespaced a number of static methods to use spi_ prefix. Major
5186 revision to internals of global (i.e. X) key grabs.
5188 * registryd/deviceeventcontroller.h:
5189 Removed keymask_list and added keygrabs_list to
5190 SpiDeviceEventController struct.
5193 Added use of SPI_createAccessibleKeySet API when creating a
5194 listener for only one key. Attach a listener to "shift spacebar
5195 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5196 X key event names to SPI key event names, so that listeners are
5197 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5199 * test/keysynth-demo.c:
5200 Changed (incorrect) use of X key event names (KeyPressed,
5201 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5204 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5206 * libspi/accessible.c:
5207 Convert all AtkRole enumerations to Accessibility_Role enums when
5208 getting a role from an AtkObject.
5210 * cspi/spi_accessible.c:
5211 Complete the conversion of Accessibility_Role enums at runtime to
5212 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5213 role enums correctly match those given in spi-roletypes.h.
5214 Re-synchronize the local names list for AccessibleRole_getName ().
5215 AccessibleRole_getName is now deprecated, since it duplicates the
5216 more reliable Accessible_getRoleName.
5217 Added some role types from Accessibility_Role.idl.
5219 * idl/Accessibility_Role.idl:
5220 Added some role types used by AtkRole.
5222 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5225 * cspi/spi_registry.c:
5227 * cspi/cspi-bonobo-listener.c:
5228 Namespaced all methods that did not begin with an "SPI_" or
5229 "Accessible" prefix to "SPI_".
5232 Homogenized internal function namespace to "cspi_" for statics.
5235 Patched tests to use the new CSPI API.
5237 * docs/reference/cspi/at-spi-cspi-sections.txt:
5238 Updated docs to reflect namespace changes, and added a number of
5239 methods to the documentation.
5241 * registryd/registry.c:
5242 Changed use of strings and string hashes in listener event
5243 matching and parse_event_string to use GQuark, which is guaranteed
5246 * registryd/registry.h:
5247 Squashed annoying warning.
5249 * idl/Accessibility_Role.idl:
5250 Extended range of available Accessibility_Role values.
5252 * cspi/spi_accessible.c:
5253 Re-ordered role names.
5255 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5257 * idl/Accessibility_Value.idl:
5258 Revert use of union back to CORBA_double, since the double type is
5259 more efficient and can contain the other types without loss of
5262 * idl/Accessibility_Accessible.idl:
5263 Added method Accessibility:Accessible:getRoleName, to complement
5264 Accessibility:Accessible:getRole.
5266 * cspi/spi_accessible.c:
5268 Added C binding for above, Accessible_getRoleName (), and changed
5269 signature of Accessible_getRole () to return an AccessibleRole.
5271 * cspi/spi-roletypes.h:
5272 Changed AccessibleRole_getName to return a char * instead of a
5273 const char *. This method is now at least temporarily deprecated
5274 in favor of asking Accessibles for their RoleNames directly.
5277 Revert to match Accessibility_Value.idl;
5281 Change signature of AccessibleValue methods to use double rather
5285 * cspi/spi_accessible.c:
5286 Changed Accessible_getRole to return an AccessibleRole enum rather
5287 than a UTF-8 string. The UTF-8 string can still be obtained via
5288 AccessibleRole_getName ().
5290 * test/test-simple.c:
5291 Add test_action. Small fixup to match API change to Accessible_getRole.
5294 Bugfix for get_action_from_servant ().
5296 2001-12-11 Michael Meeks <michael@ximian.com>
5298 * libspi/libspi.h: remove registry.h and
5299 desktop.h, deviceeventcontroller.h
5301 * libspi/Makefile.am: remove registry.[ch],
5302 desktop.[ch], deviceeventcontroller.[ch]
5304 * registryd/Makefile.am: add registry.[ch],
5305 desktop.[ch], rename registryd.c to registry-main.c.
5306 add deviceeventcontroller.[ch]
5308 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5311 Replace setenv() call with putenv ().
5313 * libspi/component.c:
5314 Bugfix in AccessibleComponent_getExtents (),
5317 2001-12-11 Michael Meeks <michael@ximian.com>
5319 * libspi/image.c (impl_getImageExtents): impl.
5320 (spi_image_class_init): upd.
5323 (AccessibleImage_getImageDescription): fix daft bug
5326 * test/test-simple.c (global_listener_cb): update
5327 to only quit if not --poke
5328 (main): catch --poke.
5329 (validate_accessible): upd. dumping, call test_image
5332 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5335 * idl/Accessibility.idl: update all IDL includes.
5337 * idl/*.idl - rename to namespace - this sucks, blame
5338 mjs' bad decision for oafd.
5340 * test/test-simple.c (create_test_window): add more tests.
5341 (create_tree): split this out.
5342 (validate_accessible): bugfix.
5344 2001-12-11 Michael Meeks <michael@ximian.com>
5346 * cspi/bonobo/cspi-bonobo-listener.c:
5347 (cspi_kestroke_listener_unref),
5348 (cspi_event_listener_unref): impl. undoing previous
5349 homenous environment - for Bill.
5351 * cspi/spi_table.c (long_seq_to_array): use
5354 * cspi/spi_main.c: split out all bonoboish bits into
5357 * cspi/spi-impl.h: upd. typedefs.
5359 * cspi/spi_registry.c: update to lowlevel API,
5360 return booleans to indicate success in some places.
5362 * cspi/spi_event.c: update to lowlevel API.
5364 * cspi/bonobo/Makefile.am: add.
5366 * cspi/bonobo/cspi-lowlevel.h: add
5368 * cspi/bonobo/cspi-bonobo.c: add
5370 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5372 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5373 (SUBDIRS): add bonobo, link in the libs.
5375 * cspi/spi-util.c: kill this file.
5377 * TODO: merge in my bits.
5379 2001-12-11 Michael Meeks <michael@ximian.com>
5381 * test/test-simple.c (test_value, test_table, main):
5382 remove unused variables causing warnings.
5384 * configure.in: cleanup checks - require gail.
5386 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5389 Changed Value interface to use SValue (scalars) rather than
5390 assuming all values are floats. This allows floats, doubles,
5391 longs, shorts, and unsigned values to be manipulated.
5392 Introduced Accessibility:SValue union.
5395 Updated to use new API above, and to work correctly with GValues
5396 of different types in AtkValue.
5399 Updated to use new API above. cspi's API is as yet unchanged.
5402 Updated the Value revision action item.
5404 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5406 * test/test-simple.c:
5407 Added test_table (GtkTreeView widget in test window to follow).
5408 Un-commented test_value, added GtkRange widget.
5409 Added GtkTreeView widget with GtkListStore. It passes regression
5410 test but leaks one SPI object for some reason.
5413 Fixed bug in impl__set_currentValue.
5415 2001-12-10 Michael Meeks <michael@ximian.com>
5417 * cspi/spi_text.c: audit for exception handling,
5418 tolerating NULL object references safely etc.
5420 * cspi/spi_value.c: ditto.
5422 * cspi/spi_table.c (AccessibleTable_getSummary),
5423 (AccessibleTable_getAccessibleAt),
5424 (AccessibleTable_getRowHeader),
5425 (AccessibleTable_getColumnHeader),
5426 (AccessibleTable_getCaption): fix bugs hidden by
5428 (long_seq_to_array): impl.
5429 (AccessibleTable_getSelectedRows),
5430 (AccessibleTable_getSelectedColumns): use it.
5432 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5435 Added a TODO list (rough and short for now).
5437 * cspi/spi_hyperlink.c:
5438 * cspi/spi_hypertext.c:
5439 Fixed macro name typos, and remove use of obsolete macro in
5440 AccessibleHyperlink_getLink.
5442 * cspi/spi_action.c:
5443 * cspi/spi_accessible.c:
5444 * cspi/spi_application.c:
5445 * cspi/spi_component.c:
5446 * cspi/spi_selection.c:
5449 Documentation fixes (removed return values from ref/unref methods).
5451 2001-12-10 Michael Meeks <michael@ximian.com>
5453 * cspi/spi_action.c: audit for exception handling,
5454 tolerating NULL object references safely etc.
5456 * cspi/spi_accessible.c: ditto.
5458 * cspi/spi_component.c: ditto.
5460 * cspi/spi_editabletext.c: ditto.
5462 * cspi/spi_hyperlink.c: ditto.
5464 * cspi/spi_hypertext.c: ditto.
5466 * cspi/spi_image.c: ditto.
5468 * cspi/spi_selection.c: ditto.
5470 2001-12-10 Michael Meeks <michael@ximian.com>
5472 * configure.in: use cspi/libspi.pc.in instead.
5474 * Makefile.am (pkgconfig_DATA): upd. to match.
5476 * test/simple-at.c (report_focus_event): kill hacks around
5477 bad return values, use putenv not setenv
5479 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5480 fire ChildGone - I killed it.
5482 * libspi/component.c
5483 (impl_accessibility_component_get_extents): remove
5486 * idl/Accessible.idl: kill ChildGone exception.
5488 * cspi/*.[ch]: kill int return from ref / unref.
5490 * cspi/spi_main.c (cspi_object_add_check): fold into
5491 (cspi_object_add): here.
5493 * cspi/spi_component.c (AccessibleComponent_getExtents):
5494 handle exceptions elegantly.
5496 * cspi/spi-private.h (cspi_check_ev_return),
5497 (cspi_return_if_fail): impl.
5499 * cspi/spi_accessible.c: use extensively.
5500 (AccessibleStateSet_equals): add direct compare check.
5502 * cspi/spi_selection.c: tolerate NULL objs, and check
5503 exceptions before return.
5505 * cspi/spi-util.c (cspi_warn_ev): rename to
5506 (cspi_check_ev): this & don't pass ev in; no point.
5508 2001-12-10 Michael Meeks <michael@ximian.com>
5510 * test/test-simple.c: use putenv not setenv
5511 (get_environment_vars): more chatty if you're not using
5514 * test/simple-at.c: do the setenv so more people see the
5517 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5519 * libspi/registry.c:
5520 Changed check of CORBA_environment on notification to be a warning
5521 instead of an error for the moment, since we can recover from this
5522 error when caused by a queued notification from a dead app.
5525 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5526 used by all current implementors of AtkValue), and coerce to
5527 CORBA_float. (Proper general case fix may require change to Value.idl).
5529 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5533 * cspi/spi_accessible.c:
5534 Documentation fixes: added user_data params to documentation for
5535 listeners and callbacks.
5537 * cspi/spi_accessible.c:
5538 Changed AccessibleStateSet_compare to return a
5539 StateSet rather than return the difference set into a third parameter.
5542 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5545 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5546 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5550 Remove subdirectory po from SUBDIRS for now.
5552 * at-bridge/bridge.c:
5553 Beefed up a couple of debug printouts.
5554 One-line fix for signal notification name formatting.
5556 * libspi/accessible.c:
5557 Added assertion to spi_accessible_new ().
5559 * libspi/application.c:
5560 Put #ifdef qualifiers around a printf.
5563 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5565 * registryd/Makefile.am:
5567 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5568 INTLTOOL_SERVER_RULE macro.
5571 Added an event listener for several ATK signals, for
5572 testing and debugging. Removed a few g_warnings.
5573 Added test output if focussed item implements the Value interface.
5575 * test/test-simple.c:
5576 Added test_value () function (known not to pass at the moment, so
5577 not actually called yet.
5579 2001-12-08 Michael Meeks <michael@ximian.com>
5581 * at-bridge/bridge.c (bridge_focus_tracker),
5582 (emit_eventv): fix the same ref. leak.
5583 (register_atk_event_listeners): don't leak.
5585 * cspi/spi-listener-impl.c (cspi_event): more
5586 protection from client code.
5588 * test/test-simple.c (test_desktop): unref the app.
5590 * test/Makefile.am: upd. TESTS.
5592 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5594 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5596 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5598 * cspi/spi_registry.c: constify in strings.
5599 (deregisterGlobalEventListenerAll): don't release the ref.
5601 * cspi/spi.h: start removing redundant / conflicting
5602 gtkdoc comments, making the API readable at a glance :-)
5604 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5606 * test/keysynth-demo.c (keysynth_exit, main): upd.
5608 * test/simple-at.c (main, simple_at_exit): upd.
5610 * test/test-simple.c (unutterable_horror): kill.
5611 (utterable_normal_derefs): kill.
5612 (main): upd & do a setenv before gtk_init, so that we
5613 can use memprof - and to save the pain of remembering
5614 this, if we're running under memprof - don't exit.
5616 * cspi/spi_main.c (SPI_exit): return exit status
5618 (SPI_event_quit): impl.
5619 (SPI_event_main): simplify.
5620 (cspi_is_gnome_app): kill.
5621 (SPI_init): kill isGNOMEapp arg.
5623 * at-bridge/bridge.c (register_atk_event_listeners):
5624 re-instate the unref.
5625 (bridge_exit_func): don't re-activate the registry,
5626 protect vs. theoretical re-entry, use the
5627 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5628 assert a clean shutdown - for regression tests.
5630 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5632 * configure.in: Comment out dummy i18n support for now,
5633 otherwise it fails to build.
5634 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5635 EXTRA_DIST. They are missing in tarball.
5637 2001-12-07 Michael Meeks <michael@ximian.com>
5639 * util/magnifier.c: kill bonobo activation reg. race.
5641 * libspi/component.c
5642 (impl_accessibility_component_get_extents): make it match
5645 * libspi/registry.c (_registry_notify_listeners):
5646 re-remove X headers & reconcile conflicts.
5647 (spi_listener_struct_free): bad conflict resolve.
5648 (impl_accessibility_registry_register_application):
5649 more bad merging fixed.
5650 (impl_accessibility_registry_deregister_application): ditto.
5651 (spi_registry_new): ditto.
5652 (spi_registry_init): don't have an applications field.
5654 [ merge fixups2 branch to here ]
5655 2001-12-07 Michael Meeks <michael@ximian.com>
5657 * test/simple-at.c (report_focus_event),
5658 (report_focussed_accessible): remove g_warning debug.
5660 2001-12-07 Michael Meeks <michael@ximian.com>
5662 * test/test-simple.c (validate_tree): comment out some checks.
5663 (test_desktop): app now not registered idly - horay.
5665 2001-12-07 Michael Meeks <michael@ximian.com>
5667 * cspi/spi_registry.c
5668 (registerAccessibleKeystrokeListener): clean, stop it leaking
5669 great swathes of memory, and device event controller references.
5670 ensure we always pass valid sequences.
5671 (deregisterAccessibleKeystrokeListener): ditto.
5672 (generateKeyEvent): upd.
5674 * at-bridge/bridge.c (bridge_key_listener): handle
5675 registry dead exception gracefully.
5676 (bridge_focus_tracker, emit_eventv): free ev.
5678 * test/simple-at.c (report_focus_event): fix polarity.
5680 * libspi/application.c (notify_listeners): kill the ev
5681 argument, and make sure we init the ev we use.
5682 (spi_application_object_event_listener): split out a chunk
5683 (get_atk_object_ref): here & fixup.
5684 (reverse_lookup_name_for_toolkit_event): make const.
5685 (spi_application_toolkit_event_listener): fixup, kill leaks
5688 * at-bridge/bridge.c (register_atk_event_listeners):
5689 don't unref the noop object - causes grief.
5691 * libspi/registry.c: remove the X headers.
5692 turn off the debug churn.
5694 * libspi/accessible.c (spi_accessible_new_return): only
5695 release the ref if we are supposed to [doh]
5697 * test/simple-at.c (report_button_press, report_focus_event):
5698 guard vs. unexpected exit.
5700 * at-bridge/bridge.c (gtk_module_init): prune printf.
5701 (bridge_exit_func): fix app unref.
5703 * libspi/Makefile.am: don't install registry or desktop.h
5705 * libspi/*.h: update includes.
5707 * libspi/application.h: don't include ourself, or
5708 other redundant headers.
5710 2001-12-06 Michael Meeks <michael@ximian.com>
5712 * libspi/accessible.c
5713 (get_accessible_from_servant): impl.
5714 Upd. all CORBA impl.s to use it killing cut and paste.
5716 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5718 (SPI_init): register atexit cleanup handler here.
5720 2001-12-06 Michael Meeks <michael@ximian.com>
5722 * at-bridge/bridge.c (gtk_module_init): g_error on
5723 activation exception
5725 2001-12-06 Michael Meeks <michael@ximian.com>
5727 * at-bridge/bridge.c (gtk_module_init): some sort of
5728 confusing merge clash - reverted.
5729 (bridge_idle_init): ditto.
5731 * test/test-simple.c (main, utterable_normal_derefs):
5732 merge from Bill - somehow not committed.
5734 2001-12-06 Michael Meeks <michael@ximian.com>
5736 * libspi/value.c (spi_value_class_init): upd.
5737 (spi_value_finalize): kill.
5739 * libspi/table.c (spi_table_finalize): kill.
5740 (spi_table_interface_new): upd.
5741 (spi_table_class_init): upd.
5742 (get_table_from_servant): impl.
5743 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5745 * libspi/selection.c (spi_selection_finalize): kill.
5746 (spi_selection_interface_new): upd.
5747 (spi_selection_class_init): upd.
5748 (get_selection_from_servant): impl.
5749 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5751 * libspi/relation.c (spi_relation_finalize): kill.
5752 (spi_relation_class_init, spi_relation_new): upd
5754 * libspi/image.c (spi_image_finalize): kill.
5755 (spi_image_class_init): upd.
5756 (spi_image_interface_new): upd.
5757 (get_image_from_servant): impl.
5758 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5760 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5761 (spi_hyperlink_finalize): kill.
5762 (spi_hyperlink_new): upd.
5763 (get_hyperlink_from_servant): impl.
5764 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5766 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5767 (spi_hypertext_finalize): kill.
5768 (spi_hypertext_class_init): upd.
5769 (get_hypertext_from_servant): impl.
5770 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5772 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5773 (spi_editable_text_interface_new): upd.
5774 (get_editable_text_from_servant): impl.
5775 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5777 * libspi/text.c (get_text_from_servant): impl.
5778 All impls - update to use it killing more cut and paste,
5779 also fix bad string returns on duff args ( a somewhat
5780 impossible case to handle - but hey ).
5781 (spi_text_construct): impl.
5782 (spi_text_interface_new): upd.
5783 (spi_text_object_finalize): kill.
5785 * libspi/component.c
5786 (accessibility_component_object_finalize): kill.
5787 (spi_component_class_init): upd.
5788 (get_component_from_servant): impl. helper to kill cut & paste.
5789 (impl_accessibility_component_contains):
5790 (impl_accessibility_component_get_accessible_at_point):
5791 (impl_accessibility_component_get_position):
5792 (impl_accessibility_component_get_extents):
5793 (impl_accessibility_component_get_mdi_z_order):
5794 (impl_accessibility_component_get_layer):
5795 (spi_component_interface_new): upd.
5797 * libspi/action.c (spi_action_finalize): kill.
5798 (spi_action_class_init): upd. inherit from SpiObject.
5799 (spi_action_interface_new): upd.
5800 (get_action_from_servant): impl. helper to reduce cut & paste.
5801 (impl_getKeyBinding, impl_getName, impl_doAction),
5802 (impl_getDescription): Use it everywhere.
5804 * cspi/spi_main.c (get_live_refs): a pointer hash.
5805 (spi_object_hash, spi_object_equal): comment out.
5806 There are issues with CORBA object hashing that need
5809 * libspi/application.c (spi_application_init),
5810 (spi_application_new): upd.
5812 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5813 (spi_accessible_class_init): upd.
5814 s/accessible/object/ in epv methods.
5816 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5818 * at-bridge/bridge.c:
5819 Reorder the bridge initialization into the bridge gtk_module_init,
5820 an immediate call to bridge_register_app, and an idle_add for
5821 register_atk_event_listeners (the only code that *must* wait until
5822 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5823 the activation, creates the application's Accessible object, and
5824 queues the bridge_idle_init function. Restored call to
5825 Accessibility_Registry_deregisterApplication().
5826 Prior to making this call we obtain a new reference to the
5827 registry, which is a temporary hack that helps us handle apps that
5828 shut down the bonobo mainloop before we get there.
5830 * libspi/registry.c:
5831 Fix string leakage in debug block, and don't segv if a an app
5832 dies before its event notifications have been propagated.
5835 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5836 as stopgap measure until we get proper exception handling when
5837 objects die during or before interrogation.
5841 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5842 Also changed default value of is_gnome_app to TRUE.
5845 * test/keysynth-demo.c:
5846 Changed use of SPI_init and SPI_event_main to reflect API change above.
5849 Made report_focus_event check the warning value from getName
5850 before reporting on focussed accessible; simplifies handling of
5851 notifications from dead objects.
5853 * test/test-simple.c: (Changes not in this patch since source is
5856 2001-12-05 Michael Meeks <michael@ximian.com>
5858 * registryd/registryd.c (main): protect against
5859 bonobo-activation startup race condition.
5861 * cspi/spi_main.c (cspi_object_add_check): cope
5862 with the exception elegantly.
5864 * idl/Accessible.idl: decl. ChildGone
5866 * libspi/desktop.c (spi_desktop_dispose): impl.
5867 (spi_desktop_class_init): upd.
5868 (spi_desktop_add_application),
5869 (spi_desktop_remove_application),
5870 (abnormal_application_termination): impl.
5871 (impl_desktop_get_child_at_index): re-impl.
5874 (impl_accessibility_registry_deregister_application),
5875 (impl_accessibility_registry_register_application):
5876 kill excessive debug clutter.
5878 * test/test-simple.c (test_misc): test some NULL
5879 tolerance. (main): upd.
5881 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5882 implements no interfaces - so let's not crash.
5884 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5886 * libspi/accessible.c (spi_accessible_new_return): impl.
5887 helper to calm the cut and paste, to cope with
5888 NULL AtkObjects effectively and efficiently, and to kill
5889 the referencing bugs.
5891 * libspi/table.c (impl_getAccessibleAt),
5892 (impl_getRowHeader, impl_getColumnHeader): upd.
5894 * libspi/hyperlink.c (impl_getObject): upd.
5896 * libspi/accessible.c
5897 (impl_accessibility_accessible_get_child_at_index): upd.
5899 * libspi/component.c
5900 (impl_accessibility_component_get_accessible_at_point): upd.
5902 * test/test-simple.c (test_editable_text, test_text): impl.
5905 * cspi/spi_editabletext.c
5906 (AccessibleEditableText_insertText): constify.
5908 * test/test-simple.c (focus_me): make more robust.
5910 * libspi/accessible.c: remove some printfs in methods that
5911 we test and work fine, so we can get a clean tree dump.
5913 * test/test-simple.c (validate_accessible),
5914 (validate_tree): make tree dumping pretty too.
5916 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5917 it builds without debug on.
5919 * test/test-simple.c (validate_accessible): fix the most
5922 * cspi/spi_main.c (spi_object_release): leave the nicely
5923 blanked memory around if in debug mode.
5925 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5927 [committed to fixups2]
5928 2001-12-05 Michael Meeks <michael@ximian.com>
5930 * libspi/editabletext.c
5931 (spi_editable_text_class_init): g_type_class_peek_parent,
5932 not interface peek - so we finalize cleanly.
5934 * libspi/accessible.c (spi_accessible_new): kill debug.
5936 * test/test-simple.c (validate_accessible): fix ref.
5937 leak, print strings before freeing them; sigh, comment a
5938 chunk out due to strangeness.
5939 (validate_tree): unref the child after use.
5941 * cspi/spi_component.c (AccessibleComponent_getLayer):
5942 add missing break statement, switch on zlayer not the
5943 uninitialized retval.
5945 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5946 before (possibly re-entering) remote unref.
5948 * test/simple-at.c (main): unref the desktop.
5950 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5953 * cspi/spi_main.c (cspi_accessible_is_a): here to
5954 isolate bonobo API usage more.
5956 * libspi/registry.c (impl_accessibility_registry_register_application):
5957 prune bogus comment.
5959 2001-12-04 Michael Meeks <michael@ximian.com>
5961 * test/test-simple.c (validate_tree): upd.
5962 IndexInParent check to make it more lucid.
5963 (validate_accessible): dump the tree.
5965 * libspi/accessible.c (de_register_public_ref),
5966 (get_public_refs): impl.
5967 (spi_accessible_new): make more efficient & intuitive.
5968 Now IndexInParent check works.
5970 2001-12-04 Michael Meeks <michael@ximian.com>
5972 * cspi/spi-util.h: remove.
5974 * cspi/spi.h: move SPI_freeString here
5976 * libspi/component.c (impl_accessibility_component_get_layer):
5978 (impl_accessibility_component_get_mdi_z_order): ditto,
5979 return -1 on error - is this ok ?
5981 * test/test-simple.c (test_application): impl.
5983 * cspi/spi_accessible.c (Accessible_getApplication),
5984 (Accessible_isApplication): impl.
5986 * libspi/registry.c (spi_listener_struct_free): release
5987 the CORBA reference too.
5989 * libspi/accessible.c
5990 (impl_accessibility_accessible_get_parent): fix ref leak.
5992 * libspi/registry.c (spi_registry_new): make the registry
5993 immortal - we don't want it to go away ever.
5995 * libspi/application.c
5996 (spi_accessible_application_finalize): impl. cleanup.
5998 * cspi/spi_registry.c
5999 (deregisterGlobalEventListenerAll),
6000 (deregisterGlobalEventListener),
6001 (deregisterAccessibleKeystrokeListener): fix ref leak.
6003 * cspi/spi_main.c (SPI_init): remove redundant ref.
6005 * test/test-simple.c (unutterable_horror): impl. to force a
6010 (impl_accessibility_registry_deregister_application): release
6011 the application when we de-register it.
6013 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6014 until we have the infastructure to get it right.
6016 2001-12-03 Michael Meeks <michael@ximian.com>
6018 * libspi/Makefile.am: only build eventlistener.[ch]
6020 * libspi/accessible.c
6021 (impl_accessibility_accessible_get_child_at_index): don't leak.
6023 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6024 before we hit the idle handler.
6026 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6027 debugging than exit.
6029 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6031 * libspi/listener.c (impl_notify_event): check source
6032 not NIL before unref.
6034 * libspi/registry.c (impl_registry_notify_event): ditto.
6036 * libspi/eventlistener.c
6037 (impl_accessible_event_notify_event): unref the source.
6039 * libspi/accessibleeventlistener.c
6040 (impl_accessible_event_notify_event): unref the source.
6042 * idl/Event.idl: remove 'hash_id' attribute - of no
6045 * libspi/application.c (notify_listeners): upd list
6047 (spi_application_object_event_listener),
6048 (spi_application_toolkit_event_listener): upd to do correct
6052 (_registry_notify_listeners): update.
6053 (parse_event_type): this method also leaks like a sieve.
6054 (impl_accessibility_registry_deregister_global_event_listener):
6055 fix ETYPE_WINDOW case.
6057 * libspi/application.c
6058 (impl_accessibility_application_register_object_event_listener):
6061 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6063 * libspi/hypertext.c (impl_getLink): ditto.
6065 * cspi/spi_main.c (cspi_object_add): remove
6066 bogus CORBA_Object_duplicate.
6068 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6071 * cspi/spi_accessible.c
6072 (Accessible_getRelationSet): fix leak / referencing issue.
6074 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6075 (cspi_object_add, cspi_object_unref): upd.
6076 (spi_object_release, get_live_refs): impl.
6077 (cspi_cleanup): simplify.
6079 * *.[ch]: s/boolean/SpiBoolean/
6081 * cspi/spi_accessible.c (role_names): actualy order so it
6082 corresponds with the enum !
6084 * test/test-simple.c (test_roles): check some role strings
6085 vs. enums to detect offset errors.
6087 2001-12-01 Michael Meeks <michael@ximian.com>
6089 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6091 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6093 (Accessible_getChildAtIndex): use cspi_add_check so we
6094 check the ev before using a (possibly) invalid value.
6096 * libspi/accessible.c
6097 (impl_accessibility_accessible_get_parent): don't segv
6100 * at-bridge/bridge.c (gtk_module_init): upd.
6101 (bridge_property_event_listener): don't leak strings
6103 (bridge_state_event_listener),
6104 (bridge_property_event_listener): don't use a static
6105 buffer in case of recursive event emission &
6106 re-enterancy - split out the swathe of cut and paste
6108 (emit_eventv): and fix 2 ref leaks here & comply to the
6110 (bridge_register_app): rename to
6111 (bridge_idle_init): this and kill arg parsing, split
6112 various inits & bonobo-activation registration to module
6113 init time, kill referencing error.
6114 (bridge_exit_func): fix the same leak.
6115 (bridge_focus_tracker): don't leak event structures
6117 (bridge_signal_listener): more leakage and cut & paste
6119 (bridge_key_listener): return the result - FIXME is
6120 this polarity correct ?
6121 (accessibility_keystroke_from_atk_key_event): rename
6122 (accessibility_init_keystroke_from_atk_key_event): and stop
6124 (gtk_module_init): return a value - not that it is checked by
6126 (bridge_key_listener): register my horror at casting between
6127 IDL defined structs.
6128 (bridge_get_registry): kill - not used.
6130 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6132 * test/test-simple.c (test_roles): impl.
6133 (test_desktop, validate_accessible, validate_tree): impl.
6135 * cspi/spi_accessible.c (role_names): fixup bogus
6136 MAX_ROLES setup, make constants const for efficient linkage
6137 (AccessibleRole_getName): conform to coding style, make
6140 2001-11-30 Michael Meeks <michael@ximian.com>
6142 * cspi/spi.h: add missing prototype.
6144 * libspi/registry.c (spi_listener_struct_new): fix sig.
6146 * test/Makefile.am: add test-simple
6148 * test/test-simple.c: add
6150 * test/test.sh: add.
6152 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6154 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6155 do it straight - since otherwise we often get an activation race.
6157 [ work before Bill duplicated a chunk of it ... ]
6158 2001-11-30 Michael Meeks <michael@ximian.com>
6160 * libspi/keystrokelistener.c
6161 (spi_keystroke_listener_class_init): fixup arg
6164 * libspi/eventlistener.c
6165 (spi_event_listener_class_init): ditto.
6167 * tests/test.sh: add.
6169 * cspi/spi-listener-impl.h: update macros.
6171 * cspi/spi-listener-impl.c
6172 (cspi_event_listener_remove_callback): add
6173 correct pre-conditions.
6175 * cspi/spi_main.c (SPI_exit): guard vs. double
6176 exits, exit the mainloop nicely.
6177 (SPI_event_main): make more sense.
6178 (SPI_init): move the atexit evilness here so we
6179 always do it (yuck).
6180 (SPI_event_main): upd.
6182 * test/simple-at.c: update for listener changes.
6184 * registryd/registryd.c (main): prune kruft.
6186 * libspi/libspi.h: upd.
6188 * libspi/eventlistener.[ch]: rename broken macros.
6190 * libspi/accessibleeventlistener.[ch]: remove.
6192 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6194 * test/test-simple.c: Add - automated tests.
6196 * cspi/spi-listener-impl.c (cspi_event),
6197 (cspi_key_event): add user_data to invoke.
6198 (cspi_keystroke_listener_finalize): impl.
6199 (cspi_keystroke_listener_class_init): upd.
6202 (createAccessibleEventListener),
6203 (AccessibleEventListener_addCallback),
6204 (createAccessibleKeystrokeListener),
6205 (AccessibleKeystrokeListener_addCallback): upd.
6207 * libspi/deviceeventcontroller.c
6208 (spi_device_event_controller_check_key_event): add public proto.
6211 (impl_accessibility_registry_deregister_global_event_listener):
6212 always init listeners.
6213 (_registry_notify_listeners): yes it is.
6215 * cspi/spi-listener-impl.c (cspi_key_event):
6217 (cspi_event_listener_finalize): impl.
6218 (cspi_event_listener_class_init): hook up.
6219 (event_handler_new, event_handler_free),
6220 (event_list_remove_by_callback): impl.
6221 (cspi_event_listener_remove_callback),
6222 (cspi_keystroke_listener_remove_callback),
6223 (cspi_keystroke_listener_add_callback),
6224 (cspi_event_listener_add_callback): upd.
6226 * libspi/keystrokelistener.c
6227 (keystroke_listener_object_finalize): kill
6228 (spi_keystroke_listener_class_init): upd.
6229 (spi_keystroke_listener_add_callback),
6230 (spi_keystroke_listener_remove_callback): kill,
6232 (impl_key_event): prune drasticaly.
6234 * libspi/eventlistener.c
6235 (spi_event_listener_add_callback),
6236 (spi_event_listener_remove_callback): kill, use
6238 (impl_accessible_event_notify_event): upd.
6239 (spi_event_listener_object_finalize): remove.
6241 * libspi/Makefile.am: use eventlistener.[ch]
6243 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6245 * libspi/registry.c (_registry_notify_listeners):
6246 Changed listener loop iteration to use preferred convention.
6247 Got rid of string memory leaks caused be calling g_strconcat
6248 inside function calls.
6250 * libspi/registry.c (parse_event_type):
6251 Stopped g_strconcat memory leaks, free the g_strsplit return,
6252 g_strdup the split pieces when used, etc.
6254 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6257 Change method 'compare' to return a 'difference set' rather than
6258 taking a StateSet as an out parameter (more Java-friendly).
6260 * idl/Accessible.idl:
6261 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6263 * idl/Component.idl:
6265 Changed methods 'getExtents' and 'getImageExtents' in these
6266 interfaces to return a BoundingBox structure.
6267 (getPosition and getSize are redundant and possibly should be
6268 removed, rather than creating a corresponding Point struct.)
6270 * cspi/spi_component.c:
6271 Modify implementation of getExtents to reflect the above IDL
6276 Add (missing) AccessibleImage_getExtents () API.
6278 * docs/reference/cspi/at-spi-cspi-sections.txt:
6279 Added AccessibleImage_getImageExtents () to docs.
6281 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6283 * idl/Component.idl:
6284 Added two methods, getLayer () and getMDIZOrder (), to reflect
6285 the new ATK methods atk_object_get_layer and
6286 atk_object_get_mdi_z_order. (Which arguably should be part of the
6287 AtkComponent API and AtkObject). Also added an enum,
6288 ComponentLayer, for the first method's return value.
6290 * libspi/component.c:
6291 Added implementations for these methods.
6293 * cspi/spi_component.c:
6295 Added cspi binding methods for above,
6296 AccessibleComponent_getLayer() and
6297 AccessibleComponent_getMDIZOrder().
6298 Added cspi enum 'AccessibleComponentLayer'.
6300 * docs/reference/cspi/at-spi-cspi-sections.txt:
6301 Added above methods to docs.
6305 Changed typedef for 'boolean' type (and all references to it) to
6306 SPIBoolean, to avoid keyword clashes with C++.
6309 Changed usages of 'boolean' to SPIBoolean.
6311 * test/keysynth-demo.c:
6312 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6313 app), except where SPIBoolean is required by the callbacks API.
6315 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6317 * cspi/spi_registry.c:
6318 Removed obsolete X event loop for passive keygrabs (which now
6321 * registryd/registryd.c:
6322 Removed unnecessary call to gdk_init() [cruft]. This also allows
6323 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6326 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6328 * docs/reference/cspi:
6329 Included docs for SPI_freeString in generated documentation.
6332 Renamed spi_freeString to SPI_freeString, for consistency. Added
6333 documentation for this function.
6336 Renamed spi_freeString to SPI_freeString, for consistency.
6337 Removed obsolete method declaration string_from_corba_string.
6339 * test/keysynth-demo.c:
6340 Small tweak to comments.
6343 Stopped leaking the strings returned from CSPI.
6345 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6347 Merged Michael's branch (see his ChangeLog entries below).
6349 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6350 bridge is alive, release on exit.
6352 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6353 Fix type check macro.
6356 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6359 Added is_gnome_app static, and method cspi_is_gnome_app(),
6360 so we can call the appropriate shutdown routine at exit in SPI_exit.
6362 * cspi/spi_main.c (cspi_object_ref):
6363 Duplicate the corba object passed in, since we're keeping it around.
6365 * cspi/SPI_exit.c, cspi_cleanup:
6366 Moved the releasing of the live refs to its own function, so we
6367 can put it in g_atexit (). Call the appropriate shutdown API
6368 depending on whethe calling client is a gnome app or not
6369 (bonobo_main_quit or CORBA_ORB_shutdown).
6371 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6372 Unref the listener when this method is called, after
6373 deregistration. Updated the API docs to note this behavior.
6375 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6376 Bugfixes: Ref the bonobo object when returning a parent or child
6377 reference, or an AccessibleRelation. Generally made sure
6378 BonoboObject refcount is incremented whenever we return an
6381 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6382 Fixed typo/bug in signal declaration.
6384 * libspi/accessibleeventlistener.h:
6387 * libspi/application.c (spi_application_new):
6388 Fixed leak in initialization.
6391 Remembered to increment bonobo-object refcount when returning
6392 children (applications) from desktop object.
6393 Added (empty) finalize method.
6395 * libspi/deviceeventcontroller.c:
6396 Hold a ref to listeners inside DEControllerKeyListeners.
6397 Added dec_key_listener_free() method. Use prepend instead of
6398 append in key_listener list. Fixed some refcount madness and
6399 leaks in the listener registration/deregistration - deregistration
6400 now calls dec_key_listener_free() on listeners, and on the
6401 temporarily constructed dec_key_listener() used to perform the search/match.
6403 * libspi/hypertext.c (spi_hypertest_finalize):
6404 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6405 class. Also fixed spi_hypertext_interface_new() and
6406 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6408 * libspi/hypertext.h:
6409 Removed pointless and duplicate AtkObject pointer from
6412 * libspi/keystrokelistener.c:
6413 Fixed incorrect type of keystroke_listener_parent_class,
6414 renamed keystroke_listener_object_finalize to
6415 spi_keystroke_listener_object_finalize.
6416 Fixed typo in signal declaration
6417 (spi_keystroke_listener_class_init).
6419 * libspi/registry.c:
6420 Added funcsions spi_listener_struct_new() and
6421 spi_listener_struct_free() to help with memory management issues.
6422 We also now use these methods instead of gnew + poking stuff into
6423 the struct, and to decrement listener counts/free the listeners
6424 when deregistering them.
6425 Fix more refcount bugs in getDesktop() and
6426 getDeviceEventController().
6429 De-ref the desktop after enumerating the applications. Explicitly
6430 decrement the refcounts on the created listeners on exit (using
6431 _unref for keystroke listeners, and via the
6432 deregisterGlobalEventListenerAll command for other event
6435 2001-11-27 Michael Meeks <michael@ximian.com>
6437 * cspi/spi-listener.h: fixup enum.
6439 2001-11-27 Michael Meeks <michael@ximian.com>
6441 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6442 (cspi_keystroke_listener_new): Use the cspi variants.
6444 2001-11-26 Michael Meeks <michael@ximian.com>
6446 * test/keysynth-demo.c: fix 2 compile warnings, missing
6449 * test/simple-at.c (report_focussed_accessible),
6450 (report_focus_event, report_button_press),
6451 (check_property_change, is_command_key),
6452 (report_ordinary_key_event, report_command_key_event): upd.
6454 * util/mag_client.h: include pre-requisites.
6456 * libspi/accessibleeventlistener.c
6457 (spi_event_listener_object_finalize): free any lingering
6460 * libspi/keystrokelistener.c
6461 (keystroke_listener_object_finalize): ditto.
6463 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6464 callbacks, with cspi types.
6466 * cspi/spi_event.c (createAccessibleEventListener): chain to
6467 (AccessibleEventListener_addCallback): here.
6468 (createAccessibleKeystrokeListener): chain to
6469 (AccessibleKeystrokeListener_addCallback): here.
6471 * libspi/keystrokelistener.c
6472 (spi_keystroke_listener_class_init): add signal.
6473 (impl_key_event): emit the event.
6474 (boolean_handled_accumulator): impl.
6475 (marshal_BOOLEAN__POINTER): add, gack.
6477 * libspi/accessibleeventlistener.c
6478 (spi_event_listener_class_init): add signal.
6479 (impl_accessible_event_notify_event): emit the signal &
6480 make the loop efficient.
6481 (spi_event_listener_add_callback): prepend the callback.
6483 * libspi/accessibleeventlistener.h: add an 'event' signal,
6484 decl type on callback.
6486 * libspi/keystrokelistener.h: ditto.
6488 * cspi/spi-listener.h: make methods typesafe and
6489 make them use the new event typedefs.
6491 * test/simple-at.c (report_focussed_accessible):
6492 include mag_client.h
6493 Use *(void *)text_interface not the other thing.
6495 * configure.in: add gtk to registryd bits - since we use
6498 * util/magnifier.c: include libbonobo.h
6500 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6502 * test/keysynth-demo.c:
6503 Turned this into a simple scanning keyboard, to demonstrate the
6504 use of g_timeout_add () as a means of creating timers for
6505 scanning, and the use of GtkStyle for visually indicating when
6506 virtual keyboard elements are selected.
6508 keysynth-demo now listens to any keyboard keys with zero-valued
6509 keycodes (i.e. 'unused' keys) and interprets them as
6512 Reworked the shiftlatch code so that shift-down state isn't held
6513 for long periods (it's only synthesized immediately prior to
6514 the keysynth event it's modifying). Note that shiftlatch in this
6515 demo is a convenience, not intended to take the place of AccessX
6516 which is the better choice for getting 'sticky' modifier keys.
6518 * libspi/deviceeventcontroller.c:
6519 * at-bridge/bridge.c:
6520 * cspi/spi_registry.c:
6521 Removed some debug print stuff, and put other verbosity in #ifdef
6526 Implemented some more of the magnifier IDL for the simple
6527 magnifier: namely, getZoomRegionParams.
6528 Added mag_x and mag_y members to MagnifierData struct, aid of this
6530 Added GtkWindow::realize signal handler to magnifier, to keep it
6531 from receiving keyboard focus from the WM.
6533 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6535 * cspi/spi-private.h: my guess at what michael forgot
6536 before he ran off to NZ :-)
6538 2001-11-23 Michael Meeks <michael@ximian.com>
6540 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6541 comment out non existant method invoke so we link.
6543 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6544 use bonobo_exception_get_text for more friendly warnings.
6546 * cspi/spi.c (Obj_Add): move into spi_main & rename
6547 spi_object_add; kill spi.c
6549 * cspi/spi_registry.c
6550 (deregisterGlobalEventListener),
6551 (deregisterGlobalEventListenerAll),
6552 (registerGlobalEventListener): fix exception leaks.
6554 * cspi/spi_main.c (spi_exception): impl. helper, so we
6555 don't leak exceptions.
6557 * cspi/spi_selection.c
6558 (AccessibleSelection_deselectSelectedChild): return the
6561 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6562 (spi_registry): ditto.
6563 (SPI_init): guard against double inits.
6565 * cspi/*.c: use spi_ev (), and spi_registry () where
6566 appropriate - a temporary hack until we have something
6567 better. Use spi_object_add
6569 2001-11-22 Michael Meeks <michael@ximian.com>
6571 * cspi/Makefile.am: re organise, install the headers.
6573 * cspi/*.h: add G_BEGIN/END_DECLS
6575 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6578 Added non-preemptive keylistener for key events with no modifiers
6579 and shift-only modifier.
6581 * libspi/keystrokelistener.c:
6582 Removed some verbose diagnostics printout.
6584 * cspi/spi_registry.c:
6585 Fixed a bug that caused all key listeners to be registered as
6588 * libspi/deviceeventcontroller.c:
6589 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6590 for non-preemptive key masks.
6593 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6595 * docs/reference/idl/at-spi-idl-docs.sgml:
6596 * docs/reference/idl/at-spi-idl-sections.txt:
6597 * docs/reference/idl/at-spi-idl-overrides.txt:
6598 Added missing files.
6600 * docs/reference/Makefile.am:
6601 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6602 to scan the IDL files :-(
6607 Added .cvsignore files.
6609 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6611 * libspi/deviceeventcontroller.c:
6612 * libspi/keystrokelistener.c:
6614 * cspi/spi_registry.c:
6615 Added filters for KeySets, KeyEventSeq, and event types to key
6616 event dispatching, so listeners should only receive those events
6617 that they requested :-)
6619 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6624 * docs/reference:Makefile.am:
6625 * docs/reference/cspi:
6626 * docs/reference/cspi:Makefile.am:
6627 * docs/reference/cspi:tmpl:
6628 * docs/reference/cspi:tmpl:*.sgml:
6629 * docs/reference/idl:
6630 * docs/reference/idl:Makefile.am:
6631 * docs/reference/idl:at-spi-idl-sections.txt:
6632 * docs/reference/idl:at-spi-idl-docs.sgml:
6633 * docs/reference/idl:tmpl:
6634 * docs/reference/idl:tmpl:*.sgml:
6636 Restructured docs directory to allow separate 'reference' docs
6637 section, and forked idl and cspi docs. Added the sgml template
6638 files to CVS. Added the first sections/structural sgml for the
6641 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6643 * configure.in, libspi/Makefile.am: find libXtst.
6645 2001-11-21 Michael Meeks <michael@ximian.com>
6647 * test/accessx-gui.c: s/spi_value/value/ - doh.
6649 * libspi/base.[ch]: add.
6651 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6653 * idl/Accessible.idl:
6654 * idl/Application.idl:
6657 Started gtk-doc cleanup on IDL.
6659 * libspi/deviceeventcontroller.c:
6660 Added and connected non-preemptive key notification from the
6661 toolkits (in addition to the pre-emptive support from XServer
6662 which we had before, but which causes 'focus flashing'). Filters
6663 are presently limited to key modifiers and global/non-global,
6664 KeySets are presently ignored, as are KeyEvent masks.
6666 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6667 structs into the persistant structure rather than just storing
6668 pointers to things that might not persist across servant
6671 The XGrabKey call now does async keygrabs, because synchronous
6672 ones were deadlocking with GDK_event code in a very nasty way.
6674 Added boolean to internal method notify_keylisteners, to indicate
6675 whether the event came from the 'toolkit source' or the 'global
6676 (XServer) source' - this is used in the notification process to
6677 determine which listeners to send the event to.
6679 deviceeventcontroller.c is now warning-free.
6681 * libspi/registry.c:
6682 Fixed regression in application de-registration.
6683 Also fixed some really brain-dead weirdness having to do with
6684 event dispatching - event structs are now duplicated before being
6685 re-marshalled in the dispatch to listeners. This also fixes a
6686 Solaris build problem.
6689 2001-11-20 Michael Meeks <michael@ximian.com>
6692 (impl_accessibility_registry_deregister_global_event_listener):
6695 * libspi/deviceeventcontroller.c
6696 (spi_device_event_controller_check_key_event): return
6697 FALSE on no virtual method.
6699 * libspi/*..h: make includes work on a correctly pathed install.
6701 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6703 * libspi/application.h: kill unused ( and whacked out )
6704 gboolean *spi_application_set_id (AtkObject *app, long id);
6706 2001-11-20 Michael Meeks <michael@ximian.com>
6708 * libspi/*.[ch]: further convert to bonobo's type func
6709 macros, remove redundnant casts etc.
6711 * libspi/text.c s/accessibility_text/spi_text/g,
6712 re-order to de-cruft.
6714 * libspi/hypertext.c: re-order to kill a huge slew
6715 of redundant forward decls.
6717 * libspi/relation.c: ditto.
6719 * libspi/image.c: ditto.
6721 * */.cvsignore: update
6723 2001-11-20 Michael Meeks <michael@ximian.com>
6725 * libspi/deviceeventcontroller.c
6726 (_controller_register_with_devices): use g_getenv,
6727 kill stdlib.h include.
6729 * libspi/keystrokelistener.c
6730 (spi_keystroke_listener_get_type): kill
6731 (spi_keystroke_listener_class_init),
6732 (spi_keystroke_listener_init): rename to this.
6734 * libspi/text.c (impl_getAttributes): fix warning / bug.
6736 * libspi/*.[ch]: more headers, includes and over commenting.
6738 2001-11-20 Michael Meeks <michael@ximian.com>
6740 * libspi/*.[ch]: fixup headers, includes and over commenting.
6742 * libspi/image.c (impl__get_imageDescription): const
6743 correctness warning fix. remove redundant casting.
6745 * libspi/table.c (impl_getRowDescription): ditto.
6746 (impl_getColumnDescription): ditto.
6748 * libspi/libspi.h: add.
6750 2001-11-19 Michael Meeks <michael@ximian.com>
6752 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6754 * libspi/component.c (accessibility_component_get_type):
6755 rename to (spi_component_get_type): and macroify.
6756 (accessibility_component_init): rename to
6757 (spi_component_init): this
6758 (accessibility_component_class_init): rename to
6759 (spi_component_class_init): this
6761 * libspi/action.c (spi_action_get_type): kill, use the macro.
6763 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6766 * libspi/application.c (spi_application_object_event_listener),
6767 (impl_accessibility_application_register_object_event_listener):
6768 warning fixes / const understanding updates.
6770 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6773 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6775 * libspi/spi_accessible.c: Added docs and C bindings for
6776 AccessibleStateSet. (No implementations yet). Documentation
6777 coverage for C bindings now 100%. Made docs for event listeners
6782 boolean notifyListenersSync (in DeviceEventListener listener,
6783 in DeviceEvent event);
6785 oneway void notifyListenersAsync (in DeviceEventListener listener,
6786 in DeviceEvent event);
6788 Added DeviceEventListener and DeviceEvent structs (may deprecate
6789 KeyStroke and KeystrokeListener in favor of this generic
6790 event/listener framework for devices).
6792 * libspi/deviceeventcontroller.c:
6794 Changed some key listener code to take masks, etc., and paved the
6795 way for integration of toolkit/non-preemptive key events. Changed
6796 signatures of some internal methods.
6798 * at-bridge/bridge.c:
6799 Fixed regression connecting to interface signals, apparently
6800 caused by GTK+ changes.
6802 Added an internal bridge_state_listener to deal with
6803 property-change:accessible-state signals.
6805 Changed the key_listeners GList to store structs (including masks,
6806 etc.) instead of just CORBA_Objects (required for full
6807 implementation of key listener API).
6809 Connected the bridge to all currently supported Atk signals.
6810 Events now supported:
6811 object:property-change
6812 object:property-change:accessible-name
6813 object:property-change:accessible-state
6814 object:property-change:accessible-description
6815 object:property-change:accessible-parent
6816 object:property-change:accessible-value
6817 object:property-change:accessible-role
6818 object:property-change:accessible-table-caption
6819 object:property-change:accessible-table-column-description
6820 object:property-change:accessible-table-column-header
6821 object:property-change:accessible-table-row-description
6822 object:property-change:accessible-table-row-header
6823 object:property-change:accessible-table-summary
6824 object:children-changed
6825 object:visible-data-changed
6826 object:selection-changed
6827 object:text-selection-changed
6829 object:text-caret-moved
6831 object:row-reordered
6833 object:column-inserted
6834 object:column-reordered
6835 object:column-deleted
6836 object:model-changed
6838 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6840 * libspi/hyperlink.c,h:
6841 Fixed some broken stuff in hyperlink.
6843 * libspi/relation.h:
6844 * libspi/relation.c:
6845 * cspi/spi_accessible.c:
6846 Initial implementations of AccessibleRelation methods, and docs.
6848 * libspi/accessible.c:
6849 Fixed a bug that caused SEGV if an accessible
6850 object's description is NULL, and a client
6851 requests it. An empty string is now returned.
6853 * cspi/spi_editabletext.c:
6854 * cspi/spi_hypertext.c:
6856 * cspi/spi_hyperlink.c:
6860 Doc coverage now 95%.
6862 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6864 One last namespacing revision:
6865 * libspi/accessibleeventlistener.[ch]:
6866 Renamed SpiAccessibleEventListener to SpiEventListener,
6867 (no need for two namespaces ;-)
6869 And lots of documentation fixes:
6871 * docs/at-spi-docs.sgml:
6872 Fixed 'underscore vs. hyphen' bug that was preventing
6873 the gtk-doc API docs from being automatically generated.
6876 * cspi/spi-listener.h
6878 * cspi/spi_accessible.c
6880 * cspi/spi_application.c
6881 * cspi/spi_component.c
6882 * cspi/spi_editabletext.c
6884 * cspi/spi_hypertext.c
6886 * cspi/spi_registry.c
6887 * cspi/spi_selection.c
6891 * docs/at-spi-docs.sgml
6892 * docs/at-spi-sections.txt
6894 Added and fixed up gtk-doc documentation in cspi.
6896 Interfaces now (fully) documented (subject to revision and enhancement):
6898 Event Listener Support
6900 AccessibleApplication
6904 AccessibleEditableText
6911 AccessibleRelationSet
6916 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6918 * at-bridge/bridge.c:
6919 Initial work for toolkit-level key snooper connection by bridge.
6924 New typedefs and fixes to support new namespacing, and cleaner
6925 separation of cspi bindings from libspi bonobo implementation.
6926 Removed inconsistent and extraneous Spi* namespace prefix that
6927 had crept into cspi headers.
6928 Lots of comment fixes that sed had missed.
6930 * cspi/spi-roletypes.h:
6931 * cspi/spi-statetypes.h:
6932 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6933 to AccessibleRoleType.
6935 * libspi/accessibleeventlistener.h:
6936 Fixed minor namespacing weirdness.
6938 * libspi/deviceeventcontroller.c:
6939 Reordered some internal API for device listeners.
6940 Changed the key registry final boolean to 'is_system_global'
6941 rather than 'is_synchronous', which is more descriptive of its
6943 Added spi_device_event_controller_new().
6944 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6946 * libspi/keystrokelistener.[ch]:
6947 Namespaced KeystrokeListener to SpiKeystrokeListener.
6948 Changed uses of keymasks to use SPI_ prefix, and did other
6951 * libspi/keymasks.h:
6952 Namespaced keymask constants with SPI_ prefix.
6954 * libspi/registry.c:
6955 Some warning fixes, and knock-on fixes from namespace changes.
6958 Added rules for accessx-gui test program.
6960 * test/accessx-gui.c:
6961 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6962 utility. It doesn't actually use at-spi, but it's still cool and
6965 * test/keysynth-demo.c:
6969 Fixes so that these test clients work properly with the namespaced
6970 libraries. (Incompletely tested for technical reasons, fixes may follow)
6973 2001-11-13 Michael Meeks <michael@ximian.com>
6975 * libspi/application.c
6976 (impl_accessibility_application_get_version),
6977 (impl_accessibility_application_get_toolkit_name):
6979 (impl_accessibility_application_set_id),
6980 (impl_accessibility_application_get_id): remove
6981 redundant casting code.
6983 * libspi/action.c (impl_getDescription): fix warnings.
6985 * libspi/accessible.c
6986 (impl_accessibility_accessible_get_parent),
6987 (impl_accessibility_accessible_get_child_at_index),
6988 (impl_accessibility_accessible_get_state),
6989 (impl_accessibility_accessible_get_relation_set):
6990 warning fixes & include action.h
6992 2001-11-13 Michael Meeks <michael@ximian.com>
6994 * *.[ch] fix bits I screwed up:
6996 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6997 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6999 2001-11-13 Michael Meeks <michael@ximian.com>
7001 * *.[ch] Namespace libspi into spi_ and Spi.
7003 2001-13-11 Michael Meeks <michael@ximian.com>
7005 * Makefile.am: dist & install at-spi-1.0.pc
7007 * libspi/Makefile.am: install into at-spi-1.0
7009 * idl/Makefile.am (idldir): install into at-spi-1.0
7011 * at-spi-1.0.pc.in: add.
7013 * configure.in: build it.
7015 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7017 * test/keysynth-demo.c:
7018 Use a 'realize' signal-handler to set the WM properties for
7019 the virtual keyboard, rather than making it a "POPUP" type
7020 override-redirect window (thanks to anders carlsson for that
7023 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7026 * test/keysynth-demo.c:
7027 Added new test of key synthesis, which creates a simple
7028 (mouse-operated) onscreen keyboard. It inserts key events into
7029 the currently-focused window, thus it does not grab keyboard focus
7032 * cspi/spi_registry.c:
7033 Added C binding for AT-SPI generateKeyEvent.
7035 * libspi/deviceeventcontroller.c:
7036 Added call to XFilterEvent so that key listener works with XIM (we
7037 hope). Added event_synth_type to generateKeyEvent, so that we can
7038 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7039 synthesize a press/release pair for KeySyms.
7041 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7043 * libspi/Makefile.am:
7044 * registryd/Makefile.am:
7045 (temporary) hack to include libXtst in libspi and registryd.
7046 (Needed for keystroke synthesis, see below).
7049 Improved API for registerKeystrokeListener, in accordance with
7050 discussions with Gnopernicus team and X server research.
7052 * libspi/registry.c:
7053 * libspi/deviceeventcontroller.c:
7054 * libspi/accessible.c:
7055 * libspi/keystrokelistener.c:
7056 Changes and fixes to support keylisteners for potentially
7057 consumed key events (that is, 'passive grabs').
7058 Added implementation for generateKeyEvent() [untested].
7061 Changes to registerKeystrokeListener() API, as above.
7062 Added deregisterGlobalEventListenerAll(), and
7063 deregisterKeystrokeListener(), which are needed for clean exit of
7065 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7066 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7068 * cspi/spi_registry.c:
7069 Added implementations of function prototypes mentioned above.
7071 * registryd/registryd.c:
7072 Added the key listener event source as a g_timeout(), to allow
7073 receipt of key events that are not caught by GDK (since GDK
7074 doesn't support passive keygrabs, this was necessary).
7077 Changed to attach a keylistener to 'Alt' keys, and
7078 respond to the following keycommands: Alt-M (toggle magnifier);
7079 Alt-F (toggle speech); Alt-Q (quit).
7080 Added an exit routine to deregister the listeners, and a key
7081 listener that prints some key info to the console when a key
7082 matches the listener mask (and is thus received by the listener).
7084 * util/idl/Magnifier.idl:
7085 Changes to magnifier API to support multiple zoom regions,
7086 non-uniform scaling in x and y, markDirty, and a host of other
7087 features that would be useful to magnification.
7090 * util/mag_client.c:
7091 * util/mag_client.h:
7092 * util/mag_control.c:
7094 Source code changes to support the above IDL changes.
7097 As above, and also changes to use a (slower) generic conversion
7098 path for colormap conversions, since the fast RGB conversions have been
7099 reported to fail for 16-bit displays.
7101 2001-10-26 Michael Meeks <michael@ximian.com>
7103 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7105 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7107 * at-bridge/Makefile.am: fix LDFLAGS.
7109 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7111 * at-bridge/bridge.c:
7112 Re-worked listeners for toolkit events, now we have signal
7113 and property listeners. Added a private method
7114 register_atk_event_listeners(), which registers with the
7115 various atk and gtk signals we need to monitor in order to emit
7117 Added emission hook for AtkObject:property-change events, to
7118 support the 'property listeners'.
7119 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7122 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7123 which emit warnings and exit, respectively, if CORBA errors occur
7124 during remote calls, and we now use these methods to check most of
7125 our CORBA calls in the C bindings.
7127 * cspi/spi_accessible.c:
7128 Changed AccessibleSelection_refSelectedChild() to
7129 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7130 now increment refcounts.
7132 * cspi/spi_component.c:
7133 Fixed some long pointer casts (dangerous!) to pass pointers to
7134 CORBA_longs of the proper type to the CORBA stubs, and copy the
7135 data into the longs that were passed into the C bindings code.
7137 * at-bridge/bridge.c:
7139 * libspi/accessible.c:
7140 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7141 hyperlinks, AtkHyperlink is an object type.
7143 * libspi/application.c:
7144 Added various conversions to and from "generic" event types and
7145 atk-specific types; this is really part of the 'bridge'
7146 implementation but is valid for all AtkObject-based accessibility
7149 * libspi/editabletext.c:
7150 Fixed nasty bug wherein editable text's finalize method was
7151 unref'ing tha AtkObject reference that the text parent class was
7152 about to unref _again_. There was also a nasty inheritance bug
7153 that meant that the AccessibleEditableText class was corrupt.
7155 * libspi/selection.c:
7156 Provided implementations for some selection API that was broken.
7158 * idl/Application.idl:
7159 Added registerObjectEventListener () method.
7162 Fixed a number of return values that were Bonobo_Unknowns from
7163 bonobo_object_corba_objref(), which I
7164 forgot to dup before returning. Changed instances of
7165 bonobo_object_corba_objref (bonobo_object(o)) to
7166 BONOBO_OBJREF(o), for concision and clarity.
7168 2001-10-13 Louise Miller <louise.miller@sun.com>
7170 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7171 idl/Event.idl, idl/Registry.idl
7172 Changed these files to include Bonobo_Unknown.idl instead
7175 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7177 * libspi/component.c libspi/component.h:
7178 Fixed typo. Added assertions for object checks in
7179 AccessibleComponent code.
7181 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7183 * idl/Accessible.idl:
7184 Added 'isEqual (Accessible *object)'
7185 method for Accessible. (Not Yet Implemented).
7188 Changed signature of registerKeystrokeListener() to
7189 take a KeySet and KeyEventSeq so that specific keys and event
7190 types could be requested for monitoring, and added a flag
7191 is_synchronous so that either synchronous or asynchronous
7192 notification could be requested. (However this is not all
7193 implemented yet). This also meant adding two new typedefs,
7194 KeyEventSeq and KeySet.
7197 Added two new relations, RELATION_TOOLTIP_FOR and
7198 RELATION_LEAFNODE_OF.
7201 Added new state, STATE_HAS_TOOLTIP.
7203 * libspi/text.c, editabletext.c:
7204 Added new assertions to all casts of bonobo-objects from
7205 CORBA servants, to prevent Text API calls on non-text objects.
7206 Changed suspect casts of int-pointer types, so that we
7207 always send a valid CORBA_long pointer to the CORBA APIs that use
7208 in/out long parameters. We then have to copy from the CORBA_long
7209 into the regular long or int for return to the C bindings, or
7210 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7213 * libspi/deviceeventcontroller.c:
7214 Cleaned these sources up.
7216 Changed return type for getCharacterAtOffset to
7217 CORBA_unsigned_long, to allow for 32-bit characters.
7220 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7224 Fixed 'make dist' so that distro compiles...
7225 * libspi/keymasks.h:
7227 * cspi/spi-listener.c:
7228 KeystrokeListenerCB now returns a boolean.
7230 Added KeyEventType struct, and KeyStroke.
7231 Also added createKeystrokeListener(),
7232 KeystrokeListener_addCallback(),
7233 KeystrokeListener_removeCallback(), and added a keymask to
7234 registerKeystrokeListener().
7235 * cspi/spi_accessible.c:
7236 Changed numerous return types for interfaces from
7237 AccessibleComponent to Accessible<InterfaceName>; this was
7238 probably a cut-and-paste error.
7240 Implementations of new KeystrokeListener api (from spi.h,
7243 Changes to key modifier mapping.
7244 Created ControllerEventMask struct.
7245 Made DeviceEventController derive from Bonobo::Unknown.
7247 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7248 * libspi/deviceeventcontroller.c:
7249 Added a number of new internal (private) methods.
7250 * libspi/editabletext.c:
7251 * libspi/editabletext.h:
7252 Fixed a number of bugs related to the fact that
7253 editabletext inherits from text. Fixed the EditableText struct,
7254 the init() call, and use correct casts when calling Text methods
7255 from an EditableText object. Removed (duplicate) atko from the
7256 EditableText structure, we use the one in the parent Text
7257 structure via the casts mentioned above.
7258 * libspi/keystrokelistener.[ch]:
7259 * libspi/registry.c:
7260 Changes in support of keyboard handling (above).
7262 Keyboard handling, though partly functional, is still not
7263 recommended for at-spi client use as there is considerable
7264 work yet to be done.
7267 Changed some places where pointers to various int types
7268 are cast to be pointers to CORBA_long types and vice-versa:
7269 pointer casting is not safe so we pass pointers of the correct
7270 types and then cast the result before putting it into the target
7273 * libspi/text.h: minor typos corrected.
7275 We now speak not only the name of a Text element, but the
7276 first sentence of its content, when it receives focus.
7277 I also changed the text compression to 75% from 50%.
7278 * util/Accessibility_Util.server.in:
7279 Changed the default magnifier type to be a 3x vertical
7280 splitscreen magnifier (was previously a 2x horizontal one).
7282 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7284 * libspi/keystrokelistener.h:
7285 * libspi/keystrokelistener.c:
7286 Initial functional implementations of KeystrokeListener.
7289 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7291 Fixed string handling for NULL strings in libspi.
7292 Added spi_freeString to free strings returned by C bindings.
7294 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7296 * libspi/keystrokelistener.h:
7297 * libspi/keystrokelistener.c:
7298 Began (no-op) implementations of KeystrokeListener
7300 * libspi/deviceeventcontroller.c:
7301 * libspi/deviceeventcontroller.h:
7302 Began creating implementations of DeviceEventController,
7303 to handle keystroke and mouse event listening and
7305 * libspi/accessible.c:
7306 Stubbed-in the implementations for
7307 Accessibility_Accessible_getState and
7308 Accessibility_Accessible_getRelationSet.
7309 * libspi/registry.c:
7310 Improved de-registration process and fixed some bugs,
7311 deregistration now works correctly.
7313 Added initialization of applications list (to NULL).
7315 Reduced speech compression from 0.5 to 0.7, for demo.
7316 Changed call to gdk_window_set_decorations()
7317 to gtk_window_set_decorated().
7318 * at-bridge/bridge.c:
7319 Bridge now deregisters when app exits, via
7320 registration of a cleanup function
7321 with the g_atexit() call.
7322 Required making 'app' static, renamed 'this_app'.
7323 Fixed broken use of bonobo_init, passing argv wrongly.
7325 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7329 Created a new directory for
7330 accessibility-related utilities, primarily for
7331 testing and demo purposes, but with possible
7338 Onscreen magnifier utility that
7339 is implemented as a bonobo service.
7341 * util/mag_client.c:
7342 * util/mag_client.h:
7343 Client-side support (simple C bindings)
7344 for Magnification service
7346 * util/mag_control.c:
7347 Client program example for
7348 Magnification service
7350 * util/Accessibility_Magnifier.server.in:
7351 Bonobo-activation file for the
7352 Magnification service.
7355 * util/idl/Magnifier.idl:
7356 IDL defining the bonobo Magnification
7360 Modifications to use the bonobo-activated magnifier
7361 above, in place of trying to connect to an existing
7362 magnifier that uses socket-listening IPC.
7364 If env variable MAGNIFIER is set, a magnifier service
7365 will be started if one does not exist.
7367 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7369 * at-bridge/bridge.c:
7370 applied patch from Marc to build and run
7371 against new glib and gtk+ (seemed like a change
7372 to bonobo_init signature was made ?)
7374 made festival-server support turned off by default.
7375 Added support for a simple magnifier (off by default)
7376 which will be added to a 'util' directory later.
7377 * at-bridge/Makefile.am:
7378 Changed "application.h" header from a 'source'
7379 to a 'dependency' of libat-bridge.
7381 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7390 Added interface implementation c files to list of
7391 includes so they are included in libcspi.
7394 Changed prototype of AccessibleAction_doAction to return a
7396 Changed prototype of AccessibleTable_getCaption to
7397 return an Accessible.
7398 Changed prototype of AccessibleTable_getSelectedRows
7399 and AccessibleTable_getSelectedColumns to
7400 return a long (returns the number of selected rows
7401 or columns respectively).
7402 Changed name of AccessibleText_refRunAttributes to
7403 AccessibleText_getAttributes.
7404 Changed prototype of AccessibleText_getCharacterExtents to
7405 return a void rather than a boolean.
7406 Added support for a AccessibleCoordType parameter
7407 specifying what type of coordinates are desired.
7408 Added an AccessibleCordType parameter to
7409 AccessibleText_getPointAtOffset.
7411 * cspi/spi_accessible.c:
7412 Added code to return the outstanding interfaces from
7413 Accessible_queryInterface.
7415 * cspi/spi_action.c:
7417 Corrected call to getNActions to call the c binding
7420 * cspi/spi_editabletext.c:
7422 Changed name from setRunAttributes to setAttributes.
7424 * cspi/spi_hyperlink.c:
7426 Changed call to getNAnchors to correctly call the c
7427 binding for an attribute.
7429 * cspi/spi_hypertext.c:
7431 Changed getImageDescription to correctly call the
7432 binding for an attribute.
7434 * cspi/spi_selection.c:
7435 Changed getNSelectedChildren to correctly call the c
7436 binding for the attribute.
7437 Changed refSelectedChild to getSelectedChild.
7441 Changed getCaption to return an Accessible.
7442 Fixed calls which retrieve attributes.
7443 Changed refAt to getAccessibleAt.
7444 Changed getNSelectedRows and getNSelectedColumns to
7448 Changed getCharacterExtents and getPointAtOffset to accept an
7449 AccessibleCoordType.
7451 Changed calls which retrieve attributes.
7452 Changed refRunAttributes to getAttributes.
7457 * idl/Hyperlink.idl:
7458 Changed n_anchors attribute to nAnchors to keep naming
7459 convention consistent.
7462 Made Table inherit from Bonobo::Unknown.
7463 Added nSelectedColumns and nSelectedRows attributes.
7466 Made Value inherit from Bonobo::Unknown.
7468 * libspi/hyperlink.c:
7469 Change for nAnchors attributte name change.
7471 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7479 Added interface implementation c files to list of
7480 includes so they are included in libcspi.
7483 Changed prototype of AccessibleAction_doAction to return a
7485 Changed prototype of AccessibleTable_getCaption to
7486 return an Accessible.
7487 Changed prototype of AccessibleTable_getSelectedRows
7488 and AccessibleTable_getSelectedColumns to
7489 return a long (returns the number of selected rows
7490 or columns respectively).
7491 Changed name of AccessibleText_refRunAttributes to
7492 AccessibleText_getAttributes.
7493 Changed prototype of AccessibleText_getCharacterExtents to
7494 return a void rather than a boolean.
7495 Added support for a AccessibleCoordType parameter
7496 specifying what type of coordinates are desired.
7497 Added an AccessibleCordType parameter to
7498 AccessibleText_getPointAtOffset.
7500 * cspi/spi_accessible.c:
7501 Added code to return the outstanding interfaces from
7502 Accessible_queryInterface.
7504 * cspi/spi_action.c:
7506 Corrected call to getNActions to call the c binding
7509 * cspi/spi_editabletext.c:
7511 Changed name from setRunAttributes to setAttributes.
7513 * cspi/spi_hyperlink.c:
7515 Changed call to getNAnchors to correctly call the c
7516 binding for an attribute.
7518 * cspi/spi_hypertext.c:
7520 Changed getImageDescription to correctly call the
7521 binding for an attribute.
7523 * cspi/spi_selection.c:
7524 Changed getNSelectedChildren to correctly call the c
7525 binding for the attribute.
7526 Changed refSelectedChild to getSelectedChild.
7530 Changed getCaption to return an Accessible.
7531 Fixed calls which retrieve attributes.
7532 Changed refAt to getAccessibleAt.
7533 Changed getNSelectedRows and getNSelectedColumns to
7537 Changed getCharacterExtents and getPointAtOffset to accept an
7538 AccessibleCoordType.
7540 Changed calls which retrieve attributes.
7541 Changed refRunAttributes to getAttributes.
7546 * idl/Hyperlink.idl:
7547 Changed n_anchors attribute to nAnchors to keep naming
7548 convention consistent.
7551 Made Table inherit from Bonobo::Unknown.
7552 Added nSelectedColumns and nSelectedRows attributes.
7555 Made Value inherit from Bonobo::Unknown.
7557 * libspi/hyperlink.c:
7558 Change for nAnchors attributte name change.
7561 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7563 implementations-- made server implementations own AtkObject pointers
7564 rather than their respective AtkInterrface pointers to fix
7565 refcounting. AtkHyperlink is still broken.
7567 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7568 * cspi/spi_accessible.c:
7569 Added method Accessible_Role_getName(),
7570 and requisite string array (role_names).
7571 Added conversion string_from_corba_strin() call
7572 to Accessible_getName and _getDescription.
7573 * libspi/accessible.c:
7574 Added implementation for Accessible_getRole()
7576 Added festival support, used if environment variable
7579 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7581 * at-bridge/bridge.c:
7582 Now allocate Accessibility_Event using
7583 Accessibility_Event__alloc() instead of g_new0().
7584 * libspi/accessibleeventlistener.c:
7585 Initialize AccessibleEventListener->callbacks to NULL.
7586 Fixed accessible__event_listener_init() param, changed to
7587 "AccessibleEventListener *" type.
7588 Changed a bonobo_object_release_unref() call to
7589 Accessibility_Accessible_unref().
7590 * libspi/listener.c:
7591 Changed Bonobo_Unknown_unref to (equivalent)
7592 Accessibility_Accessible_unref.
7593 * libspi/registry.c:
7594 Changed bonobo_object_release_unref to
7595 Accessibility_Accessible_unref.
7597 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7600 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7601 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7602 spi-util.c spi-util.h
7603 Implementations for C bindings to remaining accessibility
7606 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7609 changed return value of Action from void to boolean to
7610 bring in line with ATK.
7613 Changed getText funcions to return "out" start and end offsets.
7614 Changed getAttributes to take and offset and return the start
7615 and end offset of the attribute run.
7616 Changed getOffsetAtPoint and getCharacterExtents to take an
7617 enum describing whether coordinates are window or screen.
7620 libspi/action.c libspi/action.h libspi/editabletext.c
7621 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7622 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7623 libspi/image.h libspi/selection.c libspi/selection.h
7624 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7625 libspi/value.c libspi/value.h
7626 Added server implementations for outstanding ATK interfaces
7627 not yet implemented.
7629 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7632 Added (missing) getName() method.
7633 Made nActions an attribute.
7634 * idl/EditableText.idl:
7635 Changed order of params in setAttributes.
7636 * idl/Hyperlink.idl:
7637 Removed getAnchor, added getURI.
7639 Changed attributes to methods, for efficiency
7640 (so that getting extents can be done in one call)
7641 * idl/Selection.idl:
7642 Changed nSelectedChildren to attribute, and re-indented.
7643 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7645 * idl/Text.idl: reformatted to match our coding style.
7646 (temporarily?) removed getRowColumnAtOffset().
7647 Changed text selection API to support multi-select and
7648 non-contiguous selections, as in ATK.
7649 * idl/Value.idl: changed some methods to attributes.
7651 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7653 * libspi/listener.c(impl_notify_event):
7654 BonoboUnkown_unref the source instead
7655 of bonobo_object_release_unref - the ORB
7656 handles the releasing.
7658 * configure.in: require ORBit-2.3.94 for
7661 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7663 Tagged CVS repository 'EA_1_0'.
7664 * README.EARLY_ACCESS:
7665 Alphabetized acknowledgements list, and
7667 Listed some known dependencies of at-spi.
7669 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7671 * docs/at-spi-docs.sgml:
7672 * docs/at-spi-sections.txt:
7673 * docs/at-spi-overrides.txt: (Added zero-length file)
7674 Documentation improvements - gtk-doc should build
7675 docs for all implemented C bindings now.
7678 * cspi/spi.c: (New file)
7679 * cspi/spi_event.c: (New file)
7680 * cspi/spi_registry.c: (New file)
7681 * cspi/spi_accessible.c: (New file)
7682 * cspi/spi_application.c: (New file)
7683 * cspi/spi_component.c: (New file)
7684 Split spi_main.c into six parts, and included them from
7685 "spi.c". This is a bit of a hack, probably temporary,
7686 but required by gtk-doc, apparently.
7688 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7691 * docs/at-spi-docs.sgml:
7692 * docs/at-spi-sections.txt:
7694 Initial checkins/modifications for gtk-doc generation.
7697 Added (missing) interface query methods to Accessible's C binding.
7699 Added GenericInterface type definition.
7701 Added query for AccessibleComponent interface to focus event handler.
7702 Added printout of bounding box for focussed component.
7703 * libspi/component.c:
7704 Added partial implementation for AccessibleComponent to C binding.
7705 * idl/Application.idl:
7706 * libspi/registry.c:
7707 * libspi/listener.c:
7708 * libspi/application.c:
7709 * libspi/application.h:
7710 Changed "ID" attribute type from string to long.
7712 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7716 Made method naming consistent: methods taking object args
7717 start with uppercase, other methods (except those using
7718 acronyms) start with lowercase. Underscores delimit between
7719 object names and method names:
7720 SPI_init() - uppercase since it starts with an acronym.
7721 getDesktopCount () - lowercase start since no object param0.
7722 Accessible_getName() - uppercase object type name, studlyCaps method
7726 Added gtk-doc documentation for all currently implemented
7727 methods in the C bindings API.
7729 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7731 * Makefile.am : changed build order to build test last.
7734 Changed "createEventListener" to "CreateEventListener".
7735 * libspi/accessibleeventlistener.c :
7736 Bugfix for addition of callbacks.
7737 * test/Makefile.am :
7738 * test/simple-at.c :
7739 Added new test that uses the C bindings API.
7741 * libspi/listener.c :
7742 * libspi/registry.c :
7743 * libspi/accessibleeventlistener.c :
7744 * at-bridge/bridge.c :
7745 Renamed member "target" of Accessibility_Event to "source",
7746 which is more descriptive.
7749 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7753 * cspi/Makefile.am :
7754 Added makefile support for at-spi/cspi directory.
7757 * cspi/spi-listener.h : (NEW FILE)
7758 Added support for/use of spi-listener.h.
7760 C bindings now build successfully, with no warnings.
7761 * libspi/accessibleeventlistener.h : (NEW FILE)
7762 * libspi/accessibleeventlistener.c : (NEW FILE)
7763 * libspi/Makefile.am :
7764 Added new object type "AccessibleEventListener"
7765 which inherits from Listener, and allows attachment
7766 of in-process callbacks (so that a client with a listening
7767 object instance can add functionality to the local
7768 implementation, dynamically).
7770 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7772 * libspi/accessible.c:
7773 Add implementation for get_index_in_parent().
7775 Added #include of "spi-roletypes.h", and
7776 added enumerated type AccessibleCoordType.
7777 Added definition for KeystrokeListener (function type).
7780 * cspi/spi-statetypes.h :
7781 * cspi/spi-roletypes.h :
7783 Added these headers, used by spi.h.
7785 Added code (NOTE: not yet built by make).
7787 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7789 * libspi/Makefile.am: generate imodule
7790 at the same time as other idl compiler
7793 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7794 * libspi/registry.c :
7795 * libspi/application.c :
7796 * idl/Application.idl :
7797 Made registration with toolkit an application method,
7798 which is required since each app has its own toolkit static
7799 environment. Thus the bridge must register for
7800 notification of toolkit events from each application in turn.
7801 Toolkit notifications are now successfully registered for, and
7802 sent to the listening at client.
7804 Changed toolkit event string to use hyphens rather than underscores.
7805 * libspi/listener.c :
7806 listner now gives more info in debug mode - it reports the
7807 name of the event received, as well as the name of the source.
7810 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7812 * libspi/registry.c :
7813 added more implementation for toolkit events.
7814 Fixed bug such that toolkit event registrations
7815 (via atk) use the whole event name string, not
7817 Removed a useless call to an ORBit_ method.
7818 * at-bridge/bridge.c :
7819 Removed unused local sbuf[] variable.
7821 We now register for Gtk:GtkWidget:button_press_event
7822 events as well as "focus:" events.
7824 Add some more API from Registry.idl that was missing,
7825 for keystroke listening, keystroke and mouse event
7826 synthesis, and enumeration of accessible desktops.
7828 2001-08-16 Michael Meeks <michael@ximian.com>
7830 * configure.in: use AM_GLIB_GNU_GETTEXT.
7832 * Makefile.am (SUBDIRS): kill intl.
7834 2001-08-15 Michael Meeks <michael@ximian.com>
7836 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7838 * configure.in: upd.
7840 * configure.in: depend on a recent bonobo-activation that
7841 will find our server files ...
7843 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7845 * libspi/accessible.c : accessible_new() :
7846 Now we add the Component interface via bonobo_object_add_interface,
7847 if the contained AtkObject implements AtkComponent.
7848 * libspi/accessible.h : now include "component.h"
7849 * libspi/component.h :
7850 * libspi/component.c : added files - implementation of
7851 bonobo wrapper object for Accessibility/Component
7852 * libspi/listener.c :
7853 Added test code to check for Accessibility/Component:1.0
7854 interface and report whether it is implemented by the
7856 * libspi/registry.c :
7857 Now we check for not only the hash of the whole event
7858 string before relaying the event, we also check the
7859 "minor" event string (without the detail string).
7860 This allows event listeners to be registered against
7861 all events of a certain major+minor type, or just
7862 against a specific major+minor+detail type.
7863 * libspi/accessible.c :
7864 Added implementations for Accessible:get_parent(),
7865 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7866 * libspi/registry.c :
7867 * libspi/listener.c :
7868 Replaced calls to Accessibility_Accessible_ref() and
7869 Accessibility_Accessible_unref() with
7870 calls to bonobo_object_dup_ref() and
7871 bonobo_object_release_unref(), so that the CORBA object
7872 is dup-ed and released when relayed, as well as the bonobo object.
7874 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7876 * libspi/Makefile.am,
7877 registryd/Makefile.am,
7878 at-bridge/Makefile.am.
7879 test/Makefile.am, configure.in:
7880 reverse previous changes.
7882 * /idl/Image.idl: fix typo.
7884 * test/Makefile.am: put DEBUG_FLAGS
7887 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7889 * test/app.c: use argv[0] instead of
7892 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7894 * libspi/Makefile.am,
7895 registryd/Makefile.am,
7896 at-bridge/Makefile.am.
7897 test/Makefile.am, configure.in:
7898 cleanup, replace individual LIBS/CFLAGS with
7899 AT_COMMON_{LIBS|CFLAGS}.
7903 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7905 * configure.in, libspi/Makefile.am:
7906 Change IDL path checking for bonobo-activation
7909 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7911 * registryd/registry.c : separated event listeners to use
7912 3 separate lists (focus, window, toolkit). Began testing
7913 event names against hashes before relaying events.
7914 * test/at.c : now register for events of type "focus:"
7915 * test/app.c : now generate events of type "focus:"
7916 * at-bridge/bridge.c : register with ATK for focus events,
7917 and we now relay those focus events to any "focus:" listeners.
7918 This now works with the bridge as a GTK_MODULE when running test/at.
7919 * libspi/registry.c :
7920 * libspi/listener.c :
7921 now we ref event sources before propagating, and unref on receipt.
7922 * libspi/registry.c :
7923 some changes to internal structs, to support event typestring hashes.
7924 * text/app.c : changed the way the appname is generated.
7925 * cspi : added directory that will hold the C bindings library for
7926 non-CORBA/bonobo-savvy clients.
7927 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7928 * idl/Component.idl : added in parameter to indicate coord system for
7929 geometry-related calls.
7930 * idl/Hyperlink.idl : added readonly n_links attribute
7931 * idl/Image.idl : changed methods to attributes.
7933 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7935 * at-bridge/Makefile.am: link against
7936 ../libspi/libspi.la instead of -lspi.
7938 * at-spi/test/app.c: include
7939 bonobo-activation.h. Use a default appname
7940 if one is not provided.
7942 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7944 * idl/Registry.idl : temporarily changed register_Application
7945 to oneway, to work around issue with initial registration
7947 * idl/Application.idl : changed attribute "id" from readonly
7948 to read-write, since it needs to be assigned by Registry.
7949 * registryd/registryd.c : added call to set application id
7951 * registryd/registry.c : changed de-registration procedure to
7952 use CORBA_Object_hash() to find matching object ref in application
7953 lists and listener lists.
7954 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7955 began distinguishing between event types (work in progress).
7957 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7960 * libspi/application.c:
7961 Added implementations for get/set id, get_toolkitName,
7963 * registryd/registryd.c :
7967 Converted from use of OAF to bonobo-activation.
7968 * libspi/desktop.h :
7969 * libspi/desktop.c :
7971 Removed references to atksimpleobject, since base atkobject
7972 implementation now provides functionality we need.
7973 * libspi/atksimpleobject.c :
7974 * libspi/atksimpleobject.h :
7979 * at-bridge/Makefile.am
7980 * at-bridge/bridge.c
7983 Added directory "bridge" and contents, and added dependencies
7984 in Makefile.am/configure.in.
7985 Initial checkin of "at-bridge".
7986 This code is a GTK_MODULE which automatically registers
7987 GTK+ apps with the accessibility registry, using an object
7988 reference to the root ATK object.
7990 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7992 * po/Makefile.in.in: Remove. Again. If this
7993 doesn't get autogenerated - you need to update
7996 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7998 * po/Makefile.in.in: Add. Again.
8000 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8002 * libspi/accessible.c : added support for 'description' property.
8003 * libspi/accessible.c
8005 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8006 (since the two are now equivalent in libbonobo)
8014 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8015 Bonobo::Unknown as does Accessibility::Accessible.
8016 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8017 interface with Bonobo::Stream, since it was redundant with it.
8018 (The Stream returned by a StreamableContext object is expected to
8019 implement only a subset of Bonobo::Stream)
8021 2001-07-28 Anders Carlsson <andersca@gnome.org>
8023 * libspi/accessible.c (accessible_object_finalize): Change
8024 g_free to g_object_unref since the AtkObject is a GObject.
8026 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8028 * idl/Accessibility.idl: add new IDL files
8031 * idl/Action.idl: Definitions of actionable UI object
8032 * idl/Component.idl: Definitions of UI component geometry, etc.
8033 * idl/Hyperlink.idl: Defs of hyperlink behavior
8034 * idl/Image.idl: Def of accessible image
8035 * idl/Selection.idl: Definition of UI object with selectable children
8036 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8037 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8038 * idl/Text.idl: Interface defs for UI elements with complex textual content
8039 * idl/Value.idl: Definition of UI element that is a value controller or display
8041 2001-07-27 Michael Meeks <michael@ximian.com>
8043 * po/Makefile.in.in: remove autogenerated file from CVS.
8045 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8048 * idl/Registry.idl: include guard.
8050 * idl/Accessibility.idl: Add, and include all the other IDL
8053 * idl/*.idl: remove mass of pragmas etc.
8055 2001-07-26 Michael Meeks <michael@ximian.com>
8057 * registryd/Makefile.am (registryd_SOURCES): remove
8060 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8062 * libspi/.cvsignore, registryd/.cvsignore,
8063 test/.cvsignore: updated.
8065 * po/Makefile.in.in: gettext update.
8067 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8069 * initial CVS checkin
8071 2001-06-29 Michael Meeks <michael@ximian.com>
8073 * configure.in: add AM_CONFIG_HEADER to gen config.h