1 2007-02-12 Li Yuan <li.yuan@sun.com>
3 * configure.in, NEWS: Uprev/release 1.17.0.
5 2007-02-12 Li Yuan <li.yuan@sun.com>
8 (atk_bridge_init): bug #400709. we must emit events even if we are not
9 registered as a full-fledged app.
10 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
11 application like openoffice shutdown. They need to unload gtk before
12 the is spi_atk_bridge_exit_func called.
14 2007-01-22 Li Yuan <li.yuan@sun.com>
16 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
18 2007-01-22 Li Yuan <li.yuan@sun.com>
20 * cspi/bonobo/cspi-bonobo.c:
21 (cspi_get_registry_ior), (cspi_init):
22 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
24 2007-01-19 Li Yuan <li.yuan@sun.com>
26 * atk-bridge/bridge.c:
27 (atk_bridge_init), (spi_atk_bridge_register_application),
28 (deregister_application), (spi_atk_bridge_focus_tracker),
29 (spi_atk_emit_eventv):
30 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
33 2007-01-08 Li Yuan <li.yuan@sun.com>
35 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
37 2007-01-08 Li Yuan <li.yuan@sun.com>
39 * registryd/registry-main.c:
40 (main): set registry ior only when register server successfully.
41 * atk-bridge/bridge.c:
42 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
43 Bug #372988, #381670. Fix memory leak.
45 2007-01-02 Bill Haneman <billh@gnome.org>
48 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
49 appending default attributes to a text attribute set.
52 2006-12-28 Li Yuan <li.yuan@sun.com>
54 * atk-bridge/bridge.c:
55 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
56 the second time, because spi_atk_emit_eventv will free any. Bug
59 2006-12-15 Li Yuan <li.yuan@sun.com>
61 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
63 2006-12-14 Li Yuan <li.yuan@sun.com>
66 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
67 (spi_atk_bridge_property_event_listener),
68 (spi_atk_bridge_signal_listener):
69 Free some CORBA objects to fix memory leak and crash.
71 2006-12-13 Li Yuan <li.yuan@sun.com>
73 Patch from Ariel Rios to fix #163132 and #377079.
74 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
75 (spi_atk_bridge_get_registry_ior):
76 Use g_warning instead of g_error and g_critical to avoid crash.
78 2006-12-11 Bill Haneman <bill.haneman@sun.com>
81 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
82 if there are no non-default attributes defined at the current offset.
85 2006-12-04 Bill Haneman <bill.haneman@sun.com>
87 * idl/Accessibility_Role.idl: Fixed the documentation for
88 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
90 2006-12-04 Bill Haneman <bill.haneman@sun.com>
92 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
94 2006-11-07 Bill Haneman <bill.haneman@sun.com>
96 Patches from Padraig O'Briain for bugs #361386 and #369377.
98 * registryd/registry.c:
99 (struct NotifyContext): Change the e_out
100 member from an Accessibility_Event struct to a pointer to
102 (notify_listeners_cb): Modify to use the new struct definition above.
103 Allows use of ORBit_copy_value instead of CORBA_any__copy.
105 * registryd/deviceeventcontroller.c:
106 (spi_dec_button_update_and_emit): Free the event's any_data
108 (spi_dec_mouse_check):Free the event details any struct
110 (spi_device_event_controller_forward_mouse_event): Free any.
111 (spi_device_event_controller_forward_key_event): Ditto.
113 2006-11-07 Bill Haneman <bill.haneman@sun.com>
115 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
116 Don't require gtk+ and gail for building most of at-spi
119 * registryd/registry-main.c (main): We now get te value of display
120 using the env var DISPLAY rather than using the gdk_display_get_default
121 to avoid dependancy of gdk. Also, once the registry is started, we set
122 the ior of the registry as an X property.
123 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
125 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
126 the registration was successfull.
127 (spi_atk_bridge_do_registration): This function now returns success
128 or not on activating the registry.
129 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
130 has been set in the X root window and return it if available.
131 (spi_atk_bridge_get_registry): We now get the registry using the IOR
132 saved as a X property rather than using the OAFID.
134 2006-10-01 Bill Haneman <bill.haneman@sun.com>
136 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
138 2006-09-25 Bill Haneman <bill.haneman@sun.com>
140 * registryd/registry.c:
141 (desktop_remove_application): Don't pass a ref to the
142 dead application with the event, since it's probably
143 defunct and will cause SEGV if we try to unref,
144 extract app name, etc.
147 2006-09-20 Bill Haneman <bill.haneman@sun.com>
149 Patch from Neo Liu <nian.liu@sun.com>,
152 * atk-bridge/bridge.c:
153 (spi_atk_bridge_document_event_listener): New, for
156 2006-08-30 Bill Haneman <bill.haneman@sun.com>
159 Changed some parameter names so as not to
160 collide with class names - allows IDL to be compiled with
161 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
163 2006-08-22 Bill Haneman <bill.haneman@sun.com>
165 * atk-bridge/bridge.c:
166 (spi_atk_bridge_signal_listener):
167 Patch from Ginn Chen, assign detail1 in children-changed
168 so that the child object can be assigned to the Any when the
169 at-spi event is emitted. Bug #350552.
171 * libspi/application.c:
172 (spi_application_finalize): Remove g_print debug output.
175 2006-08-21 Bill Haneman <bill.haneman@sun.com>
177 * configure.in: Revved to AT-SPI 1.7.11.
179 * libspi/accessible.c:
180 (spi_accessible_new): Aggregate Hyperlink interface
181 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
183 * libspi/hyperlink.c:
184 (spi_hyperlink_new): Don't aggregate Action a second time if this
185 interface is created for an AtkHyperlinkImpl object (i.e. for a
186 child Accessible, as opposed to the Hyperlink instance from
188 (get_hyperlink_from_servant): Obtain the hyperlink from
189 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
191 Patch section from Ginn Chen...
193 * cspi/spi_accessible.c:
194 (_cspi_accessible_set_from_sequence):
195 Changed g_newa to g_new0 on Ginn Chen's suggestion.
197 * libspi/accessible.c:
198 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
199 (spi_accessible_new): Add the Document interface if present.
202 (impl_getAttributes): Fixed to use AtkAttribute properly.
205 (impl_getAttributes, impl_getDefaultAttributes):
206 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
208 2006-08-17 Bill Haneman <bill.haneman@sun.com>
210 * cspi/spi-private.h, cspi/spi_accessible.c:
211 (_cspi_attribute_set_from_sequence): Renamed from
212 cspi_attribute_set_from_sequence, to suppress export.
215 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
216 inline docs, which was keeping the doc from appearing.
217 (SPIExceptionHandler): Doc this.
219 * cspi/spi_document.c:
220 Added inline gtk-docs cut-n-pasted from the doxygen
221 docs in the corresponding IDL files.
222 (AccessibleDocument_getAttributes): Fix the retval here.
224 * cspi/spi_streamablecontent.c:
225 Fixed some 'Since' tags that were accidentally doxygen-style.
228 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
229 docs from the IDL file.
231 * docs/reference/cspi/at-spi-cspi-docs.sgml:
232 Added entities for Document and StreamableContent interfaces.
234 * docs/reference/cspi/at-spi-cspi-sections.txt:
235 Added some docs that were present inline but not getting
238 2006-07-31 Bill Haneman <bill.haneman@sun.com>
241 (impl_getRangeExtents): Use the atk_text_get_range_extents
242 API instead of looping over character bounds, now that
244 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
245 (_spi_text_bounds_contain): Remove, not needed anymore.
246 (_spi_text_rect_union): Remove, not needed anymore.
248 2006-07-31 Bill Haneman <bill.haneman@sun.com>
250 * atk-bridge/bridge.c:
251 (spi_atk_emit_eventv): Fix the CORBA_free call which was
252 causing 64-bit troubles and memory leaks.
253 Special thanks to Alexander Larsson who finally seems to
254 have tracked down the problem, not just here but in
258 (spi_init_any_object): Make sure we copy the CORBA value
259 when initializing an object for passing as a CORBA_Any.
262 2006-07-21 Bill Haneman <billh@gnome.org>
264 * idl/Accessibility.idl:
265 Reverted pragma changes, this broke the build in some envs
266 including the Debian team's build and some tinderbox builds.
268 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
271 Revved to 1.7.10, and edited the Xevie check (bug #319994).
273 * idl/Accessibility.idl:
274 Reworked inclusion of Bonobo_Unknown.idl, to
275 avoid double-linking libs in the Bonobo environment.
276 Thanks to Michael Meeks for the workaround, see bug #313122.
278 * registryd/deviceeventcontroller.c:
279 (spi_controller_notify_keylisteners):
280 Set the SPI_NUMLOCK_MASK bit if the modifier
281 corresponding to the conceptual numlock state is set.
284 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
286 * idl/Accessibility_Selection.idl:
287 (deselectChild): New method.
289 * libspi/selection.c:
290 (impl_deselectChild): Implement the new IDL method.
293 (AccessibleSelection_deselectChild): Added new method.
295 * cspi/spi_selection.c:
296 (AccessibleSelection_deselectChild): New method implemented.
298 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
300 * cspi/bonobo/cspi-bonobo.c:
301 (cspi_init): Replace g_error with g_warning, prevent
302 SEGV if the registry cannot be activated. Bug #346393.
304 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
306 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
308 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
309 2006-07-12 Ariel Rios <arios@us.ibm.com>
313 * idl/Accessibility_Table.idl:
314 (getRowColumnExtentsAtIndex): New method for getting
315 selection status and extents in one API call.
318 (impl_getRowColumnExtentsAtIndex): Implementation of
320 (spi_table_class_init): Add above to epv.
324 (AccessibleTable_getRowColumnExtentsAtIndex): New
325 method, retrieves selection status and row/col extents
326 for a table cell in a single API call.
328 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
329 2006-07-12 Ariel Rios <arios@us.ibm.com>
331 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
334 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
335 New bindings for new methods defined in idl and libspi.
338 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
339 Added prototype functions.
342 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
344 (spi_text_class_init): Added previous methods.
347 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
348 * libspi/spi-private.h: Corrections.
350 2006-06-29 Bill Haneman <bill.haneman@sun.com>
352 Added Document interface (see bug #326520),
353 with work from Ariel Rios <arios@us.ibm.com>.
355 * configure.in: Bump to 1.7.8.
357 * libspi/Makefile.am: Added document.[ch] to sources
360 (SpiDocument, SpiDocumentClass):
361 New interface implementation.
362 (spi_document_get_type, spi_document_construct)
363 (spi_document_interface_new): New methods added.
364 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
365 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
366 Added macros for SpiDocument
370 (spi_document_interface_new): Get a
371 new document interface. New.
372 (get_document_from_servant): Get an AtkDocument from servant New.
373 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
374 Implementation of methods defined on idl.
375 (spi_document_class_init, spi_document_init)
376 Init methods for SpiDocument. new
378 * idl/Accessibility.idl: Added Accessibility_Document.idl.
380 * cspi/Makefile.am: Added spi_document.c to sources.
382 * cspi/spi_document.c:
383 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
384 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
385 (AccessibleDocument_getAttributes): Bindings for methods defined
388 * cspi/spi_accessible.c:
389 (Accessible_isDocument, Accessible_getDocument) New.
391 (Accessible_isDocument, Accessible_getDocument)
392 (AccessibleDocument_ref, AccessibleDocument_unref)
393 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
394 (AccessibleDocument_getAttributes): Bindings added.
396 * idl/Makefile.am: Added Accessibility_Document.idl to
399 2006-06-29 Bill Haneman <bill.haneman@sun.com>
401 * idl/Accessibility_Document.idl: New interface
402 for complex documents. First stage of fix for RFE
405 2006-06-27 Bill Haneman <bill.haneman@sun.com>
407 * libspi/streamablecontent.c:
408 (impl_content_stream_close):
409 Unref the GIOChannel on close.
411 2006-06-23 Bill Haneman <bill.haneman@sun.com>
413 * idl/Accessibility_Role.idl:
414 * libspi/accessiblerole.c:
415 * cspi/spi_accessible.c: Added ROLE_LINK,
416 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
417 Bug #345758 and bug #140635.
420 2006-06-22 Bill Haneman <bill.haneman@sun.com>
424 * idl/Accessibility_StreamableContent.idl:
425 Fix derivation of StreamableContent and ContentStream.
427 * cspi/spi_streamablecontent.c:
428 (accessible_content_stream_client_read):
429 Fix the datatype of the content stream used.
430 Interpret short reads as EOF, and stop trying to
431 read when we've fulfilled the request.
432 (AccessibleStreamableContent_getContentTypes):
433 Use g_strdup, not CORBA_string_dup, for the strings.
434 (AccessibleStreamableContent_open):
435 Correctly use the new getStream method for opening,
436 not the deprecated getContent method.
437 Use the object reference as the stream hash key.
438 Make note of the 'one stream per client per streamable'
439 limitation in the docs.
442 Add streamablecontent.h to the list of #includes.
444 * libspi/streamablecontent.c:
445 (impl_content_stream_read): Initialize the GError.
446 Allocate the incoming buffer if reading a fixed length of
447 data. Use g_memmove instead of memcpy.
448 (impl_accessibility_streamable_get_content_types):
449 Init typelist->_maximum. Only allocate the buffer if
450 there is a non-zero number of content types available.
451 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
453 * libspi/streamablecontent.h:
454 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
457 (SPI_IS_VALUE): Fix a typo in this macro too.
459 2006-06-16 Bill Haneman <bill.haneman@sun.com>
463 * idl/Accessibility_StreambleContent.idl:
464 Deprecate the Bonobo_Stream-based methods in favor of
465 a self-contained "ContentStream" interface. This should
466 allow us to remove BonoboStream dependencies entirely, since
467 there were no non-NIL implementations of the old methods anyway.
468 (ContentStream): New interface.
469 (ContentStream::SeekType): Enum.
470 (ContentStream::seek): New.
471 (ContentStream::read): New.
472 (ContentStream::close): New.
473 (getContent): Deprecate.
474 (getURI): New method, returns a URI pointing to the content, if available.
476 * libspi/streamablecontent.c:
477 (SpiContentStream): Internal object type definition used to
478 implement Accessibility::StreamableContent::ContentStream via
479 AtkStreamableContent's GIOChannel back-end.
480 (spi_content_stream_new, spi_content_stream_dispose): See above;
482 (impl_content_stream_seek, impl_content_stream_read):
483 (impl_content_stream_close): New, implementations of
485 (impl_accessibility_streamable_get_stream): Implement the
486 public method Accessibility::StreamableContent::getStream.
487 (impl_accessibility_streamable_get_uri): Implement the
488 public method Accessibility::StreamableContent::getURI.
490 * cspi/spi_streamablecontent.c:
491 (accessible_bonobo_stream_client_seek): Replaced by
492 (accessible_content_stream_client_seek).
493 (accessible_bonobo_stream_client_read): Replaced by
494 (accessible_content_stream_client_read).
495 (AccessibleStreamableContent_open):
496 (AccessibleStreamableContent_seek):
497 (AccessibleStreamableContent_read):
498 (AccessibleStreamableContent_close): Use the new 'getStream'
499 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
501 2006-06-15 Bill Haneman <bill.haneman@sun.com>
503 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
504 remove from other .idl files (except LoginHelper).
507 2006-06-14 Bill Haneman <bill.haneman@sun.com>
509 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
512 * configure.in, */Makefile.am: mingw patch, modified from
513 original patch by yselkowitz. Bug #314216.
515 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
516 for completeness. Bug #163111.
518 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
519 * libspi/util.c, registryd/registry-main.c:
520 Fix guint/char* casts.
521 Patch from chpe, bug #333883.
523 2006-06-12 Bill Haneman <bill.haneman@sun.com>
525 * configure.in: Require atk-1.12.0, to pick up
526 new API. (bug #344412).
528 * libspi-1.0-uninstalled.pc.in:
530 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
531 Fix for #341488 from Samual Thibault.
533 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
534 Thanks to Brian Pepple.
536 2006-06-09 Bill Haneman <bill.haneman@sun.com>
539 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
540 New, missing implementations of attribute reading methods
543 * cspi/spi.h, spi_value.c:
544 (AccessibleValue_getMinimumIncrement): New methods wrapping
545 the (formerly unimplemented) property from Value.idl.
548 (impl_get_minimumIncrement): Implementation for retrieving
549 the minimum valuator increment, (formerly unimplemented).
552 2006-06-09 Bill Haneman <bill.haneman@sun.com>
554 * idl/Accessibility_State.idl:
555 Added STATE_VISITED (bug #338369).
557 * cspi/spi_accessible.c:
558 (spi_state_to_corba) Fixed marshalling of new statetypes.
561 (spi_init_state_tables, impl_getStates):
562 Fixed conversion of new statetypes to/from ATK.
564 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
566 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
567 definitions/conversions for new roles from ATK.
569 * idl/Accessibility_Relation.idl:
571 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
572 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
573 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
575 * libspi/accessible.c: Fixed marshalling of new role types from
578 2006-04-17 Matthias Clasen <mclasen@redhat.com>
580 * revert my previous change
582 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
584 * configure.in: Remove obssolete no_NO locale
585 * po/no.po: And the translation.
587 2006-04-05 Matthias Clasen <mclasen@redhat.com>
589 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
590 memory-management error that caused crashes on x86_64.
593 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
595 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
597 2006-03-27 Bill Haneman <bill.haneman@sun.com>
599 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
600 to strip "cspi_*" from the symbol table.
602 * cspi/spi_streamablecontent.c:
603 (get_streams): Make this method static.
606 (_cspi_exception_throw): rename to cspi_exception_throw,
607 so we can strip it with the rest...
610 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
612 2006-03-27 Bill Haneman <bill.haneman@sun.com>
614 Add doxygen-generated IDL docs to tarball, and enable
615 doxygen during build/install when available. Bug #301345.
617 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
619 * docs/reference/Makefile.am: Add idl to SUBDIRS.
621 * docs/reference/idl/Makefile.am: Optionally use
622 doxygen to create docs.
624 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
626 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
628 2006-03-20 Bill Haneman <bill.haneman@sun.com>
631 (impl_get_selected_rows): Don't free the selection if it's
632 empty or has not been assigned; init it to NULL so you can tell.
633 Also, allow for zero selected rows.
634 (impl_getSelectedColumns): Ditto. Bug #319088.
636 2006-03-11 Vincent Untz <vuntz@gnome.org>
638 Leak fix for bug #334217.
640 * libspi/application.c: spi_application_toolkit_event_listener():
641 don't duplicate the string we pass as an argument to
642 spi_init_any_nil() since spi_init_any_nil() already does it
643 * registryd/deviceeventcontroller.c:
644 (spi_dec_button_update_and_emit): ditto
645 (spi_dec_mouse_check): ditto
646 (spi_dec_emit_modifier_event): ditto
647 (spi_device_event_controller_forward_mouse): ditto
648 * registryd/registry.c:
649 (desktop_add_application): ditto
650 (desktop_remove_application): ditto
652 2006-02-20 Bill Haneman <billh@gnome.org>
654 * configure.in: Rev to 1.7.6.
656 Leak fixes for bug #331924.
658 * atk-bridge/bridge.c:
659 (spi_atk_bridge_init_base): Don't dup the string, it's already
660 been dup-ed. Fixes a leak.
661 (spi_atk_emit_eventv): Move the CORBA_free call here,
662 instead of spi_atk_state_event_listener; fixes another leak.
663 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
664 notifying the registry; fixes another leak.
666 * registryd/registry.c:
667 (registry_flush_event_queue): Free the CORBA_any when
668 flushing the event, not just the string. Fixes another leak.
669 (registry_queue_event): Free the CORBA_any when dropping
670 events on the floor; fixes another leak.
673 (spi_init_any_object, spi_init_any_nil):
674 Always set _release to TRUE. Fixes another leak.
676 2006-02-20 Bill Haneman <billh@gnome.org>
678 * configure.in: Rev to 1.7.5.
679 Reinstate localization of this module. Thanks for Rodney
680 Dawes for fixing my patch.
682 * registryd/Makefile.am: Remove Accessibility_Registry.server
683 from dist, since it needs to be re-created at configure time.
686 2006-01-31 Bill Haneman <billh@gnome.org>
688 * configure.in: Rev to 1.7.4 (to include build fix below).
690 * idl/Makefile.am: Include Selector.idl in dist.
694 (cspi_internal_event_get_object): Handle case where
695 "object" isn't present, i.e. CORBA_TC_Object doesn't match
696 the EventDetails data.
697 (cspi_internal_event_get_text): Handle NULL string.
698 (cspi_internal_event_get_rect): Handle missing/empty rect
699 data, Accessibility_TC_RectBounds doesn't match any_data.
701 2006-01-30 Bill Haneman <billh@gnome.org>
705 * atk-bridge/bridge.c:
706 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
707 interface and use that when instantiating a new source
708 accessible. Better fix for bug #321814.
710 2006-01-27 Bill Haneman <billh@gnome.org>
712 * idl/Accessibility_Selector.idl: Added to the cvs repository.
714 * configure.in: Revved to 1.7.3.
716 2006-01-17 Bill Haneman <billh@gnome.org>
718 * configure.in: Revved to 1.7.2, re-dist to include docs.
720 2006-01-09 Bill Haneman <billh@gnome.org>
722 * configure.in: Removed po/Makefile.in inclusion, we do not need
725 * idl/Accessibility.idl: Improved documentation here, and for all
726 IDL in the 'GNOME::Accessibility' namespace.
728 * idl/Accessibility_Accessible.idl:
729 (LOCALE_TYPE): Added enum.
730 (AttributeSet): New, for returning multiple name/value attribute pairs.
731 (RoleSet): New, sequence of Roles, to be used in upcoming
733 (getAttributes): New API, allows retrieval of name/value pair
734 annotations for all kinds of Accessible objects. C.f.
735 Text:getAttributes, which is only for typographic/textual/semantic tags in
737 (getApplication): New, retrieves the host/containing Application
738 instance for an object (without having to walk up the whole tree).
740 * idl/Accessibility_Component.idl:
741 (getAlpha): New method, returns the alpha blending (aka 'opacity')
742 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
745 * idl/Accessibility_Event.idl:
746 (EventDetails): New struct definition, for encapsulating
747 commonly-queried information about emitted events. The use of
748 this structure in emitted events (in the 'any' member of
749 Accessibility_Event) should greatly reduce the number of
750 client-server roundtrips necessary.
752 * idl/Accessibility_Image.idl:
753 (imageLocale): New, a readonly attribute indicating the POSIX
754 LC_MESSAGES locale of the image and associated Alt/descriptive
757 * idl/Accessibility_Relation.idl:
758 (RELATION_PARENT_WINDOW_OF): Include, as complement to
761 * idl/Accessibility_Role.idl:
762 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
763 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
764 complex document and form support.
766 * idl/Accessibility_State.idl:
767 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
768 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
769 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
770 for support of complex documents and forms.
772 * idl/Accessibility_StreamableContent.idl:
773 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
774 allow old bonobo-stream interfaces to be deprecated in the next
777 * idl/Accessibility_Text.idl:
778 (getAttributeValue): New method, allows query-by-name of single
781 * libspi/accessible.c:
782 Added support for new roles. Implemented new methods
783 (impl_accessibility_accessible_get_application): New
784 (impl_accessibility_accessible_get_attributes): New
786 * libspi/component.c:
787 (impl_accessibility_component_get_alpha): New.
790 (impl_accessibility_image_get_locale): New.
792 * libspi/relation.c: Added support for new relation type.
794 * libspi/stateset.c: Added support for new state types.
797 (impl_getAttributeValue): New.
800 New prototypes for private methods
802 spi_init_any_object, spi_init_any_string,
805 * libspi/spi_event.c:
806 Use EventDetails in the event emission methods.
808 * cspi/spi-private.h:
809 (cspi_role_from_spi_role): Expose this adapter method, since
810 we need it in the bridge (see below).
813 (AccessibleEvent_getSourceName):
814 (AccessibleEvent_getSourceRole):
815 (AccessibleEvent_getSourceApplication):
816 (AccessibleEvent_getSourceDetails):
817 New methods for interrogating/demarshalling
818 event details (i.e. source's accessible name, role,
821 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
822 Make use of the new EventDetails struct in events, if present.
823 (AccessibleEvent_getSourceName)
824 (AccessibleEvent_getSourceRole)
825 (AccessibleEvent_getSourceApplication)
826 (AccessibleEvent_getSourceDetails): Implement the newly exposed
828 (Accessible_getAttributes): New, wraps
829 Accessibility_Accessible_getAttributes.
830 (Accessible_getHostApplication): New, wraps
831 Accessibility_Accessible_getApplication.
834 (AccessibleImage_getImageLocale): New wrapper for
835 Accessibility_Image_get_imageLocale.
837 * cspi/spi_component.c:
838 (AccessibleComponent_getAlpha): New wrapper for
839 Accessibility_Component_getAlpha.
841 * atk-bridge/bridge.c:
842 Use new prototyped for init_any methods.
843 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
844 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
845 (spi_atk_bridge_init_base): Wrappers
846 for spi_init_any_* methods, due to refactor; include extended
847 information in the Accessibility_EventDetails struct, for instance
848 accessible-name, Role, and containing Application.
850 * registryd/registry.c:
851 Use new event emission (with EventDetails).
853 * registryd/deviceeventcontroller.c:
854 Use new event emission (with EventDetails).
856 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
858 * configure.in: Generate po/Makefile.in
859 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
860 * cspi/spi_streamablecontent.c:
861 (accessible_bonobo_stream_client_seek),
862 (AccessibleStreamableContent_seek): Remove unused vars.
863 * libspi/application.c: Missing header.
864 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
865 * login-helper/login-helper.c: (login_helper_finalize),
866 (login_helper_init): Remove unused stuff
867 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
868 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
869 and surround some with #ifdef GRAB_BUTTON.
870 * test/event-listener-test.c: (main), (report_event),
871 (report_caret_event), (report_detail_event),
872 (report_detail1_event), (report_bounds_event), (report_text_event),
873 (report_text_selection_event),
874 (report_active_descendant_changed_event),
875 (report_children_changed_event), (report_name_changed_event),
876 (report_description_changed_event), (report_parent_changed_event),
877 (report_window_event), (report_table_summary_event),
878 (report_table_header_event), (report_table_caption_event),
879 (report_table_row_description_event),
880 (report_table_column_description_event), (timing_test_event):
881 Remove a bunch of unused variables and fix a slew of format specifiers
882 * test/key-listener-test.c: (report_all_key_event): Format specifier
883 * test/keypad-test.c: (print_key_event): Same
884 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
886 * test/screen-review-test.c: (main), (print_chunk_debug),
887 (review_buffer_get_text_chunk), (debug_chunk_list),
888 (string_guess_clip), (text_chunk_get_clipped_string),
889 (text_chunk_list_to_string), (get_screen_review_line_at):
890 Remove unused variables and fix format specifiers.
891 * test/simple-at.c: (report_text_event): Format specifier fix.
892 * test/stress-test.c: (main): Remove unused var.
894 2005-12-29 Abel Cheung <maddog@linuxhall.org>
896 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
897 (yes I know that's useless)
899 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
901 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
903 2005-11-17 Michael Meeks <michael.meeks@novell.com>
905 * atk-bridge/bridge.c (spi_atk_emit_eventv):
906 urgh-fix embarassing typo.
908 2005-11-16 Michael Meeks <michael.meeks@novell.com>
910 * atk-bridge/bridge.c (spi_atk_emit_eventv):
911 do a faster, less problematic _unref call on this local
912 object, rather than a slower (potentially cross-thread
913 complicated) CORBA call.
915 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
917 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
918 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
919 * registryd/deviceeventcontroller.c:
920 (spi_controller_notify_mouselisteners),
921 (impl_generate_keyboard_event):
922 * test/screen-review-test.c: (chunk_bounds_within):
923 * test/test-simple.c: (test_desktop): Remove some unused code
924 and fix compiler warnings. Closes bug #320049.
926 2005-10-27 Bill Haneman <bill.haneman@sun.com>
928 * registryd/deviceeventcontroller.c:
929 (spi_controller_notify_keylisteners): Check
930 to make sure the event listener has requested 'preemptive'
931 status before pre-empting an event.
933 2005-08-29 Bill Haneman <bill.haneman@sun.com>
935 * configure.in, README, NEWS: Release 1.6.5.
937 2005-07-25 Matthias Clasen <mclasen@redhat.com>
939 * test/window-listener-test.c: Fix a printf
940 format error. (#169453)
942 2005-07-15 Bill Haneman <bill.haneman@sun.com>
944 * tests/test-simple.c:
945 (key_listener_cb): Ensure that the keystring is dup'ed instead of
946 relying on the old string from the key event hanging around after
947 the event handler returns. Fixes broken 'make check'.
949 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
951 * Added Marathi (mr_IN) translations.
953 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
955 * cspi/bonobo/cspi-bonobo-listener.c:
956 (cspi_event_list_remove_by_cb): Fix the build.
958 2005-05-26 Michael Meeks <michael.meeks@novell.com>
960 * cspi/bonobo/cspi-bonobo-listener.c
961 (cspi_event_list_remove_by_cb): actually filter by callback.
963 2005-05-25 Bill Haneman <bill.haneman@sun.com>
965 * registryd/registry.c (remove_listener_cb):
966 Make deregistration filter rules match the event emission rules.
968 2005-05-25 Michael Meeks <michael.meeks@novell.com>
970 * registryd/registry.c (remove_listener_cb),
971 (impl_accessibility_registry_deregister_global_event_listener),
972 (impl_accessibility_registry_deregister_global_event_listener_all):
973 pass a closure to the remove callback to filter listeners more
974 accurately on remove.
976 2005-04-05 Bill Haneman <bill.haneman@sun.com>
978 * configure.in: Revved to 1.6.4.
979 Remember to put quotes around XEVIE_LIBS assignment.
980 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
983 * tests/event-listener-test.c: Tweaked the tests - more detail
984 from caret events, and some interrogation of AccessibleText APIs.
985 Commented-out the bounds-changed events by default, since they can
988 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
990 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
991 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
992 Same here. Closes bug #167806
994 2005-04-05 Bill Haneman <bill.haneman@sun.com>
996 * atk-bridge/bridge.c:
997 (spi_atk_bridge_signal_listener):
998 Free the any._value if any._release is TRUE,
999 since the ORB won't do it for us in this case
1000 [because this method is not a skel].
1001 Fix for bug #168679.
1003 2005-03-30 Steve Murphy <murf@e-tools.com>
1005 * configure.in: Added "rw" to ALL_LINGUAS.
1007 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1009 * configure.in: Improved check for HAVE_XEVIE, to detect
1010 presence on XOrg, where -lXevie is a separate library.
1012 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1014 * configure.in, NEWS, README: Revved to 1.6.3.
1016 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1018 * configure.in: Added "xh" to ALL_LINGUAS.
1020 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1022 * atk-bridge/bridge.c:
1023 (atk_bridge_init): Added missing NULL in g_strconcat(),
1024 also check for symlink before logging to
1025 insecure directory. Thanks to meissner@suse.de.
1027 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1029 * tests/login-helper-server-test.c: Add return call to main
1030 function. Patch from Chris Lahey. Fixes bug #165129.
1032 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1034 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1036 2004-12-09 Bill Haneman <billh@gnome.org>
1038 * registryd/registry-main.c:
1039 Added #define <string.h> for strrchr. (bug 160862).
1040 Thanks to Vincent Berger for catching.
1042 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1044 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1045 restart registry process if the registry process is found to have died
1046 and the current process is exiting.
1047 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1048 application if the registry process has died.
1049 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1050 does not return a registry object.
1051 (spi_atk_tidy_windows): Give up if the registry process has died.
1053 This fixes problems with hangs and crashes when logging out.
1055 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1057 * registryd/desktop.c: Add checking that we are not exiting before
1058 calling spi_desktop_remove_application in
1059 abnormal_application_termination. Fix for bug #152147.
1061 2004-12-02 Bill Haneman <billh@gnome.org>
1063 * configure.in, NEWS, README: Revved to 1.6.1.
1065 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1066 * atk-bridge/bridge.c:
1067 (atk_bridge_init): Save the pid when we start, to detect forks.
1068 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1069 if we're in a forked pid.
1071 2004-10-09 Bill Haneman <billh@gnome.org>
1073 * idl/Accessibility_LoginHelper.idl:
1074 Improved inline documentation.
1076 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1078 * configure.in: Added gl (Galician) to ALL_LINGUAS
1080 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1082 * libspi/accessible.c:
1083 (impl_accessibility_accessible_get_role_name),
1084 (impl_accessibility_accessible_get_local_role_name):
1085 NULL vs. 0 cleanups.
1086 * libspi/component.c:
1087 (impl_accessibility_component_get_accessible_at_point):
1089 * libspi/eventlistener.c: (spi_event_listener_new):
1091 * libspi/stateset.c: (impl_compare): More of the same
1092 * libspi/table.c: (impl_getRowDescription): Again.
1093 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1094 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1095 (impl_generate_keyboard_event): Same.
1096 * registryd/registry-main.c: (main): Same
1097 * test/event-listener-test.c: (test_exit): Same
1098 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1099 * test/keysynth-test.c: (test_key_synthesis): Same
1100 * test/login-helper-server-test.c: (main): Fix warning.
1101 * test/screen-review-test.c: (test_exit): Fix include.
1102 * test/simple-at.c: (simple_at_exit), (_festival_init):
1105 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1107 * configure.in, NEWS, README: Revved to 1.6.0.
1109 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1111 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1112 was missing the HTML docs.
1114 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1116 * configure.in: only cleanups:
1117 - better looking PKG_CHECK_MODULES() output,
1119 - declare in one common place required versions of other tools using
1122 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1124 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1125 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1126 required ATK version accordingly.
1128 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1130 * cspi/bonobo/cspi-bonobo.c:
1131 (cspi_display_name): Fix C99ism.
1132 * atk-bridge/bridge.c:
1133 (spi_display_name): Fix C99ism.
1134 Patch from Jens Granseuer, jensgr@gmx.net.
1136 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1138 * configure.in: Added "or" to ALL_LINGUAS.
1140 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1142 * configure.in, NEWS, README: Revved to 1.5.4.
1144 * registryd/registry-main.c:
1145 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1148 * cspi/bonobo/cspi-bonobo.c:
1149 (cspi_display_name): New convenience method, gets DISPLAY with
1150 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1151 (cspi_init): Set the activation env value above before getting
1154 * atk-bridge/bridge.c:
1155 (spi_display_name): Create the AT_SPI_DISPLAY activation
1156 environment for an app, based on the DISPLAY environment with the
1157 screen number stripped off.
1158 (atk_bridge_init): Allow redirection of error messages to a log.
1159 (spi_atk_bridge_get_registry): Call
1160 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1162 Fixes for bugs #149962, #136986, #144086.
1164 2004-08-16 Christian Rose <menthos@menthos.com>
1166 * configure.in: Added "bs" to ALL_LINGUAS.
1168 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1170 * configure.in: Added nb to ALL_LINGUAS.
1172 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1175 (SPI_init): Return error code '2' if the activated
1176 registry cannot be pinged. Fixes bug #147648.
1178 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1180 * registryd/deviceeventcontroller.c:
1181 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1182 rely on timer-poll instead, to avoid conflict with
1185 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1187 * configure.in: Revved to 1.5.3.
1189 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1191 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1193 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1195 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1197 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1199 * atk-bridge/bridge.c:
1200 (spi_atk_bridge_do_registration):
1201 Register with ATK for AtkComponent:bounds-changed events.
1202 (api_atk_bridge_signal_listener):
1203 Marshal the AtkRectangle info into the event notification
1204 for object:bounds-changed events.
1207 (spi_init_any_rect): New method, inits a corba struct of
1208 type Accessibility_BoundingBox from an AtkRectangle.
1210 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1213 (SPIRect): New struct definition.
1214 (SPI_freeRect): New declaration.
1215 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1218 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1219 implemented. Gets the bounding box data from the CORBA_any
1220 associated with a bounds-changed event notification.
1221 (cspi_internal_event_get_rect): New, used internally by above method.
1224 (SPI_freeRect): Implemented this new method, for freeing
1227 * test/event-listener-test.c:
1228 (main, report_bounds_event):
1229 Added a test for object:bounds-changed events.
1231 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1233 * test/login-helper-server-test.c:
1234 (main): Fix C99-ism. Thanks to Jens Granseuer.
1236 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1238 * libloginhelper-1.0.pc.in:
1239 * idl/Accessibility_LoginHelper.idl:
1240 * login-helper/Makefile.am:
1241 * login-helper/login-helper.[ch]:
1242 * test/login-helper-client-test.c:
1243 * test/login-helper-server-test.c: Added files missing from CVS.
1244 Files obtained from at-spi-1.5.2 tarball.
1246 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1248 * configure.in: Create login-helper/Makefile.
1249 Incremented micro version.
1251 * Makefile.am: Add login-helper subdir and pkgconfig data.
1253 * login-helper: New subdir.
1255 * libloginhelper-1.0.pc.in: New.
1257 * idl/Accessibility_LoginHelper.idl: New file, defines
1258 interface whereby authentication clients can identify agents which
1259 need access to services during the login process, e.g. screen lock
1262 * login-helper/Makefile.am : New.
1264 * login-helper/login-helper.[ch] : New, implementation of
1265 a LoginHelper base class. Services needing LoginHelper can subclass.
1267 * test/Makefile.am : Added test for login-helper, client and
1270 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1271 Use proper prefix in #include files.
1273 * test/login-helper-client-test.c: New.
1275 * test/login-helper-server-test.c: New.
1277 2004-05-27 Alexander Shopov <ash@contact.bg>
1279 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1281 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1283 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1284 is positive. This should make it easier to detect inapprorpiate unref
1287 2004-05-11 James Henstridge <james@daa.com.au>
1289 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1290 no-op and deprecated.
1292 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1294 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1296 2004-04-28 Bill Haneman <billh@gnome.org>
1298 * Makefile.am: Added --enable-gtk-doc to
1299 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1301 2004-04-19 Bill Haneman <billh@gnome.org>
1303 * configure.in: Revved to 1.5.1.
1305 * registryd/deviceeventcontroller.c:
1307 (DEControllerPrivateData): Added fields for
1308 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1309 (spi_dec_replace_map_keysym): New internal utility for
1310 replacing a keysym in the keymap - used to allow
1311 synthesis of individual characters which aren't in the
1313 (spi_dec_reset_reserved): New; resets the changed keysym value
1315 (keycode_for_keysym): We now try to deal with failed
1316 XKeysymToKeycode requests by changing a keymap value
1317 and returning a reserved keycode. We now take
1318 a DEController pointer as first arg.
1319 (spi_controller_register_with_devices): Call XkbGetMap with
1320 the XkbKeySymsMask. Find the highest keycode in the current
1321 keymap which doesn't have any grabs, and mark that one for
1322 temporary re-mapping when out-of-range KeySyms are synthesized.
1323 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1326 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1328 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1330 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1332 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1334 2004-03-24 Bill Haneman <billh@gnome.org>
1337 (AccessibleTable_addRowSelection),
1338 (AccessibleTable_addColumnSelection),
1339 (AccessibleTable_removeRowSelection),
1340 (AccessibleTable_removeColumnSelection):
1341 Add declarations for spi wrappers which were
1342 inadvertantly omitted. Fixes bug #133413.
1345 Revved to 1.5.0 (unstable series for GNOME 2.7).
1347 2004-03-24 Bill Haneman <billh@gnome.org>
1349 * atk-bridge/bridge.c:
1350 Bracketed some debug output in
1351 conditionals, to avoid printing it in normal use.
1354 * libspi/hyperlink.c:
1355 Don't cast 'object' to ATK_OBJECT when constructing
1356 an AtkAction interface for a hyperlink.
1357 See discussion in bug #120659.
1359 * test/key-listener-test.c:
1360 (report_all_key_event): Send output to stderr,
1361 not stdout, for consistency with the rest of the test callbacks.
1364 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1365 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1366 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1367 try incrementing the revision AFTER doing a dist, at least
1370 2004-03-22 Bill Haneman <billh@gnome.org>
1372 * configure.in: Revved to 1.4.0, libtool 9.14.9
1374 2004-03-17 Laszlo Peter <laca@sun.com>
1376 * libspi-1.0-uninstalled.pc.in: add idldir
1378 * cspi-1.0-uninstalled.pc.in: add idldir
1380 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1382 * configure.in: Added "en_GB" to ALL_LINGUAS
1384 2004-03-15 Bill Haneman <billh@gnome.org>
1386 * configure.in: Revved to 1.3.16,
1389 2004-03-15 Laszlo Peter <laca@sun.com>
1391 * libspi-1.0-uninstalled.pc.in: new file
1393 * cspi-1.0-uninstalled.pc.in: new file
1395 * configure.in: add the new pc files to AC_OUTPUT
1397 * Makefile.am: add the new pc files to EXTRA_DIST
1399 2004-03-12 Bill Haneman <billh@gnome.org>
1401 * atk-bridge/bridge.c:
1402 (spi_atk_bridge_key_listener):
1403 Make sure to return consumed=FALSE if snoop
1404 event is not dispatched to listener.
1407 2004-03-01 Bill Haneman <billh@gnome.org>
1409 * configure.in: Revved to 1.3.15,
1412 2004-03-07 Danilo Segan <dsegan@gmx.net>
1414 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1416 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1418 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1420 2004-03-01 Bill Haneman <billh@gnome.org>
1422 * configure.in: Revved to 1.3.14.
1425 (SPI_exit): Removed "bye-bye" exit message.
1426 Moved "leak" report to happen before the
1427 iteration over the leaked refs list.
1428 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1430 2004-02-24 Bill Haneman <billh@gnome.org>
1432 * configure.in: Revved to 1.3.13.
1434 * docs/reference/cspi/Makefile.am:
1435 Correct typo that was breaking the docs build.
1437 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1439 * autogen.sh: Require version 1.7 of automake.
1441 * configure.in: call GTK_DOC_CHECK([1.0])
1443 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1445 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1447 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1449 * test/Makefile.am: Remove use of CFLAGS.
1451 This fixes bug #132987.
1453 2004-02-11 Bill Haneman <billh@gnome.org>
1455 * reverted most of Tomasz' patch below, since it was breaking
1456 builds (see bug #134058).
1458 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1460 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1461 correct pass "make dist" (empty .. because seems no sach types in
1462 header files with gtk-doc markups).
1463 * docs/reference/cspi/Makefile.am, configure.in:
1464 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1465 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1466 * Makefile.am: added:
1467 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1468 for force correct pass generate documentation on "make distcheck".
1469 * libspi/Makefile.am: fixes for automake >= 1.6.
1470 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1471 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1474 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1476 * docs/reference/cspi/Makefile.am (install-data-local): Install
1477 index.sgml since the doc autobuilder on widget.gnome.org looks for
1480 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1482 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1485 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1487 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1489 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1491 * test/simple-at.c: Fixed null string problems that cause core
1492 dumping problems on Solaris.
1494 2004-01-12 Bill Haneman <billh@gnome.org>
1496 * configure.in: Incremented version to 1.3.11.
1498 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1500 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1501 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1504 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1506 * configure.in: Added "fa" to ALL_LINGUAS.
1508 2003-12-20 Arafat Medini <lumina@silverpen.de>
1510 * configure.in: Added "ar" to ALL_LINGUAS
1512 2003-12-16 Bill Haneman <billh@gnome.org>
1514 * registryd/registry-main.c:
1516 Set the reg_env DISPLAY variable before registering the
1517 activated registry service. Fixes bug #129479.
1519 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1521 * configure.in: Added "id" in ALL_LINGUAS
1522 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1524 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1526 * registryd/deviceeventcontroller.c (global_filter_fn):
1527 When an event is consumed discard any XEvents were added to
1528 the queue while dealing with the the event. This can happen if
1529 processing of the event takes a long time. Call XUngrabKeyboard
1530 if an event was discarded. This fixes bug $124837.
1531 Only call wait_for_release_event for a KeyPress.
1532 Use local variable display instead of spi_get_display().
1533 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1536 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1538 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1539 Allow for mask to contain values other than NumLock mask.
1542 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1544 * registryd/devieceventcontroller.c:
1545 (wait_for_release_event): Change first parameter from GdkEvent to
1547 (global_filter_fn); Correct call to wait_for_release_event.
1551 2003-12-08 Bill Haneman <billh@gnome.org>
1555 * registryd/ucs2keysym.c: New file.
1557 * registryd/deviceeventcontroller.c:
1558 (dec_keysym_for_unichar): Remove old partial implementation and
1559 replace with call to ucs2keysym(), which is much more complete.
1560 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1565 2003-12-05 Bill Haneman <billh@gnome.org>
1567 * configure.in: Version 1.3.9.
1569 * docs/reference/cspi/tmpl/spi_registry.sgml:
1570 Added reference to libspi/keymasks.h to the
1571 description of Registry queries: AccessibleKeyMaskType.
1574 2003-12-04 Bill Haneman <billh@gnome.org>
1576 Fix for bug #121974.
1578 * idl/Accessibility_Application.idl:
1579 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1580 setlocale's LC_TYPEs.
1581 (Accessibility::Application::getLocale): New method.
1582 Allows clients to query the locale, by type, of an app.
1585 * cspi/spi_application.c:
1586 (AccessibleApplication_getLocale): New method, wraps IDL above.
1588 * libspi/application.c:
1589 (spi_application_class_init): Init epv entry for getLocale.
1590 (impl_accessibility_application_get_locale): Impl for above.
1592 * test/test-simple.c:
1593 (test_application): Added assertion for getLocale, i.e.
1594 that the string from AccessibleApplication_getLocale (app, type)
1595 is the same as that from setlocale (type, NULL);
1597 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1599 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1600 the keyboard on a timeout intil the key state goes from pressed to
1601 released. Fixes bug #111429.
1603 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1605 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1606 root object so that it is present when a context menu in an
1607 out-of-process applet is popped up.
1608 (spi_atk_bridge_do_registration): Create acceessible application root
1609 object only if it does not exist.
1611 This fixes bug #125834.
1613 2003-12-01 Bill Haneman <billh@gnome.org>
1615 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1618 Added enum for AccessibleStreamableContentSeekType.
1619 (AccessibleStreamableContent_freeContentTypeList): New.
1621 * cspi/spi_streamablecontent.c:
1622 (accessible_bonobo_stream_client_seek): New private method.
1623 (AccessibleStreamableContent_seek): Implemented this method,
1624 using Bonobo_Stream_seek.
1625 (AccessibleStreamableContent_freeContentTypeList): New method
1626 for freeing the return value from
1627 AccessibleStreamableContent_getContentTypes.
1628 (stream_cache_item_free): Replaces stream_release; stop leaks.
1629 (stream_release): removed.
1630 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1631 free the memory properly.
1633 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1635 Fix for bug #116009.
1637 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1639 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1641 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1643 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1645 2003-12-01 Bill Haneman <billh@gnome.org>
1647 Fix for bug/rfe #127463.
1649 * idl/Accessibility_Accessible.idl:
1650 (getLocalizedRoleName): New.
1651 (unimplemented4): Removed (replaced by above).
1653 * libspi/accessible.c:
1654 (impl_accessibility_accessible_get_local_role_name): New.
1655 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1659 (Accessible_getLocalizedRoleName): New.
1661 * cspi/spi_accessible.c:
1662 (Accessible_getLocalizedRoleName): New.
1664 2003-12-01 Bill Haneman <billh@gnome.org>
1666 Fix for bug #118581.
1667 * idl/Accessibility_Text.idl:
1668 (getDefaultAttributes): New.
1669 (unimplemented4): Removed (replaced by above method).
1672 (impl_getDefaultAttributes): New method.
1673 (spi_text_class_init):
1674 initialize the get_default_attributes slot in the epv.
1677 (AccessibleText_getDefaultAttributes): New prototype.
1680 (AccessibleText_getDefaultAttributes): New method.
1682 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1684 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1685 write beyond the end of the table. Fixes bug #120473.
1687 2003-09-30 Christian Rose <menthos@menthos.com>
1689 * configure.in: Added "eu" to ALL_LINGUAS.
1691 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1693 * configure.in: ALL_LINGUAS: Added no.
1695 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1697 * configure.in: Added lt to ALL_LINGUAS.
1699 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1701 * atk-bridge/bridge.c:
1702 (atk_bridge_init): Register event listeners always even for
1703 out-of-process applet.
1704 (spi_atk_bridge_toplevel_added): Remove call to
1705 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1706 (spi_atk_bridge_toplevelk_removed): Remove call to
1707 spi_atk_deregister_event_listenersa as the listeners are now always
1709 (spi_atk_bridge_register_application): Remove call to
1710 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1712 This fixes bug #120991.
1714 * libspi/table.c (impl_getColumnDescription): Correct typo,
1715 pointed out by Bolian.Yin@sun.com.
1717 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1719 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1721 2003-09-08 Bill Haneman <billh@gnome.org>
1723 * configure.in: Revved to 1.3.7.
1725 This is the GNOME 2.4.0 release of at-spi.
1727 * docs/reference/cspi/Makefile.am:
1728 Removed spurious inclusion of 'index.sgml' in the
1729 html directory; this was breaking make distcheck and
1730 also some other build environments.
1732 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1734 * registryd/registry.[ch}:
1735 Add queue_handler_id and focus_object to SpiRegistry data structure.
1736 (registry_flush_event_queue): If event being discarded is
1737 "state-change:focused" store object as focus_object.
1738 (registry_start_queue): Remove queue handler and focus object
1740 (registry_discard_event): New function which discards a focus event
1741 if we had stored focus object in the registry.
1742 (registry_queue_event): Add new check that is_queueing is set as this
1743 function is reentrant.
1744 (registry_filer_event): Add call to registry_discard_event.
1746 This resolves issues raised in bug #108664.
1748 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1750 * configure.in: Added "bn" to ALL_LINGUAS.
1752 2003-09-04 Bill Haneman <billh@gnome.org>
1754 * cspi/spi_event.c: Documentation improvements for
1755 (SPI_registerAccessibleKeylistener).
1757 * docs/reference/tmpl/spi_registry.sgml:
1758 Documentation improvements for SpiAccessibleKeylistenerCB.
1760 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1762 * configure.in: Added "ro" to ALL_LINGUAS.
1765 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1767 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1768 not decremented to zero. Fixes bug #120725.
1770 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1772 * configure.in: Added "ja" to ALL_LINGUAS.
1774 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1776 * configure.in: Added "is" to ALL_LINGUAS.
1778 2003-08-22 Christian Rose <menthos@menthos.com>
1780 * configure.in: Added "nl" to ALL_LINGUAS.
1782 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1784 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1785 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1787 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1789 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1790 type for unspecified exception.
1791 * cspi_streamablecontect): Add include of string.h for memcpy.
1792 (stream_release): Correct call to bonobo_object_release_unref
1793 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1794 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1795 argument of _cspi_expection_throw.
1796 * libspi/hyperlink.c: Add include of libspi/action.h:
1797 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1798 * libspi/streamablecontent.c: add include of libspi/component.h.
1799 * regisrtyd/deviceeventcontroller.c:
1800 (spi_dec_translate_mask): Removed unused variable priv.
1801 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1802 * registryd/registry.c:
1803 (registry_filter_event): Remove unused variable queue_is-empty.
1804 (impl_registry_notify_event): Use correct modifier in fprintf call.
1806 This fixes compiler warnings reported in bug #120220.
1808 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1810 * registryd/registryd.c: Remove this file.
1812 2003-08-17 Sanlig Badral <badral@openmn.org>
1814 * configure.in: Added mn to ALL_LINGUAS.
1816 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1818 * configure.in: Added et to ALL_LINGUAS.
1820 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1822 * test/event-listener-test.c: Change active-descendant to
1823 active-descendant-changed.
1825 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1827 * configure.in: Added "fi" in ALL_LINGUAS.
1829 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1831 * configure.in: Added "hi" in ALL_LINGUAS.
1833 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1835 * configure.in: Revved to 1.3.6.
1839 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1841 * registryd/deviceeventcontroller.c
1842 (spi_device_event_controller_object_finalize): Fix typo in previous
1845 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1847 * registryd/deviceeventcontroller.c
1848 (spi_device_event_controller_object_finalize): Fix build on
1849 systems without XEvIE.
1851 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1853 * acconfig.h, configure.in, registryd/Makefile.am,
1854 registryd/devicecontoller.[ch]: Add XEViE support.
1856 2003-08-06 Wang Jian <lark@linux.net.cn>
1858 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1860 2003-08-06 Metin Amiroff<metin@karegen.com>
1862 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1864 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1866 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1867 MODIFIER_ALT in correct place.
1869 This fixes part of bug #118114.
1871 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1873 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1875 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1877 * configure.in: Added "ko" to ALL_LINGUAS.
1879 2003-07-28 Ole Laursen <olau@hardworking.dk>
1881 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1883 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1885 * configure.in: Added "sq" to ALL_LINGUAS.
1887 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1889 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1891 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1893 * configure.in: updated ALL_LINGUAS list
1895 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1897 * configure.in: Added Belarusian to ALL_LINGUAS.
1899 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1901 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1903 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1904 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1906 This fixes bug #116949.
1908 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1910 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1911 Correct CSPI to SPI in function documentation.
1913 This fixes bug #118054.
1915 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1917 * configure.in: Added Russian to ALL_LINGUAS.
1919 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1921 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1923 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1925 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1927 2003-07-10 Joel Brich <joel.brich@laposte.net>
1929 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1931 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1933 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1935 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1937 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1938 resources allocated for AccessibleEvent. See cspi_event().
1940 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1941 static variable streams to NULL.
1943 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1944 Update so that AcessibleEvent_ref will work.
1946 This fixes bug #116624.
1948 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1950 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1952 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1954 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1956 2003-07-02 Christian Neumair <chris@gnome-de.org>
1958 * configure.in: Added "de" (German) to ALL_LINGUAS.
1960 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1962 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1964 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1966 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1968 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1970 * configure.in: Added "pl" to ALL_LINGUAS.
1972 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1974 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1976 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1979 (get_action_from_servant):
1980 Removed assertion that action is implemented on an AtkObject.
1982 * libspi/hyperlink.c:
1983 (spi_hyperlink_new):
1984 Aggregate AccessibleAction interface on the hyperlink object if
1985 the object implements AtkAction. (This convention is used in
1988 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1990 * configure.in: Revved to 1.3.5.
1992 * registryd/Accessibility_Registry.server.in.in:
1993 Marked up appropriate strings for translation.
1995 * atk-bridge/bridge.c: Marked a couple of
1996 user-visible warnings for translation. Questionable
1997 whether they are really useful, but possibly so.
2000 2003-06-28 Christian Rose <menthos@menthos.com>
2002 * configure.in: Added "sv" to ALL_LINGUAS.
2004 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2006 * registryd/registry.c:
2007 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2008 (registry_defer_on_event): Defer focus: events, this is an
2009 improvement to the patch for bug #108664.
2011 * TODO: Update with 2.4/"Dev Complete" items.
2013 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2015 * atk-bridge/bridge.c:
2016 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2017 looks up signals once.
2018 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2019 if doing registration.
2020 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2021 when doing registration.
2023 This fixes bug #115014.
2025 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2027 * atk-bridge/bridge.c:
2028 (atk_bridge_init): Add signal handler for children-changed:remove on
2029 root when in a BonoboComponent.
2030 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2031 for first toplevel only other incrememt variable toplevels.
2032 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2033 application and remove listeners.
2034 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2036 (spi_atk_deregister_event_listeners): New function which removes
2038 (reinit_register_vars): New fuction which reinitializes variables.
2040 This fixes bug #111578.
2042 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2044 * configure.in: version 1.3.4.
2046 * cspi/spi_accessible.c:
2047 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2050 2003-06-13 Michael Meeks <michael@ximian.com>
2052 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2054 * cspi/spi_main.c (cspi_peek_ev): impl.
2056 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2058 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2060 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2062 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2063 SPI_ROLE_AUTOCOMPLETE
2065 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2067 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2068 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2070 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2072 * libspi/streamablecontent.h:
2073 * libspi/streamablecontent.c:
2074 New files, provide implementation/wrappers for
2075 Accessibility_StreamableContent.
2077 * cspi/spi_streamablecontent.c:
2078 Connected the C wrappers to the libspi C bindings.
2079 (AccessibleStreamableContent_close): New method.
2082 (AccessibleStreamableContent_close): New method, needed
2083 since we have an "open, [seek], read, close" model in cspi.
2085 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2087 Fix for #108664; Padraig's revision of my original patch.
2089 * registryd/registry.h:
2090 Added event queue list, is_queuing, and exit_notify_timeout
2091 to the registry struct.
2093 * registryd/registry.c:
2094 (registry_init): Initialize new struct from registry.h.
2095 (impl_registry_notify_event):
2096 Filter events before notifying, in case some need to be
2098 (registry_filter_event): New,
2099 we defer certain incoming events (for instance
2100 window:deactivate) because we may wish to hide
2101 or reject them based on pending events. This is
2102 mostly a workaround for bug #108664.
2103 (registry_queue_event, registry_start_queue): New.
2104 (registry_defer_on_event): Test event to see if it
2106 (registry_reset_on_event): Returns TRUE if the
2107 event should cause a queue reset.
2108 (registry_discard_on_event): Returns TRUE if the event
2109 should cause the previous queue contents to be discarded.
2110 (registry_timeout_flush_queue): Flushes the pending event
2111 queue if no reset/discard-triggering events have come in
2112 within the timeout period.
2113 (registry_emit_event): New.
2114 (registry_clone_notify_context): New, used when queueing the
2115 event notify contexts.
2117 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2119 * configure.in: Version revved to 1.3.2, lt 0.9.2
2120 Incremented ATK required version to 1.3.4.
2122 * cspi/spi_registry.c:
2123 (SPI_generateKeyEvent):
2124 We now pass the keystring along if it's non-null.
2126 * registryd/deviceeventcontroller.c:
2127 (keysym_mod_mask): New method, returns modifier mask
2128 required to generate a keysym from a given keycode.
2129 (dec_synth_keysym): New method.
2130 (dec_synth_keystring): New method.
2131 (dec_get_modifier_state): New method.
2132 (dec_lock_modifiers): New
2133 (dec_unlock_modifiers): New.
2134 (dec_keysym_for_unichar): New, rather brute-force
2135 conversion from UCS-4 to X KeySyms. Only works for
2136 Latin at the moment, with partial implementations for
2137 Greek, Hebrew, and (incomplete) Katakana.
2138 (impl_generate_keyboard_event): Now implement
2139 "KEYSTRING" synthesis and implement "KEYSYM"
2141 (keycode_from_keysym): Improved, passes a returned
2142 modmask value now if the corresponding param is non-NULL.
2144 Fixes bugs #92143 and #109776.
2147 * test/keysynth-test.c:
2148 New test program for key synthesis, to confirm fixes for
2152 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2154 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2156 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2157 Add line for RELATION_POPUP_FOR
2159 * docs/reference/cspi/tmpl/spi_relation.sgml:
2160 Add relation SPI_RELATION_POPUP_FOR
2162 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2163 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2165 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2167 * libspi/relation.c (spi_init_relation_type_table):
2168 Add line for RELATION_POPUP_FOR
2170 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2172 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2173 there are still windows which have not been deleted and emit
2174 window:deactivate, if necessary and window:destroy events.
2175 This fixes bug #114370. The change on June 5th was not correct.
2177 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2179 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2182 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2184 New methods for client exception handling and interception.
2185 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2186 (SPI_exceptionHandlerPop): You guessed it...
2187 (SPI_getSourceType): Return the type of object which offended.
2188 (SPI_getExceptionCode): Return an enum code telling, possibly,
2189 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2190 (SPIAccessibleException_getSource): get the source object for
2191 exceptions that come from Accessibles, if SPIExceptionSourceType is
2192 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2193 (SPIException_getDescription): New, returns a string description of
2194 the problem. [Not yet a stable ABI, strings are not frozen]
2196 * cspi/spi-private.h:
2197 Added implementation details of opaque SPIException
2201 Implementations of above. Also
2202 (_cspi_exception_throw): new private method that
2203 dispatches exceptions to handlers, called from cspi-bonobo.c
2205 * cspi/bonobo/cspi-bonobo.c:
2206 (cspi_check_ev): call _cspi_exception_throw.
2207 Don't print a warning message if the exception has been
2208 handled by _cspi_exception_throw.
2210 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2212 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2213 there are still windows which have not been deleted and emit
2214 window:deactivate, if necessary and window:destroy events.
2215 This fixes bug #114370.
2217 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2220 (cspi_accessible_is_a): Make non-fatal
2221 if the object reference is dead.
2223 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2225 * cspi/spi_main.c: #include <stdio.h>
2226 * test/simple-at.c: ditto
2227 * test/event-listener-test.c: ditto
2228 * test/screen-review-test.c: ditto
2230 2003-05-30 Michael Meeks <michael@ximian.com>
2232 * test/test-simple.c (main): use CORBA_ORB_perform_work
2233 instead of an unnecessary linc_ call.
2235 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2237 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2238 Add SPI_STATE_INDETERMINATE.
2240 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2243 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2245 * libspi/stateset.c (init_state_type_tables): Add support for
2248 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2250 * configure: Update versions of atk and gail required.
2251 This fixes bug #113268.
2253 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2255 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2257 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2259 * libspi/Makefile.am:
2260 Ensure headers are generated before being used by c sources.
2262 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2265 Simplified lt versioning rules.
2266 Incremented version to 1.3.0, to indicate that we're on the
2267 unstable branch now.
2269 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2271 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2272 Add MKDB_OPTIONS=--outtput-format=xml
2274 * docs/reference/cspi/at-spi-cspi-docs.sgml
2275 docs/reference/idl/at-spi-idl-docs.sgml:
2276 Convert to Docbook XML.
2278 This fixes bug #111793.
2280 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2282 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2283 AcccessibleKeyEventType, AccessibleKeyMaskType.
2285 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2287 * cspi/state-types.h: Add documentation for AccessibleState.
2289 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2290 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2291 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2292 AccessibleComponentLayer.
2294 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2297 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2299 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2300 Accessible. Add description of AccessibleEvent,
2301 AccessibleEventListenerCB.
2303 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2306 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2307 documentation. Add description of AccessibleKeystrokeListenerCB,
2308 AccessibleKeyEventMask, AccessibleModifierMaskType,
2309 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2310 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2312 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2315 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2318 This fixes bug #104730.
2320 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2322 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2323 Set is_text field of Accessibility_DeviceEvent data structure.
2325 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2326 is-text field of AccessibleDeviceEvent data structure.
2328 This addresses part of bug #108666.
2330 * registryd/devcieeventcontroller.c: Unset debug option.
2332 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2334 * cspi/accessible.c:
2335 (cpi_initial_relation_type_table): New function which initializes
2336 mapping between Accessibility_RelationType and AccessibleRelationType.
2337 (cspi_relation_type_from_spi_relation_type): New function which
2338 translates an Accessibility_RelationType into an AccessibleRelationType.
2339 (AccessibleRelation_getRelationType): Use
2340 cpi_relation_type_get_spi_relation_type to return correct value.
2341 (spi_state_to_corba): Return correct type for default case.
2343 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2344 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2346 * cspi/cspi-bonobo-listener.c:
2347 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2350 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2351 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2352 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2353 libspi/image.c, libspi/listener.c, libspi/selection.c,
2354 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2355 registryd/desktop.c, registryd/registry.c:
2356 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2358 * libspi/eventlistener.c
2359 Remove semicolon after BONOBO_TYPE_FUNC.
2361 * libspi/relation.c:
2362 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2363 (spi_init_relation_type_table): Initialize using correct type.
2365 * registryd/desktop.c:
2366 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2367 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2368 of Accessibility_KeyEventType.
2370 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2373 * tests/simple-at.c, tests/screen-review-test.c:
2374 Add include for <strings.h>.
2376 * tests.stress-test.c:
2377 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2379 These changes fix compiler warnings when using FORTE compiler on
2380 Solaris; fixes bug #107479.
2383 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2386 * configure.in: revved to 1.1.10
2388 * libspi/keymasks.h:
2389 (SPI_KEYMASK_NUMLOCK): Added.
2391 * registryd/deviceeventcontroller.c:
2392 (spi_key_event_matches_listener): AND with a smaller
2393 bitmask (as we should).
2394 (spi_dec_translate_mask):
2395 New method, sets the virtual NumLock modifier bit
2396 if numlock is on. Eventually it can handle other virtual
2397 modifier bits if needed, or other marshalling from
2398 at-spi modifier masks to platform (X) masks.
2399 (spi_dec_key_listener_new):
2400 Call spi_dec_translate_mask to set up virtual mod bits
2401 in the 'mask' field when creating a new listener struct.
2402 (spi_dec_emit_modifier_event):
2403 Set the virtual (i.e. NumLock) bits before emitting event.
2404 (spi_controller_register_with_devices):
2405 Query for the NumLock modifier 'physical' bit if Xkb is
2406 present, for use in above methods.
2410 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2412 * registryd/deviceeventcontroller.c:
2413 (spi_keystroke_from_x_key_event):
2414 Instead of checking to see if the keysym is
2415 printable, check the string from XLookupString
2416 if available, get the first unicode character from it,
2417 and call g_unichar_isprint to determine whether the
2418 is_text flag should be TRUE or FALSE.
2422 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2424 * atk-bridge/bridge.c: Add support for extended events
2425 * cspi/spi_event.c: Add documentation and implementation for
2427 * tests/event-listener-test.c: Add tests for extended events.
2429 This fixes bugs #100424 and #100426.
2431 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2433 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2434 of LT_CURRENT. This fixes bug #89350.
2436 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2438 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2439 number of signal parameter values before accessing them. This fixes
2442 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2444 * configure.in: Fixed duplicate inclusion of -lspi.
2445 * branched for gnome-2-2/HEAD.
2446 [created tag "gnome-2-2"]
2448 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2450 * configure.in: 1.1.9 release.
2453 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2455 [needed by GOK, to fix bugs 107985 and 107988]
2456 * registryd/deviceeventcontroller.c:
2457 (spi_dec_clear_unlatch_pending):
2458 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2459 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2460 (spi_dec_init_mouse_listener):Emit warning if mouse button
2462 (spi_device_event_controller_forward_mouse_event):
2463 Removed unnecessary parens from a conditional.
2464 (global_filter_fn):Added TODO comment.
2465 (impl_generate_keyboard_event):
2466 Cancel a pending relatch if a 'delatching' key was
2469 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2471 * atk-bridge/bridge.c:
2472 Change atk_signal_child_changed to atk_signal_children_changed.
2473 Reorganize code in spi_atk_bridge_signal_listener().
2475 * test/event-listener-test.c:
2476 Add children_changed_listener and report_children_changed_event()
2477 to test AccessibleChildEvent_getChildAccessible.
2479 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2481 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2482 g_strdup to CORBA_String_dup (bug #105291)
2484 * test/event-listener-test.c (report_text_event): Add call to
2487 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2489 * registryd/deviceeventcontroller.c:
2490 (spi_keystroke_from_x_key_event):
2491 Fix string and keysym return codes to match modifier state.
2494 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2496 * registryd/deviceeventcontroller.c:
2497 (spi_keystroke_from_x_key_event):
2498 Fix segv due to improper use of isprint(c). [bug #107254]
2500 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2503 (get_accessible_text_boundary_type):
2504 Move default return value to (new) default case in switch.
2505 (get_accessible_text_clip_type):
2506 Move default return value to (new) default case in switch.
2508 * libspi/application.c:
2509 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2510 Remove unused methods.
2511 (impl_accessibility_application_register_object_event_listener):
2512 Remove unused methods.
2515 Added #include of <math.h>.
2517 * registryd/deviceeventcontroller.c:
2518 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2519 we don't currently use this method.
2520 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2522 (impl_generate_key_event):
2523 Remove unused variables.
2524 (impl_generate_mouse_event):
2525 Initialize button to zero, just in case we get an invalid
2526 input. Added support for mouse buttons 4 and 5.
2527 (spi_device_event_controller_new):
2528 Removed unused variable declaration for 'private'.
2530 Added #include of <gdk/gdk.h>
2532 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2534 * configure.in: Update to work when X is not installed in expected
2535 location. Fixes bug #105836.
2537 * atk-bridge/bridge.c
2538 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2540 (spi_atk_register_event_listener): Add signal listener for
2542 (spi_atk_bridge_signal_listener): Event event when link-selected
2543 signal is emitted. (bug #104622)
2545 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2546 on returned string. (bug #105291)
2548 * test/event-listener-test.c: Add test for link-selected.
2550 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2552 * atk-bridge/Makefile.am: Correct typo in previous commit.
2554 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2556 * atk-bridge/Makefile.am: Allow for build directory to be different
2557 from source directory
2559 * registryd/Makefile.am: Allow for build directory to be different
2560 from source directory
2564 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2567 Fixed dependencies for libcspi so that libspi gets pulled in
2568 properly. Fixes 104741.
2572 Clean up inline docs a little.
2574 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2576 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2577 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2578 the AtkObject within an SpiDesktop.
2579 This addresses bug #101524.
2581 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2582 Remove call to gdk_init().
2584 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2585 so that Display is set when SpiDesktop is created.
2587 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2589 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2590 This fixes bug #102830.
2592 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2594 * test/test-simple.c: Update to take account of fact that GailButton
2595 now implements AtkText.
2596 (create_text_window): Set name on AtkObject for GtkEntry.
2597 (validate_accessible): Check accessible name before calling test_text().
2599 * libspi/Makefile.am: Fix problem with building outside of source
2600 directory. Bug #98120.
2602 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2603 typo in documentation comments. Bug #94275.
2605 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2607 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2609 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2612 Add includes to avoid compiler warnings on Solaris.
2613 (impl_getRangeExtents): Bug fix.
2615 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2617 Fix for 100944, [API addition approved by Gman and murrayc].
2624 * idl/Accessibility_Text.idl:
2625 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2626 (Text::getRangeExtents): New method for efficient
2627 bounds query of a text range.
2628 (Text::getBoundedRanges): New method for efficient
2629 clipping of text to bounding boxes.
2630 (unImplemented7, unImplemented8):
2631 Removed these padding methods to preserve bincompat.
2634 (impl_getRangeExtents): implementation of new IDL.
2635 (impl_getBoundedRanges): implementation of new IDL.
2636 (SpiTextRect): Internal use struct.
2637 (_spi_text_rect_union): internal method, calculates union of two
2638 SpiTextRect bounding rects.
2639 (_spi_text_range_seq_from_gslist): internal method, allows us
2640 to build our sequence efficiently as a gslist then convert it
2642 (_spi_bounds_contain): internal method, determines whether
2643 a text character is "in" or "out" of a clip rect according to
2644 values of TEXT_CLIP_TYPE.
2645 (spi_text_class_init): Initialize the new methods in the epv.
2648 (AccessibleTextClipType): New enum used by screen review api.
2649 (AccessibleTextRange): New struct used by screen review api.
2650 (AccessibleText_getRangeExtents):
2651 cspi binding for Accessibility_Text_getRangeExtents.
2652 (AccessibleText_getBoundedRanges):
2653 cspi binding for Accessibility_Text_getBoundedRanges.
2654 (AccessibleTextRange_freeRanges): convenience method.
2657 (AccessibleText_getRangeExtents):
2658 cspi binding for Accessibility_Text_getRangeExtents.
2659 (AccessibleText_getBoundedRanges):
2660 cspi binding for Accessibility_Text_getBoundedRanges.
2661 (AccessibleTextRange_freeRanges): convenience method.
2662 (get_accessible_text_clip_type): internal conversion method.
2663 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2665 * registryd/deviceeventcontroller.c:
2666 (spi_dec_mouse_check):
2667 Improved behavior for mouse:abs events
2668 [same granularity as mouse:rel events, and no
2669 events when mouse is idle].
2671 2002-12-16 Michael Meeks <michael@ximian.com>
2673 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2675 * libspi/stateset.c (state_spi_to_atk): split out
2676 ( fix several remote array bounds nasties )
2677 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2678 (impl_remove): make safe from array bounds issues.
2679 (spi_atk_state_from_spi_state): impl.
2681 * libspi/stateset.h (spi_state_set_cache_is_empty):
2682 add a set of wrapper defines to get layering right.
2684 * cspi/spi_accessible.c: update state set stuff to
2687 2002-12-14 Michael Meeks <michael@ximian.com>
2689 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2690 to avoid 2 roundtrips to the registry per key event
2691 (spi_atk_bridge_key_listener): upd.
2692 (deregister_application): release the dec.
2694 * registryd/registry.c (notify_listeners_cb):
2695 bin lots of re-enterant complexity - we no longer
2696 do a round-trip bonobo ref here, ensure that a single
2697 listener's exception failure won't poison all other
2699 (impl_registry_notify_event): bin obvious memory leak.
2701 2002-12-13 Michael Meeks <michael@ximian.com>
2703 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2704 init the ev so the error is meaningful.
2705 (spi_atk_bridge_key_listener): ditto.
2707 * cspi/spi_main.c (cspi_ev): init the ev so we start
2708 with a clean slate, otherwise the first exception
2709 kills us completely.
2711 * cspi/spi_text.c (get_accessible_text_boundary_type):
2712 add a fallthrough for no warnings.
2714 * cspi/spi_registry.c: prune unused warnings.
2716 * cspi/spi_main.c (cspi_object_take): fix
2717 mind-blowing brokenness ( by watching the compile
2720 * cspi/spi_accessible.c (Accessible_getStateSet):
2721 re-impl. to use an AtkStateSet.
2722 (spi_state_type_from_accessible_state),
2723 (init_state_table): bin these.
2725 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2727 (atk_state_set_from_accessibility_state_set): here.
2729 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2730 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2731 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2732 (AccessibleStateSet_add, AccessibleStateSet_remove),
2733 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2734 (AccessibleStateSet_isEmpty): re-write to use a local
2737 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2739 * configure.in: Revved to 1.1.7 (new keymask vals).
2741 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2743 * libspi/keymasks.h:
2744 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2746 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2749 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2750 to compare two CORBA_TypeCodes.
2751 (cspi_internal_event_add): Silence warning from FORTE compiler.
2753 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2754 avoid implicit declaration of functions.
2756 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2758 * atk-bridge/bridge.c:
2759 (spi_atk_bridge_init_event_type_consts): Store signal id for
2760 active-descendant-changed signal.
2761 (spi_atk_register_event_listeners): Add signal listener for
2762 active-descendant-changed signal,
2763 (spi_atk_bridge_signal_listener): Move code in function
2764 spi_atk-signal_emit_event() into this function.
2765 Add support for active-descendant-changed
2766 Update support for child-changed signal.
2767 (spi_bridge_window_event_listener): Silence warning.
2769 * libspi/spi_private.[ch]:
2770 (spi_init_any_object): Change second parameter from CORBA_Object to
2772 Omit call to CORBA_Object_duplicate().
2773 Set CORBA_any's _value to CORBA_Object*.
2775 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2781 (AccessibleEvent_ref, AccessibleEvent_unref):
2782 New methods, for persisting an event outside the emission context.
2783 Must be used if the new accessor methods are to be called
2784 outside of the event listener's callback.
2786 * cspi/bonobo/cspi-bonobo.c:
2787 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2788 as second parameter instead of NULL, so we can call
2789 cspi_check_ev afterwards.
2792 (cspi_object_take): New internal method,
2793 converts a CORBA_Object reference to a hard ref on
2794 an Accessible if possible, returning NULL if the object
2795 reference is invalid or an Accessible * otherwise.
2798 (AccessibleEvent_ref):
2799 Increment the event's internal private refcount, and
2800 add the event's internal struct to an internal cache
2801 if it's not already there.
2802 (AccessibleEvent_unref):
2803 Decrement the event's refcount and remove it from
2804 the cspi event cache if refcount==0.
2805 (cspi_event_compare): New private method.
2806 Compares two event structs via their ids. Used
2808 (cspi_internal_event_lookup): New private method.
2809 (cspi_internal_event_check): New private method,
2810 a 0-order sanity check for events to make sure their
2811 private data is intact.
2812 (cspi_internal_event_add, cspi_internal_event_remove):
2813 New private methods for managiing the event cache.
2815 * cspi/bonobo/cspi-bonobo-listener.c:
2817 Initialize the new private data elements (id, magic, ref_count).
2819 * atk-bridge/bridge.c:
2820 (spi_atk_bridge_signal_listener):
2821 Fixed bug #100530, passing wrong params to emission func.
2823 * registryd/deviceeventcontroller.c:
2824 (spi_dec_button_update_and_emit):
2825 Fixed type in mask bit operations; fix for #99799.
2827 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2829 Removed some of the more dangerous workarounds from
2830 previous commit; they are only needed by GOK, which
2831 in reality should be using another method to accomplish
2832 the goals. So on reconsideration some of the workarounds
2833 need to be reverted:
2835 * registryd/deviceeventcontroller.c:
2836 (spi_keycodes_contain, spi_dec_init_keycode_list):
2837 Removed these methods, used only by a nasty hack to try
2838 and detect whether a key synthesis should be allowed
2839 to reset the XKB latch state or not. This code was only
2840 required to work around an interaction between GOK,
2841 button events, and XKB.
2842 (impl_generate_key_event):
2843 Removed hack at end of key generation that tried to
2844 "do the right thing" if XKB latch keys were generated
2845 in the midst of button press/release pairs.
2848 Added a check for HAVE_XINPUT. Not normally used yet.
2850 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2852 Workarounds and fixes for mouse event/XKB interaction.
2854 * registryd/deviceeventcontroller.c:
2855 (spi_keycodes_contain, spi_dec_init_keycode_list):
2856 New internal methods.
2857 (spi_dec_set_unlatch_pending):
2858 Split the method that tells XKB to expect an
2859 unlatch (and revert it) out of the rest of the
2860 event handling code. This method is called by the
2861 two mouse event handlers (the poll and the filter).
2862 (spi_dec_update_and_emit, spi_dec_mouse_check):
2863 New methods split from spi_dec_poll_mouse_moved.
2864 The second one is now called from inside the filterFn
2865 when an XKB delatch event is received, to determine
2866 whether to revert the delatch or not.
2867 (spi_poll_mouse_moved): Refactor; also we can now
2868 properly handle the case where multiple button states
2869 have changed between polling cycles and we didn't get
2870 notified due to another client's grab.
2872 Synchronize the server while handling an XKB notification.
2873 Ugly, but apparently necessary to avoid nasty races.
2874 Check the mouse state on receipt of an XKB latch change,
2875 to decide whether to revert the latch or not. (Latches are
2876 reverted if there is an immediately preceding mouse button
2877 event that a client has consumed, in which case we don't want
2878 the user to see the side-effect of the event).
2879 (spi_device_event_controller_forward_mouse_event):
2880 Check for modifier events and fire before resetting mouse_mask_state,
2881 prevents losing modifier events.
2883 (impl_generate_keyboard_event):
2884 If we've just generated a keyboard event for a non-shift key,
2885 we don't want to revert the pending XKB latch.
2886 Otherwise, check the modifier state (via a call to
2887 spi_dev_mouse_check) and set the relatch mask to
2888 that state before returning.
2890 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2893 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2896 * atk-bridge/bridge.c:
2897 (spi_atk_register_event_listeners):
2898 Don't re-register for ATK events if the registry has died
2899 and the app needs to re-register; the ATK listeners are in
2900 process and doing so will cause duplicate emission.
2902 * registryd/deviceeventcontroller.c:
2903 (spi_poll_mouse_moved):
2904 Reformat the source, detect and emit multiple button-change
2905 events (i.e. if multiple buttons have changed between poll
2907 Add code to detect mouse-down events even when the pointer
2908 is grabbed; workaround for GOK bug 98420.
2909 (spi_controller_register_with_devices):
2910 Call XTestGrabControl with 'impervious' flag set to True,
2911 allows us to synthesize events and query the pointer even during
2912 an active grab by another client.
2913 (spi_device_event_controller_forward_mouse_event):
2914 Set the mouse_mask_state to the mouse_button_state from
2915 the intercepted event, to synchronize the grab listener with
2918 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2920 * cspi/spi_accessible.c:
2921 (AccessibleRole_getName):
2922 Added necessary strings for making this (deprecated)
2923 method work with the new role types.
2924 (init_role_table, role_table):
2925 Added definition of SPI_ROLE_APPLICATION.
2927 * libspi/spi-roletypes.h:
2928 Added SPI_ROLE_APPLICATION.
2930 * idl/Accessibility_Role.idl:
2931 Added ROLE_APPLICATION.
2933 * docs/reference/cspi/at-spi-cspi-decl.txt:
2934 Added SPI_ROLE_APPLICATION to docs.
2936 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2938 * cspi/spi_accessible.c
2939 (cspi_init_role_table): Do not write beyond end of role_table.
2940 (Accessible_getRole): Use correct type for value returned by
2941 Accessibility_Accessible_getRole().
2943 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2944 beyond end of role_table. (This fixes bug #98269)
2946 * libspi/application.c: Add include file spi-private.h for
2947 definition of spi_init_any_nil.
2949 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2953 * libspi/spi-private.h:
2954 Added DGB() macro, and extern int _dbg declaration.
2956 * registryd/registry.c:
2957 (definitions) storage for _dbg.
2958 (spi_registry_init):
2959 Get environment variable "AT_SPI_DEBUG".
2960 (spi_registry_set_debug):
2961 New method, to initialize _dbg value.
2962 (spi_listener_struct_new, spi_registry_object_finalize):
2963 (notify_listeners_cb):
2964 Changed fprintfs to use DBG and g_warning().
2966 * registryd/deviceeventcontroller.c:
2967 (_deregister_keygrab, spi_controller_register_device_listener):
2968 Changed debug/warning messages to use DBG macro.
2970 * libspi/listener.c:
2971 (impl_notify_event):
2972 Changed warning messages to use DBG macro and g_warning().
2974 * atk-bridge/bridge.c:
2975 (atk_bridge_init, spi_atk_bridge_get_registry):
2976 (spi_atk_bridge_exit_func):
2977 (spi_atk_bridge_property_event_listener):
2978 Changed status, warning, and error messages to use
2979 g_warning, g_message, and DBG macros.
2982 Read the state of the AT_SPI_DEBUG environment variable
2983 and set a local '_dbg' accordingly.
2985 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2987 FIXES for 98836, 98842, other bugs.
2990 Revved to 1.1.4, interface-age=4, binary-age=4.
2992 * registryd/deviceeventcontroller.c:
2994 Fixed crasher bug in last_mouse_pos initialization.
2996 * registryd/registry.c:
2997 (desktop_add_application, desktop_remove_application):
2998 Added (and then commented out) some support for
2999 object context marshalling. [TODO]
3001 * atk-bridge/bridge.c:
3002 (spi_atk_bridge_event_context_create):
3003 Commented out object context creation until it can
3004 be properly tested and debugged.
3006 * registryd/registry.c:
3007 (impl_registry_notify_event):
3008 Fixed crasher bug, we were calling
3009 spi_re_entrant_list_foreach () with an empty list.
3011 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3013 * idl/Accessibility_Action.idl:
3014 * idl/Accessibility_Component.idl:
3015 * idl/Accessibility_Desktop.idl:
3016 * idl/Accessibility_Event.idl:
3017 * idl/Accessibility_Hyperlink.idl:
3018 * idl/Accessibility_Image.idl:
3019 * idl/Accessibility_Relation.idl:
3020 * idl/Accessibility_Selection.idl:
3021 * idl/Accessibility_State.idl:
3022 * idl/Accessibility_Value.idl:
3023 Updated unimplemented slot count to minimum of
3024 four for all interfaces, for ABI freeze.
3026 * idl/Accessibility_EditableText.idl:
3027 * idl/Accessibility_Text.idl:
3028 Updated unimplemented slot count to six
3031 * idl/Accessibility_Registry.idl:
3032 Updated unimplemented slot count to six
3033 (also for DeviceEventController),
3036 * idl/Accessibility_Table.idl:
3037 Updated unimplemented slot count to eight,
3040 * idl/Accessibility_Event.idl:
3041 Added CORBA_any "any_data" member to Event struct.
3043 * idl/Accessibility_Event.idl:
3044 Added CORBA_any "any_data" member to Event struct.
3046 * atk-bridge/bridge.c:
3048 atk_signal_text_changed, atk_signal_child_changed,
3049 signal ids queried from gtype system.
3050 (AtkBridgeEventContextType): New enum.
3051 (AtkBridgeEventContextData): New struct.
3052 (AtkBridgeEventContext): New struct.
3053 (atk_bridge_init_event_type_consts):
3054 New method, initializes type contants for comparison
3055 prior to emit_eventv.
3056 (atk_bridge_event_context_init): New method,
3057 initializes a CORBA_any from an AtkBridgeEventContext.
3058 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3059 initialize the event.any_data struct.
3060 (spi_atk_bridge_event_context_create): New method,
3061 creates an AtkBridgeEventContext from signal/event info.
3062 (spi_atk_bridge_event_context_free): New method.
3063 (spi_atk_emit_eventv): Changed to take an
3064 AtkBridgeEventContext parameter. We now initialize
3065 the event.any_data member prior to notifying the
3066 Registry, via the AtkBridgeEventContext.
3067 (spi_atk_bridge_property_event_listener):
3068 (spi_atk_bridge_state_event_listener):
3069 Match emit_eventv signature.
3070 (spi_atk_bridge_object_event_listener):
3071 Match emit_eventv signature, and create an
3072 event context from the event details.
3073 Free the event context afterwards.
3074 (spi_atk_bridge_window_event_listener):
3075 Create an event context, pass it to the
3079 (AccessibleEvent_getContextString):
3080 (AccessibleEvent_getContextObject):
3081 New methods, allow query of AccessibleEvent objects
3082 for more context details (via the "any_data" member
3083 of the Event struct, above).
3086 Definitions for AccessibleEvent_getContextString
3087 and AccessibleEvent_getContextObject.
3089 * cspi/spi_listener.h:
3090 (InternalEvent): New struct.
3093 (AccessibleEvent_getContextString):
3094 (AccessibleEvent_getContextObject):
3095 Implementations of new methods, for obtaining
3096 additional context information from some event types.
3098 * cspi/spi_registry.c:
3099 (SPI_registerGlobalEventListener):
3100 Added mention of active-descendant-changed event in docs.
3102 * cspi/cspi-bonobo-listener.c:
3104 Marshal the any into the AccessibleEvent via
3107 * libspi/spi-private.h:
3108 #include <orbit/orbit.h>
3110 (spi_init_any_string):
3111 (spi_init_any_object):
3112 New convenience function declarations.
3116 (spi_init_any_string):
3117 (spi_init_any_object):
3118 New convenience function implementations.
3120 * registryd/deviceeventcontroller.c:
3121 (spi_poll_dec_mouse_moved):
3122 (spi_device_event_controller_forward_mous_event):
3123 Initialize any_data member of event.
3124 (spi_deregister_controller_device_listener):
3125 Fix incorrect param pass which was preventing deregistration.
3127 * registryd/registry.c:
3128 (desktop_add_application):
3129 (desktop_remove_application):
3130 Add object data to event's any_data before dispatch.
3132 Fix for error messages from GAIL.
3134 * test/event-listener-test.c:
3135 Test new ContextString and "any_data" API:
3136 (report_text_event): New method query and output context string.
3137 (main): register a new text listener with report_text_event
3140 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3142 Fixes for bugs 98127 and 97914.
3143 * cspi/spi-roletypes.h:
3144 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3146 * cspi/spi-statetypes.h:
3147 Added SPI_STATE_MANAGES_DESCENDANTS
3149 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3150 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3151 * cspi/spi_accessible.c:
3152 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3153 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3154 Accessibility_STATE_MANAGES_DESCENDANTS
3155 * libspi/accessible.c:
3156 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3157 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3158 As requested by Bill, I also cleaned up the alignment.
3159 * libspi/relation.c:
3160 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3161 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3162 * libspi/stateset.c:
3163 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3164 Accessibility_STATE_MANAGES_DESCENDANTS
3165 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3166 Document changes reflecting modifications to roles.
3167 * docs/reference/cspi/tmpl/spi_relation.sgml:
3168 Document changes reflecting modifications to relations.
3169 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3170 Document changes reflecting modifications to states.
3172 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3175 Revved to 1.1.3, interface-age=3, binary-age=3.
3176 Added REBUILD macro.
3179 Removed accessx-gui from the tests, since we have a nice
3180 keyboard accessibility capplet now :-)
3182 * test/keysynth-demo.c:
3183 (increment_scan): removed do-nothing default: case,
3186 * test/visual-bell.c:
3187 (main) : removed do-nothing default: case,
3190 * cspi/spi_action.c:
3191 (AccessibleAction_getKeyBinding_):
3192 Documented keybinding string format.
3196 (AccessibleText_getAttributes):
3197 Documented the text attribute string format.
3198 It's changed to use semicolon delimiters also,
3199 to prevent clashes with CSS attributes, but the old
3200 trick of looking for ", " strings will still work
3201 (as unreliably as ever). Fix for bug related to 97916.
3204 Include <cspi/bonobo/cspi-bonobo-listener.h>
3205 Fixes build warning.
3206 (SPI_freeAccessibleKeySet):
3207 (AccessibleKeystrokeListener_addCallback):
3208 (AccessibleKeystrokeListener_removeCallback):
3209 Modify to use AccessibleDeviceListener API internally,
3210 instead of AccessibleKeystrokeListener.
3212 * idl/Accessibility_Event.idl:
3213 Added two more empty slots to EventListener (for a total of four).
3215 * idl/Accessibility_Accessible.idl:
3216 Added four empty slots to Accessible interface.
3218 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3220 * idl/Accessibility_Registry.idl:
3221 (KeyEventType, EventType):
3222 Marked KeyEventType as deprecated; it duplicates
3223 functionality of EventType, which has been extended to
3224 include Mouse-button events.
3225 (KeyEventTypeSeq): defined in terms of EventType.
3226 (registerDeviceEventListener, deregisterDeviceEventListener):
3227 New methods, for managing listeners to device events,
3228 which potentially may consume them.
3231 Added definition for AccessibleDeviceListener.
3233 * cspi/spi-listener.h:
3234 (enum AccessibleDeviceEventType):
3235 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3236 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3237 for backwards compat.
3238 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3239 and typedef'd AccessibleKeystroke to it for back-compat.
3240 (AccessibleDeviceListenerCB):
3241 New function prototype typedef.
3244 (AccessibleDeviceEventMask): New typedef.
3245 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3246 (AccessibleKeyMaskType):
3247 Set equivalent to AccessibleModifierMaskType for back-compat.
3248 (SPI_createAccessibleKeystrokeListener):
3249 (AccessibleKeystrokeListener_unref):
3250 Deprecated in favor of equivalent (better-named) new API below..
3251 keystroke listeners are like all device listeners.
3252 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3253 New API names for old features :-).
3254 (AccessibleDeviceListener_addCallback):
3255 (AccessibleDeviceListener_removeCallback):
3256 (SPI_registerDeviceEventListener):
3257 (SPI_deregisterDeviceEventListener):
3261 (SPI_createAccessibleKeystrokeListener):
3262 Use new preferred API, cspi_device_listener_new() and
3263 cspi_device_listener_add_cb().
3264 (AccessibleKeystrokeListener_removeCallback):
3265 Use new preferred API, cspi_device_listener_remove_cb().
3266 (AccessibleKeystrokeListener_unref):
3267 Use new preferred API, cspi_device_listener_unref().
3268 (SPI_createAccessibleDeviceListener):
3269 (AccessibleDeviceListener_addCallback):
3270 (AccessibleDeviceListener_removeCallback):
3271 Implementation of new API.
3273 * cspi/spi_registry.c:
3274 (SPI_registerDeviceEventListener):
3275 (SPI_deregisterDeviceEventListener):
3276 Implementation of new API. Fixed memory leak and removed need to
3277 allocate EventTypeSeq (thanks Michael for catching this).
3278 Squashed a wayward CORBA_exception_free that shouldn't get called.
3280 * cspi/bonobo/cspi-bonobo-listener.c:
3282 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3283 (cspi_key_event): renamed to cspi_device_event().
3284 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3285 Extended to handle mouse button events as well as key events.
3286 (CSpiKeystrokeListener):
3287 Class superceded by CSpiDeviceListener.
3288 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3289 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3291 * cspi/bonobo/cspi-bonobo-listener.h:
3292 (CSpiKeystrokeListener):
3293 Class superceded by CSpiDeviceListener.
3294 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3295 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3297 * libspi/Makefile.am:
3298 Replaced keystrokelistener.h and keystrokelistener.c
3299 with devicelistener.h and devicelistener.c; keystrokelisener.h
3300 stub retained for back-compat.
3302 * libspi/keystrokelistener.c:
3306 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3308 * registryd/deviceeventcontroller.c:
3309 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3310 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3311 (DEControllerPrivateData): Added xkb settings data.
3312 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3313 button release events (which can't be captured via XGrabButton).
3314 Don't dispatch via the 'normal' event mechanism if the device event was
3316 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3317 Handle the typeseq data in its new location (see above).
3318 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3319 New methods, for "generic" device listeners.
3320 (spi_controller_register_device_listener):
3321 Now handle mouse event listeners as well as key listeners.
3322 (spi_controller_notify_mouselisteners):
3323 New internal method.
3324 (spi_device_event_controller_forward_mouse_event):
3325 Now we notify mouse device listeners as well as generating the
3326 non-consumable "mouse:" events.
3328 We must check and restore the XKB
3329 modifier map if we consume the event, since the act of triggering
3330 a mouse event will normally reset the XKB latch. This is required for
3332 (spi_controller_register_with_devices):
3333 Load the XKB settings when registering, and register for XKB
3334 state notify events.
3335 (spi_key_eventtype_seq_contains_event):
3336 Renamed spi_eventtype_seq_contains_event, since it's used
3337 internally for all device event types now.
3338 (spi_key_event_matches_listener):
3339 Uses spi_eventtype_seq_contains_event now.
3340 (spi_device_event_controller_object_finalize):
3341 Free the private data and the XkbKeyboard struct.
3342 (impl_register_device_listener, impl_deregister_device_listener):
3343 Implementation of new IDL.
3344 (spi_deregister_controller_device_listener):
3345 New internal method.
3346 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3347 More efficient implementation, we don't have to create a new
3348 XkbControls structure every time we query.
3349 (spi_device_event_controller_class_init):
3350 Initialize the epv entries for the new IDL. Assign the
3351 "spi-dec-private" quark.
3352 (spi_device_event_controller_init):
3353 Initialize the private data.
3354 (spi_device_event_controller_forward_key_event):
3355 Removed a bogus CORBA_exception_free() call.
3357 * registryd/deviceeventcontroller.h:
3358 Replaced inclusion of keystrokelistener.h with
3361 * test/event-listener-test.c:
3362 (report_mouse_event):
3365 Added mouse-event device listener.
3367 * test/test-simple.c:
3368 (create_test_window):
3369 Fixed regression (we were instantiating a GtkRange,
3370 which is now an abstract class). Also fixed to match
3371 existing AtkRole names, this seems to have changed in ATK
3372 awhile ago; too late now I think, and the new
3373 mechanism is at least elegant and consistent with the
3374 glib enum "nick" APIs.
3376 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3378 * idl/Accessibility_Relation.idl:
3379 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3380 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3381 * idl/Accessibility_Role.idl:
3382 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3383 * idl/Accessibility_State.idl:
3384 add STATE_MANAGES_DESCENDANTS
3385 * test/event-listener-test.c:
3386 Added a listener for active-descendant events.
3388 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3390 * atk-bridge/bridge.c
3391 (atk_bridge_init): If application is Bonobo component wait until top
3392 level is added before registering
3393 (spi_atk_bridge_do_registration): New function which contains code,
3394 formerly in atk_bridge_init, to do application registration.
3395 (spi_atk_bridge_toplevel_added): Signal called when top level
3396 added to Bonobo component
3398 This fixes bug #83134.
3400 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3402 * registryd/deviceeventcontroller.c
3403 Fixed compilation error caused by calling gettimeofday()
3406 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3411 Added template for HAVE_XKB.
3414 Changes to check for XKB, and to set the HAVE_XKB #define if it
3417 * libspi/listener.c:
3418 ()impl_notify_event): Make failure to get event source name
3421 * registryd/deviceeventcontroller.c:
3422 (#include): include X11/XKBlib.h.
3423 (DEControllerPrivateData) : New struct.
3424 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3426 (dec_synth_keycode_press) (dec_synth_keycode_release):
3427 New methods; split the key synthesis code into these methods.
3428 They check XKB settings before determining the "time" values to
3429 pass to Xtest; this fixes bug #95828.
3430 (impl_generate_keyboard_event): Changed to use methods above,
3431 instead of callng Xtest directly.
3432 (spi_device_event_controller_init): Initialize new privae struct s
3434 (spi_device_event_controllr_object_finalize):
3435 Free the (new) private data.
3437 * registryd/deviceeventcontroller.h:
3438 Add new gpointer to end of struct data.
3440 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3443 Incremented revision to 1.1.2, SONAME is still '.so', library
3444 extensions are ".so.0.0.2".
3446 * registryd/deviceeventcontroller.c:
3447 FIXES FOR #93592 and #95940.
3448 (statics): renamed mouse_button_state to mouse_mask_state,
3449 added key_modifier_mask.
3450 (spi_dec_poll_mouse_moved):
3451 Added key modifier checks, and emit "keyboard:modifiers"
3452 events when the key modifiers currently in use change.
3453 Also generate "mouse:abs" events periodically, even if the mouse
3454 is stationary (should we?).
3455 Alternatively we could generate "mouse:abs" events for either all
3456 mouse movements, or every 'nth' mouse movement, or at the
3457 beginning and end of every "active" mouse period.
3459 * test/event-listener-test.c:
3460 (main): Added listener for "keyboard:modifiers" events.
3462 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3464 * libspi/keymasks.h:
3465 Added key mask #defines for mouse buttons; e.g.
3466 SPI_KEYMASK_BUTTON1, etc.
3469 Incremented dependency on ATK to version 1.1.0. (This dependency
3470 is probably premature but will soon be real enough).
3472 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3474 * libspi/hyperlink.[ch]
3475 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3476 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3479 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3484 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3486 * registryd/deviceeventcontroller.c
3487 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3488 events to be ignored.
3489 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3490 keyboard_mode so that XAllowEvents() can be called.
3494 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3496 * cspi/spi-accessible.c: Correct names of roles returned by
3497 AccessibleRole_getName(). Fixes bug #95055.
3499 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3501 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3504 * registryd/registry.c
3505 (desktop_remove_application: Write diagnostic message to stderr for
3508 (impl_accessibility_registry_deregister_global_event_listener):
3509 Correct size of lists array. This addresses bug #94555).
3511 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3513 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3516 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3518 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3521 * registryd/registry.c (impl_registry_notify_event): Remove
3522 unnecessary call to parser_event_type().
3524 * docs/reference/cspi/tmpl/spi_component.sgml:
3525 Add reference to SPI_LAYER_WINDOW.
3527 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3529 * registryd/registry.c
3530 (desktop_add_application): Remove leak.
3531 (desktop_remove_application): Remove leak.
3532 (parser_event_type): Remove leak.
3534 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3536 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3537 bogus call to CORBA_string_dup(). Also removed unnecessary
3538 g_string_dup/g_free calls.
3540 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3542 * registryd/deviceeventcontroller.c:
3543 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3545 * test/event-listener-test.c:
3546 main: commented out three redundant listeners, to reduce output
3547 noise. (They still are potentially useful for testing).
3550 2002-09-13 Michael Meeks <michael@ximian.com>
3552 * Update all the copyrights to include Ximian.
3554 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3556 * cspi/spi.h: add SPI_LAYER_WINDOW.
3558 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3559 add Accessibility_LAYER_WINDOW case.
3561 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3563 * libspi/component.c: (impl_accessibility_component_get_layer):
3564 add ATK_LAYER_WINDOW case.
3566 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3568 * configure.in: incremented micro version.
3570 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3572 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3575 Clarified and reworded our commit policy.
3578 Started an API "todo" addition list for 2.2.
3581 (impl_getSelection):
3582 Free char pointer from atk_text_get_selection, which was being leaked.
3584 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3587 Small revision to author acknowledgement.
3589 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3591 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3592 If signal has detail add it to the type of the event.
3595 2002-08-12 Michael Meeks <michael@ximian.com>
3597 * test/test-simple.c (global_listener_cb): bin bogosity.
3598 (test_keylisteners): disable, still doesn't work reliably,
3599 certainly not on my system anyway.
3601 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3602 don't leak a reference on the DEC. This round-trip
3603 fetching of the DEC per keystroke sucks, it should be
3606 * cspi/spi-private.h,
3607 * cspi/cspi-lowlevel.h,
3608 * cspi/bonobo/cspi-bonobo-listener.[ch],
3609 * cspi/bonobo/cspi-bonobo.c: get the copyright
3610 notices better - there is still a large amount of
3611 work in at-spi falsely attributed solely to Sun.
3613 * cspi/spi_main.c (cspi_object_ref): kill bogus
3614 hash lookup, just increment the ref.
3615 (SPI_freeString): make explicit the fact that we
3616 handle NULL strings just fine.
3617 (report_leaked_ref): obey coding standards.
3618 (cspi_object_hash, cspi_object_equal): kill retval.
3619 (cspi_object_release): only release if not on loan.
3620 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3621 (cspi_object_borrow, cspi_object_return): impl.
3623 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3624 use cspi_object_borrow / return.
3626 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3628 * cspi/bonobo/cspi-bonobo-listener.c:
3630 Don't call cspi_oject_new() because this is creating a new Accessible
3631 every single time that an event is fired. This causes ATs like at-poke
3632 to nolonger recognise the source of the event and thus ignore it.
3633 Re-use the object from the cache, ref it and then unref it after the
3634 listeners have been called.
3636 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3638 * test/event-listener-test.c:
3639 Added command-line options to disable mouse events (m) and
3642 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3644 * configure.in: Update required versions of ATK, GTK+ and GAIL
3646 * cspi-1.0.pc.in: Add dependency for X include files
3649 * cspi/bonobo/Makefile.am:
3650 Add $(X_CFLAGS) so that X include files
3651 are picked up even if not in standard place (bug #71686)
3653 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3655 * registryd/deviceeventcontroller.c: fix for 84261
3656 (spi_dec_mouse_moved):
3657 Added test of mouse button mask, so that we can detect mouse
3658 button release. Unfortunately we can't otherwise detect mouse
3659 button release events without consuming the mouse press event,
3660 because of the way XGrabButton works. This means that our mouse
3661 release events have a latency dependent on the polling period
3662 while the mouse button is down. At least in this case we only
3663 have to poll while the button is down, and not at other times.
3664 If the button masks don't match with what the last press event
3665 reported, we report the appropriate button release event.
3666 (spi_dec_ungrab_mouse):
3667 New method (not yet called).
3668 (spi_device_event_controller_forward_mouse_event):
3669 New method, sends mouse press event from GdkFilter.
3670 (spi_dec_init_mouse_listener):
3671 Added code to call XGrabButton, redirecting mouse button events to
3672 the root window and our Gdk event loop.
3674 Added code to filter mouse button events, and reordered.
3676 * test/event-listener-test.c:
3678 Added registration for mouse events of type "mouse:button".
3680 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3682 * registryd/deviceeventcontroller.c: partial fix for 84261
3683 (spi_dec_poll_mouse_idle):
3684 New method, a timeout which checks to see if the mouse
3686 (spi_dec_poll_mouse_moving):
3687 A timeout to be called when mouse motion is underway.
3688 (spi_dec_poll_mouse_moved):
3689 A method which fires an event if the mouse has moved, and reports
3690 whether or not it did so.
3691 (spi_dec_init_mouse_listener):
3692 A method which sets up the timeouts above.
3693 (spi_device_event_controller_new):
3694 Now calls spi_dec_init_mouse_listener.
3696 * registryd/registry.c:
3697 (spi_registry_init):
3698 Now we initialize the device event controller when the registry is
3699 initialized, instead of waiting until a client has requested a key
3700 event notification; this is because we need the event controller
3701 for mouse events, but the mouse event registration API is a
3702 "registry" call and doesn't explicitly call the
3703 deviceeventcontroller.
3704 We now report mouse motion events with a 100 ms idle latency and
3705 a 20 ms granularity when motion is in progress.
3707 * test/event-listener-test.c:
3709 We now register the "detail listener" for events of type
3710 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3711 delivered only for the first mouse event received, and thereafter
3712 "mouse:abs" events are delivered.)
3714 * cspi/spi_registry.c:
3715 DOCS: Documented the above mouse event typestrings.
3717 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3719 Happy Summer Solstice...
3721 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3722 (spi_controller_notify_keylisteners):
3723 Changes to remove a listener from the listener list, freeing its
3724 open keygrabs, if a notification to that listener fails. This
3725 means that although a dead listener can continue to hold a passive
3726 keygrab, a maximum of one dispatch to such a listener can fail
3727 before the listener is removed from the list, thus the keygrab
3728 will be released on the next occurrence.
3729 As part of this fix:
3730 (spi_notify_keylisteners):
3731 Renamed to spi_controller_notify_keylisteners, as the controller
3732 instance must now be passed as an argument.
3733 The copied 'notify' GList is now a list of DEControllerKeyListener
3734 objects, since we need more than just the CORBA reference if a
3735 notify fails and we need to deregister the listener.
3736 (impl_notify_listeners_sync):
3737 (impl_notify_listeners_async):
3738 (spi_device_event_controller_forward_key_event):
3739 Modify use of notify_keylisteners in accordance with above
3741 (spi_deregister_controller_key_listener):
3742 New method introduced by refactoring, from
3743 impl_deregister_keystroke_listener.
3744 (impl_deregister_keystroke_listener):
3745 Call spi_deregister_controller_key_listener.
3746 (spi_key_listener_clone):
3747 New method to copy a key listner without doing a 'ref' on the
3748 remote object instance; used to create a notifier list.
3749 (spi_key_listener_data_free):
3750 New method, frees data without unreffing the source.
3752 (spi_key_listener_clone_free): new method.
3753 (spi_key_listener_free):
3754 refactored to call spi_key_listener_data_free.
3756 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3758 * registryd/registry.c: [fix for bug 86048]
3759 (notify_listeners_cb):
3760 Clear CORBA system exceptions which occur when notifying
3761 listeners, before returning to the source of the original event,
3762 since the event source doesn't care if the relayed notify failed.
3763 In other words, don't complain to the atk-bridge if the registry
3764 could not notify all its listeners, that's no fault of the
3765 application and thus should not appear to be an error from the
3766 application's perspective.
3768 * cspi/spi_main.c: [fix for bug 85980]
3770 Replaced use of bonobo_object_dup_ref with call to the wrapper
3771 method, csou_dup_ref (); this silences a compiler warning and
3772 provided more portability.
3774 Ping the registry before return, and restart if necessary.
3776 * cspi/bonobo/cspi-bonobo.c:
3778 New internal method.
3780 Fixed this method to return an object reference, as it should have
3783 * cspi/cspi-lowlevel.h:
3784 Added internal definition for cspi_ping() and fixed
3785 return type of cspi_dup_ref().
3788 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3790 * atk-bridge/bridge.c: [fix for bug 85305]
3791 (spi_atk_bridge_register_application):
3792 New method where the initial application registry calls have been
3793 moved; it allows an application to re-register in response to
3794 certain error conditions (such as a registry restart, see below).
3796 Moved some initialization code to the method
3797 spi_atk_bridge_get_registry, below.
3798 (spi_atk_bridge_get_registry):
3799 New, private accessor function for the Accessibility_Registry
3800 instance. If the registry has not been started before, or has
3801 died (as detected by failure of a CORBA exception), it is
3802 restarted before return, and spi_atk_bridge_register_application
3803 is called again to register with the new bridge instance.
3804 (spi_atk_emit_eventv):
3805 Set registry_died on error; use spi_atk_bridge_get_registry () to
3806 access the registry.
3808 * registryd/registry.c:
3809 (impl_accessibility_registry_register_global_event_listener):
3810 Set listener's event_type_quark to etype.minor instead of
3811 etype.major (fix for bug 84856).
3813 * test/event-listener-test.c:
3814 (report_detail_event):
3815 Change the output string so that user/tester can tell that the
3816 'detail listener' was called instead of the 'generic listener'.
3818 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3820 Fixes for bugs 84900, 84908, 84897, 84898.
3825 Revved version to 1.1.0
3826 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3827 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3829 * idl/Accessibility_Registry.idl:
3830 (EventListener::notifyEvent):
3831 Removed 'oneway' directive after extensive consulation with
3832 ORBit2 team and others. This means also that unref() of the event
3833 source can and should be done synchronously after emission, rather
3834 than remotely in the client, after servicing the notify call on
3837 NOTE: This change speeds up listener performance considerably, but
3838 introduces new latency on the application side. We may want to
3839 add an event queue to the atk-bridge.
3841 * atk-bridge/bridge.c:
3842 (spi_atk_bridge_focus_tracker):
3843 Do a local unref() on the event source after emission.
3845 * registryd/registry.c:
3846 (desktop_remove_application):
3847 Do an unref() on the event source after emission.
3848 (desktop_add_application):
3849 Do an unref() on the event source after emission.
3850 (notify_listeners_cb):
3851 When relaying an event, don't automatically add the event source
3852 to the local object cache, just CORBA_dup it instead. Likewise,
3853 if this method reenters, release the ref rather than calling
3855 (impl_registry_notify_event):
3856 No longer call remote unref() on the event source after dispatch.
3858 * libspi/eventlistener.c:
3859 (impl_accessible_event_notify_event):
3860 Removed remote unref ()
3862 * cspi/bonobo/cspi-bonobo-listener.c:
3864 We now call cspi_object_new() instead of cspi_object_add() on
3865 receipt of an event; thus we only have an implicit object ref
3866 while the cspi_event method is being executed. If we need to keep
3867 a reference to the object, the listener must call ref() on the
3868 object. Thus also we don't need to call cspi_object_unref() after
3869 invoking the listener callbacks in this method.
3873 New internal API for creating a new cspi object, without adding it
3874 to the object cache.
3876 Now uses cspi_object_new() to create the cspi object instance.
3878 Now checks to see if the object is in the internal object cache,
3879 and adds it if necessary before incrementing its refcount (note
3880 that new objects are added with a refcount of 1).
3881 (report_leaked_ref):
3882 New method which gives some information on leaked object instances
3883 if leak detection is turned on.
3885 * test/event-listener-test.c:
3886 (timing_test_event):
3887 New method, used for testing event delivery timing for special
3888 events of type "object:test". It reports elapsed time and
3889 events/sec every 500 events.
3891 Added a new listener, 'test listener', to check timing of event
3892 receipt as noted above.
3894 Added some timing output here also, reports elapsed time every 100
3897 * test/stress-test.c:
3898 Emit events of type "object:test", for use with "event-listener-test".
3900 * test/test-simple.c:
3901 (global_listener_cb):
3902 Call Accessible_ref() on the event source before calling
3903 validate_accessible, since the validation process does pointer
3904 comparisons on the event source, meaning that the event source
3905 needs to be added to the local object cache first. Any use of
3906 such pointer comparisons between Accessible objects requires that
3907 the caller hold an explicit reference to those objects.
3908 We also must therefore call Accessible_unref() when leaving this method.
3910 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3912 * registryd/deviceeventcontroller.c:
3913 (spi_controller_update_key_grabs):
3914 Fix for #84735, subsequent keygrab listeners not informed of
3915 registration failure.
3918 (spi_base_construct):
3919 Add an assertion on construct, to make sure the GObject passed in
3920 is really a GObject.
3922 Explicitly initialize object->gobj pointer to NULL;
3924 * cspi/bonobo/cspi-bonobo-listener.c:
3925 (cspi_object_add_ref):
3926 New method, can specify whether to dup-ref a bonobo object passed
3927 in if it's newly added to the object cache.
3929 Now calls cspi_object_add_ref with second param of "FALSE". This
3930 prevents us from doing a pointless dup-ref followed by
3931 release-unref for all those cases where the object is already in
3932 our object cache (fix for #85205).
3934 * atk-bridge/bridge.c:
3935 (spi_atk_bridge_idle_init):
3936 Removed this method, we don't need to initialize in an idle
3939 Changed to call spi_atk_register_event_listeners directly, not via an
3940 idle handler. (fix for #81139)
3941 (gnome_accessibility_module_shutdown):
3942 Removed conditional around deregistration of listeners, since we
3943 don't use the idle handler and thus have always registered when
3945 (spi_init_keystroke_from_atk_key_event):
3946 Changed references to Accessibility_KEY_PRESSED to
3947 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3949 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3951 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3956 * test/stress-test.c:
3959 (may have been an incomplete commit yesterday?)
3961 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3964 Added target for new stress-test.
3966 * test/stress-test.c:
3967 New test, sends 1000 focus notifies in quick succession.
3969 * test/key-listener-test.c:
3970 Now we report whether a keylistener registration
3971 request succeeded or failed.
3973 * test/event-listener-test.c:
3974 Uncommented some listeners which are now implemented.
3977 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3979 * registryd/deviceeventcontroller.c:
3980 (spi_controller_update_key_grabs):
3981 Fix for #82509, lack of failure notification when
3982 ALL_WINDOWS keygrabs fail due to XGrabKey
3983 failure: we synchronize the server when
3984 registering a passive grab, to make sure we get the
3985 error message before the call returns.
3987 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3989 * test/test-simple.c:
3991 Removed #ifdef KEY_IMPL_WORKS guards.
3992 (test_keylisteners):
3993 Removed #ifdef KEY_IMPL_WORKS guards.
3994 Fixed bug which was causing a hang waiting for a
3995 "press" event (which was already overwritten by a "release"
3996 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3998 Added code to set globals 'key_press_received' and
3999 'key_release_received'.
4002 Added section "1.1 API Proposed Additions" which
4003 lists API additions desired for at-spi-1.1 (only one so far).
4004 Updated TODO list a little.
4006 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4008 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4011 * configure.in: Revved to 1.0.0.
4013 * idl/Accessibility_Registry.idl:
4014 (registerKeystrokeListener):
4015 Added boolean return value.
4017 * registryd/registry.c:
4018 (notify_listeners_cb): Minor fix to debug output.
4020 * registryd/Accessibility_Registry.server.in.in:
4021 Revved version number in OAFIID to 1.0.
4023 * registryd/registryd.c:
4025 Use new OAFIID version.
4027 * cspi/bonobo/cspi-bonobo.c:
4029 Use new OAFIID version.
4035 * atk-bridge/bridge.c:
4037 Use new OAFIID version.
4039 * registryd/deviceeventcontroller.c:
4040 (impl_register_keystroke_listener):
4041 Added CORBA_boolean return value.
4042 (spi_controller_register_device_listener):
4043 Added gboolean return value.
4044 (spi_controller_register_global_keygrabs):
4045 Added gboolean return value.
4046 (spi_key_set_contains_key):
4047 Added implementation for many more control keys,
4048 for instance F1-F12, arrow keys, End, Home, Page_Up,
4050 [TODO: some still not implemented].
4052 * text/screen-review-test.c:
4053 (text_chunk_pad_string):
4054 New function: it provides mapping between coordinate
4055 positions of text chunks and character positions in the
4056 screen-review-line output string.
4057 (text_chunk_to_string):
4058 New function, calls text_chunk_pad_string with various
4059 pad/delimiter characters. Pushbuttons are delimited with
4060 square brackets, Frames with vertical 'pipe' lines, and
4061 other text with double quotes.
4062 (text_chunk_list_to_string):
4063 Calls new function text_chunk_to_string.
4064 (toplevel_composite):
4065 New function to composite layers CANVAS through
4066 POPUP in each toplevel (other layers are composited
4067 across toplevels, i.e. BACKGROUND and OVERLAY).
4068 (review_buffer_composite):
4069 Revise to use new methods.
4075 2002-05-31 Laszlo Peter <laca@sun.com>
4077 * configure.in: add the Xtst libdir to the runpath on Solaris,
4078 since it's not in the default library search path.
4080 2002-05-29 jacob berkman <jacob@ximian.com>
4082 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4084 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4086 * test/screen-review-test.c:
4087 (text_chunk_pad_string):
4088 Added method, which pads the string according to the
4089 text bounds of the chunk. It also takes a 3-character
4090 string as a param which indicates the characters to be
4091 used for start, padding, and end delimitation of the chunk.
4092 (text_chunk_to_string):
4093 Changed to use text_chunk_pad_string.
4095 * configure.in: Fixed bug in AC_OUTPUT that was
4096 causing path substitution in Accessibility_Registry.server
4099 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4101 * text/screen-review-test.c:
4102 (guess_string_clip):
4103 New method which attempts a best-guess at clipping
4104 text from components (like Java labels) which don't
4105 actually implement AccessibleText. This inaccurate
4106 clip is based on the assumption that the label is
4107 justified left-and-right, and monospaced.
4108 (text_chunk_get_clipped_string):
4109 We now call guess_string_clip() for text-containing
4110 components that don't implement AccessibleText.
4112 * test/screen-review-test.c:
4113 (review_buffer_get_text_chunk):
4114 We now pull "name" from labels if they do not implement
4115 AccessibleText (i.e. for Java labels).
4116 (get_screen_review_line_at):
4117 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4120 Replaceded AC_OUTPUT target
4121 registryd/Accessibility_Registry.server with
4122 registryd/Accessibility_Registry.server.in.
4124 * registryd/Accessibility_Registry.server.in:
4125 Removed (this is now a Makefile target).
4127 * registryd/Accessibility_Registry.server.in.in:
4128 Added (source for target above). We now use $(libexecdir) as
4129 prefix for the executable at-spi-registryd.
4131 * registry/Makefile.am:
4132 Now install at-spi-registryd into $(libexecdir), and build .server
4133 file with path (see above).
4135 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4137 * test/screen-review-test.c:
4138 (text_chunk_get_clipped_string):
4139 We now check to see if words fall within clip bounds
4140 before resorting to character-by-character clip bounds testing.
4142 * TODO: Added a section for "2.2 Proposed API Additions".
4144 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4146 * test/screen-review-test.c:
4148 Added a screen review benchmarking and test program to test
4151 * cspi/spi_accessible.c:
4153 Made some of the debug strings passed to cspi_check_ev a
4154 little more specific.
4156 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4158 * test/screen-review-test.c: Fix crashes in debug statements
4160 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4162 * test/screen-review-test.c: Added this file.
4164 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4166 * atk-bridge/bridge.c: changed "object:state-change" to
4167 "object:state-changed" to match docs.
4169 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4171 * atk-bridge/bridge.c: Hooked up state-change event details.
4173 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4175 * registryd/registry.c:
4176 Fixed quarking bug in event string parsing; now events with
4177 detail parameters get matched correctly to listeners.
4180 * util/idl/Magnifier.idl: remove.
4182 * util/*.[ch]: Remove.
4183 Magnification utilities and IDL are now in module gnome-mag.
4185 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4187 * registryd/deviceeventcontroller.c:
4188 Fixed bug in grab key conversion which was causing keycode grabs
4189 to be converted to AnyKey grabs.
4192 updated NEWS file to reflect recent spin-off of gnome-mag.
4194 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4196 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4197 busted AccessibleStateSet_compare. Removed redundant casts.
4199 * cspi/spi-action.c: Removed redundant casts.
4201 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4203 * cspi/spi_component.c: Fixed typos and casting error.
4205 * cspi/spi_editabletext.c: Removed redundant casts.
4207 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4209 * cspi/spi_hypertext.c: Eliminated redundant casts.
4211 * cspi/spi_image.c: Eliminated redundant casts.
4213 * cspi/spi_registry.c: Eliminated redundant casts.
4214 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4215 * cspi/spi_selection.c: Removed redundant casts.
4216 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4217 handling. Screen geometry and text offsets were being returned as 0
4218 on error which is technically valid-- changed these to return -1.
4219 Added marshaller for text boundary types to fix bug with boundary
4220 types being passed incorrectly to atk.
4222 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4225 * cspi/spi_registry.c:
4226 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4227 which was uncovered by the recent key changes.
4229 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4231 * test/event-listener-test.c:
4233 Added new test, "event-listener-test";
4234 this code does two things; it benchmarks traversal time
4235 for the accessible hierarchy for the first running accessible
4236 app, and it connects listeners for all supported event types.
4237 It is thus useful as an example event listener and for
4238 diagnostics/debugging of event generation.
4240 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4243 Removed unnecessary dependency on libutil.
4246 Revved micro version: 0.13.1
4248 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4251 Removed util/Makefile from targets.
4254 Removed util subdir from SUBDIRS (temporarily,
4255 pending removal of magnifier-only code
4259 #ifdef-ed out magnifier dependencies, since
4260 magnifier IDL, headers, and binary now live in
4261 module gnome-mag and we don't want at-spi to depend
4262 on gnome-mag. A magnifier demo which can run alongside
4263 simple-at is forthcoming in the gnome-mag module.
4265 NOTE: Split magnifier binary, IDL, and magnification
4266 activation code from at-spi into module gnome-mag.
4268 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4270 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4271 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4273 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4276 Revved to version 0.13.0
4278 * idl/Accessibility_Registry.idl:
4279 Changed definition of KeySet from sequence of longs to sequence of
4280 KeyDefinitions, and added KeyDefinition struct.
4281 Required for fix to bug 80616.
4283 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4284 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4285 to use new definition (see above).
4287 * registryd/deviceeventcontroller.c: handle_keygrab(),
4288 spi_keyset_contains_key():
4289 Changed to make use of new struct; this allows matching based on
4290 string key-name, for instance "Tab". This also allows matching of
4291 composed characters, non-alphanumeric characters in a way that
4292 doesn't involve dependencies on X keysym codes directly, etc.
4294 * test/key-listener-test.c:
4295 Added test for Alt-Tab key using "string" specification of keyset,
4296 and modified one of the tests to use a keycode-based keyset.
4297 Thus this test both tests and demonstrates the creation and use of
4298 keysets of three forms: specified via keycode array,
4299 keysym array, and string array. (The string case only contains a
4300 single string, i.e. a string array of length 1).
4303 Turned on PRINT_TREE option by default. Also fixed a
4304 string-freeing bug in the PRINT_TREE code.
4305 Added a listener to window:minimize events.
4307 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4309 * atk-bridge/bridge.c:
4310 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4311 for window:activate and window:deactiveate
4312 (atk_bridge_property_event_listener atk_bridge_signal_listener
4313 atk_bridge_window_event_listener) Tidy debug code
4315 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4317 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4318 Fixed handling for NULL return value from ATK.
4320 * libspi/action.c libspi/component.c libspi/editabletext.
4321 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4322 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4323 Removed redundant casts.
4325 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4326 Fixed off by one bug.
4328 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4329 function not present in idl)
4331 2002-05-02 jacob berkman <jacob@ximian.com>
4333 * atk-bridge/Makefile.am: make atk-bridge a real module
4335 2002-04-26 Radek Doulik <rodo@ximian.com>
4337 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4338 atk_state_types table
4340 2002-04-22 jacob berkman <jacob@ximian.com>
4343 * libspi/Makefile.am: add deps on the built files to help
4344 automake, and don't version the ORBit typelib
4346 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4348 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4349 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4350 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4351 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4352 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4353 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4354 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4355 libspi/accessible.h libspi/accessible.h libspi/base.h
4356 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4357 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4358 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4359 libspi/spi-private.h libspi/statetset.h libspi/table.h
4360 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4361 util/mag_client.h util/mag_control.c util/mag_image.c
4362 util/mag_image.h util/magnifier.c util/magnifier.h:
4363 Add missing file headers; standardize existing ones
4365 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4367 * atk-bridge/bridge.c: Added window event support.
4369 2002-04-18 Michael Meeks <michael@ximian.com>
4371 * libspi/relation.c (impl_getNTargets): impl.
4372 (impl_getTarget): impl.
4374 * libspi/Makefile.am: fix stateset install.
4376 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4379 Started putting useful info in this file.
4381 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4383 * atk-bridge/bridge.c:
4384 Propagate state-changed notifications to ATs
4386 * cspi/spi_registry.c: update docs to reflect actual behavior of
4387 state-change events.
4389 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4392 Incremented version to 0.12.1
4394 * util/mag_client.h:
4395 Add missing declaration for magnifier_exit,
4396 used by mag_control.c - Forte compiler didn't like
4397 the implicit redeclaration of the function :-(
4400 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4403 Revved version to 0.12 due to API change (see below).
4405 * cspi/spi-roletypes.h:
4406 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4407 definition from the inline docs, and added docs
4408 for SPI_ROLE_LAST_DEFINED.
4411 * cspi/spi_streamablecontent.c:
4412 Added missing seek_type parameter to
4413 (so far unused) method,
4414 AccessibleStreamableContent_seek().
4415 [ RT approval JodyG. ]
4418 Fixed docs for SPI_createAccessibleKeystrokeListener.
4420 * cspi/spi_registry.c:
4421 Fixed docs for SPI_KEYSET_ALL_KEYS.
4423 * docs/reference/cspi/at-spi-cspi-sections.txt:
4424 Added a number of missing APIs to SECTIONS.
4426 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4428 * registryd/Makefile.am:
4430 * cspi/bonobo/Makefile.am:
4431 Add $(X_LIBS) to makefiles.
4433 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4436 Revved version to 0.11.
4438 * libspi/component.c:
4439 Added implementation for grabFocus.
4441 * idl/Accessibility_Component.idl
4442 (Accessibility_Component_grabFocus):
4443 Made this method return boolean to indicate success or failure, to
4444 be consistent with cspi and the corresponding ATK method.
4446 * idl/Accessibility_Selection.idl
4447 (Accessibility_Selection_selectAll) :
4448 Made these methods return boolean to indicate success or
4449 failure, to be consistent with cspi and the corresponding ATK methods.
4451 * idl/Accessibility_EditableText.idl
4452 (Accessibility_EditableText_setTextContents,
4453 Accessibility_EditableText_insertText,
4454 Accessibility_EditableText_cutText,
4455 Accessibility_EditableText_deleteText,
4456 Accessibility_EditableText_pasteText):
4457 Made these methods return boolean to indicate
4460 * cspi/spi_editabletext.c:
4461 Made these methods return booleans.
4463 * libspi/selection.c:
4464 * libspi/component.c:
4465 * libspi/editabletext.c:
4466 Connected the boolean returns from ATK
4467 to the server-side code referenced above.
4469 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4471 * idl/Accessibility_Table.idl: Added missing methods,
4472 Accessibility_Table_addRowSelection,
4473 Accessibility_Table_addColumnSelection,
4474 Accessibility_Table_removeRowSelection,
4475 Accessibility_Table_removeColumnSelection.
4478 Added C wrappers for above IDL:
4479 AccessibleTable_addRowSelection,
4480 AccessibleTable_addColumnSelection,
4481 AccessibleTable_removeRowSelection,
4482 AccessibleTable_removeColumnSelection.
4485 Added server-side implementation code for IDL above, connecting
4486 to pre-existing ATK api.
4488 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4490 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4492 * libspi/accessible.c: Added implementation fo
4493 Accessibility_Accessible_get_state.
4495 * libspi/libspi.h: Added stateset.h to the list of includes.
4497 * libspi/stateset.c: Fixed broken implementation.
4499 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4502 Added implementation code for Accessibility_Magnifier_exit ().
4504 * util/mag_control.c:
4505 Added test code for above method; you can
4506 now kill an existing magnifier via
4507 ./mag_control q, from the util directory.
4509 * test/key-listener-test.c:
4511 Added a new test, for our key listener API.
4513 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4515 * test/app.c, test/keysynth-demo.c:
4517 Replace use of snprintf with g_snprintf.
4518 (fix for bugzilla 78249)
4520 2002-03-27 Michael Meeks <michael@ximian.com>
4524 * util/Makefile.am (INCLUDES): fix.
4525 (DONT_DIST_SOURCE): don't distribute the
4528 * libspi/Makefile.am (dist-hook): ditto.
4530 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4532 * libspi/hypertext.c:
4533 Fix warnings when yelp is used with atk-bridge
4535 2002-03-21 Michael Meeks <michael@ximian.com>
4537 * libspi/application.c (spi_application_new):
4538 use spi_accessible_construct so we use the AtkObject
4541 2002-03-19 Michael Meeks <michael@ximian.com>
4543 * registryd/registry.c (desktop_remove_application),
4544 (desktop_add_application): clean coding style.
4546 * registryd/desktop.c (spi_desktop_remove_application),
4547 (spi_desktop_add_application): kill re-enterency hazards.
4548 (spi_desktop_dispose): remove bogus redundant cast
4549 obscuring bug; fix bug too.
4550 (spi_desktop_init): make the desktop object immortal.
4552 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4555 Added a #define-guarded tree-traversal step
4556 when enumerating the apps (diagnostic tool).
4558 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4560 * idl/Accessibility_Role.idl:
4561 Added ROLE_DRAWING_AREA which seemed to be missing from the
4564 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4566 * cspi/spi-roletypes.h cspi/spi_accessible.c
4567 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4570 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4571 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4572 AT when applications are added and removed from the desktop. This
4573 reverts the previous broken implementation using the backing
4574 AtkObject for the SpiDesktop.
4576 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4578 * registryd/desktop.c: emit the "children-changed::add" and
4579 "children-changed::remove" signals on the backing ATK object for
4580 the desktop so AT can tell when applications are started and shut
4583 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4585 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4587 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4589 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4591 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4593 * cspi/state-types.h: synched with IDL and ATK
4595 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4597 * libspi/accessible.c
4598 (impl_accessibility_accessible_get_child_at_index):
4599 Change return value for g_return_if_fail ()
4600 to CORBA_OBJECT_NIL instead of "0" (!)
4602 * registryd/Makefile.am:
4603 * registryd/Accessibility_Register.server.in:
4604 Changed name of executable, "registryd",
4605 to something more informative:
4608 2002-03-13 Michael Meeks <michael@ximian.com>
4610 * atk-bridge/bridge.c (atk_bridge_init): don't register
4611 if we're in a bonobo-component, rather than a bonobo app.
4613 2002-03-13 Michael Meeks <michael@ximian.com>
4615 * atk-bridge/bridge.c (gtk_module_init): split
4616 out body to (atk_bridge_init): here, since otherwise
4617 we get symbol conflicts and oddness when invoked
4618 from (gnome_accessibility_module_init): here (upd.)
4620 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4623 New file. Explicitly allow "build sheriff" putbacks provided
4624 they are tested on Solaris.
4626 * docs/reference/cspi/Makefile.am:
4627 Added '-' to the "cp" command for index.sgml.
4628 ("patch by thomasvs, soon coming to a GUADEC near you")
4631 Incremented version number (0.9.0) for new release.
4632 Changed macro that checks for popt, to better detect
4633 obsolete versions of popt.
4636 Added X_LIBS to AC_SUBST, for applications
4637 that call Xlib API directly.
4640 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4643 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4646 Fix regression caused by hard-coding major
4647 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4650 * test/test-simple.c (test_editable_text),
4651 (test_test): revert previous change (error was
4652 a regression in gail which is now fixed).
4654 2002-03-04 Michael Meeks <michael@ximian.com>
4656 * test/test-simple.c (test_editable_text),
4657 (test_text): pass G_MAXINT instead of '-1' for
4658 whole string - is this a good thing !?
4660 * cspi/spi_accessible.c
4661 (Accessible_getRelationSet): fix crasher bug
4662 overwriting the end of the array.
4664 * test/test-simple.c (validate_accessible): free,
4665 not g_free returned relation set.
4667 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4669 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4670 implemented stateset support
4672 * idl/Accessibility_State.idl: Made necessary changes to
4673 the IDL to support state sets.
4675 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4677 * registryd/deviceeventcontroller.c:
4678 Added implementation for generateMouseEvent.
4680 * cspi/spi_registry.c:
4681 Connected new implementation for generateMouseEvent
4684 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4687 Incremented revision (but no change in public API
4688 outside of 'utils', which are not installed public yet.)
4690 * libspi/component.c:
4691 Changed to use atk_component API for layers and
4692 mdi_zorder, instead of deprecated atk_object API.
4694 Magnification Utility Enhancements:
4697 Added implementation of createZoomRegion, clearAllZoomRegions,
4698 resizeZoomRegion. Added new commandline argument
4699 "--no-initial-region". Note that clearAllZoomRegions doesn't
4700 unmap the old '0' region as it should (yet), and the other
4701 methods only work when creating/resizing a single region,
4702 which is "region 0".
4703 (Code for multiple region support will be added later.)
4706 Now we raise the magnifier window each time it's refreshed;
4707 this will help keep it on top.
4709 * util/mag_client.h:
4710 Added simple wrappers for above, used by mag_control.
4711 For general use, it's recommended to use the bonobo magnifier
4712 control API directly instead of using these wrappers.
4715 Moved ZoomRegionData from magnifier.c to this file.
4717 * util/mag_control.c:
4718 Added some code to exercise new IDL implementations.
4720 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4722 * libspi/text.c: Provide implementation for getAttributes.
4724 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4727 Incremented revision.
4729 * test/test-simple.c:
4730 Replaced use of deprecated g_main_iteration with
4731 g_main_context_iteration.
4733 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4736 Incremented revision for desktop alpha 2.
4738 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4740 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4743 * test/simple-at.c: include netinet/in.h.
4745 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4747 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4748 use NULL, not CORBA_OBJECT_NIL.
4750 * libspi/accessible.c:
4751 (impl_accessibility_accessible_get_relation_set):
4752 allocate the sequence correctly.
4754 * libspi/remoteobject.h: kill spi_remote_object_new.
4756 * test/test-simple.c: (validate_accessible): add code
4757 to test relation sets, now all we need is to figure
4758 out how to excercise this code path :/
4760 2002-01-18 Michael Meeks <michael@ximian.com>
4762 * test/test-simple.c
4763 (key_listener_cb): consume the key.
4764 (test_keylisteners): update.
4765 (main): wait for any pending unrefs on events.
4767 * registryd/deviceeventcontroller.c
4768 (spi_controller_update_key_grabs): only re-issue the
4769 grab on a key release.
4770 (spi_device_event_controller_forward_key_event):
4771 refresh the keygrabs before we notify the listeners,
4772 to reduce the X ungrab / re-grab race.
4773 (spi_controller_register_with_devices): remove
4774 XSelectInput - we do that with the gdk_window_ call.
4775 (_spi_controller_device_error_handler): return a value.
4776 s/GDK_DISPLAY/spi_get_display/
4778 2002-01-17 Michael Meeks <michael@ximian.com>
4780 * registryd/deviceeventcontroller.c
4781 (_deregister_keygrab): don't blow out the later
4784 * test/test-simple.c (test_keylisteners): do a
4785 more intelligent validation.
4787 2002-01-14 Michael Meeks <michael@ximian.com>
4789 * atk-bridge/bridge.c
4790 (gnome_accessibility_module_init),
4791 (gnome_accessibility_module_shutdown): impl.
4792 (gtk_module_init): protect vs. double inits.
4793 (add_signal_listener): impl.
4794 (spi_atk_bridge_state_event_listener): kill
4795 (deregister_application): split out of
4796 (spi_atk_bridge_exit_func): here.
4798 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4801 Added caret tracking when using magnifier, and
4802 now use text bounds for focus tracking of text elements, rather than
4803 the component bounds - this is helpful for short text fields in long
4804 table cells, at high magnification.
4806 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4808 * registryd/deviceeventcontroller.c:
4809 Regression fix for keylistener de-registration; global keygrabs
4810 were not being released when deregisterKeystrokeListener was
4811 called in cspi, since
4812 Accessibility_DeviceEventController_deregisterKeystrokeListener
4813 was called with a zero-length keyset. That is because the cspi
4814 method, SPI_deregisterKeystrokeListener, does not take a keyset
4815 parameter but instead should remove all the key grabs held be a
4817 The code in impl_deregister_keystroke_listener was changed to copy
4818 the keylist from the listener instance previously registered with
4819 the DeviceEventController before releasing the grabs.
4821 * registryd/registry.c:
4822 * registryd/deviceeventcontroller.c:
4823 * libspi/spi-private.h:
4825 Changed spelling of "re-enterant" to "re-entrant" globally.
4827 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4829 * test/test-simple.c:
4830 Changed key listeners test - the test was slightly mis-using the
4831 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4832 It now uses '=' as the key event listened to and generated,
4833 relying on a keysym match rather than assuming that keycode 33
4834 is always equal to keysym '!'.
4836 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4839 Changed simple-at to use a specific keyset, rather than
4840 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4841 manager, desktop, etc.
4843 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4845 * registryd/deviceeventcontroller.c:
4846 Replaced standard X error handler with a special handler that
4847 is non-fatal for failed keygrabs. This works around
4848 problems with keygrab clashes sometimes observed on
4850 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4851 mouse handling code as yet).
4853 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4856 Incremented revision for desktop alpha release.
4859 Fixed a couple of the more glaring errors (still not
4862 2002-01-11 Michael Meeks <michael@ximian.com>
4864 * registryd/deviceeventcontroller.c
4865 (spi_device_event_controller_forward_key_event): kill
4866 XUngrabKey / XKeyGrab race.
4867 (spi_controller_grab_keyboard): rename to
4868 (spi_controller_update_key_grabs): this, and deal
4869 with incremental adding / removing grabs more
4871 (_register_keygrab): ensure we're not pending a remove.
4872 (spi_grab_mask_free): impl.
4873 (spi_controller_register_global_keygrabs): split out
4875 (handle_keygrab): impl.
4876 (_deregister_keygrab): impl.
4877 (spi_controller_deregister_global_keygrabs): impl.
4878 (spi_controller_update_key_grabs): re-issue the grab if
4879 we just recieved a notification.
4881 * test/test-simple.c (key_listener_cb): remove debug.
4883 * registryd/deviceeventcontroller.c
4884 (spi_controller_register_device_listener): after
4885 registering a global keygrab, actualy register it !
4886 don't wait for a timeout; doh !
4888 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4889 to make it more readable / manipulable.
4890 s/grabmask/grab_mask/ s/refcount/ref_count/
4891 s/keyval/key_val/ s/modmask/mod_mask
4893 2002-01-08 Michael Meeks <michael@ximian.com>
4895 * registryd/deviceeventcontroller.c
4896 (spi_controller_register_with_devices): use gdk calls to
4898 (global_filter_fn): implement the filter.
4899 (spi_device_event_controller_check_key_event): rename to
4900 (spi_device_event_controller_forward_key_event): this & upd.
4901 (spi_get_display): replace with GDK_DISPLAY.
4903 * registryd/deviceeventcontroller.c
4904 (spi_controller_deregister_device_listener): unroll into
4905 (impl_deregister_keystroke_listener): here to simplify.
4906 (spi_controller_register_global_keygrabs): split cut and
4907 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4908 (spi_controller_deregister_device_listener): remove.
4909 (impl_register_mouse_listener): remove, no mouse listener
4910 support in at-spi-1.0
4912 * registryd/registry.c
4913 (_device_event_controller_hook): kill.
4914 (spi_registry_init): upd.
4916 * registryd/deviceeventcontroller.c
4917 (spi_device_event_controller_class_init): upd.
4918 (spi_check_key_event): merge into.
4919 (spi_device_event_controller_check_key_event):
4920 here and kill strange static ev init, don't leak
4921 the x_event - nor dynamicaly allocate it.
4923 * registryd/registry-main.c (main): re-direct
4924 timeout to remove strange vtable mess.
4926 * registryd/deviceeventcontroller.c
4927 (remove_listener_cb): impl.
4928 (spi_controller_deregister_device_listener):
4929 fix re-enterancy hazard.
4931 2002-01-07 Michael Meeks <michael@ximian.com>
4933 * registryd/deviceeventcontroller.c
4934 (spi_device_event_controller_new): upd.
4935 (impl_notify_listeners_sync): upd. debug.
4936 (spi_notify_keylisteners): fix re-enterancy hazards,
4937 prettify, remove O(n*n) iteration.
4938 (spi_controller_grab_keyboard): fix iteration.
4939 (spi_check_key_event): re-format to suit coding style.
4940 Clean all the warnings - we're warning free.
4942 * registryd/deviceeventcontroller.h:
4943 * registryd/registry.h: make mutualy referential with
4944 typesafe forward references instead of (!) void pointer
4947 2002-01-11 Michael Meeks <michael@ximian.com>
4949 * cspi/spi_accessible.c (role_names): add a role name
4950 to sync this array with the enum; and make the regression
4953 2002-01-10 Michael Meeks <michael@ximian.com>
4955 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4956 allow expansion of enumeration & kill warning.
4958 * test/test-simple.c (key_listener_cb): impl.
4959 (test_keylisteners): impl.
4961 * cspi/spi-listener.h: make listener signatures const
4962 on the provided (const) events.
4964 * test/keysynth-demo.c: upd. to const events.
4966 * test/simple-at.c: ditto.
4968 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4971 Rev the version to 0.5 (the previous tarball was named 0.4,
4972 even though the micro number was 3), so we need to rev upwards
4973 again for beta2/"desktop-alpha"
4976 Checked in a demo script, which requires editing before use!
4977 Proceed with caution.
4980 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4982 * cspi/spi_accessible.c:
4983 Add a couple of missing enum initializations, and fix some enum
4986 * cspi/spi_registry.c:
4987 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4989 * docs/reference/cspi/at-spi-cspi-sections.txt:
4990 Remove/fix a couple of broken document references.
4993 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4994 as Alt-Control to listen for commands, since on some systems
4995 Control-Alt may already be grabbed.
4997 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5000 Update version number to 0.4 for Beta2.
5002 * libspi/accessible.c, libspi/accessible.h:
5003 Expose spi_accessible_construct, to enable libgail-gnome
5004 construction from spi_accessible subtype.
5006 * utils/magnifier.c:
5007 Workaround for bug in some non-gnome-compliant window managers
5008 which made magnifier resize improperly.
5010 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5012 * libspi/accessible.c: (spi_accessible_new) :
5013 Move the test for SPI_IS_REMOTE_OBJECT to
5014 spi_accessible_new_return, fixing a bug and compile time warning.
5016 2002-01-08 Michael Meeks <michael@ximian.com>
5018 * registryd/registry.c (parse_event_type): remove strndup.
5020 * libspi/Makefile.am (libspi_la_SOURCES): remove
5021 sources already included in the headers section.
5023 * libspi/util.c: add.
5025 * libspi/spi-private.h: add.
5027 * registryd/registry.c: update to moved list iterators.
5029 2002-01-05 Michael Meeks <michael@ximian.com>
5031 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5033 * test/test-simple.c (main): ditto.
5035 2002-01-04 Michael Meeks <michael@ximian.com>
5037 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5038 redundant construct.
5040 * registryd/registry.c
5041 (get_listener_list): impl.
5042 (impl_accessibility_registry_register_global_event_listener):
5043 re-impl. to simplify using ~, remove dodgy const cast off.
5044 (parse_event_type): constify.
5045 (impl_accessibility_registry_deregister_global_event_listener_all):
5046 re-write, more efficiency and simplicity, kill re-enterancy
5048 (compare_listener_corbaref, compare_corba_objects),
5049 (compare_listener_quarks): define out.
5050 (impl_accessibility_registry_deregister_global_event_listener):
5051 re-write for effiency, and nail re-enterancy hazard.
5052 (impl_accessibility_registry_get_desktop_list): impl.
5053 (re_enterant_list_delete_link): impl.
5054 (re_enterant_list_foreach): impl.
5055 (remove_listener_cb): impl.
5056 (_registry_notify_listeners): kill.
5057 (notify_listeners_cb): impl.
5059 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5060 (SPI_getDesktopList): impl.
5062 * test/test-simple.c (test_desktop): test the methods.
5064 2002-01-03 Michael Meeks <michael@ximian.com>
5066 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5067 keystrings since we free them
5068 (SPI_freeAccessibleKeySet): in here.
5070 * libspi/accessible.c (spi_accessible_new): kill warning,
5071 wonder what is going on with the constructor here.
5073 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5075 * libspi/accessible.c (spi_accessible_new ()) :
5076 Added check to see if AtkObject is an SpiRemoteObject before
5077 creating an SpiAccessible.
5079 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5081 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5082 Enable keygrabs using the Control modifier, now that they are
5083 working properly (they were previously disabled).
5086 Change the command keygrab for this demo to "Control+Alt", so as
5087 to conflict with fewer other key commands on the system; this
5088 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5090 Removed a pointlessly-chatty keylistener for unshifted keys
5091 (shifted keys are still reported).
5093 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5095 * libspi/remoteobject.h:
5096 * libspi/remoteobject.c:
5097 Added definitions for special AtkObject subtype, required for
5098 support of remote components (specifically, used by BonoboControl
5099 accessibility implementation).
5101 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5103 * cspi/spi.h: synched relation types with ATK
5105 * cspi/spi_accessible.c: Added implementations of
5106 AcccessibleRelation_* methods
5108 * idl/Accessibility_Relation.idl: added getRelationTypeName
5109 method. Synched known relation types with ATK. Allowed for
5110 relation type extension with the RELATION_EXTENDED type.
5112 * libspi/relation.c: Provided implementations for
5113 AccessibleRelation methods.
5115 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5117 API tweaks for today's API 'freeze'.
5120 Added placeholder functions to allow future compatible expansion
5121 of the IDL interfaces.
5123 * idl/Accessibility_Registry.idl:
5124 Changed generateKeyEvent to generateKeyboardEvent. Changed
5125 signature of this method to accept an optional keystring in
5126 parameter (for complex text input synthesis) and changed use of
5127 simple 'boolean' parameter in registerKeystrokeListener to a
5128 struct, EventListenerMode.
5130 * cspi/spi_accessible.c:
5132 * cspi/spi_streamablecontent.c:
5133 Added references to AccessibleStreamableContent interface, and
5134 definition and implementation of AccessibleStreamableContent
5137 * cspi/spi_registry.c:
5139 Changed generateKeyEvent API to generateKeyboardEvent,
5140 taking a new (optional) keystring parameter to support complex
5145 Renamed directory (to better reflect its actual purpose, bridging
5146 from at-spi to ATK). The .so module is also now named
5149 * idl/Accessibility_Hypertext.idl:
5150 * libspi/accessible.c:
5151 * libspi/hypertext.h:
5152 * libspi/hypertext.c:
5153 Changed Accessibility_Hypertext to *not* derive from
5156 * cspi/spi_registry.c:
5157 Added list of legal event type names for 'window' events, which
5158 completes the registry event API.
5160 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5162 * at-bridge/bridge.c: Added registration for separate
5163 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5164 signals. If either of the first two parameters to the generic
5165 bridge signal handler are ints, they are passed on as event
5166 details. This allows an AT to determine what text was inserted.
5168 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5170 * registryd/deviceeventcontroller.c:
5171 Fixed regressions in generateKeyEvent caused by the removal of
5172 gdk_init from registryd; we now use pure X calls to connect to the
5173 display, which makes sense because deviceeventcontroller already
5174 uses a fair bit of X API (should eventually be migrated to a
5175 'portability layer').
5177 * registryd/desktop.c:
5178 Fixed minor regression in spi_desktop_init, changed the way the
5179 desktop name is being set to work with new spi_base API
5180 (gobject-based, rather than AtkObject-based).
5182 * registryd/Makefile.am:
5183 Minor revision of makefile to use XTST_LIBS variable rather than
5184 hard-wiring the Xtst LD_ADD element.
5186 * test/keysynth-demo.c:
5187 Tweaked an output message; added initialization of the
5188 'keystrings' member of the "switch listener" key_set.
5190 * libspi/relation.c:
5191 Squashed compile-time warning.
5193 * libspi/accessible.c:
5194 Cosmetic and formatting fixes, renamed a static method.
5196 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5198 * libspi/accessible.c
5200 * libspi/application.c
5203 * libspi/component.c
5204 * libspi/editabletext.c
5205 * libspi/hyperlink.c
5206 * libspi/hypertext.c
5208 * libspi/selection.c
5212 * registryd/desktop.c:
5213 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5215 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5217 * idl/Accessibility_Registry.idl:
5218 Added boolean member 'is_text' to DeviceEvent. This is for the
5219 use of key events, and helps prevent ambiguity between composed
5220 key strings and keysym names, since both may potentially be
5221 returned in the 'event_string' member.
5223 * at-bridge/bridge.c:
5224 * registryd/deviceeventcontroller.c:
5225 Use the 'is_text' member when notifying device event listeners.
5226 Knon issue: composed characters are not dealt with correctly by
5227 the global key listener implementation yet.
5229 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5231 * at-bridge/bridge.c:
5232 Namespaced local static methods to spi_atk_bridge_* where
5233 previously named bridge_*, and spi_* elsewhere.
5235 * at-bridge/bridge.c:
5236 * cspi/bonobo/cspi-bonobo-listener.c:
5237 Added demarshalling/conversion for string member of
5238 Accessibility_DeviceEvent to AccessibleKeystroke.
5240 * registryd/deviceeventcontroller.c:
5241 Added code to fill the Accessibility_DeviceEvent key string value
5242 member for global key events (i.e. from XGrabKey), to match
5243 behavior of Accessibility_DeviceEvent from the toolkit key events
5244 from the bridge. Fixed timestamp in global key event notifications.
5247 Added printout of key event's string value to
5248 report_ordinary_key_event, for demo/debugging purposes.
5250 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5252 * idl/Accessibility_Registry.idl:
5253 Removed Accessibility_KeyStroke structure in favor of generic
5254 Accessibility_DeviceEvent structure.
5255 Changed Accessibility_ControllerEventMask from a struct to an
5258 * at-bridge/bridge.c:
5259 Changed APIs to use DeviceEvent structure as above, and removed
5260 bogus casting between these event structures.
5262 * cspi/spi-listener.h:
5263 Added keystring member of AccessibleKeystroke structure, to enable
5264 matching on event "names" rather than only hardware codes and
5268 Added keystrings member of AccessibleKeySet struct, to allow
5269 matching on event names (as above).
5270 Added declarations for SPI_createAccessibleKeySet and
5271 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5272 event modmasks directly as unsigned ints rather than structs with
5273 refcounts, in the DeviceEventController methods.
5275 * cspi/spi_registry.c:
5276 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5278 * cspi/spi-roletypes.h:
5279 Added documentation of newly added SPI Roles.
5281 * cspi/bonobo/cspi-bonobo-listener.c:
5282 Changes in support of API changes above.
5284 * libspi/accessible.c:
5285 Converted APIs to use DeviceEvent structure (see IDL changes
5288 * registryd/deviceeventcontroller.c:
5289 Added DEControllerGrabMask structure to track keygrabs not only by
5290 modmask but by keyset as well; this allows us to do "global"
5291 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5292 grabbing on AnyKey and then filtering after-the-fact.
5293 Bugfixes for event filtration mean that we don't get false matches
5294 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5296 * registryd/deviceeventcontroller.c:
5297 Namespaced a number of static methods to use spi_ prefix. Major
5298 revision to internals of global (i.e. X) key grabs.
5300 * registryd/deviceeventcontroller.h:
5301 Removed keymask_list and added keygrabs_list to
5302 SpiDeviceEventController struct.
5305 Added use of SPI_createAccessibleKeySet API when creating a
5306 listener for only one key. Attach a listener to "shift spacebar
5307 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5308 X key event names to SPI key event names, so that listeners are
5309 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5311 * test/keysynth-demo.c:
5312 Changed (incorrect) use of X key event names (KeyPressed,
5313 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5316 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5318 * libspi/accessible.c:
5319 Convert all AtkRole enumerations to Accessibility_Role enums when
5320 getting a role from an AtkObject.
5322 * cspi/spi_accessible.c:
5323 Complete the conversion of Accessibility_Role enums at runtime to
5324 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5325 role enums correctly match those given in spi-roletypes.h.
5326 Re-synchronize the local names list for AccessibleRole_getName ().
5327 AccessibleRole_getName is now deprecated, since it duplicates the
5328 more reliable Accessible_getRoleName.
5329 Added some role types from Accessibility_Role.idl.
5331 * idl/Accessibility_Role.idl:
5332 Added some role types used by AtkRole.
5334 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5337 * cspi/spi_registry.c:
5339 * cspi/cspi-bonobo-listener.c:
5340 Namespaced all methods that did not begin with an "SPI_" or
5341 "Accessible" prefix to "SPI_".
5344 Homogenized internal function namespace to "cspi_" for statics.
5347 Patched tests to use the new CSPI API.
5349 * docs/reference/cspi/at-spi-cspi-sections.txt:
5350 Updated docs to reflect namespace changes, and added a number of
5351 methods to the documentation.
5353 * registryd/registry.c:
5354 Changed use of strings and string hashes in listener event
5355 matching and parse_event_string to use GQuark, which is guaranteed
5358 * registryd/registry.h:
5359 Squashed annoying warning.
5361 * idl/Accessibility_Role.idl:
5362 Extended range of available Accessibility_Role values.
5364 * cspi/spi_accessible.c:
5365 Re-ordered role names.
5367 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5369 * idl/Accessibility_Value.idl:
5370 Revert use of union back to CORBA_double, since the double type is
5371 more efficient and can contain the other types without loss of
5374 * idl/Accessibility_Accessible.idl:
5375 Added method Accessibility:Accessible:getRoleName, to complement
5376 Accessibility:Accessible:getRole.
5378 * cspi/spi_accessible.c:
5380 Added C binding for above, Accessible_getRoleName (), and changed
5381 signature of Accessible_getRole () to return an AccessibleRole.
5383 * cspi/spi-roletypes.h:
5384 Changed AccessibleRole_getName to return a char * instead of a
5385 const char *. This method is now at least temporarily deprecated
5386 in favor of asking Accessibles for their RoleNames directly.
5389 Revert to match Accessibility_Value.idl;
5393 Change signature of AccessibleValue methods to use double rather
5397 * cspi/spi_accessible.c:
5398 Changed Accessible_getRole to return an AccessibleRole enum rather
5399 than a UTF-8 string. The UTF-8 string can still be obtained via
5400 AccessibleRole_getName ().
5402 * test/test-simple.c:
5403 Add test_action. Small fixup to match API change to Accessible_getRole.
5406 Bugfix for get_action_from_servant ().
5408 2001-12-11 Michael Meeks <michael@ximian.com>
5410 * libspi/libspi.h: remove registry.h and
5411 desktop.h, deviceeventcontroller.h
5413 * libspi/Makefile.am: remove registry.[ch],
5414 desktop.[ch], deviceeventcontroller.[ch]
5416 * registryd/Makefile.am: add registry.[ch],
5417 desktop.[ch], rename registryd.c to registry-main.c.
5418 add deviceeventcontroller.[ch]
5420 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5423 Replace setenv() call with putenv ().
5425 * libspi/component.c:
5426 Bugfix in AccessibleComponent_getExtents (),
5429 2001-12-11 Michael Meeks <michael@ximian.com>
5431 * libspi/image.c (impl_getImageExtents): impl.
5432 (spi_image_class_init): upd.
5435 (AccessibleImage_getImageDescription): fix daft bug
5438 * test/test-simple.c (global_listener_cb): update
5439 to only quit if not --poke
5440 (main): catch --poke.
5441 (validate_accessible): upd. dumping, call test_image
5444 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5447 * idl/Accessibility.idl: update all IDL includes.
5449 * idl/*.idl - rename to namespace - this sucks, blame
5450 mjs' bad decision for oafd.
5452 * test/test-simple.c (create_test_window): add more tests.
5453 (create_tree): split this out.
5454 (validate_accessible): bugfix.
5456 2001-12-11 Michael Meeks <michael@ximian.com>
5458 * cspi/bonobo/cspi-bonobo-listener.c:
5459 (cspi_kestroke_listener_unref),
5460 (cspi_event_listener_unref): impl. undoing previous
5461 homenous environment - for Bill.
5463 * cspi/spi_table.c (long_seq_to_array): use
5466 * cspi/spi_main.c: split out all bonoboish bits into
5469 * cspi/spi-impl.h: upd. typedefs.
5471 * cspi/spi_registry.c: update to lowlevel API,
5472 return booleans to indicate success in some places.
5474 * cspi/spi_event.c: update to lowlevel API.
5476 * cspi/bonobo/Makefile.am: add.
5478 * cspi/bonobo/cspi-lowlevel.h: add
5480 * cspi/bonobo/cspi-bonobo.c: add
5482 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5484 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5485 (SUBDIRS): add bonobo, link in the libs.
5487 * cspi/spi-util.c: kill this file.
5489 * TODO: merge in my bits.
5491 2001-12-11 Michael Meeks <michael@ximian.com>
5493 * test/test-simple.c (test_value, test_table, main):
5494 remove unused variables causing warnings.
5496 * configure.in: cleanup checks - require gail.
5498 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5501 Changed Value interface to use SValue (scalars) rather than
5502 assuming all values are floats. This allows floats, doubles,
5503 longs, shorts, and unsigned values to be manipulated.
5504 Introduced Accessibility:SValue union.
5507 Updated to use new API above, and to work correctly with GValues
5508 of different types in AtkValue.
5511 Updated to use new API above. cspi's API is as yet unchanged.
5514 Updated the Value revision action item.
5516 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5518 * test/test-simple.c:
5519 Added test_table (GtkTreeView widget in test window to follow).
5520 Un-commented test_value, added GtkRange widget.
5521 Added GtkTreeView widget with GtkListStore. It passes regression
5522 test but leaks one SPI object for some reason.
5525 Fixed bug in impl__set_currentValue.
5527 2001-12-10 Michael Meeks <michael@ximian.com>
5529 * cspi/spi_text.c: audit for exception handling,
5530 tolerating NULL object references safely etc.
5532 * cspi/spi_value.c: ditto.
5534 * cspi/spi_table.c (AccessibleTable_getSummary),
5535 (AccessibleTable_getAccessibleAt),
5536 (AccessibleTable_getRowHeader),
5537 (AccessibleTable_getColumnHeader),
5538 (AccessibleTable_getCaption): fix bugs hidden by
5540 (long_seq_to_array): impl.
5541 (AccessibleTable_getSelectedRows),
5542 (AccessibleTable_getSelectedColumns): use it.
5544 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5547 Added a TODO list (rough and short for now).
5549 * cspi/spi_hyperlink.c:
5550 * cspi/spi_hypertext.c:
5551 Fixed macro name typos, and remove use of obsolete macro in
5552 AccessibleHyperlink_getLink.
5554 * cspi/spi_action.c:
5555 * cspi/spi_accessible.c:
5556 * cspi/spi_application.c:
5557 * cspi/spi_component.c:
5558 * cspi/spi_selection.c:
5561 Documentation fixes (removed return values from ref/unref methods).
5563 2001-12-10 Michael Meeks <michael@ximian.com>
5565 * cspi/spi_action.c: audit for exception handling,
5566 tolerating NULL object references safely etc.
5568 * cspi/spi_accessible.c: ditto.
5570 * cspi/spi_component.c: ditto.
5572 * cspi/spi_editabletext.c: ditto.
5574 * cspi/spi_hyperlink.c: ditto.
5576 * cspi/spi_hypertext.c: ditto.
5578 * cspi/spi_image.c: ditto.
5580 * cspi/spi_selection.c: ditto.
5582 2001-12-10 Michael Meeks <michael@ximian.com>
5584 * configure.in: use cspi/libspi.pc.in instead.
5586 * Makefile.am (pkgconfig_DATA): upd. to match.
5588 * test/simple-at.c (report_focus_event): kill hacks around
5589 bad return values, use putenv not setenv
5591 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5592 fire ChildGone - I killed it.
5594 * libspi/component.c
5595 (impl_accessibility_component_get_extents): remove
5598 * idl/Accessible.idl: kill ChildGone exception.
5600 * cspi/*.[ch]: kill int return from ref / unref.
5602 * cspi/spi_main.c (cspi_object_add_check): fold into
5603 (cspi_object_add): here.
5605 * cspi/spi_component.c (AccessibleComponent_getExtents):
5606 handle exceptions elegantly.
5608 * cspi/spi-private.h (cspi_check_ev_return),
5609 (cspi_return_if_fail): impl.
5611 * cspi/spi_accessible.c: use extensively.
5612 (AccessibleStateSet_equals): add direct compare check.
5614 * cspi/spi_selection.c: tolerate NULL objs, and check
5615 exceptions before return.
5617 * cspi/spi-util.c (cspi_warn_ev): rename to
5618 (cspi_check_ev): this & don't pass ev in; no point.
5620 2001-12-10 Michael Meeks <michael@ximian.com>
5622 * test/test-simple.c: use putenv not setenv
5623 (get_environment_vars): more chatty if you're not using
5626 * test/simple-at.c: do the setenv so more people see the
5629 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5631 * libspi/registry.c:
5632 Changed check of CORBA_environment on notification to be a warning
5633 instead of an error for the moment, since we can recover from this
5634 error when caused by a queued notification from a dead app.
5637 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5638 used by all current implementors of AtkValue), and coerce to
5639 CORBA_float. (Proper general case fix may require change to Value.idl).
5641 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5645 * cspi/spi_accessible.c:
5646 Documentation fixes: added user_data params to documentation for
5647 listeners and callbacks.
5649 * cspi/spi_accessible.c:
5650 Changed AccessibleStateSet_compare to return a
5651 StateSet rather than return the difference set into a third parameter.
5654 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5657 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5658 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5662 Remove subdirectory po from SUBDIRS for now.
5664 * at-bridge/bridge.c:
5665 Beefed up a couple of debug printouts.
5666 One-line fix for signal notification name formatting.
5668 * libspi/accessible.c:
5669 Added assertion to spi_accessible_new ().
5671 * libspi/application.c:
5672 Put #ifdef qualifiers around a printf.
5675 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5677 * registryd/Makefile.am:
5679 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5680 INTLTOOL_SERVER_RULE macro.
5683 Added an event listener for several ATK signals, for
5684 testing and debugging. Removed a few g_warnings.
5685 Added test output if focussed item implements the Value interface.
5687 * test/test-simple.c:
5688 Added test_value () function (known not to pass at the moment, so
5689 not actually called yet.
5691 2001-12-08 Michael Meeks <michael@ximian.com>
5693 * at-bridge/bridge.c (bridge_focus_tracker),
5694 (emit_eventv): fix the same ref. leak.
5695 (register_atk_event_listeners): don't leak.
5697 * cspi/spi-listener-impl.c (cspi_event): more
5698 protection from client code.
5700 * test/test-simple.c (test_desktop): unref the app.
5702 * test/Makefile.am: upd. TESTS.
5704 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5706 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5708 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5710 * cspi/spi_registry.c: constify in strings.
5711 (deregisterGlobalEventListenerAll): don't release the ref.
5713 * cspi/spi.h: start removing redundant / conflicting
5714 gtkdoc comments, making the API readable at a glance :-)
5716 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5718 * test/keysynth-demo.c (keysynth_exit, main): upd.
5720 * test/simple-at.c (main, simple_at_exit): upd.
5722 * test/test-simple.c (unutterable_horror): kill.
5723 (utterable_normal_derefs): kill.
5724 (main): upd & do a setenv before gtk_init, so that we
5725 can use memprof - and to save the pain of remembering
5726 this, if we're running under memprof - don't exit.
5728 * cspi/spi_main.c (SPI_exit): return exit status
5730 (SPI_event_quit): impl.
5731 (SPI_event_main): simplify.
5732 (cspi_is_gnome_app): kill.
5733 (SPI_init): kill isGNOMEapp arg.
5735 * at-bridge/bridge.c (register_atk_event_listeners):
5736 re-instate the unref.
5737 (bridge_exit_func): don't re-activate the registry,
5738 protect vs. theoretical re-entry, use the
5739 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5740 assert a clean shutdown - for regression tests.
5742 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5744 * configure.in: Comment out dummy i18n support for now,
5745 otherwise it fails to build.
5746 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5747 EXTRA_DIST. They are missing in tarball.
5749 2001-12-07 Michael Meeks <michael@ximian.com>
5751 * util/magnifier.c: kill bonobo activation reg. race.
5753 * libspi/component.c
5754 (impl_accessibility_component_get_extents): make it match
5757 * libspi/registry.c (_registry_notify_listeners):
5758 re-remove X headers & reconcile conflicts.
5759 (spi_listener_struct_free): bad conflict resolve.
5760 (impl_accessibility_registry_register_application):
5761 more bad merging fixed.
5762 (impl_accessibility_registry_deregister_application): ditto.
5763 (spi_registry_new): ditto.
5764 (spi_registry_init): don't have an applications field.
5766 [ merge fixups2 branch to here ]
5767 2001-12-07 Michael Meeks <michael@ximian.com>
5769 * test/simple-at.c (report_focus_event),
5770 (report_focussed_accessible): remove g_warning debug.
5772 2001-12-07 Michael Meeks <michael@ximian.com>
5774 * test/test-simple.c (validate_tree): comment out some checks.
5775 (test_desktop): app now not registered idly - horay.
5777 2001-12-07 Michael Meeks <michael@ximian.com>
5779 * cspi/spi_registry.c
5780 (registerAccessibleKeystrokeListener): clean, stop it leaking
5781 great swathes of memory, and device event controller references.
5782 ensure we always pass valid sequences.
5783 (deregisterAccessibleKeystrokeListener): ditto.
5784 (generateKeyEvent): upd.
5786 * at-bridge/bridge.c (bridge_key_listener): handle
5787 registry dead exception gracefully.
5788 (bridge_focus_tracker, emit_eventv): free ev.
5790 * test/simple-at.c (report_focus_event): fix polarity.
5792 * libspi/application.c (notify_listeners): kill the ev
5793 argument, and make sure we init the ev we use.
5794 (spi_application_object_event_listener): split out a chunk
5795 (get_atk_object_ref): here & fixup.
5796 (reverse_lookup_name_for_toolkit_event): make const.
5797 (spi_application_toolkit_event_listener): fixup, kill leaks
5800 * at-bridge/bridge.c (register_atk_event_listeners):
5801 don't unref the noop object - causes grief.
5803 * libspi/registry.c: remove the X headers.
5804 turn off the debug churn.
5806 * libspi/accessible.c (spi_accessible_new_return): only
5807 release the ref if we are supposed to [doh]
5809 * test/simple-at.c (report_button_press, report_focus_event):
5810 guard vs. unexpected exit.
5812 * at-bridge/bridge.c (gtk_module_init): prune printf.
5813 (bridge_exit_func): fix app unref.
5815 * libspi/Makefile.am: don't install registry or desktop.h
5817 * libspi/*.h: update includes.
5819 * libspi/application.h: don't include ourself, or
5820 other redundant headers.
5822 2001-12-06 Michael Meeks <michael@ximian.com>
5824 * libspi/accessible.c
5825 (get_accessible_from_servant): impl.
5826 Upd. all CORBA impl.s to use it killing cut and paste.
5828 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5830 (SPI_init): register atexit cleanup handler here.
5832 2001-12-06 Michael Meeks <michael@ximian.com>
5834 * at-bridge/bridge.c (gtk_module_init): g_error on
5835 activation exception
5837 2001-12-06 Michael Meeks <michael@ximian.com>
5839 * at-bridge/bridge.c (gtk_module_init): some sort of
5840 confusing merge clash - reverted.
5841 (bridge_idle_init): ditto.
5843 * test/test-simple.c (main, utterable_normal_derefs):
5844 merge from Bill - somehow not committed.
5846 2001-12-06 Michael Meeks <michael@ximian.com>
5848 * libspi/value.c (spi_value_class_init): upd.
5849 (spi_value_finalize): kill.
5851 * libspi/table.c (spi_table_finalize): kill.
5852 (spi_table_interface_new): upd.
5853 (spi_table_class_init): upd.
5854 (get_table_from_servant): impl.
5855 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5857 * libspi/selection.c (spi_selection_finalize): kill.
5858 (spi_selection_interface_new): upd.
5859 (spi_selection_class_init): upd.
5860 (get_selection_from_servant): impl.
5861 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5863 * libspi/relation.c (spi_relation_finalize): kill.
5864 (spi_relation_class_init, spi_relation_new): upd
5866 * libspi/image.c (spi_image_finalize): kill.
5867 (spi_image_class_init): upd.
5868 (spi_image_interface_new): upd.
5869 (get_image_from_servant): impl.
5870 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5872 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5873 (spi_hyperlink_finalize): kill.
5874 (spi_hyperlink_new): upd.
5875 (get_hyperlink_from_servant): impl.
5876 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5878 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5879 (spi_hypertext_finalize): kill.
5880 (spi_hypertext_class_init): upd.
5881 (get_hypertext_from_servant): impl.
5882 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5884 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5885 (spi_editable_text_interface_new): upd.
5886 (get_editable_text_from_servant): impl.
5887 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5889 * libspi/text.c (get_text_from_servant): impl.
5890 All impls - update to use it killing more cut and paste,
5891 also fix bad string returns on duff args ( a somewhat
5892 impossible case to handle - but hey ).
5893 (spi_text_construct): impl.
5894 (spi_text_interface_new): upd.
5895 (spi_text_object_finalize): kill.
5897 * libspi/component.c
5898 (accessibility_component_object_finalize): kill.
5899 (spi_component_class_init): upd.
5900 (get_component_from_servant): impl. helper to kill cut & paste.
5901 (impl_accessibility_component_contains):
5902 (impl_accessibility_component_get_accessible_at_point):
5903 (impl_accessibility_component_get_position):
5904 (impl_accessibility_component_get_extents):
5905 (impl_accessibility_component_get_mdi_z_order):
5906 (impl_accessibility_component_get_layer):
5907 (spi_component_interface_new): upd.
5909 * libspi/action.c (spi_action_finalize): kill.
5910 (spi_action_class_init): upd. inherit from SpiObject.
5911 (spi_action_interface_new): upd.
5912 (get_action_from_servant): impl. helper to reduce cut & paste.
5913 (impl_getKeyBinding, impl_getName, impl_doAction),
5914 (impl_getDescription): Use it everywhere.
5916 * cspi/spi_main.c (get_live_refs): a pointer hash.
5917 (spi_object_hash, spi_object_equal): comment out.
5918 There are issues with CORBA object hashing that need
5921 * libspi/application.c (spi_application_init),
5922 (spi_application_new): upd.
5924 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5925 (spi_accessible_class_init): upd.
5926 s/accessible/object/ in epv methods.
5928 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5930 * at-bridge/bridge.c:
5931 Reorder the bridge initialization into the bridge gtk_module_init,
5932 an immediate call to bridge_register_app, and an idle_add for
5933 register_atk_event_listeners (the only code that *must* wait until
5934 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5935 the activation, creates the application's Accessible object, and
5936 queues the bridge_idle_init function. Restored call to
5937 Accessibility_Registry_deregisterApplication().
5938 Prior to making this call we obtain a new reference to the
5939 registry, which is a temporary hack that helps us handle apps that
5940 shut down the bonobo mainloop before we get there.
5942 * libspi/registry.c:
5943 Fix string leakage in debug block, and don't segv if a an app
5944 dies before its event notifications have been propagated.
5947 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5948 as stopgap measure until we get proper exception handling when
5949 objects die during or before interrogation.
5953 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5954 Also changed default value of is_gnome_app to TRUE.
5957 * test/keysynth-demo.c:
5958 Changed use of SPI_init and SPI_event_main to reflect API change above.
5961 Made report_focus_event check the warning value from getName
5962 before reporting on focussed accessible; simplifies handling of
5963 notifications from dead objects.
5965 * test/test-simple.c: (Changes not in this patch since source is
5968 2001-12-05 Michael Meeks <michael@ximian.com>
5970 * registryd/registryd.c (main): protect against
5971 bonobo-activation startup race condition.
5973 * cspi/spi_main.c (cspi_object_add_check): cope
5974 with the exception elegantly.
5976 * idl/Accessible.idl: decl. ChildGone
5978 * libspi/desktop.c (spi_desktop_dispose): impl.
5979 (spi_desktop_class_init): upd.
5980 (spi_desktop_add_application),
5981 (spi_desktop_remove_application),
5982 (abnormal_application_termination): impl.
5983 (impl_desktop_get_child_at_index): re-impl.
5986 (impl_accessibility_registry_deregister_application),
5987 (impl_accessibility_registry_register_application):
5988 kill excessive debug clutter.
5990 * test/test-simple.c (test_misc): test some NULL
5991 tolerance. (main): upd.
5993 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5994 implements no interfaces - so let's not crash.
5996 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5998 * libspi/accessible.c (spi_accessible_new_return): impl.
5999 helper to calm the cut and paste, to cope with
6000 NULL AtkObjects effectively and efficiently, and to kill
6001 the referencing bugs.
6003 * libspi/table.c (impl_getAccessibleAt),
6004 (impl_getRowHeader, impl_getColumnHeader): upd.
6006 * libspi/hyperlink.c (impl_getObject): upd.
6008 * libspi/accessible.c
6009 (impl_accessibility_accessible_get_child_at_index): upd.
6011 * libspi/component.c
6012 (impl_accessibility_component_get_accessible_at_point): upd.
6014 * test/test-simple.c (test_editable_text, test_text): impl.
6017 * cspi/spi_editabletext.c
6018 (AccessibleEditableText_insertText): constify.
6020 * test/test-simple.c (focus_me): make more robust.
6022 * libspi/accessible.c: remove some printfs in methods that
6023 we test and work fine, so we can get a clean tree dump.
6025 * test/test-simple.c (validate_accessible),
6026 (validate_tree): make tree dumping pretty too.
6028 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6029 it builds without debug on.
6031 * test/test-simple.c (validate_accessible): fix the most
6034 * cspi/spi_main.c (spi_object_release): leave the nicely
6035 blanked memory around if in debug mode.
6037 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6039 [committed to fixups2]
6040 2001-12-05 Michael Meeks <michael@ximian.com>
6042 * libspi/editabletext.c
6043 (spi_editable_text_class_init): g_type_class_peek_parent,
6044 not interface peek - so we finalize cleanly.
6046 * libspi/accessible.c (spi_accessible_new): kill debug.
6048 * test/test-simple.c (validate_accessible): fix ref.
6049 leak, print strings before freeing them; sigh, comment a
6050 chunk out due to strangeness.
6051 (validate_tree): unref the child after use.
6053 * cspi/spi_component.c (AccessibleComponent_getLayer):
6054 add missing break statement, switch on zlayer not the
6055 uninitialized retval.
6057 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6058 before (possibly re-entering) remote unref.
6060 * test/simple-at.c (main): unref the desktop.
6062 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6065 * cspi/spi_main.c (cspi_accessible_is_a): here to
6066 isolate bonobo API usage more.
6068 * libspi/registry.c (impl_accessibility_registry_register_application):
6069 prune bogus comment.
6071 2001-12-04 Michael Meeks <michael@ximian.com>
6073 * test/test-simple.c (validate_tree): upd.
6074 IndexInParent check to make it more lucid.
6075 (validate_accessible): dump the tree.
6077 * libspi/accessible.c (de_register_public_ref),
6078 (get_public_refs): impl.
6079 (spi_accessible_new): make more efficient & intuitive.
6080 Now IndexInParent check works.
6082 2001-12-04 Michael Meeks <michael@ximian.com>
6084 * cspi/spi-util.h: remove.
6086 * cspi/spi.h: move SPI_freeString here
6088 * libspi/component.c (impl_accessibility_component_get_layer):
6090 (impl_accessibility_component_get_mdi_z_order): ditto,
6091 return -1 on error - is this ok ?
6093 * test/test-simple.c (test_application): impl.
6095 * cspi/spi_accessible.c (Accessible_getApplication),
6096 (Accessible_isApplication): impl.
6098 * libspi/registry.c (spi_listener_struct_free): release
6099 the CORBA reference too.
6101 * libspi/accessible.c
6102 (impl_accessibility_accessible_get_parent): fix ref leak.
6104 * libspi/registry.c (spi_registry_new): make the registry
6105 immortal - we don't want it to go away ever.
6107 * libspi/application.c
6108 (spi_accessible_application_finalize): impl. cleanup.
6110 * cspi/spi_registry.c
6111 (deregisterGlobalEventListenerAll),
6112 (deregisterGlobalEventListener),
6113 (deregisterAccessibleKeystrokeListener): fix ref leak.
6115 * cspi/spi_main.c (SPI_init): remove redundant ref.
6117 * test/test-simple.c (unutterable_horror): impl. to force a
6122 (impl_accessibility_registry_deregister_application): release
6123 the application when we de-register it.
6125 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6126 until we have the infastructure to get it right.
6128 2001-12-03 Michael Meeks <michael@ximian.com>
6130 * libspi/Makefile.am: only build eventlistener.[ch]
6132 * libspi/accessible.c
6133 (impl_accessibility_accessible_get_child_at_index): don't leak.
6135 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6136 before we hit the idle handler.
6138 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6139 debugging than exit.
6141 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6143 * libspi/listener.c (impl_notify_event): check source
6144 not NIL before unref.
6146 * libspi/registry.c (impl_registry_notify_event): ditto.
6148 * libspi/eventlistener.c
6149 (impl_accessible_event_notify_event): unref the source.
6151 * libspi/accessibleeventlistener.c
6152 (impl_accessible_event_notify_event): unref the source.
6154 * idl/Event.idl: remove 'hash_id' attribute - of no
6157 * libspi/application.c (notify_listeners): upd list
6159 (spi_application_object_event_listener),
6160 (spi_application_toolkit_event_listener): upd to do correct
6164 (_registry_notify_listeners): update.
6165 (parse_event_type): this method also leaks like a sieve.
6166 (impl_accessibility_registry_deregister_global_event_listener):
6167 fix ETYPE_WINDOW case.
6169 * libspi/application.c
6170 (impl_accessibility_application_register_object_event_listener):
6173 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6175 * libspi/hypertext.c (impl_getLink): ditto.
6177 * cspi/spi_main.c (cspi_object_add): remove
6178 bogus CORBA_Object_duplicate.
6180 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6183 * cspi/spi_accessible.c
6184 (Accessible_getRelationSet): fix leak / referencing issue.
6186 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6187 (cspi_object_add, cspi_object_unref): upd.
6188 (spi_object_release, get_live_refs): impl.
6189 (cspi_cleanup): simplify.
6191 * *.[ch]: s/boolean/SpiBoolean/
6193 * cspi/spi_accessible.c (role_names): actualy order so it
6194 corresponds with the enum !
6196 * test/test-simple.c (test_roles): check some role strings
6197 vs. enums to detect offset errors.
6199 2001-12-01 Michael Meeks <michael@ximian.com>
6201 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6203 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6205 (Accessible_getChildAtIndex): use cspi_add_check so we
6206 check the ev before using a (possibly) invalid value.
6208 * libspi/accessible.c
6209 (impl_accessibility_accessible_get_parent): don't segv
6212 * at-bridge/bridge.c (gtk_module_init): upd.
6213 (bridge_property_event_listener): don't leak strings
6215 (bridge_state_event_listener),
6216 (bridge_property_event_listener): don't use a static
6217 buffer in case of recursive event emission &
6218 re-enterancy - split out the swathe of cut and paste
6220 (emit_eventv): and fix 2 ref leaks here & comply to the
6222 (bridge_register_app): rename to
6223 (bridge_idle_init): this and kill arg parsing, split
6224 various inits & bonobo-activation registration to module
6225 init time, kill referencing error.
6226 (bridge_exit_func): fix the same leak.
6227 (bridge_focus_tracker): don't leak event structures
6229 (bridge_signal_listener): more leakage and cut & paste
6231 (bridge_key_listener): return the result - FIXME is
6232 this polarity correct ?
6233 (accessibility_keystroke_from_atk_key_event): rename
6234 (accessibility_init_keystroke_from_atk_key_event): and stop
6236 (gtk_module_init): return a value - not that it is checked by
6238 (bridge_key_listener): register my horror at casting between
6239 IDL defined structs.
6240 (bridge_get_registry): kill - not used.
6242 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6244 * test/test-simple.c (test_roles): impl.
6245 (test_desktop, validate_accessible, validate_tree): impl.
6247 * cspi/spi_accessible.c (role_names): fixup bogus
6248 MAX_ROLES setup, make constants const for efficient linkage
6249 (AccessibleRole_getName): conform to coding style, make
6252 2001-11-30 Michael Meeks <michael@ximian.com>
6254 * cspi/spi.h: add missing prototype.
6256 * libspi/registry.c (spi_listener_struct_new): fix sig.
6258 * test/Makefile.am: add test-simple
6260 * test/test-simple.c: add
6262 * test/test.sh: add.
6264 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6266 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6267 do it straight - since otherwise we often get an activation race.
6269 [ work before Bill duplicated a chunk of it ... ]
6270 2001-11-30 Michael Meeks <michael@ximian.com>
6272 * libspi/keystrokelistener.c
6273 (spi_keystroke_listener_class_init): fixup arg
6276 * libspi/eventlistener.c
6277 (spi_event_listener_class_init): ditto.
6279 * tests/test.sh: add.
6281 * cspi/spi-listener-impl.h: update macros.
6283 * cspi/spi-listener-impl.c
6284 (cspi_event_listener_remove_callback): add
6285 correct pre-conditions.
6287 * cspi/spi_main.c (SPI_exit): guard vs. double
6288 exits, exit the mainloop nicely.
6289 (SPI_event_main): make more sense.
6290 (SPI_init): move the atexit evilness here so we
6291 always do it (yuck).
6292 (SPI_event_main): upd.
6294 * test/simple-at.c: update for listener changes.
6296 * registryd/registryd.c (main): prune kruft.
6298 * libspi/libspi.h: upd.
6300 * libspi/eventlistener.[ch]: rename broken macros.
6302 * libspi/accessibleeventlistener.[ch]: remove.
6304 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6306 * test/test-simple.c: Add - automated tests.
6308 * cspi/spi-listener-impl.c (cspi_event),
6309 (cspi_key_event): add user_data to invoke.
6310 (cspi_keystroke_listener_finalize): impl.
6311 (cspi_keystroke_listener_class_init): upd.
6314 (createAccessibleEventListener),
6315 (AccessibleEventListener_addCallback),
6316 (createAccessibleKeystrokeListener),
6317 (AccessibleKeystrokeListener_addCallback): upd.
6319 * libspi/deviceeventcontroller.c
6320 (spi_device_event_controller_check_key_event): add public proto.
6323 (impl_accessibility_registry_deregister_global_event_listener):
6324 always init listeners.
6325 (_registry_notify_listeners): yes it is.
6327 * cspi/spi-listener-impl.c (cspi_key_event):
6329 (cspi_event_listener_finalize): impl.
6330 (cspi_event_listener_class_init): hook up.
6331 (event_handler_new, event_handler_free),
6332 (event_list_remove_by_callback): impl.
6333 (cspi_event_listener_remove_callback),
6334 (cspi_keystroke_listener_remove_callback),
6335 (cspi_keystroke_listener_add_callback),
6336 (cspi_event_listener_add_callback): upd.
6338 * libspi/keystrokelistener.c
6339 (keystroke_listener_object_finalize): kill
6340 (spi_keystroke_listener_class_init): upd.
6341 (spi_keystroke_listener_add_callback),
6342 (spi_keystroke_listener_remove_callback): kill,
6344 (impl_key_event): prune drasticaly.
6346 * libspi/eventlistener.c
6347 (spi_event_listener_add_callback),
6348 (spi_event_listener_remove_callback): kill, use
6350 (impl_accessible_event_notify_event): upd.
6351 (spi_event_listener_object_finalize): remove.
6353 * libspi/Makefile.am: use eventlistener.[ch]
6355 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6357 * libspi/registry.c (_registry_notify_listeners):
6358 Changed listener loop iteration to use preferred convention.
6359 Got rid of string memory leaks caused be calling g_strconcat
6360 inside function calls.
6362 * libspi/registry.c (parse_event_type):
6363 Stopped g_strconcat memory leaks, free the g_strsplit return,
6364 g_strdup the split pieces when used, etc.
6366 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6369 Change method 'compare' to return a 'difference set' rather than
6370 taking a StateSet as an out parameter (more Java-friendly).
6372 * idl/Accessible.idl:
6373 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6375 * idl/Component.idl:
6377 Changed methods 'getExtents' and 'getImageExtents' in these
6378 interfaces to return a BoundingBox structure.
6379 (getPosition and getSize are redundant and possibly should be
6380 removed, rather than creating a corresponding Point struct.)
6382 * cspi/spi_component.c:
6383 Modify implementation of getExtents to reflect the above IDL
6388 Add (missing) AccessibleImage_getExtents () API.
6390 * docs/reference/cspi/at-spi-cspi-sections.txt:
6391 Added AccessibleImage_getImageExtents () to docs.
6393 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6395 * idl/Component.idl:
6396 Added two methods, getLayer () and getMDIZOrder (), to reflect
6397 the new ATK methods atk_object_get_layer and
6398 atk_object_get_mdi_z_order. (Which arguably should be part of the
6399 AtkComponent API and AtkObject). Also added an enum,
6400 ComponentLayer, for the first method's return value.
6402 * libspi/component.c:
6403 Added implementations for these methods.
6405 * cspi/spi_component.c:
6407 Added cspi binding methods for above,
6408 AccessibleComponent_getLayer() and
6409 AccessibleComponent_getMDIZOrder().
6410 Added cspi enum 'AccessibleComponentLayer'.
6412 * docs/reference/cspi/at-spi-cspi-sections.txt:
6413 Added above methods to docs.
6417 Changed typedef for 'boolean' type (and all references to it) to
6418 SPIBoolean, to avoid keyword clashes with C++.
6421 Changed usages of 'boolean' to SPIBoolean.
6423 * test/keysynth-demo.c:
6424 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6425 app), except where SPIBoolean is required by the callbacks API.
6427 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6429 * cspi/spi_registry.c:
6430 Removed obsolete X event loop for passive keygrabs (which now
6433 * registryd/registryd.c:
6434 Removed unnecessary call to gdk_init() [cruft]. This also allows
6435 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6438 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6440 * docs/reference/cspi:
6441 Included docs for SPI_freeString in generated documentation.
6444 Renamed spi_freeString to SPI_freeString, for consistency. Added
6445 documentation for this function.
6448 Renamed spi_freeString to SPI_freeString, for consistency.
6449 Removed obsolete method declaration string_from_corba_string.
6451 * test/keysynth-demo.c:
6452 Small tweak to comments.
6455 Stopped leaking the strings returned from CSPI.
6457 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6459 Merged Michael's branch (see his ChangeLog entries below).
6461 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6462 bridge is alive, release on exit.
6464 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6465 Fix type check macro.
6468 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6471 Added is_gnome_app static, and method cspi_is_gnome_app(),
6472 so we can call the appropriate shutdown routine at exit in SPI_exit.
6474 * cspi/spi_main.c (cspi_object_ref):
6475 Duplicate the corba object passed in, since we're keeping it around.
6477 * cspi/SPI_exit.c, cspi_cleanup:
6478 Moved the releasing of the live refs to its own function, so we
6479 can put it in g_atexit (). Call the appropriate shutdown API
6480 depending on whethe calling client is a gnome app or not
6481 (bonobo_main_quit or CORBA_ORB_shutdown).
6483 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6484 Unref the listener when this method is called, after
6485 deregistration. Updated the API docs to note this behavior.
6487 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6488 Bugfixes: Ref the bonobo object when returning a parent or child
6489 reference, or an AccessibleRelation. Generally made sure
6490 BonoboObject refcount is incremented whenever we return an
6493 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6494 Fixed typo/bug in signal declaration.
6496 * libspi/accessibleeventlistener.h:
6499 * libspi/application.c (spi_application_new):
6500 Fixed leak in initialization.
6503 Remembered to increment bonobo-object refcount when returning
6504 children (applications) from desktop object.
6505 Added (empty) finalize method.
6507 * libspi/deviceeventcontroller.c:
6508 Hold a ref to listeners inside DEControllerKeyListeners.
6509 Added dec_key_listener_free() method. Use prepend instead of
6510 append in key_listener list. Fixed some refcount madness and
6511 leaks in the listener registration/deregistration - deregistration
6512 now calls dec_key_listener_free() on listeners, and on the
6513 temporarily constructed dec_key_listener() used to perform the search/match.
6515 * libspi/hypertext.c (spi_hypertest_finalize):
6516 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6517 class. Also fixed spi_hypertext_interface_new() and
6518 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6520 * libspi/hypertext.h:
6521 Removed pointless and duplicate AtkObject pointer from
6524 * libspi/keystrokelistener.c:
6525 Fixed incorrect type of keystroke_listener_parent_class,
6526 renamed keystroke_listener_object_finalize to
6527 spi_keystroke_listener_object_finalize.
6528 Fixed typo in signal declaration
6529 (spi_keystroke_listener_class_init).
6531 * libspi/registry.c:
6532 Added funcsions spi_listener_struct_new() and
6533 spi_listener_struct_free() to help with memory management issues.
6534 We also now use these methods instead of gnew + poking stuff into
6535 the struct, and to decrement listener counts/free the listeners
6536 when deregistering them.
6537 Fix more refcount bugs in getDesktop() and
6538 getDeviceEventController().
6541 De-ref the desktop after enumerating the applications. Explicitly
6542 decrement the refcounts on the created listeners on exit (using
6543 _unref for keystroke listeners, and via the
6544 deregisterGlobalEventListenerAll command for other event
6547 2001-11-27 Michael Meeks <michael@ximian.com>
6549 * cspi/spi-listener.h: fixup enum.
6551 2001-11-27 Michael Meeks <michael@ximian.com>
6553 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6554 (cspi_keystroke_listener_new): Use the cspi variants.
6556 2001-11-26 Michael Meeks <michael@ximian.com>
6558 * test/keysynth-demo.c: fix 2 compile warnings, missing
6561 * test/simple-at.c (report_focussed_accessible),
6562 (report_focus_event, report_button_press),
6563 (check_property_change, is_command_key),
6564 (report_ordinary_key_event, report_command_key_event): upd.
6566 * util/mag_client.h: include pre-requisites.
6568 * libspi/accessibleeventlistener.c
6569 (spi_event_listener_object_finalize): free any lingering
6572 * libspi/keystrokelistener.c
6573 (keystroke_listener_object_finalize): ditto.
6575 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6576 callbacks, with cspi types.
6578 * cspi/spi_event.c (createAccessibleEventListener): chain to
6579 (AccessibleEventListener_addCallback): here.
6580 (createAccessibleKeystrokeListener): chain to
6581 (AccessibleKeystrokeListener_addCallback): here.
6583 * libspi/keystrokelistener.c
6584 (spi_keystroke_listener_class_init): add signal.
6585 (impl_key_event): emit the event.
6586 (boolean_handled_accumulator): impl.
6587 (marshal_BOOLEAN__POINTER): add, gack.
6589 * libspi/accessibleeventlistener.c
6590 (spi_event_listener_class_init): add signal.
6591 (impl_accessible_event_notify_event): emit the signal &
6592 make the loop efficient.
6593 (spi_event_listener_add_callback): prepend the callback.
6595 * libspi/accessibleeventlistener.h: add an 'event' signal,
6596 decl type on callback.
6598 * libspi/keystrokelistener.h: ditto.
6600 * cspi/spi-listener.h: make methods typesafe and
6601 make them use the new event typedefs.
6603 * test/simple-at.c (report_focussed_accessible):
6604 include mag_client.h
6605 Use *(void *)text_interface not the other thing.
6607 * configure.in: add gtk to registryd bits - since we use
6610 * util/magnifier.c: include libbonobo.h
6612 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6614 * test/keysynth-demo.c:
6615 Turned this into a simple scanning keyboard, to demonstrate the
6616 use of g_timeout_add () as a means of creating timers for
6617 scanning, and the use of GtkStyle for visually indicating when
6618 virtual keyboard elements are selected.
6620 keysynth-demo now listens to any keyboard keys with zero-valued
6621 keycodes (i.e. 'unused' keys) and interprets them as
6624 Reworked the shiftlatch code so that shift-down state isn't held
6625 for long periods (it's only synthesized immediately prior to
6626 the keysynth event it's modifying). Note that shiftlatch in this
6627 demo is a convenience, not intended to take the place of AccessX
6628 which is the better choice for getting 'sticky' modifier keys.
6630 * libspi/deviceeventcontroller.c:
6631 * at-bridge/bridge.c:
6632 * cspi/spi_registry.c:
6633 Removed some debug print stuff, and put other verbosity in #ifdef
6638 Implemented some more of the magnifier IDL for the simple
6639 magnifier: namely, getZoomRegionParams.
6640 Added mag_x and mag_y members to MagnifierData struct, aid of this
6642 Added GtkWindow::realize signal handler to magnifier, to keep it
6643 from receiving keyboard focus from the WM.
6645 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6647 * cspi/spi-private.h: my guess at what michael forgot
6648 before he ran off to NZ :-)
6650 2001-11-23 Michael Meeks <michael@ximian.com>
6652 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6653 comment out non existant method invoke so we link.
6655 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6656 use bonobo_exception_get_text for more friendly warnings.
6658 * cspi/spi.c (Obj_Add): move into spi_main & rename
6659 spi_object_add; kill spi.c
6661 * cspi/spi_registry.c
6662 (deregisterGlobalEventListener),
6663 (deregisterGlobalEventListenerAll),
6664 (registerGlobalEventListener): fix exception leaks.
6666 * cspi/spi_main.c (spi_exception): impl. helper, so we
6667 don't leak exceptions.
6669 * cspi/spi_selection.c
6670 (AccessibleSelection_deselectSelectedChild): return the
6673 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6674 (spi_registry): ditto.
6675 (SPI_init): guard against double inits.
6677 * cspi/*.c: use spi_ev (), and spi_registry () where
6678 appropriate - a temporary hack until we have something
6679 better. Use spi_object_add
6681 2001-11-22 Michael Meeks <michael@ximian.com>
6683 * cspi/Makefile.am: re organise, install the headers.
6685 * cspi/*.h: add G_BEGIN/END_DECLS
6687 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6690 Added non-preemptive keylistener for key events with no modifiers
6691 and shift-only modifier.
6693 * libspi/keystrokelistener.c:
6694 Removed some verbose diagnostics printout.
6696 * cspi/spi_registry.c:
6697 Fixed a bug that caused all key listeners to be registered as
6700 * libspi/deviceeventcontroller.c:
6701 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6702 for non-preemptive key masks.
6705 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6707 * docs/reference/idl/at-spi-idl-docs.sgml:
6708 * docs/reference/idl/at-spi-idl-sections.txt:
6709 * docs/reference/idl/at-spi-idl-overrides.txt:
6710 Added missing files.
6712 * docs/reference/Makefile.am:
6713 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6714 to scan the IDL files :-(
6719 Added .cvsignore files.
6721 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6723 * libspi/deviceeventcontroller.c:
6724 * libspi/keystrokelistener.c:
6726 * cspi/spi_registry.c:
6727 Added filters for KeySets, KeyEventSeq, and event types to key
6728 event dispatching, so listeners should only receive those events
6729 that they requested :-)
6731 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6736 * docs/reference:Makefile.am:
6737 * docs/reference/cspi:
6738 * docs/reference/cspi:Makefile.am:
6739 * docs/reference/cspi:tmpl:
6740 * docs/reference/cspi:tmpl:*.sgml:
6741 * docs/reference/idl:
6742 * docs/reference/idl:Makefile.am:
6743 * docs/reference/idl:at-spi-idl-sections.txt:
6744 * docs/reference/idl:at-spi-idl-docs.sgml:
6745 * docs/reference/idl:tmpl:
6746 * docs/reference/idl:tmpl:*.sgml:
6748 Restructured docs directory to allow separate 'reference' docs
6749 section, and forked idl and cspi docs. Added the sgml template
6750 files to CVS. Added the first sections/structural sgml for the
6753 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6755 * configure.in, libspi/Makefile.am: find libXtst.
6757 2001-11-21 Michael Meeks <michael@ximian.com>
6759 * test/accessx-gui.c: s/spi_value/value/ - doh.
6761 * libspi/base.[ch]: add.
6763 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6765 * idl/Accessible.idl:
6766 * idl/Application.idl:
6769 Started gtk-doc cleanup on IDL.
6771 * libspi/deviceeventcontroller.c:
6772 Added and connected non-preemptive key notification from the
6773 toolkits (in addition to the pre-emptive support from XServer
6774 which we had before, but which causes 'focus flashing'). Filters
6775 are presently limited to key modifiers and global/non-global,
6776 KeySets are presently ignored, as are KeyEvent masks.
6778 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6779 structs into the persistant structure rather than just storing
6780 pointers to things that might not persist across servant
6783 The XGrabKey call now does async keygrabs, because synchronous
6784 ones were deadlocking with GDK_event code in a very nasty way.
6786 Added boolean to internal method notify_keylisteners, to indicate
6787 whether the event came from the 'toolkit source' or the 'global
6788 (XServer) source' - this is used in the notification process to
6789 determine which listeners to send the event to.
6791 deviceeventcontroller.c is now warning-free.
6793 * libspi/registry.c:
6794 Fixed regression in application de-registration.
6795 Also fixed some really brain-dead weirdness having to do with
6796 event dispatching - event structs are now duplicated before being
6797 re-marshalled in the dispatch to listeners. This also fixes a
6798 Solaris build problem.
6801 2001-11-20 Michael Meeks <michael@ximian.com>
6804 (impl_accessibility_registry_deregister_global_event_listener):
6807 * libspi/deviceeventcontroller.c
6808 (spi_device_event_controller_check_key_event): return
6809 FALSE on no virtual method.
6811 * libspi/*..h: make includes work on a correctly pathed install.
6813 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6815 * libspi/application.h: kill unused ( and whacked out )
6816 gboolean *spi_application_set_id (AtkObject *app, long id);
6818 2001-11-20 Michael Meeks <michael@ximian.com>
6820 * libspi/*.[ch]: further convert to bonobo's type func
6821 macros, remove redundnant casts etc.
6823 * libspi/text.c s/accessibility_text/spi_text/g,
6824 re-order to de-cruft.
6826 * libspi/hypertext.c: re-order to kill a huge slew
6827 of redundant forward decls.
6829 * libspi/relation.c: ditto.
6831 * libspi/image.c: ditto.
6833 * */.cvsignore: update
6835 2001-11-20 Michael Meeks <michael@ximian.com>
6837 * libspi/deviceeventcontroller.c
6838 (_controller_register_with_devices): use g_getenv,
6839 kill stdlib.h include.
6841 * libspi/keystrokelistener.c
6842 (spi_keystroke_listener_get_type): kill
6843 (spi_keystroke_listener_class_init),
6844 (spi_keystroke_listener_init): rename to this.
6846 * libspi/text.c (impl_getAttributes): fix warning / bug.
6848 * libspi/*.[ch]: more headers, includes and over commenting.
6850 2001-11-20 Michael Meeks <michael@ximian.com>
6852 * libspi/*.[ch]: fixup headers, includes and over commenting.
6854 * libspi/image.c (impl__get_imageDescription): const
6855 correctness warning fix. remove redundant casting.
6857 * libspi/table.c (impl_getRowDescription): ditto.
6858 (impl_getColumnDescription): ditto.
6860 * libspi/libspi.h: add.
6862 2001-11-19 Michael Meeks <michael@ximian.com>
6864 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6866 * libspi/component.c (accessibility_component_get_type):
6867 rename to (spi_component_get_type): and macroify.
6868 (accessibility_component_init): rename to
6869 (spi_component_init): this
6870 (accessibility_component_class_init): rename to
6871 (spi_component_class_init): this
6873 * libspi/action.c (spi_action_get_type): kill, use the macro.
6875 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6878 * libspi/application.c (spi_application_object_event_listener),
6879 (impl_accessibility_application_register_object_event_listener):
6880 warning fixes / const understanding updates.
6882 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6885 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6887 * libspi/spi_accessible.c: Added docs and C bindings for
6888 AccessibleStateSet. (No implementations yet). Documentation
6889 coverage for C bindings now 100%. Made docs for event listeners
6894 boolean notifyListenersSync (in DeviceEventListener listener,
6895 in DeviceEvent event);
6897 oneway void notifyListenersAsync (in DeviceEventListener listener,
6898 in DeviceEvent event);
6900 Added DeviceEventListener and DeviceEvent structs (may deprecate
6901 KeyStroke and KeystrokeListener in favor of this generic
6902 event/listener framework for devices).
6904 * libspi/deviceeventcontroller.c:
6906 Changed some key listener code to take masks, etc., and paved the
6907 way for integration of toolkit/non-preemptive key events. Changed
6908 signatures of some internal methods.
6910 * at-bridge/bridge.c:
6911 Fixed regression connecting to interface signals, apparently
6912 caused by GTK+ changes.
6914 Added an internal bridge_state_listener to deal with
6915 property-change:accessible-state signals.
6917 Changed the key_listeners GList to store structs (including masks,
6918 etc.) instead of just CORBA_Objects (required for full
6919 implementation of key listener API).
6921 Connected the bridge to all currently supported Atk signals.
6922 Events now supported:
6923 object:property-change
6924 object:property-change:accessible-name
6925 object:property-change:accessible-state
6926 object:property-change:accessible-description
6927 object:property-change:accessible-parent
6928 object:property-change:accessible-value
6929 object:property-change:accessible-role
6930 object:property-change:accessible-table-caption
6931 object:property-change:accessible-table-column-description
6932 object:property-change:accessible-table-column-header
6933 object:property-change:accessible-table-row-description
6934 object:property-change:accessible-table-row-header
6935 object:property-change:accessible-table-summary
6936 object:children-changed
6937 object:visible-data-changed
6938 object:selection-changed
6939 object:text-selection-changed
6941 object:text-caret-moved
6943 object:row-reordered
6945 object:column-inserted
6946 object:column-reordered
6947 object:column-deleted
6948 object:model-changed
6950 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6952 * libspi/hyperlink.c,h:
6953 Fixed some broken stuff in hyperlink.
6955 * libspi/relation.h:
6956 * libspi/relation.c:
6957 * cspi/spi_accessible.c:
6958 Initial implementations of AccessibleRelation methods, and docs.
6960 * libspi/accessible.c:
6961 Fixed a bug that caused SEGV if an accessible
6962 object's description is NULL, and a client
6963 requests it. An empty string is now returned.
6965 * cspi/spi_editabletext.c:
6966 * cspi/spi_hypertext.c:
6968 * cspi/spi_hyperlink.c:
6972 Doc coverage now 95%.
6974 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6976 One last namespacing revision:
6977 * libspi/accessibleeventlistener.[ch]:
6978 Renamed SpiAccessibleEventListener to SpiEventListener,
6979 (no need for two namespaces ;-)
6981 And lots of documentation fixes:
6983 * docs/at-spi-docs.sgml:
6984 Fixed 'underscore vs. hyphen' bug that was preventing
6985 the gtk-doc API docs from being automatically generated.
6988 * cspi/spi-listener.h
6990 * cspi/spi_accessible.c
6992 * cspi/spi_application.c
6993 * cspi/spi_component.c
6994 * cspi/spi_editabletext.c
6996 * cspi/spi_hypertext.c
6998 * cspi/spi_registry.c
6999 * cspi/spi_selection.c
7003 * docs/at-spi-docs.sgml
7004 * docs/at-spi-sections.txt
7006 Added and fixed up gtk-doc documentation in cspi.
7008 Interfaces now (fully) documented (subject to revision and enhancement):
7010 Event Listener Support
7012 AccessibleApplication
7016 AccessibleEditableText
7023 AccessibleRelationSet
7028 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7030 * at-bridge/bridge.c:
7031 Initial work for toolkit-level key snooper connection by bridge.
7036 New typedefs and fixes to support new namespacing, and cleaner
7037 separation of cspi bindings from libspi bonobo implementation.
7038 Removed inconsistent and extraneous Spi* namespace prefix that
7039 had crept into cspi headers.
7040 Lots of comment fixes that sed had missed.
7042 * cspi/spi-roletypes.h:
7043 * cspi/spi-statetypes.h:
7044 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7045 to AccessibleRoleType.
7047 * libspi/accessibleeventlistener.h:
7048 Fixed minor namespacing weirdness.
7050 * libspi/deviceeventcontroller.c:
7051 Reordered some internal API for device listeners.
7052 Changed the key registry final boolean to 'is_system_global'
7053 rather than 'is_synchronous', which is more descriptive of its
7055 Added spi_device_event_controller_new().
7056 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7058 * libspi/keystrokelistener.[ch]:
7059 Namespaced KeystrokeListener to SpiKeystrokeListener.
7060 Changed uses of keymasks to use SPI_ prefix, and did other
7063 * libspi/keymasks.h:
7064 Namespaced keymask constants with SPI_ prefix.
7066 * libspi/registry.c:
7067 Some warning fixes, and knock-on fixes from namespace changes.
7070 Added rules for accessx-gui test program.
7072 * test/accessx-gui.c:
7073 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7074 utility. It doesn't actually use at-spi, but it's still cool and
7077 * test/keysynth-demo.c:
7081 Fixes so that these test clients work properly with the namespaced
7082 libraries. (Incompletely tested for technical reasons, fixes may follow)
7085 2001-11-13 Michael Meeks <michael@ximian.com>
7087 * libspi/application.c
7088 (impl_accessibility_application_get_version),
7089 (impl_accessibility_application_get_toolkit_name):
7091 (impl_accessibility_application_set_id),
7092 (impl_accessibility_application_get_id): remove
7093 redundant casting code.
7095 * libspi/action.c (impl_getDescription): fix warnings.
7097 * libspi/accessible.c
7098 (impl_accessibility_accessible_get_parent),
7099 (impl_accessibility_accessible_get_child_at_index),
7100 (impl_accessibility_accessible_get_state),
7101 (impl_accessibility_accessible_get_relation_set):
7102 warning fixes & include action.h
7104 2001-11-13 Michael Meeks <michael@ximian.com>
7106 * *.[ch] fix bits I screwed up:
7108 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7109 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7111 2001-11-13 Michael Meeks <michael@ximian.com>
7113 * *.[ch] Namespace libspi into spi_ and Spi.
7115 2001-13-11 Michael Meeks <michael@ximian.com>
7117 * Makefile.am: dist & install at-spi-1.0.pc
7119 * libspi/Makefile.am: install into at-spi-1.0
7121 * idl/Makefile.am (idldir): install into at-spi-1.0
7123 * at-spi-1.0.pc.in: add.
7125 * configure.in: build it.
7127 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7129 * test/keysynth-demo.c:
7130 Use a 'realize' signal-handler to set the WM properties for
7131 the virtual keyboard, rather than making it a "POPUP" type
7132 override-redirect window (thanks to anders carlsson for that
7135 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7138 * test/keysynth-demo.c:
7139 Added new test of key synthesis, which creates a simple
7140 (mouse-operated) onscreen keyboard. It inserts key events into
7141 the currently-focused window, thus it does not grab keyboard focus
7144 * cspi/spi_registry.c:
7145 Added C binding for AT-SPI generateKeyEvent.
7147 * libspi/deviceeventcontroller.c:
7148 Added call to XFilterEvent so that key listener works with XIM (we
7149 hope). Added event_synth_type to generateKeyEvent, so that we can
7150 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7151 synthesize a press/release pair for KeySyms.
7153 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7155 * libspi/Makefile.am:
7156 * registryd/Makefile.am:
7157 (temporary) hack to include libXtst in libspi and registryd.
7158 (Needed for keystroke synthesis, see below).
7161 Improved API for registerKeystrokeListener, in accordance with
7162 discussions with Gnopernicus team and X server research.
7164 * libspi/registry.c:
7165 * libspi/deviceeventcontroller.c:
7166 * libspi/accessible.c:
7167 * libspi/keystrokelistener.c:
7168 Changes and fixes to support keylisteners for potentially
7169 consumed key events (that is, 'passive grabs').
7170 Added implementation for generateKeyEvent() [untested].
7173 Changes to registerKeystrokeListener() API, as above.
7174 Added deregisterGlobalEventListenerAll(), and
7175 deregisterKeystrokeListener(), which are needed for clean exit of
7177 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7178 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7180 * cspi/spi_registry.c:
7181 Added implementations of function prototypes mentioned above.
7183 * registryd/registryd.c:
7184 Added the key listener event source as a g_timeout(), to allow
7185 receipt of key events that are not caught by GDK (since GDK
7186 doesn't support passive keygrabs, this was necessary).
7189 Changed to attach a keylistener to 'Alt' keys, and
7190 respond to the following keycommands: Alt-M (toggle magnifier);
7191 Alt-F (toggle speech); Alt-Q (quit).
7192 Added an exit routine to deregister the listeners, and a key
7193 listener that prints some key info to the console when a key
7194 matches the listener mask (and is thus received by the listener).
7196 * util/idl/Magnifier.idl:
7197 Changes to magnifier API to support multiple zoom regions,
7198 non-uniform scaling in x and y, markDirty, and a host of other
7199 features that would be useful to magnification.
7202 * util/mag_client.c:
7203 * util/mag_client.h:
7204 * util/mag_control.c:
7206 Source code changes to support the above IDL changes.
7209 As above, and also changes to use a (slower) generic conversion
7210 path for colormap conversions, since the fast RGB conversions have been
7211 reported to fail for 16-bit displays.
7213 2001-10-26 Michael Meeks <michael@ximian.com>
7215 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7217 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7219 * at-bridge/Makefile.am: fix LDFLAGS.
7221 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7223 * at-bridge/bridge.c:
7224 Re-worked listeners for toolkit events, now we have signal
7225 and property listeners. Added a private method
7226 register_atk_event_listeners(), which registers with the
7227 various atk and gtk signals we need to monitor in order to emit
7229 Added emission hook for AtkObject:property-change events, to
7230 support the 'property listeners'.
7231 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7234 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7235 which emit warnings and exit, respectively, if CORBA errors occur
7236 during remote calls, and we now use these methods to check most of
7237 our CORBA calls in the C bindings.
7239 * cspi/spi_accessible.c:
7240 Changed AccessibleSelection_refSelectedChild() to
7241 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7242 now increment refcounts.
7244 * cspi/spi_component.c:
7245 Fixed some long pointer casts (dangerous!) to pass pointers to
7246 CORBA_longs of the proper type to the CORBA stubs, and copy the
7247 data into the longs that were passed into the C bindings code.
7249 * at-bridge/bridge.c:
7251 * libspi/accessible.c:
7252 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7253 hyperlinks, AtkHyperlink is an object type.
7255 * libspi/application.c:
7256 Added various conversions to and from "generic" event types and
7257 atk-specific types; this is really part of the 'bridge'
7258 implementation but is valid for all AtkObject-based accessibility
7261 * libspi/editabletext.c:
7262 Fixed nasty bug wherein editable text's finalize method was
7263 unref'ing tha AtkObject reference that the text parent class was
7264 about to unref _again_. There was also a nasty inheritance bug
7265 that meant that the AccessibleEditableText class was corrupt.
7267 * libspi/selection.c:
7268 Provided implementations for some selection API that was broken.
7270 * idl/Application.idl:
7271 Added registerObjectEventListener () method.
7274 Fixed a number of return values that were Bonobo_Unknowns from
7275 bonobo_object_corba_objref(), which I
7276 forgot to dup before returning. Changed instances of
7277 bonobo_object_corba_objref (bonobo_object(o)) to
7278 BONOBO_OBJREF(o), for concision and clarity.
7280 2001-10-13 Louise Miller <louise.miller@sun.com>
7282 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7283 idl/Event.idl, idl/Registry.idl
7284 Changed these files to include Bonobo_Unknown.idl instead
7287 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7289 * libspi/component.c libspi/component.h:
7290 Fixed typo. Added assertions for object checks in
7291 AccessibleComponent code.
7293 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7295 * idl/Accessible.idl:
7296 Added 'isEqual (Accessible *object)'
7297 method for Accessible. (Not Yet Implemented).
7300 Changed signature of registerKeystrokeListener() to
7301 take a KeySet and KeyEventSeq so that specific keys and event
7302 types could be requested for monitoring, and added a flag
7303 is_synchronous so that either synchronous or asynchronous
7304 notification could be requested. (However this is not all
7305 implemented yet). This also meant adding two new typedefs,
7306 KeyEventSeq and KeySet.
7309 Added two new relations, RELATION_TOOLTIP_FOR and
7310 RELATION_LEAFNODE_OF.
7313 Added new state, STATE_HAS_TOOLTIP.
7315 * libspi/text.c, editabletext.c:
7316 Added new assertions to all casts of bonobo-objects from
7317 CORBA servants, to prevent Text API calls on non-text objects.
7318 Changed suspect casts of int-pointer types, so that we
7319 always send a valid CORBA_long pointer to the CORBA APIs that use
7320 in/out long parameters. We then have to copy from the CORBA_long
7321 into the regular long or int for return to the C bindings, or
7322 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7325 * libspi/deviceeventcontroller.c:
7326 Cleaned these sources up.
7328 Changed return type for getCharacterAtOffset to
7329 CORBA_unsigned_long, to allow for 32-bit characters.
7332 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7336 Fixed 'make dist' so that distro compiles...
7337 * libspi/keymasks.h:
7339 * cspi/spi-listener.c:
7340 KeystrokeListenerCB now returns a boolean.
7342 Added KeyEventType struct, and KeyStroke.
7343 Also added createKeystrokeListener(),
7344 KeystrokeListener_addCallback(),
7345 KeystrokeListener_removeCallback(), and added a keymask to
7346 registerKeystrokeListener().
7347 * cspi/spi_accessible.c:
7348 Changed numerous return types for interfaces from
7349 AccessibleComponent to Accessible<InterfaceName>; this was
7350 probably a cut-and-paste error.
7352 Implementations of new KeystrokeListener api (from spi.h,
7355 Changes to key modifier mapping.
7356 Created ControllerEventMask struct.
7357 Made DeviceEventController derive from Bonobo::Unknown.
7359 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7360 * libspi/deviceeventcontroller.c:
7361 Added a number of new internal (private) methods.
7362 * libspi/editabletext.c:
7363 * libspi/editabletext.h:
7364 Fixed a number of bugs related to the fact that
7365 editabletext inherits from text. Fixed the EditableText struct,
7366 the init() call, and use correct casts when calling Text methods
7367 from an EditableText object. Removed (duplicate) atko from the
7368 EditableText structure, we use the one in the parent Text
7369 structure via the casts mentioned above.
7370 * libspi/keystrokelistener.[ch]:
7371 * libspi/registry.c:
7372 Changes in support of keyboard handling (above).
7374 Keyboard handling, though partly functional, is still not
7375 recommended for at-spi client use as there is considerable
7376 work yet to be done.
7379 Changed some places where pointers to various int types
7380 are cast to be pointers to CORBA_long types and vice-versa:
7381 pointer casting is not safe so we pass pointers of the correct
7382 types and then cast the result before putting it into the target
7385 * libspi/text.h: minor typos corrected.
7387 We now speak not only the name of a Text element, but the
7388 first sentence of its content, when it receives focus.
7389 I also changed the text compression to 75% from 50%.
7390 * util/Accessibility_Util.server.in:
7391 Changed the default magnifier type to be a 3x vertical
7392 splitscreen magnifier (was previously a 2x horizontal one).
7394 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7396 * libspi/keystrokelistener.h:
7397 * libspi/keystrokelistener.c:
7398 Initial functional implementations of KeystrokeListener.
7401 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7403 Fixed string handling for NULL strings in libspi.
7404 Added spi_freeString to free strings returned by C bindings.
7406 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7408 * libspi/keystrokelistener.h:
7409 * libspi/keystrokelistener.c:
7410 Began (no-op) implementations of KeystrokeListener
7412 * libspi/deviceeventcontroller.c:
7413 * libspi/deviceeventcontroller.h:
7414 Began creating implementations of DeviceEventController,
7415 to handle keystroke and mouse event listening and
7417 * libspi/accessible.c:
7418 Stubbed-in the implementations for
7419 Accessibility_Accessible_getState and
7420 Accessibility_Accessible_getRelationSet.
7421 * libspi/registry.c:
7422 Improved de-registration process and fixed some bugs,
7423 deregistration now works correctly.
7425 Added initialization of applications list (to NULL).
7427 Reduced speech compression from 0.5 to 0.7, for demo.
7428 Changed call to gdk_window_set_decorations()
7429 to gtk_window_set_decorated().
7430 * at-bridge/bridge.c:
7431 Bridge now deregisters when app exits, via
7432 registration of a cleanup function
7433 with the g_atexit() call.
7434 Required making 'app' static, renamed 'this_app'.
7435 Fixed broken use of bonobo_init, passing argv wrongly.
7437 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7441 Created a new directory for
7442 accessibility-related utilities, primarily for
7443 testing and demo purposes, but with possible
7450 Onscreen magnifier utility that
7451 is implemented as a bonobo service.
7453 * util/mag_client.c:
7454 * util/mag_client.h:
7455 Client-side support (simple C bindings)
7456 for Magnification service
7458 * util/mag_control.c:
7459 Client program example for
7460 Magnification service
7462 * util/Accessibility_Magnifier.server.in:
7463 Bonobo-activation file for the
7464 Magnification service.
7467 * util/idl/Magnifier.idl:
7468 IDL defining the bonobo Magnification
7472 Modifications to use the bonobo-activated magnifier
7473 above, in place of trying to connect to an existing
7474 magnifier that uses socket-listening IPC.
7476 If env variable MAGNIFIER is set, a magnifier service
7477 will be started if one does not exist.
7479 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7481 * at-bridge/bridge.c:
7482 applied patch from Marc to build and run
7483 against new glib and gtk+ (seemed like a change
7484 to bonobo_init signature was made ?)
7486 made festival-server support turned off by default.
7487 Added support for a simple magnifier (off by default)
7488 which will be added to a 'util' directory later.
7489 * at-bridge/Makefile.am:
7490 Changed "application.h" header from a 'source'
7491 to a 'dependency' of libat-bridge.
7493 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7502 Added interface implementation c files to list of
7503 includes so they are included in libcspi.
7506 Changed prototype of AccessibleAction_doAction to return a
7508 Changed prototype of AccessibleTable_getCaption to
7509 return an Accessible.
7510 Changed prototype of AccessibleTable_getSelectedRows
7511 and AccessibleTable_getSelectedColumns to
7512 return a long (returns the number of selected rows
7513 or columns respectively).
7514 Changed name of AccessibleText_refRunAttributes to
7515 AccessibleText_getAttributes.
7516 Changed prototype of AccessibleText_getCharacterExtents to
7517 return a void rather than a boolean.
7518 Added support for a AccessibleCoordType parameter
7519 specifying what type of coordinates are desired.
7520 Added an AccessibleCordType parameter to
7521 AccessibleText_getPointAtOffset.
7523 * cspi/spi_accessible.c:
7524 Added code to return the outstanding interfaces from
7525 Accessible_queryInterface.
7527 * cspi/spi_action.c:
7529 Corrected call to getNActions to call the c binding
7532 * cspi/spi_editabletext.c:
7534 Changed name from setRunAttributes to setAttributes.
7536 * cspi/spi_hyperlink.c:
7538 Changed call to getNAnchors to correctly call the c
7539 binding for an attribute.
7541 * cspi/spi_hypertext.c:
7543 Changed getImageDescription to correctly call the
7544 binding for an attribute.
7546 * cspi/spi_selection.c:
7547 Changed getNSelectedChildren to correctly call the c
7548 binding for the attribute.
7549 Changed refSelectedChild to getSelectedChild.
7553 Changed getCaption to return an Accessible.
7554 Fixed calls which retrieve attributes.
7555 Changed refAt to getAccessibleAt.
7556 Changed getNSelectedRows and getNSelectedColumns to
7560 Changed getCharacterExtents and getPointAtOffset to accept an
7561 AccessibleCoordType.
7563 Changed calls which retrieve attributes.
7564 Changed refRunAttributes to getAttributes.
7569 * idl/Hyperlink.idl:
7570 Changed n_anchors attribute to nAnchors to keep naming
7571 convention consistent.
7574 Made Table inherit from Bonobo::Unknown.
7575 Added nSelectedColumns and nSelectedRows attributes.
7578 Made Value inherit from Bonobo::Unknown.
7580 * libspi/hyperlink.c:
7581 Change for nAnchors attributte name change.
7583 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7591 Added interface implementation c files to list of
7592 includes so they are included in libcspi.
7595 Changed prototype of AccessibleAction_doAction to return a
7597 Changed prototype of AccessibleTable_getCaption to
7598 return an Accessible.
7599 Changed prototype of AccessibleTable_getSelectedRows
7600 and AccessibleTable_getSelectedColumns to
7601 return a long (returns the number of selected rows
7602 or columns respectively).
7603 Changed name of AccessibleText_refRunAttributes to
7604 AccessibleText_getAttributes.
7605 Changed prototype of AccessibleText_getCharacterExtents to
7606 return a void rather than a boolean.
7607 Added support for a AccessibleCoordType parameter
7608 specifying what type of coordinates are desired.
7609 Added an AccessibleCordType parameter to
7610 AccessibleText_getPointAtOffset.
7612 * cspi/spi_accessible.c:
7613 Added code to return the outstanding interfaces from
7614 Accessible_queryInterface.
7616 * cspi/spi_action.c:
7618 Corrected call to getNActions to call the c binding
7621 * cspi/spi_editabletext.c:
7623 Changed name from setRunAttributes to setAttributes.
7625 * cspi/spi_hyperlink.c:
7627 Changed call to getNAnchors to correctly call the c
7628 binding for an attribute.
7630 * cspi/spi_hypertext.c:
7632 Changed getImageDescription to correctly call the
7633 binding for an attribute.
7635 * cspi/spi_selection.c:
7636 Changed getNSelectedChildren to correctly call the c
7637 binding for the attribute.
7638 Changed refSelectedChild to getSelectedChild.
7642 Changed getCaption to return an Accessible.
7643 Fixed calls which retrieve attributes.
7644 Changed refAt to getAccessibleAt.
7645 Changed getNSelectedRows and getNSelectedColumns to
7649 Changed getCharacterExtents and getPointAtOffset to accept an
7650 AccessibleCoordType.
7652 Changed calls which retrieve attributes.
7653 Changed refRunAttributes to getAttributes.
7658 * idl/Hyperlink.idl:
7659 Changed n_anchors attribute to nAnchors to keep naming
7660 convention consistent.
7663 Made Table inherit from Bonobo::Unknown.
7664 Added nSelectedColumns and nSelectedRows attributes.
7667 Made Value inherit from Bonobo::Unknown.
7669 * libspi/hyperlink.c:
7670 Change for nAnchors attributte name change.
7673 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7675 implementations-- made server implementations own AtkObject pointers
7676 rather than their respective AtkInterrface pointers to fix
7677 refcounting. AtkHyperlink is still broken.
7679 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7680 * cspi/spi_accessible.c:
7681 Added method Accessible_Role_getName(),
7682 and requisite string array (role_names).
7683 Added conversion string_from_corba_strin() call
7684 to Accessible_getName and _getDescription.
7685 * libspi/accessible.c:
7686 Added implementation for Accessible_getRole()
7688 Added festival support, used if environment variable
7691 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7693 * at-bridge/bridge.c:
7694 Now allocate Accessibility_Event using
7695 Accessibility_Event__alloc() instead of g_new0().
7696 * libspi/accessibleeventlistener.c:
7697 Initialize AccessibleEventListener->callbacks to NULL.
7698 Fixed accessible__event_listener_init() param, changed to
7699 "AccessibleEventListener *" type.
7700 Changed a bonobo_object_release_unref() call to
7701 Accessibility_Accessible_unref().
7702 * libspi/listener.c:
7703 Changed Bonobo_Unknown_unref to (equivalent)
7704 Accessibility_Accessible_unref.
7705 * libspi/registry.c:
7706 Changed bonobo_object_release_unref to
7707 Accessibility_Accessible_unref.
7709 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7712 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7713 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7714 spi-util.c spi-util.h
7715 Implementations for C bindings to remaining accessibility
7718 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7721 changed return value of Action from void to boolean to
7722 bring in line with ATK.
7725 Changed getText funcions to return "out" start and end offsets.
7726 Changed getAttributes to take and offset and return the start
7727 and end offset of the attribute run.
7728 Changed getOffsetAtPoint and getCharacterExtents to take an
7729 enum describing whether coordinates are window or screen.
7732 libspi/action.c libspi/action.h libspi/editabletext.c
7733 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7734 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7735 libspi/image.h libspi/selection.c libspi/selection.h
7736 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7737 libspi/value.c libspi/value.h
7738 Added server implementations for outstanding ATK interfaces
7739 not yet implemented.
7741 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7744 Added (missing) getName() method.
7745 Made nActions an attribute.
7746 * idl/EditableText.idl:
7747 Changed order of params in setAttributes.
7748 * idl/Hyperlink.idl:
7749 Removed getAnchor, added getURI.
7751 Changed attributes to methods, for efficiency
7752 (so that getting extents can be done in one call)
7753 * idl/Selection.idl:
7754 Changed nSelectedChildren to attribute, and re-indented.
7755 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7757 * idl/Text.idl: reformatted to match our coding style.
7758 (temporarily?) removed getRowColumnAtOffset().
7759 Changed text selection API to support multi-select and
7760 non-contiguous selections, as in ATK.
7761 * idl/Value.idl: changed some methods to attributes.
7763 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7765 * libspi/listener.c(impl_notify_event):
7766 BonoboUnkown_unref the source instead
7767 of bonobo_object_release_unref - the ORB
7768 handles the releasing.
7770 * configure.in: require ORBit-2.3.94 for
7773 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7775 Tagged CVS repository 'EA_1_0'.
7776 * README.EARLY_ACCESS:
7777 Alphabetized acknowledgements list, and
7779 Listed some known dependencies of at-spi.
7781 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7783 * docs/at-spi-docs.sgml:
7784 * docs/at-spi-sections.txt:
7785 * docs/at-spi-overrides.txt: (Added zero-length file)
7786 Documentation improvements - gtk-doc should build
7787 docs for all implemented C bindings now.
7790 * cspi/spi.c: (New file)
7791 * cspi/spi_event.c: (New file)
7792 * cspi/spi_registry.c: (New file)
7793 * cspi/spi_accessible.c: (New file)
7794 * cspi/spi_application.c: (New file)
7795 * cspi/spi_component.c: (New file)
7796 Split spi_main.c into six parts, and included them from
7797 "spi.c". This is a bit of a hack, probably temporary,
7798 but required by gtk-doc, apparently.
7800 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7803 * docs/at-spi-docs.sgml:
7804 * docs/at-spi-sections.txt:
7806 Initial checkins/modifications for gtk-doc generation.
7809 Added (missing) interface query methods to Accessible's C binding.
7811 Added GenericInterface type definition.
7813 Added query for AccessibleComponent interface to focus event handler.
7814 Added printout of bounding box for focussed component.
7815 * libspi/component.c:
7816 Added partial implementation for AccessibleComponent to C binding.
7817 * idl/Application.idl:
7818 * libspi/registry.c:
7819 * libspi/listener.c:
7820 * libspi/application.c:
7821 * libspi/application.h:
7822 Changed "ID" attribute type from string to long.
7824 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7828 Made method naming consistent: methods taking object args
7829 start with uppercase, other methods (except those using
7830 acronyms) start with lowercase. Underscores delimit between
7831 object names and method names:
7832 SPI_init() - uppercase since it starts with an acronym.
7833 getDesktopCount () - lowercase start since no object param0.
7834 Accessible_getName() - uppercase object type name, studlyCaps method
7838 Added gtk-doc documentation for all currently implemented
7839 methods in the C bindings API.
7841 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7843 * Makefile.am : changed build order to build test last.
7846 Changed "createEventListener" to "CreateEventListener".
7847 * libspi/accessibleeventlistener.c :
7848 Bugfix for addition of callbacks.
7849 * test/Makefile.am :
7850 * test/simple-at.c :
7851 Added new test that uses the C bindings API.
7853 * libspi/listener.c :
7854 * libspi/registry.c :
7855 * libspi/accessibleeventlistener.c :
7856 * at-bridge/bridge.c :
7857 Renamed member "target" of Accessibility_Event to "source",
7858 which is more descriptive.
7861 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7865 * cspi/Makefile.am :
7866 Added makefile support for at-spi/cspi directory.
7869 * cspi/spi-listener.h : (NEW FILE)
7870 Added support for/use of spi-listener.h.
7872 C bindings now build successfully, with no warnings.
7873 * libspi/accessibleeventlistener.h : (NEW FILE)
7874 * libspi/accessibleeventlistener.c : (NEW FILE)
7875 * libspi/Makefile.am :
7876 Added new object type "AccessibleEventListener"
7877 which inherits from Listener, and allows attachment
7878 of in-process callbacks (so that a client with a listening
7879 object instance can add functionality to the local
7880 implementation, dynamically).
7882 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7884 * libspi/accessible.c:
7885 Add implementation for get_index_in_parent().
7887 Added #include of "spi-roletypes.h", and
7888 added enumerated type AccessibleCoordType.
7889 Added definition for KeystrokeListener (function type).
7892 * cspi/spi-statetypes.h :
7893 * cspi/spi-roletypes.h :
7895 Added these headers, used by spi.h.
7897 Added code (NOTE: not yet built by make).
7899 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7901 * libspi/Makefile.am: generate imodule
7902 at the same time as other idl compiler
7905 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7906 * libspi/registry.c :
7907 * libspi/application.c :
7908 * idl/Application.idl :
7909 Made registration with toolkit an application method,
7910 which is required since each app has its own toolkit static
7911 environment. Thus the bridge must register for
7912 notification of toolkit events from each application in turn.
7913 Toolkit notifications are now successfully registered for, and
7914 sent to the listening at client.
7916 Changed toolkit event string to use hyphens rather than underscores.
7917 * libspi/listener.c :
7918 listner now gives more info in debug mode - it reports the
7919 name of the event received, as well as the name of the source.
7922 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7924 * libspi/registry.c :
7925 added more implementation for toolkit events.
7926 Fixed bug such that toolkit event registrations
7927 (via atk) use the whole event name string, not
7929 Removed a useless call to an ORBit_ method.
7930 * at-bridge/bridge.c :
7931 Removed unused local sbuf[] variable.
7933 We now register for Gtk:GtkWidget:button_press_event
7934 events as well as "focus:" events.
7936 Add some more API from Registry.idl that was missing,
7937 for keystroke listening, keystroke and mouse event
7938 synthesis, and enumeration of accessible desktops.
7940 2001-08-16 Michael Meeks <michael@ximian.com>
7942 * configure.in: use AM_GLIB_GNU_GETTEXT.
7944 * Makefile.am (SUBDIRS): kill intl.
7946 2001-08-15 Michael Meeks <michael@ximian.com>
7948 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7950 * configure.in: upd.
7952 * configure.in: depend on a recent bonobo-activation that
7953 will find our server files ...
7955 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7957 * libspi/accessible.c : accessible_new() :
7958 Now we add the Component interface via bonobo_object_add_interface,
7959 if the contained AtkObject implements AtkComponent.
7960 * libspi/accessible.h : now include "component.h"
7961 * libspi/component.h :
7962 * libspi/component.c : added files - implementation of
7963 bonobo wrapper object for Accessibility/Component
7964 * libspi/listener.c :
7965 Added test code to check for Accessibility/Component:1.0
7966 interface and report whether it is implemented by the
7968 * libspi/registry.c :
7969 Now we check for not only the hash of the whole event
7970 string before relaying the event, we also check the
7971 "minor" event string (without the detail string).
7972 This allows event listeners to be registered against
7973 all events of a certain major+minor type, or just
7974 against a specific major+minor+detail type.
7975 * libspi/accessible.c :
7976 Added implementations for Accessible:get_parent(),
7977 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7978 * libspi/registry.c :
7979 * libspi/listener.c :
7980 Replaced calls to Accessibility_Accessible_ref() and
7981 Accessibility_Accessible_unref() with
7982 calls to bonobo_object_dup_ref() and
7983 bonobo_object_release_unref(), so that the CORBA object
7984 is dup-ed and released when relayed, as well as the bonobo object.
7986 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7988 * libspi/Makefile.am,
7989 registryd/Makefile.am,
7990 at-bridge/Makefile.am.
7991 test/Makefile.am, configure.in:
7992 reverse previous changes.
7994 * /idl/Image.idl: fix typo.
7996 * test/Makefile.am: put DEBUG_FLAGS
7999 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8001 * test/app.c: use argv[0] instead of
8004 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8006 * libspi/Makefile.am,
8007 registryd/Makefile.am,
8008 at-bridge/Makefile.am.
8009 test/Makefile.am, configure.in:
8010 cleanup, replace individual LIBS/CFLAGS with
8011 AT_COMMON_{LIBS|CFLAGS}.
8015 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8017 * configure.in, libspi/Makefile.am:
8018 Change IDL path checking for bonobo-activation
8021 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8023 * registryd/registry.c : separated event listeners to use
8024 3 separate lists (focus, window, toolkit). Began testing
8025 event names against hashes before relaying events.
8026 * test/at.c : now register for events of type "focus:"
8027 * test/app.c : now generate events of type "focus:"
8028 * at-bridge/bridge.c : register with ATK for focus events,
8029 and we now relay those focus events to any "focus:" listeners.
8030 This now works with the bridge as a GTK_MODULE when running test/at.
8031 * libspi/registry.c :
8032 * libspi/listener.c :
8033 now we ref event sources before propagating, and unref on receipt.
8034 * libspi/registry.c :
8035 some changes to internal structs, to support event typestring hashes.
8036 * text/app.c : changed the way the appname is generated.
8037 * cspi : added directory that will hold the C bindings library for
8038 non-CORBA/bonobo-savvy clients.
8039 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8040 * idl/Component.idl : added in parameter to indicate coord system for
8041 geometry-related calls.
8042 * idl/Hyperlink.idl : added readonly n_links attribute
8043 * idl/Image.idl : changed methods to attributes.
8045 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8047 * at-bridge/Makefile.am: link against
8048 ../libspi/libspi.la instead of -lspi.
8050 * at-spi/test/app.c: include
8051 bonobo-activation.h. Use a default appname
8052 if one is not provided.
8054 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8056 * idl/Registry.idl : temporarily changed register_Application
8057 to oneway, to work around issue with initial registration
8059 * idl/Application.idl : changed attribute "id" from readonly
8060 to read-write, since it needs to be assigned by Registry.
8061 * registryd/registryd.c : added call to set application id
8063 * registryd/registry.c : changed de-registration procedure to
8064 use CORBA_Object_hash() to find matching object ref in application
8065 lists and listener lists.
8066 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8067 began distinguishing between event types (work in progress).
8069 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8072 * libspi/application.c:
8073 Added implementations for get/set id, get_toolkitName,
8075 * registryd/registryd.c :
8079 Converted from use of OAF to bonobo-activation.
8080 * libspi/desktop.h :
8081 * libspi/desktop.c :
8083 Removed references to atksimpleobject, since base atkobject
8084 implementation now provides functionality we need.
8085 * libspi/atksimpleobject.c :
8086 * libspi/atksimpleobject.h :
8091 * at-bridge/Makefile.am
8092 * at-bridge/bridge.c
8095 Added directory "bridge" and contents, and added dependencies
8096 in Makefile.am/configure.in.
8097 Initial checkin of "at-bridge".
8098 This code is a GTK_MODULE which automatically registers
8099 GTK+ apps with the accessibility registry, using an object
8100 reference to the root ATK object.
8102 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8104 * po/Makefile.in.in: Remove. Again. If this
8105 doesn't get autogenerated - you need to update
8108 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8110 * po/Makefile.in.in: Add. Again.
8112 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8114 * libspi/accessible.c : added support for 'description' property.
8115 * libspi/accessible.c
8117 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8118 (since the two are now equivalent in libbonobo)
8126 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8127 Bonobo::Unknown as does Accessibility::Accessible.
8128 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8129 interface with Bonobo::Stream, since it was redundant with it.
8130 (The Stream returned by a StreamableContext object is expected to
8131 implement only a subset of Bonobo::Stream)
8133 2001-07-28 Anders Carlsson <andersca@gnome.org>
8135 * libspi/accessible.c (accessible_object_finalize): Change
8136 g_free to g_object_unref since the AtkObject is a GObject.
8138 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8140 * idl/Accessibility.idl: add new IDL files
8143 * idl/Action.idl: Definitions of actionable UI object
8144 * idl/Component.idl: Definitions of UI component geometry, etc.
8145 * idl/Hyperlink.idl: Defs of hyperlink behavior
8146 * idl/Image.idl: Def of accessible image
8147 * idl/Selection.idl: Definition of UI object with selectable children
8148 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8149 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8150 * idl/Text.idl: Interface defs for UI elements with complex textual content
8151 * idl/Value.idl: Definition of UI element that is a value controller or display
8153 2001-07-27 Michael Meeks <michael@ximian.com>
8155 * po/Makefile.in.in: remove autogenerated file from CVS.
8157 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8160 * idl/Registry.idl: include guard.
8162 * idl/Accessibility.idl: Add, and include all the other IDL
8165 * idl/*.idl: remove mass of pragmas etc.
8167 2001-07-26 Michael Meeks <michael@ximian.com>
8169 * registryd/Makefile.am (registryd_SOURCES): remove
8172 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8174 * libspi/.cvsignore, registryd/.cvsignore,
8175 test/.cvsignore: updated.
8177 * po/Makefile.in.in: gettext update.
8179 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8181 * initial CVS checkin
8183 2001-06-29 Michael Meeks <michael@ximian.com>
8185 * configure.in: add AM_CONFIG_HEADER to gen config.h