1 2007-02-12 Li Yuan <li.yuan@sun.com>
4 (atk_bridge_init): bug #400709. we must emit events even if we are not
5 registered as a full-fledged app.
6 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
7 application like openoffice shutdown. They need to unload gtk before
8 the is spi_atk_bridge_exit_func called.
10 2007-01-22 Li Yuan <li.yuan@sun.com>
12 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
14 2007-01-22 Li Yuan <li.yuan@sun.com>
16 * cspi/bonobo/cspi-bonobo.c:
17 (cspi_get_registry_ior), (cspi_init):
18 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
20 2007-01-19 Li Yuan <li.yuan@sun.com>
22 * atk-bridge/bridge.c:
23 (atk_bridge_init), (spi_atk_bridge_register_application),
24 (deregister_application), (spi_atk_bridge_focus_tracker),
25 (spi_atk_emit_eventv):
26 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
29 2007-01-08 Li Yuan <li.yuan@sun.com>
31 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
33 2007-01-08 Li Yuan <li.yuan@sun.com>
35 * registryd/registry-main.c:
36 (main): set registry ior only when register server successfully.
37 * atk-bridge/bridge.c:
38 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
39 Bug #372988, #381670. Fix memory leak.
41 2007-01-02 Bill Haneman <billh@gnome.org>
44 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
45 appending default attributes to a text attribute set.
48 2006-12-28 Li Yuan <li.yuan@sun.com>
50 * atk-bridge/bridge.c:
51 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
52 the second time, because spi_atk_emit_eventv will free any. Bug
55 2006-12-15 Li Yuan <li.yuan@sun.com>
57 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
59 2006-12-14 Li Yuan <li.yuan@sun.com>
62 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
63 (spi_atk_bridge_property_event_listener),
64 (spi_atk_bridge_signal_listener):
65 Free some CORBA objects to fix memory leak and crash.
67 2006-12-13 Li Yuan <li.yuan@sun.com>
69 Patch from Ariel Rios to fix #163132 and #377079.
70 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
71 (spi_atk_bridge_get_registry_ior):
72 Use g_warning instead of g_error and g_critical to avoid crash.
74 2006-12-11 Bill Haneman <bill.haneman@sun.com>
77 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
78 if there are no non-default attributes defined at the current offset.
81 2006-12-04 Bill Haneman <bill.haneman@sun.com>
83 * idl/Accessibility_Role.idl: Fixed the documentation for
84 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
86 2006-12-04 Bill Haneman <bill.haneman@sun.com>
88 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
90 2006-11-07 Bill Haneman <bill.haneman@sun.com>
92 Patches from Padraig O'Briain for bugs #361386 and #369377.
94 * registryd/registry.c:
95 (struct NotifyContext): Change the e_out
96 member from an Accessibility_Event struct to a pointer to
98 (notify_listeners_cb): Modify to use the new struct definition above.
99 Allows use of ORBit_copy_value instead of CORBA_any__copy.
101 * registryd/deviceeventcontroller.c:
102 (spi_dec_button_update_and_emit): Free the event's any_data
104 (spi_dec_mouse_check):Free the event details any struct
106 (spi_device_event_controller_forward_mouse_event): Free any.
107 (spi_device_event_controller_forward_key_event): Ditto.
109 2006-11-07 Bill Haneman <bill.haneman@sun.com>
111 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
112 Don't require gtk+ and gail for building most of at-spi
115 * registryd/registry-main.c (main): We now get te value of display
116 using the env var DISPLAY rather than using the gdk_display_get_default
117 to avoid dependancy of gdk. Also, once the registry is started, we set
118 the ior of the registry as an X property.
119 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
121 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
122 the registration was successfull.
123 (spi_atk_bridge_do_registration): This function now returns success
124 or not on activating the registry.
125 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
126 has been set in the X root window and return it if available.
127 (spi_atk_bridge_get_registry): We now get the registry using the IOR
128 saved as a X property rather than using the OAFID.
130 2006-10-01 Bill Haneman <bill.haneman@sun.com>
132 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
134 2006-09-25 Bill Haneman <bill.haneman@sun.com>
136 * registryd/registry.c:
137 (desktop_remove_application): Don't pass a ref to the
138 dead application with the event, since it's probably
139 defunct and will cause SEGV if we try to unref,
140 extract app name, etc.
143 2006-09-20 Bill Haneman <bill.haneman@sun.com>
145 Patch from Neo Liu <nian.liu@sun.com>,
148 * atk-bridge/bridge.c:
149 (spi_atk_bridge_document_event_listener): New, for
152 2006-08-30 Bill Haneman <bill.haneman@sun.com>
155 Changed some parameter names so as not to
156 collide with class names - allows IDL to be compiled with
157 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
159 2006-08-22 Bill Haneman <bill.haneman@sun.com>
161 * atk-bridge/bridge.c:
162 (spi_atk_bridge_signal_listener):
163 Patch from Ginn Chen, assign detail1 in children-changed
164 so that the child object can be assigned to the Any when the
165 at-spi event is emitted. Bug #350552.
167 * libspi/application.c:
168 (spi_application_finalize): Remove g_print debug output.
171 2006-08-21 Bill Haneman <bill.haneman@sun.com>
173 * configure.in: Revved to AT-SPI 1.7.11.
175 * libspi/accessible.c:
176 (spi_accessible_new): Aggregate Hyperlink interface
177 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
179 * libspi/hyperlink.c:
180 (spi_hyperlink_new): Don't aggregate Action a second time if this
181 interface is created for an AtkHyperlinkImpl object (i.e. for a
182 child Accessible, as opposed to the Hyperlink instance from
184 (get_hyperlink_from_servant): Obtain the hyperlink from
185 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
187 Patch section from Ginn Chen...
189 * cspi/spi_accessible.c:
190 (_cspi_accessible_set_from_sequence):
191 Changed g_newa to g_new0 on Ginn Chen's suggestion.
193 * libspi/accessible.c:
194 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
195 (spi_accessible_new): Add the Document interface if present.
198 (impl_getAttributes): Fixed to use AtkAttribute properly.
201 (impl_getAttributes, impl_getDefaultAttributes):
202 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
204 2006-08-17 Bill Haneman <bill.haneman@sun.com>
206 * cspi/spi-private.h, cspi/spi_accessible.c:
207 (_cspi_attribute_set_from_sequence): Renamed from
208 cspi_attribute_set_from_sequence, to suppress export.
211 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
212 inline docs, which was keeping the doc from appearing.
213 (SPIExceptionHandler): Doc this.
215 * cspi/spi_document.c:
216 Added inline gtk-docs cut-n-pasted from the doxygen
217 docs in the corresponding IDL files.
218 (AccessibleDocument_getAttributes): Fix the retval here.
220 * cspi/spi_streamablecontent.c:
221 Fixed some 'Since' tags that were accidentally doxygen-style.
224 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
225 docs from the IDL file.
227 * docs/reference/cspi/at-spi-cspi-docs.sgml:
228 Added entities for Document and StreamableContent interfaces.
230 * docs/reference/cspi/at-spi-cspi-sections.txt:
231 Added some docs that were present inline but not getting
234 2006-07-31 Bill Haneman <bill.haneman@sun.com>
237 (impl_getRangeExtents): Use the atk_text_get_range_extents
238 API instead of looping over character bounds, now that
240 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
241 (_spi_text_bounds_contain): Remove, not needed anymore.
242 (_spi_text_rect_union): Remove, not needed anymore.
244 2006-07-31 Bill Haneman <bill.haneman@sun.com>
246 * atk-bridge/bridge.c:
247 (spi_atk_emit_eventv): Fix the CORBA_free call which was
248 causing 64-bit troubles and memory leaks.
249 Special thanks to Alexander Larsson who finally seems to
250 have tracked down the problem, not just here but in
254 (spi_init_any_object): Make sure we copy the CORBA value
255 when initializing an object for passing as a CORBA_Any.
258 2006-07-21 Bill Haneman <billh@gnome.org>
260 * idl/Accessibility.idl:
261 Reverted pragma changes, this broke the build in some envs
262 including the Debian team's build and some tinderbox builds.
264 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
267 Revved to 1.7.10, and edited the Xevie check (bug #319994).
269 * idl/Accessibility.idl:
270 Reworked inclusion of Bonobo_Unknown.idl, to
271 avoid double-linking libs in the Bonobo environment.
272 Thanks to Michael Meeks for the workaround, see bug #313122.
274 * registryd/deviceeventcontroller.c:
275 (spi_controller_notify_keylisteners):
276 Set the SPI_NUMLOCK_MASK bit if the modifier
277 corresponding to the conceptual numlock state is set.
280 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
282 * idl/Accessibility_Selection.idl:
283 (deselectChild): New method.
285 * libspi/selection.c:
286 (impl_deselectChild): Implement the new IDL method.
289 (AccessibleSelection_deselectChild): Added new method.
291 * cspi/spi_selection.c:
292 (AccessibleSelection_deselectChild): New method implemented.
294 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
296 * cspi/bonobo/cspi-bonobo.c:
297 (cspi_init): Replace g_error with g_warning, prevent
298 SEGV if the registry cannot be activated. Bug #346393.
300 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
302 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
304 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
305 2006-07-12 Ariel Rios <arios@us.ibm.com>
309 * idl/Accessibility_Table.idl:
310 (getRowColumnExtentsAtIndex): New method for getting
311 selection status and extents in one API call.
314 (impl_getRowColumnExtentsAtIndex): Implementation of
316 (spi_table_class_init): Add above to epv.
320 (AccessibleTable_getRowColumnExtentsAtIndex): New
321 method, retrieves selection status and row/col extents
322 for a table cell in a single API call.
324 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
325 2006-07-12 Ariel Rios <arios@us.ibm.com>
327 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
330 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
331 New bindings for new methods defined in idl and libspi.
334 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
335 Added prototype functions.
338 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
340 (spi_text_class_init): Added previous methods.
343 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
344 * libspi/spi-private.h: Corrections.
346 2006-06-29 Bill Haneman <bill.haneman@sun.com>
348 Added Document interface (see bug #326520),
349 with work from Ariel Rios <arios@us.ibm.com>.
351 * configure.in: Bump to 1.7.8.
353 * libspi/Makefile.am: Added document.[ch] to sources
356 (SpiDocument, SpiDocumentClass):
357 New interface implementation.
358 (spi_document_get_type, spi_document_construct)
359 (spi_document_interface_new): New methods added.
360 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
361 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
362 Added macros for SpiDocument
366 (spi_document_interface_new): Get a
367 new document interface. New.
368 (get_document_from_servant): Get an AtkDocument from servant New.
369 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
370 Implementation of methods defined on idl.
371 (spi_document_class_init, spi_document_init)
372 Init methods for SpiDocument. new
374 * idl/Accessibility.idl: Added Accessibility_Document.idl.
376 * cspi/Makefile.am: Added spi_document.c to sources.
378 * cspi/spi_document.c:
379 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
380 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
381 (AccessibleDocument_getAttributes): Bindings for methods defined
384 * cspi/spi_accessible.c:
385 (Accessible_isDocument, Accessible_getDocument) New.
387 (Accessible_isDocument, Accessible_getDocument)
388 (AccessibleDocument_ref, AccessibleDocument_unref)
389 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
390 (AccessibleDocument_getAttributes): Bindings added.
392 * idl/Makefile.am: Added Accessibility_Document.idl to
395 2006-06-29 Bill Haneman <bill.haneman@sun.com>
397 * idl/Accessibility_Document.idl: New interface
398 for complex documents. First stage of fix for RFE
401 2006-06-27 Bill Haneman <bill.haneman@sun.com>
403 * libspi/streamablecontent.c:
404 (impl_content_stream_close):
405 Unref the GIOChannel on close.
407 2006-06-23 Bill Haneman <bill.haneman@sun.com>
409 * idl/Accessibility_Role.idl:
410 * libspi/accessiblerole.c:
411 * cspi/spi_accessible.c: Added ROLE_LINK,
412 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
413 Bug #345758 and bug #140635.
416 2006-06-22 Bill Haneman <bill.haneman@sun.com>
420 * idl/Accessibility_StreamableContent.idl:
421 Fix derivation of StreamableContent and ContentStream.
423 * cspi/spi_streamablecontent.c:
424 (accessible_content_stream_client_read):
425 Fix the datatype of the content stream used.
426 Interpret short reads as EOF, and stop trying to
427 read when we've fulfilled the request.
428 (AccessibleStreamableContent_getContentTypes):
429 Use g_strdup, not CORBA_string_dup, for the strings.
430 (AccessibleStreamableContent_open):
431 Correctly use the new getStream method for opening,
432 not the deprecated getContent method.
433 Use the object reference as the stream hash key.
434 Make note of the 'one stream per client per streamable'
435 limitation in the docs.
438 Add streamablecontent.h to the list of #includes.
440 * libspi/streamablecontent.c:
441 (impl_content_stream_read): Initialize the GError.
442 Allocate the incoming buffer if reading a fixed length of
443 data. Use g_memmove instead of memcpy.
444 (impl_accessibility_streamable_get_content_types):
445 Init typelist->_maximum. Only allocate the buffer if
446 there is a non-zero number of content types available.
447 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
449 * libspi/streamablecontent.h:
450 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
453 (SPI_IS_VALUE): Fix a typo in this macro too.
455 2006-06-16 Bill Haneman <bill.haneman@sun.com>
459 * idl/Accessibility_StreambleContent.idl:
460 Deprecate the Bonobo_Stream-based methods in favor of
461 a self-contained "ContentStream" interface. This should
462 allow us to remove BonoboStream dependencies entirely, since
463 there were no non-NIL implementations of the old methods anyway.
464 (ContentStream): New interface.
465 (ContentStream::SeekType): Enum.
466 (ContentStream::seek): New.
467 (ContentStream::read): New.
468 (ContentStream::close): New.
469 (getContent): Deprecate.
470 (getURI): New method, returns a URI pointing to the content, if available.
472 * libspi/streamablecontent.c:
473 (SpiContentStream): Internal object type definition used to
474 implement Accessibility::StreamableContent::ContentStream via
475 AtkStreamableContent's GIOChannel back-end.
476 (spi_content_stream_new, spi_content_stream_dispose): See above;
478 (impl_content_stream_seek, impl_content_stream_read):
479 (impl_content_stream_close): New, implementations of
481 (impl_accessibility_streamable_get_stream): Implement the
482 public method Accessibility::StreamableContent::getStream.
483 (impl_accessibility_streamable_get_uri): Implement the
484 public method Accessibility::StreamableContent::getURI.
486 * cspi/spi_streamablecontent.c:
487 (accessible_bonobo_stream_client_seek): Replaced by
488 (accessible_content_stream_client_seek).
489 (accessible_bonobo_stream_client_read): Replaced by
490 (accessible_content_stream_client_read).
491 (AccessibleStreamableContent_open):
492 (AccessibleStreamableContent_seek):
493 (AccessibleStreamableContent_read):
494 (AccessibleStreamableContent_close): Use the new 'getStream'
495 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
497 2006-06-15 Bill Haneman <bill.haneman@sun.com>
499 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
500 remove from other .idl files (except LoginHelper).
503 2006-06-14 Bill Haneman <bill.haneman@sun.com>
505 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
508 * configure.in, */Makefile.am: mingw patch, modified from
509 original patch by yselkowitz. Bug #314216.
511 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
512 for completeness. Bug #163111.
514 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
515 * libspi/util.c, registryd/registry-main.c:
516 Fix guint/char* casts.
517 Patch from chpe, bug #333883.
519 2006-06-12 Bill Haneman <bill.haneman@sun.com>
521 * configure.in: Require atk-1.12.0, to pick up
522 new API. (bug #344412).
524 * libspi-1.0-uninstalled.pc.in:
526 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
527 Fix for #341488 from Samual Thibault.
529 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
530 Thanks to Brian Pepple.
532 2006-06-09 Bill Haneman <bill.haneman@sun.com>
535 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
536 New, missing implementations of attribute reading methods
539 * cspi/spi.h, spi_value.c:
540 (AccessibleValue_getMinimumIncrement): New methods wrapping
541 the (formerly unimplemented) property from Value.idl.
544 (impl_get_minimumIncrement): Implementation for retrieving
545 the minimum valuator increment, (formerly unimplemented).
548 2006-06-09 Bill Haneman <bill.haneman@sun.com>
550 * idl/Accessibility_State.idl:
551 Added STATE_VISITED (bug #338369).
553 * cspi/spi_accessible.c:
554 (spi_state_to_corba) Fixed marshalling of new statetypes.
557 (spi_init_state_tables, impl_getStates):
558 Fixed conversion of new statetypes to/from ATK.
560 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
562 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
563 definitions/conversions for new roles from ATK.
565 * idl/Accessibility_Relation.idl:
567 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
568 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
569 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
571 * libspi/accessible.c: Fixed marshalling of new role types from
574 2006-04-17 Matthias Clasen <mclasen@redhat.com>
576 * revert my previous change
578 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
580 * configure.in: Remove obssolete no_NO locale
581 * po/no.po: And the translation.
583 2006-04-05 Matthias Clasen <mclasen@redhat.com>
585 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
586 memory-management error that caused crashes on x86_64.
589 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
591 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
593 2006-03-27 Bill Haneman <bill.haneman@sun.com>
595 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
596 to strip "cspi_*" from the symbol table.
598 * cspi/spi_streamablecontent.c:
599 (get_streams): Make this method static.
602 (_cspi_exception_throw): rename to cspi_exception_throw,
603 so we can strip it with the rest...
606 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
608 2006-03-27 Bill Haneman <bill.haneman@sun.com>
610 Add doxygen-generated IDL docs to tarball, and enable
611 doxygen during build/install when available. Bug #301345.
613 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
615 * docs/reference/Makefile.am: Add idl to SUBDIRS.
617 * docs/reference/idl/Makefile.am: Optionally use
618 doxygen to create docs.
620 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
622 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
624 2006-03-20 Bill Haneman <bill.haneman@sun.com>
627 (impl_get_selected_rows): Don't free the selection if it's
628 empty or has not been assigned; init it to NULL so you can tell.
629 Also, allow for zero selected rows.
630 (impl_getSelectedColumns): Ditto. Bug #319088.
632 2006-03-11 Vincent Untz <vuntz@gnome.org>
634 Leak fix for bug #334217.
636 * libspi/application.c: spi_application_toolkit_event_listener():
637 don't duplicate the string we pass as an argument to
638 spi_init_any_nil() since spi_init_any_nil() already does it
639 * registryd/deviceeventcontroller.c:
640 (spi_dec_button_update_and_emit): ditto
641 (spi_dec_mouse_check): ditto
642 (spi_dec_emit_modifier_event): ditto
643 (spi_device_event_controller_forward_mouse): ditto
644 * registryd/registry.c:
645 (desktop_add_application): ditto
646 (desktop_remove_application): ditto
648 2006-02-20 Bill Haneman <billh@gnome.org>
650 * configure.in: Rev to 1.7.6.
652 Leak fixes for bug #331924.
654 * atk-bridge/bridge.c:
655 (spi_atk_bridge_init_base): Don't dup the string, it's already
656 been dup-ed. Fixes a leak.
657 (spi_atk_emit_eventv): Move the CORBA_free call here,
658 instead of spi_atk_state_event_listener; fixes another leak.
659 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
660 notifying the registry; fixes another leak.
662 * registryd/registry.c:
663 (registry_flush_event_queue): Free the CORBA_any when
664 flushing the event, not just the string. Fixes another leak.
665 (registry_queue_event): Free the CORBA_any when dropping
666 events on the floor; fixes another leak.
669 (spi_init_any_object, spi_init_any_nil):
670 Always set _release to TRUE. Fixes another leak.
672 2006-02-20 Bill Haneman <billh@gnome.org>
674 * configure.in: Rev to 1.7.5.
675 Reinstate localization of this module. Thanks for Rodney
676 Dawes for fixing my patch.
678 * registryd/Makefile.am: Remove Accessibility_Registry.server
679 from dist, since it needs to be re-created at configure time.
682 2006-01-31 Bill Haneman <billh@gnome.org>
684 * configure.in: Rev to 1.7.4 (to include build fix below).
686 * idl/Makefile.am: Include Selector.idl in dist.
690 (cspi_internal_event_get_object): Handle case where
691 "object" isn't present, i.e. CORBA_TC_Object doesn't match
692 the EventDetails data.
693 (cspi_internal_event_get_text): Handle NULL string.
694 (cspi_internal_event_get_rect): Handle missing/empty rect
695 data, Accessibility_TC_RectBounds doesn't match any_data.
697 2006-01-30 Bill Haneman <billh@gnome.org>
701 * atk-bridge/bridge.c:
702 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
703 interface and use that when instantiating a new source
704 accessible. Better fix for bug #321814.
706 2006-01-27 Bill Haneman <billh@gnome.org>
708 * idl/Accessibility_Selector.idl: Added to the cvs repository.
710 * configure.in: Revved to 1.7.3.
712 2006-01-17 Bill Haneman <billh@gnome.org>
714 * configure.in: Revved to 1.7.2, re-dist to include docs.
716 2006-01-09 Bill Haneman <billh@gnome.org>
718 * configure.in: Removed po/Makefile.in inclusion, we do not need
721 * idl/Accessibility.idl: Improved documentation here, and for all
722 IDL in the 'GNOME::Accessibility' namespace.
724 * idl/Accessibility_Accessible.idl:
725 (LOCALE_TYPE): Added enum.
726 (AttributeSet): New, for returning multiple name/value attribute pairs.
727 (RoleSet): New, sequence of Roles, to be used in upcoming
729 (getAttributes): New API, allows retrieval of name/value pair
730 annotations for all kinds of Accessible objects. C.f.
731 Text:getAttributes, which is only for typographic/textual/semantic tags in
733 (getApplication): New, retrieves the host/containing Application
734 instance for an object (without having to walk up the whole tree).
736 * idl/Accessibility_Component.idl:
737 (getAlpha): New method, returns the alpha blending (aka 'opacity')
738 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
741 * idl/Accessibility_Event.idl:
742 (EventDetails): New struct definition, for encapsulating
743 commonly-queried information about emitted events. The use of
744 this structure in emitted events (in the 'any' member of
745 Accessibility_Event) should greatly reduce the number of
746 client-server roundtrips necessary.
748 * idl/Accessibility_Image.idl:
749 (imageLocale): New, a readonly attribute indicating the POSIX
750 LC_MESSAGES locale of the image and associated Alt/descriptive
753 * idl/Accessibility_Relation.idl:
754 (RELATION_PARENT_WINDOW_OF): Include, as complement to
757 * idl/Accessibility_Role.idl:
758 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
759 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
760 complex document and form support.
762 * idl/Accessibility_State.idl:
763 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
764 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
765 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
766 for support of complex documents and forms.
768 * idl/Accessibility_StreamableContent.idl:
769 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
770 allow old bonobo-stream interfaces to be deprecated in the next
773 * idl/Accessibility_Text.idl:
774 (getAttributeValue): New method, allows query-by-name of single
777 * libspi/accessible.c:
778 Added support for new roles. Implemented new methods
779 (impl_accessibility_accessible_get_application): New
780 (impl_accessibility_accessible_get_attributes): New
782 * libspi/component.c:
783 (impl_accessibility_component_get_alpha): New.
786 (impl_accessibility_image_get_locale): New.
788 * libspi/relation.c: Added support for new relation type.
790 * libspi/stateset.c: Added support for new state types.
793 (impl_getAttributeValue): New.
796 New prototypes for private methods
798 spi_init_any_object, spi_init_any_string,
801 * libspi/spi_event.c:
802 Use EventDetails in the event emission methods.
804 * cspi/spi-private.h:
805 (cspi_role_from_spi_role): Expose this adapter method, since
806 we need it in the bridge (see below).
809 (AccessibleEvent_getSourceName):
810 (AccessibleEvent_getSourceRole):
811 (AccessibleEvent_getSourceApplication):
812 (AccessibleEvent_getSourceDetails):
813 New methods for interrogating/demarshalling
814 event details (i.e. source's accessible name, role,
817 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
818 Make use of the new EventDetails struct in events, if present.
819 (AccessibleEvent_getSourceName)
820 (AccessibleEvent_getSourceRole)
821 (AccessibleEvent_getSourceApplication)
822 (AccessibleEvent_getSourceDetails): Implement the newly exposed
824 (Accessible_getAttributes): New, wraps
825 Accessibility_Accessible_getAttributes.
826 (Accessible_getHostApplication): New, wraps
827 Accessibility_Accessible_getApplication.
830 (AccessibleImage_getImageLocale): New wrapper for
831 Accessibility_Image_get_imageLocale.
833 * cspi/spi_component.c:
834 (AccessibleComponent_getAlpha): New wrapper for
835 Accessibility_Component_getAlpha.
837 * atk-bridge/bridge.c:
838 Use new prototyped for init_any methods.
839 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
840 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
841 (spi_atk_bridge_init_base): Wrappers
842 for spi_init_any_* methods, due to refactor; include extended
843 information in the Accessibility_EventDetails struct, for instance
844 accessible-name, Role, and containing Application.
846 * registryd/registry.c:
847 Use new event emission (with EventDetails).
849 * registryd/deviceeventcontroller.c:
850 Use new event emission (with EventDetails).
852 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
854 * configure.in: Generate po/Makefile.in
855 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
856 * cspi/spi_streamablecontent.c:
857 (accessible_bonobo_stream_client_seek),
858 (AccessibleStreamableContent_seek): Remove unused vars.
859 * libspi/application.c: Missing header.
860 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
861 * login-helper/login-helper.c: (login_helper_finalize),
862 (login_helper_init): Remove unused stuff
863 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
864 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
865 and surround some with #ifdef GRAB_BUTTON.
866 * test/event-listener-test.c: (main), (report_event),
867 (report_caret_event), (report_detail_event),
868 (report_detail1_event), (report_bounds_event), (report_text_event),
869 (report_text_selection_event),
870 (report_active_descendant_changed_event),
871 (report_children_changed_event), (report_name_changed_event),
872 (report_description_changed_event), (report_parent_changed_event),
873 (report_window_event), (report_table_summary_event),
874 (report_table_header_event), (report_table_caption_event),
875 (report_table_row_description_event),
876 (report_table_column_description_event), (timing_test_event):
877 Remove a bunch of unused variables and fix a slew of format specifiers
878 * test/key-listener-test.c: (report_all_key_event): Format specifier
879 * test/keypad-test.c: (print_key_event): Same
880 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
882 * test/screen-review-test.c: (main), (print_chunk_debug),
883 (review_buffer_get_text_chunk), (debug_chunk_list),
884 (string_guess_clip), (text_chunk_get_clipped_string),
885 (text_chunk_list_to_string), (get_screen_review_line_at):
886 Remove unused variables and fix format specifiers.
887 * test/simple-at.c: (report_text_event): Format specifier fix.
888 * test/stress-test.c: (main): Remove unused var.
890 2005-12-29 Abel Cheung <maddog@linuxhall.org>
892 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
893 (yes I know that's useless)
895 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
897 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
899 2005-11-17 Michael Meeks <michael.meeks@novell.com>
901 * atk-bridge/bridge.c (spi_atk_emit_eventv):
902 urgh-fix embarassing typo.
904 2005-11-16 Michael Meeks <michael.meeks@novell.com>
906 * atk-bridge/bridge.c (spi_atk_emit_eventv):
907 do a faster, less problematic _unref call on this local
908 object, rather than a slower (potentially cross-thread
909 complicated) CORBA call.
911 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
913 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
914 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
915 * registryd/deviceeventcontroller.c:
916 (spi_controller_notify_mouselisteners),
917 (impl_generate_keyboard_event):
918 * test/screen-review-test.c: (chunk_bounds_within):
919 * test/test-simple.c: (test_desktop): Remove some unused code
920 and fix compiler warnings. Closes bug #320049.
922 2005-10-27 Bill Haneman <bill.haneman@sun.com>
924 * registryd/deviceeventcontroller.c:
925 (spi_controller_notify_keylisteners): Check
926 to make sure the event listener has requested 'preemptive'
927 status before pre-empting an event.
929 2005-08-29 Bill Haneman <bill.haneman@sun.com>
931 * configure.in, README, NEWS: Release 1.6.5.
933 2005-07-25 Matthias Clasen <mclasen@redhat.com>
935 * test/window-listener-test.c: Fix a printf
936 format error. (#169453)
938 2005-07-15 Bill Haneman <bill.haneman@sun.com>
940 * tests/test-simple.c:
941 (key_listener_cb): Ensure that the keystring is dup'ed instead of
942 relying on the old string from the key event hanging around after
943 the event handler returns. Fixes broken 'make check'.
945 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
947 * Added Marathi (mr_IN) translations.
949 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
951 * cspi/bonobo/cspi-bonobo-listener.c:
952 (cspi_event_list_remove_by_cb): Fix the build.
954 2005-05-26 Michael Meeks <michael.meeks@novell.com>
956 * cspi/bonobo/cspi-bonobo-listener.c
957 (cspi_event_list_remove_by_cb): actually filter by callback.
959 2005-05-25 Bill Haneman <bill.haneman@sun.com>
961 * registryd/registry.c (remove_listener_cb):
962 Make deregistration filter rules match the event emission rules.
964 2005-05-25 Michael Meeks <michael.meeks@novell.com>
966 * registryd/registry.c (remove_listener_cb),
967 (impl_accessibility_registry_deregister_global_event_listener),
968 (impl_accessibility_registry_deregister_global_event_listener_all):
969 pass a closure to the remove callback to filter listeners more
970 accurately on remove.
972 2005-04-05 Bill Haneman <bill.haneman@sun.com>
974 * configure.in: Revved to 1.6.4.
975 Remember to put quotes around XEVIE_LIBS assignment.
976 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
979 * tests/event-listener-test.c: Tweaked the tests - more detail
980 from caret events, and some interrogation of AccessibleText APIs.
981 Commented-out the bounds-changed events by default, since they can
984 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
986 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
987 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
988 Same here. Closes bug #167806
990 2005-04-05 Bill Haneman <bill.haneman@sun.com>
992 * atk-bridge/bridge.c:
993 (spi_atk_bridge_signal_listener):
994 Free the any._value if any._release is TRUE,
995 since the ORB won't do it for us in this case
996 [because this method is not a skel].
999 2005-03-30 Steve Murphy <murf@e-tools.com>
1001 * configure.in: Added "rw" to ALL_LINGUAS.
1003 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1005 * configure.in: Improved check for HAVE_XEVIE, to detect
1006 presence on XOrg, where -lXevie is a separate library.
1008 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1010 * configure.in, NEWS, README: Revved to 1.6.3.
1012 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1014 * configure.in: Added "xh" to ALL_LINGUAS.
1016 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1018 * atk-bridge/bridge.c:
1019 (atk_bridge_init): Added missing NULL in g_strconcat(),
1020 also check for symlink before logging to
1021 insecure directory. Thanks to meissner@suse.de.
1023 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1025 * tests/login-helper-server-test.c: Add return call to main
1026 function. Patch from Chris Lahey. Fixes bug #165129.
1028 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1030 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1032 2004-12-09 Bill Haneman <billh@gnome.org>
1034 * registryd/registry-main.c:
1035 Added #define <string.h> for strrchr. (bug 160862).
1036 Thanks to Vincent Berger for catching.
1038 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1040 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1041 restart registry process if the registry process is found to have died
1042 and the current process is exiting.
1043 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1044 application if the registry process has died.
1045 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1046 does not return a registry object.
1047 (spi_atk_tidy_windows): Give up if the registry process has died.
1049 This fixes problems with hangs and crashes when logging out.
1051 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1053 * registryd/desktop.c: Add checking that we are not exiting before
1054 calling spi_desktop_remove_application in
1055 abnormal_application_termination. Fix for bug #152147.
1057 2004-12-02 Bill Haneman <billh@gnome.org>
1059 * configure.in, NEWS, README: Revved to 1.6.1.
1061 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1062 * atk-bridge/bridge.c:
1063 (atk_bridge_init): Save the pid when we start, to detect forks.
1064 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1065 if we're in a forked pid.
1067 2004-10-09 Bill Haneman <billh@gnome.org>
1069 * idl/Accessibility_LoginHelper.idl:
1070 Improved inline documentation.
1072 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1074 * configure.in: Added gl (Galician) to ALL_LINGUAS
1076 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1078 * libspi/accessible.c:
1079 (impl_accessibility_accessible_get_role_name),
1080 (impl_accessibility_accessible_get_local_role_name):
1081 NULL vs. 0 cleanups.
1082 * libspi/component.c:
1083 (impl_accessibility_component_get_accessible_at_point):
1085 * libspi/eventlistener.c: (spi_event_listener_new):
1087 * libspi/stateset.c: (impl_compare): More of the same
1088 * libspi/table.c: (impl_getRowDescription): Again.
1089 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1090 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1091 (impl_generate_keyboard_event): Same.
1092 * registryd/registry-main.c: (main): Same
1093 * test/event-listener-test.c: (test_exit): Same
1094 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1095 * test/keysynth-test.c: (test_key_synthesis): Same
1096 * test/login-helper-server-test.c: (main): Fix warning.
1097 * test/screen-review-test.c: (test_exit): Fix include.
1098 * test/simple-at.c: (simple_at_exit), (_festival_init):
1101 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1103 * configure.in, NEWS, README: Revved to 1.6.0.
1105 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1107 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1108 was missing the HTML docs.
1110 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1112 * configure.in: only cleanups:
1113 - better looking PKG_CHECK_MODULES() output,
1115 - declare in one common place required versions of other tools using
1118 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1120 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1121 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1122 required ATK version accordingly.
1124 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1126 * cspi/bonobo/cspi-bonobo.c:
1127 (cspi_display_name): Fix C99ism.
1128 * atk-bridge/bridge.c:
1129 (spi_display_name): Fix C99ism.
1130 Patch from Jens Granseuer, jensgr@gmx.net.
1132 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1134 * configure.in: Added "or" to ALL_LINGUAS.
1136 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1138 * configure.in, NEWS, README: Revved to 1.5.4.
1140 * registryd/registry-main.c:
1141 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1144 * cspi/bonobo/cspi-bonobo.c:
1145 (cspi_display_name): New convenience method, gets DISPLAY with
1146 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1147 (cspi_init): Set the activation env value above before getting
1150 * atk-bridge/bridge.c:
1151 (spi_display_name): Create the AT_SPI_DISPLAY activation
1152 environment for an app, based on the DISPLAY environment with the
1153 screen number stripped off.
1154 (atk_bridge_init): Allow redirection of error messages to a log.
1155 (spi_atk_bridge_get_registry): Call
1156 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1158 Fixes for bugs #149962, #136986, #144086.
1160 2004-08-16 Christian Rose <menthos@menthos.com>
1162 * configure.in: Added "bs" to ALL_LINGUAS.
1164 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1166 * configure.in: Added nb to ALL_LINGUAS.
1168 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1171 (SPI_init): Return error code '2' if the activated
1172 registry cannot be pinged. Fixes bug #147648.
1174 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1176 * registryd/deviceeventcontroller.c:
1177 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1178 rely on timer-poll instead, to avoid conflict with
1181 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1183 * configure.in: Revved to 1.5.3.
1185 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1187 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1189 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1191 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1193 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1195 * atk-bridge/bridge.c:
1196 (spi_atk_bridge_do_registration):
1197 Register with ATK for AtkComponent:bounds-changed events.
1198 (api_atk_bridge_signal_listener):
1199 Marshal the AtkRectangle info into the event notification
1200 for object:bounds-changed events.
1203 (spi_init_any_rect): New method, inits a corba struct of
1204 type Accessibility_BoundingBox from an AtkRectangle.
1206 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1209 (SPIRect): New struct definition.
1210 (SPI_freeRect): New declaration.
1211 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1214 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1215 implemented. Gets the bounding box data from the CORBA_any
1216 associated with a bounds-changed event notification.
1217 (cspi_internal_event_get_rect): New, used internally by above method.
1220 (SPI_freeRect): Implemented this new method, for freeing
1223 * test/event-listener-test.c:
1224 (main, report_bounds_event):
1225 Added a test for object:bounds-changed events.
1227 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1229 * test/login-helper-server-test.c:
1230 (main): Fix C99-ism. Thanks to Jens Granseuer.
1232 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1234 * libloginhelper-1.0.pc.in:
1235 * idl/Accessibility_LoginHelper.idl:
1236 * login-helper/Makefile.am:
1237 * login-helper/login-helper.[ch]:
1238 * test/login-helper-client-test.c:
1239 * test/login-helper-server-test.c: Added files missing from CVS.
1240 Files obtained from at-spi-1.5.2 tarball.
1242 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1244 * configure.in: Create login-helper/Makefile.
1245 Incremented micro version.
1247 * Makefile.am: Add login-helper subdir and pkgconfig data.
1249 * login-helper: New subdir.
1251 * libloginhelper-1.0.pc.in: New.
1253 * idl/Accessibility_LoginHelper.idl: New file, defines
1254 interface whereby authentication clients can identify agents which
1255 need access to services during the login process, e.g. screen lock
1258 * login-helper/Makefile.am : New.
1260 * login-helper/login-helper.[ch] : New, implementation of
1261 a LoginHelper base class. Services needing LoginHelper can subclass.
1263 * test/Makefile.am : Added test for login-helper, client and
1266 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1267 Use proper prefix in #include files.
1269 * test/login-helper-client-test.c: New.
1271 * test/login-helper-server-test.c: New.
1273 2004-05-27 Alexander Shopov <ash@contact.bg>
1275 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1277 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1279 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1280 is positive. This should make it easier to detect inapprorpiate unref
1283 2004-05-11 James Henstridge <james@daa.com.au>
1285 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1286 no-op and deprecated.
1288 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1290 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1292 2004-04-28 Bill Haneman <billh@gnome.org>
1294 * Makefile.am: Added --enable-gtk-doc to
1295 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1297 2004-04-19 Bill Haneman <billh@gnome.org>
1299 * configure.in: Revved to 1.5.1.
1301 * registryd/deviceeventcontroller.c:
1303 (DEControllerPrivateData): Added fields for
1304 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1305 (spi_dec_replace_map_keysym): New internal utility for
1306 replacing a keysym in the keymap - used to allow
1307 synthesis of individual characters which aren't in the
1309 (spi_dec_reset_reserved): New; resets the changed keysym value
1311 (keycode_for_keysym): We now try to deal with failed
1312 XKeysymToKeycode requests by changing a keymap value
1313 and returning a reserved keycode. We now take
1314 a DEController pointer as first arg.
1315 (spi_controller_register_with_devices): Call XkbGetMap with
1316 the XkbKeySymsMask. Find the highest keycode in the current
1317 keymap which doesn't have any grabs, and mark that one for
1318 temporary re-mapping when out-of-range KeySyms are synthesized.
1319 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1322 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1324 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1326 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1328 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1330 2004-03-24 Bill Haneman <billh@gnome.org>
1333 (AccessibleTable_addRowSelection),
1334 (AccessibleTable_addColumnSelection),
1335 (AccessibleTable_removeRowSelection),
1336 (AccessibleTable_removeColumnSelection):
1337 Add declarations for spi wrappers which were
1338 inadvertantly omitted. Fixes bug #133413.
1341 Revved to 1.5.0 (unstable series for GNOME 2.7).
1343 2004-03-24 Bill Haneman <billh@gnome.org>
1345 * atk-bridge/bridge.c:
1346 Bracketed some debug output in
1347 conditionals, to avoid printing it in normal use.
1350 * libspi/hyperlink.c:
1351 Don't cast 'object' to ATK_OBJECT when constructing
1352 an AtkAction interface for a hyperlink.
1353 See discussion in bug #120659.
1355 * test/key-listener-test.c:
1356 (report_all_key_event): Send output to stderr,
1357 not stdout, for consistency with the rest of the test callbacks.
1360 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1361 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1362 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1363 try incrementing the revision AFTER doing a dist, at least
1366 2004-03-22 Bill Haneman <billh@gnome.org>
1368 * configure.in: Revved to 1.4.0, libtool 9.14.9
1370 2004-03-17 Laszlo Peter <laca@sun.com>
1372 * libspi-1.0-uninstalled.pc.in: add idldir
1374 * cspi-1.0-uninstalled.pc.in: add idldir
1376 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1378 * configure.in: Added "en_GB" to ALL_LINGUAS
1380 2004-03-15 Bill Haneman <billh@gnome.org>
1382 * configure.in: Revved to 1.3.16,
1385 2004-03-15 Laszlo Peter <laca@sun.com>
1387 * libspi-1.0-uninstalled.pc.in: new file
1389 * cspi-1.0-uninstalled.pc.in: new file
1391 * configure.in: add the new pc files to AC_OUTPUT
1393 * Makefile.am: add the new pc files to EXTRA_DIST
1395 2004-03-12 Bill Haneman <billh@gnome.org>
1397 * atk-bridge/bridge.c:
1398 (spi_atk_bridge_key_listener):
1399 Make sure to return consumed=FALSE if snoop
1400 event is not dispatched to listener.
1403 2004-03-01 Bill Haneman <billh@gnome.org>
1405 * configure.in: Revved to 1.3.15,
1408 2004-03-07 Danilo Segan <dsegan@gmx.net>
1410 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1412 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1414 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1416 2004-03-01 Bill Haneman <billh@gnome.org>
1418 * configure.in: Revved to 1.3.14.
1421 (SPI_exit): Removed "bye-bye" exit message.
1422 Moved "leak" report to happen before the
1423 iteration over the leaked refs list.
1424 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1426 2004-02-24 Bill Haneman <billh@gnome.org>
1428 * configure.in: Revved to 1.3.13.
1430 * docs/reference/cspi/Makefile.am:
1431 Correct typo that was breaking the docs build.
1433 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1435 * autogen.sh: Require version 1.7 of automake.
1437 * configure.in: call GTK_DOC_CHECK([1.0])
1439 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1441 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1443 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1445 * test/Makefile.am: Remove use of CFLAGS.
1447 This fixes bug #132987.
1449 2004-02-11 Bill Haneman <billh@gnome.org>
1451 * reverted most of Tomasz' patch below, since it was breaking
1452 builds (see bug #134058).
1454 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1456 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1457 correct pass "make dist" (empty .. because seems no sach types in
1458 header files with gtk-doc markups).
1459 * docs/reference/cspi/Makefile.am, configure.in:
1460 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1461 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1462 * Makefile.am: added:
1463 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1464 for force correct pass generate documentation on "make distcheck".
1465 * libspi/Makefile.am: fixes for automake >= 1.6.
1466 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1467 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1470 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1472 * docs/reference/cspi/Makefile.am (install-data-local): Install
1473 index.sgml since the doc autobuilder on widget.gnome.org looks for
1476 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1478 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1481 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1483 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1485 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1487 * test/simple-at.c: Fixed null string problems that cause core
1488 dumping problems on Solaris.
1490 2004-01-12 Bill Haneman <billh@gnome.org>
1492 * configure.in: Incremented version to 1.3.11.
1494 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1496 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1497 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1500 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1502 * configure.in: Added "fa" to ALL_LINGUAS.
1504 2003-12-20 Arafat Medini <lumina@silverpen.de>
1506 * configure.in: Added "ar" to ALL_LINGUAS
1508 2003-12-16 Bill Haneman <billh@gnome.org>
1510 * registryd/registry-main.c:
1512 Set the reg_env DISPLAY variable before registering the
1513 activated registry service. Fixes bug #129479.
1515 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1517 * configure.in: Added "id" in ALL_LINGUAS
1518 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1520 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1522 * registryd/deviceeventcontroller.c (global_filter_fn):
1523 When an event is consumed discard any XEvents were added to
1524 the queue while dealing with the the event. This can happen if
1525 processing of the event takes a long time. Call XUngrabKeyboard
1526 if an event was discarded. This fixes bug $124837.
1527 Only call wait_for_release_event for a KeyPress.
1528 Use local variable display instead of spi_get_display().
1529 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1532 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1534 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1535 Allow for mask to contain values other than NumLock mask.
1538 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1540 * registryd/devieceventcontroller.c:
1541 (wait_for_release_event): Change first parameter from GdkEvent to
1543 (global_filter_fn); Correct call to wait_for_release_event.
1547 2003-12-08 Bill Haneman <billh@gnome.org>
1551 * registryd/ucs2keysym.c: New file.
1553 * registryd/deviceeventcontroller.c:
1554 (dec_keysym_for_unichar): Remove old partial implementation and
1555 replace with call to ucs2keysym(), which is much more complete.
1556 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1561 2003-12-05 Bill Haneman <billh@gnome.org>
1563 * configure.in: Version 1.3.9.
1565 * docs/reference/cspi/tmpl/spi_registry.sgml:
1566 Added reference to libspi/keymasks.h to the
1567 description of Registry queries: AccessibleKeyMaskType.
1570 2003-12-04 Bill Haneman <billh@gnome.org>
1572 Fix for bug #121974.
1574 * idl/Accessibility_Application.idl:
1575 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1576 setlocale's LC_TYPEs.
1577 (Accessibility::Application::getLocale): New method.
1578 Allows clients to query the locale, by type, of an app.
1581 * cspi/spi_application.c:
1582 (AccessibleApplication_getLocale): New method, wraps IDL above.
1584 * libspi/application.c:
1585 (spi_application_class_init): Init epv entry for getLocale.
1586 (impl_accessibility_application_get_locale): Impl for above.
1588 * test/test-simple.c:
1589 (test_application): Added assertion for getLocale, i.e.
1590 that the string from AccessibleApplication_getLocale (app, type)
1591 is the same as that from setlocale (type, NULL);
1593 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1595 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1596 the keyboard on a timeout intil the key state goes from pressed to
1597 released. Fixes bug #111429.
1599 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1601 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1602 root object so that it is present when a context menu in an
1603 out-of-process applet is popped up.
1604 (spi_atk_bridge_do_registration): Create acceessible application root
1605 object only if it does not exist.
1607 This fixes bug #125834.
1609 2003-12-01 Bill Haneman <billh@gnome.org>
1611 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1614 Added enum for AccessibleStreamableContentSeekType.
1615 (AccessibleStreamableContent_freeContentTypeList): New.
1617 * cspi/spi_streamablecontent.c:
1618 (accessible_bonobo_stream_client_seek): New private method.
1619 (AccessibleStreamableContent_seek): Implemented this method,
1620 using Bonobo_Stream_seek.
1621 (AccessibleStreamableContent_freeContentTypeList): New method
1622 for freeing the return value from
1623 AccessibleStreamableContent_getContentTypes.
1624 (stream_cache_item_free): Replaces stream_release; stop leaks.
1625 (stream_release): removed.
1626 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1627 free the memory properly.
1629 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1631 Fix for bug #116009.
1633 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1635 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1637 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1639 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1641 2003-12-01 Bill Haneman <billh@gnome.org>
1643 Fix for bug/rfe #127463.
1645 * idl/Accessibility_Accessible.idl:
1646 (getLocalizedRoleName): New.
1647 (unimplemented4): Removed (replaced by above).
1649 * libspi/accessible.c:
1650 (impl_accessibility_accessible_get_local_role_name): New.
1651 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1655 (Accessible_getLocalizedRoleName): New.
1657 * cspi/spi_accessible.c:
1658 (Accessible_getLocalizedRoleName): New.
1660 2003-12-01 Bill Haneman <billh@gnome.org>
1662 Fix for bug #118581.
1663 * idl/Accessibility_Text.idl:
1664 (getDefaultAttributes): New.
1665 (unimplemented4): Removed (replaced by above method).
1668 (impl_getDefaultAttributes): New method.
1669 (spi_text_class_init):
1670 initialize the get_default_attributes slot in the epv.
1673 (AccessibleText_getDefaultAttributes): New prototype.
1676 (AccessibleText_getDefaultAttributes): New method.
1678 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1680 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1681 write beyond the end of the table. Fixes bug #120473.
1683 2003-09-30 Christian Rose <menthos@menthos.com>
1685 * configure.in: Added "eu" to ALL_LINGUAS.
1687 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1689 * configure.in: ALL_LINGUAS: Added no.
1691 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1693 * configure.in: Added lt to ALL_LINGUAS.
1695 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1697 * atk-bridge/bridge.c:
1698 (atk_bridge_init): Register event listeners always even for
1699 out-of-process applet.
1700 (spi_atk_bridge_toplevel_added): Remove call to
1701 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1702 (spi_atk_bridge_toplevelk_removed): Remove call to
1703 spi_atk_deregister_event_listenersa as the listeners are now always
1705 (spi_atk_bridge_register_application): Remove call to
1706 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1708 This fixes bug #120991.
1710 * libspi/table.c (impl_getColumnDescription): Correct typo,
1711 pointed out by Bolian.Yin@sun.com.
1713 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1715 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1717 2003-09-08 Bill Haneman <billh@gnome.org>
1719 * configure.in: Revved to 1.3.7.
1721 This is the GNOME 2.4.0 release of at-spi.
1723 * docs/reference/cspi/Makefile.am:
1724 Removed spurious inclusion of 'index.sgml' in the
1725 html directory; this was breaking make distcheck and
1726 also some other build environments.
1728 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1730 * registryd/registry.[ch}:
1731 Add queue_handler_id and focus_object to SpiRegistry data structure.
1732 (registry_flush_event_queue): If event being discarded is
1733 "state-change:focused" store object as focus_object.
1734 (registry_start_queue): Remove queue handler and focus object
1736 (registry_discard_event): New function which discards a focus event
1737 if we had stored focus object in the registry.
1738 (registry_queue_event): Add new check that is_queueing is set as this
1739 function is reentrant.
1740 (registry_filer_event): Add call to registry_discard_event.
1742 This resolves issues raised in bug #108664.
1744 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1746 * configure.in: Added "bn" to ALL_LINGUAS.
1748 2003-09-04 Bill Haneman <billh@gnome.org>
1750 * cspi/spi_event.c: Documentation improvements for
1751 (SPI_registerAccessibleKeylistener).
1753 * docs/reference/tmpl/spi_registry.sgml:
1754 Documentation improvements for SpiAccessibleKeylistenerCB.
1756 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1758 * configure.in: Added "ro" to ALL_LINGUAS.
1761 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1763 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1764 not decremented to zero. Fixes bug #120725.
1766 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1768 * configure.in: Added "ja" to ALL_LINGUAS.
1770 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1772 * configure.in: Added "is" to ALL_LINGUAS.
1774 2003-08-22 Christian Rose <menthos@menthos.com>
1776 * configure.in: Added "nl" to ALL_LINGUAS.
1778 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1780 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1781 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1783 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1785 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1786 type for unspecified exception.
1787 * cspi_streamablecontect): Add include of string.h for memcpy.
1788 (stream_release): Correct call to bonobo_object_release_unref
1789 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1790 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1791 argument of _cspi_expection_throw.
1792 * libspi/hyperlink.c: Add include of libspi/action.h:
1793 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1794 * libspi/streamablecontent.c: add include of libspi/component.h.
1795 * regisrtyd/deviceeventcontroller.c:
1796 (spi_dec_translate_mask): Removed unused variable priv.
1797 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1798 * registryd/registry.c:
1799 (registry_filter_event): Remove unused variable queue_is-empty.
1800 (impl_registry_notify_event): Use correct modifier in fprintf call.
1802 This fixes compiler warnings reported in bug #120220.
1804 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1806 * registryd/registryd.c: Remove this file.
1808 2003-08-17 Sanlig Badral <badral@openmn.org>
1810 * configure.in: Added mn to ALL_LINGUAS.
1812 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1814 * configure.in: Added et to ALL_LINGUAS.
1816 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1818 * test/event-listener-test.c: Change active-descendant to
1819 active-descendant-changed.
1821 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1823 * configure.in: Added "fi" in ALL_LINGUAS.
1825 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1827 * configure.in: Added "hi" in ALL_LINGUAS.
1829 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1831 * configure.in: Revved to 1.3.6.
1835 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1837 * registryd/deviceeventcontroller.c
1838 (spi_device_event_controller_object_finalize): Fix typo in previous
1841 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1843 * registryd/deviceeventcontroller.c
1844 (spi_device_event_controller_object_finalize): Fix build on
1845 systems without XEvIE.
1847 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1849 * acconfig.h, configure.in, registryd/Makefile.am,
1850 registryd/devicecontoller.[ch]: Add XEViE support.
1852 2003-08-06 Wang Jian <lark@linux.net.cn>
1854 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1856 2003-08-06 Metin Amiroff<metin@karegen.com>
1858 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1860 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1862 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1863 MODIFIER_ALT in correct place.
1865 This fixes part of bug #118114.
1867 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1869 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1871 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1873 * configure.in: Added "ko" to ALL_LINGUAS.
1875 2003-07-28 Ole Laursen <olau@hardworking.dk>
1877 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1879 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1881 * configure.in: Added "sq" to ALL_LINGUAS.
1883 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1885 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1887 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1889 * configure.in: updated ALL_LINGUAS list
1891 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1893 * configure.in: Added Belarusian to ALL_LINGUAS.
1895 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1897 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1899 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1900 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1902 This fixes bug #116949.
1904 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1906 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1907 Correct CSPI to SPI in function documentation.
1909 This fixes bug #118054.
1911 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1913 * configure.in: Added Russian to ALL_LINGUAS.
1915 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1917 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1919 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1921 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1923 2003-07-10 Joel Brich <joel.brich@laposte.net>
1925 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1927 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1929 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1931 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1933 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1934 resources allocated for AccessibleEvent. See cspi_event().
1936 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1937 static variable streams to NULL.
1939 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1940 Update so that AcessibleEvent_ref will work.
1942 This fixes bug #116624.
1944 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1946 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1948 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1950 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1952 2003-07-02 Christian Neumair <chris@gnome-de.org>
1954 * configure.in: Added "de" (German) to ALL_LINGUAS.
1956 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1958 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1960 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1962 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1964 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1966 * configure.in: Added "pl" to ALL_LINGUAS.
1968 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1970 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1972 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1975 (get_action_from_servant):
1976 Removed assertion that action is implemented on an AtkObject.
1978 * libspi/hyperlink.c:
1979 (spi_hyperlink_new):
1980 Aggregate AccessibleAction interface on the hyperlink object if
1981 the object implements AtkAction. (This convention is used in
1984 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1986 * configure.in: Revved to 1.3.5.
1988 * registryd/Accessibility_Registry.server.in.in:
1989 Marked up appropriate strings for translation.
1991 * atk-bridge/bridge.c: Marked a couple of
1992 user-visible warnings for translation. Questionable
1993 whether they are really useful, but possibly so.
1996 2003-06-28 Christian Rose <menthos@menthos.com>
1998 * configure.in: Added "sv" to ALL_LINGUAS.
2000 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2002 * registryd/registry.c:
2003 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2004 (registry_defer_on_event): Defer focus: events, this is an
2005 improvement to the patch for bug #108664.
2007 * TODO: Update with 2.4/"Dev Complete" items.
2009 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2011 * atk-bridge/bridge.c:
2012 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2013 looks up signals once.
2014 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2015 if doing registration.
2016 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2017 when doing registration.
2019 This fixes bug #115014.
2021 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2023 * atk-bridge/bridge.c:
2024 (atk_bridge_init): Add signal handler for children-changed:remove on
2025 root when in a BonoboComponent.
2026 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2027 for first toplevel only other incrememt variable toplevels.
2028 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2029 application and remove listeners.
2030 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2032 (spi_atk_deregister_event_listeners): New function which removes
2034 (reinit_register_vars): New fuction which reinitializes variables.
2036 This fixes bug #111578.
2038 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2040 * configure.in: version 1.3.4.
2042 * cspi/spi_accessible.c:
2043 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2046 2003-06-13 Michael Meeks <michael@ximian.com>
2048 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2050 * cspi/spi_main.c (cspi_peek_ev): impl.
2052 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2054 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2056 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2058 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2059 SPI_ROLE_AUTOCOMPLETE
2061 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2063 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2064 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2066 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2068 * libspi/streamablecontent.h:
2069 * libspi/streamablecontent.c:
2070 New files, provide implementation/wrappers for
2071 Accessibility_StreamableContent.
2073 * cspi/spi_streamablecontent.c:
2074 Connected the C wrappers to the libspi C bindings.
2075 (AccessibleStreamableContent_close): New method.
2078 (AccessibleStreamableContent_close): New method, needed
2079 since we have an "open, [seek], read, close" model in cspi.
2081 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2083 Fix for #108664; Padraig's revision of my original patch.
2085 * registryd/registry.h:
2086 Added event queue list, is_queuing, and exit_notify_timeout
2087 to the registry struct.
2089 * registryd/registry.c:
2090 (registry_init): Initialize new struct from registry.h.
2091 (impl_registry_notify_event):
2092 Filter events before notifying, in case some need to be
2094 (registry_filter_event): New,
2095 we defer certain incoming events (for instance
2096 window:deactivate) because we may wish to hide
2097 or reject them based on pending events. This is
2098 mostly a workaround for bug #108664.
2099 (registry_queue_event, registry_start_queue): New.
2100 (registry_defer_on_event): Test event to see if it
2102 (registry_reset_on_event): Returns TRUE if the
2103 event should cause a queue reset.
2104 (registry_discard_on_event): Returns TRUE if the event
2105 should cause the previous queue contents to be discarded.
2106 (registry_timeout_flush_queue): Flushes the pending event
2107 queue if no reset/discard-triggering events have come in
2108 within the timeout period.
2109 (registry_emit_event): New.
2110 (registry_clone_notify_context): New, used when queueing the
2111 event notify contexts.
2113 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2115 * configure.in: Version revved to 1.3.2, lt 0.9.2
2116 Incremented ATK required version to 1.3.4.
2118 * cspi/spi_registry.c:
2119 (SPI_generateKeyEvent):
2120 We now pass the keystring along if it's non-null.
2122 * registryd/deviceeventcontroller.c:
2123 (keysym_mod_mask): New method, returns modifier mask
2124 required to generate a keysym from a given keycode.
2125 (dec_synth_keysym): New method.
2126 (dec_synth_keystring): New method.
2127 (dec_get_modifier_state): New method.
2128 (dec_lock_modifiers): New
2129 (dec_unlock_modifiers): New.
2130 (dec_keysym_for_unichar): New, rather brute-force
2131 conversion from UCS-4 to X KeySyms. Only works for
2132 Latin at the moment, with partial implementations for
2133 Greek, Hebrew, and (incomplete) Katakana.
2134 (impl_generate_keyboard_event): Now implement
2135 "KEYSTRING" synthesis and implement "KEYSYM"
2137 (keycode_from_keysym): Improved, passes a returned
2138 modmask value now if the corresponding param is non-NULL.
2140 Fixes bugs #92143 and #109776.
2143 * test/keysynth-test.c:
2144 New test program for key synthesis, to confirm fixes for
2148 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2150 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2152 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2153 Add line for RELATION_POPUP_FOR
2155 * docs/reference/cspi/tmpl/spi_relation.sgml:
2156 Add relation SPI_RELATION_POPUP_FOR
2158 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2159 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2161 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2163 * libspi/relation.c (spi_init_relation_type_table):
2164 Add line for RELATION_POPUP_FOR
2166 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2168 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2169 there are still windows which have not been deleted and emit
2170 window:deactivate, if necessary and window:destroy events.
2171 This fixes bug #114370. The change on June 5th was not correct.
2173 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2175 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2178 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2180 New methods for client exception handling and interception.
2181 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2182 (SPI_exceptionHandlerPop): You guessed it...
2183 (SPI_getSourceType): Return the type of object which offended.
2184 (SPI_getExceptionCode): Return an enum code telling, possibly,
2185 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2186 (SPIAccessibleException_getSource): get the source object for
2187 exceptions that come from Accessibles, if SPIExceptionSourceType is
2188 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2189 (SPIException_getDescription): New, returns a string description of
2190 the problem. [Not yet a stable ABI, strings are not frozen]
2192 * cspi/spi-private.h:
2193 Added implementation details of opaque SPIException
2197 Implementations of above. Also
2198 (_cspi_exception_throw): new private method that
2199 dispatches exceptions to handlers, called from cspi-bonobo.c
2201 * cspi/bonobo/cspi-bonobo.c:
2202 (cspi_check_ev): call _cspi_exception_throw.
2203 Don't print a warning message if the exception has been
2204 handled by _cspi_exception_throw.
2206 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2208 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2209 there are still windows which have not been deleted and emit
2210 window:deactivate, if necessary and window:destroy events.
2211 This fixes bug #114370.
2213 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2216 (cspi_accessible_is_a): Make non-fatal
2217 if the object reference is dead.
2219 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2221 * cspi/spi_main.c: #include <stdio.h>
2222 * test/simple-at.c: ditto
2223 * test/event-listener-test.c: ditto
2224 * test/screen-review-test.c: ditto
2226 2003-05-30 Michael Meeks <michael@ximian.com>
2228 * test/test-simple.c (main): use CORBA_ORB_perform_work
2229 instead of an unnecessary linc_ call.
2231 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2233 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2234 Add SPI_STATE_INDETERMINATE.
2236 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2239 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2241 * libspi/stateset.c (init_state_type_tables): Add support for
2244 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2246 * configure: Update versions of atk and gail required.
2247 This fixes bug #113268.
2249 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2251 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2253 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2255 * libspi/Makefile.am:
2256 Ensure headers are generated before being used by c sources.
2258 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2261 Simplified lt versioning rules.
2262 Incremented version to 1.3.0, to indicate that we're on the
2263 unstable branch now.
2265 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2267 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2268 Add MKDB_OPTIONS=--outtput-format=xml
2270 * docs/reference/cspi/at-spi-cspi-docs.sgml
2271 docs/reference/idl/at-spi-idl-docs.sgml:
2272 Convert to Docbook XML.
2274 This fixes bug #111793.
2276 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2278 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2279 AcccessibleKeyEventType, AccessibleKeyMaskType.
2281 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2283 * cspi/state-types.h: Add documentation for AccessibleState.
2285 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2286 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2287 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2288 AccessibleComponentLayer.
2290 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2293 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2295 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2296 Accessible. Add description of AccessibleEvent,
2297 AccessibleEventListenerCB.
2299 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2302 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2303 documentation. Add description of AccessibleKeystrokeListenerCB,
2304 AccessibleKeyEventMask, AccessibleModifierMaskType,
2305 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2306 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2308 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2311 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2314 This fixes bug #104730.
2316 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2318 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2319 Set is_text field of Accessibility_DeviceEvent data structure.
2321 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2322 is-text field of AccessibleDeviceEvent data structure.
2324 This addresses part of bug #108666.
2326 * registryd/devcieeventcontroller.c: Unset debug option.
2328 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2330 * cspi/accessible.c:
2331 (cpi_initial_relation_type_table): New function which initializes
2332 mapping between Accessibility_RelationType and AccessibleRelationType.
2333 (cspi_relation_type_from_spi_relation_type): New function which
2334 translates an Accessibility_RelationType into an AccessibleRelationType.
2335 (AccessibleRelation_getRelationType): Use
2336 cpi_relation_type_get_spi_relation_type to return correct value.
2337 (spi_state_to_corba): Return correct type for default case.
2339 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2340 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2342 * cspi/cspi-bonobo-listener.c:
2343 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2346 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2347 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2348 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2349 libspi/image.c, libspi/listener.c, libspi/selection.c,
2350 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2351 registryd/desktop.c, registryd/registry.c:
2352 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2354 * libspi/eventlistener.c
2355 Remove semicolon after BONOBO_TYPE_FUNC.
2357 * libspi/relation.c:
2358 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2359 (spi_init_relation_type_table): Initialize using correct type.
2361 * registryd/desktop.c:
2362 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2363 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2364 of Accessibility_KeyEventType.
2366 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2369 * tests/simple-at.c, tests/screen-review-test.c:
2370 Add include for <strings.h>.
2372 * tests.stress-test.c:
2373 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2375 These changes fix compiler warnings when using FORTE compiler on
2376 Solaris; fixes bug #107479.
2379 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2382 * configure.in: revved to 1.1.10
2384 * libspi/keymasks.h:
2385 (SPI_KEYMASK_NUMLOCK): Added.
2387 * registryd/deviceeventcontroller.c:
2388 (spi_key_event_matches_listener): AND with a smaller
2389 bitmask (as we should).
2390 (spi_dec_translate_mask):
2391 New method, sets the virtual NumLock modifier bit
2392 if numlock is on. Eventually it can handle other virtual
2393 modifier bits if needed, or other marshalling from
2394 at-spi modifier masks to platform (X) masks.
2395 (spi_dec_key_listener_new):
2396 Call spi_dec_translate_mask to set up virtual mod bits
2397 in the 'mask' field when creating a new listener struct.
2398 (spi_dec_emit_modifier_event):
2399 Set the virtual (i.e. NumLock) bits before emitting event.
2400 (spi_controller_register_with_devices):
2401 Query for the NumLock modifier 'physical' bit if Xkb is
2402 present, for use in above methods.
2406 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2408 * registryd/deviceeventcontroller.c:
2409 (spi_keystroke_from_x_key_event):
2410 Instead of checking to see if the keysym is
2411 printable, check the string from XLookupString
2412 if available, get the first unicode character from it,
2413 and call g_unichar_isprint to determine whether the
2414 is_text flag should be TRUE or FALSE.
2418 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2420 * atk-bridge/bridge.c: Add support for extended events
2421 * cspi/spi_event.c: Add documentation and implementation for
2423 * tests/event-listener-test.c: Add tests for extended events.
2425 This fixes bugs #100424 and #100426.
2427 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2429 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2430 of LT_CURRENT. This fixes bug #89350.
2432 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2434 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2435 number of signal parameter values before accessing them. This fixes
2438 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2440 * configure.in: Fixed duplicate inclusion of -lspi.
2441 * branched for gnome-2-2/HEAD.
2442 [created tag "gnome-2-2"]
2444 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2446 * configure.in: 1.1.9 release.
2449 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2451 [needed by GOK, to fix bugs 107985 and 107988]
2452 * registryd/deviceeventcontroller.c:
2453 (spi_dec_clear_unlatch_pending):
2454 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2455 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2456 (spi_dec_init_mouse_listener):Emit warning if mouse button
2458 (spi_device_event_controller_forward_mouse_event):
2459 Removed unnecessary parens from a conditional.
2460 (global_filter_fn):Added TODO comment.
2461 (impl_generate_keyboard_event):
2462 Cancel a pending relatch if a 'delatching' key was
2465 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2467 * atk-bridge/bridge.c:
2468 Change atk_signal_child_changed to atk_signal_children_changed.
2469 Reorganize code in spi_atk_bridge_signal_listener().
2471 * test/event-listener-test.c:
2472 Add children_changed_listener and report_children_changed_event()
2473 to test AccessibleChildEvent_getChildAccessible.
2475 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2477 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2478 g_strdup to CORBA_String_dup (bug #105291)
2480 * test/event-listener-test.c (report_text_event): Add call to
2483 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2485 * registryd/deviceeventcontroller.c:
2486 (spi_keystroke_from_x_key_event):
2487 Fix string and keysym return codes to match modifier state.
2490 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2492 * registryd/deviceeventcontroller.c:
2493 (spi_keystroke_from_x_key_event):
2494 Fix segv due to improper use of isprint(c). [bug #107254]
2496 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2499 (get_accessible_text_boundary_type):
2500 Move default return value to (new) default case in switch.
2501 (get_accessible_text_clip_type):
2502 Move default return value to (new) default case in switch.
2504 * libspi/application.c:
2505 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2506 Remove unused methods.
2507 (impl_accessibility_application_register_object_event_listener):
2508 Remove unused methods.
2511 Added #include of <math.h>.
2513 * registryd/deviceeventcontroller.c:
2514 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2515 we don't currently use this method.
2516 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2518 (impl_generate_key_event):
2519 Remove unused variables.
2520 (impl_generate_mouse_event):
2521 Initialize button to zero, just in case we get an invalid
2522 input. Added support for mouse buttons 4 and 5.
2523 (spi_device_event_controller_new):
2524 Removed unused variable declaration for 'private'.
2526 Added #include of <gdk/gdk.h>
2528 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2530 * configure.in: Update to work when X is not installed in expected
2531 location. Fixes bug #105836.
2533 * atk-bridge/bridge.c
2534 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2536 (spi_atk_register_event_listener): Add signal listener for
2538 (spi_atk_bridge_signal_listener): Event event when link-selected
2539 signal is emitted. (bug #104622)
2541 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2542 on returned string. (bug #105291)
2544 * test/event-listener-test.c: Add test for link-selected.
2546 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2548 * atk-bridge/Makefile.am: Correct typo in previous commit.
2550 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2552 * atk-bridge/Makefile.am: Allow for build directory to be different
2553 from source directory
2555 * registryd/Makefile.am: Allow for build directory to be different
2556 from source directory
2560 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2563 Fixed dependencies for libcspi so that libspi gets pulled in
2564 properly. Fixes 104741.
2568 Clean up inline docs a little.
2570 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2572 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2573 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2574 the AtkObject within an SpiDesktop.
2575 This addresses bug #101524.
2577 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2578 Remove call to gdk_init().
2580 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2581 so that Display is set when SpiDesktop is created.
2583 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2585 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2586 This fixes bug #102830.
2588 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2590 * test/test-simple.c: Update to take account of fact that GailButton
2591 now implements AtkText.
2592 (create_text_window): Set name on AtkObject for GtkEntry.
2593 (validate_accessible): Check accessible name before calling test_text().
2595 * libspi/Makefile.am: Fix problem with building outside of source
2596 directory. Bug #98120.
2598 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2599 typo in documentation comments. Bug #94275.
2601 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2603 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2605 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2608 Add includes to avoid compiler warnings on Solaris.
2609 (impl_getRangeExtents): Bug fix.
2611 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2613 Fix for 100944, [API addition approved by Gman and murrayc].
2620 * idl/Accessibility_Text.idl:
2621 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2622 (Text::getRangeExtents): New method for efficient
2623 bounds query of a text range.
2624 (Text::getBoundedRanges): New method for efficient
2625 clipping of text to bounding boxes.
2626 (unImplemented7, unImplemented8):
2627 Removed these padding methods to preserve bincompat.
2630 (impl_getRangeExtents): implementation of new IDL.
2631 (impl_getBoundedRanges): implementation of new IDL.
2632 (SpiTextRect): Internal use struct.
2633 (_spi_text_rect_union): internal method, calculates union of two
2634 SpiTextRect bounding rects.
2635 (_spi_text_range_seq_from_gslist): internal method, allows us
2636 to build our sequence efficiently as a gslist then convert it
2638 (_spi_bounds_contain): internal method, determines whether
2639 a text character is "in" or "out" of a clip rect according to
2640 values of TEXT_CLIP_TYPE.
2641 (spi_text_class_init): Initialize the new methods in the epv.
2644 (AccessibleTextClipType): New enum used by screen review api.
2645 (AccessibleTextRange): New struct used by screen review api.
2646 (AccessibleText_getRangeExtents):
2647 cspi binding for Accessibility_Text_getRangeExtents.
2648 (AccessibleText_getBoundedRanges):
2649 cspi binding for Accessibility_Text_getBoundedRanges.
2650 (AccessibleTextRange_freeRanges): convenience method.
2653 (AccessibleText_getRangeExtents):
2654 cspi binding for Accessibility_Text_getRangeExtents.
2655 (AccessibleText_getBoundedRanges):
2656 cspi binding for Accessibility_Text_getBoundedRanges.
2657 (AccessibleTextRange_freeRanges): convenience method.
2658 (get_accessible_text_clip_type): internal conversion method.
2659 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2661 * registryd/deviceeventcontroller.c:
2662 (spi_dec_mouse_check):
2663 Improved behavior for mouse:abs events
2664 [same granularity as mouse:rel events, and no
2665 events when mouse is idle].
2667 2002-12-16 Michael Meeks <michael@ximian.com>
2669 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2671 * libspi/stateset.c (state_spi_to_atk): split out
2672 ( fix several remote array bounds nasties )
2673 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2674 (impl_remove): make safe from array bounds issues.
2675 (spi_atk_state_from_spi_state): impl.
2677 * libspi/stateset.h (spi_state_set_cache_is_empty):
2678 add a set of wrapper defines to get layering right.
2680 * cspi/spi_accessible.c: update state set stuff to
2683 2002-12-14 Michael Meeks <michael@ximian.com>
2685 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2686 to avoid 2 roundtrips to the registry per key event
2687 (spi_atk_bridge_key_listener): upd.
2688 (deregister_application): release the dec.
2690 * registryd/registry.c (notify_listeners_cb):
2691 bin lots of re-enterant complexity - we no longer
2692 do a round-trip bonobo ref here, ensure that a single
2693 listener's exception failure won't poison all other
2695 (impl_registry_notify_event): bin obvious memory leak.
2697 2002-12-13 Michael Meeks <michael@ximian.com>
2699 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2700 init the ev so the error is meaningful.
2701 (spi_atk_bridge_key_listener): ditto.
2703 * cspi/spi_main.c (cspi_ev): init the ev so we start
2704 with a clean slate, otherwise the first exception
2705 kills us completely.
2707 * cspi/spi_text.c (get_accessible_text_boundary_type):
2708 add a fallthrough for no warnings.
2710 * cspi/spi_registry.c: prune unused warnings.
2712 * cspi/spi_main.c (cspi_object_take): fix
2713 mind-blowing brokenness ( by watching the compile
2716 * cspi/spi_accessible.c (Accessible_getStateSet):
2717 re-impl. to use an AtkStateSet.
2718 (spi_state_type_from_accessible_state),
2719 (init_state_table): bin these.
2721 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2723 (atk_state_set_from_accessibility_state_set): here.
2725 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2726 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2727 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2728 (AccessibleStateSet_add, AccessibleStateSet_remove),
2729 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2730 (AccessibleStateSet_isEmpty): re-write to use a local
2733 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2735 * configure.in: Revved to 1.1.7 (new keymask vals).
2737 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2739 * libspi/keymasks.h:
2740 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2742 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2745 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2746 to compare two CORBA_TypeCodes.
2747 (cspi_internal_event_add): Silence warning from FORTE compiler.
2749 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2750 avoid implicit declaration of functions.
2752 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2754 * atk-bridge/bridge.c:
2755 (spi_atk_bridge_init_event_type_consts): Store signal id for
2756 active-descendant-changed signal.
2757 (spi_atk_register_event_listeners): Add signal listener for
2758 active-descendant-changed signal,
2759 (spi_atk_bridge_signal_listener): Move code in function
2760 spi_atk-signal_emit_event() into this function.
2761 Add support for active-descendant-changed
2762 Update support for child-changed signal.
2763 (spi_bridge_window_event_listener): Silence warning.
2765 * libspi/spi_private.[ch]:
2766 (spi_init_any_object): Change second parameter from CORBA_Object to
2768 Omit call to CORBA_Object_duplicate().
2769 Set CORBA_any's _value to CORBA_Object*.
2771 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2777 (AccessibleEvent_ref, AccessibleEvent_unref):
2778 New methods, for persisting an event outside the emission context.
2779 Must be used if the new accessor methods are to be called
2780 outside of the event listener's callback.
2782 * cspi/bonobo/cspi-bonobo.c:
2783 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2784 as second parameter instead of NULL, so we can call
2785 cspi_check_ev afterwards.
2788 (cspi_object_take): New internal method,
2789 converts a CORBA_Object reference to a hard ref on
2790 an Accessible if possible, returning NULL if the object
2791 reference is invalid or an Accessible * otherwise.
2794 (AccessibleEvent_ref):
2795 Increment the event's internal private refcount, and
2796 add the event's internal struct to an internal cache
2797 if it's not already there.
2798 (AccessibleEvent_unref):
2799 Decrement the event's refcount and remove it from
2800 the cspi event cache if refcount==0.
2801 (cspi_event_compare): New private method.
2802 Compares two event structs via their ids. Used
2804 (cspi_internal_event_lookup): New private method.
2805 (cspi_internal_event_check): New private method,
2806 a 0-order sanity check for events to make sure their
2807 private data is intact.
2808 (cspi_internal_event_add, cspi_internal_event_remove):
2809 New private methods for managiing the event cache.
2811 * cspi/bonobo/cspi-bonobo-listener.c:
2813 Initialize the new private data elements (id, magic, ref_count).
2815 * atk-bridge/bridge.c:
2816 (spi_atk_bridge_signal_listener):
2817 Fixed bug #100530, passing wrong params to emission func.
2819 * registryd/deviceeventcontroller.c:
2820 (spi_dec_button_update_and_emit):
2821 Fixed type in mask bit operations; fix for #99799.
2823 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2825 Removed some of the more dangerous workarounds from
2826 previous commit; they are only needed by GOK, which
2827 in reality should be using another method to accomplish
2828 the goals. So on reconsideration some of the workarounds
2829 need to be reverted:
2831 * registryd/deviceeventcontroller.c:
2832 (spi_keycodes_contain, spi_dec_init_keycode_list):
2833 Removed these methods, used only by a nasty hack to try
2834 and detect whether a key synthesis should be allowed
2835 to reset the XKB latch state or not. This code was only
2836 required to work around an interaction between GOK,
2837 button events, and XKB.
2838 (impl_generate_key_event):
2839 Removed hack at end of key generation that tried to
2840 "do the right thing" if XKB latch keys were generated
2841 in the midst of button press/release pairs.
2844 Added a check for HAVE_XINPUT. Not normally used yet.
2846 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2848 Workarounds and fixes for mouse event/XKB interaction.
2850 * registryd/deviceeventcontroller.c:
2851 (spi_keycodes_contain, spi_dec_init_keycode_list):
2852 New internal methods.
2853 (spi_dec_set_unlatch_pending):
2854 Split the method that tells XKB to expect an
2855 unlatch (and revert it) out of the rest of the
2856 event handling code. This method is called by the
2857 two mouse event handlers (the poll and the filter).
2858 (spi_dec_update_and_emit, spi_dec_mouse_check):
2859 New methods split from spi_dec_poll_mouse_moved.
2860 The second one is now called from inside the filterFn
2861 when an XKB delatch event is received, to determine
2862 whether to revert the delatch or not.
2863 (spi_poll_mouse_moved): Refactor; also we can now
2864 properly handle the case where multiple button states
2865 have changed between polling cycles and we didn't get
2866 notified due to another client's grab.
2868 Synchronize the server while handling an XKB notification.
2869 Ugly, but apparently necessary to avoid nasty races.
2870 Check the mouse state on receipt of an XKB latch change,
2871 to decide whether to revert the latch or not. (Latches are
2872 reverted if there is an immediately preceding mouse button
2873 event that a client has consumed, in which case we don't want
2874 the user to see the side-effect of the event).
2875 (spi_device_event_controller_forward_mouse_event):
2876 Check for modifier events and fire before resetting mouse_mask_state,
2877 prevents losing modifier events.
2879 (impl_generate_keyboard_event):
2880 If we've just generated a keyboard event for a non-shift key,
2881 we don't want to revert the pending XKB latch.
2882 Otherwise, check the modifier state (via a call to
2883 spi_dev_mouse_check) and set the relatch mask to
2884 that state before returning.
2886 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2889 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2892 * atk-bridge/bridge.c:
2893 (spi_atk_register_event_listeners):
2894 Don't re-register for ATK events if the registry has died
2895 and the app needs to re-register; the ATK listeners are in
2896 process and doing so will cause duplicate emission.
2898 * registryd/deviceeventcontroller.c:
2899 (spi_poll_mouse_moved):
2900 Reformat the source, detect and emit multiple button-change
2901 events (i.e. if multiple buttons have changed between poll
2903 Add code to detect mouse-down events even when the pointer
2904 is grabbed; workaround for GOK bug 98420.
2905 (spi_controller_register_with_devices):
2906 Call XTestGrabControl with 'impervious' flag set to True,
2907 allows us to synthesize events and query the pointer even during
2908 an active grab by another client.
2909 (spi_device_event_controller_forward_mouse_event):
2910 Set the mouse_mask_state to the mouse_button_state from
2911 the intercepted event, to synchronize the grab listener with
2914 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2916 * cspi/spi_accessible.c:
2917 (AccessibleRole_getName):
2918 Added necessary strings for making this (deprecated)
2919 method work with the new role types.
2920 (init_role_table, role_table):
2921 Added definition of SPI_ROLE_APPLICATION.
2923 * libspi/spi-roletypes.h:
2924 Added SPI_ROLE_APPLICATION.
2926 * idl/Accessibility_Role.idl:
2927 Added ROLE_APPLICATION.
2929 * docs/reference/cspi/at-spi-cspi-decl.txt:
2930 Added SPI_ROLE_APPLICATION to docs.
2932 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2934 * cspi/spi_accessible.c
2935 (cspi_init_role_table): Do not write beyond end of role_table.
2936 (Accessible_getRole): Use correct type for value returned by
2937 Accessibility_Accessible_getRole().
2939 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2940 beyond end of role_table. (This fixes bug #98269)
2942 * libspi/application.c: Add include file spi-private.h for
2943 definition of spi_init_any_nil.
2945 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2949 * libspi/spi-private.h:
2950 Added DGB() macro, and extern int _dbg declaration.
2952 * registryd/registry.c:
2953 (definitions) storage for _dbg.
2954 (spi_registry_init):
2955 Get environment variable "AT_SPI_DEBUG".
2956 (spi_registry_set_debug):
2957 New method, to initialize _dbg value.
2958 (spi_listener_struct_new, spi_registry_object_finalize):
2959 (notify_listeners_cb):
2960 Changed fprintfs to use DBG and g_warning().
2962 * registryd/deviceeventcontroller.c:
2963 (_deregister_keygrab, spi_controller_register_device_listener):
2964 Changed debug/warning messages to use DBG macro.
2966 * libspi/listener.c:
2967 (impl_notify_event):
2968 Changed warning messages to use DBG macro and g_warning().
2970 * atk-bridge/bridge.c:
2971 (atk_bridge_init, spi_atk_bridge_get_registry):
2972 (spi_atk_bridge_exit_func):
2973 (spi_atk_bridge_property_event_listener):
2974 Changed status, warning, and error messages to use
2975 g_warning, g_message, and DBG macros.
2978 Read the state of the AT_SPI_DEBUG environment variable
2979 and set a local '_dbg' accordingly.
2981 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2983 FIXES for 98836, 98842, other bugs.
2986 Revved to 1.1.4, interface-age=4, binary-age=4.
2988 * registryd/deviceeventcontroller.c:
2990 Fixed crasher bug in last_mouse_pos initialization.
2992 * registryd/registry.c:
2993 (desktop_add_application, desktop_remove_application):
2994 Added (and then commented out) some support for
2995 object context marshalling. [TODO]
2997 * atk-bridge/bridge.c:
2998 (spi_atk_bridge_event_context_create):
2999 Commented out object context creation until it can
3000 be properly tested and debugged.
3002 * registryd/registry.c:
3003 (impl_registry_notify_event):
3004 Fixed crasher bug, we were calling
3005 spi_re_entrant_list_foreach () with an empty list.
3007 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3009 * idl/Accessibility_Action.idl:
3010 * idl/Accessibility_Component.idl:
3011 * idl/Accessibility_Desktop.idl:
3012 * idl/Accessibility_Event.idl:
3013 * idl/Accessibility_Hyperlink.idl:
3014 * idl/Accessibility_Image.idl:
3015 * idl/Accessibility_Relation.idl:
3016 * idl/Accessibility_Selection.idl:
3017 * idl/Accessibility_State.idl:
3018 * idl/Accessibility_Value.idl:
3019 Updated unimplemented slot count to minimum of
3020 four for all interfaces, for ABI freeze.
3022 * idl/Accessibility_EditableText.idl:
3023 * idl/Accessibility_Text.idl:
3024 Updated unimplemented slot count to six
3027 * idl/Accessibility_Registry.idl:
3028 Updated unimplemented slot count to six
3029 (also for DeviceEventController),
3032 * idl/Accessibility_Table.idl:
3033 Updated unimplemented slot count to eight,
3036 * idl/Accessibility_Event.idl:
3037 Added CORBA_any "any_data" member to Event struct.
3039 * idl/Accessibility_Event.idl:
3040 Added CORBA_any "any_data" member to Event struct.
3042 * atk-bridge/bridge.c:
3044 atk_signal_text_changed, atk_signal_child_changed,
3045 signal ids queried from gtype system.
3046 (AtkBridgeEventContextType): New enum.
3047 (AtkBridgeEventContextData): New struct.
3048 (AtkBridgeEventContext): New struct.
3049 (atk_bridge_init_event_type_consts):
3050 New method, initializes type contants for comparison
3051 prior to emit_eventv.
3052 (atk_bridge_event_context_init): New method,
3053 initializes a CORBA_any from an AtkBridgeEventContext.
3054 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3055 initialize the event.any_data struct.
3056 (spi_atk_bridge_event_context_create): New method,
3057 creates an AtkBridgeEventContext from signal/event info.
3058 (spi_atk_bridge_event_context_free): New method.
3059 (spi_atk_emit_eventv): Changed to take an
3060 AtkBridgeEventContext parameter. We now initialize
3061 the event.any_data member prior to notifying the
3062 Registry, via the AtkBridgeEventContext.
3063 (spi_atk_bridge_property_event_listener):
3064 (spi_atk_bridge_state_event_listener):
3065 Match emit_eventv signature.
3066 (spi_atk_bridge_object_event_listener):
3067 Match emit_eventv signature, and create an
3068 event context from the event details.
3069 Free the event context afterwards.
3070 (spi_atk_bridge_window_event_listener):
3071 Create an event context, pass it to the
3075 (AccessibleEvent_getContextString):
3076 (AccessibleEvent_getContextObject):
3077 New methods, allow query of AccessibleEvent objects
3078 for more context details (via the "any_data" member
3079 of the Event struct, above).
3082 Definitions for AccessibleEvent_getContextString
3083 and AccessibleEvent_getContextObject.
3085 * cspi/spi_listener.h:
3086 (InternalEvent): New struct.
3089 (AccessibleEvent_getContextString):
3090 (AccessibleEvent_getContextObject):
3091 Implementations of new methods, for obtaining
3092 additional context information from some event types.
3094 * cspi/spi_registry.c:
3095 (SPI_registerGlobalEventListener):
3096 Added mention of active-descendant-changed event in docs.
3098 * cspi/cspi-bonobo-listener.c:
3100 Marshal the any into the AccessibleEvent via
3103 * libspi/spi-private.h:
3104 #include <orbit/orbit.h>
3106 (spi_init_any_string):
3107 (spi_init_any_object):
3108 New convenience function declarations.
3112 (spi_init_any_string):
3113 (spi_init_any_object):
3114 New convenience function implementations.
3116 * registryd/deviceeventcontroller.c:
3117 (spi_poll_dec_mouse_moved):
3118 (spi_device_event_controller_forward_mous_event):
3119 Initialize any_data member of event.
3120 (spi_deregister_controller_device_listener):
3121 Fix incorrect param pass which was preventing deregistration.
3123 * registryd/registry.c:
3124 (desktop_add_application):
3125 (desktop_remove_application):
3126 Add object data to event's any_data before dispatch.
3128 Fix for error messages from GAIL.
3130 * test/event-listener-test.c:
3131 Test new ContextString and "any_data" API:
3132 (report_text_event): New method query and output context string.
3133 (main): register a new text listener with report_text_event
3136 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3138 Fixes for bugs 98127 and 97914.
3139 * cspi/spi-roletypes.h:
3140 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3142 * cspi/spi-statetypes.h:
3143 Added SPI_STATE_MANAGES_DESCENDANTS
3145 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3146 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3147 * cspi/spi_accessible.c:
3148 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3149 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3150 Accessibility_STATE_MANAGES_DESCENDANTS
3151 * libspi/accessible.c:
3152 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3153 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3154 As requested by Bill, I also cleaned up the alignment.
3155 * libspi/relation.c:
3156 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3157 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3158 * libspi/stateset.c:
3159 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3160 Accessibility_STATE_MANAGES_DESCENDANTS
3161 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3162 Document changes reflecting modifications to roles.
3163 * docs/reference/cspi/tmpl/spi_relation.sgml:
3164 Document changes reflecting modifications to relations.
3165 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3166 Document changes reflecting modifications to states.
3168 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3171 Revved to 1.1.3, interface-age=3, binary-age=3.
3172 Added REBUILD macro.
3175 Removed accessx-gui from the tests, since we have a nice
3176 keyboard accessibility capplet now :-)
3178 * test/keysynth-demo.c:
3179 (increment_scan): removed do-nothing default: case,
3182 * test/visual-bell.c:
3183 (main) : removed do-nothing default: case,
3186 * cspi/spi_action.c:
3187 (AccessibleAction_getKeyBinding_):
3188 Documented keybinding string format.
3192 (AccessibleText_getAttributes):
3193 Documented the text attribute string format.
3194 It's changed to use semicolon delimiters also,
3195 to prevent clashes with CSS attributes, but the old
3196 trick of looking for ", " strings will still work
3197 (as unreliably as ever). Fix for bug related to 97916.
3200 Include <cspi/bonobo/cspi-bonobo-listener.h>
3201 Fixes build warning.
3202 (SPI_freeAccessibleKeySet):
3203 (AccessibleKeystrokeListener_addCallback):
3204 (AccessibleKeystrokeListener_removeCallback):
3205 Modify to use AccessibleDeviceListener API internally,
3206 instead of AccessibleKeystrokeListener.
3208 * idl/Accessibility_Event.idl:
3209 Added two more empty slots to EventListener (for a total of four).
3211 * idl/Accessibility_Accessible.idl:
3212 Added four empty slots to Accessible interface.
3214 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3216 * idl/Accessibility_Registry.idl:
3217 (KeyEventType, EventType):
3218 Marked KeyEventType as deprecated; it duplicates
3219 functionality of EventType, which has been extended to
3220 include Mouse-button events.
3221 (KeyEventTypeSeq): defined in terms of EventType.
3222 (registerDeviceEventListener, deregisterDeviceEventListener):
3223 New methods, for managing listeners to device events,
3224 which potentially may consume them.
3227 Added definition for AccessibleDeviceListener.
3229 * cspi/spi-listener.h:
3230 (enum AccessibleDeviceEventType):
3231 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3232 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3233 for backwards compat.
3234 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3235 and typedef'd AccessibleKeystroke to it for back-compat.
3236 (AccessibleDeviceListenerCB):
3237 New function prototype typedef.
3240 (AccessibleDeviceEventMask): New typedef.
3241 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3242 (AccessibleKeyMaskType):
3243 Set equivalent to AccessibleModifierMaskType for back-compat.
3244 (SPI_createAccessibleKeystrokeListener):
3245 (AccessibleKeystrokeListener_unref):
3246 Deprecated in favor of equivalent (better-named) new API below..
3247 keystroke listeners are like all device listeners.
3248 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3249 New API names for old features :-).
3250 (AccessibleDeviceListener_addCallback):
3251 (AccessibleDeviceListener_removeCallback):
3252 (SPI_registerDeviceEventListener):
3253 (SPI_deregisterDeviceEventListener):
3257 (SPI_createAccessibleKeystrokeListener):
3258 Use new preferred API, cspi_device_listener_new() and
3259 cspi_device_listener_add_cb().
3260 (AccessibleKeystrokeListener_removeCallback):
3261 Use new preferred API, cspi_device_listener_remove_cb().
3262 (AccessibleKeystrokeListener_unref):
3263 Use new preferred API, cspi_device_listener_unref().
3264 (SPI_createAccessibleDeviceListener):
3265 (AccessibleDeviceListener_addCallback):
3266 (AccessibleDeviceListener_removeCallback):
3267 Implementation of new API.
3269 * cspi/spi_registry.c:
3270 (SPI_registerDeviceEventListener):
3271 (SPI_deregisterDeviceEventListener):
3272 Implementation of new API. Fixed memory leak and removed need to
3273 allocate EventTypeSeq (thanks Michael for catching this).
3274 Squashed a wayward CORBA_exception_free that shouldn't get called.
3276 * cspi/bonobo/cspi-bonobo-listener.c:
3278 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3279 (cspi_key_event): renamed to cspi_device_event().
3280 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3281 Extended to handle mouse button events as well as key events.
3282 (CSpiKeystrokeListener):
3283 Class superceded by CSpiDeviceListener.
3284 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3285 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3287 * cspi/bonobo/cspi-bonobo-listener.h:
3288 (CSpiKeystrokeListener):
3289 Class superceded by CSpiDeviceListener.
3290 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3291 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3293 * libspi/Makefile.am:
3294 Replaced keystrokelistener.h and keystrokelistener.c
3295 with devicelistener.h and devicelistener.c; keystrokelisener.h
3296 stub retained for back-compat.
3298 * libspi/keystrokelistener.c:
3302 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3304 * registryd/deviceeventcontroller.c:
3305 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3306 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3307 (DEControllerPrivateData): Added xkb settings data.
3308 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3309 button release events (which can't be captured via XGrabButton).
3310 Don't dispatch via the 'normal' event mechanism if the device event was
3312 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3313 Handle the typeseq data in its new location (see above).
3314 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3315 New methods, for "generic" device listeners.
3316 (spi_controller_register_device_listener):
3317 Now handle mouse event listeners as well as key listeners.
3318 (spi_controller_notify_mouselisteners):
3319 New internal method.
3320 (spi_device_event_controller_forward_mouse_event):
3321 Now we notify mouse device listeners as well as generating the
3322 non-consumable "mouse:" events.
3324 We must check and restore the XKB
3325 modifier map if we consume the event, since the act of triggering
3326 a mouse event will normally reset the XKB latch. This is required for
3328 (spi_controller_register_with_devices):
3329 Load the XKB settings when registering, and register for XKB
3330 state notify events.
3331 (spi_key_eventtype_seq_contains_event):
3332 Renamed spi_eventtype_seq_contains_event, since it's used
3333 internally for all device event types now.
3334 (spi_key_event_matches_listener):
3335 Uses spi_eventtype_seq_contains_event now.
3336 (spi_device_event_controller_object_finalize):
3337 Free the private data and the XkbKeyboard struct.
3338 (impl_register_device_listener, impl_deregister_device_listener):
3339 Implementation of new IDL.
3340 (spi_deregister_controller_device_listener):
3341 New internal method.
3342 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3343 More efficient implementation, we don't have to create a new
3344 XkbControls structure every time we query.
3345 (spi_device_event_controller_class_init):
3346 Initialize the epv entries for the new IDL. Assign the
3347 "spi-dec-private" quark.
3348 (spi_device_event_controller_init):
3349 Initialize the private data.
3350 (spi_device_event_controller_forward_key_event):
3351 Removed a bogus CORBA_exception_free() call.
3353 * registryd/deviceeventcontroller.h:
3354 Replaced inclusion of keystrokelistener.h with
3357 * test/event-listener-test.c:
3358 (report_mouse_event):
3361 Added mouse-event device listener.
3363 * test/test-simple.c:
3364 (create_test_window):
3365 Fixed regression (we were instantiating a GtkRange,
3366 which is now an abstract class). Also fixed to match
3367 existing AtkRole names, this seems to have changed in ATK
3368 awhile ago; too late now I think, and the new
3369 mechanism is at least elegant and consistent with the
3370 glib enum "nick" APIs.
3372 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3374 * idl/Accessibility_Relation.idl:
3375 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3376 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3377 * idl/Accessibility_Role.idl:
3378 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3379 * idl/Accessibility_State.idl:
3380 add STATE_MANAGES_DESCENDANTS
3381 * test/event-listener-test.c:
3382 Added a listener for active-descendant events.
3384 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3386 * atk-bridge/bridge.c
3387 (atk_bridge_init): If application is Bonobo component wait until top
3388 level is added before registering
3389 (spi_atk_bridge_do_registration): New function which contains code,
3390 formerly in atk_bridge_init, to do application registration.
3391 (spi_atk_bridge_toplevel_added): Signal called when top level
3392 added to Bonobo component
3394 This fixes bug #83134.
3396 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3398 * registryd/deviceeventcontroller.c
3399 Fixed compilation error caused by calling gettimeofday()
3402 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3407 Added template for HAVE_XKB.
3410 Changes to check for XKB, and to set the HAVE_XKB #define if it
3413 * libspi/listener.c:
3414 ()impl_notify_event): Make failure to get event source name
3417 * registryd/deviceeventcontroller.c:
3418 (#include): include X11/XKBlib.h.
3419 (DEControllerPrivateData) : New struct.
3420 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3422 (dec_synth_keycode_press) (dec_synth_keycode_release):
3423 New methods; split the key synthesis code into these methods.
3424 They check XKB settings before determining the "time" values to
3425 pass to Xtest; this fixes bug #95828.
3426 (impl_generate_keyboard_event): Changed to use methods above,
3427 instead of callng Xtest directly.
3428 (spi_device_event_controller_init): Initialize new privae struct s
3430 (spi_device_event_controllr_object_finalize):
3431 Free the (new) private data.
3433 * registryd/deviceeventcontroller.h:
3434 Add new gpointer to end of struct data.
3436 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3439 Incremented revision to 1.1.2, SONAME is still '.so', library
3440 extensions are ".so.0.0.2".
3442 * registryd/deviceeventcontroller.c:
3443 FIXES FOR #93592 and #95940.
3444 (statics): renamed mouse_button_state to mouse_mask_state,
3445 added key_modifier_mask.
3446 (spi_dec_poll_mouse_moved):
3447 Added key modifier checks, and emit "keyboard:modifiers"
3448 events when the key modifiers currently in use change.
3449 Also generate "mouse:abs" events periodically, even if the mouse
3450 is stationary (should we?).
3451 Alternatively we could generate "mouse:abs" events for either all
3452 mouse movements, or every 'nth' mouse movement, or at the
3453 beginning and end of every "active" mouse period.
3455 * test/event-listener-test.c:
3456 (main): Added listener for "keyboard:modifiers" events.
3458 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3460 * libspi/keymasks.h:
3461 Added key mask #defines for mouse buttons; e.g.
3462 SPI_KEYMASK_BUTTON1, etc.
3465 Incremented dependency on ATK to version 1.1.0. (This dependency
3466 is probably premature but will soon be real enough).
3468 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3470 * libspi/hyperlink.[ch]
3471 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3472 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3475 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3480 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3482 * registryd/deviceeventcontroller.c
3483 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3484 events to be ignored.
3485 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3486 keyboard_mode so that XAllowEvents() can be called.
3490 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3492 * cspi/spi-accessible.c: Correct names of roles returned by
3493 AccessibleRole_getName(). Fixes bug #95055.
3495 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3497 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3500 * registryd/registry.c
3501 (desktop_remove_application: Write diagnostic message to stderr for
3504 (impl_accessibility_registry_deregister_global_event_listener):
3505 Correct size of lists array. This addresses bug #94555).
3507 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3509 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3512 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3514 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3517 * registryd/registry.c (impl_registry_notify_event): Remove
3518 unnecessary call to parser_event_type().
3520 * docs/reference/cspi/tmpl/spi_component.sgml:
3521 Add reference to SPI_LAYER_WINDOW.
3523 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3525 * registryd/registry.c
3526 (desktop_add_application): Remove leak.
3527 (desktop_remove_application): Remove leak.
3528 (parser_event_type): Remove leak.
3530 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3532 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3533 bogus call to CORBA_string_dup(). Also removed unnecessary
3534 g_string_dup/g_free calls.
3536 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3538 * registryd/deviceeventcontroller.c:
3539 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3541 * test/event-listener-test.c:
3542 main: commented out three redundant listeners, to reduce output
3543 noise. (They still are potentially useful for testing).
3546 2002-09-13 Michael Meeks <michael@ximian.com>
3548 * Update all the copyrights to include Ximian.
3550 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3552 * cspi/spi.h: add SPI_LAYER_WINDOW.
3554 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3555 add Accessibility_LAYER_WINDOW case.
3557 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3559 * libspi/component.c: (impl_accessibility_component_get_layer):
3560 add ATK_LAYER_WINDOW case.
3562 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3564 * configure.in: incremented micro version.
3566 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3568 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3571 Clarified and reworded our commit policy.
3574 Started an API "todo" addition list for 2.2.
3577 (impl_getSelection):
3578 Free char pointer from atk_text_get_selection, which was being leaked.
3580 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3583 Small revision to author acknowledgement.
3585 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3587 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3588 If signal has detail add it to the type of the event.
3591 2002-08-12 Michael Meeks <michael@ximian.com>
3593 * test/test-simple.c (global_listener_cb): bin bogosity.
3594 (test_keylisteners): disable, still doesn't work reliably,
3595 certainly not on my system anyway.
3597 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3598 don't leak a reference on the DEC. This round-trip
3599 fetching of the DEC per keystroke sucks, it should be
3602 * cspi/spi-private.h,
3603 * cspi/cspi-lowlevel.h,
3604 * cspi/bonobo/cspi-bonobo-listener.[ch],
3605 * cspi/bonobo/cspi-bonobo.c: get the copyright
3606 notices better - there is still a large amount of
3607 work in at-spi falsely attributed solely to Sun.
3609 * cspi/spi_main.c (cspi_object_ref): kill bogus
3610 hash lookup, just increment the ref.
3611 (SPI_freeString): make explicit the fact that we
3612 handle NULL strings just fine.
3613 (report_leaked_ref): obey coding standards.
3614 (cspi_object_hash, cspi_object_equal): kill retval.
3615 (cspi_object_release): only release if not on loan.
3616 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3617 (cspi_object_borrow, cspi_object_return): impl.
3619 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3620 use cspi_object_borrow / return.
3622 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3624 * cspi/bonobo/cspi-bonobo-listener.c:
3626 Don't call cspi_oject_new() because this is creating a new Accessible
3627 every single time that an event is fired. This causes ATs like at-poke
3628 to nolonger recognise the source of the event and thus ignore it.
3629 Re-use the object from the cache, ref it and then unref it after the
3630 listeners have been called.
3632 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3634 * test/event-listener-test.c:
3635 Added command-line options to disable mouse events (m) and
3638 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3640 * configure.in: Update required versions of ATK, GTK+ and GAIL
3642 * cspi-1.0.pc.in: Add dependency for X include files
3645 * cspi/bonobo/Makefile.am:
3646 Add $(X_CFLAGS) so that X include files
3647 are picked up even if not in standard place (bug #71686)
3649 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3651 * registryd/deviceeventcontroller.c: fix for 84261
3652 (spi_dec_mouse_moved):
3653 Added test of mouse button mask, so that we can detect mouse
3654 button release. Unfortunately we can't otherwise detect mouse
3655 button release events without consuming the mouse press event,
3656 because of the way XGrabButton works. This means that our mouse
3657 release events have a latency dependent on the polling period
3658 while the mouse button is down. At least in this case we only
3659 have to poll while the button is down, and not at other times.
3660 If the button masks don't match with what the last press event
3661 reported, we report the appropriate button release event.
3662 (spi_dec_ungrab_mouse):
3663 New method (not yet called).
3664 (spi_device_event_controller_forward_mouse_event):
3665 New method, sends mouse press event from GdkFilter.
3666 (spi_dec_init_mouse_listener):
3667 Added code to call XGrabButton, redirecting mouse button events to
3668 the root window and our Gdk event loop.
3670 Added code to filter mouse button events, and reordered.
3672 * test/event-listener-test.c:
3674 Added registration for mouse events of type "mouse:button".
3676 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3678 * registryd/deviceeventcontroller.c: partial fix for 84261
3679 (spi_dec_poll_mouse_idle):
3680 New method, a timeout which checks to see if the mouse
3682 (spi_dec_poll_mouse_moving):
3683 A timeout to be called when mouse motion is underway.
3684 (spi_dec_poll_mouse_moved):
3685 A method which fires an event if the mouse has moved, and reports
3686 whether or not it did so.
3687 (spi_dec_init_mouse_listener):
3688 A method which sets up the timeouts above.
3689 (spi_device_event_controller_new):
3690 Now calls spi_dec_init_mouse_listener.
3692 * registryd/registry.c:
3693 (spi_registry_init):
3694 Now we initialize the device event controller when the registry is
3695 initialized, instead of waiting until a client has requested a key
3696 event notification; this is because we need the event controller
3697 for mouse events, but the mouse event registration API is a
3698 "registry" call and doesn't explicitly call the
3699 deviceeventcontroller.
3700 We now report mouse motion events with a 100 ms idle latency and
3701 a 20 ms granularity when motion is in progress.
3703 * test/event-listener-test.c:
3705 We now register the "detail listener" for events of type
3706 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3707 delivered only for the first mouse event received, and thereafter
3708 "mouse:abs" events are delivered.)
3710 * cspi/spi_registry.c:
3711 DOCS: Documented the above mouse event typestrings.
3713 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3715 Happy Summer Solstice...
3717 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3718 (spi_controller_notify_keylisteners):
3719 Changes to remove a listener from the listener list, freeing its
3720 open keygrabs, if a notification to that listener fails. This
3721 means that although a dead listener can continue to hold a passive
3722 keygrab, a maximum of one dispatch to such a listener can fail
3723 before the listener is removed from the list, thus the keygrab
3724 will be released on the next occurrence.
3725 As part of this fix:
3726 (spi_notify_keylisteners):
3727 Renamed to spi_controller_notify_keylisteners, as the controller
3728 instance must now be passed as an argument.
3729 The copied 'notify' GList is now a list of DEControllerKeyListener
3730 objects, since we need more than just the CORBA reference if a
3731 notify fails and we need to deregister the listener.
3732 (impl_notify_listeners_sync):
3733 (impl_notify_listeners_async):
3734 (spi_device_event_controller_forward_key_event):
3735 Modify use of notify_keylisteners in accordance with above
3737 (spi_deregister_controller_key_listener):
3738 New method introduced by refactoring, from
3739 impl_deregister_keystroke_listener.
3740 (impl_deregister_keystroke_listener):
3741 Call spi_deregister_controller_key_listener.
3742 (spi_key_listener_clone):
3743 New method to copy a key listner without doing a 'ref' on the
3744 remote object instance; used to create a notifier list.
3745 (spi_key_listener_data_free):
3746 New method, frees data without unreffing the source.
3748 (spi_key_listener_clone_free): new method.
3749 (spi_key_listener_free):
3750 refactored to call spi_key_listener_data_free.
3752 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3754 * registryd/registry.c: [fix for bug 86048]
3755 (notify_listeners_cb):
3756 Clear CORBA system exceptions which occur when notifying
3757 listeners, before returning to the source of the original event,
3758 since the event source doesn't care if the relayed notify failed.
3759 In other words, don't complain to the atk-bridge if the registry
3760 could not notify all its listeners, that's no fault of the
3761 application and thus should not appear to be an error from the
3762 application's perspective.
3764 * cspi/spi_main.c: [fix for bug 85980]
3766 Replaced use of bonobo_object_dup_ref with call to the wrapper
3767 method, csou_dup_ref (); this silences a compiler warning and
3768 provided more portability.
3770 Ping the registry before return, and restart if necessary.
3772 * cspi/bonobo/cspi-bonobo.c:
3774 New internal method.
3776 Fixed this method to return an object reference, as it should have
3779 * cspi/cspi-lowlevel.h:
3780 Added internal definition for cspi_ping() and fixed
3781 return type of cspi_dup_ref().
3784 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3786 * atk-bridge/bridge.c: [fix for bug 85305]
3787 (spi_atk_bridge_register_application):
3788 New method where the initial application registry calls have been
3789 moved; it allows an application to re-register in response to
3790 certain error conditions (such as a registry restart, see below).
3792 Moved some initialization code to the method
3793 spi_atk_bridge_get_registry, below.
3794 (spi_atk_bridge_get_registry):
3795 New, private accessor function for the Accessibility_Registry
3796 instance. If the registry has not been started before, or has
3797 died (as detected by failure of a CORBA exception), it is
3798 restarted before return, and spi_atk_bridge_register_application
3799 is called again to register with the new bridge instance.
3800 (spi_atk_emit_eventv):
3801 Set registry_died on error; use spi_atk_bridge_get_registry () to
3802 access the registry.
3804 * registryd/registry.c:
3805 (impl_accessibility_registry_register_global_event_listener):
3806 Set listener's event_type_quark to etype.minor instead of
3807 etype.major (fix for bug 84856).
3809 * test/event-listener-test.c:
3810 (report_detail_event):
3811 Change the output string so that user/tester can tell that the
3812 'detail listener' was called instead of the 'generic listener'.
3814 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3816 Fixes for bugs 84900, 84908, 84897, 84898.
3821 Revved version to 1.1.0
3822 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3823 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3825 * idl/Accessibility_Registry.idl:
3826 (EventListener::notifyEvent):
3827 Removed 'oneway' directive after extensive consulation with
3828 ORBit2 team and others. This means also that unref() of the event
3829 source can and should be done synchronously after emission, rather
3830 than remotely in the client, after servicing the notify call on
3833 NOTE: This change speeds up listener performance considerably, but
3834 introduces new latency on the application side. We may want to
3835 add an event queue to the atk-bridge.
3837 * atk-bridge/bridge.c:
3838 (spi_atk_bridge_focus_tracker):
3839 Do a local unref() on the event source after emission.
3841 * registryd/registry.c:
3842 (desktop_remove_application):
3843 Do an unref() on the event source after emission.
3844 (desktop_add_application):
3845 Do an unref() on the event source after emission.
3846 (notify_listeners_cb):
3847 When relaying an event, don't automatically add the event source
3848 to the local object cache, just CORBA_dup it instead. Likewise,
3849 if this method reenters, release the ref rather than calling
3851 (impl_registry_notify_event):
3852 No longer call remote unref() on the event source after dispatch.
3854 * libspi/eventlistener.c:
3855 (impl_accessible_event_notify_event):
3856 Removed remote unref ()
3858 * cspi/bonobo/cspi-bonobo-listener.c:
3860 We now call cspi_object_new() instead of cspi_object_add() on
3861 receipt of an event; thus we only have an implicit object ref
3862 while the cspi_event method is being executed. If we need to keep
3863 a reference to the object, the listener must call ref() on the
3864 object. Thus also we don't need to call cspi_object_unref() after
3865 invoking the listener callbacks in this method.
3869 New internal API for creating a new cspi object, without adding it
3870 to the object cache.
3872 Now uses cspi_object_new() to create the cspi object instance.
3874 Now checks to see if the object is in the internal object cache,
3875 and adds it if necessary before incrementing its refcount (note
3876 that new objects are added with a refcount of 1).
3877 (report_leaked_ref):
3878 New method which gives some information on leaked object instances
3879 if leak detection is turned on.
3881 * test/event-listener-test.c:
3882 (timing_test_event):
3883 New method, used for testing event delivery timing for special
3884 events of type "object:test". It reports elapsed time and
3885 events/sec every 500 events.
3887 Added a new listener, 'test listener', to check timing of event
3888 receipt as noted above.
3890 Added some timing output here also, reports elapsed time every 100
3893 * test/stress-test.c:
3894 Emit events of type "object:test", for use with "event-listener-test".
3896 * test/test-simple.c:
3897 (global_listener_cb):
3898 Call Accessible_ref() on the event source before calling
3899 validate_accessible, since the validation process does pointer
3900 comparisons on the event source, meaning that the event source
3901 needs to be added to the local object cache first. Any use of
3902 such pointer comparisons between Accessible objects requires that
3903 the caller hold an explicit reference to those objects.
3904 We also must therefore call Accessible_unref() when leaving this method.
3906 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3908 * registryd/deviceeventcontroller.c:
3909 (spi_controller_update_key_grabs):
3910 Fix for #84735, subsequent keygrab listeners not informed of
3911 registration failure.
3914 (spi_base_construct):
3915 Add an assertion on construct, to make sure the GObject passed in
3916 is really a GObject.
3918 Explicitly initialize object->gobj pointer to NULL;
3920 * cspi/bonobo/cspi-bonobo-listener.c:
3921 (cspi_object_add_ref):
3922 New method, can specify whether to dup-ref a bonobo object passed
3923 in if it's newly added to the object cache.
3925 Now calls cspi_object_add_ref with second param of "FALSE". This
3926 prevents us from doing a pointless dup-ref followed by
3927 release-unref for all those cases where the object is already in
3928 our object cache (fix for #85205).
3930 * atk-bridge/bridge.c:
3931 (spi_atk_bridge_idle_init):
3932 Removed this method, we don't need to initialize in an idle
3935 Changed to call spi_atk_register_event_listeners directly, not via an
3936 idle handler. (fix for #81139)
3937 (gnome_accessibility_module_shutdown):
3938 Removed conditional around deregistration of listeners, since we
3939 don't use the idle handler and thus have always registered when
3941 (spi_init_keystroke_from_atk_key_event):
3942 Changed references to Accessibility_KEY_PRESSED to
3943 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3945 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3947 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3952 * test/stress-test.c:
3955 (may have been an incomplete commit yesterday?)
3957 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3960 Added target for new stress-test.
3962 * test/stress-test.c:
3963 New test, sends 1000 focus notifies in quick succession.
3965 * test/key-listener-test.c:
3966 Now we report whether a keylistener registration
3967 request succeeded or failed.
3969 * test/event-listener-test.c:
3970 Uncommented some listeners which are now implemented.
3973 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3975 * registryd/deviceeventcontroller.c:
3976 (spi_controller_update_key_grabs):
3977 Fix for #82509, lack of failure notification when
3978 ALL_WINDOWS keygrabs fail due to XGrabKey
3979 failure: we synchronize the server when
3980 registering a passive grab, to make sure we get the
3981 error message before the call returns.
3983 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3985 * test/test-simple.c:
3987 Removed #ifdef KEY_IMPL_WORKS guards.
3988 (test_keylisteners):
3989 Removed #ifdef KEY_IMPL_WORKS guards.
3990 Fixed bug which was causing a hang waiting for a
3991 "press" event (which was already overwritten by a "release"
3992 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3994 Added code to set globals 'key_press_received' and
3995 'key_release_received'.
3998 Added section "1.1 API Proposed Additions" which
3999 lists API additions desired for at-spi-1.1 (only one so far).
4000 Updated TODO list a little.
4002 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4004 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4007 * configure.in: Revved to 1.0.0.
4009 * idl/Accessibility_Registry.idl:
4010 (registerKeystrokeListener):
4011 Added boolean return value.
4013 * registryd/registry.c:
4014 (notify_listeners_cb): Minor fix to debug output.
4016 * registryd/Accessibility_Registry.server.in.in:
4017 Revved version number in OAFIID to 1.0.
4019 * registryd/registryd.c:
4021 Use new OAFIID version.
4023 * cspi/bonobo/cspi-bonobo.c:
4025 Use new OAFIID version.
4031 * atk-bridge/bridge.c:
4033 Use new OAFIID version.
4035 * registryd/deviceeventcontroller.c:
4036 (impl_register_keystroke_listener):
4037 Added CORBA_boolean return value.
4038 (spi_controller_register_device_listener):
4039 Added gboolean return value.
4040 (spi_controller_register_global_keygrabs):
4041 Added gboolean return value.
4042 (spi_key_set_contains_key):
4043 Added implementation for many more control keys,
4044 for instance F1-F12, arrow keys, End, Home, Page_Up,
4046 [TODO: some still not implemented].
4048 * text/screen-review-test.c:
4049 (text_chunk_pad_string):
4050 New function: it provides mapping between coordinate
4051 positions of text chunks and character positions in the
4052 screen-review-line output string.
4053 (text_chunk_to_string):
4054 New function, calls text_chunk_pad_string with various
4055 pad/delimiter characters. Pushbuttons are delimited with
4056 square brackets, Frames with vertical 'pipe' lines, and
4057 other text with double quotes.
4058 (text_chunk_list_to_string):
4059 Calls new function text_chunk_to_string.
4060 (toplevel_composite):
4061 New function to composite layers CANVAS through
4062 POPUP in each toplevel (other layers are composited
4063 across toplevels, i.e. BACKGROUND and OVERLAY).
4064 (review_buffer_composite):
4065 Revise to use new methods.
4071 2002-05-31 Laszlo Peter <laca@sun.com>
4073 * configure.in: add the Xtst libdir to the runpath on Solaris,
4074 since it's not in the default library search path.
4076 2002-05-29 jacob berkman <jacob@ximian.com>
4078 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4080 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4082 * test/screen-review-test.c:
4083 (text_chunk_pad_string):
4084 Added method, which pads the string according to the
4085 text bounds of the chunk. It also takes a 3-character
4086 string as a param which indicates the characters to be
4087 used for start, padding, and end delimitation of the chunk.
4088 (text_chunk_to_string):
4089 Changed to use text_chunk_pad_string.
4091 * configure.in: Fixed bug in AC_OUTPUT that was
4092 causing path substitution in Accessibility_Registry.server
4095 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4097 * text/screen-review-test.c:
4098 (guess_string_clip):
4099 New method which attempts a best-guess at clipping
4100 text from components (like Java labels) which don't
4101 actually implement AccessibleText. This inaccurate
4102 clip is based on the assumption that the label is
4103 justified left-and-right, and monospaced.
4104 (text_chunk_get_clipped_string):
4105 We now call guess_string_clip() for text-containing
4106 components that don't implement AccessibleText.
4108 * test/screen-review-test.c:
4109 (review_buffer_get_text_chunk):
4110 We now pull "name" from labels if they do not implement
4111 AccessibleText (i.e. for Java labels).
4112 (get_screen_review_line_at):
4113 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4116 Replaceded AC_OUTPUT target
4117 registryd/Accessibility_Registry.server with
4118 registryd/Accessibility_Registry.server.in.
4120 * registryd/Accessibility_Registry.server.in:
4121 Removed (this is now a Makefile target).
4123 * registryd/Accessibility_Registry.server.in.in:
4124 Added (source for target above). We now use $(libexecdir) as
4125 prefix for the executable at-spi-registryd.
4127 * registry/Makefile.am:
4128 Now install at-spi-registryd into $(libexecdir), and build .server
4129 file with path (see above).
4131 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4133 * test/screen-review-test.c:
4134 (text_chunk_get_clipped_string):
4135 We now check to see if words fall within clip bounds
4136 before resorting to character-by-character clip bounds testing.
4138 * TODO: Added a section for "2.2 Proposed API Additions".
4140 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4142 * test/screen-review-test.c:
4144 Added a screen review benchmarking and test program to test
4147 * cspi/spi_accessible.c:
4149 Made some of the debug strings passed to cspi_check_ev a
4150 little more specific.
4152 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4154 * test/screen-review-test.c: Fix crashes in debug statements
4156 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4158 * test/screen-review-test.c: Added this file.
4160 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4162 * atk-bridge/bridge.c: changed "object:state-change" to
4163 "object:state-changed" to match docs.
4165 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4167 * atk-bridge/bridge.c: Hooked up state-change event details.
4169 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4171 * registryd/registry.c:
4172 Fixed quarking bug in event string parsing; now events with
4173 detail parameters get matched correctly to listeners.
4176 * util/idl/Magnifier.idl: remove.
4178 * util/*.[ch]: Remove.
4179 Magnification utilities and IDL are now in module gnome-mag.
4181 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4183 * registryd/deviceeventcontroller.c:
4184 Fixed bug in grab key conversion which was causing keycode grabs
4185 to be converted to AnyKey grabs.
4188 updated NEWS file to reflect recent spin-off of gnome-mag.
4190 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4192 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4193 busted AccessibleStateSet_compare. Removed redundant casts.
4195 * cspi/spi-action.c: Removed redundant casts.
4197 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4199 * cspi/spi_component.c: Fixed typos and casting error.
4201 * cspi/spi_editabletext.c: Removed redundant casts.
4203 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4205 * cspi/spi_hypertext.c: Eliminated redundant casts.
4207 * cspi/spi_image.c: Eliminated redundant casts.
4209 * cspi/spi_registry.c: Eliminated redundant casts.
4210 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4211 * cspi/spi_selection.c: Removed redundant casts.
4212 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4213 handling. Screen geometry and text offsets were being returned as 0
4214 on error which is technically valid-- changed these to return -1.
4215 Added marshaller for text boundary types to fix bug with boundary
4216 types being passed incorrectly to atk.
4218 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4221 * cspi/spi_registry.c:
4222 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4223 which was uncovered by the recent key changes.
4225 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4227 * test/event-listener-test.c:
4229 Added new test, "event-listener-test";
4230 this code does two things; it benchmarks traversal time
4231 for the accessible hierarchy for the first running accessible
4232 app, and it connects listeners for all supported event types.
4233 It is thus useful as an example event listener and for
4234 diagnostics/debugging of event generation.
4236 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4239 Removed unnecessary dependency on libutil.
4242 Revved micro version: 0.13.1
4244 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4247 Removed util/Makefile from targets.
4250 Removed util subdir from SUBDIRS (temporarily,
4251 pending removal of magnifier-only code
4255 #ifdef-ed out magnifier dependencies, since
4256 magnifier IDL, headers, and binary now live in
4257 module gnome-mag and we don't want at-spi to depend
4258 on gnome-mag. A magnifier demo which can run alongside
4259 simple-at is forthcoming in the gnome-mag module.
4261 NOTE: Split magnifier binary, IDL, and magnification
4262 activation code from at-spi into module gnome-mag.
4264 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4266 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4267 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4269 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4272 Revved to version 0.13.0
4274 * idl/Accessibility_Registry.idl:
4275 Changed definition of KeySet from sequence of longs to sequence of
4276 KeyDefinitions, and added KeyDefinition struct.
4277 Required for fix to bug 80616.
4279 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4280 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4281 to use new definition (see above).
4283 * registryd/deviceeventcontroller.c: handle_keygrab(),
4284 spi_keyset_contains_key():
4285 Changed to make use of new struct; this allows matching based on
4286 string key-name, for instance "Tab". This also allows matching of
4287 composed characters, non-alphanumeric characters in a way that
4288 doesn't involve dependencies on X keysym codes directly, etc.
4290 * test/key-listener-test.c:
4291 Added test for Alt-Tab key using "string" specification of keyset,
4292 and modified one of the tests to use a keycode-based keyset.
4293 Thus this test both tests and demonstrates the creation and use of
4294 keysets of three forms: specified via keycode array,
4295 keysym array, and string array. (The string case only contains a
4296 single string, i.e. a string array of length 1).
4299 Turned on PRINT_TREE option by default. Also fixed a
4300 string-freeing bug in the PRINT_TREE code.
4301 Added a listener to window:minimize events.
4303 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4305 * atk-bridge/bridge.c:
4306 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4307 for window:activate and window:deactiveate
4308 (atk_bridge_property_event_listener atk_bridge_signal_listener
4309 atk_bridge_window_event_listener) Tidy debug code
4311 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4313 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4314 Fixed handling for NULL return value from ATK.
4316 * libspi/action.c libspi/component.c libspi/editabletext.
4317 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4318 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4319 Removed redundant casts.
4321 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4322 Fixed off by one bug.
4324 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4325 function not present in idl)
4327 2002-05-02 jacob berkman <jacob@ximian.com>
4329 * atk-bridge/Makefile.am: make atk-bridge a real module
4331 2002-04-26 Radek Doulik <rodo@ximian.com>
4333 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4334 atk_state_types table
4336 2002-04-22 jacob berkman <jacob@ximian.com>
4339 * libspi/Makefile.am: add deps on the built files to help
4340 automake, and don't version the ORBit typelib
4342 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4344 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4345 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4346 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4347 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4348 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4349 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4350 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4351 libspi/accessible.h libspi/accessible.h libspi/base.h
4352 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4353 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4354 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4355 libspi/spi-private.h libspi/statetset.h libspi/table.h
4356 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4357 util/mag_client.h util/mag_control.c util/mag_image.c
4358 util/mag_image.h util/magnifier.c util/magnifier.h:
4359 Add missing file headers; standardize existing ones
4361 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4363 * atk-bridge/bridge.c: Added window event support.
4365 2002-04-18 Michael Meeks <michael@ximian.com>
4367 * libspi/relation.c (impl_getNTargets): impl.
4368 (impl_getTarget): impl.
4370 * libspi/Makefile.am: fix stateset install.
4372 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4375 Started putting useful info in this file.
4377 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4379 * atk-bridge/bridge.c:
4380 Propagate state-changed notifications to ATs
4382 * cspi/spi_registry.c: update docs to reflect actual behavior of
4383 state-change events.
4385 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4388 Incremented version to 0.12.1
4390 * util/mag_client.h:
4391 Add missing declaration for magnifier_exit,
4392 used by mag_control.c - Forte compiler didn't like
4393 the implicit redeclaration of the function :-(
4396 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4399 Revved version to 0.12 due to API change (see below).
4401 * cspi/spi-roletypes.h:
4402 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4403 definition from the inline docs, and added docs
4404 for SPI_ROLE_LAST_DEFINED.
4407 * cspi/spi_streamablecontent.c:
4408 Added missing seek_type parameter to
4409 (so far unused) method,
4410 AccessibleStreamableContent_seek().
4411 [ RT approval JodyG. ]
4414 Fixed docs for SPI_createAccessibleKeystrokeListener.
4416 * cspi/spi_registry.c:
4417 Fixed docs for SPI_KEYSET_ALL_KEYS.
4419 * docs/reference/cspi/at-spi-cspi-sections.txt:
4420 Added a number of missing APIs to SECTIONS.
4422 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4424 * registryd/Makefile.am:
4426 * cspi/bonobo/Makefile.am:
4427 Add $(X_LIBS) to makefiles.
4429 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4432 Revved version to 0.11.
4434 * libspi/component.c:
4435 Added implementation for grabFocus.
4437 * idl/Accessibility_Component.idl
4438 (Accessibility_Component_grabFocus):
4439 Made this method return boolean to indicate success or failure, to
4440 be consistent with cspi and the corresponding ATK method.
4442 * idl/Accessibility_Selection.idl
4443 (Accessibility_Selection_selectAll) :
4444 Made these methods return boolean to indicate success or
4445 failure, to be consistent with cspi and the corresponding ATK methods.
4447 * idl/Accessibility_EditableText.idl
4448 (Accessibility_EditableText_setTextContents,
4449 Accessibility_EditableText_insertText,
4450 Accessibility_EditableText_cutText,
4451 Accessibility_EditableText_deleteText,
4452 Accessibility_EditableText_pasteText):
4453 Made these methods return boolean to indicate
4456 * cspi/spi_editabletext.c:
4457 Made these methods return booleans.
4459 * libspi/selection.c:
4460 * libspi/component.c:
4461 * libspi/editabletext.c:
4462 Connected the boolean returns from ATK
4463 to the server-side code referenced above.
4465 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4467 * idl/Accessibility_Table.idl: Added missing methods,
4468 Accessibility_Table_addRowSelection,
4469 Accessibility_Table_addColumnSelection,
4470 Accessibility_Table_removeRowSelection,
4471 Accessibility_Table_removeColumnSelection.
4474 Added C wrappers for above IDL:
4475 AccessibleTable_addRowSelection,
4476 AccessibleTable_addColumnSelection,
4477 AccessibleTable_removeRowSelection,
4478 AccessibleTable_removeColumnSelection.
4481 Added server-side implementation code for IDL above, connecting
4482 to pre-existing ATK api.
4484 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4486 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4488 * libspi/accessible.c: Added implementation fo
4489 Accessibility_Accessible_get_state.
4491 * libspi/libspi.h: Added stateset.h to the list of includes.
4493 * libspi/stateset.c: Fixed broken implementation.
4495 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4498 Added implementation code for Accessibility_Magnifier_exit ().
4500 * util/mag_control.c:
4501 Added test code for above method; you can
4502 now kill an existing magnifier via
4503 ./mag_control q, from the util directory.
4505 * test/key-listener-test.c:
4507 Added a new test, for our key listener API.
4509 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4511 * test/app.c, test/keysynth-demo.c:
4513 Replace use of snprintf with g_snprintf.
4514 (fix for bugzilla 78249)
4516 2002-03-27 Michael Meeks <michael@ximian.com>
4520 * util/Makefile.am (INCLUDES): fix.
4521 (DONT_DIST_SOURCE): don't distribute the
4524 * libspi/Makefile.am (dist-hook): ditto.
4526 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4528 * libspi/hypertext.c:
4529 Fix warnings when yelp is used with atk-bridge
4531 2002-03-21 Michael Meeks <michael@ximian.com>
4533 * libspi/application.c (spi_application_new):
4534 use spi_accessible_construct so we use the AtkObject
4537 2002-03-19 Michael Meeks <michael@ximian.com>
4539 * registryd/registry.c (desktop_remove_application),
4540 (desktop_add_application): clean coding style.
4542 * registryd/desktop.c (spi_desktop_remove_application),
4543 (spi_desktop_add_application): kill re-enterency hazards.
4544 (spi_desktop_dispose): remove bogus redundant cast
4545 obscuring bug; fix bug too.
4546 (spi_desktop_init): make the desktop object immortal.
4548 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4551 Added a #define-guarded tree-traversal step
4552 when enumerating the apps (diagnostic tool).
4554 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4556 * idl/Accessibility_Role.idl:
4557 Added ROLE_DRAWING_AREA which seemed to be missing from the
4560 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4562 * cspi/spi-roletypes.h cspi/spi_accessible.c
4563 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4566 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4567 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4568 AT when applications are added and removed from the desktop. This
4569 reverts the previous broken implementation using the backing
4570 AtkObject for the SpiDesktop.
4572 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4574 * registryd/desktop.c: emit the "children-changed::add" and
4575 "children-changed::remove" signals on the backing ATK object for
4576 the desktop so AT can tell when applications are started and shut
4579 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4581 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4583 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4585 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4587 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4589 * cspi/state-types.h: synched with IDL and ATK
4591 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4593 * libspi/accessible.c
4594 (impl_accessibility_accessible_get_child_at_index):
4595 Change return value for g_return_if_fail ()
4596 to CORBA_OBJECT_NIL instead of "0" (!)
4598 * registryd/Makefile.am:
4599 * registryd/Accessibility_Register.server.in:
4600 Changed name of executable, "registryd",
4601 to something more informative:
4604 2002-03-13 Michael Meeks <michael@ximian.com>
4606 * atk-bridge/bridge.c (atk_bridge_init): don't register
4607 if we're in a bonobo-component, rather than a bonobo app.
4609 2002-03-13 Michael Meeks <michael@ximian.com>
4611 * atk-bridge/bridge.c (gtk_module_init): split
4612 out body to (atk_bridge_init): here, since otherwise
4613 we get symbol conflicts and oddness when invoked
4614 from (gnome_accessibility_module_init): here (upd.)
4616 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4619 New file. Explicitly allow "build sheriff" putbacks provided
4620 they are tested on Solaris.
4622 * docs/reference/cspi/Makefile.am:
4623 Added '-' to the "cp" command for index.sgml.
4624 ("patch by thomasvs, soon coming to a GUADEC near you")
4627 Incremented version number (0.9.0) for new release.
4628 Changed macro that checks for popt, to better detect
4629 obsolete versions of popt.
4632 Added X_LIBS to AC_SUBST, for applications
4633 that call Xlib API directly.
4636 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4639 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4642 Fix regression caused by hard-coding major
4643 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4646 * test/test-simple.c (test_editable_text),
4647 (test_test): revert previous change (error was
4648 a regression in gail which is now fixed).
4650 2002-03-04 Michael Meeks <michael@ximian.com>
4652 * test/test-simple.c (test_editable_text),
4653 (test_text): pass G_MAXINT instead of '-1' for
4654 whole string - is this a good thing !?
4656 * cspi/spi_accessible.c
4657 (Accessible_getRelationSet): fix crasher bug
4658 overwriting the end of the array.
4660 * test/test-simple.c (validate_accessible): free,
4661 not g_free returned relation set.
4663 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4665 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4666 implemented stateset support
4668 * idl/Accessibility_State.idl: Made necessary changes to
4669 the IDL to support state sets.
4671 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4673 * registryd/deviceeventcontroller.c:
4674 Added implementation for generateMouseEvent.
4676 * cspi/spi_registry.c:
4677 Connected new implementation for generateMouseEvent
4680 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4683 Incremented revision (but no change in public API
4684 outside of 'utils', which are not installed public yet.)
4686 * libspi/component.c:
4687 Changed to use atk_component API for layers and
4688 mdi_zorder, instead of deprecated atk_object API.
4690 Magnification Utility Enhancements:
4693 Added implementation of createZoomRegion, clearAllZoomRegions,
4694 resizeZoomRegion. Added new commandline argument
4695 "--no-initial-region". Note that clearAllZoomRegions doesn't
4696 unmap the old '0' region as it should (yet), and the other
4697 methods only work when creating/resizing a single region,
4698 which is "region 0".
4699 (Code for multiple region support will be added later.)
4702 Now we raise the magnifier window each time it's refreshed;
4703 this will help keep it on top.
4705 * util/mag_client.h:
4706 Added simple wrappers for above, used by mag_control.
4707 For general use, it's recommended to use the bonobo magnifier
4708 control API directly instead of using these wrappers.
4711 Moved ZoomRegionData from magnifier.c to this file.
4713 * util/mag_control.c:
4714 Added some code to exercise new IDL implementations.
4716 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4718 * libspi/text.c: Provide implementation for getAttributes.
4720 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4723 Incremented revision.
4725 * test/test-simple.c:
4726 Replaced use of deprecated g_main_iteration with
4727 g_main_context_iteration.
4729 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4732 Incremented revision for desktop alpha 2.
4734 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4736 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4739 * test/simple-at.c: include netinet/in.h.
4741 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4743 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4744 use NULL, not CORBA_OBJECT_NIL.
4746 * libspi/accessible.c:
4747 (impl_accessibility_accessible_get_relation_set):
4748 allocate the sequence correctly.
4750 * libspi/remoteobject.h: kill spi_remote_object_new.
4752 * test/test-simple.c: (validate_accessible): add code
4753 to test relation sets, now all we need is to figure
4754 out how to excercise this code path :/
4756 2002-01-18 Michael Meeks <michael@ximian.com>
4758 * test/test-simple.c
4759 (key_listener_cb): consume the key.
4760 (test_keylisteners): update.
4761 (main): wait for any pending unrefs on events.
4763 * registryd/deviceeventcontroller.c
4764 (spi_controller_update_key_grabs): only re-issue the
4765 grab on a key release.
4766 (spi_device_event_controller_forward_key_event):
4767 refresh the keygrabs before we notify the listeners,
4768 to reduce the X ungrab / re-grab race.
4769 (spi_controller_register_with_devices): remove
4770 XSelectInput - we do that with the gdk_window_ call.
4771 (_spi_controller_device_error_handler): return a value.
4772 s/GDK_DISPLAY/spi_get_display/
4774 2002-01-17 Michael Meeks <michael@ximian.com>
4776 * registryd/deviceeventcontroller.c
4777 (_deregister_keygrab): don't blow out the later
4780 * test/test-simple.c (test_keylisteners): do a
4781 more intelligent validation.
4783 2002-01-14 Michael Meeks <michael@ximian.com>
4785 * atk-bridge/bridge.c
4786 (gnome_accessibility_module_init),
4787 (gnome_accessibility_module_shutdown): impl.
4788 (gtk_module_init): protect vs. double inits.
4789 (add_signal_listener): impl.
4790 (spi_atk_bridge_state_event_listener): kill
4791 (deregister_application): split out of
4792 (spi_atk_bridge_exit_func): here.
4794 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4797 Added caret tracking when using magnifier, and
4798 now use text bounds for focus tracking of text elements, rather than
4799 the component bounds - this is helpful for short text fields in long
4800 table cells, at high magnification.
4802 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4804 * registryd/deviceeventcontroller.c:
4805 Regression fix for keylistener de-registration; global keygrabs
4806 were not being released when deregisterKeystrokeListener was
4807 called in cspi, since
4808 Accessibility_DeviceEventController_deregisterKeystrokeListener
4809 was called with a zero-length keyset. That is because the cspi
4810 method, SPI_deregisterKeystrokeListener, does not take a keyset
4811 parameter but instead should remove all the key grabs held be a
4813 The code in impl_deregister_keystroke_listener was changed to copy
4814 the keylist from the listener instance previously registered with
4815 the DeviceEventController before releasing the grabs.
4817 * registryd/registry.c:
4818 * registryd/deviceeventcontroller.c:
4819 * libspi/spi-private.h:
4821 Changed spelling of "re-enterant" to "re-entrant" globally.
4823 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4825 * test/test-simple.c:
4826 Changed key listeners test - the test was slightly mis-using the
4827 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4828 It now uses '=' as the key event listened to and generated,
4829 relying on a keysym match rather than assuming that keycode 33
4830 is always equal to keysym '!'.
4832 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4835 Changed simple-at to use a specific keyset, rather than
4836 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4837 manager, desktop, etc.
4839 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4841 * registryd/deviceeventcontroller.c:
4842 Replaced standard X error handler with a special handler that
4843 is non-fatal for failed keygrabs. This works around
4844 problems with keygrab clashes sometimes observed on
4846 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4847 mouse handling code as yet).
4849 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4852 Incremented revision for desktop alpha release.
4855 Fixed a couple of the more glaring errors (still not
4858 2002-01-11 Michael Meeks <michael@ximian.com>
4860 * registryd/deviceeventcontroller.c
4861 (spi_device_event_controller_forward_key_event): kill
4862 XUngrabKey / XKeyGrab race.
4863 (spi_controller_grab_keyboard): rename to
4864 (spi_controller_update_key_grabs): this, and deal
4865 with incremental adding / removing grabs more
4867 (_register_keygrab): ensure we're not pending a remove.
4868 (spi_grab_mask_free): impl.
4869 (spi_controller_register_global_keygrabs): split out
4871 (handle_keygrab): impl.
4872 (_deregister_keygrab): impl.
4873 (spi_controller_deregister_global_keygrabs): impl.
4874 (spi_controller_update_key_grabs): re-issue the grab if
4875 we just recieved a notification.
4877 * test/test-simple.c (key_listener_cb): remove debug.
4879 * registryd/deviceeventcontroller.c
4880 (spi_controller_register_device_listener): after
4881 registering a global keygrab, actualy register it !
4882 don't wait for a timeout; doh !
4884 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4885 to make it more readable / manipulable.
4886 s/grabmask/grab_mask/ s/refcount/ref_count/
4887 s/keyval/key_val/ s/modmask/mod_mask
4889 2002-01-08 Michael Meeks <michael@ximian.com>
4891 * registryd/deviceeventcontroller.c
4892 (spi_controller_register_with_devices): use gdk calls to
4894 (global_filter_fn): implement the filter.
4895 (spi_device_event_controller_check_key_event): rename to
4896 (spi_device_event_controller_forward_key_event): this & upd.
4897 (spi_get_display): replace with GDK_DISPLAY.
4899 * registryd/deviceeventcontroller.c
4900 (spi_controller_deregister_device_listener): unroll into
4901 (impl_deregister_keystroke_listener): here to simplify.
4902 (spi_controller_register_global_keygrabs): split cut and
4903 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4904 (spi_controller_deregister_device_listener): remove.
4905 (impl_register_mouse_listener): remove, no mouse listener
4906 support in at-spi-1.0
4908 * registryd/registry.c
4909 (_device_event_controller_hook): kill.
4910 (spi_registry_init): upd.
4912 * registryd/deviceeventcontroller.c
4913 (spi_device_event_controller_class_init): upd.
4914 (spi_check_key_event): merge into.
4915 (spi_device_event_controller_check_key_event):
4916 here and kill strange static ev init, don't leak
4917 the x_event - nor dynamicaly allocate it.
4919 * registryd/registry-main.c (main): re-direct
4920 timeout to remove strange vtable mess.
4922 * registryd/deviceeventcontroller.c
4923 (remove_listener_cb): impl.
4924 (spi_controller_deregister_device_listener):
4925 fix re-enterancy hazard.
4927 2002-01-07 Michael Meeks <michael@ximian.com>
4929 * registryd/deviceeventcontroller.c
4930 (spi_device_event_controller_new): upd.
4931 (impl_notify_listeners_sync): upd. debug.
4932 (spi_notify_keylisteners): fix re-enterancy hazards,
4933 prettify, remove O(n*n) iteration.
4934 (spi_controller_grab_keyboard): fix iteration.
4935 (spi_check_key_event): re-format to suit coding style.
4936 Clean all the warnings - we're warning free.
4938 * registryd/deviceeventcontroller.h:
4939 * registryd/registry.h: make mutualy referential with
4940 typesafe forward references instead of (!) void pointer
4943 2002-01-11 Michael Meeks <michael@ximian.com>
4945 * cspi/spi_accessible.c (role_names): add a role name
4946 to sync this array with the enum; and make the regression
4949 2002-01-10 Michael Meeks <michael@ximian.com>
4951 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4952 allow expansion of enumeration & kill warning.
4954 * test/test-simple.c (key_listener_cb): impl.
4955 (test_keylisteners): impl.
4957 * cspi/spi-listener.h: make listener signatures const
4958 on the provided (const) events.
4960 * test/keysynth-demo.c: upd. to const events.
4962 * test/simple-at.c: ditto.
4964 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4967 Rev the version to 0.5 (the previous tarball was named 0.4,
4968 even though the micro number was 3), so we need to rev upwards
4969 again for beta2/"desktop-alpha"
4972 Checked in a demo script, which requires editing before use!
4973 Proceed with caution.
4976 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4978 * cspi/spi_accessible.c:
4979 Add a couple of missing enum initializations, and fix some enum
4982 * cspi/spi_registry.c:
4983 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4985 * docs/reference/cspi/at-spi-cspi-sections.txt:
4986 Remove/fix a couple of broken document references.
4989 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4990 as Alt-Control to listen for commands, since on some systems
4991 Control-Alt may already be grabbed.
4993 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4996 Update version number to 0.4 for Beta2.
4998 * libspi/accessible.c, libspi/accessible.h:
4999 Expose spi_accessible_construct, to enable libgail-gnome
5000 construction from spi_accessible subtype.
5002 * utils/magnifier.c:
5003 Workaround for bug in some non-gnome-compliant window managers
5004 which made magnifier resize improperly.
5006 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5008 * libspi/accessible.c: (spi_accessible_new) :
5009 Move the test for SPI_IS_REMOTE_OBJECT to
5010 spi_accessible_new_return, fixing a bug and compile time warning.
5012 2002-01-08 Michael Meeks <michael@ximian.com>
5014 * registryd/registry.c (parse_event_type): remove strndup.
5016 * libspi/Makefile.am (libspi_la_SOURCES): remove
5017 sources already included in the headers section.
5019 * libspi/util.c: add.
5021 * libspi/spi-private.h: add.
5023 * registryd/registry.c: update to moved list iterators.
5025 2002-01-05 Michael Meeks <michael@ximian.com>
5027 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5029 * test/test-simple.c (main): ditto.
5031 2002-01-04 Michael Meeks <michael@ximian.com>
5033 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5034 redundant construct.
5036 * registryd/registry.c
5037 (get_listener_list): impl.
5038 (impl_accessibility_registry_register_global_event_listener):
5039 re-impl. to simplify using ~, remove dodgy const cast off.
5040 (parse_event_type): constify.
5041 (impl_accessibility_registry_deregister_global_event_listener_all):
5042 re-write, more efficiency and simplicity, kill re-enterancy
5044 (compare_listener_corbaref, compare_corba_objects),
5045 (compare_listener_quarks): define out.
5046 (impl_accessibility_registry_deregister_global_event_listener):
5047 re-write for effiency, and nail re-enterancy hazard.
5048 (impl_accessibility_registry_get_desktop_list): impl.
5049 (re_enterant_list_delete_link): impl.
5050 (re_enterant_list_foreach): impl.
5051 (remove_listener_cb): impl.
5052 (_registry_notify_listeners): kill.
5053 (notify_listeners_cb): impl.
5055 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5056 (SPI_getDesktopList): impl.
5058 * test/test-simple.c (test_desktop): test the methods.
5060 2002-01-03 Michael Meeks <michael@ximian.com>
5062 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5063 keystrings since we free them
5064 (SPI_freeAccessibleKeySet): in here.
5066 * libspi/accessible.c (spi_accessible_new): kill warning,
5067 wonder what is going on with the constructor here.
5069 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5071 * libspi/accessible.c (spi_accessible_new ()) :
5072 Added check to see if AtkObject is an SpiRemoteObject before
5073 creating an SpiAccessible.
5075 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5077 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5078 Enable keygrabs using the Control modifier, now that they are
5079 working properly (they were previously disabled).
5082 Change the command keygrab for this demo to "Control+Alt", so as
5083 to conflict with fewer other key commands on the system; this
5084 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5086 Removed a pointlessly-chatty keylistener for unshifted keys
5087 (shifted keys are still reported).
5089 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5091 * libspi/remoteobject.h:
5092 * libspi/remoteobject.c:
5093 Added definitions for special AtkObject subtype, required for
5094 support of remote components (specifically, used by BonoboControl
5095 accessibility implementation).
5097 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5099 * cspi/spi.h: synched relation types with ATK
5101 * cspi/spi_accessible.c: Added implementations of
5102 AcccessibleRelation_* methods
5104 * idl/Accessibility_Relation.idl: added getRelationTypeName
5105 method. Synched known relation types with ATK. Allowed for
5106 relation type extension with the RELATION_EXTENDED type.
5108 * libspi/relation.c: Provided implementations for
5109 AccessibleRelation methods.
5111 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5113 API tweaks for today's API 'freeze'.
5116 Added placeholder functions to allow future compatible expansion
5117 of the IDL interfaces.
5119 * idl/Accessibility_Registry.idl:
5120 Changed generateKeyEvent to generateKeyboardEvent. Changed
5121 signature of this method to accept an optional keystring in
5122 parameter (for complex text input synthesis) and changed use of
5123 simple 'boolean' parameter in registerKeystrokeListener to a
5124 struct, EventListenerMode.
5126 * cspi/spi_accessible.c:
5128 * cspi/spi_streamablecontent.c:
5129 Added references to AccessibleStreamableContent interface, and
5130 definition and implementation of AccessibleStreamableContent
5133 * cspi/spi_registry.c:
5135 Changed generateKeyEvent API to generateKeyboardEvent,
5136 taking a new (optional) keystring parameter to support complex
5141 Renamed directory (to better reflect its actual purpose, bridging
5142 from at-spi to ATK). The .so module is also now named
5145 * idl/Accessibility_Hypertext.idl:
5146 * libspi/accessible.c:
5147 * libspi/hypertext.h:
5148 * libspi/hypertext.c:
5149 Changed Accessibility_Hypertext to *not* derive from
5152 * cspi/spi_registry.c:
5153 Added list of legal event type names for 'window' events, which
5154 completes the registry event API.
5156 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5158 * at-bridge/bridge.c: Added registration for separate
5159 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5160 signals. If either of the first two parameters to the generic
5161 bridge signal handler are ints, they are passed on as event
5162 details. This allows an AT to determine what text was inserted.
5164 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5166 * registryd/deviceeventcontroller.c:
5167 Fixed regressions in generateKeyEvent caused by the removal of
5168 gdk_init from registryd; we now use pure X calls to connect to the
5169 display, which makes sense because deviceeventcontroller already
5170 uses a fair bit of X API (should eventually be migrated to a
5171 'portability layer').
5173 * registryd/desktop.c:
5174 Fixed minor regression in spi_desktop_init, changed the way the
5175 desktop name is being set to work with new spi_base API
5176 (gobject-based, rather than AtkObject-based).
5178 * registryd/Makefile.am:
5179 Minor revision of makefile to use XTST_LIBS variable rather than
5180 hard-wiring the Xtst LD_ADD element.
5182 * test/keysynth-demo.c:
5183 Tweaked an output message; added initialization of the
5184 'keystrings' member of the "switch listener" key_set.
5186 * libspi/relation.c:
5187 Squashed compile-time warning.
5189 * libspi/accessible.c:
5190 Cosmetic and formatting fixes, renamed a static method.
5192 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5194 * libspi/accessible.c
5196 * libspi/application.c
5199 * libspi/component.c
5200 * libspi/editabletext.c
5201 * libspi/hyperlink.c
5202 * libspi/hypertext.c
5204 * libspi/selection.c
5208 * registryd/desktop.c:
5209 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5211 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5213 * idl/Accessibility_Registry.idl:
5214 Added boolean member 'is_text' to DeviceEvent. This is for the
5215 use of key events, and helps prevent ambiguity between composed
5216 key strings and keysym names, since both may potentially be
5217 returned in the 'event_string' member.
5219 * at-bridge/bridge.c:
5220 * registryd/deviceeventcontroller.c:
5221 Use the 'is_text' member when notifying device event listeners.
5222 Knon issue: composed characters are not dealt with correctly by
5223 the global key listener implementation yet.
5225 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5227 * at-bridge/bridge.c:
5228 Namespaced local static methods to spi_atk_bridge_* where
5229 previously named bridge_*, and spi_* elsewhere.
5231 * at-bridge/bridge.c:
5232 * cspi/bonobo/cspi-bonobo-listener.c:
5233 Added demarshalling/conversion for string member of
5234 Accessibility_DeviceEvent to AccessibleKeystroke.
5236 * registryd/deviceeventcontroller.c:
5237 Added code to fill the Accessibility_DeviceEvent key string value
5238 member for global key events (i.e. from XGrabKey), to match
5239 behavior of Accessibility_DeviceEvent from the toolkit key events
5240 from the bridge. Fixed timestamp in global key event notifications.
5243 Added printout of key event's string value to
5244 report_ordinary_key_event, for demo/debugging purposes.
5246 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5248 * idl/Accessibility_Registry.idl:
5249 Removed Accessibility_KeyStroke structure in favor of generic
5250 Accessibility_DeviceEvent structure.
5251 Changed Accessibility_ControllerEventMask from a struct to an
5254 * at-bridge/bridge.c:
5255 Changed APIs to use DeviceEvent structure as above, and removed
5256 bogus casting between these event structures.
5258 * cspi/spi-listener.h:
5259 Added keystring member of AccessibleKeystroke structure, to enable
5260 matching on event "names" rather than only hardware codes and
5264 Added keystrings member of AccessibleKeySet struct, to allow
5265 matching on event names (as above).
5266 Added declarations for SPI_createAccessibleKeySet and
5267 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5268 event modmasks directly as unsigned ints rather than structs with
5269 refcounts, in the DeviceEventController methods.
5271 * cspi/spi_registry.c:
5272 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5274 * cspi/spi-roletypes.h:
5275 Added documentation of newly added SPI Roles.
5277 * cspi/bonobo/cspi-bonobo-listener.c:
5278 Changes in support of API changes above.
5280 * libspi/accessible.c:
5281 Converted APIs to use DeviceEvent structure (see IDL changes
5284 * registryd/deviceeventcontroller.c:
5285 Added DEControllerGrabMask structure to track keygrabs not only by
5286 modmask but by keyset as well; this allows us to do "global"
5287 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5288 grabbing on AnyKey and then filtering after-the-fact.
5289 Bugfixes for event filtration mean that we don't get false matches
5290 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5292 * registryd/deviceeventcontroller.c:
5293 Namespaced a number of static methods to use spi_ prefix. Major
5294 revision to internals of global (i.e. X) key grabs.
5296 * registryd/deviceeventcontroller.h:
5297 Removed keymask_list and added keygrabs_list to
5298 SpiDeviceEventController struct.
5301 Added use of SPI_createAccessibleKeySet API when creating a
5302 listener for only one key. Attach a listener to "shift spacebar
5303 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5304 X key event names to SPI key event names, so that listeners are
5305 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5307 * test/keysynth-demo.c:
5308 Changed (incorrect) use of X key event names (KeyPressed,
5309 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5312 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5314 * libspi/accessible.c:
5315 Convert all AtkRole enumerations to Accessibility_Role enums when
5316 getting a role from an AtkObject.
5318 * cspi/spi_accessible.c:
5319 Complete the conversion of Accessibility_Role enums at runtime to
5320 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5321 role enums correctly match those given in spi-roletypes.h.
5322 Re-synchronize the local names list for AccessibleRole_getName ().
5323 AccessibleRole_getName is now deprecated, since it duplicates the
5324 more reliable Accessible_getRoleName.
5325 Added some role types from Accessibility_Role.idl.
5327 * idl/Accessibility_Role.idl:
5328 Added some role types used by AtkRole.
5330 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5333 * cspi/spi_registry.c:
5335 * cspi/cspi-bonobo-listener.c:
5336 Namespaced all methods that did not begin with an "SPI_" or
5337 "Accessible" prefix to "SPI_".
5340 Homogenized internal function namespace to "cspi_" for statics.
5343 Patched tests to use the new CSPI API.
5345 * docs/reference/cspi/at-spi-cspi-sections.txt:
5346 Updated docs to reflect namespace changes, and added a number of
5347 methods to the documentation.
5349 * registryd/registry.c:
5350 Changed use of strings and string hashes in listener event
5351 matching and parse_event_string to use GQuark, which is guaranteed
5354 * registryd/registry.h:
5355 Squashed annoying warning.
5357 * idl/Accessibility_Role.idl:
5358 Extended range of available Accessibility_Role values.
5360 * cspi/spi_accessible.c:
5361 Re-ordered role names.
5363 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5365 * idl/Accessibility_Value.idl:
5366 Revert use of union back to CORBA_double, since the double type is
5367 more efficient and can contain the other types without loss of
5370 * idl/Accessibility_Accessible.idl:
5371 Added method Accessibility:Accessible:getRoleName, to complement
5372 Accessibility:Accessible:getRole.
5374 * cspi/spi_accessible.c:
5376 Added C binding for above, Accessible_getRoleName (), and changed
5377 signature of Accessible_getRole () to return an AccessibleRole.
5379 * cspi/spi-roletypes.h:
5380 Changed AccessibleRole_getName to return a char * instead of a
5381 const char *. This method is now at least temporarily deprecated
5382 in favor of asking Accessibles for their RoleNames directly.
5385 Revert to match Accessibility_Value.idl;
5389 Change signature of AccessibleValue methods to use double rather
5393 * cspi/spi_accessible.c:
5394 Changed Accessible_getRole to return an AccessibleRole enum rather
5395 than a UTF-8 string. The UTF-8 string can still be obtained via
5396 AccessibleRole_getName ().
5398 * test/test-simple.c:
5399 Add test_action. Small fixup to match API change to Accessible_getRole.
5402 Bugfix for get_action_from_servant ().
5404 2001-12-11 Michael Meeks <michael@ximian.com>
5406 * libspi/libspi.h: remove registry.h and
5407 desktop.h, deviceeventcontroller.h
5409 * libspi/Makefile.am: remove registry.[ch],
5410 desktop.[ch], deviceeventcontroller.[ch]
5412 * registryd/Makefile.am: add registry.[ch],
5413 desktop.[ch], rename registryd.c to registry-main.c.
5414 add deviceeventcontroller.[ch]
5416 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5419 Replace setenv() call with putenv ().
5421 * libspi/component.c:
5422 Bugfix in AccessibleComponent_getExtents (),
5425 2001-12-11 Michael Meeks <michael@ximian.com>
5427 * libspi/image.c (impl_getImageExtents): impl.
5428 (spi_image_class_init): upd.
5431 (AccessibleImage_getImageDescription): fix daft bug
5434 * test/test-simple.c (global_listener_cb): update
5435 to only quit if not --poke
5436 (main): catch --poke.
5437 (validate_accessible): upd. dumping, call test_image
5440 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5443 * idl/Accessibility.idl: update all IDL includes.
5445 * idl/*.idl - rename to namespace - this sucks, blame
5446 mjs' bad decision for oafd.
5448 * test/test-simple.c (create_test_window): add more tests.
5449 (create_tree): split this out.
5450 (validate_accessible): bugfix.
5452 2001-12-11 Michael Meeks <michael@ximian.com>
5454 * cspi/bonobo/cspi-bonobo-listener.c:
5455 (cspi_kestroke_listener_unref),
5456 (cspi_event_listener_unref): impl. undoing previous
5457 homenous environment - for Bill.
5459 * cspi/spi_table.c (long_seq_to_array): use
5462 * cspi/spi_main.c: split out all bonoboish bits into
5465 * cspi/spi-impl.h: upd. typedefs.
5467 * cspi/spi_registry.c: update to lowlevel API,
5468 return booleans to indicate success in some places.
5470 * cspi/spi_event.c: update to lowlevel API.
5472 * cspi/bonobo/Makefile.am: add.
5474 * cspi/bonobo/cspi-lowlevel.h: add
5476 * cspi/bonobo/cspi-bonobo.c: add
5478 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5480 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5481 (SUBDIRS): add bonobo, link in the libs.
5483 * cspi/spi-util.c: kill this file.
5485 * TODO: merge in my bits.
5487 2001-12-11 Michael Meeks <michael@ximian.com>
5489 * test/test-simple.c (test_value, test_table, main):
5490 remove unused variables causing warnings.
5492 * configure.in: cleanup checks - require gail.
5494 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5497 Changed Value interface to use SValue (scalars) rather than
5498 assuming all values are floats. This allows floats, doubles,
5499 longs, shorts, and unsigned values to be manipulated.
5500 Introduced Accessibility:SValue union.
5503 Updated to use new API above, and to work correctly with GValues
5504 of different types in AtkValue.
5507 Updated to use new API above. cspi's API is as yet unchanged.
5510 Updated the Value revision action item.
5512 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5514 * test/test-simple.c:
5515 Added test_table (GtkTreeView widget in test window to follow).
5516 Un-commented test_value, added GtkRange widget.
5517 Added GtkTreeView widget with GtkListStore. It passes regression
5518 test but leaks one SPI object for some reason.
5521 Fixed bug in impl__set_currentValue.
5523 2001-12-10 Michael Meeks <michael@ximian.com>
5525 * cspi/spi_text.c: audit for exception handling,
5526 tolerating NULL object references safely etc.
5528 * cspi/spi_value.c: ditto.
5530 * cspi/spi_table.c (AccessibleTable_getSummary),
5531 (AccessibleTable_getAccessibleAt),
5532 (AccessibleTable_getRowHeader),
5533 (AccessibleTable_getColumnHeader),
5534 (AccessibleTable_getCaption): fix bugs hidden by
5536 (long_seq_to_array): impl.
5537 (AccessibleTable_getSelectedRows),
5538 (AccessibleTable_getSelectedColumns): use it.
5540 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5543 Added a TODO list (rough and short for now).
5545 * cspi/spi_hyperlink.c:
5546 * cspi/spi_hypertext.c:
5547 Fixed macro name typos, and remove use of obsolete macro in
5548 AccessibleHyperlink_getLink.
5550 * cspi/spi_action.c:
5551 * cspi/spi_accessible.c:
5552 * cspi/spi_application.c:
5553 * cspi/spi_component.c:
5554 * cspi/spi_selection.c:
5557 Documentation fixes (removed return values from ref/unref methods).
5559 2001-12-10 Michael Meeks <michael@ximian.com>
5561 * cspi/spi_action.c: audit for exception handling,
5562 tolerating NULL object references safely etc.
5564 * cspi/spi_accessible.c: ditto.
5566 * cspi/spi_component.c: ditto.
5568 * cspi/spi_editabletext.c: ditto.
5570 * cspi/spi_hyperlink.c: ditto.
5572 * cspi/spi_hypertext.c: ditto.
5574 * cspi/spi_image.c: ditto.
5576 * cspi/spi_selection.c: ditto.
5578 2001-12-10 Michael Meeks <michael@ximian.com>
5580 * configure.in: use cspi/libspi.pc.in instead.
5582 * Makefile.am (pkgconfig_DATA): upd. to match.
5584 * test/simple-at.c (report_focus_event): kill hacks around
5585 bad return values, use putenv not setenv
5587 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5588 fire ChildGone - I killed it.
5590 * libspi/component.c
5591 (impl_accessibility_component_get_extents): remove
5594 * idl/Accessible.idl: kill ChildGone exception.
5596 * cspi/*.[ch]: kill int return from ref / unref.
5598 * cspi/spi_main.c (cspi_object_add_check): fold into
5599 (cspi_object_add): here.
5601 * cspi/spi_component.c (AccessibleComponent_getExtents):
5602 handle exceptions elegantly.
5604 * cspi/spi-private.h (cspi_check_ev_return),
5605 (cspi_return_if_fail): impl.
5607 * cspi/spi_accessible.c: use extensively.
5608 (AccessibleStateSet_equals): add direct compare check.
5610 * cspi/spi_selection.c: tolerate NULL objs, and check
5611 exceptions before return.
5613 * cspi/spi-util.c (cspi_warn_ev): rename to
5614 (cspi_check_ev): this & don't pass ev in; no point.
5616 2001-12-10 Michael Meeks <michael@ximian.com>
5618 * test/test-simple.c: use putenv not setenv
5619 (get_environment_vars): more chatty if you're not using
5622 * test/simple-at.c: do the setenv so more people see the
5625 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5627 * libspi/registry.c:
5628 Changed check of CORBA_environment on notification to be a warning
5629 instead of an error for the moment, since we can recover from this
5630 error when caused by a queued notification from a dead app.
5633 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5634 used by all current implementors of AtkValue), and coerce to
5635 CORBA_float. (Proper general case fix may require change to Value.idl).
5637 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5641 * cspi/spi_accessible.c:
5642 Documentation fixes: added user_data params to documentation for
5643 listeners and callbacks.
5645 * cspi/spi_accessible.c:
5646 Changed AccessibleStateSet_compare to return a
5647 StateSet rather than return the difference set into a third parameter.
5650 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5653 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5654 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5658 Remove subdirectory po from SUBDIRS for now.
5660 * at-bridge/bridge.c:
5661 Beefed up a couple of debug printouts.
5662 One-line fix for signal notification name formatting.
5664 * libspi/accessible.c:
5665 Added assertion to spi_accessible_new ().
5667 * libspi/application.c:
5668 Put #ifdef qualifiers around a printf.
5671 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5673 * registryd/Makefile.am:
5675 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5676 INTLTOOL_SERVER_RULE macro.
5679 Added an event listener for several ATK signals, for
5680 testing and debugging. Removed a few g_warnings.
5681 Added test output if focussed item implements the Value interface.
5683 * test/test-simple.c:
5684 Added test_value () function (known not to pass at the moment, so
5685 not actually called yet.
5687 2001-12-08 Michael Meeks <michael@ximian.com>
5689 * at-bridge/bridge.c (bridge_focus_tracker),
5690 (emit_eventv): fix the same ref. leak.
5691 (register_atk_event_listeners): don't leak.
5693 * cspi/spi-listener-impl.c (cspi_event): more
5694 protection from client code.
5696 * test/test-simple.c (test_desktop): unref the app.
5698 * test/Makefile.am: upd. TESTS.
5700 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5702 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5704 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5706 * cspi/spi_registry.c: constify in strings.
5707 (deregisterGlobalEventListenerAll): don't release the ref.
5709 * cspi/spi.h: start removing redundant / conflicting
5710 gtkdoc comments, making the API readable at a glance :-)
5712 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5714 * test/keysynth-demo.c (keysynth_exit, main): upd.
5716 * test/simple-at.c (main, simple_at_exit): upd.
5718 * test/test-simple.c (unutterable_horror): kill.
5719 (utterable_normal_derefs): kill.
5720 (main): upd & do a setenv before gtk_init, so that we
5721 can use memprof - and to save the pain of remembering
5722 this, if we're running under memprof - don't exit.
5724 * cspi/spi_main.c (SPI_exit): return exit status
5726 (SPI_event_quit): impl.
5727 (SPI_event_main): simplify.
5728 (cspi_is_gnome_app): kill.
5729 (SPI_init): kill isGNOMEapp arg.
5731 * at-bridge/bridge.c (register_atk_event_listeners):
5732 re-instate the unref.
5733 (bridge_exit_func): don't re-activate the registry,
5734 protect vs. theoretical re-entry, use the
5735 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5736 assert a clean shutdown - for regression tests.
5738 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5740 * configure.in: Comment out dummy i18n support for now,
5741 otherwise it fails to build.
5742 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5743 EXTRA_DIST. They are missing in tarball.
5745 2001-12-07 Michael Meeks <michael@ximian.com>
5747 * util/magnifier.c: kill bonobo activation reg. race.
5749 * libspi/component.c
5750 (impl_accessibility_component_get_extents): make it match
5753 * libspi/registry.c (_registry_notify_listeners):
5754 re-remove X headers & reconcile conflicts.
5755 (spi_listener_struct_free): bad conflict resolve.
5756 (impl_accessibility_registry_register_application):
5757 more bad merging fixed.
5758 (impl_accessibility_registry_deregister_application): ditto.
5759 (spi_registry_new): ditto.
5760 (spi_registry_init): don't have an applications field.
5762 [ merge fixups2 branch to here ]
5763 2001-12-07 Michael Meeks <michael@ximian.com>
5765 * test/simple-at.c (report_focus_event),
5766 (report_focussed_accessible): remove g_warning debug.
5768 2001-12-07 Michael Meeks <michael@ximian.com>
5770 * test/test-simple.c (validate_tree): comment out some checks.
5771 (test_desktop): app now not registered idly - horay.
5773 2001-12-07 Michael Meeks <michael@ximian.com>
5775 * cspi/spi_registry.c
5776 (registerAccessibleKeystrokeListener): clean, stop it leaking
5777 great swathes of memory, and device event controller references.
5778 ensure we always pass valid sequences.
5779 (deregisterAccessibleKeystrokeListener): ditto.
5780 (generateKeyEvent): upd.
5782 * at-bridge/bridge.c (bridge_key_listener): handle
5783 registry dead exception gracefully.
5784 (bridge_focus_tracker, emit_eventv): free ev.
5786 * test/simple-at.c (report_focus_event): fix polarity.
5788 * libspi/application.c (notify_listeners): kill the ev
5789 argument, and make sure we init the ev we use.
5790 (spi_application_object_event_listener): split out a chunk
5791 (get_atk_object_ref): here & fixup.
5792 (reverse_lookup_name_for_toolkit_event): make const.
5793 (spi_application_toolkit_event_listener): fixup, kill leaks
5796 * at-bridge/bridge.c (register_atk_event_listeners):
5797 don't unref the noop object - causes grief.
5799 * libspi/registry.c: remove the X headers.
5800 turn off the debug churn.
5802 * libspi/accessible.c (spi_accessible_new_return): only
5803 release the ref if we are supposed to [doh]
5805 * test/simple-at.c (report_button_press, report_focus_event):
5806 guard vs. unexpected exit.
5808 * at-bridge/bridge.c (gtk_module_init): prune printf.
5809 (bridge_exit_func): fix app unref.
5811 * libspi/Makefile.am: don't install registry or desktop.h
5813 * libspi/*.h: update includes.
5815 * libspi/application.h: don't include ourself, or
5816 other redundant headers.
5818 2001-12-06 Michael Meeks <michael@ximian.com>
5820 * libspi/accessible.c
5821 (get_accessible_from_servant): impl.
5822 Upd. all CORBA impl.s to use it killing cut and paste.
5824 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5826 (SPI_init): register atexit cleanup handler here.
5828 2001-12-06 Michael Meeks <michael@ximian.com>
5830 * at-bridge/bridge.c (gtk_module_init): g_error on
5831 activation exception
5833 2001-12-06 Michael Meeks <michael@ximian.com>
5835 * at-bridge/bridge.c (gtk_module_init): some sort of
5836 confusing merge clash - reverted.
5837 (bridge_idle_init): ditto.
5839 * test/test-simple.c (main, utterable_normal_derefs):
5840 merge from Bill - somehow not committed.
5842 2001-12-06 Michael Meeks <michael@ximian.com>
5844 * libspi/value.c (spi_value_class_init): upd.
5845 (spi_value_finalize): kill.
5847 * libspi/table.c (spi_table_finalize): kill.
5848 (spi_table_interface_new): upd.
5849 (spi_table_class_init): upd.
5850 (get_table_from_servant): impl.
5851 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5853 * libspi/selection.c (spi_selection_finalize): kill.
5854 (spi_selection_interface_new): upd.
5855 (spi_selection_class_init): upd.
5856 (get_selection_from_servant): impl.
5857 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5859 * libspi/relation.c (spi_relation_finalize): kill.
5860 (spi_relation_class_init, spi_relation_new): upd
5862 * libspi/image.c (spi_image_finalize): kill.
5863 (spi_image_class_init): upd.
5864 (spi_image_interface_new): upd.
5865 (get_image_from_servant): impl.
5866 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5868 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5869 (spi_hyperlink_finalize): kill.
5870 (spi_hyperlink_new): upd.
5871 (get_hyperlink_from_servant): impl.
5872 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5874 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5875 (spi_hypertext_finalize): kill.
5876 (spi_hypertext_class_init): upd.
5877 (get_hypertext_from_servant): impl.
5878 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5880 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5881 (spi_editable_text_interface_new): upd.
5882 (get_editable_text_from_servant): impl.
5883 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5885 * libspi/text.c (get_text_from_servant): impl.
5886 All impls - update to use it killing more cut and paste,
5887 also fix bad string returns on duff args ( a somewhat
5888 impossible case to handle - but hey ).
5889 (spi_text_construct): impl.
5890 (spi_text_interface_new): upd.
5891 (spi_text_object_finalize): kill.
5893 * libspi/component.c
5894 (accessibility_component_object_finalize): kill.
5895 (spi_component_class_init): upd.
5896 (get_component_from_servant): impl. helper to kill cut & paste.
5897 (impl_accessibility_component_contains):
5898 (impl_accessibility_component_get_accessible_at_point):
5899 (impl_accessibility_component_get_position):
5900 (impl_accessibility_component_get_extents):
5901 (impl_accessibility_component_get_mdi_z_order):
5902 (impl_accessibility_component_get_layer):
5903 (spi_component_interface_new): upd.
5905 * libspi/action.c (spi_action_finalize): kill.
5906 (spi_action_class_init): upd. inherit from SpiObject.
5907 (spi_action_interface_new): upd.
5908 (get_action_from_servant): impl. helper to reduce cut & paste.
5909 (impl_getKeyBinding, impl_getName, impl_doAction),
5910 (impl_getDescription): Use it everywhere.
5912 * cspi/spi_main.c (get_live_refs): a pointer hash.
5913 (spi_object_hash, spi_object_equal): comment out.
5914 There are issues with CORBA object hashing that need
5917 * libspi/application.c (spi_application_init),
5918 (spi_application_new): upd.
5920 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5921 (spi_accessible_class_init): upd.
5922 s/accessible/object/ in epv methods.
5924 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5926 * at-bridge/bridge.c:
5927 Reorder the bridge initialization into the bridge gtk_module_init,
5928 an immediate call to bridge_register_app, and an idle_add for
5929 register_atk_event_listeners (the only code that *must* wait until
5930 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5931 the activation, creates the application's Accessible object, and
5932 queues the bridge_idle_init function. Restored call to
5933 Accessibility_Registry_deregisterApplication().
5934 Prior to making this call we obtain a new reference to the
5935 registry, which is a temporary hack that helps us handle apps that
5936 shut down the bonobo mainloop before we get there.
5938 * libspi/registry.c:
5939 Fix string leakage in debug block, and don't segv if a an app
5940 dies before its event notifications have been propagated.
5943 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5944 as stopgap measure until we get proper exception handling when
5945 objects die during or before interrogation.
5949 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5950 Also changed default value of is_gnome_app to TRUE.
5953 * test/keysynth-demo.c:
5954 Changed use of SPI_init and SPI_event_main to reflect API change above.
5957 Made report_focus_event check the warning value from getName
5958 before reporting on focussed accessible; simplifies handling of
5959 notifications from dead objects.
5961 * test/test-simple.c: (Changes not in this patch since source is
5964 2001-12-05 Michael Meeks <michael@ximian.com>
5966 * registryd/registryd.c (main): protect against
5967 bonobo-activation startup race condition.
5969 * cspi/spi_main.c (cspi_object_add_check): cope
5970 with the exception elegantly.
5972 * idl/Accessible.idl: decl. ChildGone
5974 * libspi/desktop.c (spi_desktop_dispose): impl.
5975 (spi_desktop_class_init): upd.
5976 (spi_desktop_add_application),
5977 (spi_desktop_remove_application),
5978 (abnormal_application_termination): impl.
5979 (impl_desktop_get_child_at_index): re-impl.
5982 (impl_accessibility_registry_deregister_application),
5983 (impl_accessibility_registry_register_application):
5984 kill excessive debug clutter.
5986 * test/test-simple.c (test_misc): test some NULL
5987 tolerance. (main): upd.
5989 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5990 implements no interfaces - so let's not crash.
5992 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5994 * libspi/accessible.c (spi_accessible_new_return): impl.
5995 helper to calm the cut and paste, to cope with
5996 NULL AtkObjects effectively and efficiently, and to kill
5997 the referencing bugs.
5999 * libspi/table.c (impl_getAccessibleAt),
6000 (impl_getRowHeader, impl_getColumnHeader): upd.
6002 * libspi/hyperlink.c (impl_getObject): upd.
6004 * libspi/accessible.c
6005 (impl_accessibility_accessible_get_child_at_index): upd.
6007 * libspi/component.c
6008 (impl_accessibility_component_get_accessible_at_point): upd.
6010 * test/test-simple.c (test_editable_text, test_text): impl.
6013 * cspi/spi_editabletext.c
6014 (AccessibleEditableText_insertText): constify.
6016 * test/test-simple.c (focus_me): make more robust.
6018 * libspi/accessible.c: remove some printfs in methods that
6019 we test and work fine, so we can get a clean tree dump.
6021 * test/test-simple.c (validate_accessible),
6022 (validate_tree): make tree dumping pretty too.
6024 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6025 it builds without debug on.
6027 * test/test-simple.c (validate_accessible): fix the most
6030 * cspi/spi_main.c (spi_object_release): leave the nicely
6031 blanked memory around if in debug mode.
6033 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6035 [committed to fixups2]
6036 2001-12-05 Michael Meeks <michael@ximian.com>
6038 * libspi/editabletext.c
6039 (spi_editable_text_class_init): g_type_class_peek_parent,
6040 not interface peek - so we finalize cleanly.
6042 * libspi/accessible.c (spi_accessible_new): kill debug.
6044 * test/test-simple.c (validate_accessible): fix ref.
6045 leak, print strings before freeing them; sigh, comment a
6046 chunk out due to strangeness.
6047 (validate_tree): unref the child after use.
6049 * cspi/spi_component.c (AccessibleComponent_getLayer):
6050 add missing break statement, switch on zlayer not the
6051 uninitialized retval.
6053 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6054 before (possibly re-entering) remote unref.
6056 * test/simple-at.c (main): unref the desktop.
6058 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6061 * cspi/spi_main.c (cspi_accessible_is_a): here to
6062 isolate bonobo API usage more.
6064 * libspi/registry.c (impl_accessibility_registry_register_application):
6065 prune bogus comment.
6067 2001-12-04 Michael Meeks <michael@ximian.com>
6069 * test/test-simple.c (validate_tree): upd.
6070 IndexInParent check to make it more lucid.
6071 (validate_accessible): dump the tree.
6073 * libspi/accessible.c (de_register_public_ref),
6074 (get_public_refs): impl.
6075 (spi_accessible_new): make more efficient & intuitive.
6076 Now IndexInParent check works.
6078 2001-12-04 Michael Meeks <michael@ximian.com>
6080 * cspi/spi-util.h: remove.
6082 * cspi/spi.h: move SPI_freeString here
6084 * libspi/component.c (impl_accessibility_component_get_layer):
6086 (impl_accessibility_component_get_mdi_z_order): ditto,
6087 return -1 on error - is this ok ?
6089 * test/test-simple.c (test_application): impl.
6091 * cspi/spi_accessible.c (Accessible_getApplication),
6092 (Accessible_isApplication): impl.
6094 * libspi/registry.c (spi_listener_struct_free): release
6095 the CORBA reference too.
6097 * libspi/accessible.c
6098 (impl_accessibility_accessible_get_parent): fix ref leak.
6100 * libspi/registry.c (spi_registry_new): make the registry
6101 immortal - we don't want it to go away ever.
6103 * libspi/application.c
6104 (spi_accessible_application_finalize): impl. cleanup.
6106 * cspi/spi_registry.c
6107 (deregisterGlobalEventListenerAll),
6108 (deregisterGlobalEventListener),
6109 (deregisterAccessibleKeystrokeListener): fix ref leak.
6111 * cspi/spi_main.c (SPI_init): remove redundant ref.
6113 * test/test-simple.c (unutterable_horror): impl. to force a
6118 (impl_accessibility_registry_deregister_application): release
6119 the application when we de-register it.
6121 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6122 until we have the infastructure to get it right.
6124 2001-12-03 Michael Meeks <michael@ximian.com>
6126 * libspi/Makefile.am: only build eventlistener.[ch]
6128 * libspi/accessible.c
6129 (impl_accessibility_accessible_get_child_at_index): don't leak.
6131 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6132 before we hit the idle handler.
6134 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6135 debugging than exit.
6137 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6139 * libspi/listener.c (impl_notify_event): check source
6140 not NIL before unref.
6142 * libspi/registry.c (impl_registry_notify_event): ditto.
6144 * libspi/eventlistener.c
6145 (impl_accessible_event_notify_event): unref the source.
6147 * libspi/accessibleeventlistener.c
6148 (impl_accessible_event_notify_event): unref the source.
6150 * idl/Event.idl: remove 'hash_id' attribute - of no
6153 * libspi/application.c (notify_listeners): upd list
6155 (spi_application_object_event_listener),
6156 (spi_application_toolkit_event_listener): upd to do correct
6160 (_registry_notify_listeners): update.
6161 (parse_event_type): this method also leaks like a sieve.
6162 (impl_accessibility_registry_deregister_global_event_listener):
6163 fix ETYPE_WINDOW case.
6165 * libspi/application.c
6166 (impl_accessibility_application_register_object_event_listener):
6169 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6171 * libspi/hypertext.c (impl_getLink): ditto.
6173 * cspi/spi_main.c (cspi_object_add): remove
6174 bogus CORBA_Object_duplicate.
6176 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6179 * cspi/spi_accessible.c
6180 (Accessible_getRelationSet): fix leak / referencing issue.
6182 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6183 (cspi_object_add, cspi_object_unref): upd.
6184 (spi_object_release, get_live_refs): impl.
6185 (cspi_cleanup): simplify.
6187 * *.[ch]: s/boolean/SpiBoolean/
6189 * cspi/spi_accessible.c (role_names): actualy order so it
6190 corresponds with the enum !
6192 * test/test-simple.c (test_roles): check some role strings
6193 vs. enums to detect offset errors.
6195 2001-12-01 Michael Meeks <michael@ximian.com>
6197 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6199 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6201 (Accessible_getChildAtIndex): use cspi_add_check so we
6202 check the ev before using a (possibly) invalid value.
6204 * libspi/accessible.c
6205 (impl_accessibility_accessible_get_parent): don't segv
6208 * at-bridge/bridge.c (gtk_module_init): upd.
6209 (bridge_property_event_listener): don't leak strings
6211 (bridge_state_event_listener),
6212 (bridge_property_event_listener): don't use a static
6213 buffer in case of recursive event emission &
6214 re-enterancy - split out the swathe of cut and paste
6216 (emit_eventv): and fix 2 ref leaks here & comply to the
6218 (bridge_register_app): rename to
6219 (bridge_idle_init): this and kill arg parsing, split
6220 various inits & bonobo-activation registration to module
6221 init time, kill referencing error.
6222 (bridge_exit_func): fix the same leak.
6223 (bridge_focus_tracker): don't leak event structures
6225 (bridge_signal_listener): more leakage and cut & paste
6227 (bridge_key_listener): return the result - FIXME is
6228 this polarity correct ?
6229 (accessibility_keystroke_from_atk_key_event): rename
6230 (accessibility_init_keystroke_from_atk_key_event): and stop
6232 (gtk_module_init): return a value - not that it is checked by
6234 (bridge_key_listener): register my horror at casting between
6235 IDL defined structs.
6236 (bridge_get_registry): kill - not used.
6238 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6240 * test/test-simple.c (test_roles): impl.
6241 (test_desktop, validate_accessible, validate_tree): impl.
6243 * cspi/spi_accessible.c (role_names): fixup bogus
6244 MAX_ROLES setup, make constants const for efficient linkage
6245 (AccessibleRole_getName): conform to coding style, make
6248 2001-11-30 Michael Meeks <michael@ximian.com>
6250 * cspi/spi.h: add missing prototype.
6252 * libspi/registry.c (spi_listener_struct_new): fix sig.
6254 * test/Makefile.am: add test-simple
6256 * test/test-simple.c: add
6258 * test/test.sh: add.
6260 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6262 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6263 do it straight - since otherwise we often get an activation race.
6265 [ work before Bill duplicated a chunk of it ... ]
6266 2001-11-30 Michael Meeks <michael@ximian.com>
6268 * libspi/keystrokelistener.c
6269 (spi_keystroke_listener_class_init): fixup arg
6272 * libspi/eventlistener.c
6273 (spi_event_listener_class_init): ditto.
6275 * tests/test.sh: add.
6277 * cspi/spi-listener-impl.h: update macros.
6279 * cspi/spi-listener-impl.c
6280 (cspi_event_listener_remove_callback): add
6281 correct pre-conditions.
6283 * cspi/spi_main.c (SPI_exit): guard vs. double
6284 exits, exit the mainloop nicely.
6285 (SPI_event_main): make more sense.
6286 (SPI_init): move the atexit evilness here so we
6287 always do it (yuck).
6288 (SPI_event_main): upd.
6290 * test/simple-at.c: update for listener changes.
6292 * registryd/registryd.c (main): prune kruft.
6294 * libspi/libspi.h: upd.
6296 * libspi/eventlistener.[ch]: rename broken macros.
6298 * libspi/accessibleeventlistener.[ch]: remove.
6300 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6302 * test/test-simple.c: Add - automated tests.
6304 * cspi/spi-listener-impl.c (cspi_event),
6305 (cspi_key_event): add user_data to invoke.
6306 (cspi_keystroke_listener_finalize): impl.
6307 (cspi_keystroke_listener_class_init): upd.
6310 (createAccessibleEventListener),
6311 (AccessibleEventListener_addCallback),
6312 (createAccessibleKeystrokeListener),
6313 (AccessibleKeystrokeListener_addCallback): upd.
6315 * libspi/deviceeventcontroller.c
6316 (spi_device_event_controller_check_key_event): add public proto.
6319 (impl_accessibility_registry_deregister_global_event_listener):
6320 always init listeners.
6321 (_registry_notify_listeners): yes it is.
6323 * cspi/spi-listener-impl.c (cspi_key_event):
6325 (cspi_event_listener_finalize): impl.
6326 (cspi_event_listener_class_init): hook up.
6327 (event_handler_new, event_handler_free),
6328 (event_list_remove_by_callback): impl.
6329 (cspi_event_listener_remove_callback),
6330 (cspi_keystroke_listener_remove_callback),
6331 (cspi_keystroke_listener_add_callback),
6332 (cspi_event_listener_add_callback): upd.
6334 * libspi/keystrokelistener.c
6335 (keystroke_listener_object_finalize): kill
6336 (spi_keystroke_listener_class_init): upd.
6337 (spi_keystroke_listener_add_callback),
6338 (spi_keystroke_listener_remove_callback): kill,
6340 (impl_key_event): prune drasticaly.
6342 * libspi/eventlistener.c
6343 (spi_event_listener_add_callback),
6344 (spi_event_listener_remove_callback): kill, use
6346 (impl_accessible_event_notify_event): upd.
6347 (spi_event_listener_object_finalize): remove.
6349 * libspi/Makefile.am: use eventlistener.[ch]
6351 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6353 * libspi/registry.c (_registry_notify_listeners):
6354 Changed listener loop iteration to use preferred convention.
6355 Got rid of string memory leaks caused be calling g_strconcat
6356 inside function calls.
6358 * libspi/registry.c (parse_event_type):
6359 Stopped g_strconcat memory leaks, free the g_strsplit return,
6360 g_strdup the split pieces when used, etc.
6362 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6365 Change method 'compare' to return a 'difference set' rather than
6366 taking a StateSet as an out parameter (more Java-friendly).
6368 * idl/Accessible.idl:
6369 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6371 * idl/Component.idl:
6373 Changed methods 'getExtents' and 'getImageExtents' in these
6374 interfaces to return a BoundingBox structure.
6375 (getPosition and getSize are redundant and possibly should be
6376 removed, rather than creating a corresponding Point struct.)
6378 * cspi/spi_component.c:
6379 Modify implementation of getExtents to reflect the above IDL
6384 Add (missing) AccessibleImage_getExtents () API.
6386 * docs/reference/cspi/at-spi-cspi-sections.txt:
6387 Added AccessibleImage_getImageExtents () to docs.
6389 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6391 * idl/Component.idl:
6392 Added two methods, getLayer () and getMDIZOrder (), to reflect
6393 the new ATK methods atk_object_get_layer and
6394 atk_object_get_mdi_z_order. (Which arguably should be part of the
6395 AtkComponent API and AtkObject). Also added an enum,
6396 ComponentLayer, for the first method's return value.
6398 * libspi/component.c:
6399 Added implementations for these methods.
6401 * cspi/spi_component.c:
6403 Added cspi binding methods for above,
6404 AccessibleComponent_getLayer() and
6405 AccessibleComponent_getMDIZOrder().
6406 Added cspi enum 'AccessibleComponentLayer'.
6408 * docs/reference/cspi/at-spi-cspi-sections.txt:
6409 Added above methods to docs.
6413 Changed typedef for 'boolean' type (and all references to it) to
6414 SPIBoolean, to avoid keyword clashes with C++.
6417 Changed usages of 'boolean' to SPIBoolean.
6419 * test/keysynth-demo.c:
6420 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6421 app), except where SPIBoolean is required by the callbacks API.
6423 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6425 * cspi/spi_registry.c:
6426 Removed obsolete X event loop for passive keygrabs (which now
6429 * registryd/registryd.c:
6430 Removed unnecessary call to gdk_init() [cruft]. This also allows
6431 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6434 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6436 * docs/reference/cspi:
6437 Included docs for SPI_freeString in generated documentation.
6440 Renamed spi_freeString to SPI_freeString, for consistency. Added
6441 documentation for this function.
6444 Renamed spi_freeString to SPI_freeString, for consistency.
6445 Removed obsolete method declaration string_from_corba_string.
6447 * test/keysynth-demo.c:
6448 Small tweak to comments.
6451 Stopped leaking the strings returned from CSPI.
6453 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6455 Merged Michael's branch (see his ChangeLog entries below).
6457 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6458 bridge is alive, release on exit.
6460 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6461 Fix type check macro.
6464 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6467 Added is_gnome_app static, and method cspi_is_gnome_app(),
6468 so we can call the appropriate shutdown routine at exit in SPI_exit.
6470 * cspi/spi_main.c (cspi_object_ref):
6471 Duplicate the corba object passed in, since we're keeping it around.
6473 * cspi/SPI_exit.c, cspi_cleanup:
6474 Moved the releasing of the live refs to its own function, so we
6475 can put it in g_atexit (). Call the appropriate shutdown API
6476 depending on whethe calling client is a gnome app or not
6477 (bonobo_main_quit or CORBA_ORB_shutdown).
6479 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6480 Unref the listener when this method is called, after
6481 deregistration. Updated the API docs to note this behavior.
6483 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6484 Bugfixes: Ref the bonobo object when returning a parent or child
6485 reference, or an AccessibleRelation. Generally made sure
6486 BonoboObject refcount is incremented whenever we return an
6489 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6490 Fixed typo/bug in signal declaration.
6492 * libspi/accessibleeventlistener.h:
6495 * libspi/application.c (spi_application_new):
6496 Fixed leak in initialization.
6499 Remembered to increment bonobo-object refcount when returning
6500 children (applications) from desktop object.
6501 Added (empty) finalize method.
6503 * libspi/deviceeventcontroller.c:
6504 Hold a ref to listeners inside DEControllerKeyListeners.
6505 Added dec_key_listener_free() method. Use prepend instead of
6506 append in key_listener list. Fixed some refcount madness and
6507 leaks in the listener registration/deregistration - deregistration
6508 now calls dec_key_listener_free() on listeners, and on the
6509 temporarily constructed dec_key_listener() used to perform the search/match.
6511 * libspi/hypertext.c (spi_hypertest_finalize):
6512 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6513 class. Also fixed spi_hypertext_interface_new() and
6514 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6516 * libspi/hypertext.h:
6517 Removed pointless and duplicate AtkObject pointer from
6520 * libspi/keystrokelistener.c:
6521 Fixed incorrect type of keystroke_listener_parent_class,
6522 renamed keystroke_listener_object_finalize to
6523 spi_keystroke_listener_object_finalize.
6524 Fixed typo in signal declaration
6525 (spi_keystroke_listener_class_init).
6527 * libspi/registry.c:
6528 Added funcsions spi_listener_struct_new() and
6529 spi_listener_struct_free() to help with memory management issues.
6530 We also now use these methods instead of gnew + poking stuff into
6531 the struct, and to decrement listener counts/free the listeners
6532 when deregistering them.
6533 Fix more refcount bugs in getDesktop() and
6534 getDeviceEventController().
6537 De-ref the desktop after enumerating the applications. Explicitly
6538 decrement the refcounts on the created listeners on exit (using
6539 _unref for keystroke listeners, and via the
6540 deregisterGlobalEventListenerAll command for other event
6543 2001-11-27 Michael Meeks <michael@ximian.com>
6545 * cspi/spi-listener.h: fixup enum.
6547 2001-11-27 Michael Meeks <michael@ximian.com>
6549 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6550 (cspi_keystroke_listener_new): Use the cspi variants.
6552 2001-11-26 Michael Meeks <michael@ximian.com>
6554 * test/keysynth-demo.c: fix 2 compile warnings, missing
6557 * test/simple-at.c (report_focussed_accessible),
6558 (report_focus_event, report_button_press),
6559 (check_property_change, is_command_key),
6560 (report_ordinary_key_event, report_command_key_event): upd.
6562 * util/mag_client.h: include pre-requisites.
6564 * libspi/accessibleeventlistener.c
6565 (spi_event_listener_object_finalize): free any lingering
6568 * libspi/keystrokelistener.c
6569 (keystroke_listener_object_finalize): ditto.
6571 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6572 callbacks, with cspi types.
6574 * cspi/spi_event.c (createAccessibleEventListener): chain to
6575 (AccessibleEventListener_addCallback): here.
6576 (createAccessibleKeystrokeListener): chain to
6577 (AccessibleKeystrokeListener_addCallback): here.
6579 * libspi/keystrokelistener.c
6580 (spi_keystroke_listener_class_init): add signal.
6581 (impl_key_event): emit the event.
6582 (boolean_handled_accumulator): impl.
6583 (marshal_BOOLEAN__POINTER): add, gack.
6585 * libspi/accessibleeventlistener.c
6586 (spi_event_listener_class_init): add signal.
6587 (impl_accessible_event_notify_event): emit the signal &
6588 make the loop efficient.
6589 (spi_event_listener_add_callback): prepend the callback.
6591 * libspi/accessibleeventlistener.h: add an 'event' signal,
6592 decl type on callback.
6594 * libspi/keystrokelistener.h: ditto.
6596 * cspi/spi-listener.h: make methods typesafe and
6597 make them use the new event typedefs.
6599 * test/simple-at.c (report_focussed_accessible):
6600 include mag_client.h
6601 Use *(void *)text_interface not the other thing.
6603 * configure.in: add gtk to registryd bits - since we use
6606 * util/magnifier.c: include libbonobo.h
6608 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6610 * test/keysynth-demo.c:
6611 Turned this into a simple scanning keyboard, to demonstrate the
6612 use of g_timeout_add () as a means of creating timers for
6613 scanning, and the use of GtkStyle for visually indicating when
6614 virtual keyboard elements are selected.
6616 keysynth-demo now listens to any keyboard keys with zero-valued
6617 keycodes (i.e. 'unused' keys) and interprets them as
6620 Reworked the shiftlatch code so that shift-down state isn't held
6621 for long periods (it's only synthesized immediately prior to
6622 the keysynth event it's modifying). Note that shiftlatch in this
6623 demo is a convenience, not intended to take the place of AccessX
6624 which is the better choice for getting 'sticky' modifier keys.
6626 * libspi/deviceeventcontroller.c:
6627 * at-bridge/bridge.c:
6628 * cspi/spi_registry.c:
6629 Removed some debug print stuff, and put other verbosity in #ifdef
6634 Implemented some more of the magnifier IDL for the simple
6635 magnifier: namely, getZoomRegionParams.
6636 Added mag_x and mag_y members to MagnifierData struct, aid of this
6638 Added GtkWindow::realize signal handler to magnifier, to keep it
6639 from receiving keyboard focus from the WM.
6641 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6643 * cspi/spi-private.h: my guess at what michael forgot
6644 before he ran off to NZ :-)
6646 2001-11-23 Michael Meeks <michael@ximian.com>
6648 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6649 comment out non existant method invoke so we link.
6651 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6652 use bonobo_exception_get_text for more friendly warnings.
6654 * cspi/spi.c (Obj_Add): move into spi_main & rename
6655 spi_object_add; kill spi.c
6657 * cspi/spi_registry.c
6658 (deregisterGlobalEventListener),
6659 (deregisterGlobalEventListenerAll),
6660 (registerGlobalEventListener): fix exception leaks.
6662 * cspi/spi_main.c (spi_exception): impl. helper, so we
6663 don't leak exceptions.
6665 * cspi/spi_selection.c
6666 (AccessibleSelection_deselectSelectedChild): return the
6669 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6670 (spi_registry): ditto.
6671 (SPI_init): guard against double inits.
6673 * cspi/*.c: use spi_ev (), and spi_registry () where
6674 appropriate - a temporary hack until we have something
6675 better. Use spi_object_add
6677 2001-11-22 Michael Meeks <michael@ximian.com>
6679 * cspi/Makefile.am: re organise, install the headers.
6681 * cspi/*.h: add G_BEGIN/END_DECLS
6683 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6686 Added non-preemptive keylistener for key events with no modifiers
6687 and shift-only modifier.
6689 * libspi/keystrokelistener.c:
6690 Removed some verbose diagnostics printout.
6692 * cspi/spi_registry.c:
6693 Fixed a bug that caused all key listeners to be registered as
6696 * libspi/deviceeventcontroller.c:
6697 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6698 for non-preemptive key masks.
6701 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6703 * docs/reference/idl/at-spi-idl-docs.sgml:
6704 * docs/reference/idl/at-spi-idl-sections.txt:
6705 * docs/reference/idl/at-spi-idl-overrides.txt:
6706 Added missing files.
6708 * docs/reference/Makefile.am:
6709 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6710 to scan the IDL files :-(
6715 Added .cvsignore files.
6717 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6719 * libspi/deviceeventcontroller.c:
6720 * libspi/keystrokelistener.c:
6722 * cspi/spi_registry.c:
6723 Added filters for KeySets, KeyEventSeq, and event types to key
6724 event dispatching, so listeners should only receive those events
6725 that they requested :-)
6727 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6732 * docs/reference:Makefile.am:
6733 * docs/reference/cspi:
6734 * docs/reference/cspi:Makefile.am:
6735 * docs/reference/cspi:tmpl:
6736 * docs/reference/cspi:tmpl:*.sgml:
6737 * docs/reference/idl:
6738 * docs/reference/idl:Makefile.am:
6739 * docs/reference/idl:at-spi-idl-sections.txt:
6740 * docs/reference/idl:at-spi-idl-docs.sgml:
6741 * docs/reference/idl:tmpl:
6742 * docs/reference/idl:tmpl:*.sgml:
6744 Restructured docs directory to allow separate 'reference' docs
6745 section, and forked idl and cspi docs. Added the sgml template
6746 files to CVS. Added the first sections/structural sgml for the
6749 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6751 * configure.in, libspi/Makefile.am: find libXtst.
6753 2001-11-21 Michael Meeks <michael@ximian.com>
6755 * test/accessx-gui.c: s/spi_value/value/ - doh.
6757 * libspi/base.[ch]: add.
6759 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6761 * idl/Accessible.idl:
6762 * idl/Application.idl:
6765 Started gtk-doc cleanup on IDL.
6767 * libspi/deviceeventcontroller.c:
6768 Added and connected non-preemptive key notification from the
6769 toolkits (in addition to the pre-emptive support from XServer
6770 which we had before, but which causes 'focus flashing'). Filters
6771 are presently limited to key modifiers and global/non-global,
6772 KeySets are presently ignored, as are KeyEvent masks.
6774 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6775 structs into the persistant structure rather than just storing
6776 pointers to things that might not persist across servant
6779 The XGrabKey call now does async keygrabs, because synchronous
6780 ones were deadlocking with GDK_event code in a very nasty way.
6782 Added boolean to internal method notify_keylisteners, to indicate
6783 whether the event came from the 'toolkit source' or the 'global
6784 (XServer) source' - this is used in the notification process to
6785 determine which listeners to send the event to.
6787 deviceeventcontroller.c is now warning-free.
6789 * libspi/registry.c:
6790 Fixed regression in application de-registration.
6791 Also fixed some really brain-dead weirdness having to do with
6792 event dispatching - event structs are now duplicated before being
6793 re-marshalled in the dispatch to listeners. This also fixes a
6794 Solaris build problem.
6797 2001-11-20 Michael Meeks <michael@ximian.com>
6800 (impl_accessibility_registry_deregister_global_event_listener):
6803 * libspi/deviceeventcontroller.c
6804 (spi_device_event_controller_check_key_event): return
6805 FALSE on no virtual method.
6807 * libspi/*..h: make includes work on a correctly pathed install.
6809 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6811 * libspi/application.h: kill unused ( and whacked out )
6812 gboolean *spi_application_set_id (AtkObject *app, long id);
6814 2001-11-20 Michael Meeks <michael@ximian.com>
6816 * libspi/*.[ch]: further convert to bonobo's type func
6817 macros, remove redundnant casts etc.
6819 * libspi/text.c s/accessibility_text/spi_text/g,
6820 re-order to de-cruft.
6822 * libspi/hypertext.c: re-order to kill a huge slew
6823 of redundant forward decls.
6825 * libspi/relation.c: ditto.
6827 * libspi/image.c: ditto.
6829 * */.cvsignore: update
6831 2001-11-20 Michael Meeks <michael@ximian.com>
6833 * libspi/deviceeventcontroller.c
6834 (_controller_register_with_devices): use g_getenv,
6835 kill stdlib.h include.
6837 * libspi/keystrokelistener.c
6838 (spi_keystroke_listener_get_type): kill
6839 (spi_keystroke_listener_class_init),
6840 (spi_keystroke_listener_init): rename to this.
6842 * libspi/text.c (impl_getAttributes): fix warning / bug.
6844 * libspi/*.[ch]: more headers, includes and over commenting.
6846 2001-11-20 Michael Meeks <michael@ximian.com>
6848 * libspi/*.[ch]: fixup headers, includes and over commenting.
6850 * libspi/image.c (impl__get_imageDescription): const
6851 correctness warning fix. remove redundant casting.
6853 * libspi/table.c (impl_getRowDescription): ditto.
6854 (impl_getColumnDescription): ditto.
6856 * libspi/libspi.h: add.
6858 2001-11-19 Michael Meeks <michael@ximian.com>
6860 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6862 * libspi/component.c (accessibility_component_get_type):
6863 rename to (spi_component_get_type): and macroify.
6864 (accessibility_component_init): rename to
6865 (spi_component_init): this
6866 (accessibility_component_class_init): rename to
6867 (spi_component_class_init): this
6869 * libspi/action.c (spi_action_get_type): kill, use the macro.
6871 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6874 * libspi/application.c (spi_application_object_event_listener),
6875 (impl_accessibility_application_register_object_event_listener):
6876 warning fixes / const understanding updates.
6878 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6881 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6883 * libspi/spi_accessible.c: Added docs and C bindings for
6884 AccessibleStateSet. (No implementations yet). Documentation
6885 coverage for C bindings now 100%. Made docs for event listeners
6890 boolean notifyListenersSync (in DeviceEventListener listener,
6891 in DeviceEvent event);
6893 oneway void notifyListenersAsync (in DeviceEventListener listener,
6894 in DeviceEvent event);
6896 Added DeviceEventListener and DeviceEvent structs (may deprecate
6897 KeyStroke and KeystrokeListener in favor of this generic
6898 event/listener framework for devices).
6900 * libspi/deviceeventcontroller.c:
6902 Changed some key listener code to take masks, etc., and paved the
6903 way for integration of toolkit/non-preemptive key events. Changed
6904 signatures of some internal methods.
6906 * at-bridge/bridge.c:
6907 Fixed regression connecting to interface signals, apparently
6908 caused by GTK+ changes.
6910 Added an internal bridge_state_listener to deal with
6911 property-change:accessible-state signals.
6913 Changed the key_listeners GList to store structs (including masks,
6914 etc.) instead of just CORBA_Objects (required for full
6915 implementation of key listener API).
6917 Connected the bridge to all currently supported Atk signals.
6918 Events now supported:
6919 object:property-change
6920 object:property-change:accessible-name
6921 object:property-change:accessible-state
6922 object:property-change:accessible-description
6923 object:property-change:accessible-parent
6924 object:property-change:accessible-value
6925 object:property-change:accessible-role
6926 object:property-change:accessible-table-caption
6927 object:property-change:accessible-table-column-description
6928 object:property-change:accessible-table-column-header
6929 object:property-change:accessible-table-row-description
6930 object:property-change:accessible-table-row-header
6931 object:property-change:accessible-table-summary
6932 object:children-changed
6933 object:visible-data-changed
6934 object:selection-changed
6935 object:text-selection-changed
6937 object:text-caret-moved
6939 object:row-reordered
6941 object:column-inserted
6942 object:column-reordered
6943 object:column-deleted
6944 object:model-changed
6946 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6948 * libspi/hyperlink.c,h:
6949 Fixed some broken stuff in hyperlink.
6951 * libspi/relation.h:
6952 * libspi/relation.c:
6953 * cspi/spi_accessible.c:
6954 Initial implementations of AccessibleRelation methods, and docs.
6956 * libspi/accessible.c:
6957 Fixed a bug that caused SEGV if an accessible
6958 object's description is NULL, and a client
6959 requests it. An empty string is now returned.
6961 * cspi/spi_editabletext.c:
6962 * cspi/spi_hypertext.c:
6964 * cspi/spi_hyperlink.c:
6968 Doc coverage now 95%.
6970 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6972 One last namespacing revision:
6973 * libspi/accessibleeventlistener.[ch]:
6974 Renamed SpiAccessibleEventListener to SpiEventListener,
6975 (no need for two namespaces ;-)
6977 And lots of documentation fixes:
6979 * docs/at-spi-docs.sgml:
6980 Fixed 'underscore vs. hyphen' bug that was preventing
6981 the gtk-doc API docs from being automatically generated.
6984 * cspi/spi-listener.h
6986 * cspi/spi_accessible.c
6988 * cspi/spi_application.c
6989 * cspi/spi_component.c
6990 * cspi/spi_editabletext.c
6992 * cspi/spi_hypertext.c
6994 * cspi/spi_registry.c
6995 * cspi/spi_selection.c
6999 * docs/at-spi-docs.sgml
7000 * docs/at-spi-sections.txt
7002 Added and fixed up gtk-doc documentation in cspi.
7004 Interfaces now (fully) documented (subject to revision and enhancement):
7006 Event Listener Support
7008 AccessibleApplication
7012 AccessibleEditableText
7019 AccessibleRelationSet
7024 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7026 * at-bridge/bridge.c:
7027 Initial work for toolkit-level key snooper connection by bridge.
7032 New typedefs and fixes to support new namespacing, and cleaner
7033 separation of cspi bindings from libspi bonobo implementation.
7034 Removed inconsistent and extraneous Spi* namespace prefix that
7035 had crept into cspi headers.
7036 Lots of comment fixes that sed had missed.
7038 * cspi/spi-roletypes.h:
7039 * cspi/spi-statetypes.h:
7040 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7041 to AccessibleRoleType.
7043 * libspi/accessibleeventlistener.h:
7044 Fixed minor namespacing weirdness.
7046 * libspi/deviceeventcontroller.c:
7047 Reordered some internal API for device listeners.
7048 Changed the key registry final boolean to 'is_system_global'
7049 rather than 'is_synchronous', which is more descriptive of its
7051 Added spi_device_event_controller_new().
7052 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7054 * libspi/keystrokelistener.[ch]:
7055 Namespaced KeystrokeListener to SpiKeystrokeListener.
7056 Changed uses of keymasks to use SPI_ prefix, and did other
7059 * libspi/keymasks.h:
7060 Namespaced keymask constants with SPI_ prefix.
7062 * libspi/registry.c:
7063 Some warning fixes, and knock-on fixes from namespace changes.
7066 Added rules for accessx-gui test program.
7068 * test/accessx-gui.c:
7069 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7070 utility. It doesn't actually use at-spi, but it's still cool and
7073 * test/keysynth-demo.c:
7077 Fixes so that these test clients work properly with the namespaced
7078 libraries. (Incompletely tested for technical reasons, fixes may follow)
7081 2001-11-13 Michael Meeks <michael@ximian.com>
7083 * libspi/application.c
7084 (impl_accessibility_application_get_version),
7085 (impl_accessibility_application_get_toolkit_name):
7087 (impl_accessibility_application_set_id),
7088 (impl_accessibility_application_get_id): remove
7089 redundant casting code.
7091 * libspi/action.c (impl_getDescription): fix warnings.
7093 * libspi/accessible.c
7094 (impl_accessibility_accessible_get_parent),
7095 (impl_accessibility_accessible_get_child_at_index),
7096 (impl_accessibility_accessible_get_state),
7097 (impl_accessibility_accessible_get_relation_set):
7098 warning fixes & include action.h
7100 2001-11-13 Michael Meeks <michael@ximian.com>
7102 * *.[ch] fix bits I screwed up:
7104 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7105 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7107 2001-11-13 Michael Meeks <michael@ximian.com>
7109 * *.[ch] Namespace libspi into spi_ and Spi.
7111 2001-13-11 Michael Meeks <michael@ximian.com>
7113 * Makefile.am: dist & install at-spi-1.0.pc
7115 * libspi/Makefile.am: install into at-spi-1.0
7117 * idl/Makefile.am (idldir): install into at-spi-1.0
7119 * at-spi-1.0.pc.in: add.
7121 * configure.in: build it.
7123 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7125 * test/keysynth-demo.c:
7126 Use a 'realize' signal-handler to set the WM properties for
7127 the virtual keyboard, rather than making it a "POPUP" type
7128 override-redirect window (thanks to anders carlsson for that
7131 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7134 * test/keysynth-demo.c:
7135 Added new test of key synthesis, which creates a simple
7136 (mouse-operated) onscreen keyboard. It inserts key events into
7137 the currently-focused window, thus it does not grab keyboard focus
7140 * cspi/spi_registry.c:
7141 Added C binding for AT-SPI generateKeyEvent.
7143 * libspi/deviceeventcontroller.c:
7144 Added call to XFilterEvent so that key listener works with XIM (we
7145 hope). Added event_synth_type to generateKeyEvent, so that we can
7146 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7147 synthesize a press/release pair for KeySyms.
7149 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7151 * libspi/Makefile.am:
7152 * registryd/Makefile.am:
7153 (temporary) hack to include libXtst in libspi and registryd.
7154 (Needed for keystroke synthesis, see below).
7157 Improved API for registerKeystrokeListener, in accordance with
7158 discussions with Gnopernicus team and X server research.
7160 * libspi/registry.c:
7161 * libspi/deviceeventcontroller.c:
7162 * libspi/accessible.c:
7163 * libspi/keystrokelistener.c:
7164 Changes and fixes to support keylisteners for potentially
7165 consumed key events (that is, 'passive grabs').
7166 Added implementation for generateKeyEvent() [untested].
7169 Changes to registerKeystrokeListener() API, as above.
7170 Added deregisterGlobalEventListenerAll(), and
7171 deregisterKeystrokeListener(), which are needed for clean exit of
7173 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7174 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7176 * cspi/spi_registry.c:
7177 Added implementations of function prototypes mentioned above.
7179 * registryd/registryd.c:
7180 Added the key listener event source as a g_timeout(), to allow
7181 receipt of key events that are not caught by GDK (since GDK
7182 doesn't support passive keygrabs, this was necessary).
7185 Changed to attach a keylistener to 'Alt' keys, and
7186 respond to the following keycommands: Alt-M (toggle magnifier);
7187 Alt-F (toggle speech); Alt-Q (quit).
7188 Added an exit routine to deregister the listeners, and a key
7189 listener that prints some key info to the console when a key
7190 matches the listener mask (and is thus received by the listener).
7192 * util/idl/Magnifier.idl:
7193 Changes to magnifier API to support multiple zoom regions,
7194 non-uniform scaling in x and y, markDirty, and a host of other
7195 features that would be useful to magnification.
7198 * util/mag_client.c:
7199 * util/mag_client.h:
7200 * util/mag_control.c:
7202 Source code changes to support the above IDL changes.
7205 As above, and also changes to use a (slower) generic conversion
7206 path for colormap conversions, since the fast RGB conversions have been
7207 reported to fail for 16-bit displays.
7209 2001-10-26 Michael Meeks <michael@ximian.com>
7211 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7213 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7215 * at-bridge/Makefile.am: fix LDFLAGS.
7217 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7219 * at-bridge/bridge.c:
7220 Re-worked listeners for toolkit events, now we have signal
7221 and property listeners. Added a private method
7222 register_atk_event_listeners(), which registers with the
7223 various atk and gtk signals we need to monitor in order to emit
7225 Added emission hook for AtkObject:property-change events, to
7226 support the 'property listeners'.
7227 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7230 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7231 which emit warnings and exit, respectively, if CORBA errors occur
7232 during remote calls, and we now use these methods to check most of
7233 our CORBA calls in the C bindings.
7235 * cspi/spi_accessible.c:
7236 Changed AccessibleSelection_refSelectedChild() to
7237 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7238 now increment refcounts.
7240 * cspi/spi_component.c:
7241 Fixed some long pointer casts (dangerous!) to pass pointers to
7242 CORBA_longs of the proper type to the CORBA stubs, and copy the
7243 data into the longs that were passed into the C bindings code.
7245 * at-bridge/bridge.c:
7247 * libspi/accessible.c:
7248 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7249 hyperlinks, AtkHyperlink is an object type.
7251 * libspi/application.c:
7252 Added various conversions to and from "generic" event types and
7253 atk-specific types; this is really part of the 'bridge'
7254 implementation but is valid for all AtkObject-based accessibility
7257 * libspi/editabletext.c:
7258 Fixed nasty bug wherein editable text's finalize method was
7259 unref'ing tha AtkObject reference that the text parent class was
7260 about to unref _again_. There was also a nasty inheritance bug
7261 that meant that the AccessibleEditableText class was corrupt.
7263 * libspi/selection.c:
7264 Provided implementations for some selection API that was broken.
7266 * idl/Application.idl:
7267 Added registerObjectEventListener () method.
7270 Fixed a number of return values that were Bonobo_Unknowns from
7271 bonobo_object_corba_objref(), which I
7272 forgot to dup before returning. Changed instances of
7273 bonobo_object_corba_objref (bonobo_object(o)) to
7274 BONOBO_OBJREF(o), for concision and clarity.
7276 2001-10-13 Louise Miller <louise.miller@sun.com>
7278 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7279 idl/Event.idl, idl/Registry.idl
7280 Changed these files to include Bonobo_Unknown.idl instead
7283 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7285 * libspi/component.c libspi/component.h:
7286 Fixed typo. Added assertions for object checks in
7287 AccessibleComponent code.
7289 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7291 * idl/Accessible.idl:
7292 Added 'isEqual (Accessible *object)'
7293 method for Accessible. (Not Yet Implemented).
7296 Changed signature of registerKeystrokeListener() to
7297 take a KeySet and KeyEventSeq so that specific keys and event
7298 types could be requested for monitoring, and added a flag
7299 is_synchronous so that either synchronous or asynchronous
7300 notification could be requested. (However this is not all
7301 implemented yet). This also meant adding two new typedefs,
7302 KeyEventSeq and KeySet.
7305 Added two new relations, RELATION_TOOLTIP_FOR and
7306 RELATION_LEAFNODE_OF.
7309 Added new state, STATE_HAS_TOOLTIP.
7311 * libspi/text.c, editabletext.c:
7312 Added new assertions to all casts of bonobo-objects from
7313 CORBA servants, to prevent Text API calls on non-text objects.
7314 Changed suspect casts of int-pointer types, so that we
7315 always send a valid CORBA_long pointer to the CORBA APIs that use
7316 in/out long parameters. We then have to copy from the CORBA_long
7317 into the regular long or int for return to the C bindings, or
7318 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7321 * libspi/deviceeventcontroller.c:
7322 Cleaned these sources up.
7324 Changed return type for getCharacterAtOffset to
7325 CORBA_unsigned_long, to allow for 32-bit characters.
7328 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7332 Fixed 'make dist' so that distro compiles...
7333 * libspi/keymasks.h:
7335 * cspi/spi-listener.c:
7336 KeystrokeListenerCB now returns a boolean.
7338 Added KeyEventType struct, and KeyStroke.
7339 Also added createKeystrokeListener(),
7340 KeystrokeListener_addCallback(),
7341 KeystrokeListener_removeCallback(), and added a keymask to
7342 registerKeystrokeListener().
7343 * cspi/spi_accessible.c:
7344 Changed numerous return types for interfaces from
7345 AccessibleComponent to Accessible<InterfaceName>; this was
7346 probably a cut-and-paste error.
7348 Implementations of new KeystrokeListener api (from spi.h,
7351 Changes to key modifier mapping.
7352 Created ControllerEventMask struct.
7353 Made DeviceEventController derive from Bonobo::Unknown.
7355 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7356 * libspi/deviceeventcontroller.c:
7357 Added a number of new internal (private) methods.
7358 * libspi/editabletext.c:
7359 * libspi/editabletext.h:
7360 Fixed a number of bugs related to the fact that
7361 editabletext inherits from text. Fixed the EditableText struct,
7362 the init() call, and use correct casts when calling Text methods
7363 from an EditableText object. Removed (duplicate) atko from the
7364 EditableText structure, we use the one in the parent Text
7365 structure via the casts mentioned above.
7366 * libspi/keystrokelistener.[ch]:
7367 * libspi/registry.c:
7368 Changes in support of keyboard handling (above).
7370 Keyboard handling, though partly functional, is still not
7371 recommended for at-spi client use as there is considerable
7372 work yet to be done.
7375 Changed some places where pointers to various int types
7376 are cast to be pointers to CORBA_long types and vice-versa:
7377 pointer casting is not safe so we pass pointers of the correct
7378 types and then cast the result before putting it into the target
7381 * libspi/text.h: minor typos corrected.
7383 We now speak not only the name of a Text element, but the
7384 first sentence of its content, when it receives focus.
7385 I also changed the text compression to 75% from 50%.
7386 * util/Accessibility_Util.server.in:
7387 Changed the default magnifier type to be a 3x vertical
7388 splitscreen magnifier (was previously a 2x horizontal one).
7390 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7392 * libspi/keystrokelistener.h:
7393 * libspi/keystrokelistener.c:
7394 Initial functional implementations of KeystrokeListener.
7397 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7399 Fixed string handling for NULL strings in libspi.
7400 Added spi_freeString to free strings returned by C bindings.
7402 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7404 * libspi/keystrokelistener.h:
7405 * libspi/keystrokelistener.c:
7406 Began (no-op) implementations of KeystrokeListener
7408 * libspi/deviceeventcontroller.c:
7409 * libspi/deviceeventcontroller.h:
7410 Began creating implementations of DeviceEventController,
7411 to handle keystroke and mouse event listening and
7413 * libspi/accessible.c:
7414 Stubbed-in the implementations for
7415 Accessibility_Accessible_getState and
7416 Accessibility_Accessible_getRelationSet.
7417 * libspi/registry.c:
7418 Improved de-registration process and fixed some bugs,
7419 deregistration now works correctly.
7421 Added initialization of applications list (to NULL).
7423 Reduced speech compression from 0.5 to 0.7, for demo.
7424 Changed call to gdk_window_set_decorations()
7425 to gtk_window_set_decorated().
7426 * at-bridge/bridge.c:
7427 Bridge now deregisters when app exits, via
7428 registration of a cleanup function
7429 with the g_atexit() call.
7430 Required making 'app' static, renamed 'this_app'.
7431 Fixed broken use of bonobo_init, passing argv wrongly.
7433 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7437 Created a new directory for
7438 accessibility-related utilities, primarily for
7439 testing and demo purposes, but with possible
7446 Onscreen magnifier utility that
7447 is implemented as a bonobo service.
7449 * util/mag_client.c:
7450 * util/mag_client.h:
7451 Client-side support (simple C bindings)
7452 for Magnification service
7454 * util/mag_control.c:
7455 Client program example for
7456 Magnification service
7458 * util/Accessibility_Magnifier.server.in:
7459 Bonobo-activation file for the
7460 Magnification service.
7463 * util/idl/Magnifier.idl:
7464 IDL defining the bonobo Magnification
7468 Modifications to use the bonobo-activated magnifier
7469 above, in place of trying to connect to an existing
7470 magnifier that uses socket-listening IPC.
7472 If env variable MAGNIFIER is set, a magnifier service
7473 will be started if one does not exist.
7475 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7477 * at-bridge/bridge.c:
7478 applied patch from Marc to build and run
7479 against new glib and gtk+ (seemed like a change
7480 to bonobo_init signature was made ?)
7482 made festival-server support turned off by default.
7483 Added support for a simple magnifier (off by default)
7484 which will be added to a 'util' directory later.
7485 * at-bridge/Makefile.am:
7486 Changed "application.h" header from a 'source'
7487 to a 'dependency' of libat-bridge.
7489 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7498 Added interface implementation c files to list of
7499 includes so they are included in libcspi.
7502 Changed prototype of AccessibleAction_doAction to return a
7504 Changed prototype of AccessibleTable_getCaption to
7505 return an Accessible.
7506 Changed prototype of AccessibleTable_getSelectedRows
7507 and AccessibleTable_getSelectedColumns to
7508 return a long (returns the number of selected rows
7509 or columns respectively).
7510 Changed name of AccessibleText_refRunAttributes to
7511 AccessibleText_getAttributes.
7512 Changed prototype of AccessibleText_getCharacterExtents to
7513 return a void rather than a boolean.
7514 Added support for a AccessibleCoordType parameter
7515 specifying what type of coordinates are desired.
7516 Added an AccessibleCordType parameter to
7517 AccessibleText_getPointAtOffset.
7519 * cspi/spi_accessible.c:
7520 Added code to return the outstanding interfaces from
7521 Accessible_queryInterface.
7523 * cspi/spi_action.c:
7525 Corrected call to getNActions to call the c binding
7528 * cspi/spi_editabletext.c:
7530 Changed name from setRunAttributes to setAttributes.
7532 * cspi/spi_hyperlink.c:
7534 Changed call to getNAnchors to correctly call the c
7535 binding for an attribute.
7537 * cspi/spi_hypertext.c:
7539 Changed getImageDescription to correctly call the
7540 binding for an attribute.
7542 * cspi/spi_selection.c:
7543 Changed getNSelectedChildren to correctly call the c
7544 binding for the attribute.
7545 Changed refSelectedChild to getSelectedChild.
7549 Changed getCaption to return an Accessible.
7550 Fixed calls which retrieve attributes.
7551 Changed refAt to getAccessibleAt.
7552 Changed getNSelectedRows and getNSelectedColumns to
7556 Changed getCharacterExtents and getPointAtOffset to accept an
7557 AccessibleCoordType.
7559 Changed calls which retrieve attributes.
7560 Changed refRunAttributes to getAttributes.
7565 * idl/Hyperlink.idl:
7566 Changed n_anchors attribute to nAnchors to keep naming
7567 convention consistent.
7570 Made Table inherit from Bonobo::Unknown.
7571 Added nSelectedColumns and nSelectedRows attributes.
7574 Made Value inherit from Bonobo::Unknown.
7576 * libspi/hyperlink.c:
7577 Change for nAnchors attributte name change.
7579 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7587 Added interface implementation c files to list of
7588 includes so they are included in libcspi.
7591 Changed prototype of AccessibleAction_doAction to return a
7593 Changed prototype of AccessibleTable_getCaption to
7594 return an Accessible.
7595 Changed prototype of AccessibleTable_getSelectedRows
7596 and AccessibleTable_getSelectedColumns to
7597 return a long (returns the number of selected rows
7598 or columns respectively).
7599 Changed name of AccessibleText_refRunAttributes to
7600 AccessibleText_getAttributes.
7601 Changed prototype of AccessibleText_getCharacterExtents to
7602 return a void rather than a boolean.
7603 Added support for a AccessibleCoordType parameter
7604 specifying what type of coordinates are desired.
7605 Added an AccessibleCordType parameter to
7606 AccessibleText_getPointAtOffset.
7608 * cspi/spi_accessible.c:
7609 Added code to return the outstanding interfaces from
7610 Accessible_queryInterface.
7612 * cspi/spi_action.c:
7614 Corrected call to getNActions to call the c binding
7617 * cspi/spi_editabletext.c:
7619 Changed name from setRunAttributes to setAttributes.
7621 * cspi/spi_hyperlink.c:
7623 Changed call to getNAnchors to correctly call the c
7624 binding for an attribute.
7626 * cspi/spi_hypertext.c:
7628 Changed getImageDescription to correctly call the
7629 binding for an attribute.
7631 * cspi/spi_selection.c:
7632 Changed getNSelectedChildren to correctly call the c
7633 binding for the attribute.
7634 Changed refSelectedChild to getSelectedChild.
7638 Changed getCaption to return an Accessible.
7639 Fixed calls which retrieve attributes.
7640 Changed refAt to getAccessibleAt.
7641 Changed getNSelectedRows and getNSelectedColumns to
7645 Changed getCharacterExtents and getPointAtOffset to accept an
7646 AccessibleCoordType.
7648 Changed calls which retrieve attributes.
7649 Changed refRunAttributes to getAttributes.
7654 * idl/Hyperlink.idl:
7655 Changed n_anchors attribute to nAnchors to keep naming
7656 convention consistent.
7659 Made Table inherit from Bonobo::Unknown.
7660 Added nSelectedColumns and nSelectedRows attributes.
7663 Made Value inherit from Bonobo::Unknown.
7665 * libspi/hyperlink.c:
7666 Change for nAnchors attributte name change.
7669 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7671 implementations-- made server implementations own AtkObject pointers
7672 rather than their respective AtkInterrface pointers to fix
7673 refcounting. AtkHyperlink is still broken.
7675 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7676 * cspi/spi_accessible.c:
7677 Added method Accessible_Role_getName(),
7678 and requisite string array (role_names).
7679 Added conversion string_from_corba_strin() call
7680 to Accessible_getName and _getDescription.
7681 * libspi/accessible.c:
7682 Added implementation for Accessible_getRole()
7684 Added festival support, used if environment variable
7687 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7689 * at-bridge/bridge.c:
7690 Now allocate Accessibility_Event using
7691 Accessibility_Event__alloc() instead of g_new0().
7692 * libspi/accessibleeventlistener.c:
7693 Initialize AccessibleEventListener->callbacks to NULL.
7694 Fixed accessible__event_listener_init() param, changed to
7695 "AccessibleEventListener *" type.
7696 Changed a bonobo_object_release_unref() call to
7697 Accessibility_Accessible_unref().
7698 * libspi/listener.c:
7699 Changed Bonobo_Unknown_unref to (equivalent)
7700 Accessibility_Accessible_unref.
7701 * libspi/registry.c:
7702 Changed bonobo_object_release_unref to
7703 Accessibility_Accessible_unref.
7705 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7708 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7709 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7710 spi-util.c spi-util.h
7711 Implementations for C bindings to remaining accessibility
7714 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7717 changed return value of Action from void to boolean to
7718 bring in line with ATK.
7721 Changed getText funcions to return "out" start and end offsets.
7722 Changed getAttributes to take and offset and return the start
7723 and end offset of the attribute run.
7724 Changed getOffsetAtPoint and getCharacterExtents to take an
7725 enum describing whether coordinates are window or screen.
7728 libspi/action.c libspi/action.h libspi/editabletext.c
7729 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7730 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7731 libspi/image.h libspi/selection.c libspi/selection.h
7732 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7733 libspi/value.c libspi/value.h
7734 Added server implementations for outstanding ATK interfaces
7735 not yet implemented.
7737 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7740 Added (missing) getName() method.
7741 Made nActions an attribute.
7742 * idl/EditableText.idl:
7743 Changed order of params in setAttributes.
7744 * idl/Hyperlink.idl:
7745 Removed getAnchor, added getURI.
7747 Changed attributes to methods, for efficiency
7748 (so that getting extents can be done in one call)
7749 * idl/Selection.idl:
7750 Changed nSelectedChildren to attribute, and re-indented.
7751 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7753 * idl/Text.idl: reformatted to match our coding style.
7754 (temporarily?) removed getRowColumnAtOffset().
7755 Changed text selection API to support multi-select and
7756 non-contiguous selections, as in ATK.
7757 * idl/Value.idl: changed some methods to attributes.
7759 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7761 * libspi/listener.c(impl_notify_event):
7762 BonoboUnkown_unref the source instead
7763 of bonobo_object_release_unref - the ORB
7764 handles the releasing.
7766 * configure.in: require ORBit-2.3.94 for
7769 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7771 Tagged CVS repository 'EA_1_0'.
7772 * README.EARLY_ACCESS:
7773 Alphabetized acknowledgements list, and
7775 Listed some known dependencies of at-spi.
7777 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7779 * docs/at-spi-docs.sgml:
7780 * docs/at-spi-sections.txt:
7781 * docs/at-spi-overrides.txt: (Added zero-length file)
7782 Documentation improvements - gtk-doc should build
7783 docs for all implemented C bindings now.
7786 * cspi/spi.c: (New file)
7787 * cspi/spi_event.c: (New file)
7788 * cspi/spi_registry.c: (New file)
7789 * cspi/spi_accessible.c: (New file)
7790 * cspi/spi_application.c: (New file)
7791 * cspi/spi_component.c: (New file)
7792 Split spi_main.c into six parts, and included them from
7793 "spi.c". This is a bit of a hack, probably temporary,
7794 but required by gtk-doc, apparently.
7796 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7799 * docs/at-spi-docs.sgml:
7800 * docs/at-spi-sections.txt:
7802 Initial checkins/modifications for gtk-doc generation.
7805 Added (missing) interface query methods to Accessible's C binding.
7807 Added GenericInterface type definition.
7809 Added query for AccessibleComponent interface to focus event handler.
7810 Added printout of bounding box for focussed component.
7811 * libspi/component.c:
7812 Added partial implementation for AccessibleComponent to C binding.
7813 * idl/Application.idl:
7814 * libspi/registry.c:
7815 * libspi/listener.c:
7816 * libspi/application.c:
7817 * libspi/application.h:
7818 Changed "ID" attribute type from string to long.
7820 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7824 Made method naming consistent: methods taking object args
7825 start with uppercase, other methods (except those using
7826 acronyms) start with lowercase. Underscores delimit between
7827 object names and method names:
7828 SPI_init() - uppercase since it starts with an acronym.
7829 getDesktopCount () - lowercase start since no object param0.
7830 Accessible_getName() - uppercase object type name, studlyCaps method
7834 Added gtk-doc documentation for all currently implemented
7835 methods in the C bindings API.
7837 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7839 * Makefile.am : changed build order to build test last.
7842 Changed "createEventListener" to "CreateEventListener".
7843 * libspi/accessibleeventlistener.c :
7844 Bugfix for addition of callbacks.
7845 * test/Makefile.am :
7846 * test/simple-at.c :
7847 Added new test that uses the C bindings API.
7849 * libspi/listener.c :
7850 * libspi/registry.c :
7851 * libspi/accessibleeventlistener.c :
7852 * at-bridge/bridge.c :
7853 Renamed member "target" of Accessibility_Event to "source",
7854 which is more descriptive.
7857 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7861 * cspi/Makefile.am :
7862 Added makefile support for at-spi/cspi directory.
7865 * cspi/spi-listener.h : (NEW FILE)
7866 Added support for/use of spi-listener.h.
7868 C bindings now build successfully, with no warnings.
7869 * libspi/accessibleeventlistener.h : (NEW FILE)
7870 * libspi/accessibleeventlistener.c : (NEW FILE)
7871 * libspi/Makefile.am :
7872 Added new object type "AccessibleEventListener"
7873 which inherits from Listener, and allows attachment
7874 of in-process callbacks (so that a client with a listening
7875 object instance can add functionality to the local
7876 implementation, dynamically).
7878 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7880 * libspi/accessible.c:
7881 Add implementation for get_index_in_parent().
7883 Added #include of "spi-roletypes.h", and
7884 added enumerated type AccessibleCoordType.
7885 Added definition for KeystrokeListener (function type).
7888 * cspi/spi-statetypes.h :
7889 * cspi/spi-roletypes.h :
7891 Added these headers, used by spi.h.
7893 Added code (NOTE: not yet built by make).
7895 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7897 * libspi/Makefile.am: generate imodule
7898 at the same time as other idl compiler
7901 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7902 * libspi/registry.c :
7903 * libspi/application.c :
7904 * idl/Application.idl :
7905 Made registration with toolkit an application method,
7906 which is required since each app has its own toolkit static
7907 environment. Thus the bridge must register for
7908 notification of toolkit events from each application in turn.
7909 Toolkit notifications are now successfully registered for, and
7910 sent to the listening at client.
7912 Changed toolkit event string to use hyphens rather than underscores.
7913 * libspi/listener.c :
7914 listner now gives more info in debug mode - it reports the
7915 name of the event received, as well as the name of the source.
7918 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7920 * libspi/registry.c :
7921 added more implementation for toolkit events.
7922 Fixed bug such that toolkit event registrations
7923 (via atk) use the whole event name string, not
7925 Removed a useless call to an ORBit_ method.
7926 * at-bridge/bridge.c :
7927 Removed unused local sbuf[] variable.
7929 We now register for Gtk:GtkWidget:button_press_event
7930 events as well as "focus:" events.
7932 Add some more API from Registry.idl that was missing,
7933 for keystroke listening, keystroke and mouse event
7934 synthesis, and enumeration of accessible desktops.
7936 2001-08-16 Michael Meeks <michael@ximian.com>
7938 * configure.in: use AM_GLIB_GNU_GETTEXT.
7940 * Makefile.am (SUBDIRS): kill intl.
7942 2001-08-15 Michael Meeks <michael@ximian.com>
7944 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7946 * configure.in: upd.
7948 * configure.in: depend on a recent bonobo-activation that
7949 will find our server files ...
7951 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7953 * libspi/accessible.c : accessible_new() :
7954 Now we add the Component interface via bonobo_object_add_interface,
7955 if the contained AtkObject implements AtkComponent.
7956 * libspi/accessible.h : now include "component.h"
7957 * libspi/component.h :
7958 * libspi/component.c : added files - implementation of
7959 bonobo wrapper object for Accessibility/Component
7960 * libspi/listener.c :
7961 Added test code to check for Accessibility/Component:1.0
7962 interface and report whether it is implemented by the
7964 * libspi/registry.c :
7965 Now we check for not only the hash of the whole event
7966 string before relaying the event, we also check the
7967 "minor" event string (without the detail string).
7968 This allows event listeners to be registered against
7969 all events of a certain major+minor type, or just
7970 against a specific major+minor+detail type.
7971 * libspi/accessible.c :
7972 Added implementations for Accessible:get_parent(),
7973 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7974 * libspi/registry.c :
7975 * libspi/listener.c :
7976 Replaced calls to Accessibility_Accessible_ref() and
7977 Accessibility_Accessible_unref() with
7978 calls to bonobo_object_dup_ref() and
7979 bonobo_object_release_unref(), so that the CORBA object
7980 is dup-ed and released when relayed, as well as the bonobo object.
7982 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7984 * libspi/Makefile.am,
7985 registryd/Makefile.am,
7986 at-bridge/Makefile.am.
7987 test/Makefile.am, configure.in:
7988 reverse previous changes.
7990 * /idl/Image.idl: fix typo.
7992 * test/Makefile.am: put DEBUG_FLAGS
7995 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7997 * test/app.c: use argv[0] instead of
8000 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8002 * libspi/Makefile.am,
8003 registryd/Makefile.am,
8004 at-bridge/Makefile.am.
8005 test/Makefile.am, configure.in:
8006 cleanup, replace individual LIBS/CFLAGS with
8007 AT_COMMON_{LIBS|CFLAGS}.
8011 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8013 * configure.in, libspi/Makefile.am:
8014 Change IDL path checking for bonobo-activation
8017 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8019 * registryd/registry.c : separated event listeners to use
8020 3 separate lists (focus, window, toolkit). Began testing
8021 event names against hashes before relaying events.
8022 * test/at.c : now register for events of type "focus:"
8023 * test/app.c : now generate events of type "focus:"
8024 * at-bridge/bridge.c : register with ATK for focus events,
8025 and we now relay those focus events to any "focus:" listeners.
8026 This now works with the bridge as a GTK_MODULE when running test/at.
8027 * libspi/registry.c :
8028 * libspi/listener.c :
8029 now we ref event sources before propagating, and unref on receipt.
8030 * libspi/registry.c :
8031 some changes to internal structs, to support event typestring hashes.
8032 * text/app.c : changed the way the appname is generated.
8033 * cspi : added directory that will hold the C bindings library for
8034 non-CORBA/bonobo-savvy clients.
8035 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8036 * idl/Component.idl : added in parameter to indicate coord system for
8037 geometry-related calls.
8038 * idl/Hyperlink.idl : added readonly n_links attribute
8039 * idl/Image.idl : changed methods to attributes.
8041 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8043 * at-bridge/Makefile.am: link against
8044 ../libspi/libspi.la instead of -lspi.
8046 * at-spi/test/app.c: include
8047 bonobo-activation.h. Use a default appname
8048 if one is not provided.
8050 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8052 * idl/Registry.idl : temporarily changed register_Application
8053 to oneway, to work around issue with initial registration
8055 * idl/Application.idl : changed attribute "id" from readonly
8056 to read-write, since it needs to be assigned by Registry.
8057 * registryd/registryd.c : added call to set application id
8059 * registryd/registry.c : changed de-registration procedure to
8060 use CORBA_Object_hash() to find matching object ref in application
8061 lists and listener lists.
8062 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8063 began distinguishing between event types (work in progress).
8065 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8068 * libspi/application.c:
8069 Added implementations for get/set id, get_toolkitName,
8071 * registryd/registryd.c :
8075 Converted from use of OAF to bonobo-activation.
8076 * libspi/desktop.h :
8077 * libspi/desktop.c :
8079 Removed references to atksimpleobject, since base atkobject
8080 implementation now provides functionality we need.
8081 * libspi/atksimpleobject.c :
8082 * libspi/atksimpleobject.h :
8087 * at-bridge/Makefile.am
8088 * at-bridge/bridge.c
8091 Added directory "bridge" and contents, and added dependencies
8092 in Makefile.am/configure.in.
8093 Initial checkin of "at-bridge".
8094 This code is a GTK_MODULE which automatically registers
8095 GTK+ apps with the accessibility registry, using an object
8096 reference to the root ATK object.
8098 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8100 * po/Makefile.in.in: Remove. Again. If this
8101 doesn't get autogenerated - you need to update
8104 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8106 * po/Makefile.in.in: Add. Again.
8108 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8110 * libspi/accessible.c : added support for 'description' property.
8111 * libspi/accessible.c
8113 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8114 (since the two are now equivalent in libbonobo)
8122 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8123 Bonobo::Unknown as does Accessibility::Accessible.
8124 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8125 interface with Bonobo::Stream, since it was redundant with it.
8126 (The Stream returned by a StreamableContext object is expected to
8127 implement only a subset of Bonobo::Stream)
8129 2001-07-28 Anders Carlsson <andersca@gnome.org>
8131 * libspi/accessible.c (accessible_object_finalize): Change
8132 g_free to g_object_unref since the AtkObject is a GObject.
8134 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8136 * idl/Accessibility.idl: add new IDL files
8139 * idl/Action.idl: Definitions of actionable UI object
8140 * idl/Component.idl: Definitions of UI component geometry, etc.
8141 * idl/Hyperlink.idl: Defs of hyperlink behavior
8142 * idl/Image.idl: Def of accessible image
8143 * idl/Selection.idl: Definition of UI object with selectable children
8144 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8145 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8146 * idl/Text.idl: Interface defs for UI elements with complex textual content
8147 * idl/Value.idl: Definition of UI element that is a value controller or display
8149 2001-07-27 Michael Meeks <michael@ximian.com>
8151 * po/Makefile.in.in: remove autogenerated file from CVS.
8153 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8156 * idl/Registry.idl: include guard.
8158 * idl/Accessibility.idl: Add, and include all the other IDL
8161 * idl/*.idl: remove mass of pragmas etc.
8163 2001-07-26 Michael Meeks <michael@ximian.com>
8165 * registryd/Makefile.am (registryd_SOURCES): remove
8168 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8170 * libspi/.cvsignore, registryd/.cvsignore,
8171 test/.cvsignore: updated.
8173 * po/Makefile.in.in: gettext update.
8175 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8177 * initial CVS checkin
8179 2001-06-29 Michael Meeks <michael@ximian.com>
8181 * configure.in: add AM_CONFIG_HEADER to gen config.h