1 2007-03-02 Li Yuan <li.yuan@sun.com>
4 (spi_atk_bridge_register_application),
5 (deregister_application), (spi_atk_bridge_focus_tracker),
6 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
7 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
8 to prevent calling threads_enter/leave during the init and shutdown.
10 2007-02-27 Li Yuan <li.yuan@sun.com>
13 (spi_re_entrant_list_delete_link):
14 Bug #412286. Reverse previous patch.
15 * configure.in, NEWS: Uprev/release 1.17.2.
17 2007-02-26 Li Yuan <li.yuan@sun.com>
19 * libspi/accessible.c:
20 (impl_accessibility_accessible_get_attributes),
21 (impl_accessibility_accessible_get_relation_set):
22 Bug #404584 and #401299. Return an empty object instead of return NULL.
23 * configure.in, NEWS: Uprev/release 1.17.1.
25 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
27 * Makefile.am: Dist MAINTAINERS.
29 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
31 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
32 (atk_bridge_init), (spi_atk_bridge_get_registry),
33 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
34 Fix some compiler warnings and plug a leak. Closes part of
37 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
39 * cspi/bonobo/cspi-bonobo-listener.h:
40 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
41 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
42 * cspi/spi_main.c: (SPI_eventIsReady):
43 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
44 * libspi/streamablecontent.c:
45 * libspi/util.c: (spi_re_entrant_list_delete_link):
46 * login-helper/login-helper.c:
47 * registryd/deviceeventcontroller.c:
48 (spi_controller_update_key_grabs), (isEvent):
49 * registryd/registry.c:
50 * test/key-listener-test.c: (simple_at_exit):
51 * test/login-helper-server-test.c: (test_set_wm_dock),
53 Fix a bunch of warnings from sparse:
54 - ANSIfication of function declarations
57 - make some stuff static
59 2007-02-14 Li Yuan <li.yuan@sun.com>
61 * libspi/accessible.c:
62 (impl_accessibility_accessible_get_attributes):
63 Bug #404584. If there is no attributes, just return NULL.
65 2007-02-12 Li Yuan <li.yuan@sun.com>
67 * configure.in, NEWS: Uprev/release 1.17.0.
69 2007-02-12 Li Yuan <li.yuan@sun.com>
71 * atk-bridge/bridge.c:
72 (atk_bridge_init): bug #400709. we must emit events even if we are not
73 registered as a full-fledged app.
74 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
75 application like openoffice shutdown. They need to unload gtk before
76 the is spi_atk_bridge_exit_func called.
78 2007-01-22 Li Yuan <li.yuan@sun.com>
80 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
82 2007-01-22 Li Yuan <li.yuan@sun.com>
84 * cspi/bonobo/cspi-bonobo.c:
85 (cspi_get_registry_ior), (cspi_init):
86 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
88 2007-01-19 Li Yuan <li.yuan@sun.com>
90 * atk-bridge/bridge.c:
91 (atk_bridge_init), (spi_atk_bridge_register_application),
92 (deregister_application), (spi_atk_bridge_focus_tracker),
93 (spi_atk_emit_eventv):
94 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
97 2007-01-08 Li Yuan <li.yuan@sun.com>
99 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
101 2007-01-08 Li Yuan <li.yuan@sun.com>
103 * registryd/registry-main.c:
104 (main): set registry ior only when register server successfully.
105 * atk-bridge/bridge.c:
106 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
107 Bug #372988, #381670. Fix memory leak.
109 2007-01-02 Bill Haneman <billh@gnome.org>
112 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
113 appending default attributes to a text attribute set.
116 2006-12-28 Li Yuan <li.yuan@sun.com>
118 * atk-bridge/bridge.c:
119 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
120 the second time, because spi_atk_emit_eventv will free any. Bug
123 2006-12-15 Li Yuan <li.yuan@sun.com>
125 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
127 2006-12-14 Li Yuan <li.yuan@sun.com>
130 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
131 (spi_atk_bridge_property_event_listener),
132 (spi_atk_bridge_signal_listener):
133 Free some CORBA objects to fix memory leak and crash.
135 2006-12-13 Li Yuan <li.yuan@sun.com>
137 Patch from Ariel Rios to fix #163132 and #377079.
138 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
139 (spi_atk_bridge_get_registry_ior):
140 Use g_warning instead of g_error and g_critical to avoid crash.
142 2006-12-11 Bill Haneman <bill.haneman@sun.com>
145 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
146 if there are no non-default attributes defined at the current offset.
149 2006-12-04 Bill Haneman <bill.haneman@sun.com>
151 * idl/Accessibility_Role.idl: Fixed the documentation for
152 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
154 2006-12-04 Bill Haneman <bill.haneman@sun.com>
156 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
158 2006-11-07 Bill Haneman <bill.haneman@sun.com>
160 Patches from Padraig O'Briain for bugs #361386 and #369377.
162 * registryd/registry.c:
163 (struct NotifyContext): Change the e_out
164 member from an Accessibility_Event struct to a pointer to
166 (notify_listeners_cb): Modify to use the new struct definition above.
167 Allows use of ORBit_copy_value instead of CORBA_any__copy.
169 * registryd/deviceeventcontroller.c:
170 (spi_dec_button_update_and_emit): Free the event's any_data
172 (spi_dec_mouse_check):Free the event details any struct
174 (spi_device_event_controller_forward_mouse_event): Free any.
175 (spi_device_event_controller_forward_key_event): Ditto.
177 2006-11-07 Bill Haneman <bill.haneman@sun.com>
179 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
180 Don't require gtk+ and gail for building most of at-spi
183 * registryd/registry-main.c (main): We now get te value of display
184 using the env var DISPLAY rather than using the gdk_display_get_default
185 to avoid dependancy of gdk. Also, once the registry is started, we set
186 the ior of the registry as an X property.
187 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
189 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
190 the registration was successfull.
191 (spi_atk_bridge_do_registration): This function now returns success
192 or not on activating the registry.
193 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
194 has been set in the X root window and return it if available.
195 (spi_atk_bridge_get_registry): We now get the registry using the IOR
196 saved as a X property rather than using the OAFID.
198 2006-10-01 Bill Haneman <bill.haneman@sun.com>
200 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
202 2006-09-25 Bill Haneman <bill.haneman@sun.com>
204 * registryd/registry.c:
205 (desktop_remove_application): Don't pass a ref to the
206 dead application with the event, since it's probably
207 defunct and will cause SEGV if we try to unref,
208 extract app name, etc.
211 2006-09-20 Bill Haneman <bill.haneman@sun.com>
213 Patch from Neo Liu <nian.liu@sun.com>,
216 * atk-bridge/bridge.c:
217 (spi_atk_bridge_document_event_listener): New, for
220 2006-08-30 Bill Haneman <bill.haneman@sun.com>
223 Changed some parameter names so as not to
224 collide with class names - allows IDL to be compiled with
225 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
227 2006-08-22 Bill Haneman <bill.haneman@sun.com>
229 * atk-bridge/bridge.c:
230 (spi_atk_bridge_signal_listener):
231 Patch from Ginn Chen, assign detail1 in children-changed
232 so that the child object can be assigned to the Any when the
233 at-spi event is emitted. Bug #350552.
235 * libspi/application.c:
236 (spi_application_finalize): Remove g_print debug output.
239 2006-08-21 Bill Haneman <bill.haneman@sun.com>
241 * configure.in: Revved to AT-SPI 1.7.11.
243 * libspi/accessible.c:
244 (spi_accessible_new): Aggregate Hyperlink interface
245 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
247 * libspi/hyperlink.c:
248 (spi_hyperlink_new): Don't aggregate Action a second time if this
249 interface is created for an AtkHyperlinkImpl object (i.e. for a
250 child Accessible, as opposed to the Hyperlink instance from
252 (get_hyperlink_from_servant): Obtain the hyperlink from
253 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
255 Patch section from Ginn Chen...
257 * cspi/spi_accessible.c:
258 (_cspi_accessible_set_from_sequence):
259 Changed g_newa to g_new0 on Ginn Chen's suggestion.
261 * libspi/accessible.c:
262 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
263 (spi_accessible_new): Add the Document interface if present.
266 (impl_getAttributes): Fixed to use AtkAttribute properly.
269 (impl_getAttributes, impl_getDefaultAttributes):
270 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
272 2006-08-17 Bill Haneman <bill.haneman@sun.com>
274 * cspi/spi-private.h, cspi/spi_accessible.c:
275 (_cspi_attribute_set_from_sequence): Renamed from
276 cspi_attribute_set_from_sequence, to suppress export.
279 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
280 inline docs, which was keeping the doc from appearing.
281 (SPIExceptionHandler): Doc this.
283 * cspi/spi_document.c:
284 Added inline gtk-docs cut-n-pasted from the doxygen
285 docs in the corresponding IDL files.
286 (AccessibleDocument_getAttributes): Fix the retval here.
288 * cspi/spi_streamablecontent.c:
289 Fixed some 'Since' tags that were accidentally doxygen-style.
292 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
293 docs from the IDL file.
295 * docs/reference/cspi/at-spi-cspi-docs.sgml:
296 Added entities for Document and StreamableContent interfaces.
298 * docs/reference/cspi/at-spi-cspi-sections.txt:
299 Added some docs that were present inline but not getting
302 2006-07-31 Bill Haneman <bill.haneman@sun.com>
305 (impl_getRangeExtents): Use the atk_text_get_range_extents
306 API instead of looping over character bounds, now that
308 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
309 (_spi_text_bounds_contain): Remove, not needed anymore.
310 (_spi_text_rect_union): Remove, not needed anymore.
312 2006-07-31 Bill Haneman <bill.haneman@sun.com>
314 * atk-bridge/bridge.c:
315 (spi_atk_emit_eventv): Fix the CORBA_free call which was
316 causing 64-bit troubles and memory leaks.
317 Special thanks to Alexander Larsson who finally seems to
318 have tracked down the problem, not just here but in
322 (spi_init_any_object): Make sure we copy the CORBA value
323 when initializing an object for passing as a CORBA_Any.
326 2006-07-21 Bill Haneman <billh@gnome.org>
328 * idl/Accessibility.idl:
329 Reverted pragma changes, this broke the build in some envs
330 including the Debian team's build and some tinderbox builds.
332 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
335 Revved to 1.7.10, and edited the Xevie check (bug #319994).
337 * idl/Accessibility.idl:
338 Reworked inclusion of Bonobo_Unknown.idl, to
339 avoid double-linking libs in the Bonobo environment.
340 Thanks to Michael Meeks for the workaround, see bug #313122.
342 * registryd/deviceeventcontroller.c:
343 (spi_controller_notify_keylisteners):
344 Set the SPI_NUMLOCK_MASK bit if the modifier
345 corresponding to the conceptual numlock state is set.
348 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
350 * idl/Accessibility_Selection.idl:
351 (deselectChild): New method.
353 * libspi/selection.c:
354 (impl_deselectChild): Implement the new IDL method.
357 (AccessibleSelection_deselectChild): Added new method.
359 * cspi/spi_selection.c:
360 (AccessibleSelection_deselectChild): New method implemented.
362 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
364 * cspi/bonobo/cspi-bonobo.c:
365 (cspi_init): Replace g_error with g_warning, prevent
366 SEGV if the registry cannot be activated. Bug #346393.
368 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
370 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
372 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
373 2006-07-12 Ariel Rios <arios@us.ibm.com>
377 * idl/Accessibility_Table.idl:
378 (getRowColumnExtentsAtIndex): New method for getting
379 selection status and extents in one API call.
382 (impl_getRowColumnExtentsAtIndex): Implementation of
384 (spi_table_class_init): Add above to epv.
388 (AccessibleTable_getRowColumnExtentsAtIndex): New
389 method, retrieves selection status and row/col extents
390 for a table cell in a single API call.
392 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
393 2006-07-12 Ariel Rios <arios@us.ibm.com>
395 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
398 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
399 New bindings for new methods defined in idl and libspi.
402 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
403 Added prototype functions.
406 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
408 (spi_text_class_init): Added previous methods.
411 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
412 * libspi/spi-private.h: Corrections.
414 2006-06-29 Bill Haneman <bill.haneman@sun.com>
416 Added Document interface (see bug #326520),
417 with work from Ariel Rios <arios@us.ibm.com>.
419 * configure.in: Bump to 1.7.8.
421 * libspi/Makefile.am: Added document.[ch] to sources
424 (SpiDocument, SpiDocumentClass):
425 New interface implementation.
426 (spi_document_get_type, spi_document_construct)
427 (spi_document_interface_new): New methods added.
428 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
429 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
430 Added macros for SpiDocument
434 (spi_document_interface_new): Get a
435 new document interface. New.
436 (get_document_from_servant): Get an AtkDocument from servant New.
437 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
438 Implementation of methods defined on idl.
439 (spi_document_class_init, spi_document_init)
440 Init methods for SpiDocument. new
442 * idl/Accessibility.idl: Added Accessibility_Document.idl.
444 * cspi/Makefile.am: Added spi_document.c to sources.
446 * cspi/spi_document.c:
447 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
448 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
449 (AccessibleDocument_getAttributes): Bindings for methods defined
452 * cspi/spi_accessible.c:
453 (Accessible_isDocument, Accessible_getDocument) New.
455 (Accessible_isDocument, Accessible_getDocument)
456 (AccessibleDocument_ref, AccessibleDocument_unref)
457 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
458 (AccessibleDocument_getAttributes): Bindings added.
460 * idl/Makefile.am: Added Accessibility_Document.idl to
463 2006-06-29 Bill Haneman <bill.haneman@sun.com>
465 * idl/Accessibility_Document.idl: New interface
466 for complex documents. First stage of fix for RFE
469 2006-06-27 Bill Haneman <bill.haneman@sun.com>
471 * libspi/streamablecontent.c:
472 (impl_content_stream_close):
473 Unref the GIOChannel on close.
475 2006-06-23 Bill Haneman <bill.haneman@sun.com>
477 * idl/Accessibility_Role.idl:
478 * libspi/accessiblerole.c:
479 * cspi/spi_accessible.c: Added ROLE_LINK,
480 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
481 Bug #345758 and bug #140635.
484 2006-06-22 Bill Haneman <bill.haneman@sun.com>
488 * idl/Accessibility_StreamableContent.idl:
489 Fix derivation of StreamableContent and ContentStream.
491 * cspi/spi_streamablecontent.c:
492 (accessible_content_stream_client_read):
493 Fix the datatype of the content stream used.
494 Interpret short reads as EOF, and stop trying to
495 read when we've fulfilled the request.
496 (AccessibleStreamableContent_getContentTypes):
497 Use g_strdup, not CORBA_string_dup, for the strings.
498 (AccessibleStreamableContent_open):
499 Correctly use the new getStream method for opening,
500 not the deprecated getContent method.
501 Use the object reference as the stream hash key.
502 Make note of the 'one stream per client per streamable'
503 limitation in the docs.
506 Add streamablecontent.h to the list of #includes.
508 * libspi/streamablecontent.c:
509 (impl_content_stream_read): Initialize the GError.
510 Allocate the incoming buffer if reading a fixed length of
511 data. Use g_memmove instead of memcpy.
512 (impl_accessibility_streamable_get_content_types):
513 Init typelist->_maximum. Only allocate the buffer if
514 there is a non-zero number of content types available.
515 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
517 * libspi/streamablecontent.h:
518 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
521 (SPI_IS_VALUE): Fix a typo in this macro too.
523 2006-06-16 Bill Haneman <bill.haneman@sun.com>
527 * idl/Accessibility_StreambleContent.idl:
528 Deprecate the Bonobo_Stream-based methods in favor of
529 a self-contained "ContentStream" interface. This should
530 allow us to remove BonoboStream dependencies entirely, since
531 there were no non-NIL implementations of the old methods anyway.
532 (ContentStream): New interface.
533 (ContentStream::SeekType): Enum.
534 (ContentStream::seek): New.
535 (ContentStream::read): New.
536 (ContentStream::close): New.
537 (getContent): Deprecate.
538 (getURI): New method, returns a URI pointing to the content, if available.
540 * libspi/streamablecontent.c:
541 (SpiContentStream): Internal object type definition used to
542 implement Accessibility::StreamableContent::ContentStream via
543 AtkStreamableContent's GIOChannel back-end.
544 (spi_content_stream_new, spi_content_stream_dispose): See above;
546 (impl_content_stream_seek, impl_content_stream_read):
547 (impl_content_stream_close): New, implementations of
549 (impl_accessibility_streamable_get_stream): Implement the
550 public method Accessibility::StreamableContent::getStream.
551 (impl_accessibility_streamable_get_uri): Implement the
552 public method Accessibility::StreamableContent::getURI.
554 * cspi/spi_streamablecontent.c:
555 (accessible_bonobo_stream_client_seek): Replaced by
556 (accessible_content_stream_client_seek).
557 (accessible_bonobo_stream_client_read): Replaced by
558 (accessible_content_stream_client_read).
559 (AccessibleStreamableContent_open):
560 (AccessibleStreamableContent_seek):
561 (AccessibleStreamableContent_read):
562 (AccessibleStreamableContent_close): Use the new 'getStream'
563 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
565 2006-06-15 Bill Haneman <bill.haneman@sun.com>
567 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
568 remove from other .idl files (except LoginHelper).
571 2006-06-14 Bill Haneman <bill.haneman@sun.com>
573 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
576 * configure.in, */Makefile.am: mingw patch, modified from
577 original patch by yselkowitz. Bug #314216.
579 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
580 for completeness. Bug #163111.
582 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
583 * libspi/util.c, registryd/registry-main.c:
584 Fix guint/char* casts.
585 Patch from chpe, bug #333883.
587 2006-06-12 Bill Haneman <bill.haneman@sun.com>
589 * configure.in: Require atk-1.12.0, to pick up
590 new API. (bug #344412).
592 * libspi-1.0-uninstalled.pc.in:
594 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
595 Fix for #341488 from Samual Thibault.
597 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
598 Thanks to Brian Pepple.
600 2006-06-09 Bill Haneman <bill.haneman@sun.com>
603 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
604 New, missing implementations of attribute reading methods
607 * cspi/spi.h, spi_value.c:
608 (AccessibleValue_getMinimumIncrement): New methods wrapping
609 the (formerly unimplemented) property from Value.idl.
612 (impl_get_minimumIncrement): Implementation for retrieving
613 the minimum valuator increment, (formerly unimplemented).
616 2006-06-09 Bill Haneman <bill.haneman@sun.com>
618 * idl/Accessibility_State.idl:
619 Added STATE_VISITED (bug #338369).
621 * cspi/spi_accessible.c:
622 (spi_state_to_corba) Fixed marshalling of new statetypes.
625 (spi_init_state_tables, impl_getStates):
626 Fixed conversion of new statetypes to/from ATK.
628 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
630 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
631 definitions/conversions for new roles from ATK.
633 * idl/Accessibility_Relation.idl:
635 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
636 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
637 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
639 * libspi/accessible.c: Fixed marshalling of new role types from
642 2006-04-17 Matthias Clasen <mclasen@redhat.com>
644 * revert my previous change
646 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
648 * configure.in: Remove obssolete no_NO locale
649 * po/no.po: And the translation.
651 2006-04-05 Matthias Clasen <mclasen@redhat.com>
653 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
654 memory-management error that caused crashes on x86_64.
657 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
659 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
661 2006-03-27 Bill Haneman <bill.haneman@sun.com>
663 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
664 to strip "cspi_*" from the symbol table.
666 * cspi/spi_streamablecontent.c:
667 (get_streams): Make this method static.
670 (_cspi_exception_throw): rename to cspi_exception_throw,
671 so we can strip it with the rest...
674 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
676 2006-03-27 Bill Haneman <bill.haneman@sun.com>
678 Add doxygen-generated IDL docs to tarball, and enable
679 doxygen during build/install when available. Bug #301345.
681 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
683 * docs/reference/Makefile.am: Add idl to SUBDIRS.
685 * docs/reference/idl/Makefile.am: Optionally use
686 doxygen to create docs.
688 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
690 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
692 2006-03-20 Bill Haneman <bill.haneman@sun.com>
695 (impl_get_selected_rows): Don't free the selection if it's
696 empty or has not been assigned; init it to NULL so you can tell.
697 Also, allow for zero selected rows.
698 (impl_getSelectedColumns): Ditto. Bug #319088.
700 2006-03-11 Vincent Untz <vuntz@gnome.org>
702 Leak fix for bug #334217.
704 * libspi/application.c: spi_application_toolkit_event_listener():
705 don't duplicate the string we pass as an argument to
706 spi_init_any_nil() since spi_init_any_nil() already does it
707 * registryd/deviceeventcontroller.c:
708 (spi_dec_button_update_and_emit): ditto
709 (spi_dec_mouse_check): ditto
710 (spi_dec_emit_modifier_event): ditto
711 (spi_device_event_controller_forward_mouse): ditto
712 * registryd/registry.c:
713 (desktop_add_application): ditto
714 (desktop_remove_application): ditto
716 2006-02-20 Bill Haneman <billh@gnome.org>
718 * configure.in: Rev to 1.7.6.
720 Leak fixes for bug #331924.
722 * atk-bridge/bridge.c:
723 (spi_atk_bridge_init_base): Don't dup the string, it's already
724 been dup-ed. Fixes a leak.
725 (spi_atk_emit_eventv): Move the CORBA_free call here,
726 instead of spi_atk_state_event_listener; fixes another leak.
727 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
728 notifying the registry; fixes another leak.
730 * registryd/registry.c:
731 (registry_flush_event_queue): Free the CORBA_any when
732 flushing the event, not just the string. Fixes another leak.
733 (registry_queue_event): Free the CORBA_any when dropping
734 events on the floor; fixes another leak.
737 (spi_init_any_object, spi_init_any_nil):
738 Always set _release to TRUE. Fixes another leak.
740 2006-02-20 Bill Haneman <billh@gnome.org>
742 * configure.in: Rev to 1.7.5.
743 Reinstate localization of this module. Thanks for Rodney
744 Dawes for fixing my patch.
746 * registryd/Makefile.am: Remove Accessibility_Registry.server
747 from dist, since it needs to be re-created at configure time.
750 2006-01-31 Bill Haneman <billh@gnome.org>
752 * configure.in: Rev to 1.7.4 (to include build fix below).
754 * idl/Makefile.am: Include Selector.idl in dist.
758 (cspi_internal_event_get_object): Handle case where
759 "object" isn't present, i.e. CORBA_TC_Object doesn't match
760 the EventDetails data.
761 (cspi_internal_event_get_text): Handle NULL string.
762 (cspi_internal_event_get_rect): Handle missing/empty rect
763 data, Accessibility_TC_RectBounds doesn't match any_data.
765 2006-01-30 Bill Haneman <billh@gnome.org>
769 * atk-bridge/bridge.c:
770 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
771 interface and use that when instantiating a new source
772 accessible. Better fix for bug #321814.
774 2006-01-27 Bill Haneman <billh@gnome.org>
776 * idl/Accessibility_Selector.idl: Added to the cvs repository.
778 * configure.in: Revved to 1.7.3.
780 2006-01-17 Bill Haneman <billh@gnome.org>
782 * configure.in: Revved to 1.7.2, re-dist to include docs.
784 2006-01-09 Bill Haneman <billh@gnome.org>
786 * configure.in: Removed po/Makefile.in inclusion, we do not need
789 * idl/Accessibility.idl: Improved documentation here, and for all
790 IDL in the 'GNOME::Accessibility' namespace.
792 * idl/Accessibility_Accessible.idl:
793 (LOCALE_TYPE): Added enum.
794 (AttributeSet): New, for returning multiple name/value attribute pairs.
795 (RoleSet): New, sequence of Roles, to be used in upcoming
797 (getAttributes): New API, allows retrieval of name/value pair
798 annotations for all kinds of Accessible objects. C.f.
799 Text:getAttributes, which is only for typographic/textual/semantic tags in
801 (getApplication): New, retrieves the host/containing Application
802 instance for an object (without having to walk up the whole tree).
804 * idl/Accessibility_Component.idl:
805 (getAlpha): New method, returns the alpha blending (aka 'opacity')
806 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
809 * idl/Accessibility_Event.idl:
810 (EventDetails): New struct definition, for encapsulating
811 commonly-queried information about emitted events. The use of
812 this structure in emitted events (in the 'any' member of
813 Accessibility_Event) should greatly reduce the number of
814 client-server roundtrips necessary.
816 * idl/Accessibility_Image.idl:
817 (imageLocale): New, a readonly attribute indicating the POSIX
818 LC_MESSAGES locale of the image and associated Alt/descriptive
821 * idl/Accessibility_Relation.idl:
822 (RELATION_PARENT_WINDOW_OF): Include, as complement to
825 * idl/Accessibility_Role.idl:
826 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
827 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
828 complex document and form support.
830 * idl/Accessibility_State.idl:
831 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
832 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
833 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
834 for support of complex documents and forms.
836 * idl/Accessibility_StreamableContent.idl:
837 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
838 allow old bonobo-stream interfaces to be deprecated in the next
841 * idl/Accessibility_Text.idl:
842 (getAttributeValue): New method, allows query-by-name of single
845 * libspi/accessible.c:
846 Added support for new roles. Implemented new methods
847 (impl_accessibility_accessible_get_application): New
848 (impl_accessibility_accessible_get_attributes): New
850 * libspi/component.c:
851 (impl_accessibility_component_get_alpha): New.
854 (impl_accessibility_image_get_locale): New.
856 * libspi/relation.c: Added support for new relation type.
858 * libspi/stateset.c: Added support for new state types.
861 (impl_getAttributeValue): New.
864 New prototypes for private methods
866 spi_init_any_object, spi_init_any_string,
869 * libspi/spi_event.c:
870 Use EventDetails in the event emission methods.
872 * cspi/spi-private.h:
873 (cspi_role_from_spi_role): Expose this adapter method, since
874 we need it in the bridge (see below).
877 (AccessibleEvent_getSourceName):
878 (AccessibleEvent_getSourceRole):
879 (AccessibleEvent_getSourceApplication):
880 (AccessibleEvent_getSourceDetails):
881 New methods for interrogating/demarshalling
882 event details (i.e. source's accessible name, role,
885 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
886 Make use of the new EventDetails struct in events, if present.
887 (AccessibleEvent_getSourceName)
888 (AccessibleEvent_getSourceRole)
889 (AccessibleEvent_getSourceApplication)
890 (AccessibleEvent_getSourceDetails): Implement the newly exposed
892 (Accessible_getAttributes): New, wraps
893 Accessibility_Accessible_getAttributes.
894 (Accessible_getHostApplication): New, wraps
895 Accessibility_Accessible_getApplication.
898 (AccessibleImage_getImageLocale): New wrapper for
899 Accessibility_Image_get_imageLocale.
901 * cspi/spi_component.c:
902 (AccessibleComponent_getAlpha): New wrapper for
903 Accessibility_Component_getAlpha.
905 * atk-bridge/bridge.c:
906 Use new prototyped for init_any methods.
907 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
908 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
909 (spi_atk_bridge_init_base): Wrappers
910 for spi_init_any_* methods, due to refactor; include extended
911 information in the Accessibility_EventDetails struct, for instance
912 accessible-name, Role, and containing Application.
914 * registryd/registry.c:
915 Use new event emission (with EventDetails).
917 * registryd/deviceeventcontroller.c:
918 Use new event emission (with EventDetails).
920 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
922 * configure.in: Generate po/Makefile.in
923 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
924 * cspi/spi_streamablecontent.c:
925 (accessible_bonobo_stream_client_seek),
926 (AccessibleStreamableContent_seek): Remove unused vars.
927 * libspi/application.c: Missing header.
928 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
929 * login-helper/login-helper.c: (login_helper_finalize),
930 (login_helper_init): Remove unused stuff
931 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
932 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
933 and surround some with #ifdef GRAB_BUTTON.
934 * test/event-listener-test.c: (main), (report_event),
935 (report_caret_event), (report_detail_event),
936 (report_detail1_event), (report_bounds_event), (report_text_event),
937 (report_text_selection_event),
938 (report_active_descendant_changed_event),
939 (report_children_changed_event), (report_name_changed_event),
940 (report_description_changed_event), (report_parent_changed_event),
941 (report_window_event), (report_table_summary_event),
942 (report_table_header_event), (report_table_caption_event),
943 (report_table_row_description_event),
944 (report_table_column_description_event), (timing_test_event):
945 Remove a bunch of unused variables and fix a slew of format specifiers
946 * test/key-listener-test.c: (report_all_key_event): Format specifier
947 * test/keypad-test.c: (print_key_event): Same
948 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
950 * test/screen-review-test.c: (main), (print_chunk_debug),
951 (review_buffer_get_text_chunk), (debug_chunk_list),
952 (string_guess_clip), (text_chunk_get_clipped_string),
953 (text_chunk_list_to_string), (get_screen_review_line_at):
954 Remove unused variables and fix format specifiers.
955 * test/simple-at.c: (report_text_event): Format specifier fix.
956 * test/stress-test.c: (main): Remove unused var.
958 2005-12-29 Abel Cheung <maddog@linuxhall.org>
960 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
961 (yes I know that's useless)
963 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
965 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
967 2005-11-17 Michael Meeks <michael.meeks@novell.com>
969 * atk-bridge/bridge.c (spi_atk_emit_eventv):
970 urgh-fix embarassing typo.
972 2005-11-16 Michael Meeks <michael.meeks@novell.com>
974 * atk-bridge/bridge.c (spi_atk_emit_eventv):
975 do a faster, less problematic _unref call on this local
976 object, rather than a slower (potentially cross-thread
977 complicated) CORBA call.
979 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
981 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
982 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
983 * registryd/deviceeventcontroller.c:
984 (spi_controller_notify_mouselisteners),
985 (impl_generate_keyboard_event):
986 * test/screen-review-test.c: (chunk_bounds_within):
987 * test/test-simple.c: (test_desktop): Remove some unused code
988 and fix compiler warnings. Closes bug #320049.
990 2005-10-27 Bill Haneman <bill.haneman@sun.com>
992 * registryd/deviceeventcontroller.c:
993 (spi_controller_notify_keylisteners): Check
994 to make sure the event listener has requested 'preemptive'
995 status before pre-empting an event.
997 2005-08-29 Bill Haneman <bill.haneman@sun.com>
999 * configure.in, README, NEWS: Release 1.6.5.
1001 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1003 * test/window-listener-test.c: Fix a printf
1004 format error. (#169453)
1006 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1008 * tests/test-simple.c:
1009 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1010 relying on the old string from the key event hanging around after
1011 the event handler returns. Fixes broken 'make check'.
1013 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1015 * Added Marathi (mr_IN) translations.
1017 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1019 * cspi/bonobo/cspi-bonobo-listener.c:
1020 (cspi_event_list_remove_by_cb): Fix the build.
1022 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1024 * cspi/bonobo/cspi-bonobo-listener.c
1025 (cspi_event_list_remove_by_cb): actually filter by callback.
1027 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1029 * registryd/registry.c (remove_listener_cb):
1030 Make deregistration filter rules match the event emission rules.
1032 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1034 * registryd/registry.c (remove_listener_cb),
1035 (impl_accessibility_registry_deregister_global_event_listener),
1036 (impl_accessibility_registry_deregister_global_event_listener_all):
1037 pass a closure to the remove callback to filter listeners more
1038 accurately on remove.
1040 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1042 * configure.in: Revved to 1.6.4.
1043 Remember to put quotes around XEVIE_LIBS assignment.
1044 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1047 * tests/event-listener-test.c: Tweaked the tests - more detail
1048 from caret events, and some interrogation of AccessibleText APIs.
1049 Commented-out the bounds-changed events by default, since they can
1052 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1054 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1055 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1056 Same here. Closes bug #167806
1058 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1060 * atk-bridge/bridge.c:
1061 (spi_atk_bridge_signal_listener):
1062 Free the any._value if any._release is TRUE,
1063 since the ORB won't do it for us in this case
1064 [because this method is not a skel].
1065 Fix for bug #168679.
1067 2005-03-30 Steve Murphy <murf@e-tools.com>
1069 * configure.in: Added "rw" to ALL_LINGUAS.
1071 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1073 * configure.in: Improved check for HAVE_XEVIE, to detect
1074 presence on XOrg, where -lXevie is a separate library.
1076 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1078 * configure.in, NEWS, README: Revved to 1.6.3.
1080 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1082 * configure.in: Added "xh" to ALL_LINGUAS.
1084 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1086 * atk-bridge/bridge.c:
1087 (atk_bridge_init): Added missing NULL in g_strconcat(),
1088 also check for symlink before logging to
1089 insecure directory. Thanks to meissner@suse.de.
1091 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1093 * tests/login-helper-server-test.c: Add return call to main
1094 function. Patch from Chris Lahey. Fixes bug #165129.
1096 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1098 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1100 2004-12-09 Bill Haneman <billh@gnome.org>
1102 * registryd/registry-main.c:
1103 Added #define <string.h> for strrchr. (bug 160862).
1104 Thanks to Vincent Berger for catching.
1106 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1108 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1109 restart registry process if the registry process is found to have died
1110 and the current process is exiting.
1111 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1112 application if the registry process has died.
1113 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1114 does not return a registry object.
1115 (spi_atk_tidy_windows): Give up if the registry process has died.
1117 This fixes problems with hangs and crashes when logging out.
1119 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1121 * registryd/desktop.c: Add checking that we are not exiting before
1122 calling spi_desktop_remove_application in
1123 abnormal_application_termination. Fix for bug #152147.
1125 2004-12-02 Bill Haneman <billh@gnome.org>
1127 * configure.in, NEWS, README: Revved to 1.6.1.
1129 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1130 * atk-bridge/bridge.c:
1131 (atk_bridge_init): Save the pid when we start, to detect forks.
1132 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1133 if we're in a forked pid.
1135 2004-10-09 Bill Haneman <billh@gnome.org>
1137 * idl/Accessibility_LoginHelper.idl:
1138 Improved inline documentation.
1140 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1142 * configure.in: Added gl (Galician) to ALL_LINGUAS
1144 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1146 * libspi/accessible.c:
1147 (impl_accessibility_accessible_get_role_name),
1148 (impl_accessibility_accessible_get_local_role_name):
1149 NULL vs. 0 cleanups.
1150 * libspi/component.c:
1151 (impl_accessibility_component_get_accessible_at_point):
1153 * libspi/eventlistener.c: (spi_event_listener_new):
1155 * libspi/stateset.c: (impl_compare): More of the same
1156 * libspi/table.c: (impl_getRowDescription): Again.
1157 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1158 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1159 (impl_generate_keyboard_event): Same.
1160 * registryd/registry-main.c: (main): Same
1161 * test/event-listener-test.c: (test_exit): Same
1162 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1163 * test/keysynth-test.c: (test_key_synthesis): Same
1164 * test/login-helper-server-test.c: (main): Fix warning.
1165 * test/screen-review-test.c: (test_exit): Fix include.
1166 * test/simple-at.c: (simple_at_exit), (_festival_init):
1169 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1171 * configure.in, NEWS, README: Revved to 1.6.0.
1173 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1175 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1176 was missing the HTML docs.
1178 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1180 * configure.in: only cleanups:
1181 - better looking PKG_CHECK_MODULES() output,
1183 - declare in one common place required versions of other tools using
1186 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1188 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1189 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1190 required ATK version accordingly.
1192 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1194 * cspi/bonobo/cspi-bonobo.c:
1195 (cspi_display_name): Fix C99ism.
1196 * atk-bridge/bridge.c:
1197 (spi_display_name): Fix C99ism.
1198 Patch from Jens Granseuer, jensgr@gmx.net.
1200 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1202 * configure.in: Added "or" to ALL_LINGUAS.
1204 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1206 * configure.in, NEWS, README: Revved to 1.5.4.
1208 * registryd/registry-main.c:
1209 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1212 * cspi/bonobo/cspi-bonobo.c:
1213 (cspi_display_name): New convenience method, gets DISPLAY with
1214 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1215 (cspi_init): Set the activation env value above before getting
1218 * atk-bridge/bridge.c:
1219 (spi_display_name): Create the AT_SPI_DISPLAY activation
1220 environment for an app, based on the DISPLAY environment with the
1221 screen number stripped off.
1222 (atk_bridge_init): Allow redirection of error messages to a log.
1223 (spi_atk_bridge_get_registry): Call
1224 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1226 Fixes for bugs #149962, #136986, #144086.
1228 2004-08-16 Christian Rose <menthos@menthos.com>
1230 * configure.in: Added "bs" to ALL_LINGUAS.
1232 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1234 * configure.in: Added nb to ALL_LINGUAS.
1236 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1239 (SPI_init): Return error code '2' if the activated
1240 registry cannot be pinged. Fixes bug #147648.
1242 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1244 * registryd/deviceeventcontroller.c:
1245 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1246 rely on timer-poll instead, to avoid conflict with
1249 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1251 * configure.in: Revved to 1.5.3.
1253 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1255 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1257 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1259 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1261 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1263 * atk-bridge/bridge.c:
1264 (spi_atk_bridge_do_registration):
1265 Register with ATK for AtkComponent:bounds-changed events.
1266 (api_atk_bridge_signal_listener):
1267 Marshal the AtkRectangle info into the event notification
1268 for object:bounds-changed events.
1271 (spi_init_any_rect): New method, inits a corba struct of
1272 type Accessibility_BoundingBox from an AtkRectangle.
1274 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1277 (SPIRect): New struct definition.
1278 (SPI_freeRect): New declaration.
1279 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1282 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1283 implemented. Gets the bounding box data from the CORBA_any
1284 associated with a bounds-changed event notification.
1285 (cspi_internal_event_get_rect): New, used internally by above method.
1288 (SPI_freeRect): Implemented this new method, for freeing
1291 * test/event-listener-test.c:
1292 (main, report_bounds_event):
1293 Added a test for object:bounds-changed events.
1295 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1297 * test/login-helper-server-test.c:
1298 (main): Fix C99-ism. Thanks to Jens Granseuer.
1300 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1302 * libloginhelper-1.0.pc.in:
1303 * idl/Accessibility_LoginHelper.idl:
1304 * login-helper/Makefile.am:
1305 * login-helper/login-helper.[ch]:
1306 * test/login-helper-client-test.c:
1307 * test/login-helper-server-test.c: Added files missing from CVS.
1308 Files obtained from at-spi-1.5.2 tarball.
1310 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1312 * configure.in: Create login-helper/Makefile.
1313 Incremented micro version.
1315 * Makefile.am: Add login-helper subdir and pkgconfig data.
1317 * login-helper: New subdir.
1319 * libloginhelper-1.0.pc.in: New.
1321 * idl/Accessibility_LoginHelper.idl: New file, defines
1322 interface whereby authentication clients can identify agents which
1323 need access to services during the login process, e.g. screen lock
1326 * login-helper/Makefile.am : New.
1328 * login-helper/login-helper.[ch] : New, implementation of
1329 a LoginHelper base class. Services needing LoginHelper can subclass.
1331 * test/Makefile.am : Added test for login-helper, client and
1334 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1335 Use proper prefix in #include files.
1337 * test/login-helper-client-test.c: New.
1339 * test/login-helper-server-test.c: New.
1341 2004-05-27 Alexander Shopov <ash@contact.bg>
1343 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1345 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1347 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1348 is positive. This should make it easier to detect inapprorpiate unref
1351 2004-05-11 James Henstridge <james@daa.com.au>
1353 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1354 no-op and deprecated.
1356 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1358 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1360 2004-04-28 Bill Haneman <billh@gnome.org>
1362 * Makefile.am: Added --enable-gtk-doc to
1363 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1365 2004-04-19 Bill Haneman <billh@gnome.org>
1367 * configure.in: Revved to 1.5.1.
1369 * registryd/deviceeventcontroller.c:
1371 (DEControllerPrivateData): Added fields for
1372 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1373 (spi_dec_replace_map_keysym): New internal utility for
1374 replacing a keysym in the keymap - used to allow
1375 synthesis of individual characters which aren't in the
1377 (spi_dec_reset_reserved): New; resets the changed keysym value
1379 (keycode_for_keysym): We now try to deal with failed
1380 XKeysymToKeycode requests by changing a keymap value
1381 and returning a reserved keycode. We now take
1382 a DEController pointer as first arg.
1383 (spi_controller_register_with_devices): Call XkbGetMap with
1384 the XkbKeySymsMask. Find the highest keycode in the current
1385 keymap which doesn't have any grabs, and mark that one for
1386 temporary re-mapping when out-of-range KeySyms are synthesized.
1387 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1390 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1392 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1394 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1396 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1398 2004-03-24 Bill Haneman <billh@gnome.org>
1401 (AccessibleTable_addRowSelection),
1402 (AccessibleTable_addColumnSelection),
1403 (AccessibleTable_removeRowSelection),
1404 (AccessibleTable_removeColumnSelection):
1405 Add declarations for spi wrappers which were
1406 inadvertantly omitted. Fixes bug #133413.
1409 Revved to 1.5.0 (unstable series for GNOME 2.7).
1411 2004-03-24 Bill Haneman <billh@gnome.org>
1413 * atk-bridge/bridge.c:
1414 Bracketed some debug output in
1415 conditionals, to avoid printing it in normal use.
1418 * libspi/hyperlink.c:
1419 Don't cast 'object' to ATK_OBJECT when constructing
1420 an AtkAction interface for a hyperlink.
1421 See discussion in bug #120659.
1423 * test/key-listener-test.c:
1424 (report_all_key_event): Send output to stderr,
1425 not stdout, for consistency with the rest of the test callbacks.
1428 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1429 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1430 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1431 try incrementing the revision AFTER doing a dist, at least
1434 2004-03-22 Bill Haneman <billh@gnome.org>
1436 * configure.in: Revved to 1.4.0, libtool 9.14.9
1438 2004-03-17 Laszlo Peter <laca@sun.com>
1440 * libspi-1.0-uninstalled.pc.in: add idldir
1442 * cspi-1.0-uninstalled.pc.in: add idldir
1444 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1446 * configure.in: Added "en_GB" to ALL_LINGUAS
1448 2004-03-15 Bill Haneman <billh@gnome.org>
1450 * configure.in: Revved to 1.3.16,
1453 2004-03-15 Laszlo Peter <laca@sun.com>
1455 * libspi-1.0-uninstalled.pc.in: new file
1457 * cspi-1.0-uninstalled.pc.in: new file
1459 * configure.in: add the new pc files to AC_OUTPUT
1461 * Makefile.am: add the new pc files to EXTRA_DIST
1463 2004-03-12 Bill Haneman <billh@gnome.org>
1465 * atk-bridge/bridge.c:
1466 (spi_atk_bridge_key_listener):
1467 Make sure to return consumed=FALSE if snoop
1468 event is not dispatched to listener.
1471 2004-03-01 Bill Haneman <billh@gnome.org>
1473 * configure.in: Revved to 1.3.15,
1476 2004-03-07 Danilo Segan <dsegan@gmx.net>
1478 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1480 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1482 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1484 2004-03-01 Bill Haneman <billh@gnome.org>
1486 * configure.in: Revved to 1.3.14.
1489 (SPI_exit): Removed "bye-bye" exit message.
1490 Moved "leak" report to happen before the
1491 iteration over the leaked refs list.
1492 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1494 2004-02-24 Bill Haneman <billh@gnome.org>
1496 * configure.in: Revved to 1.3.13.
1498 * docs/reference/cspi/Makefile.am:
1499 Correct typo that was breaking the docs build.
1501 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1503 * autogen.sh: Require version 1.7 of automake.
1505 * configure.in: call GTK_DOC_CHECK([1.0])
1507 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1509 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1511 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1513 * test/Makefile.am: Remove use of CFLAGS.
1515 This fixes bug #132987.
1517 2004-02-11 Bill Haneman <billh@gnome.org>
1519 * reverted most of Tomasz' patch below, since it was breaking
1520 builds (see bug #134058).
1522 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1524 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1525 correct pass "make dist" (empty .. because seems no sach types in
1526 header files with gtk-doc markups).
1527 * docs/reference/cspi/Makefile.am, configure.in:
1528 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1529 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1530 * Makefile.am: added:
1531 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1532 for force correct pass generate documentation on "make distcheck".
1533 * libspi/Makefile.am: fixes for automake >= 1.6.
1534 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1535 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1538 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1540 * docs/reference/cspi/Makefile.am (install-data-local): Install
1541 index.sgml since the doc autobuilder on widget.gnome.org looks for
1544 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1546 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1549 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1551 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1553 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1555 * test/simple-at.c: Fixed null string problems that cause core
1556 dumping problems on Solaris.
1558 2004-01-12 Bill Haneman <billh@gnome.org>
1560 * configure.in: Incremented version to 1.3.11.
1562 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1564 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1565 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1568 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1570 * configure.in: Added "fa" to ALL_LINGUAS.
1572 2003-12-20 Arafat Medini <lumina@silverpen.de>
1574 * configure.in: Added "ar" to ALL_LINGUAS
1576 2003-12-16 Bill Haneman <billh@gnome.org>
1578 * registryd/registry-main.c:
1580 Set the reg_env DISPLAY variable before registering the
1581 activated registry service. Fixes bug #129479.
1583 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1585 * configure.in: Added "id" in ALL_LINGUAS
1586 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1588 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1590 * registryd/deviceeventcontroller.c (global_filter_fn):
1591 When an event is consumed discard any XEvents were added to
1592 the queue while dealing with the the event. This can happen if
1593 processing of the event takes a long time. Call XUngrabKeyboard
1594 if an event was discarded. This fixes bug $124837.
1595 Only call wait_for_release_event for a KeyPress.
1596 Use local variable display instead of spi_get_display().
1597 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1600 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1602 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1603 Allow for mask to contain values other than NumLock mask.
1606 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1608 * registryd/devieceventcontroller.c:
1609 (wait_for_release_event): Change first parameter from GdkEvent to
1611 (global_filter_fn); Correct call to wait_for_release_event.
1615 2003-12-08 Bill Haneman <billh@gnome.org>
1619 * registryd/ucs2keysym.c: New file.
1621 * registryd/deviceeventcontroller.c:
1622 (dec_keysym_for_unichar): Remove old partial implementation and
1623 replace with call to ucs2keysym(), which is much more complete.
1624 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1629 2003-12-05 Bill Haneman <billh@gnome.org>
1631 * configure.in: Version 1.3.9.
1633 * docs/reference/cspi/tmpl/spi_registry.sgml:
1634 Added reference to libspi/keymasks.h to the
1635 description of Registry queries: AccessibleKeyMaskType.
1638 2003-12-04 Bill Haneman <billh@gnome.org>
1640 Fix for bug #121974.
1642 * idl/Accessibility_Application.idl:
1643 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1644 setlocale's LC_TYPEs.
1645 (Accessibility::Application::getLocale): New method.
1646 Allows clients to query the locale, by type, of an app.
1649 * cspi/spi_application.c:
1650 (AccessibleApplication_getLocale): New method, wraps IDL above.
1652 * libspi/application.c:
1653 (spi_application_class_init): Init epv entry for getLocale.
1654 (impl_accessibility_application_get_locale): Impl for above.
1656 * test/test-simple.c:
1657 (test_application): Added assertion for getLocale, i.e.
1658 that the string from AccessibleApplication_getLocale (app, type)
1659 is the same as that from setlocale (type, NULL);
1661 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1663 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1664 the keyboard on a timeout intil the key state goes from pressed to
1665 released. Fixes bug #111429.
1667 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1669 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1670 root object so that it is present when a context menu in an
1671 out-of-process applet is popped up.
1672 (spi_atk_bridge_do_registration): Create acceessible application root
1673 object only if it does not exist.
1675 This fixes bug #125834.
1677 2003-12-01 Bill Haneman <billh@gnome.org>
1679 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1682 Added enum for AccessibleStreamableContentSeekType.
1683 (AccessibleStreamableContent_freeContentTypeList): New.
1685 * cspi/spi_streamablecontent.c:
1686 (accessible_bonobo_stream_client_seek): New private method.
1687 (AccessibleStreamableContent_seek): Implemented this method,
1688 using Bonobo_Stream_seek.
1689 (AccessibleStreamableContent_freeContentTypeList): New method
1690 for freeing the return value from
1691 AccessibleStreamableContent_getContentTypes.
1692 (stream_cache_item_free): Replaces stream_release; stop leaks.
1693 (stream_release): removed.
1694 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1695 free the memory properly.
1697 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1699 Fix for bug #116009.
1701 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1703 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1705 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1707 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1709 2003-12-01 Bill Haneman <billh@gnome.org>
1711 Fix for bug/rfe #127463.
1713 * idl/Accessibility_Accessible.idl:
1714 (getLocalizedRoleName): New.
1715 (unimplemented4): Removed (replaced by above).
1717 * libspi/accessible.c:
1718 (impl_accessibility_accessible_get_local_role_name): New.
1719 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1723 (Accessible_getLocalizedRoleName): New.
1725 * cspi/spi_accessible.c:
1726 (Accessible_getLocalizedRoleName): New.
1728 2003-12-01 Bill Haneman <billh@gnome.org>
1730 Fix for bug #118581.
1731 * idl/Accessibility_Text.idl:
1732 (getDefaultAttributes): New.
1733 (unimplemented4): Removed (replaced by above method).
1736 (impl_getDefaultAttributes): New method.
1737 (spi_text_class_init):
1738 initialize the get_default_attributes slot in the epv.
1741 (AccessibleText_getDefaultAttributes): New prototype.
1744 (AccessibleText_getDefaultAttributes): New method.
1746 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1748 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1749 write beyond the end of the table. Fixes bug #120473.
1751 2003-09-30 Christian Rose <menthos@menthos.com>
1753 * configure.in: Added "eu" to ALL_LINGUAS.
1755 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1757 * configure.in: ALL_LINGUAS: Added no.
1759 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1761 * configure.in: Added lt to ALL_LINGUAS.
1763 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1765 * atk-bridge/bridge.c:
1766 (atk_bridge_init): Register event listeners always even for
1767 out-of-process applet.
1768 (spi_atk_bridge_toplevel_added): Remove call to
1769 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1770 (spi_atk_bridge_toplevelk_removed): Remove call to
1771 spi_atk_deregister_event_listenersa as the listeners are now always
1773 (spi_atk_bridge_register_application): Remove call to
1774 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1776 This fixes bug #120991.
1778 * libspi/table.c (impl_getColumnDescription): Correct typo,
1779 pointed out by Bolian.Yin@sun.com.
1781 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1783 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1785 2003-09-08 Bill Haneman <billh@gnome.org>
1787 * configure.in: Revved to 1.3.7.
1789 This is the GNOME 2.4.0 release of at-spi.
1791 * docs/reference/cspi/Makefile.am:
1792 Removed spurious inclusion of 'index.sgml' in the
1793 html directory; this was breaking make distcheck and
1794 also some other build environments.
1796 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1798 * registryd/registry.[ch}:
1799 Add queue_handler_id and focus_object to SpiRegistry data structure.
1800 (registry_flush_event_queue): If event being discarded is
1801 "state-change:focused" store object as focus_object.
1802 (registry_start_queue): Remove queue handler and focus object
1804 (registry_discard_event): New function which discards a focus event
1805 if we had stored focus object in the registry.
1806 (registry_queue_event): Add new check that is_queueing is set as this
1807 function is reentrant.
1808 (registry_filer_event): Add call to registry_discard_event.
1810 This resolves issues raised in bug #108664.
1812 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1814 * configure.in: Added "bn" to ALL_LINGUAS.
1816 2003-09-04 Bill Haneman <billh@gnome.org>
1818 * cspi/spi_event.c: Documentation improvements for
1819 (SPI_registerAccessibleKeylistener).
1821 * docs/reference/tmpl/spi_registry.sgml:
1822 Documentation improvements for SpiAccessibleKeylistenerCB.
1824 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1826 * configure.in: Added "ro" to ALL_LINGUAS.
1829 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1831 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1832 not decremented to zero. Fixes bug #120725.
1834 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1836 * configure.in: Added "ja" to ALL_LINGUAS.
1838 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1840 * configure.in: Added "is" to ALL_LINGUAS.
1842 2003-08-22 Christian Rose <menthos@menthos.com>
1844 * configure.in: Added "nl" to ALL_LINGUAS.
1846 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1848 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1849 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1851 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1853 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1854 type for unspecified exception.
1855 * cspi_streamablecontect): Add include of string.h for memcpy.
1856 (stream_release): Correct call to bonobo_object_release_unref
1857 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1858 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1859 argument of _cspi_expection_throw.
1860 * libspi/hyperlink.c: Add include of libspi/action.h:
1861 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1862 * libspi/streamablecontent.c: add include of libspi/component.h.
1863 * regisrtyd/deviceeventcontroller.c:
1864 (spi_dec_translate_mask): Removed unused variable priv.
1865 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1866 * registryd/registry.c:
1867 (registry_filter_event): Remove unused variable queue_is-empty.
1868 (impl_registry_notify_event): Use correct modifier in fprintf call.
1870 This fixes compiler warnings reported in bug #120220.
1872 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1874 * registryd/registryd.c: Remove this file.
1876 2003-08-17 Sanlig Badral <badral@openmn.org>
1878 * configure.in: Added mn to ALL_LINGUAS.
1880 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1882 * configure.in: Added et to ALL_LINGUAS.
1884 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1886 * test/event-listener-test.c: Change active-descendant to
1887 active-descendant-changed.
1889 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1891 * configure.in: Added "fi" in ALL_LINGUAS.
1893 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1895 * configure.in: Added "hi" in ALL_LINGUAS.
1897 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1899 * configure.in: Revved to 1.3.6.
1903 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1905 * registryd/deviceeventcontroller.c
1906 (spi_device_event_controller_object_finalize): Fix typo in previous
1909 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1911 * registryd/deviceeventcontroller.c
1912 (spi_device_event_controller_object_finalize): Fix build on
1913 systems without XEvIE.
1915 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1917 * acconfig.h, configure.in, registryd/Makefile.am,
1918 registryd/devicecontoller.[ch]: Add XEViE support.
1920 2003-08-06 Wang Jian <lark@linux.net.cn>
1922 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1924 2003-08-06 Metin Amiroff<metin@karegen.com>
1926 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1928 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1930 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1931 MODIFIER_ALT in correct place.
1933 This fixes part of bug #118114.
1935 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1937 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1939 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1941 * configure.in: Added "ko" to ALL_LINGUAS.
1943 2003-07-28 Ole Laursen <olau@hardworking.dk>
1945 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1947 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1949 * configure.in: Added "sq" to ALL_LINGUAS.
1951 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1953 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1955 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1957 * configure.in: updated ALL_LINGUAS list
1959 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1961 * configure.in: Added Belarusian to ALL_LINGUAS.
1963 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1965 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1967 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1968 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1970 This fixes bug #116949.
1972 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1974 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1975 Correct CSPI to SPI in function documentation.
1977 This fixes bug #118054.
1979 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1981 * configure.in: Added Russian to ALL_LINGUAS.
1983 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1985 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1987 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1989 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1991 2003-07-10 Joel Brich <joel.brich@laposte.net>
1993 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1995 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1997 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1999 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2001 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2002 resources allocated for AccessibleEvent. See cspi_event().
2004 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2005 static variable streams to NULL.
2007 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2008 Update so that AcessibleEvent_ref will work.
2010 This fixes bug #116624.
2012 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2014 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2016 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2018 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2020 2003-07-02 Christian Neumair <chris@gnome-de.org>
2022 * configure.in: Added "de" (German) to ALL_LINGUAS.
2024 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2026 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2028 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2030 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2032 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2034 * configure.in: Added "pl" to ALL_LINGUAS.
2036 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2038 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2040 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2043 (get_action_from_servant):
2044 Removed assertion that action is implemented on an AtkObject.
2046 * libspi/hyperlink.c:
2047 (spi_hyperlink_new):
2048 Aggregate AccessibleAction interface on the hyperlink object if
2049 the object implements AtkAction. (This convention is used in
2052 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2054 * configure.in: Revved to 1.3.5.
2056 * registryd/Accessibility_Registry.server.in.in:
2057 Marked up appropriate strings for translation.
2059 * atk-bridge/bridge.c: Marked a couple of
2060 user-visible warnings for translation. Questionable
2061 whether they are really useful, but possibly so.
2064 2003-06-28 Christian Rose <menthos@menthos.com>
2066 * configure.in: Added "sv" to ALL_LINGUAS.
2068 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2070 * registryd/registry.c:
2071 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2072 (registry_defer_on_event): Defer focus: events, this is an
2073 improvement to the patch for bug #108664.
2075 * TODO: Update with 2.4/"Dev Complete" items.
2077 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2079 * atk-bridge/bridge.c:
2080 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2081 looks up signals once.
2082 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2083 if doing registration.
2084 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2085 when doing registration.
2087 This fixes bug #115014.
2089 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2091 * atk-bridge/bridge.c:
2092 (atk_bridge_init): Add signal handler for children-changed:remove on
2093 root when in a BonoboComponent.
2094 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2095 for first toplevel only other incrememt variable toplevels.
2096 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2097 application and remove listeners.
2098 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2100 (spi_atk_deregister_event_listeners): New function which removes
2102 (reinit_register_vars): New fuction which reinitializes variables.
2104 This fixes bug #111578.
2106 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2108 * configure.in: version 1.3.4.
2110 * cspi/spi_accessible.c:
2111 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2114 2003-06-13 Michael Meeks <michael@ximian.com>
2116 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2118 * cspi/spi_main.c (cspi_peek_ev): impl.
2120 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2122 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2124 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2126 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2127 SPI_ROLE_AUTOCOMPLETE
2129 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2131 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2132 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2134 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2136 * libspi/streamablecontent.h:
2137 * libspi/streamablecontent.c:
2138 New files, provide implementation/wrappers for
2139 Accessibility_StreamableContent.
2141 * cspi/spi_streamablecontent.c:
2142 Connected the C wrappers to the libspi C bindings.
2143 (AccessibleStreamableContent_close): New method.
2146 (AccessibleStreamableContent_close): New method, needed
2147 since we have an "open, [seek], read, close" model in cspi.
2149 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2151 Fix for #108664; Padraig's revision of my original patch.
2153 * registryd/registry.h:
2154 Added event queue list, is_queuing, and exit_notify_timeout
2155 to the registry struct.
2157 * registryd/registry.c:
2158 (registry_init): Initialize new struct from registry.h.
2159 (impl_registry_notify_event):
2160 Filter events before notifying, in case some need to be
2162 (registry_filter_event): New,
2163 we defer certain incoming events (for instance
2164 window:deactivate) because we may wish to hide
2165 or reject them based on pending events. This is
2166 mostly a workaround for bug #108664.
2167 (registry_queue_event, registry_start_queue): New.
2168 (registry_defer_on_event): Test event to see if it
2170 (registry_reset_on_event): Returns TRUE if the
2171 event should cause a queue reset.
2172 (registry_discard_on_event): Returns TRUE if the event
2173 should cause the previous queue contents to be discarded.
2174 (registry_timeout_flush_queue): Flushes the pending event
2175 queue if no reset/discard-triggering events have come in
2176 within the timeout period.
2177 (registry_emit_event): New.
2178 (registry_clone_notify_context): New, used when queueing the
2179 event notify contexts.
2181 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2183 * configure.in: Version revved to 1.3.2, lt 0.9.2
2184 Incremented ATK required version to 1.3.4.
2186 * cspi/spi_registry.c:
2187 (SPI_generateKeyEvent):
2188 We now pass the keystring along if it's non-null.
2190 * registryd/deviceeventcontroller.c:
2191 (keysym_mod_mask): New method, returns modifier mask
2192 required to generate a keysym from a given keycode.
2193 (dec_synth_keysym): New method.
2194 (dec_synth_keystring): New method.
2195 (dec_get_modifier_state): New method.
2196 (dec_lock_modifiers): New
2197 (dec_unlock_modifiers): New.
2198 (dec_keysym_for_unichar): New, rather brute-force
2199 conversion from UCS-4 to X KeySyms. Only works for
2200 Latin at the moment, with partial implementations for
2201 Greek, Hebrew, and (incomplete) Katakana.
2202 (impl_generate_keyboard_event): Now implement
2203 "KEYSTRING" synthesis and implement "KEYSYM"
2205 (keycode_from_keysym): Improved, passes a returned
2206 modmask value now if the corresponding param is non-NULL.
2208 Fixes bugs #92143 and #109776.
2211 * test/keysynth-test.c:
2212 New test program for key synthesis, to confirm fixes for
2216 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2218 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2220 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2221 Add line for RELATION_POPUP_FOR
2223 * docs/reference/cspi/tmpl/spi_relation.sgml:
2224 Add relation SPI_RELATION_POPUP_FOR
2226 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2227 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2229 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2231 * libspi/relation.c (spi_init_relation_type_table):
2232 Add line for RELATION_POPUP_FOR
2234 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2236 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2237 there are still windows which have not been deleted and emit
2238 window:deactivate, if necessary and window:destroy events.
2239 This fixes bug #114370. The change on June 5th was not correct.
2241 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2243 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2246 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2248 New methods for client exception handling and interception.
2249 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2250 (SPI_exceptionHandlerPop): You guessed it...
2251 (SPI_getSourceType): Return the type of object which offended.
2252 (SPI_getExceptionCode): Return an enum code telling, possibly,
2253 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2254 (SPIAccessibleException_getSource): get the source object for
2255 exceptions that come from Accessibles, if SPIExceptionSourceType is
2256 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2257 (SPIException_getDescription): New, returns a string description of
2258 the problem. [Not yet a stable ABI, strings are not frozen]
2260 * cspi/spi-private.h:
2261 Added implementation details of opaque SPIException
2265 Implementations of above. Also
2266 (_cspi_exception_throw): new private method that
2267 dispatches exceptions to handlers, called from cspi-bonobo.c
2269 * cspi/bonobo/cspi-bonobo.c:
2270 (cspi_check_ev): call _cspi_exception_throw.
2271 Don't print a warning message if the exception has been
2272 handled by _cspi_exception_throw.
2274 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2276 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2277 there are still windows which have not been deleted and emit
2278 window:deactivate, if necessary and window:destroy events.
2279 This fixes bug #114370.
2281 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2284 (cspi_accessible_is_a): Make non-fatal
2285 if the object reference is dead.
2287 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2289 * cspi/spi_main.c: #include <stdio.h>
2290 * test/simple-at.c: ditto
2291 * test/event-listener-test.c: ditto
2292 * test/screen-review-test.c: ditto
2294 2003-05-30 Michael Meeks <michael@ximian.com>
2296 * test/test-simple.c (main): use CORBA_ORB_perform_work
2297 instead of an unnecessary linc_ call.
2299 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2301 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2302 Add SPI_STATE_INDETERMINATE.
2304 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2307 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2309 * libspi/stateset.c (init_state_type_tables): Add support for
2312 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2314 * configure: Update versions of atk and gail required.
2315 This fixes bug #113268.
2317 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2319 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2321 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2323 * libspi/Makefile.am:
2324 Ensure headers are generated before being used by c sources.
2326 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2329 Simplified lt versioning rules.
2330 Incremented version to 1.3.0, to indicate that we're on the
2331 unstable branch now.
2333 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2335 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2336 Add MKDB_OPTIONS=--outtput-format=xml
2338 * docs/reference/cspi/at-spi-cspi-docs.sgml
2339 docs/reference/idl/at-spi-idl-docs.sgml:
2340 Convert to Docbook XML.
2342 This fixes bug #111793.
2344 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2346 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2347 AcccessibleKeyEventType, AccessibleKeyMaskType.
2349 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2351 * cspi/state-types.h: Add documentation for AccessibleState.
2353 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2354 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2355 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2356 AccessibleComponentLayer.
2358 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2361 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2363 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2364 Accessible. Add description of AccessibleEvent,
2365 AccessibleEventListenerCB.
2367 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2370 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2371 documentation. Add description of AccessibleKeystrokeListenerCB,
2372 AccessibleKeyEventMask, AccessibleModifierMaskType,
2373 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2374 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2376 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2379 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2382 This fixes bug #104730.
2384 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2386 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2387 Set is_text field of Accessibility_DeviceEvent data structure.
2389 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2390 is-text field of AccessibleDeviceEvent data structure.
2392 This addresses part of bug #108666.
2394 * registryd/devcieeventcontroller.c: Unset debug option.
2396 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2398 * cspi/accessible.c:
2399 (cpi_initial_relation_type_table): New function which initializes
2400 mapping between Accessibility_RelationType and AccessibleRelationType.
2401 (cspi_relation_type_from_spi_relation_type): New function which
2402 translates an Accessibility_RelationType into an AccessibleRelationType.
2403 (AccessibleRelation_getRelationType): Use
2404 cpi_relation_type_get_spi_relation_type to return correct value.
2405 (spi_state_to_corba): Return correct type for default case.
2407 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2408 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2410 * cspi/cspi-bonobo-listener.c:
2411 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2414 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2415 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2416 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2417 libspi/image.c, libspi/listener.c, libspi/selection.c,
2418 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2419 registryd/desktop.c, registryd/registry.c:
2420 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2422 * libspi/eventlistener.c
2423 Remove semicolon after BONOBO_TYPE_FUNC.
2425 * libspi/relation.c:
2426 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2427 (spi_init_relation_type_table): Initialize using correct type.
2429 * registryd/desktop.c:
2430 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2431 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2432 of Accessibility_KeyEventType.
2434 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2437 * tests/simple-at.c, tests/screen-review-test.c:
2438 Add include for <strings.h>.
2440 * tests.stress-test.c:
2441 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2443 These changes fix compiler warnings when using FORTE compiler on
2444 Solaris; fixes bug #107479.
2447 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2450 * configure.in: revved to 1.1.10
2452 * libspi/keymasks.h:
2453 (SPI_KEYMASK_NUMLOCK): Added.
2455 * registryd/deviceeventcontroller.c:
2456 (spi_key_event_matches_listener): AND with a smaller
2457 bitmask (as we should).
2458 (spi_dec_translate_mask):
2459 New method, sets the virtual NumLock modifier bit
2460 if numlock is on. Eventually it can handle other virtual
2461 modifier bits if needed, or other marshalling from
2462 at-spi modifier masks to platform (X) masks.
2463 (spi_dec_key_listener_new):
2464 Call spi_dec_translate_mask to set up virtual mod bits
2465 in the 'mask' field when creating a new listener struct.
2466 (spi_dec_emit_modifier_event):
2467 Set the virtual (i.e. NumLock) bits before emitting event.
2468 (spi_controller_register_with_devices):
2469 Query for the NumLock modifier 'physical' bit if Xkb is
2470 present, for use in above methods.
2474 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2476 * registryd/deviceeventcontroller.c:
2477 (spi_keystroke_from_x_key_event):
2478 Instead of checking to see if the keysym is
2479 printable, check the string from XLookupString
2480 if available, get the first unicode character from it,
2481 and call g_unichar_isprint to determine whether the
2482 is_text flag should be TRUE or FALSE.
2486 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2488 * atk-bridge/bridge.c: Add support for extended events
2489 * cspi/spi_event.c: Add documentation and implementation for
2491 * tests/event-listener-test.c: Add tests for extended events.
2493 This fixes bugs #100424 and #100426.
2495 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2497 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2498 of LT_CURRENT. This fixes bug #89350.
2500 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2502 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2503 number of signal parameter values before accessing them. This fixes
2506 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2508 * configure.in: Fixed duplicate inclusion of -lspi.
2509 * branched for gnome-2-2/HEAD.
2510 [created tag "gnome-2-2"]
2512 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2514 * configure.in: 1.1.9 release.
2517 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2519 [needed by GOK, to fix bugs 107985 and 107988]
2520 * registryd/deviceeventcontroller.c:
2521 (spi_dec_clear_unlatch_pending):
2522 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2523 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2524 (spi_dec_init_mouse_listener):Emit warning if mouse button
2526 (spi_device_event_controller_forward_mouse_event):
2527 Removed unnecessary parens from a conditional.
2528 (global_filter_fn):Added TODO comment.
2529 (impl_generate_keyboard_event):
2530 Cancel a pending relatch if a 'delatching' key was
2533 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2535 * atk-bridge/bridge.c:
2536 Change atk_signal_child_changed to atk_signal_children_changed.
2537 Reorganize code in spi_atk_bridge_signal_listener().
2539 * test/event-listener-test.c:
2540 Add children_changed_listener and report_children_changed_event()
2541 to test AccessibleChildEvent_getChildAccessible.
2543 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2545 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2546 g_strdup to CORBA_String_dup (bug #105291)
2548 * test/event-listener-test.c (report_text_event): Add call to
2551 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2553 * registryd/deviceeventcontroller.c:
2554 (spi_keystroke_from_x_key_event):
2555 Fix string and keysym return codes to match modifier state.
2558 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2560 * registryd/deviceeventcontroller.c:
2561 (spi_keystroke_from_x_key_event):
2562 Fix segv due to improper use of isprint(c). [bug #107254]
2564 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2567 (get_accessible_text_boundary_type):
2568 Move default return value to (new) default case in switch.
2569 (get_accessible_text_clip_type):
2570 Move default return value to (new) default case in switch.
2572 * libspi/application.c:
2573 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2574 Remove unused methods.
2575 (impl_accessibility_application_register_object_event_listener):
2576 Remove unused methods.
2579 Added #include of <math.h>.
2581 * registryd/deviceeventcontroller.c:
2582 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2583 we don't currently use this method.
2584 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2586 (impl_generate_key_event):
2587 Remove unused variables.
2588 (impl_generate_mouse_event):
2589 Initialize button to zero, just in case we get an invalid
2590 input. Added support for mouse buttons 4 and 5.
2591 (spi_device_event_controller_new):
2592 Removed unused variable declaration for 'private'.
2594 Added #include of <gdk/gdk.h>
2596 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2598 * configure.in: Update to work when X is not installed in expected
2599 location. Fixes bug #105836.
2601 * atk-bridge/bridge.c
2602 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2604 (spi_atk_register_event_listener): Add signal listener for
2606 (spi_atk_bridge_signal_listener): Event event when link-selected
2607 signal is emitted. (bug #104622)
2609 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2610 on returned string. (bug #105291)
2612 * test/event-listener-test.c: Add test for link-selected.
2614 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2616 * atk-bridge/Makefile.am: Correct typo in previous commit.
2618 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2620 * atk-bridge/Makefile.am: Allow for build directory to be different
2621 from source directory
2623 * registryd/Makefile.am: Allow for build directory to be different
2624 from source directory
2628 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2631 Fixed dependencies for libcspi so that libspi gets pulled in
2632 properly. Fixes 104741.
2636 Clean up inline docs a little.
2638 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2640 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2641 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2642 the AtkObject within an SpiDesktop.
2643 This addresses bug #101524.
2645 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2646 Remove call to gdk_init().
2648 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2649 so that Display is set when SpiDesktop is created.
2651 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2653 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2654 This fixes bug #102830.
2656 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2658 * test/test-simple.c: Update to take account of fact that GailButton
2659 now implements AtkText.
2660 (create_text_window): Set name on AtkObject for GtkEntry.
2661 (validate_accessible): Check accessible name before calling test_text().
2663 * libspi/Makefile.am: Fix problem with building outside of source
2664 directory. Bug #98120.
2666 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2667 typo in documentation comments. Bug #94275.
2669 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2671 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2673 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2676 Add includes to avoid compiler warnings on Solaris.
2677 (impl_getRangeExtents): Bug fix.
2679 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2681 Fix for 100944, [API addition approved by Gman and murrayc].
2688 * idl/Accessibility_Text.idl:
2689 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2690 (Text::getRangeExtents): New method for efficient
2691 bounds query of a text range.
2692 (Text::getBoundedRanges): New method for efficient
2693 clipping of text to bounding boxes.
2694 (unImplemented7, unImplemented8):
2695 Removed these padding methods to preserve bincompat.
2698 (impl_getRangeExtents): implementation of new IDL.
2699 (impl_getBoundedRanges): implementation of new IDL.
2700 (SpiTextRect): Internal use struct.
2701 (_spi_text_rect_union): internal method, calculates union of two
2702 SpiTextRect bounding rects.
2703 (_spi_text_range_seq_from_gslist): internal method, allows us
2704 to build our sequence efficiently as a gslist then convert it
2706 (_spi_bounds_contain): internal method, determines whether
2707 a text character is "in" or "out" of a clip rect according to
2708 values of TEXT_CLIP_TYPE.
2709 (spi_text_class_init): Initialize the new methods in the epv.
2712 (AccessibleTextClipType): New enum used by screen review api.
2713 (AccessibleTextRange): New struct used by screen review api.
2714 (AccessibleText_getRangeExtents):
2715 cspi binding for Accessibility_Text_getRangeExtents.
2716 (AccessibleText_getBoundedRanges):
2717 cspi binding for Accessibility_Text_getBoundedRanges.
2718 (AccessibleTextRange_freeRanges): convenience method.
2721 (AccessibleText_getRangeExtents):
2722 cspi binding for Accessibility_Text_getRangeExtents.
2723 (AccessibleText_getBoundedRanges):
2724 cspi binding for Accessibility_Text_getBoundedRanges.
2725 (AccessibleTextRange_freeRanges): convenience method.
2726 (get_accessible_text_clip_type): internal conversion method.
2727 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2729 * registryd/deviceeventcontroller.c:
2730 (spi_dec_mouse_check):
2731 Improved behavior for mouse:abs events
2732 [same granularity as mouse:rel events, and no
2733 events when mouse is idle].
2735 2002-12-16 Michael Meeks <michael@ximian.com>
2737 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2739 * libspi/stateset.c (state_spi_to_atk): split out
2740 ( fix several remote array bounds nasties )
2741 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2742 (impl_remove): make safe from array bounds issues.
2743 (spi_atk_state_from_spi_state): impl.
2745 * libspi/stateset.h (spi_state_set_cache_is_empty):
2746 add a set of wrapper defines to get layering right.
2748 * cspi/spi_accessible.c: update state set stuff to
2751 2002-12-14 Michael Meeks <michael@ximian.com>
2753 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2754 to avoid 2 roundtrips to the registry per key event
2755 (spi_atk_bridge_key_listener): upd.
2756 (deregister_application): release the dec.
2758 * registryd/registry.c (notify_listeners_cb):
2759 bin lots of re-enterant complexity - we no longer
2760 do a round-trip bonobo ref here, ensure that a single
2761 listener's exception failure won't poison all other
2763 (impl_registry_notify_event): bin obvious memory leak.
2765 2002-12-13 Michael Meeks <michael@ximian.com>
2767 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2768 init the ev so the error is meaningful.
2769 (spi_atk_bridge_key_listener): ditto.
2771 * cspi/spi_main.c (cspi_ev): init the ev so we start
2772 with a clean slate, otherwise the first exception
2773 kills us completely.
2775 * cspi/spi_text.c (get_accessible_text_boundary_type):
2776 add a fallthrough for no warnings.
2778 * cspi/spi_registry.c: prune unused warnings.
2780 * cspi/spi_main.c (cspi_object_take): fix
2781 mind-blowing brokenness ( by watching the compile
2784 * cspi/spi_accessible.c (Accessible_getStateSet):
2785 re-impl. to use an AtkStateSet.
2786 (spi_state_type_from_accessible_state),
2787 (init_state_table): bin these.
2789 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2791 (atk_state_set_from_accessibility_state_set): here.
2793 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2794 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2795 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2796 (AccessibleStateSet_add, AccessibleStateSet_remove),
2797 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2798 (AccessibleStateSet_isEmpty): re-write to use a local
2801 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2803 * configure.in: Revved to 1.1.7 (new keymask vals).
2805 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2807 * libspi/keymasks.h:
2808 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2810 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2813 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2814 to compare two CORBA_TypeCodes.
2815 (cspi_internal_event_add): Silence warning from FORTE compiler.
2817 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2818 avoid implicit declaration of functions.
2820 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2822 * atk-bridge/bridge.c:
2823 (spi_atk_bridge_init_event_type_consts): Store signal id for
2824 active-descendant-changed signal.
2825 (spi_atk_register_event_listeners): Add signal listener for
2826 active-descendant-changed signal,
2827 (spi_atk_bridge_signal_listener): Move code in function
2828 spi_atk-signal_emit_event() into this function.
2829 Add support for active-descendant-changed
2830 Update support for child-changed signal.
2831 (spi_bridge_window_event_listener): Silence warning.
2833 * libspi/spi_private.[ch]:
2834 (spi_init_any_object): Change second parameter from CORBA_Object to
2836 Omit call to CORBA_Object_duplicate().
2837 Set CORBA_any's _value to CORBA_Object*.
2839 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2845 (AccessibleEvent_ref, AccessibleEvent_unref):
2846 New methods, for persisting an event outside the emission context.
2847 Must be used if the new accessor methods are to be called
2848 outside of the event listener's callback.
2850 * cspi/bonobo/cspi-bonobo.c:
2851 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2852 as second parameter instead of NULL, so we can call
2853 cspi_check_ev afterwards.
2856 (cspi_object_take): New internal method,
2857 converts a CORBA_Object reference to a hard ref on
2858 an Accessible if possible, returning NULL if the object
2859 reference is invalid or an Accessible * otherwise.
2862 (AccessibleEvent_ref):
2863 Increment the event's internal private refcount, and
2864 add the event's internal struct to an internal cache
2865 if it's not already there.
2866 (AccessibleEvent_unref):
2867 Decrement the event's refcount and remove it from
2868 the cspi event cache if refcount==0.
2869 (cspi_event_compare): New private method.
2870 Compares two event structs via their ids. Used
2872 (cspi_internal_event_lookup): New private method.
2873 (cspi_internal_event_check): New private method,
2874 a 0-order sanity check for events to make sure their
2875 private data is intact.
2876 (cspi_internal_event_add, cspi_internal_event_remove):
2877 New private methods for managiing the event cache.
2879 * cspi/bonobo/cspi-bonobo-listener.c:
2881 Initialize the new private data elements (id, magic, ref_count).
2883 * atk-bridge/bridge.c:
2884 (spi_atk_bridge_signal_listener):
2885 Fixed bug #100530, passing wrong params to emission func.
2887 * registryd/deviceeventcontroller.c:
2888 (spi_dec_button_update_and_emit):
2889 Fixed type in mask bit operations; fix for #99799.
2891 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2893 Removed some of the more dangerous workarounds from
2894 previous commit; they are only needed by GOK, which
2895 in reality should be using another method to accomplish
2896 the goals. So on reconsideration some of the workarounds
2897 need to be reverted:
2899 * registryd/deviceeventcontroller.c:
2900 (spi_keycodes_contain, spi_dec_init_keycode_list):
2901 Removed these methods, used only by a nasty hack to try
2902 and detect whether a key synthesis should be allowed
2903 to reset the XKB latch state or not. This code was only
2904 required to work around an interaction between GOK,
2905 button events, and XKB.
2906 (impl_generate_key_event):
2907 Removed hack at end of key generation that tried to
2908 "do the right thing" if XKB latch keys were generated
2909 in the midst of button press/release pairs.
2912 Added a check for HAVE_XINPUT. Not normally used yet.
2914 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2916 Workarounds and fixes for mouse event/XKB interaction.
2918 * registryd/deviceeventcontroller.c:
2919 (spi_keycodes_contain, spi_dec_init_keycode_list):
2920 New internal methods.
2921 (spi_dec_set_unlatch_pending):
2922 Split the method that tells XKB to expect an
2923 unlatch (and revert it) out of the rest of the
2924 event handling code. This method is called by the
2925 two mouse event handlers (the poll and the filter).
2926 (spi_dec_update_and_emit, spi_dec_mouse_check):
2927 New methods split from spi_dec_poll_mouse_moved.
2928 The second one is now called from inside the filterFn
2929 when an XKB delatch event is received, to determine
2930 whether to revert the delatch or not.
2931 (spi_poll_mouse_moved): Refactor; also we can now
2932 properly handle the case where multiple button states
2933 have changed between polling cycles and we didn't get
2934 notified due to another client's grab.
2936 Synchronize the server while handling an XKB notification.
2937 Ugly, but apparently necessary to avoid nasty races.
2938 Check the mouse state on receipt of an XKB latch change,
2939 to decide whether to revert the latch or not. (Latches are
2940 reverted if there is an immediately preceding mouse button
2941 event that a client has consumed, in which case we don't want
2942 the user to see the side-effect of the event).
2943 (spi_device_event_controller_forward_mouse_event):
2944 Check for modifier events and fire before resetting mouse_mask_state,
2945 prevents losing modifier events.
2947 (impl_generate_keyboard_event):
2948 If we've just generated a keyboard event for a non-shift key,
2949 we don't want to revert the pending XKB latch.
2950 Otherwise, check the modifier state (via a call to
2951 spi_dev_mouse_check) and set the relatch mask to
2952 that state before returning.
2954 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2957 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2960 * atk-bridge/bridge.c:
2961 (spi_atk_register_event_listeners):
2962 Don't re-register for ATK events if the registry has died
2963 and the app needs to re-register; the ATK listeners are in
2964 process and doing so will cause duplicate emission.
2966 * registryd/deviceeventcontroller.c:
2967 (spi_poll_mouse_moved):
2968 Reformat the source, detect and emit multiple button-change
2969 events (i.e. if multiple buttons have changed between poll
2971 Add code to detect mouse-down events even when the pointer
2972 is grabbed; workaround for GOK bug 98420.
2973 (spi_controller_register_with_devices):
2974 Call XTestGrabControl with 'impervious' flag set to True,
2975 allows us to synthesize events and query the pointer even during
2976 an active grab by another client.
2977 (spi_device_event_controller_forward_mouse_event):
2978 Set the mouse_mask_state to the mouse_button_state from
2979 the intercepted event, to synchronize the grab listener with
2982 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2984 * cspi/spi_accessible.c:
2985 (AccessibleRole_getName):
2986 Added necessary strings for making this (deprecated)
2987 method work with the new role types.
2988 (init_role_table, role_table):
2989 Added definition of SPI_ROLE_APPLICATION.
2991 * libspi/spi-roletypes.h:
2992 Added SPI_ROLE_APPLICATION.
2994 * idl/Accessibility_Role.idl:
2995 Added ROLE_APPLICATION.
2997 * docs/reference/cspi/at-spi-cspi-decl.txt:
2998 Added SPI_ROLE_APPLICATION to docs.
3000 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3002 * cspi/spi_accessible.c
3003 (cspi_init_role_table): Do not write beyond end of role_table.
3004 (Accessible_getRole): Use correct type for value returned by
3005 Accessibility_Accessible_getRole().
3007 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3008 beyond end of role_table. (This fixes bug #98269)
3010 * libspi/application.c: Add include file spi-private.h for
3011 definition of spi_init_any_nil.
3013 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3017 * libspi/spi-private.h:
3018 Added DGB() macro, and extern int _dbg declaration.
3020 * registryd/registry.c:
3021 (definitions) storage for _dbg.
3022 (spi_registry_init):
3023 Get environment variable "AT_SPI_DEBUG".
3024 (spi_registry_set_debug):
3025 New method, to initialize _dbg value.
3026 (spi_listener_struct_new, spi_registry_object_finalize):
3027 (notify_listeners_cb):
3028 Changed fprintfs to use DBG and g_warning().
3030 * registryd/deviceeventcontroller.c:
3031 (_deregister_keygrab, spi_controller_register_device_listener):
3032 Changed debug/warning messages to use DBG macro.
3034 * libspi/listener.c:
3035 (impl_notify_event):
3036 Changed warning messages to use DBG macro and g_warning().
3038 * atk-bridge/bridge.c:
3039 (atk_bridge_init, spi_atk_bridge_get_registry):
3040 (spi_atk_bridge_exit_func):
3041 (spi_atk_bridge_property_event_listener):
3042 Changed status, warning, and error messages to use
3043 g_warning, g_message, and DBG macros.
3046 Read the state of the AT_SPI_DEBUG environment variable
3047 and set a local '_dbg' accordingly.
3049 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3051 FIXES for 98836, 98842, other bugs.
3054 Revved to 1.1.4, interface-age=4, binary-age=4.
3056 * registryd/deviceeventcontroller.c:
3058 Fixed crasher bug in last_mouse_pos initialization.
3060 * registryd/registry.c:
3061 (desktop_add_application, desktop_remove_application):
3062 Added (and then commented out) some support for
3063 object context marshalling. [TODO]
3065 * atk-bridge/bridge.c:
3066 (spi_atk_bridge_event_context_create):
3067 Commented out object context creation until it can
3068 be properly tested and debugged.
3070 * registryd/registry.c:
3071 (impl_registry_notify_event):
3072 Fixed crasher bug, we were calling
3073 spi_re_entrant_list_foreach () with an empty list.
3075 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3077 * idl/Accessibility_Action.idl:
3078 * idl/Accessibility_Component.idl:
3079 * idl/Accessibility_Desktop.idl:
3080 * idl/Accessibility_Event.idl:
3081 * idl/Accessibility_Hyperlink.idl:
3082 * idl/Accessibility_Image.idl:
3083 * idl/Accessibility_Relation.idl:
3084 * idl/Accessibility_Selection.idl:
3085 * idl/Accessibility_State.idl:
3086 * idl/Accessibility_Value.idl:
3087 Updated unimplemented slot count to minimum of
3088 four for all interfaces, for ABI freeze.
3090 * idl/Accessibility_EditableText.idl:
3091 * idl/Accessibility_Text.idl:
3092 Updated unimplemented slot count to six
3095 * idl/Accessibility_Registry.idl:
3096 Updated unimplemented slot count to six
3097 (also for DeviceEventController),
3100 * idl/Accessibility_Table.idl:
3101 Updated unimplemented slot count to eight,
3104 * idl/Accessibility_Event.idl:
3105 Added CORBA_any "any_data" member to Event struct.
3107 * idl/Accessibility_Event.idl:
3108 Added CORBA_any "any_data" member to Event struct.
3110 * atk-bridge/bridge.c:
3112 atk_signal_text_changed, atk_signal_child_changed,
3113 signal ids queried from gtype system.
3114 (AtkBridgeEventContextType): New enum.
3115 (AtkBridgeEventContextData): New struct.
3116 (AtkBridgeEventContext): New struct.
3117 (atk_bridge_init_event_type_consts):
3118 New method, initializes type contants for comparison
3119 prior to emit_eventv.
3120 (atk_bridge_event_context_init): New method,
3121 initializes a CORBA_any from an AtkBridgeEventContext.
3122 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3123 initialize the event.any_data struct.
3124 (spi_atk_bridge_event_context_create): New method,
3125 creates an AtkBridgeEventContext from signal/event info.
3126 (spi_atk_bridge_event_context_free): New method.
3127 (spi_atk_emit_eventv): Changed to take an
3128 AtkBridgeEventContext parameter. We now initialize
3129 the event.any_data member prior to notifying the
3130 Registry, via the AtkBridgeEventContext.
3131 (spi_atk_bridge_property_event_listener):
3132 (spi_atk_bridge_state_event_listener):
3133 Match emit_eventv signature.
3134 (spi_atk_bridge_object_event_listener):
3135 Match emit_eventv signature, and create an
3136 event context from the event details.
3137 Free the event context afterwards.
3138 (spi_atk_bridge_window_event_listener):
3139 Create an event context, pass it to the
3143 (AccessibleEvent_getContextString):
3144 (AccessibleEvent_getContextObject):
3145 New methods, allow query of AccessibleEvent objects
3146 for more context details (via the "any_data" member
3147 of the Event struct, above).
3150 Definitions for AccessibleEvent_getContextString
3151 and AccessibleEvent_getContextObject.
3153 * cspi/spi_listener.h:
3154 (InternalEvent): New struct.
3157 (AccessibleEvent_getContextString):
3158 (AccessibleEvent_getContextObject):
3159 Implementations of new methods, for obtaining
3160 additional context information from some event types.
3162 * cspi/spi_registry.c:
3163 (SPI_registerGlobalEventListener):
3164 Added mention of active-descendant-changed event in docs.
3166 * cspi/cspi-bonobo-listener.c:
3168 Marshal the any into the AccessibleEvent via
3171 * libspi/spi-private.h:
3172 #include <orbit/orbit.h>
3174 (spi_init_any_string):
3175 (spi_init_any_object):
3176 New convenience function declarations.
3180 (spi_init_any_string):
3181 (spi_init_any_object):
3182 New convenience function implementations.
3184 * registryd/deviceeventcontroller.c:
3185 (spi_poll_dec_mouse_moved):
3186 (spi_device_event_controller_forward_mous_event):
3187 Initialize any_data member of event.
3188 (spi_deregister_controller_device_listener):
3189 Fix incorrect param pass which was preventing deregistration.
3191 * registryd/registry.c:
3192 (desktop_add_application):
3193 (desktop_remove_application):
3194 Add object data to event's any_data before dispatch.
3196 Fix for error messages from GAIL.
3198 * test/event-listener-test.c:
3199 Test new ContextString and "any_data" API:
3200 (report_text_event): New method query and output context string.
3201 (main): register a new text listener with report_text_event
3204 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3206 Fixes for bugs 98127 and 97914.
3207 * cspi/spi-roletypes.h:
3208 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3210 * cspi/spi-statetypes.h:
3211 Added SPI_STATE_MANAGES_DESCENDANTS
3213 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3214 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3215 * cspi/spi_accessible.c:
3216 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3217 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3218 Accessibility_STATE_MANAGES_DESCENDANTS
3219 * libspi/accessible.c:
3220 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3221 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3222 As requested by Bill, I also cleaned up the alignment.
3223 * libspi/relation.c:
3224 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3225 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3226 * libspi/stateset.c:
3227 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3228 Accessibility_STATE_MANAGES_DESCENDANTS
3229 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3230 Document changes reflecting modifications to roles.
3231 * docs/reference/cspi/tmpl/spi_relation.sgml:
3232 Document changes reflecting modifications to relations.
3233 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3234 Document changes reflecting modifications to states.
3236 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3239 Revved to 1.1.3, interface-age=3, binary-age=3.
3240 Added REBUILD macro.
3243 Removed accessx-gui from the tests, since we have a nice
3244 keyboard accessibility capplet now :-)
3246 * test/keysynth-demo.c:
3247 (increment_scan): removed do-nothing default: case,
3250 * test/visual-bell.c:
3251 (main) : removed do-nothing default: case,
3254 * cspi/spi_action.c:
3255 (AccessibleAction_getKeyBinding_):
3256 Documented keybinding string format.
3260 (AccessibleText_getAttributes):
3261 Documented the text attribute string format.
3262 It's changed to use semicolon delimiters also,
3263 to prevent clashes with CSS attributes, but the old
3264 trick of looking for ", " strings will still work
3265 (as unreliably as ever). Fix for bug related to 97916.
3268 Include <cspi/bonobo/cspi-bonobo-listener.h>
3269 Fixes build warning.
3270 (SPI_freeAccessibleKeySet):
3271 (AccessibleKeystrokeListener_addCallback):
3272 (AccessibleKeystrokeListener_removeCallback):
3273 Modify to use AccessibleDeviceListener API internally,
3274 instead of AccessibleKeystrokeListener.
3276 * idl/Accessibility_Event.idl:
3277 Added two more empty slots to EventListener (for a total of four).
3279 * idl/Accessibility_Accessible.idl:
3280 Added four empty slots to Accessible interface.
3282 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3284 * idl/Accessibility_Registry.idl:
3285 (KeyEventType, EventType):
3286 Marked KeyEventType as deprecated; it duplicates
3287 functionality of EventType, which has been extended to
3288 include Mouse-button events.
3289 (KeyEventTypeSeq): defined in terms of EventType.
3290 (registerDeviceEventListener, deregisterDeviceEventListener):
3291 New methods, for managing listeners to device events,
3292 which potentially may consume them.
3295 Added definition for AccessibleDeviceListener.
3297 * cspi/spi-listener.h:
3298 (enum AccessibleDeviceEventType):
3299 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3300 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3301 for backwards compat.
3302 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3303 and typedef'd AccessibleKeystroke to it for back-compat.
3304 (AccessibleDeviceListenerCB):
3305 New function prototype typedef.
3308 (AccessibleDeviceEventMask): New typedef.
3309 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3310 (AccessibleKeyMaskType):
3311 Set equivalent to AccessibleModifierMaskType for back-compat.
3312 (SPI_createAccessibleKeystrokeListener):
3313 (AccessibleKeystrokeListener_unref):
3314 Deprecated in favor of equivalent (better-named) new API below..
3315 keystroke listeners are like all device listeners.
3316 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3317 New API names for old features :-).
3318 (AccessibleDeviceListener_addCallback):
3319 (AccessibleDeviceListener_removeCallback):
3320 (SPI_registerDeviceEventListener):
3321 (SPI_deregisterDeviceEventListener):
3325 (SPI_createAccessibleKeystrokeListener):
3326 Use new preferred API, cspi_device_listener_new() and
3327 cspi_device_listener_add_cb().
3328 (AccessibleKeystrokeListener_removeCallback):
3329 Use new preferred API, cspi_device_listener_remove_cb().
3330 (AccessibleKeystrokeListener_unref):
3331 Use new preferred API, cspi_device_listener_unref().
3332 (SPI_createAccessibleDeviceListener):
3333 (AccessibleDeviceListener_addCallback):
3334 (AccessibleDeviceListener_removeCallback):
3335 Implementation of new API.
3337 * cspi/spi_registry.c:
3338 (SPI_registerDeviceEventListener):
3339 (SPI_deregisterDeviceEventListener):
3340 Implementation of new API. Fixed memory leak and removed need to
3341 allocate EventTypeSeq (thanks Michael for catching this).
3342 Squashed a wayward CORBA_exception_free that shouldn't get called.
3344 * cspi/bonobo/cspi-bonobo-listener.c:
3346 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3347 (cspi_key_event): renamed to cspi_device_event().
3348 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3349 Extended to handle mouse button events as well as key events.
3350 (CSpiKeystrokeListener):
3351 Class superceded by CSpiDeviceListener.
3352 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3353 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3355 * cspi/bonobo/cspi-bonobo-listener.h:
3356 (CSpiKeystrokeListener):
3357 Class superceded by CSpiDeviceListener.
3358 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3359 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3361 * libspi/Makefile.am:
3362 Replaced keystrokelistener.h and keystrokelistener.c
3363 with devicelistener.h and devicelistener.c; keystrokelisener.h
3364 stub retained for back-compat.
3366 * libspi/keystrokelistener.c:
3370 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3372 * registryd/deviceeventcontroller.c:
3373 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3374 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3375 (DEControllerPrivateData): Added xkb settings data.
3376 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3377 button release events (which can't be captured via XGrabButton).
3378 Don't dispatch via the 'normal' event mechanism if the device event was
3380 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3381 Handle the typeseq data in its new location (see above).
3382 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3383 New methods, for "generic" device listeners.
3384 (spi_controller_register_device_listener):
3385 Now handle mouse event listeners as well as key listeners.
3386 (spi_controller_notify_mouselisteners):
3387 New internal method.
3388 (spi_device_event_controller_forward_mouse_event):
3389 Now we notify mouse device listeners as well as generating the
3390 non-consumable "mouse:" events.
3392 We must check and restore the XKB
3393 modifier map if we consume the event, since the act of triggering
3394 a mouse event will normally reset the XKB latch. This is required for
3396 (spi_controller_register_with_devices):
3397 Load the XKB settings when registering, and register for XKB
3398 state notify events.
3399 (spi_key_eventtype_seq_contains_event):
3400 Renamed spi_eventtype_seq_contains_event, since it's used
3401 internally for all device event types now.
3402 (spi_key_event_matches_listener):
3403 Uses spi_eventtype_seq_contains_event now.
3404 (spi_device_event_controller_object_finalize):
3405 Free the private data and the XkbKeyboard struct.
3406 (impl_register_device_listener, impl_deregister_device_listener):
3407 Implementation of new IDL.
3408 (spi_deregister_controller_device_listener):
3409 New internal method.
3410 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3411 More efficient implementation, we don't have to create a new
3412 XkbControls structure every time we query.
3413 (spi_device_event_controller_class_init):
3414 Initialize the epv entries for the new IDL. Assign the
3415 "spi-dec-private" quark.
3416 (spi_device_event_controller_init):
3417 Initialize the private data.
3418 (spi_device_event_controller_forward_key_event):
3419 Removed a bogus CORBA_exception_free() call.
3421 * registryd/deviceeventcontroller.h:
3422 Replaced inclusion of keystrokelistener.h with
3425 * test/event-listener-test.c:
3426 (report_mouse_event):
3429 Added mouse-event device listener.
3431 * test/test-simple.c:
3432 (create_test_window):
3433 Fixed regression (we were instantiating a GtkRange,
3434 which is now an abstract class). Also fixed to match
3435 existing AtkRole names, this seems to have changed in ATK
3436 awhile ago; too late now I think, and the new
3437 mechanism is at least elegant and consistent with the
3438 glib enum "nick" APIs.
3440 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3442 * idl/Accessibility_Relation.idl:
3443 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3444 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3445 * idl/Accessibility_Role.idl:
3446 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3447 * idl/Accessibility_State.idl:
3448 add STATE_MANAGES_DESCENDANTS
3449 * test/event-listener-test.c:
3450 Added a listener for active-descendant events.
3452 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3454 * atk-bridge/bridge.c
3455 (atk_bridge_init): If application is Bonobo component wait until top
3456 level is added before registering
3457 (spi_atk_bridge_do_registration): New function which contains code,
3458 formerly in atk_bridge_init, to do application registration.
3459 (spi_atk_bridge_toplevel_added): Signal called when top level
3460 added to Bonobo component
3462 This fixes bug #83134.
3464 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3466 * registryd/deviceeventcontroller.c
3467 Fixed compilation error caused by calling gettimeofday()
3470 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3475 Added template for HAVE_XKB.
3478 Changes to check for XKB, and to set the HAVE_XKB #define if it
3481 * libspi/listener.c:
3482 ()impl_notify_event): Make failure to get event source name
3485 * registryd/deviceeventcontroller.c:
3486 (#include): include X11/XKBlib.h.
3487 (DEControllerPrivateData) : New struct.
3488 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3490 (dec_synth_keycode_press) (dec_synth_keycode_release):
3491 New methods; split the key synthesis code into these methods.
3492 They check XKB settings before determining the "time" values to
3493 pass to Xtest; this fixes bug #95828.
3494 (impl_generate_keyboard_event): Changed to use methods above,
3495 instead of callng Xtest directly.
3496 (spi_device_event_controller_init): Initialize new privae struct s
3498 (spi_device_event_controllr_object_finalize):
3499 Free the (new) private data.
3501 * registryd/deviceeventcontroller.h:
3502 Add new gpointer to end of struct data.
3504 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3507 Incremented revision to 1.1.2, SONAME is still '.so', library
3508 extensions are ".so.0.0.2".
3510 * registryd/deviceeventcontroller.c:
3511 FIXES FOR #93592 and #95940.
3512 (statics): renamed mouse_button_state to mouse_mask_state,
3513 added key_modifier_mask.
3514 (spi_dec_poll_mouse_moved):
3515 Added key modifier checks, and emit "keyboard:modifiers"
3516 events when the key modifiers currently in use change.
3517 Also generate "mouse:abs" events periodically, even if the mouse
3518 is stationary (should we?).
3519 Alternatively we could generate "mouse:abs" events for either all
3520 mouse movements, or every 'nth' mouse movement, or at the
3521 beginning and end of every "active" mouse period.
3523 * test/event-listener-test.c:
3524 (main): Added listener for "keyboard:modifiers" events.
3526 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3528 * libspi/keymasks.h:
3529 Added key mask #defines for mouse buttons; e.g.
3530 SPI_KEYMASK_BUTTON1, etc.
3533 Incremented dependency on ATK to version 1.1.0. (This dependency
3534 is probably premature but will soon be real enough).
3536 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3538 * libspi/hyperlink.[ch]
3539 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3540 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3543 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3548 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3550 * registryd/deviceeventcontroller.c
3551 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3552 events to be ignored.
3553 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3554 keyboard_mode so that XAllowEvents() can be called.
3558 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3560 * cspi/spi-accessible.c: Correct names of roles returned by
3561 AccessibleRole_getName(). Fixes bug #95055.
3563 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3565 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3568 * registryd/registry.c
3569 (desktop_remove_application: Write diagnostic message to stderr for
3572 (impl_accessibility_registry_deregister_global_event_listener):
3573 Correct size of lists array. This addresses bug #94555).
3575 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3577 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3580 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3582 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3585 * registryd/registry.c (impl_registry_notify_event): Remove
3586 unnecessary call to parser_event_type().
3588 * docs/reference/cspi/tmpl/spi_component.sgml:
3589 Add reference to SPI_LAYER_WINDOW.
3591 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3593 * registryd/registry.c
3594 (desktop_add_application): Remove leak.
3595 (desktop_remove_application): Remove leak.
3596 (parser_event_type): Remove leak.
3598 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3600 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3601 bogus call to CORBA_string_dup(). Also removed unnecessary
3602 g_string_dup/g_free calls.
3604 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3606 * registryd/deviceeventcontroller.c:
3607 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3609 * test/event-listener-test.c:
3610 main: commented out three redundant listeners, to reduce output
3611 noise. (They still are potentially useful for testing).
3614 2002-09-13 Michael Meeks <michael@ximian.com>
3616 * Update all the copyrights to include Ximian.
3618 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3620 * cspi/spi.h: add SPI_LAYER_WINDOW.
3622 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3623 add Accessibility_LAYER_WINDOW case.
3625 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3627 * libspi/component.c: (impl_accessibility_component_get_layer):
3628 add ATK_LAYER_WINDOW case.
3630 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3632 * configure.in: incremented micro version.
3634 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3636 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3639 Clarified and reworded our commit policy.
3642 Started an API "todo" addition list for 2.2.
3645 (impl_getSelection):
3646 Free char pointer from atk_text_get_selection, which was being leaked.
3648 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3651 Small revision to author acknowledgement.
3653 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3655 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3656 If signal has detail add it to the type of the event.
3659 2002-08-12 Michael Meeks <michael@ximian.com>
3661 * test/test-simple.c (global_listener_cb): bin bogosity.
3662 (test_keylisteners): disable, still doesn't work reliably,
3663 certainly not on my system anyway.
3665 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3666 don't leak a reference on the DEC. This round-trip
3667 fetching of the DEC per keystroke sucks, it should be
3670 * cspi/spi-private.h,
3671 * cspi/cspi-lowlevel.h,
3672 * cspi/bonobo/cspi-bonobo-listener.[ch],
3673 * cspi/bonobo/cspi-bonobo.c: get the copyright
3674 notices better - there is still a large amount of
3675 work in at-spi falsely attributed solely to Sun.
3677 * cspi/spi_main.c (cspi_object_ref): kill bogus
3678 hash lookup, just increment the ref.
3679 (SPI_freeString): make explicit the fact that we
3680 handle NULL strings just fine.
3681 (report_leaked_ref): obey coding standards.
3682 (cspi_object_hash, cspi_object_equal): kill retval.
3683 (cspi_object_release): only release if not on loan.
3684 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3685 (cspi_object_borrow, cspi_object_return): impl.
3687 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3688 use cspi_object_borrow / return.
3690 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3692 * cspi/bonobo/cspi-bonobo-listener.c:
3694 Don't call cspi_oject_new() because this is creating a new Accessible
3695 every single time that an event is fired. This causes ATs like at-poke
3696 to nolonger recognise the source of the event and thus ignore it.
3697 Re-use the object from the cache, ref it and then unref it after the
3698 listeners have been called.
3700 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3702 * test/event-listener-test.c:
3703 Added command-line options to disable mouse events (m) and
3706 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3708 * configure.in: Update required versions of ATK, GTK+ and GAIL
3710 * cspi-1.0.pc.in: Add dependency for X include files
3713 * cspi/bonobo/Makefile.am:
3714 Add $(X_CFLAGS) so that X include files
3715 are picked up even if not in standard place (bug #71686)
3717 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3719 * registryd/deviceeventcontroller.c: fix for 84261
3720 (spi_dec_mouse_moved):
3721 Added test of mouse button mask, so that we can detect mouse
3722 button release. Unfortunately we can't otherwise detect mouse
3723 button release events without consuming the mouse press event,
3724 because of the way XGrabButton works. This means that our mouse
3725 release events have a latency dependent on the polling period
3726 while the mouse button is down. At least in this case we only
3727 have to poll while the button is down, and not at other times.
3728 If the button masks don't match with what the last press event
3729 reported, we report the appropriate button release event.
3730 (spi_dec_ungrab_mouse):
3731 New method (not yet called).
3732 (spi_device_event_controller_forward_mouse_event):
3733 New method, sends mouse press event from GdkFilter.
3734 (spi_dec_init_mouse_listener):
3735 Added code to call XGrabButton, redirecting mouse button events to
3736 the root window and our Gdk event loop.
3738 Added code to filter mouse button events, and reordered.
3740 * test/event-listener-test.c:
3742 Added registration for mouse events of type "mouse:button".
3744 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3746 * registryd/deviceeventcontroller.c: partial fix for 84261
3747 (spi_dec_poll_mouse_idle):
3748 New method, a timeout which checks to see if the mouse
3750 (spi_dec_poll_mouse_moving):
3751 A timeout to be called when mouse motion is underway.
3752 (spi_dec_poll_mouse_moved):
3753 A method which fires an event if the mouse has moved, and reports
3754 whether or not it did so.
3755 (spi_dec_init_mouse_listener):
3756 A method which sets up the timeouts above.
3757 (spi_device_event_controller_new):
3758 Now calls spi_dec_init_mouse_listener.
3760 * registryd/registry.c:
3761 (spi_registry_init):
3762 Now we initialize the device event controller when the registry is
3763 initialized, instead of waiting until a client has requested a key
3764 event notification; this is because we need the event controller
3765 for mouse events, but the mouse event registration API is a
3766 "registry" call and doesn't explicitly call the
3767 deviceeventcontroller.
3768 We now report mouse motion events with a 100 ms idle latency and
3769 a 20 ms granularity when motion is in progress.
3771 * test/event-listener-test.c:
3773 We now register the "detail listener" for events of type
3774 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3775 delivered only for the first mouse event received, and thereafter
3776 "mouse:abs" events are delivered.)
3778 * cspi/spi_registry.c:
3779 DOCS: Documented the above mouse event typestrings.
3781 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3783 Happy Summer Solstice...
3785 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3786 (spi_controller_notify_keylisteners):
3787 Changes to remove a listener from the listener list, freeing its
3788 open keygrabs, if a notification to that listener fails. This
3789 means that although a dead listener can continue to hold a passive
3790 keygrab, a maximum of one dispatch to such a listener can fail
3791 before the listener is removed from the list, thus the keygrab
3792 will be released on the next occurrence.
3793 As part of this fix:
3794 (spi_notify_keylisteners):
3795 Renamed to spi_controller_notify_keylisteners, as the controller
3796 instance must now be passed as an argument.
3797 The copied 'notify' GList is now a list of DEControllerKeyListener
3798 objects, since we need more than just the CORBA reference if a
3799 notify fails and we need to deregister the listener.
3800 (impl_notify_listeners_sync):
3801 (impl_notify_listeners_async):
3802 (spi_device_event_controller_forward_key_event):
3803 Modify use of notify_keylisteners in accordance with above
3805 (spi_deregister_controller_key_listener):
3806 New method introduced by refactoring, from
3807 impl_deregister_keystroke_listener.
3808 (impl_deregister_keystroke_listener):
3809 Call spi_deregister_controller_key_listener.
3810 (spi_key_listener_clone):
3811 New method to copy a key listner without doing a 'ref' on the
3812 remote object instance; used to create a notifier list.
3813 (spi_key_listener_data_free):
3814 New method, frees data without unreffing the source.
3816 (spi_key_listener_clone_free): new method.
3817 (spi_key_listener_free):
3818 refactored to call spi_key_listener_data_free.
3820 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3822 * registryd/registry.c: [fix for bug 86048]
3823 (notify_listeners_cb):
3824 Clear CORBA system exceptions which occur when notifying
3825 listeners, before returning to the source of the original event,
3826 since the event source doesn't care if the relayed notify failed.
3827 In other words, don't complain to the atk-bridge if the registry
3828 could not notify all its listeners, that's no fault of the
3829 application and thus should not appear to be an error from the
3830 application's perspective.
3832 * cspi/spi_main.c: [fix for bug 85980]
3834 Replaced use of bonobo_object_dup_ref with call to the wrapper
3835 method, csou_dup_ref (); this silences a compiler warning and
3836 provided more portability.
3838 Ping the registry before return, and restart if necessary.
3840 * cspi/bonobo/cspi-bonobo.c:
3842 New internal method.
3844 Fixed this method to return an object reference, as it should have
3847 * cspi/cspi-lowlevel.h:
3848 Added internal definition for cspi_ping() and fixed
3849 return type of cspi_dup_ref().
3852 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3854 * atk-bridge/bridge.c: [fix for bug 85305]
3855 (spi_atk_bridge_register_application):
3856 New method where the initial application registry calls have been
3857 moved; it allows an application to re-register in response to
3858 certain error conditions (such as a registry restart, see below).
3860 Moved some initialization code to the method
3861 spi_atk_bridge_get_registry, below.
3862 (spi_atk_bridge_get_registry):
3863 New, private accessor function for the Accessibility_Registry
3864 instance. If the registry has not been started before, or has
3865 died (as detected by failure of a CORBA exception), it is
3866 restarted before return, and spi_atk_bridge_register_application
3867 is called again to register with the new bridge instance.
3868 (spi_atk_emit_eventv):
3869 Set registry_died on error; use spi_atk_bridge_get_registry () to
3870 access the registry.
3872 * registryd/registry.c:
3873 (impl_accessibility_registry_register_global_event_listener):
3874 Set listener's event_type_quark to etype.minor instead of
3875 etype.major (fix for bug 84856).
3877 * test/event-listener-test.c:
3878 (report_detail_event):
3879 Change the output string so that user/tester can tell that the
3880 'detail listener' was called instead of the 'generic listener'.
3882 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3884 Fixes for bugs 84900, 84908, 84897, 84898.
3889 Revved version to 1.1.0
3890 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3891 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3893 * idl/Accessibility_Registry.idl:
3894 (EventListener::notifyEvent):
3895 Removed 'oneway' directive after extensive consulation with
3896 ORBit2 team and others. This means also that unref() of the event
3897 source can and should be done synchronously after emission, rather
3898 than remotely in the client, after servicing the notify call on
3901 NOTE: This change speeds up listener performance considerably, but
3902 introduces new latency on the application side. We may want to
3903 add an event queue to the atk-bridge.
3905 * atk-bridge/bridge.c:
3906 (spi_atk_bridge_focus_tracker):
3907 Do a local unref() on the event source after emission.
3909 * registryd/registry.c:
3910 (desktop_remove_application):
3911 Do an unref() on the event source after emission.
3912 (desktop_add_application):
3913 Do an unref() on the event source after emission.
3914 (notify_listeners_cb):
3915 When relaying an event, don't automatically add the event source
3916 to the local object cache, just CORBA_dup it instead. Likewise,
3917 if this method reenters, release the ref rather than calling
3919 (impl_registry_notify_event):
3920 No longer call remote unref() on the event source after dispatch.
3922 * libspi/eventlistener.c:
3923 (impl_accessible_event_notify_event):
3924 Removed remote unref ()
3926 * cspi/bonobo/cspi-bonobo-listener.c:
3928 We now call cspi_object_new() instead of cspi_object_add() on
3929 receipt of an event; thus we only have an implicit object ref
3930 while the cspi_event method is being executed. If we need to keep
3931 a reference to the object, the listener must call ref() on the
3932 object. Thus also we don't need to call cspi_object_unref() after
3933 invoking the listener callbacks in this method.
3937 New internal API for creating a new cspi object, without adding it
3938 to the object cache.
3940 Now uses cspi_object_new() to create the cspi object instance.
3942 Now checks to see if the object is in the internal object cache,
3943 and adds it if necessary before incrementing its refcount (note
3944 that new objects are added with a refcount of 1).
3945 (report_leaked_ref):
3946 New method which gives some information on leaked object instances
3947 if leak detection is turned on.
3949 * test/event-listener-test.c:
3950 (timing_test_event):
3951 New method, used for testing event delivery timing for special
3952 events of type "object:test". It reports elapsed time and
3953 events/sec every 500 events.
3955 Added a new listener, 'test listener', to check timing of event
3956 receipt as noted above.
3958 Added some timing output here also, reports elapsed time every 100
3961 * test/stress-test.c:
3962 Emit events of type "object:test", for use with "event-listener-test".
3964 * test/test-simple.c:
3965 (global_listener_cb):
3966 Call Accessible_ref() on the event source before calling
3967 validate_accessible, since the validation process does pointer
3968 comparisons on the event source, meaning that the event source
3969 needs to be added to the local object cache first. Any use of
3970 such pointer comparisons between Accessible objects requires that
3971 the caller hold an explicit reference to those objects.
3972 We also must therefore call Accessible_unref() when leaving this method.
3974 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3976 * registryd/deviceeventcontroller.c:
3977 (spi_controller_update_key_grabs):
3978 Fix for #84735, subsequent keygrab listeners not informed of
3979 registration failure.
3982 (spi_base_construct):
3983 Add an assertion on construct, to make sure the GObject passed in
3984 is really a GObject.
3986 Explicitly initialize object->gobj pointer to NULL;
3988 * cspi/bonobo/cspi-bonobo-listener.c:
3989 (cspi_object_add_ref):
3990 New method, can specify whether to dup-ref a bonobo object passed
3991 in if it's newly added to the object cache.
3993 Now calls cspi_object_add_ref with second param of "FALSE". This
3994 prevents us from doing a pointless dup-ref followed by
3995 release-unref for all those cases where the object is already in
3996 our object cache (fix for #85205).
3998 * atk-bridge/bridge.c:
3999 (spi_atk_bridge_idle_init):
4000 Removed this method, we don't need to initialize in an idle
4003 Changed to call spi_atk_register_event_listeners directly, not via an
4004 idle handler. (fix for #81139)
4005 (gnome_accessibility_module_shutdown):
4006 Removed conditional around deregistration of listeners, since we
4007 don't use the idle handler and thus have always registered when
4009 (spi_init_keystroke_from_atk_key_event):
4010 Changed references to Accessibility_KEY_PRESSED to
4011 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4013 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4015 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4020 * test/stress-test.c:
4023 (may have been an incomplete commit yesterday?)
4025 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4028 Added target for new stress-test.
4030 * test/stress-test.c:
4031 New test, sends 1000 focus notifies in quick succession.
4033 * test/key-listener-test.c:
4034 Now we report whether a keylistener registration
4035 request succeeded or failed.
4037 * test/event-listener-test.c:
4038 Uncommented some listeners which are now implemented.
4041 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4043 * registryd/deviceeventcontroller.c:
4044 (spi_controller_update_key_grabs):
4045 Fix for #82509, lack of failure notification when
4046 ALL_WINDOWS keygrabs fail due to XGrabKey
4047 failure: we synchronize the server when
4048 registering a passive grab, to make sure we get the
4049 error message before the call returns.
4051 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4053 * test/test-simple.c:
4055 Removed #ifdef KEY_IMPL_WORKS guards.
4056 (test_keylisteners):
4057 Removed #ifdef KEY_IMPL_WORKS guards.
4058 Fixed bug which was causing a hang waiting for a
4059 "press" event (which was already overwritten by a "release"
4060 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4062 Added code to set globals 'key_press_received' and
4063 'key_release_received'.
4066 Added section "1.1 API Proposed Additions" which
4067 lists API additions desired for at-spi-1.1 (only one so far).
4068 Updated TODO list a little.
4070 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4072 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4075 * configure.in: Revved to 1.0.0.
4077 * idl/Accessibility_Registry.idl:
4078 (registerKeystrokeListener):
4079 Added boolean return value.
4081 * registryd/registry.c:
4082 (notify_listeners_cb): Minor fix to debug output.
4084 * registryd/Accessibility_Registry.server.in.in:
4085 Revved version number in OAFIID to 1.0.
4087 * registryd/registryd.c:
4089 Use new OAFIID version.
4091 * cspi/bonobo/cspi-bonobo.c:
4093 Use new OAFIID version.
4099 * atk-bridge/bridge.c:
4101 Use new OAFIID version.
4103 * registryd/deviceeventcontroller.c:
4104 (impl_register_keystroke_listener):
4105 Added CORBA_boolean return value.
4106 (spi_controller_register_device_listener):
4107 Added gboolean return value.
4108 (spi_controller_register_global_keygrabs):
4109 Added gboolean return value.
4110 (spi_key_set_contains_key):
4111 Added implementation for many more control keys,
4112 for instance F1-F12, arrow keys, End, Home, Page_Up,
4114 [TODO: some still not implemented].
4116 * text/screen-review-test.c:
4117 (text_chunk_pad_string):
4118 New function: it provides mapping between coordinate
4119 positions of text chunks and character positions in the
4120 screen-review-line output string.
4121 (text_chunk_to_string):
4122 New function, calls text_chunk_pad_string with various
4123 pad/delimiter characters. Pushbuttons are delimited with
4124 square brackets, Frames with vertical 'pipe' lines, and
4125 other text with double quotes.
4126 (text_chunk_list_to_string):
4127 Calls new function text_chunk_to_string.
4128 (toplevel_composite):
4129 New function to composite layers CANVAS through
4130 POPUP in each toplevel (other layers are composited
4131 across toplevels, i.e. BACKGROUND and OVERLAY).
4132 (review_buffer_composite):
4133 Revise to use new methods.
4139 2002-05-31 Laszlo Peter <laca@sun.com>
4141 * configure.in: add the Xtst libdir to the runpath on Solaris,
4142 since it's not in the default library search path.
4144 2002-05-29 jacob berkman <jacob@ximian.com>
4146 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4148 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4150 * test/screen-review-test.c:
4151 (text_chunk_pad_string):
4152 Added method, which pads the string according to the
4153 text bounds of the chunk. It also takes a 3-character
4154 string as a param which indicates the characters to be
4155 used for start, padding, and end delimitation of the chunk.
4156 (text_chunk_to_string):
4157 Changed to use text_chunk_pad_string.
4159 * configure.in: Fixed bug in AC_OUTPUT that was
4160 causing path substitution in Accessibility_Registry.server
4163 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4165 * text/screen-review-test.c:
4166 (guess_string_clip):
4167 New method which attempts a best-guess at clipping
4168 text from components (like Java labels) which don't
4169 actually implement AccessibleText. This inaccurate
4170 clip is based on the assumption that the label is
4171 justified left-and-right, and monospaced.
4172 (text_chunk_get_clipped_string):
4173 We now call guess_string_clip() for text-containing
4174 components that don't implement AccessibleText.
4176 * test/screen-review-test.c:
4177 (review_buffer_get_text_chunk):
4178 We now pull "name" from labels if they do not implement
4179 AccessibleText (i.e. for Java labels).
4180 (get_screen_review_line_at):
4181 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4184 Replaceded AC_OUTPUT target
4185 registryd/Accessibility_Registry.server with
4186 registryd/Accessibility_Registry.server.in.
4188 * registryd/Accessibility_Registry.server.in:
4189 Removed (this is now a Makefile target).
4191 * registryd/Accessibility_Registry.server.in.in:
4192 Added (source for target above). We now use $(libexecdir) as
4193 prefix for the executable at-spi-registryd.
4195 * registry/Makefile.am:
4196 Now install at-spi-registryd into $(libexecdir), and build .server
4197 file with path (see above).
4199 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4201 * test/screen-review-test.c:
4202 (text_chunk_get_clipped_string):
4203 We now check to see if words fall within clip bounds
4204 before resorting to character-by-character clip bounds testing.
4206 * TODO: Added a section for "2.2 Proposed API Additions".
4208 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4210 * test/screen-review-test.c:
4212 Added a screen review benchmarking and test program to test
4215 * cspi/spi_accessible.c:
4217 Made some of the debug strings passed to cspi_check_ev a
4218 little more specific.
4220 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4222 * test/screen-review-test.c: Fix crashes in debug statements
4224 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4226 * test/screen-review-test.c: Added this file.
4228 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4230 * atk-bridge/bridge.c: changed "object:state-change" to
4231 "object:state-changed" to match docs.
4233 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4235 * atk-bridge/bridge.c: Hooked up state-change event details.
4237 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4239 * registryd/registry.c:
4240 Fixed quarking bug in event string parsing; now events with
4241 detail parameters get matched correctly to listeners.
4244 * util/idl/Magnifier.idl: remove.
4246 * util/*.[ch]: Remove.
4247 Magnification utilities and IDL are now in module gnome-mag.
4249 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4251 * registryd/deviceeventcontroller.c:
4252 Fixed bug in grab key conversion which was causing keycode grabs
4253 to be converted to AnyKey grabs.
4256 updated NEWS file to reflect recent spin-off of gnome-mag.
4258 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4260 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4261 busted AccessibleStateSet_compare. Removed redundant casts.
4263 * cspi/spi-action.c: Removed redundant casts.
4265 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4267 * cspi/spi_component.c: Fixed typos and casting error.
4269 * cspi/spi_editabletext.c: Removed redundant casts.
4271 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4273 * cspi/spi_hypertext.c: Eliminated redundant casts.
4275 * cspi/spi_image.c: Eliminated redundant casts.
4277 * cspi/spi_registry.c: Eliminated redundant casts.
4278 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4279 * cspi/spi_selection.c: Removed redundant casts.
4280 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4281 handling. Screen geometry and text offsets were being returned as 0
4282 on error which is technically valid-- changed these to return -1.
4283 Added marshaller for text boundary types to fix bug with boundary
4284 types being passed incorrectly to atk.
4286 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4289 * cspi/spi_registry.c:
4290 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4291 which was uncovered by the recent key changes.
4293 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4295 * test/event-listener-test.c:
4297 Added new test, "event-listener-test";
4298 this code does two things; it benchmarks traversal time
4299 for the accessible hierarchy for the first running accessible
4300 app, and it connects listeners for all supported event types.
4301 It is thus useful as an example event listener and for
4302 diagnostics/debugging of event generation.
4304 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4307 Removed unnecessary dependency on libutil.
4310 Revved micro version: 0.13.1
4312 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4315 Removed util/Makefile from targets.
4318 Removed util subdir from SUBDIRS (temporarily,
4319 pending removal of magnifier-only code
4323 #ifdef-ed out magnifier dependencies, since
4324 magnifier IDL, headers, and binary now live in
4325 module gnome-mag and we don't want at-spi to depend
4326 on gnome-mag. A magnifier demo which can run alongside
4327 simple-at is forthcoming in the gnome-mag module.
4329 NOTE: Split magnifier binary, IDL, and magnification
4330 activation code from at-spi into module gnome-mag.
4332 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4334 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4335 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4337 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4340 Revved to version 0.13.0
4342 * idl/Accessibility_Registry.idl:
4343 Changed definition of KeySet from sequence of longs to sequence of
4344 KeyDefinitions, and added KeyDefinition struct.
4345 Required for fix to bug 80616.
4347 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4348 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4349 to use new definition (see above).
4351 * registryd/deviceeventcontroller.c: handle_keygrab(),
4352 spi_keyset_contains_key():
4353 Changed to make use of new struct; this allows matching based on
4354 string key-name, for instance "Tab". This also allows matching of
4355 composed characters, non-alphanumeric characters in a way that
4356 doesn't involve dependencies on X keysym codes directly, etc.
4358 * test/key-listener-test.c:
4359 Added test for Alt-Tab key using "string" specification of keyset,
4360 and modified one of the tests to use a keycode-based keyset.
4361 Thus this test both tests and demonstrates the creation and use of
4362 keysets of three forms: specified via keycode array,
4363 keysym array, and string array. (The string case only contains a
4364 single string, i.e. a string array of length 1).
4367 Turned on PRINT_TREE option by default. Also fixed a
4368 string-freeing bug in the PRINT_TREE code.
4369 Added a listener to window:minimize events.
4371 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4373 * atk-bridge/bridge.c:
4374 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4375 for window:activate and window:deactiveate
4376 (atk_bridge_property_event_listener atk_bridge_signal_listener
4377 atk_bridge_window_event_listener) Tidy debug code
4379 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4381 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4382 Fixed handling for NULL return value from ATK.
4384 * libspi/action.c libspi/component.c libspi/editabletext.
4385 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4386 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4387 Removed redundant casts.
4389 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4390 Fixed off by one bug.
4392 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4393 function not present in idl)
4395 2002-05-02 jacob berkman <jacob@ximian.com>
4397 * atk-bridge/Makefile.am: make atk-bridge a real module
4399 2002-04-26 Radek Doulik <rodo@ximian.com>
4401 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4402 atk_state_types table
4404 2002-04-22 jacob berkman <jacob@ximian.com>
4407 * libspi/Makefile.am: add deps on the built files to help
4408 automake, and don't version the ORBit typelib
4410 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4412 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4413 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4414 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4415 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4416 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4417 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4418 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4419 libspi/accessible.h libspi/accessible.h libspi/base.h
4420 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4421 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4422 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4423 libspi/spi-private.h libspi/statetset.h libspi/table.h
4424 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4425 util/mag_client.h util/mag_control.c util/mag_image.c
4426 util/mag_image.h util/magnifier.c util/magnifier.h:
4427 Add missing file headers; standardize existing ones
4429 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4431 * atk-bridge/bridge.c: Added window event support.
4433 2002-04-18 Michael Meeks <michael@ximian.com>
4435 * libspi/relation.c (impl_getNTargets): impl.
4436 (impl_getTarget): impl.
4438 * libspi/Makefile.am: fix stateset install.
4440 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4443 Started putting useful info in this file.
4445 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4447 * atk-bridge/bridge.c:
4448 Propagate state-changed notifications to ATs
4450 * cspi/spi_registry.c: update docs to reflect actual behavior of
4451 state-change events.
4453 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4456 Incremented version to 0.12.1
4458 * util/mag_client.h:
4459 Add missing declaration for magnifier_exit,
4460 used by mag_control.c - Forte compiler didn't like
4461 the implicit redeclaration of the function :-(
4464 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4467 Revved version to 0.12 due to API change (see below).
4469 * cspi/spi-roletypes.h:
4470 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4471 definition from the inline docs, and added docs
4472 for SPI_ROLE_LAST_DEFINED.
4475 * cspi/spi_streamablecontent.c:
4476 Added missing seek_type parameter to
4477 (so far unused) method,
4478 AccessibleStreamableContent_seek().
4479 [ RT approval JodyG. ]
4482 Fixed docs for SPI_createAccessibleKeystrokeListener.
4484 * cspi/spi_registry.c:
4485 Fixed docs for SPI_KEYSET_ALL_KEYS.
4487 * docs/reference/cspi/at-spi-cspi-sections.txt:
4488 Added a number of missing APIs to SECTIONS.
4490 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4492 * registryd/Makefile.am:
4494 * cspi/bonobo/Makefile.am:
4495 Add $(X_LIBS) to makefiles.
4497 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4500 Revved version to 0.11.
4502 * libspi/component.c:
4503 Added implementation for grabFocus.
4505 * idl/Accessibility_Component.idl
4506 (Accessibility_Component_grabFocus):
4507 Made this method return boolean to indicate success or failure, to
4508 be consistent with cspi and the corresponding ATK method.
4510 * idl/Accessibility_Selection.idl
4511 (Accessibility_Selection_selectAll) :
4512 Made these methods return boolean to indicate success or
4513 failure, to be consistent with cspi and the corresponding ATK methods.
4515 * idl/Accessibility_EditableText.idl
4516 (Accessibility_EditableText_setTextContents,
4517 Accessibility_EditableText_insertText,
4518 Accessibility_EditableText_cutText,
4519 Accessibility_EditableText_deleteText,
4520 Accessibility_EditableText_pasteText):
4521 Made these methods return boolean to indicate
4524 * cspi/spi_editabletext.c:
4525 Made these methods return booleans.
4527 * libspi/selection.c:
4528 * libspi/component.c:
4529 * libspi/editabletext.c:
4530 Connected the boolean returns from ATK
4531 to the server-side code referenced above.
4533 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4535 * idl/Accessibility_Table.idl: Added missing methods,
4536 Accessibility_Table_addRowSelection,
4537 Accessibility_Table_addColumnSelection,
4538 Accessibility_Table_removeRowSelection,
4539 Accessibility_Table_removeColumnSelection.
4542 Added C wrappers for above IDL:
4543 AccessibleTable_addRowSelection,
4544 AccessibleTable_addColumnSelection,
4545 AccessibleTable_removeRowSelection,
4546 AccessibleTable_removeColumnSelection.
4549 Added server-side implementation code for IDL above, connecting
4550 to pre-existing ATK api.
4552 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4554 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4556 * libspi/accessible.c: Added implementation fo
4557 Accessibility_Accessible_get_state.
4559 * libspi/libspi.h: Added stateset.h to the list of includes.
4561 * libspi/stateset.c: Fixed broken implementation.
4563 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4566 Added implementation code for Accessibility_Magnifier_exit ().
4568 * util/mag_control.c:
4569 Added test code for above method; you can
4570 now kill an existing magnifier via
4571 ./mag_control q, from the util directory.
4573 * test/key-listener-test.c:
4575 Added a new test, for our key listener API.
4577 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4579 * test/app.c, test/keysynth-demo.c:
4581 Replace use of snprintf with g_snprintf.
4582 (fix for bugzilla 78249)
4584 2002-03-27 Michael Meeks <michael@ximian.com>
4588 * util/Makefile.am (INCLUDES): fix.
4589 (DONT_DIST_SOURCE): don't distribute the
4592 * libspi/Makefile.am (dist-hook): ditto.
4594 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4596 * libspi/hypertext.c:
4597 Fix warnings when yelp is used with atk-bridge
4599 2002-03-21 Michael Meeks <michael@ximian.com>
4601 * libspi/application.c (spi_application_new):
4602 use spi_accessible_construct so we use the AtkObject
4605 2002-03-19 Michael Meeks <michael@ximian.com>
4607 * registryd/registry.c (desktop_remove_application),
4608 (desktop_add_application): clean coding style.
4610 * registryd/desktop.c (spi_desktop_remove_application),
4611 (spi_desktop_add_application): kill re-enterency hazards.
4612 (spi_desktop_dispose): remove bogus redundant cast
4613 obscuring bug; fix bug too.
4614 (spi_desktop_init): make the desktop object immortal.
4616 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4619 Added a #define-guarded tree-traversal step
4620 when enumerating the apps (diagnostic tool).
4622 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4624 * idl/Accessibility_Role.idl:
4625 Added ROLE_DRAWING_AREA which seemed to be missing from the
4628 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4630 * cspi/spi-roletypes.h cspi/spi_accessible.c
4631 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4634 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4635 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4636 AT when applications are added and removed from the desktop. This
4637 reverts the previous broken implementation using the backing
4638 AtkObject for the SpiDesktop.
4640 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4642 * registryd/desktop.c: emit the "children-changed::add" and
4643 "children-changed::remove" signals on the backing ATK object for
4644 the desktop so AT can tell when applications are started and shut
4647 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4649 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4651 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4653 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4655 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4657 * cspi/state-types.h: synched with IDL and ATK
4659 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4661 * libspi/accessible.c
4662 (impl_accessibility_accessible_get_child_at_index):
4663 Change return value for g_return_if_fail ()
4664 to CORBA_OBJECT_NIL instead of "0" (!)
4666 * registryd/Makefile.am:
4667 * registryd/Accessibility_Register.server.in:
4668 Changed name of executable, "registryd",
4669 to something more informative:
4672 2002-03-13 Michael Meeks <michael@ximian.com>
4674 * atk-bridge/bridge.c (atk_bridge_init): don't register
4675 if we're in a bonobo-component, rather than a bonobo app.
4677 2002-03-13 Michael Meeks <michael@ximian.com>
4679 * atk-bridge/bridge.c (gtk_module_init): split
4680 out body to (atk_bridge_init): here, since otherwise
4681 we get symbol conflicts and oddness when invoked
4682 from (gnome_accessibility_module_init): here (upd.)
4684 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4687 New file. Explicitly allow "build sheriff" putbacks provided
4688 they are tested on Solaris.
4690 * docs/reference/cspi/Makefile.am:
4691 Added '-' to the "cp" command for index.sgml.
4692 ("patch by thomasvs, soon coming to a GUADEC near you")
4695 Incremented version number (0.9.0) for new release.
4696 Changed macro that checks for popt, to better detect
4697 obsolete versions of popt.
4700 Added X_LIBS to AC_SUBST, for applications
4701 that call Xlib API directly.
4704 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4707 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4710 Fix regression caused by hard-coding major
4711 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4714 * test/test-simple.c (test_editable_text),
4715 (test_test): revert previous change (error was
4716 a regression in gail which is now fixed).
4718 2002-03-04 Michael Meeks <michael@ximian.com>
4720 * test/test-simple.c (test_editable_text),
4721 (test_text): pass G_MAXINT instead of '-1' for
4722 whole string - is this a good thing !?
4724 * cspi/spi_accessible.c
4725 (Accessible_getRelationSet): fix crasher bug
4726 overwriting the end of the array.
4728 * test/test-simple.c (validate_accessible): free,
4729 not g_free returned relation set.
4731 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4733 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4734 implemented stateset support
4736 * idl/Accessibility_State.idl: Made necessary changes to
4737 the IDL to support state sets.
4739 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4741 * registryd/deviceeventcontroller.c:
4742 Added implementation for generateMouseEvent.
4744 * cspi/spi_registry.c:
4745 Connected new implementation for generateMouseEvent
4748 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4751 Incremented revision (but no change in public API
4752 outside of 'utils', which are not installed public yet.)
4754 * libspi/component.c:
4755 Changed to use atk_component API for layers and
4756 mdi_zorder, instead of deprecated atk_object API.
4758 Magnification Utility Enhancements:
4761 Added implementation of createZoomRegion, clearAllZoomRegions,
4762 resizeZoomRegion. Added new commandline argument
4763 "--no-initial-region". Note that clearAllZoomRegions doesn't
4764 unmap the old '0' region as it should (yet), and the other
4765 methods only work when creating/resizing a single region,
4766 which is "region 0".
4767 (Code for multiple region support will be added later.)
4770 Now we raise the magnifier window each time it's refreshed;
4771 this will help keep it on top.
4773 * util/mag_client.h:
4774 Added simple wrappers for above, used by mag_control.
4775 For general use, it's recommended to use the bonobo magnifier
4776 control API directly instead of using these wrappers.
4779 Moved ZoomRegionData from magnifier.c to this file.
4781 * util/mag_control.c:
4782 Added some code to exercise new IDL implementations.
4784 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4786 * libspi/text.c: Provide implementation for getAttributes.
4788 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4791 Incremented revision.
4793 * test/test-simple.c:
4794 Replaced use of deprecated g_main_iteration with
4795 g_main_context_iteration.
4797 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4800 Incremented revision for desktop alpha 2.
4802 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4804 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4807 * test/simple-at.c: include netinet/in.h.
4809 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4811 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4812 use NULL, not CORBA_OBJECT_NIL.
4814 * libspi/accessible.c:
4815 (impl_accessibility_accessible_get_relation_set):
4816 allocate the sequence correctly.
4818 * libspi/remoteobject.h: kill spi_remote_object_new.
4820 * test/test-simple.c: (validate_accessible): add code
4821 to test relation sets, now all we need is to figure
4822 out how to excercise this code path :/
4824 2002-01-18 Michael Meeks <michael@ximian.com>
4826 * test/test-simple.c
4827 (key_listener_cb): consume the key.
4828 (test_keylisteners): update.
4829 (main): wait for any pending unrefs on events.
4831 * registryd/deviceeventcontroller.c
4832 (spi_controller_update_key_grabs): only re-issue the
4833 grab on a key release.
4834 (spi_device_event_controller_forward_key_event):
4835 refresh the keygrabs before we notify the listeners,
4836 to reduce the X ungrab / re-grab race.
4837 (spi_controller_register_with_devices): remove
4838 XSelectInput - we do that with the gdk_window_ call.
4839 (_spi_controller_device_error_handler): return a value.
4840 s/GDK_DISPLAY/spi_get_display/
4842 2002-01-17 Michael Meeks <michael@ximian.com>
4844 * registryd/deviceeventcontroller.c
4845 (_deregister_keygrab): don't blow out the later
4848 * test/test-simple.c (test_keylisteners): do a
4849 more intelligent validation.
4851 2002-01-14 Michael Meeks <michael@ximian.com>
4853 * atk-bridge/bridge.c
4854 (gnome_accessibility_module_init),
4855 (gnome_accessibility_module_shutdown): impl.
4856 (gtk_module_init): protect vs. double inits.
4857 (add_signal_listener): impl.
4858 (spi_atk_bridge_state_event_listener): kill
4859 (deregister_application): split out of
4860 (spi_atk_bridge_exit_func): here.
4862 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4865 Added caret tracking when using magnifier, and
4866 now use text bounds for focus tracking of text elements, rather than
4867 the component bounds - this is helpful for short text fields in long
4868 table cells, at high magnification.
4870 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4872 * registryd/deviceeventcontroller.c:
4873 Regression fix for keylistener de-registration; global keygrabs
4874 were not being released when deregisterKeystrokeListener was
4875 called in cspi, since
4876 Accessibility_DeviceEventController_deregisterKeystrokeListener
4877 was called with a zero-length keyset. That is because the cspi
4878 method, SPI_deregisterKeystrokeListener, does not take a keyset
4879 parameter but instead should remove all the key grabs held be a
4881 The code in impl_deregister_keystroke_listener was changed to copy
4882 the keylist from the listener instance previously registered with
4883 the DeviceEventController before releasing the grabs.
4885 * registryd/registry.c:
4886 * registryd/deviceeventcontroller.c:
4887 * libspi/spi-private.h:
4889 Changed spelling of "re-enterant" to "re-entrant" globally.
4891 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4893 * test/test-simple.c:
4894 Changed key listeners test - the test was slightly mis-using the
4895 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4896 It now uses '=' as the key event listened to and generated,
4897 relying on a keysym match rather than assuming that keycode 33
4898 is always equal to keysym '!'.
4900 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4903 Changed simple-at to use a specific keyset, rather than
4904 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4905 manager, desktop, etc.
4907 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4909 * registryd/deviceeventcontroller.c:
4910 Replaced standard X error handler with a special handler that
4911 is non-fatal for failed keygrabs. This works around
4912 problems with keygrab clashes sometimes observed on
4914 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4915 mouse handling code as yet).
4917 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4920 Incremented revision for desktop alpha release.
4923 Fixed a couple of the more glaring errors (still not
4926 2002-01-11 Michael Meeks <michael@ximian.com>
4928 * registryd/deviceeventcontroller.c
4929 (spi_device_event_controller_forward_key_event): kill
4930 XUngrabKey / XKeyGrab race.
4931 (spi_controller_grab_keyboard): rename to
4932 (spi_controller_update_key_grabs): this, and deal
4933 with incremental adding / removing grabs more
4935 (_register_keygrab): ensure we're not pending a remove.
4936 (spi_grab_mask_free): impl.
4937 (spi_controller_register_global_keygrabs): split out
4939 (handle_keygrab): impl.
4940 (_deregister_keygrab): impl.
4941 (spi_controller_deregister_global_keygrabs): impl.
4942 (spi_controller_update_key_grabs): re-issue the grab if
4943 we just recieved a notification.
4945 * test/test-simple.c (key_listener_cb): remove debug.
4947 * registryd/deviceeventcontroller.c
4948 (spi_controller_register_device_listener): after
4949 registering a global keygrab, actualy register it !
4950 don't wait for a timeout; doh !
4952 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4953 to make it more readable / manipulable.
4954 s/grabmask/grab_mask/ s/refcount/ref_count/
4955 s/keyval/key_val/ s/modmask/mod_mask
4957 2002-01-08 Michael Meeks <michael@ximian.com>
4959 * registryd/deviceeventcontroller.c
4960 (spi_controller_register_with_devices): use gdk calls to
4962 (global_filter_fn): implement the filter.
4963 (spi_device_event_controller_check_key_event): rename to
4964 (spi_device_event_controller_forward_key_event): this & upd.
4965 (spi_get_display): replace with GDK_DISPLAY.
4967 * registryd/deviceeventcontroller.c
4968 (spi_controller_deregister_device_listener): unroll into
4969 (impl_deregister_keystroke_listener): here to simplify.
4970 (spi_controller_register_global_keygrabs): split cut and
4971 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4972 (spi_controller_deregister_device_listener): remove.
4973 (impl_register_mouse_listener): remove, no mouse listener
4974 support in at-spi-1.0
4976 * registryd/registry.c
4977 (_device_event_controller_hook): kill.
4978 (spi_registry_init): upd.
4980 * registryd/deviceeventcontroller.c
4981 (spi_device_event_controller_class_init): upd.
4982 (spi_check_key_event): merge into.
4983 (spi_device_event_controller_check_key_event):
4984 here and kill strange static ev init, don't leak
4985 the x_event - nor dynamicaly allocate it.
4987 * registryd/registry-main.c (main): re-direct
4988 timeout to remove strange vtable mess.
4990 * registryd/deviceeventcontroller.c
4991 (remove_listener_cb): impl.
4992 (spi_controller_deregister_device_listener):
4993 fix re-enterancy hazard.
4995 2002-01-07 Michael Meeks <michael@ximian.com>
4997 * registryd/deviceeventcontroller.c
4998 (spi_device_event_controller_new): upd.
4999 (impl_notify_listeners_sync): upd. debug.
5000 (spi_notify_keylisteners): fix re-enterancy hazards,
5001 prettify, remove O(n*n) iteration.
5002 (spi_controller_grab_keyboard): fix iteration.
5003 (spi_check_key_event): re-format to suit coding style.
5004 Clean all the warnings - we're warning free.
5006 * registryd/deviceeventcontroller.h:
5007 * registryd/registry.h: make mutualy referential with
5008 typesafe forward references instead of (!) void pointer
5011 2002-01-11 Michael Meeks <michael@ximian.com>
5013 * cspi/spi_accessible.c (role_names): add a role name
5014 to sync this array with the enum; and make the regression
5017 2002-01-10 Michael Meeks <michael@ximian.com>
5019 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5020 allow expansion of enumeration & kill warning.
5022 * test/test-simple.c (key_listener_cb): impl.
5023 (test_keylisteners): impl.
5025 * cspi/spi-listener.h: make listener signatures const
5026 on the provided (const) events.
5028 * test/keysynth-demo.c: upd. to const events.
5030 * test/simple-at.c: ditto.
5032 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5035 Rev the version to 0.5 (the previous tarball was named 0.4,
5036 even though the micro number was 3), so we need to rev upwards
5037 again for beta2/"desktop-alpha"
5040 Checked in a demo script, which requires editing before use!
5041 Proceed with caution.
5044 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5046 * cspi/spi_accessible.c:
5047 Add a couple of missing enum initializations, and fix some enum
5050 * cspi/spi_registry.c:
5051 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5053 * docs/reference/cspi/at-spi-cspi-sections.txt:
5054 Remove/fix a couple of broken document references.
5057 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5058 as Alt-Control to listen for commands, since on some systems
5059 Control-Alt may already be grabbed.
5061 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5064 Update version number to 0.4 for Beta2.
5066 * libspi/accessible.c, libspi/accessible.h:
5067 Expose spi_accessible_construct, to enable libgail-gnome
5068 construction from spi_accessible subtype.
5070 * utils/magnifier.c:
5071 Workaround for bug in some non-gnome-compliant window managers
5072 which made magnifier resize improperly.
5074 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5076 * libspi/accessible.c: (spi_accessible_new) :
5077 Move the test for SPI_IS_REMOTE_OBJECT to
5078 spi_accessible_new_return, fixing a bug and compile time warning.
5080 2002-01-08 Michael Meeks <michael@ximian.com>
5082 * registryd/registry.c (parse_event_type): remove strndup.
5084 * libspi/Makefile.am (libspi_la_SOURCES): remove
5085 sources already included in the headers section.
5087 * libspi/util.c: add.
5089 * libspi/spi-private.h: add.
5091 * registryd/registry.c: update to moved list iterators.
5093 2002-01-05 Michael Meeks <michael@ximian.com>
5095 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5097 * test/test-simple.c (main): ditto.
5099 2002-01-04 Michael Meeks <michael@ximian.com>
5101 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5102 redundant construct.
5104 * registryd/registry.c
5105 (get_listener_list): impl.
5106 (impl_accessibility_registry_register_global_event_listener):
5107 re-impl. to simplify using ~, remove dodgy const cast off.
5108 (parse_event_type): constify.
5109 (impl_accessibility_registry_deregister_global_event_listener_all):
5110 re-write, more efficiency and simplicity, kill re-enterancy
5112 (compare_listener_corbaref, compare_corba_objects),
5113 (compare_listener_quarks): define out.
5114 (impl_accessibility_registry_deregister_global_event_listener):
5115 re-write for effiency, and nail re-enterancy hazard.
5116 (impl_accessibility_registry_get_desktop_list): impl.
5117 (re_enterant_list_delete_link): impl.
5118 (re_enterant_list_foreach): impl.
5119 (remove_listener_cb): impl.
5120 (_registry_notify_listeners): kill.
5121 (notify_listeners_cb): impl.
5123 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5124 (SPI_getDesktopList): impl.
5126 * test/test-simple.c (test_desktop): test the methods.
5128 2002-01-03 Michael Meeks <michael@ximian.com>
5130 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5131 keystrings since we free them
5132 (SPI_freeAccessibleKeySet): in here.
5134 * libspi/accessible.c (spi_accessible_new): kill warning,
5135 wonder what is going on with the constructor here.
5137 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5139 * libspi/accessible.c (spi_accessible_new ()) :
5140 Added check to see if AtkObject is an SpiRemoteObject before
5141 creating an SpiAccessible.
5143 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5145 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5146 Enable keygrabs using the Control modifier, now that they are
5147 working properly (they were previously disabled).
5150 Change the command keygrab for this demo to "Control+Alt", so as
5151 to conflict with fewer other key commands on the system; this
5152 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5154 Removed a pointlessly-chatty keylistener for unshifted keys
5155 (shifted keys are still reported).
5157 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5159 * libspi/remoteobject.h:
5160 * libspi/remoteobject.c:
5161 Added definitions for special AtkObject subtype, required for
5162 support of remote components (specifically, used by BonoboControl
5163 accessibility implementation).
5165 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5167 * cspi/spi.h: synched relation types with ATK
5169 * cspi/spi_accessible.c: Added implementations of
5170 AcccessibleRelation_* methods
5172 * idl/Accessibility_Relation.idl: added getRelationTypeName
5173 method. Synched known relation types with ATK. Allowed for
5174 relation type extension with the RELATION_EXTENDED type.
5176 * libspi/relation.c: Provided implementations for
5177 AccessibleRelation methods.
5179 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5181 API tweaks for today's API 'freeze'.
5184 Added placeholder functions to allow future compatible expansion
5185 of the IDL interfaces.
5187 * idl/Accessibility_Registry.idl:
5188 Changed generateKeyEvent to generateKeyboardEvent. Changed
5189 signature of this method to accept an optional keystring in
5190 parameter (for complex text input synthesis) and changed use of
5191 simple 'boolean' parameter in registerKeystrokeListener to a
5192 struct, EventListenerMode.
5194 * cspi/spi_accessible.c:
5196 * cspi/spi_streamablecontent.c:
5197 Added references to AccessibleStreamableContent interface, and
5198 definition and implementation of AccessibleStreamableContent
5201 * cspi/spi_registry.c:
5203 Changed generateKeyEvent API to generateKeyboardEvent,
5204 taking a new (optional) keystring parameter to support complex
5209 Renamed directory (to better reflect its actual purpose, bridging
5210 from at-spi to ATK). The .so module is also now named
5213 * idl/Accessibility_Hypertext.idl:
5214 * libspi/accessible.c:
5215 * libspi/hypertext.h:
5216 * libspi/hypertext.c:
5217 Changed Accessibility_Hypertext to *not* derive from
5220 * cspi/spi_registry.c:
5221 Added list of legal event type names for 'window' events, which
5222 completes the registry event API.
5224 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5226 * at-bridge/bridge.c: Added registration for separate
5227 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5228 signals. If either of the first two parameters to the generic
5229 bridge signal handler are ints, they are passed on as event
5230 details. This allows an AT to determine what text was inserted.
5232 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5234 * registryd/deviceeventcontroller.c:
5235 Fixed regressions in generateKeyEvent caused by the removal of
5236 gdk_init from registryd; we now use pure X calls to connect to the
5237 display, which makes sense because deviceeventcontroller already
5238 uses a fair bit of X API (should eventually be migrated to a
5239 'portability layer').
5241 * registryd/desktop.c:
5242 Fixed minor regression in spi_desktop_init, changed the way the
5243 desktop name is being set to work with new spi_base API
5244 (gobject-based, rather than AtkObject-based).
5246 * registryd/Makefile.am:
5247 Minor revision of makefile to use XTST_LIBS variable rather than
5248 hard-wiring the Xtst LD_ADD element.
5250 * test/keysynth-demo.c:
5251 Tweaked an output message; added initialization of the
5252 'keystrings' member of the "switch listener" key_set.
5254 * libspi/relation.c:
5255 Squashed compile-time warning.
5257 * libspi/accessible.c:
5258 Cosmetic and formatting fixes, renamed a static method.
5260 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5262 * libspi/accessible.c
5264 * libspi/application.c
5267 * libspi/component.c
5268 * libspi/editabletext.c
5269 * libspi/hyperlink.c
5270 * libspi/hypertext.c
5272 * libspi/selection.c
5276 * registryd/desktop.c:
5277 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5279 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5281 * idl/Accessibility_Registry.idl:
5282 Added boolean member 'is_text' to DeviceEvent. This is for the
5283 use of key events, and helps prevent ambiguity between composed
5284 key strings and keysym names, since both may potentially be
5285 returned in the 'event_string' member.
5287 * at-bridge/bridge.c:
5288 * registryd/deviceeventcontroller.c:
5289 Use the 'is_text' member when notifying device event listeners.
5290 Knon issue: composed characters are not dealt with correctly by
5291 the global key listener implementation yet.
5293 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5295 * at-bridge/bridge.c:
5296 Namespaced local static methods to spi_atk_bridge_* where
5297 previously named bridge_*, and spi_* elsewhere.
5299 * at-bridge/bridge.c:
5300 * cspi/bonobo/cspi-bonobo-listener.c:
5301 Added demarshalling/conversion for string member of
5302 Accessibility_DeviceEvent to AccessibleKeystroke.
5304 * registryd/deviceeventcontroller.c:
5305 Added code to fill the Accessibility_DeviceEvent key string value
5306 member for global key events (i.e. from XGrabKey), to match
5307 behavior of Accessibility_DeviceEvent from the toolkit key events
5308 from the bridge. Fixed timestamp in global key event notifications.
5311 Added printout of key event's string value to
5312 report_ordinary_key_event, for demo/debugging purposes.
5314 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5316 * idl/Accessibility_Registry.idl:
5317 Removed Accessibility_KeyStroke structure in favor of generic
5318 Accessibility_DeviceEvent structure.
5319 Changed Accessibility_ControllerEventMask from a struct to an
5322 * at-bridge/bridge.c:
5323 Changed APIs to use DeviceEvent structure as above, and removed
5324 bogus casting between these event structures.
5326 * cspi/spi-listener.h:
5327 Added keystring member of AccessibleKeystroke structure, to enable
5328 matching on event "names" rather than only hardware codes and
5332 Added keystrings member of AccessibleKeySet struct, to allow
5333 matching on event names (as above).
5334 Added declarations for SPI_createAccessibleKeySet and
5335 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5336 event modmasks directly as unsigned ints rather than structs with
5337 refcounts, in the DeviceEventController methods.
5339 * cspi/spi_registry.c:
5340 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5342 * cspi/spi-roletypes.h:
5343 Added documentation of newly added SPI Roles.
5345 * cspi/bonobo/cspi-bonobo-listener.c:
5346 Changes in support of API changes above.
5348 * libspi/accessible.c:
5349 Converted APIs to use DeviceEvent structure (see IDL changes
5352 * registryd/deviceeventcontroller.c:
5353 Added DEControllerGrabMask structure to track keygrabs not only by
5354 modmask but by keyset as well; this allows us to do "global"
5355 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5356 grabbing on AnyKey and then filtering after-the-fact.
5357 Bugfixes for event filtration mean that we don't get false matches
5358 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5360 * registryd/deviceeventcontroller.c:
5361 Namespaced a number of static methods to use spi_ prefix. Major
5362 revision to internals of global (i.e. X) key grabs.
5364 * registryd/deviceeventcontroller.h:
5365 Removed keymask_list and added keygrabs_list to
5366 SpiDeviceEventController struct.
5369 Added use of SPI_createAccessibleKeySet API when creating a
5370 listener for only one key. Attach a listener to "shift spacebar
5371 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5372 X key event names to SPI key event names, so that listeners are
5373 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5375 * test/keysynth-demo.c:
5376 Changed (incorrect) use of X key event names (KeyPressed,
5377 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5380 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5382 * libspi/accessible.c:
5383 Convert all AtkRole enumerations to Accessibility_Role enums when
5384 getting a role from an AtkObject.
5386 * cspi/spi_accessible.c:
5387 Complete the conversion of Accessibility_Role enums at runtime to
5388 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5389 role enums correctly match those given in spi-roletypes.h.
5390 Re-synchronize the local names list for AccessibleRole_getName ().
5391 AccessibleRole_getName is now deprecated, since it duplicates the
5392 more reliable Accessible_getRoleName.
5393 Added some role types from Accessibility_Role.idl.
5395 * idl/Accessibility_Role.idl:
5396 Added some role types used by AtkRole.
5398 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5401 * cspi/spi_registry.c:
5403 * cspi/cspi-bonobo-listener.c:
5404 Namespaced all methods that did not begin with an "SPI_" or
5405 "Accessible" prefix to "SPI_".
5408 Homogenized internal function namespace to "cspi_" for statics.
5411 Patched tests to use the new CSPI API.
5413 * docs/reference/cspi/at-spi-cspi-sections.txt:
5414 Updated docs to reflect namespace changes, and added a number of
5415 methods to the documentation.
5417 * registryd/registry.c:
5418 Changed use of strings and string hashes in listener event
5419 matching and parse_event_string to use GQuark, which is guaranteed
5422 * registryd/registry.h:
5423 Squashed annoying warning.
5425 * idl/Accessibility_Role.idl:
5426 Extended range of available Accessibility_Role values.
5428 * cspi/spi_accessible.c:
5429 Re-ordered role names.
5431 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5433 * idl/Accessibility_Value.idl:
5434 Revert use of union back to CORBA_double, since the double type is
5435 more efficient and can contain the other types without loss of
5438 * idl/Accessibility_Accessible.idl:
5439 Added method Accessibility:Accessible:getRoleName, to complement
5440 Accessibility:Accessible:getRole.
5442 * cspi/spi_accessible.c:
5444 Added C binding for above, Accessible_getRoleName (), and changed
5445 signature of Accessible_getRole () to return an AccessibleRole.
5447 * cspi/spi-roletypes.h:
5448 Changed AccessibleRole_getName to return a char * instead of a
5449 const char *. This method is now at least temporarily deprecated
5450 in favor of asking Accessibles for their RoleNames directly.
5453 Revert to match Accessibility_Value.idl;
5457 Change signature of AccessibleValue methods to use double rather
5461 * cspi/spi_accessible.c:
5462 Changed Accessible_getRole to return an AccessibleRole enum rather
5463 than a UTF-8 string. The UTF-8 string can still be obtained via
5464 AccessibleRole_getName ().
5466 * test/test-simple.c:
5467 Add test_action. Small fixup to match API change to Accessible_getRole.
5470 Bugfix for get_action_from_servant ().
5472 2001-12-11 Michael Meeks <michael@ximian.com>
5474 * libspi/libspi.h: remove registry.h and
5475 desktop.h, deviceeventcontroller.h
5477 * libspi/Makefile.am: remove registry.[ch],
5478 desktop.[ch], deviceeventcontroller.[ch]
5480 * registryd/Makefile.am: add registry.[ch],
5481 desktop.[ch], rename registryd.c to registry-main.c.
5482 add deviceeventcontroller.[ch]
5484 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5487 Replace setenv() call with putenv ().
5489 * libspi/component.c:
5490 Bugfix in AccessibleComponent_getExtents (),
5493 2001-12-11 Michael Meeks <michael@ximian.com>
5495 * libspi/image.c (impl_getImageExtents): impl.
5496 (spi_image_class_init): upd.
5499 (AccessibleImage_getImageDescription): fix daft bug
5502 * test/test-simple.c (global_listener_cb): update
5503 to only quit if not --poke
5504 (main): catch --poke.
5505 (validate_accessible): upd. dumping, call test_image
5508 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5511 * idl/Accessibility.idl: update all IDL includes.
5513 * idl/*.idl - rename to namespace - this sucks, blame
5514 mjs' bad decision for oafd.
5516 * test/test-simple.c (create_test_window): add more tests.
5517 (create_tree): split this out.
5518 (validate_accessible): bugfix.
5520 2001-12-11 Michael Meeks <michael@ximian.com>
5522 * cspi/bonobo/cspi-bonobo-listener.c:
5523 (cspi_kestroke_listener_unref),
5524 (cspi_event_listener_unref): impl. undoing previous
5525 homenous environment - for Bill.
5527 * cspi/spi_table.c (long_seq_to_array): use
5530 * cspi/spi_main.c: split out all bonoboish bits into
5533 * cspi/spi-impl.h: upd. typedefs.
5535 * cspi/spi_registry.c: update to lowlevel API,
5536 return booleans to indicate success in some places.
5538 * cspi/spi_event.c: update to lowlevel API.
5540 * cspi/bonobo/Makefile.am: add.
5542 * cspi/bonobo/cspi-lowlevel.h: add
5544 * cspi/bonobo/cspi-bonobo.c: add
5546 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5548 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5549 (SUBDIRS): add bonobo, link in the libs.
5551 * cspi/spi-util.c: kill this file.
5553 * TODO: merge in my bits.
5555 2001-12-11 Michael Meeks <michael@ximian.com>
5557 * test/test-simple.c (test_value, test_table, main):
5558 remove unused variables causing warnings.
5560 * configure.in: cleanup checks - require gail.
5562 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5565 Changed Value interface to use SValue (scalars) rather than
5566 assuming all values are floats. This allows floats, doubles,
5567 longs, shorts, and unsigned values to be manipulated.
5568 Introduced Accessibility:SValue union.
5571 Updated to use new API above, and to work correctly with GValues
5572 of different types in AtkValue.
5575 Updated to use new API above. cspi's API is as yet unchanged.
5578 Updated the Value revision action item.
5580 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5582 * test/test-simple.c:
5583 Added test_table (GtkTreeView widget in test window to follow).
5584 Un-commented test_value, added GtkRange widget.
5585 Added GtkTreeView widget with GtkListStore. It passes regression
5586 test but leaks one SPI object for some reason.
5589 Fixed bug in impl__set_currentValue.
5591 2001-12-10 Michael Meeks <michael@ximian.com>
5593 * cspi/spi_text.c: audit for exception handling,
5594 tolerating NULL object references safely etc.
5596 * cspi/spi_value.c: ditto.
5598 * cspi/spi_table.c (AccessibleTable_getSummary),
5599 (AccessibleTable_getAccessibleAt),
5600 (AccessibleTable_getRowHeader),
5601 (AccessibleTable_getColumnHeader),
5602 (AccessibleTable_getCaption): fix bugs hidden by
5604 (long_seq_to_array): impl.
5605 (AccessibleTable_getSelectedRows),
5606 (AccessibleTable_getSelectedColumns): use it.
5608 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5611 Added a TODO list (rough and short for now).
5613 * cspi/spi_hyperlink.c:
5614 * cspi/spi_hypertext.c:
5615 Fixed macro name typos, and remove use of obsolete macro in
5616 AccessibleHyperlink_getLink.
5618 * cspi/spi_action.c:
5619 * cspi/spi_accessible.c:
5620 * cspi/spi_application.c:
5621 * cspi/spi_component.c:
5622 * cspi/spi_selection.c:
5625 Documentation fixes (removed return values from ref/unref methods).
5627 2001-12-10 Michael Meeks <michael@ximian.com>
5629 * cspi/spi_action.c: audit for exception handling,
5630 tolerating NULL object references safely etc.
5632 * cspi/spi_accessible.c: ditto.
5634 * cspi/spi_component.c: ditto.
5636 * cspi/spi_editabletext.c: ditto.
5638 * cspi/spi_hyperlink.c: ditto.
5640 * cspi/spi_hypertext.c: ditto.
5642 * cspi/spi_image.c: ditto.
5644 * cspi/spi_selection.c: ditto.
5646 2001-12-10 Michael Meeks <michael@ximian.com>
5648 * configure.in: use cspi/libspi.pc.in instead.
5650 * Makefile.am (pkgconfig_DATA): upd. to match.
5652 * test/simple-at.c (report_focus_event): kill hacks around
5653 bad return values, use putenv not setenv
5655 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5656 fire ChildGone - I killed it.
5658 * libspi/component.c
5659 (impl_accessibility_component_get_extents): remove
5662 * idl/Accessible.idl: kill ChildGone exception.
5664 * cspi/*.[ch]: kill int return from ref / unref.
5666 * cspi/spi_main.c (cspi_object_add_check): fold into
5667 (cspi_object_add): here.
5669 * cspi/spi_component.c (AccessibleComponent_getExtents):
5670 handle exceptions elegantly.
5672 * cspi/spi-private.h (cspi_check_ev_return),
5673 (cspi_return_if_fail): impl.
5675 * cspi/spi_accessible.c: use extensively.
5676 (AccessibleStateSet_equals): add direct compare check.
5678 * cspi/spi_selection.c: tolerate NULL objs, and check
5679 exceptions before return.
5681 * cspi/spi-util.c (cspi_warn_ev): rename to
5682 (cspi_check_ev): this & don't pass ev in; no point.
5684 2001-12-10 Michael Meeks <michael@ximian.com>
5686 * test/test-simple.c: use putenv not setenv
5687 (get_environment_vars): more chatty if you're not using
5690 * test/simple-at.c: do the setenv so more people see the
5693 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5695 * libspi/registry.c:
5696 Changed check of CORBA_environment on notification to be a warning
5697 instead of an error for the moment, since we can recover from this
5698 error when caused by a queued notification from a dead app.
5701 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5702 used by all current implementors of AtkValue), and coerce to
5703 CORBA_float. (Proper general case fix may require change to Value.idl).
5705 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5709 * cspi/spi_accessible.c:
5710 Documentation fixes: added user_data params to documentation for
5711 listeners and callbacks.
5713 * cspi/spi_accessible.c:
5714 Changed AccessibleStateSet_compare to return a
5715 StateSet rather than return the difference set into a third parameter.
5718 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5721 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5722 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5726 Remove subdirectory po from SUBDIRS for now.
5728 * at-bridge/bridge.c:
5729 Beefed up a couple of debug printouts.
5730 One-line fix for signal notification name formatting.
5732 * libspi/accessible.c:
5733 Added assertion to spi_accessible_new ().
5735 * libspi/application.c:
5736 Put #ifdef qualifiers around a printf.
5739 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5741 * registryd/Makefile.am:
5743 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5744 INTLTOOL_SERVER_RULE macro.
5747 Added an event listener for several ATK signals, for
5748 testing and debugging. Removed a few g_warnings.
5749 Added test output if focussed item implements the Value interface.
5751 * test/test-simple.c:
5752 Added test_value () function (known not to pass at the moment, so
5753 not actually called yet.
5755 2001-12-08 Michael Meeks <michael@ximian.com>
5757 * at-bridge/bridge.c (bridge_focus_tracker),
5758 (emit_eventv): fix the same ref. leak.
5759 (register_atk_event_listeners): don't leak.
5761 * cspi/spi-listener-impl.c (cspi_event): more
5762 protection from client code.
5764 * test/test-simple.c (test_desktop): unref the app.
5766 * test/Makefile.am: upd. TESTS.
5768 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5770 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5772 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5774 * cspi/spi_registry.c: constify in strings.
5775 (deregisterGlobalEventListenerAll): don't release the ref.
5777 * cspi/spi.h: start removing redundant / conflicting
5778 gtkdoc comments, making the API readable at a glance :-)
5780 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5782 * test/keysynth-demo.c (keysynth_exit, main): upd.
5784 * test/simple-at.c (main, simple_at_exit): upd.
5786 * test/test-simple.c (unutterable_horror): kill.
5787 (utterable_normal_derefs): kill.
5788 (main): upd & do a setenv before gtk_init, so that we
5789 can use memprof - and to save the pain of remembering
5790 this, if we're running under memprof - don't exit.
5792 * cspi/spi_main.c (SPI_exit): return exit status
5794 (SPI_event_quit): impl.
5795 (SPI_event_main): simplify.
5796 (cspi_is_gnome_app): kill.
5797 (SPI_init): kill isGNOMEapp arg.
5799 * at-bridge/bridge.c (register_atk_event_listeners):
5800 re-instate the unref.
5801 (bridge_exit_func): don't re-activate the registry,
5802 protect vs. theoretical re-entry, use the
5803 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5804 assert a clean shutdown - for regression tests.
5806 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5808 * configure.in: Comment out dummy i18n support for now,
5809 otherwise it fails to build.
5810 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5811 EXTRA_DIST. They are missing in tarball.
5813 2001-12-07 Michael Meeks <michael@ximian.com>
5815 * util/magnifier.c: kill bonobo activation reg. race.
5817 * libspi/component.c
5818 (impl_accessibility_component_get_extents): make it match
5821 * libspi/registry.c (_registry_notify_listeners):
5822 re-remove X headers & reconcile conflicts.
5823 (spi_listener_struct_free): bad conflict resolve.
5824 (impl_accessibility_registry_register_application):
5825 more bad merging fixed.
5826 (impl_accessibility_registry_deregister_application): ditto.
5827 (spi_registry_new): ditto.
5828 (spi_registry_init): don't have an applications field.
5830 [ merge fixups2 branch to here ]
5831 2001-12-07 Michael Meeks <michael@ximian.com>
5833 * test/simple-at.c (report_focus_event),
5834 (report_focussed_accessible): remove g_warning debug.
5836 2001-12-07 Michael Meeks <michael@ximian.com>
5838 * test/test-simple.c (validate_tree): comment out some checks.
5839 (test_desktop): app now not registered idly - horay.
5841 2001-12-07 Michael Meeks <michael@ximian.com>
5843 * cspi/spi_registry.c
5844 (registerAccessibleKeystrokeListener): clean, stop it leaking
5845 great swathes of memory, and device event controller references.
5846 ensure we always pass valid sequences.
5847 (deregisterAccessibleKeystrokeListener): ditto.
5848 (generateKeyEvent): upd.
5850 * at-bridge/bridge.c (bridge_key_listener): handle
5851 registry dead exception gracefully.
5852 (bridge_focus_tracker, emit_eventv): free ev.
5854 * test/simple-at.c (report_focus_event): fix polarity.
5856 * libspi/application.c (notify_listeners): kill the ev
5857 argument, and make sure we init the ev we use.
5858 (spi_application_object_event_listener): split out a chunk
5859 (get_atk_object_ref): here & fixup.
5860 (reverse_lookup_name_for_toolkit_event): make const.
5861 (spi_application_toolkit_event_listener): fixup, kill leaks
5864 * at-bridge/bridge.c (register_atk_event_listeners):
5865 don't unref the noop object - causes grief.
5867 * libspi/registry.c: remove the X headers.
5868 turn off the debug churn.
5870 * libspi/accessible.c (spi_accessible_new_return): only
5871 release the ref if we are supposed to [doh]
5873 * test/simple-at.c (report_button_press, report_focus_event):
5874 guard vs. unexpected exit.
5876 * at-bridge/bridge.c (gtk_module_init): prune printf.
5877 (bridge_exit_func): fix app unref.
5879 * libspi/Makefile.am: don't install registry or desktop.h
5881 * libspi/*.h: update includes.
5883 * libspi/application.h: don't include ourself, or
5884 other redundant headers.
5886 2001-12-06 Michael Meeks <michael@ximian.com>
5888 * libspi/accessible.c
5889 (get_accessible_from_servant): impl.
5890 Upd. all CORBA impl.s to use it killing cut and paste.
5892 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5894 (SPI_init): register atexit cleanup handler here.
5896 2001-12-06 Michael Meeks <michael@ximian.com>
5898 * at-bridge/bridge.c (gtk_module_init): g_error on
5899 activation exception
5901 2001-12-06 Michael Meeks <michael@ximian.com>
5903 * at-bridge/bridge.c (gtk_module_init): some sort of
5904 confusing merge clash - reverted.
5905 (bridge_idle_init): ditto.
5907 * test/test-simple.c (main, utterable_normal_derefs):
5908 merge from Bill - somehow not committed.
5910 2001-12-06 Michael Meeks <michael@ximian.com>
5912 * libspi/value.c (spi_value_class_init): upd.
5913 (spi_value_finalize): kill.
5915 * libspi/table.c (spi_table_finalize): kill.
5916 (spi_table_interface_new): upd.
5917 (spi_table_class_init): upd.
5918 (get_table_from_servant): impl.
5919 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5921 * libspi/selection.c (spi_selection_finalize): kill.
5922 (spi_selection_interface_new): upd.
5923 (spi_selection_class_init): upd.
5924 (get_selection_from_servant): impl.
5925 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5927 * libspi/relation.c (spi_relation_finalize): kill.
5928 (spi_relation_class_init, spi_relation_new): upd
5930 * libspi/image.c (spi_image_finalize): kill.
5931 (spi_image_class_init): upd.
5932 (spi_image_interface_new): upd.
5933 (get_image_from_servant): impl.
5934 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5936 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5937 (spi_hyperlink_finalize): kill.
5938 (spi_hyperlink_new): upd.
5939 (get_hyperlink_from_servant): impl.
5940 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5942 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5943 (spi_hypertext_finalize): kill.
5944 (spi_hypertext_class_init): upd.
5945 (get_hypertext_from_servant): impl.
5946 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5948 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5949 (spi_editable_text_interface_new): upd.
5950 (get_editable_text_from_servant): impl.
5951 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5953 * libspi/text.c (get_text_from_servant): impl.
5954 All impls - update to use it killing more cut and paste,
5955 also fix bad string returns on duff args ( a somewhat
5956 impossible case to handle - but hey ).
5957 (spi_text_construct): impl.
5958 (spi_text_interface_new): upd.
5959 (spi_text_object_finalize): kill.
5961 * libspi/component.c
5962 (accessibility_component_object_finalize): kill.
5963 (spi_component_class_init): upd.
5964 (get_component_from_servant): impl. helper to kill cut & paste.
5965 (impl_accessibility_component_contains):
5966 (impl_accessibility_component_get_accessible_at_point):
5967 (impl_accessibility_component_get_position):
5968 (impl_accessibility_component_get_extents):
5969 (impl_accessibility_component_get_mdi_z_order):
5970 (impl_accessibility_component_get_layer):
5971 (spi_component_interface_new): upd.
5973 * libspi/action.c (spi_action_finalize): kill.
5974 (spi_action_class_init): upd. inherit from SpiObject.
5975 (spi_action_interface_new): upd.
5976 (get_action_from_servant): impl. helper to reduce cut & paste.
5977 (impl_getKeyBinding, impl_getName, impl_doAction),
5978 (impl_getDescription): Use it everywhere.
5980 * cspi/spi_main.c (get_live_refs): a pointer hash.
5981 (spi_object_hash, spi_object_equal): comment out.
5982 There are issues with CORBA object hashing that need
5985 * libspi/application.c (spi_application_init),
5986 (spi_application_new): upd.
5988 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5989 (spi_accessible_class_init): upd.
5990 s/accessible/object/ in epv methods.
5992 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5994 * at-bridge/bridge.c:
5995 Reorder the bridge initialization into the bridge gtk_module_init,
5996 an immediate call to bridge_register_app, and an idle_add for
5997 register_atk_event_listeners (the only code that *must* wait until
5998 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5999 the activation, creates the application's Accessible object, and
6000 queues the bridge_idle_init function. Restored call to
6001 Accessibility_Registry_deregisterApplication().
6002 Prior to making this call we obtain a new reference to the
6003 registry, which is a temporary hack that helps us handle apps that
6004 shut down the bonobo mainloop before we get there.
6006 * libspi/registry.c:
6007 Fix string leakage in debug block, and don't segv if a an app
6008 dies before its event notifications have been propagated.
6011 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6012 as stopgap measure until we get proper exception handling when
6013 objects die during or before interrogation.
6017 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6018 Also changed default value of is_gnome_app to TRUE.
6021 * test/keysynth-demo.c:
6022 Changed use of SPI_init and SPI_event_main to reflect API change above.
6025 Made report_focus_event check the warning value from getName
6026 before reporting on focussed accessible; simplifies handling of
6027 notifications from dead objects.
6029 * test/test-simple.c: (Changes not in this patch since source is
6032 2001-12-05 Michael Meeks <michael@ximian.com>
6034 * registryd/registryd.c (main): protect against
6035 bonobo-activation startup race condition.
6037 * cspi/spi_main.c (cspi_object_add_check): cope
6038 with the exception elegantly.
6040 * idl/Accessible.idl: decl. ChildGone
6042 * libspi/desktop.c (spi_desktop_dispose): impl.
6043 (spi_desktop_class_init): upd.
6044 (spi_desktop_add_application),
6045 (spi_desktop_remove_application),
6046 (abnormal_application_termination): impl.
6047 (impl_desktop_get_child_at_index): re-impl.
6050 (impl_accessibility_registry_deregister_application),
6051 (impl_accessibility_registry_register_application):
6052 kill excessive debug clutter.
6054 * test/test-simple.c (test_misc): test some NULL
6055 tolerance. (main): upd.
6057 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6058 implements no interfaces - so let's not crash.
6060 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6062 * libspi/accessible.c (spi_accessible_new_return): impl.
6063 helper to calm the cut and paste, to cope with
6064 NULL AtkObjects effectively and efficiently, and to kill
6065 the referencing bugs.
6067 * libspi/table.c (impl_getAccessibleAt),
6068 (impl_getRowHeader, impl_getColumnHeader): upd.
6070 * libspi/hyperlink.c (impl_getObject): upd.
6072 * libspi/accessible.c
6073 (impl_accessibility_accessible_get_child_at_index): upd.
6075 * libspi/component.c
6076 (impl_accessibility_component_get_accessible_at_point): upd.
6078 * test/test-simple.c (test_editable_text, test_text): impl.
6081 * cspi/spi_editabletext.c
6082 (AccessibleEditableText_insertText): constify.
6084 * test/test-simple.c (focus_me): make more robust.
6086 * libspi/accessible.c: remove some printfs in methods that
6087 we test and work fine, so we can get a clean tree dump.
6089 * test/test-simple.c (validate_accessible),
6090 (validate_tree): make tree dumping pretty too.
6092 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6093 it builds without debug on.
6095 * test/test-simple.c (validate_accessible): fix the most
6098 * cspi/spi_main.c (spi_object_release): leave the nicely
6099 blanked memory around if in debug mode.
6101 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6103 [committed to fixups2]
6104 2001-12-05 Michael Meeks <michael@ximian.com>
6106 * libspi/editabletext.c
6107 (spi_editable_text_class_init): g_type_class_peek_parent,
6108 not interface peek - so we finalize cleanly.
6110 * libspi/accessible.c (spi_accessible_new): kill debug.
6112 * test/test-simple.c (validate_accessible): fix ref.
6113 leak, print strings before freeing them; sigh, comment a
6114 chunk out due to strangeness.
6115 (validate_tree): unref the child after use.
6117 * cspi/spi_component.c (AccessibleComponent_getLayer):
6118 add missing break statement, switch on zlayer not the
6119 uninitialized retval.
6121 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6122 before (possibly re-entering) remote unref.
6124 * test/simple-at.c (main): unref the desktop.
6126 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6129 * cspi/spi_main.c (cspi_accessible_is_a): here to
6130 isolate bonobo API usage more.
6132 * libspi/registry.c (impl_accessibility_registry_register_application):
6133 prune bogus comment.
6135 2001-12-04 Michael Meeks <michael@ximian.com>
6137 * test/test-simple.c (validate_tree): upd.
6138 IndexInParent check to make it more lucid.
6139 (validate_accessible): dump the tree.
6141 * libspi/accessible.c (de_register_public_ref),
6142 (get_public_refs): impl.
6143 (spi_accessible_new): make more efficient & intuitive.
6144 Now IndexInParent check works.
6146 2001-12-04 Michael Meeks <michael@ximian.com>
6148 * cspi/spi-util.h: remove.
6150 * cspi/spi.h: move SPI_freeString here
6152 * libspi/component.c (impl_accessibility_component_get_layer):
6154 (impl_accessibility_component_get_mdi_z_order): ditto,
6155 return -1 on error - is this ok ?
6157 * test/test-simple.c (test_application): impl.
6159 * cspi/spi_accessible.c (Accessible_getApplication),
6160 (Accessible_isApplication): impl.
6162 * libspi/registry.c (spi_listener_struct_free): release
6163 the CORBA reference too.
6165 * libspi/accessible.c
6166 (impl_accessibility_accessible_get_parent): fix ref leak.
6168 * libspi/registry.c (spi_registry_new): make the registry
6169 immortal - we don't want it to go away ever.
6171 * libspi/application.c
6172 (spi_accessible_application_finalize): impl. cleanup.
6174 * cspi/spi_registry.c
6175 (deregisterGlobalEventListenerAll),
6176 (deregisterGlobalEventListener),
6177 (deregisterAccessibleKeystrokeListener): fix ref leak.
6179 * cspi/spi_main.c (SPI_init): remove redundant ref.
6181 * test/test-simple.c (unutterable_horror): impl. to force a
6186 (impl_accessibility_registry_deregister_application): release
6187 the application when we de-register it.
6189 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6190 until we have the infastructure to get it right.
6192 2001-12-03 Michael Meeks <michael@ximian.com>
6194 * libspi/Makefile.am: only build eventlistener.[ch]
6196 * libspi/accessible.c
6197 (impl_accessibility_accessible_get_child_at_index): don't leak.
6199 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6200 before we hit the idle handler.
6202 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6203 debugging than exit.
6205 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6207 * libspi/listener.c (impl_notify_event): check source
6208 not NIL before unref.
6210 * libspi/registry.c (impl_registry_notify_event): ditto.
6212 * libspi/eventlistener.c
6213 (impl_accessible_event_notify_event): unref the source.
6215 * libspi/accessibleeventlistener.c
6216 (impl_accessible_event_notify_event): unref the source.
6218 * idl/Event.idl: remove 'hash_id' attribute - of no
6221 * libspi/application.c (notify_listeners): upd list
6223 (spi_application_object_event_listener),
6224 (spi_application_toolkit_event_listener): upd to do correct
6228 (_registry_notify_listeners): update.
6229 (parse_event_type): this method also leaks like a sieve.
6230 (impl_accessibility_registry_deregister_global_event_listener):
6231 fix ETYPE_WINDOW case.
6233 * libspi/application.c
6234 (impl_accessibility_application_register_object_event_listener):
6237 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6239 * libspi/hypertext.c (impl_getLink): ditto.
6241 * cspi/spi_main.c (cspi_object_add): remove
6242 bogus CORBA_Object_duplicate.
6244 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6247 * cspi/spi_accessible.c
6248 (Accessible_getRelationSet): fix leak / referencing issue.
6250 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6251 (cspi_object_add, cspi_object_unref): upd.
6252 (spi_object_release, get_live_refs): impl.
6253 (cspi_cleanup): simplify.
6255 * *.[ch]: s/boolean/SpiBoolean/
6257 * cspi/spi_accessible.c (role_names): actualy order so it
6258 corresponds with the enum !
6260 * test/test-simple.c (test_roles): check some role strings
6261 vs. enums to detect offset errors.
6263 2001-12-01 Michael Meeks <michael@ximian.com>
6265 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6267 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6269 (Accessible_getChildAtIndex): use cspi_add_check so we
6270 check the ev before using a (possibly) invalid value.
6272 * libspi/accessible.c
6273 (impl_accessibility_accessible_get_parent): don't segv
6276 * at-bridge/bridge.c (gtk_module_init): upd.
6277 (bridge_property_event_listener): don't leak strings
6279 (bridge_state_event_listener),
6280 (bridge_property_event_listener): don't use a static
6281 buffer in case of recursive event emission &
6282 re-enterancy - split out the swathe of cut and paste
6284 (emit_eventv): and fix 2 ref leaks here & comply to the
6286 (bridge_register_app): rename to
6287 (bridge_idle_init): this and kill arg parsing, split
6288 various inits & bonobo-activation registration to module
6289 init time, kill referencing error.
6290 (bridge_exit_func): fix the same leak.
6291 (bridge_focus_tracker): don't leak event structures
6293 (bridge_signal_listener): more leakage and cut & paste
6295 (bridge_key_listener): return the result - FIXME is
6296 this polarity correct ?
6297 (accessibility_keystroke_from_atk_key_event): rename
6298 (accessibility_init_keystroke_from_atk_key_event): and stop
6300 (gtk_module_init): return a value - not that it is checked by
6302 (bridge_key_listener): register my horror at casting between
6303 IDL defined structs.
6304 (bridge_get_registry): kill - not used.
6306 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6308 * test/test-simple.c (test_roles): impl.
6309 (test_desktop, validate_accessible, validate_tree): impl.
6311 * cspi/spi_accessible.c (role_names): fixup bogus
6312 MAX_ROLES setup, make constants const for efficient linkage
6313 (AccessibleRole_getName): conform to coding style, make
6316 2001-11-30 Michael Meeks <michael@ximian.com>
6318 * cspi/spi.h: add missing prototype.
6320 * libspi/registry.c (spi_listener_struct_new): fix sig.
6322 * test/Makefile.am: add test-simple
6324 * test/test-simple.c: add
6326 * test/test.sh: add.
6328 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6330 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6331 do it straight - since otherwise we often get an activation race.
6333 [ work before Bill duplicated a chunk of it ... ]
6334 2001-11-30 Michael Meeks <michael@ximian.com>
6336 * libspi/keystrokelistener.c
6337 (spi_keystroke_listener_class_init): fixup arg
6340 * libspi/eventlistener.c
6341 (spi_event_listener_class_init): ditto.
6343 * tests/test.sh: add.
6345 * cspi/spi-listener-impl.h: update macros.
6347 * cspi/spi-listener-impl.c
6348 (cspi_event_listener_remove_callback): add
6349 correct pre-conditions.
6351 * cspi/spi_main.c (SPI_exit): guard vs. double
6352 exits, exit the mainloop nicely.
6353 (SPI_event_main): make more sense.
6354 (SPI_init): move the atexit evilness here so we
6355 always do it (yuck).
6356 (SPI_event_main): upd.
6358 * test/simple-at.c: update for listener changes.
6360 * registryd/registryd.c (main): prune kruft.
6362 * libspi/libspi.h: upd.
6364 * libspi/eventlistener.[ch]: rename broken macros.
6366 * libspi/accessibleeventlistener.[ch]: remove.
6368 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6370 * test/test-simple.c: Add - automated tests.
6372 * cspi/spi-listener-impl.c (cspi_event),
6373 (cspi_key_event): add user_data to invoke.
6374 (cspi_keystroke_listener_finalize): impl.
6375 (cspi_keystroke_listener_class_init): upd.
6378 (createAccessibleEventListener),
6379 (AccessibleEventListener_addCallback),
6380 (createAccessibleKeystrokeListener),
6381 (AccessibleKeystrokeListener_addCallback): upd.
6383 * libspi/deviceeventcontroller.c
6384 (spi_device_event_controller_check_key_event): add public proto.
6387 (impl_accessibility_registry_deregister_global_event_listener):
6388 always init listeners.
6389 (_registry_notify_listeners): yes it is.
6391 * cspi/spi-listener-impl.c (cspi_key_event):
6393 (cspi_event_listener_finalize): impl.
6394 (cspi_event_listener_class_init): hook up.
6395 (event_handler_new, event_handler_free),
6396 (event_list_remove_by_callback): impl.
6397 (cspi_event_listener_remove_callback),
6398 (cspi_keystroke_listener_remove_callback),
6399 (cspi_keystroke_listener_add_callback),
6400 (cspi_event_listener_add_callback): upd.
6402 * libspi/keystrokelistener.c
6403 (keystroke_listener_object_finalize): kill
6404 (spi_keystroke_listener_class_init): upd.
6405 (spi_keystroke_listener_add_callback),
6406 (spi_keystroke_listener_remove_callback): kill,
6408 (impl_key_event): prune drasticaly.
6410 * libspi/eventlistener.c
6411 (spi_event_listener_add_callback),
6412 (spi_event_listener_remove_callback): kill, use
6414 (impl_accessible_event_notify_event): upd.
6415 (spi_event_listener_object_finalize): remove.
6417 * libspi/Makefile.am: use eventlistener.[ch]
6419 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6421 * libspi/registry.c (_registry_notify_listeners):
6422 Changed listener loop iteration to use preferred convention.
6423 Got rid of string memory leaks caused be calling g_strconcat
6424 inside function calls.
6426 * libspi/registry.c (parse_event_type):
6427 Stopped g_strconcat memory leaks, free the g_strsplit return,
6428 g_strdup the split pieces when used, etc.
6430 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6433 Change method 'compare' to return a 'difference set' rather than
6434 taking a StateSet as an out parameter (more Java-friendly).
6436 * idl/Accessible.idl:
6437 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6439 * idl/Component.idl:
6441 Changed methods 'getExtents' and 'getImageExtents' in these
6442 interfaces to return a BoundingBox structure.
6443 (getPosition and getSize are redundant and possibly should be
6444 removed, rather than creating a corresponding Point struct.)
6446 * cspi/spi_component.c:
6447 Modify implementation of getExtents to reflect the above IDL
6452 Add (missing) AccessibleImage_getExtents () API.
6454 * docs/reference/cspi/at-spi-cspi-sections.txt:
6455 Added AccessibleImage_getImageExtents () to docs.
6457 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6459 * idl/Component.idl:
6460 Added two methods, getLayer () and getMDIZOrder (), to reflect
6461 the new ATK methods atk_object_get_layer and
6462 atk_object_get_mdi_z_order. (Which arguably should be part of the
6463 AtkComponent API and AtkObject). Also added an enum,
6464 ComponentLayer, for the first method's return value.
6466 * libspi/component.c:
6467 Added implementations for these methods.
6469 * cspi/spi_component.c:
6471 Added cspi binding methods for above,
6472 AccessibleComponent_getLayer() and
6473 AccessibleComponent_getMDIZOrder().
6474 Added cspi enum 'AccessibleComponentLayer'.
6476 * docs/reference/cspi/at-spi-cspi-sections.txt:
6477 Added above methods to docs.
6481 Changed typedef for 'boolean' type (and all references to it) to
6482 SPIBoolean, to avoid keyword clashes with C++.
6485 Changed usages of 'boolean' to SPIBoolean.
6487 * test/keysynth-demo.c:
6488 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6489 app), except where SPIBoolean is required by the callbacks API.
6491 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6493 * cspi/spi_registry.c:
6494 Removed obsolete X event loop for passive keygrabs (which now
6497 * registryd/registryd.c:
6498 Removed unnecessary call to gdk_init() [cruft]. This also allows
6499 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6502 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6504 * docs/reference/cspi:
6505 Included docs for SPI_freeString in generated documentation.
6508 Renamed spi_freeString to SPI_freeString, for consistency. Added
6509 documentation for this function.
6512 Renamed spi_freeString to SPI_freeString, for consistency.
6513 Removed obsolete method declaration string_from_corba_string.
6515 * test/keysynth-demo.c:
6516 Small tweak to comments.
6519 Stopped leaking the strings returned from CSPI.
6521 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6523 Merged Michael's branch (see his ChangeLog entries below).
6525 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6526 bridge is alive, release on exit.
6528 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6529 Fix type check macro.
6532 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6535 Added is_gnome_app static, and method cspi_is_gnome_app(),
6536 so we can call the appropriate shutdown routine at exit in SPI_exit.
6538 * cspi/spi_main.c (cspi_object_ref):
6539 Duplicate the corba object passed in, since we're keeping it around.
6541 * cspi/SPI_exit.c, cspi_cleanup:
6542 Moved the releasing of the live refs to its own function, so we
6543 can put it in g_atexit (). Call the appropriate shutdown API
6544 depending on whethe calling client is a gnome app or not
6545 (bonobo_main_quit or CORBA_ORB_shutdown).
6547 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6548 Unref the listener when this method is called, after
6549 deregistration. Updated the API docs to note this behavior.
6551 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6552 Bugfixes: Ref the bonobo object when returning a parent or child
6553 reference, or an AccessibleRelation. Generally made sure
6554 BonoboObject refcount is incremented whenever we return an
6557 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6558 Fixed typo/bug in signal declaration.
6560 * libspi/accessibleeventlistener.h:
6563 * libspi/application.c (spi_application_new):
6564 Fixed leak in initialization.
6567 Remembered to increment bonobo-object refcount when returning
6568 children (applications) from desktop object.
6569 Added (empty) finalize method.
6571 * libspi/deviceeventcontroller.c:
6572 Hold a ref to listeners inside DEControllerKeyListeners.
6573 Added dec_key_listener_free() method. Use prepend instead of
6574 append in key_listener list. Fixed some refcount madness and
6575 leaks in the listener registration/deregistration - deregistration
6576 now calls dec_key_listener_free() on listeners, and on the
6577 temporarily constructed dec_key_listener() used to perform the search/match.
6579 * libspi/hypertext.c (spi_hypertest_finalize):
6580 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6581 class. Also fixed spi_hypertext_interface_new() and
6582 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6584 * libspi/hypertext.h:
6585 Removed pointless and duplicate AtkObject pointer from
6588 * libspi/keystrokelistener.c:
6589 Fixed incorrect type of keystroke_listener_parent_class,
6590 renamed keystroke_listener_object_finalize to
6591 spi_keystroke_listener_object_finalize.
6592 Fixed typo in signal declaration
6593 (spi_keystroke_listener_class_init).
6595 * libspi/registry.c:
6596 Added funcsions spi_listener_struct_new() and
6597 spi_listener_struct_free() to help with memory management issues.
6598 We also now use these methods instead of gnew + poking stuff into
6599 the struct, and to decrement listener counts/free the listeners
6600 when deregistering them.
6601 Fix more refcount bugs in getDesktop() and
6602 getDeviceEventController().
6605 De-ref the desktop after enumerating the applications. Explicitly
6606 decrement the refcounts on the created listeners on exit (using
6607 _unref for keystroke listeners, and via the
6608 deregisterGlobalEventListenerAll command for other event
6611 2001-11-27 Michael Meeks <michael@ximian.com>
6613 * cspi/spi-listener.h: fixup enum.
6615 2001-11-27 Michael Meeks <michael@ximian.com>
6617 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6618 (cspi_keystroke_listener_new): Use the cspi variants.
6620 2001-11-26 Michael Meeks <michael@ximian.com>
6622 * test/keysynth-demo.c: fix 2 compile warnings, missing
6625 * test/simple-at.c (report_focussed_accessible),
6626 (report_focus_event, report_button_press),
6627 (check_property_change, is_command_key),
6628 (report_ordinary_key_event, report_command_key_event): upd.
6630 * util/mag_client.h: include pre-requisites.
6632 * libspi/accessibleeventlistener.c
6633 (spi_event_listener_object_finalize): free any lingering
6636 * libspi/keystrokelistener.c
6637 (keystroke_listener_object_finalize): ditto.
6639 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6640 callbacks, with cspi types.
6642 * cspi/spi_event.c (createAccessibleEventListener): chain to
6643 (AccessibleEventListener_addCallback): here.
6644 (createAccessibleKeystrokeListener): chain to
6645 (AccessibleKeystrokeListener_addCallback): here.
6647 * libspi/keystrokelistener.c
6648 (spi_keystroke_listener_class_init): add signal.
6649 (impl_key_event): emit the event.
6650 (boolean_handled_accumulator): impl.
6651 (marshal_BOOLEAN__POINTER): add, gack.
6653 * libspi/accessibleeventlistener.c
6654 (spi_event_listener_class_init): add signal.
6655 (impl_accessible_event_notify_event): emit the signal &
6656 make the loop efficient.
6657 (spi_event_listener_add_callback): prepend the callback.
6659 * libspi/accessibleeventlistener.h: add an 'event' signal,
6660 decl type on callback.
6662 * libspi/keystrokelistener.h: ditto.
6664 * cspi/spi-listener.h: make methods typesafe and
6665 make them use the new event typedefs.
6667 * test/simple-at.c (report_focussed_accessible):
6668 include mag_client.h
6669 Use *(void *)text_interface not the other thing.
6671 * configure.in: add gtk to registryd bits - since we use
6674 * util/magnifier.c: include libbonobo.h
6676 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6678 * test/keysynth-demo.c:
6679 Turned this into a simple scanning keyboard, to demonstrate the
6680 use of g_timeout_add () as a means of creating timers for
6681 scanning, and the use of GtkStyle for visually indicating when
6682 virtual keyboard elements are selected.
6684 keysynth-demo now listens to any keyboard keys with zero-valued
6685 keycodes (i.e. 'unused' keys) and interprets them as
6688 Reworked the shiftlatch code so that shift-down state isn't held
6689 for long periods (it's only synthesized immediately prior to
6690 the keysynth event it's modifying). Note that shiftlatch in this
6691 demo is a convenience, not intended to take the place of AccessX
6692 which is the better choice for getting 'sticky' modifier keys.
6694 * libspi/deviceeventcontroller.c:
6695 * at-bridge/bridge.c:
6696 * cspi/spi_registry.c:
6697 Removed some debug print stuff, and put other verbosity in #ifdef
6702 Implemented some more of the magnifier IDL for the simple
6703 magnifier: namely, getZoomRegionParams.
6704 Added mag_x and mag_y members to MagnifierData struct, aid of this
6706 Added GtkWindow::realize signal handler to magnifier, to keep it
6707 from receiving keyboard focus from the WM.
6709 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6711 * cspi/spi-private.h: my guess at what michael forgot
6712 before he ran off to NZ :-)
6714 2001-11-23 Michael Meeks <michael@ximian.com>
6716 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6717 comment out non existant method invoke so we link.
6719 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6720 use bonobo_exception_get_text for more friendly warnings.
6722 * cspi/spi.c (Obj_Add): move into spi_main & rename
6723 spi_object_add; kill spi.c
6725 * cspi/spi_registry.c
6726 (deregisterGlobalEventListener),
6727 (deregisterGlobalEventListenerAll),
6728 (registerGlobalEventListener): fix exception leaks.
6730 * cspi/spi_main.c (spi_exception): impl. helper, so we
6731 don't leak exceptions.
6733 * cspi/spi_selection.c
6734 (AccessibleSelection_deselectSelectedChild): return the
6737 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6738 (spi_registry): ditto.
6739 (SPI_init): guard against double inits.
6741 * cspi/*.c: use spi_ev (), and spi_registry () where
6742 appropriate - a temporary hack until we have something
6743 better. Use spi_object_add
6745 2001-11-22 Michael Meeks <michael@ximian.com>
6747 * cspi/Makefile.am: re organise, install the headers.
6749 * cspi/*.h: add G_BEGIN/END_DECLS
6751 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6754 Added non-preemptive keylistener for key events with no modifiers
6755 and shift-only modifier.
6757 * libspi/keystrokelistener.c:
6758 Removed some verbose diagnostics printout.
6760 * cspi/spi_registry.c:
6761 Fixed a bug that caused all key listeners to be registered as
6764 * libspi/deviceeventcontroller.c:
6765 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6766 for non-preemptive key masks.
6769 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6771 * docs/reference/idl/at-spi-idl-docs.sgml:
6772 * docs/reference/idl/at-spi-idl-sections.txt:
6773 * docs/reference/idl/at-spi-idl-overrides.txt:
6774 Added missing files.
6776 * docs/reference/Makefile.am:
6777 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6778 to scan the IDL files :-(
6783 Added .cvsignore files.
6785 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6787 * libspi/deviceeventcontroller.c:
6788 * libspi/keystrokelistener.c:
6790 * cspi/spi_registry.c:
6791 Added filters for KeySets, KeyEventSeq, and event types to key
6792 event dispatching, so listeners should only receive those events
6793 that they requested :-)
6795 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6800 * docs/reference:Makefile.am:
6801 * docs/reference/cspi:
6802 * docs/reference/cspi:Makefile.am:
6803 * docs/reference/cspi:tmpl:
6804 * docs/reference/cspi:tmpl:*.sgml:
6805 * docs/reference/idl:
6806 * docs/reference/idl:Makefile.am:
6807 * docs/reference/idl:at-spi-idl-sections.txt:
6808 * docs/reference/idl:at-spi-idl-docs.sgml:
6809 * docs/reference/idl:tmpl:
6810 * docs/reference/idl:tmpl:*.sgml:
6812 Restructured docs directory to allow separate 'reference' docs
6813 section, and forked idl and cspi docs. Added the sgml template
6814 files to CVS. Added the first sections/structural sgml for the
6817 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6819 * configure.in, libspi/Makefile.am: find libXtst.
6821 2001-11-21 Michael Meeks <michael@ximian.com>
6823 * test/accessx-gui.c: s/spi_value/value/ - doh.
6825 * libspi/base.[ch]: add.
6827 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6829 * idl/Accessible.idl:
6830 * idl/Application.idl:
6833 Started gtk-doc cleanup on IDL.
6835 * libspi/deviceeventcontroller.c:
6836 Added and connected non-preemptive key notification from the
6837 toolkits (in addition to the pre-emptive support from XServer
6838 which we had before, but which causes 'focus flashing'). Filters
6839 are presently limited to key modifiers and global/non-global,
6840 KeySets are presently ignored, as are KeyEvent masks.
6842 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6843 structs into the persistant structure rather than just storing
6844 pointers to things that might not persist across servant
6847 The XGrabKey call now does async keygrabs, because synchronous
6848 ones were deadlocking with GDK_event code in a very nasty way.
6850 Added boolean to internal method notify_keylisteners, to indicate
6851 whether the event came from the 'toolkit source' or the 'global
6852 (XServer) source' - this is used in the notification process to
6853 determine which listeners to send the event to.
6855 deviceeventcontroller.c is now warning-free.
6857 * libspi/registry.c:
6858 Fixed regression in application de-registration.
6859 Also fixed some really brain-dead weirdness having to do with
6860 event dispatching - event structs are now duplicated before being
6861 re-marshalled in the dispatch to listeners. This also fixes a
6862 Solaris build problem.
6865 2001-11-20 Michael Meeks <michael@ximian.com>
6868 (impl_accessibility_registry_deregister_global_event_listener):
6871 * libspi/deviceeventcontroller.c
6872 (spi_device_event_controller_check_key_event): return
6873 FALSE on no virtual method.
6875 * libspi/*..h: make includes work on a correctly pathed install.
6877 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6879 * libspi/application.h: kill unused ( and whacked out )
6880 gboolean *spi_application_set_id (AtkObject *app, long id);
6882 2001-11-20 Michael Meeks <michael@ximian.com>
6884 * libspi/*.[ch]: further convert to bonobo's type func
6885 macros, remove redundnant casts etc.
6887 * libspi/text.c s/accessibility_text/spi_text/g,
6888 re-order to de-cruft.
6890 * libspi/hypertext.c: re-order to kill a huge slew
6891 of redundant forward decls.
6893 * libspi/relation.c: ditto.
6895 * libspi/image.c: ditto.
6897 * */.cvsignore: update
6899 2001-11-20 Michael Meeks <michael@ximian.com>
6901 * libspi/deviceeventcontroller.c
6902 (_controller_register_with_devices): use g_getenv,
6903 kill stdlib.h include.
6905 * libspi/keystrokelistener.c
6906 (spi_keystroke_listener_get_type): kill
6907 (spi_keystroke_listener_class_init),
6908 (spi_keystroke_listener_init): rename to this.
6910 * libspi/text.c (impl_getAttributes): fix warning / bug.
6912 * libspi/*.[ch]: more headers, includes and over commenting.
6914 2001-11-20 Michael Meeks <michael@ximian.com>
6916 * libspi/*.[ch]: fixup headers, includes and over commenting.
6918 * libspi/image.c (impl__get_imageDescription): const
6919 correctness warning fix. remove redundant casting.
6921 * libspi/table.c (impl_getRowDescription): ditto.
6922 (impl_getColumnDescription): ditto.
6924 * libspi/libspi.h: add.
6926 2001-11-19 Michael Meeks <michael@ximian.com>
6928 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6930 * libspi/component.c (accessibility_component_get_type):
6931 rename to (spi_component_get_type): and macroify.
6932 (accessibility_component_init): rename to
6933 (spi_component_init): this
6934 (accessibility_component_class_init): rename to
6935 (spi_component_class_init): this
6937 * libspi/action.c (spi_action_get_type): kill, use the macro.
6939 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6942 * libspi/application.c (spi_application_object_event_listener),
6943 (impl_accessibility_application_register_object_event_listener):
6944 warning fixes / const understanding updates.
6946 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6949 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6951 * libspi/spi_accessible.c: Added docs and C bindings for
6952 AccessibleStateSet. (No implementations yet). Documentation
6953 coverage for C bindings now 100%. Made docs for event listeners
6958 boolean notifyListenersSync (in DeviceEventListener listener,
6959 in DeviceEvent event);
6961 oneway void notifyListenersAsync (in DeviceEventListener listener,
6962 in DeviceEvent event);
6964 Added DeviceEventListener and DeviceEvent structs (may deprecate
6965 KeyStroke and KeystrokeListener in favor of this generic
6966 event/listener framework for devices).
6968 * libspi/deviceeventcontroller.c:
6970 Changed some key listener code to take masks, etc., and paved the
6971 way for integration of toolkit/non-preemptive key events. Changed
6972 signatures of some internal methods.
6974 * at-bridge/bridge.c:
6975 Fixed regression connecting to interface signals, apparently
6976 caused by GTK+ changes.
6978 Added an internal bridge_state_listener to deal with
6979 property-change:accessible-state signals.
6981 Changed the key_listeners GList to store structs (including masks,
6982 etc.) instead of just CORBA_Objects (required for full
6983 implementation of key listener API).
6985 Connected the bridge to all currently supported Atk signals.
6986 Events now supported:
6987 object:property-change
6988 object:property-change:accessible-name
6989 object:property-change:accessible-state
6990 object:property-change:accessible-description
6991 object:property-change:accessible-parent
6992 object:property-change:accessible-value
6993 object:property-change:accessible-role
6994 object:property-change:accessible-table-caption
6995 object:property-change:accessible-table-column-description
6996 object:property-change:accessible-table-column-header
6997 object:property-change:accessible-table-row-description
6998 object:property-change:accessible-table-row-header
6999 object:property-change:accessible-table-summary
7000 object:children-changed
7001 object:visible-data-changed
7002 object:selection-changed
7003 object:text-selection-changed
7005 object:text-caret-moved
7007 object:row-reordered
7009 object:column-inserted
7010 object:column-reordered
7011 object:column-deleted
7012 object:model-changed
7014 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7016 * libspi/hyperlink.c,h:
7017 Fixed some broken stuff in hyperlink.
7019 * libspi/relation.h:
7020 * libspi/relation.c:
7021 * cspi/spi_accessible.c:
7022 Initial implementations of AccessibleRelation methods, and docs.
7024 * libspi/accessible.c:
7025 Fixed a bug that caused SEGV if an accessible
7026 object's description is NULL, and a client
7027 requests it. An empty string is now returned.
7029 * cspi/spi_editabletext.c:
7030 * cspi/spi_hypertext.c:
7032 * cspi/spi_hyperlink.c:
7036 Doc coverage now 95%.
7038 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7040 One last namespacing revision:
7041 * libspi/accessibleeventlistener.[ch]:
7042 Renamed SpiAccessibleEventListener to SpiEventListener,
7043 (no need for two namespaces ;-)
7045 And lots of documentation fixes:
7047 * docs/at-spi-docs.sgml:
7048 Fixed 'underscore vs. hyphen' bug that was preventing
7049 the gtk-doc API docs from being automatically generated.
7052 * cspi/spi-listener.h
7054 * cspi/spi_accessible.c
7056 * cspi/spi_application.c
7057 * cspi/spi_component.c
7058 * cspi/spi_editabletext.c
7060 * cspi/spi_hypertext.c
7062 * cspi/spi_registry.c
7063 * cspi/spi_selection.c
7067 * docs/at-spi-docs.sgml
7068 * docs/at-spi-sections.txt
7070 Added and fixed up gtk-doc documentation in cspi.
7072 Interfaces now (fully) documented (subject to revision and enhancement):
7074 Event Listener Support
7076 AccessibleApplication
7080 AccessibleEditableText
7087 AccessibleRelationSet
7092 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7094 * at-bridge/bridge.c:
7095 Initial work for toolkit-level key snooper connection by bridge.
7100 New typedefs and fixes to support new namespacing, and cleaner
7101 separation of cspi bindings from libspi bonobo implementation.
7102 Removed inconsistent and extraneous Spi* namespace prefix that
7103 had crept into cspi headers.
7104 Lots of comment fixes that sed had missed.
7106 * cspi/spi-roletypes.h:
7107 * cspi/spi-statetypes.h:
7108 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7109 to AccessibleRoleType.
7111 * libspi/accessibleeventlistener.h:
7112 Fixed minor namespacing weirdness.
7114 * libspi/deviceeventcontroller.c:
7115 Reordered some internal API for device listeners.
7116 Changed the key registry final boolean to 'is_system_global'
7117 rather than 'is_synchronous', which is more descriptive of its
7119 Added spi_device_event_controller_new().
7120 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7122 * libspi/keystrokelistener.[ch]:
7123 Namespaced KeystrokeListener to SpiKeystrokeListener.
7124 Changed uses of keymasks to use SPI_ prefix, and did other
7127 * libspi/keymasks.h:
7128 Namespaced keymask constants with SPI_ prefix.
7130 * libspi/registry.c:
7131 Some warning fixes, and knock-on fixes from namespace changes.
7134 Added rules for accessx-gui test program.
7136 * test/accessx-gui.c:
7137 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7138 utility. It doesn't actually use at-spi, but it's still cool and
7141 * test/keysynth-demo.c:
7145 Fixes so that these test clients work properly with the namespaced
7146 libraries. (Incompletely tested for technical reasons, fixes may follow)
7149 2001-11-13 Michael Meeks <michael@ximian.com>
7151 * libspi/application.c
7152 (impl_accessibility_application_get_version),
7153 (impl_accessibility_application_get_toolkit_name):
7155 (impl_accessibility_application_set_id),
7156 (impl_accessibility_application_get_id): remove
7157 redundant casting code.
7159 * libspi/action.c (impl_getDescription): fix warnings.
7161 * libspi/accessible.c
7162 (impl_accessibility_accessible_get_parent),
7163 (impl_accessibility_accessible_get_child_at_index),
7164 (impl_accessibility_accessible_get_state),
7165 (impl_accessibility_accessible_get_relation_set):
7166 warning fixes & include action.h
7168 2001-11-13 Michael Meeks <michael@ximian.com>
7170 * *.[ch] fix bits I screwed up:
7172 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7173 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7175 2001-11-13 Michael Meeks <michael@ximian.com>
7177 * *.[ch] Namespace libspi into spi_ and Spi.
7179 2001-13-11 Michael Meeks <michael@ximian.com>
7181 * Makefile.am: dist & install at-spi-1.0.pc
7183 * libspi/Makefile.am: install into at-spi-1.0
7185 * idl/Makefile.am (idldir): install into at-spi-1.0
7187 * at-spi-1.0.pc.in: add.
7189 * configure.in: build it.
7191 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7193 * test/keysynth-demo.c:
7194 Use a 'realize' signal-handler to set the WM properties for
7195 the virtual keyboard, rather than making it a "POPUP" type
7196 override-redirect window (thanks to anders carlsson for that
7199 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7202 * test/keysynth-demo.c:
7203 Added new test of key synthesis, which creates a simple
7204 (mouse-operated) onscreen keyboard. It inserts key events into
7205 the currently-focused window, thus it does not grab keyboard focus
7208 * cspi/spi_registry.c:
7209 Added C binding for AT-SPI generateKeyEvent.
7211 * libspi/deviceeventcontroller.c:
7212 Added call to XFilterEvent so that key listener works with XIM (we
7213 hope). Added event_synth_type to generateKeyEvent, so that we can
7214 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7215 synthesize a press/release pair for KeySyms.
7217 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7219 * libspi/Makefile.am:
7220 * registryd/Makefile.am:
7221 (temporary) hack to include libXtst in libspi and registryd.
7222 (Needed for keystroke synthesis, see below).
7225 Improved API for registerKeystrokeListener, in accordance with
7226 discussions with Gnopernicus team and X server research.
7228 * libspi/registry.c:
7229 * libspi/deviceeventcontroller.c:
7230 * libspi/accessible.c:
7231 * libspi/keystrokelistener.c:
7232 Changes and fixes to support keylisteners for potentially
7233 consumed key events (that is, 'passive grabs').
7234 Added implementation for generateKeyEvent() [untested].
7237 Changes to registerKeystrokeListener() API, as above.
7238 Added deregisterGlobalEventListenerAll(), and
7239 deregisterKeystrokeListener(), which are needed for clean exit of
7241 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7242 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7244 * cspi/spi_registry.c:
7245 Added implementations of function prototypes mentioned above.
7247 * registryd/registryd.c:
7248 Added the key listener event source as a g_timeout(), to allow
7249 receipt of key events that are not caught by GDK (since GDK
7250 doesn't support passive keygrabs, this was necessary).
7253 Changed to attach a keylistener to 'Alt' keys, and
7254 respond to the following keycommands: Alt-M (toggle magnifier);
7255 Alt-F (toggle speech); Alt-Q (quit).
7256 Added an exit routine to deregister the listeners, and a key
7257 listener that prints some key info to the console when a key
7258 matches the listener mask (and is thus received by the listener).
7260 * util/idl/Magnifier.idl:
7261 Changes to magnifier API to support multiple zoom regions,
7262 non-uniform scaling in x and y, markDirty, and a host of other
7263 features that would be useful to magnification.
7266 * util/mag_client.c:
7267 * util/mag_client.h:
7268 * util/mag_control.c:
7270 Source code changes to support the above IDL changes.
7273 As above, and also changes to use a (slower) generic conversion
7274 path for colormap conversions, since the fast RGB conversions have been
7275 reported to fail for 16-bit displays.
7277 2001-10-26 Michael Meeks <michael@ximian.com>
7279 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7281 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7283 * at-bridge/Makefile.am: fix LDFLAGS.
7285 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7287 * at-bridge/bridge.c:
7288 Re-worked listeners for toolkit events, now we have signal
7289 and property listeners. Added a private method
7290 register_atk_event_listeners(), which registers with the
7291 various atk and gtk signals we need to monitor in order to emit
7293 Added emission hook for AtkObject:property-change events, to
7294 support the 'property listeners'.
7295 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7298 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7299 which emit warnings and exit, respectively, if CORBA errors occur
7300 during remote calls, and we now use these methods to check most of
7301 our CORBA calls in the C bindings.
7303 * cspi/spi_accessible.c:
7304 Changed AccessibleSelection_refSelectedChild() to
7305 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7306 now increment refcounts.
7308 * cspi/spi_component.c:
7309 Fixed some long pointer casts (dangerous!) to pass pointers to
7310 CORBA_longs of the proper type to the CORBA stubs, and copy the
7311 data into the longs that were passed into the C bindings code.
7313 * at-bridge/bridge.c:
7315 * libspi/accessible.c:
7316 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7317 hyperlinks, AtkHyperlink is an object type.
7319 * libspi/application.c:
7320 Added various conversions to and from "generic" event types and
7321 atk-specific types; this is really part of the 'bridge'
7322 implementation but is valid for all AtkObject-based accessibility
7325 * libspi/editabletext.c:
7326 Fixed nasty bug wherein editable text's finalize method was
7327 unref'ing tha AtkObject reference that the text parent class was
7328 about to unref _again_. There was also a nasty inheritance bug
7329 that meant that the AccessibleEditableText class was corrupt.
7331 * libspi/selection.c:
7332 Provided implementations for some selection API that was broken.
7334 * idl/Application.idl:
7335 Added registerObjectEventListener () method.
7338 Fixed a number of return values that were Bonobo_Unknowns from
7339 bonobo_object_corba_objref(), which I
7340 forgot to dup before returning. Changed instances of
7341 bonobo_object_corba_objref (bonobo_object(o)) to
7342 BONOBO_OBJREF(o), for concision and clarity.
7344 2001-10-13 Louise Miller <louise.miller@sun.com>
7346 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7347 idl/Event.idl, idl/Registry.idl
7348 Changed these files to include Bonobo_Unknown.idl instead
7351 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7353 * libspi/component.c libspi/component.h:
7354 Fixed typo. Added assertions for object checks in
7355 AccessibleComponent code.
7357 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7359 * idl/Accessible.idl:
7360 Added 'isEqual (Accessible *object)'
7361 method for Accessible. (Not Yet Implemented).
7364 Changed signature of registerKeystrokeListener() to
7365 take a KeySet and KeyEventSeq so that specific keys and event
7366 types could be requested for monitoring, and added a flag
7367 is_synchronous so that either synchronous or asynchronous
7368 notification could be requested. (However this is not all
7369 implemented yet). This also meant adding two new typedefs,
7370 KeyEventSeq and KeySet.
7373 Added two new relations, RELATION_TOOLTIP_FOR and
7374 RELATION_LEAFNODE_OF.
7377 Added new state, STATE_HAS_TOOLTIP.
7379 * libspi/text.c, editabletext.c:
7380 Added new assertions to all casts of bonobo-objects from
7381 CORBA servants, to prevent Text API calls on non-text objects.
7382 Changed suspect casts of int-pointer types, so that we
7383 always send a valid CORBA_long pointer to the CORBA APIs that use
7384 in/out long parameters. We then have to copy from the CORBA_long
7385 into the regular long or int for return to the C bindings, or
7386 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7389 * libspi/deviceeventcontroller.c:
7390 Cleaned these sources up.
7392 Changed return type for getCharacterAtOffset to
7393 CORBA_unsigned_long, to allow for 32-bit characters.
7396 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7400 Fixed 'make dist' so that distro compiles...
7401 * libspi/keymasks.h:
7403 * cspi/spi-listener.c:
7404 KeystrokeListenerCB now returns a boolean.
7406 Added KeyEventType struct, and KeyStroke.
7407 Also added createKeystrokeListener(),
7408 KeystrokeListener_addCallback(),
7409 KeystrokeListener_removeCallback(), and added a keymask to
7410 registerKeystrokeListener().
7411 * cspi/spi_accessible.c:
7412 Changed numerous return types for interfaces from
7413 AccessibleComponent to Accessible<InterfaceName>; this was
7414 probably a cut-and-paste error.
7416 Implementations of new KeystrokeListener api (from spi.h,
7419 Changes to key modifier mapping.
7420 Created ControllerEventMask struct.
7421 Made DeviceEventController derive from Bonobo::Unknown.
7423 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7424 * libspi/deviceeventcontroller.c:
7425 Added a number of new internal (private) methods.
7426 * libspi/editabletext.c:
7427 * libspi/editabletext.h:
7428 Fixed a number of bugs related to the fact that
7429 editabletext inherits from text. Fixed the EditableText struct,
7430 the init() call, and use correct casts when calling Text methods
7431 from an EditableText object. Removed (duplicate) atko from the
7432 EditableText structure, we use the one in the parent Text
7433 structure via the casts mentioned above.
7434 * libspi/keystrokelistener.[ch]:
7435 * libspi/registry.c:
7436 Changes in support of keyboard handling (above).
7438 Keyboard handling, though partly functional, is still not
7439 recommended for at-spi client use as there is considerable
7440 work yet to be done.
7443 Changed some places where pointers to various int types
7444 are cast to be pointers to CORBA_long types and vice-versa:
7445 pointer casting is not safe so we pass pointers of the correct
7446 types and then cast the result before putting it into the target
7449 * libspi/text.h: minor typos corrected.
7451 We now speak not only the name of a Text element, but the
7452 first sentence of its content, when it receives focus.
7453 I also changed the text compression to 75% from 50%.
7454 * util/Accessibility_Util.server.in:
7455 Changed the default magnifier type to be a 3x vertical
7456 splitscreen magnifier (was previously a 2x horizontal one).
7458 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7460 * libspi/keystrokelistener.h:
7461 * libspi/keystrokelistener.c:
7462 Initial functional implementations of KeystrokeListener.
7465 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7467 Fixed string handling for NULL strings in libspi.
7468 Added spi_freeString to free strings returned by C bindings.
7470 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7472 * libspi/keystrokelistener.h:
7473 * libspi/keystrokelistener.c:
7474 Began (no-op) implementations of KeystrokeListener
7476 * libspi/deviceeventcontroller.c:
7477 * libspi/deviceeventcontroller.h:
7478 Began creating implementations of DeviceEventController,
7479 to handle keystroke and mouse event listening and
7481 * libspi/accessible.c:
7482 Stubbed-in the implementations for
7483 Accessibility_Accessible_getState and
7484 Accessibility_Accessible_getRelationSet.
7485 * libspi/registry.c:
7486 Improved de-registration process and fixed some bugs,
7487 deregistration now works correctly.
7489 Added initialization of applications list (to NULL).
7491 Reduced speech compression from 0.5 to 0.7, for demo.
7492 Changed call to gdk_window_set_decorations()
7493 to gtk_window_set_decorated().
7494 * at-bridge/bridge.c:
7495 Bridge now deregisters when app exits, via
7496 registration of a cleanup function
7497 with the g_atexit() call.
7498 Required making 'app' static, renamed 'this_app'.
7499 Fixed broken use of bonobo_init, passing argv wrongly.
7501 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7505 Created a new directory for
7506 accessibility-related utilities, primarily for
7507 testing and demo purposes, but with possible
7514 Onscreen magnifier utility that
7515 is implemented as a bonobo service.
7517 * util/mag_client.c:
7518 * util/mag_client.h:
7519 Client-side support (simple C bindings)
7520 for Magnification service
7522 * util/mag_control.c:
7523 Client program example for
7524 Magnification service
7526 * util/Accessibility_Magnifier.server.in:
7527 Bonobo-activation file for the
7528 Magnification service.
7531 * util/idl/Magnifier.idl:
7532 IDL defining the bonobo Magnification
7536 Modifications to use the bonobo-activated magnifier
7537 above, in place of trying to connect to an existing
7538 magnifier that uses socket-listening IPC.
7540 If env variable MAGNIFIER is set, a magnifier service
7541 will be started if one does not exist.
7543 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7545 * at-bridge/bridge.c:
7546 applied patch from Marc to build and run
7547 against new glib and gtk+ (seemed like a change
7548 to bonobo_init signature was made ?)
7550 made festival-server support turned off by default.
7551 Added support for a simple magnifier (off by default)
7552 which will be added to a 'util' directory later.
7553 * at-bridge/Makefile.am:
7554 Changed "application.h" header from a 'source'
7555 to a 'dependency' of libat-bridge.
7557 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7566 Added interface implementation c files to list of
7567 includes so they are included in libcspi.
7570 Changed prototype of AccessibleAction_doAction to return a
7572 Changed prototype of AccessibleTable_getCaption to
7573 return an Accessible.
7574 Changed prototype of AccessibleTable_getSelectedRows
7575 and AccessibleTable_getSelectedColumns to
7576 return a long (returns the number of selected rows
7577 or columns respectively).
7578 Changed name of AccessibleText_refRunAttributes to
7579 AccessibleText_getAttributes.
7580 Changed prototype of AccessibleText_getCharacterExtents to
7581 return a void rather than a boolean.
7582 Added support for a AccessibleCoordType parameter
7583 specifying what type of coordinates are desired.
7584 Added an AccessibleCordType parameter to
7585 AccessibleText_getPointAtOffset.
7587 * cspi/spi_accessible.c:
7588 Added code to return the outstanding interfaces from
7589 Accessible_queryInterface.
7591 * cspi/spi_action.c:
7593 Corrected call to getNActions to call the c binding
7596 * cspi/spi_editabletext.c:
7598 Changed name from setRunAttributes to setAttributes.
7600 * cspi/spi_hyperlink.c:
7602 Changed call to getNAnchors to correctly call the c
7603 binding for an attribute.
7605 * cspi/spi_hypertext.c:
7607 Changed getImageDescription to correctly call the
7608 binding for an attribute.
7610 * cspi/spi_selection.c:
7611 Changed getNSelectedChildren to correctly call the c
7612 binding for the attribute.
7613 Changed refSelectedChild to getSelectedChild.
7617 Changed getCaption to return an Accessible.
7618 Fixed calls which retrieve attributes.
7619 Changed refAt to getAccessibleAt.
7620 Changed getNSelectedRows and getNSelectedColumns to
7624 Changed getCharacterExtents and getPointAtOffset to accept an
7625 AccessibleCoordType.
7627 Changed calls which retrieve attributes.
7628 Changed refRunAttributes to getAttributes.
7633 * idl/Hyperlink.idl:
7634 Changed n_anchors attribute to nAnchors to keep naming
7635 convention consistent.
7638 Made Table inherit from Bonobo::Unknown.
7639 Added nSelectedColumns and nSelectedRows attributes.
7642 Made Value inherit from Bonobo::Unknown.
7644 * libspi/hyperlink.c:
7645 Change for nAnchors attributte name change.
7647 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7655 Added interface implementation c files to list of
7656 includes so they are included in libcspi.
7659 Changed prototype of AccessibleAction_doAction to return a
7661 Changed prototype of AccessibleTable_getCaption to
7662 return an Accessible.
7663 Changed prototype of AccessibleTable_getSelectedRows
7664 and AccessibleTable_getSelectedColumns to
7665 return a long (returns the number of selected rows
7666 or columns respectively).
7667 Changed name of AccessibleText_refRunAttributes to
7668 AccessibleText_getAttributes.
7669 Changed prototype of AccessibleText_getCharacterExtents to
7670 return a void rather than a boolean.
7671 Added support for a AccessibleCoordType parameter
7672 specifying what type of coordinates are desired.
7673 Added an AccessibleCordType parameter to
7674 AccessibleText_getPointAtOffset.
7676 * cspi/spi_accessible.c:
7677 Added code to return the outstanding interfaces from
7678 Accessible_queryInterface.
7680 * cspi/spi_action.c:
7682 Corrected call to getNActions to call the c binding
7685 * cspi/spi_editabletext.c:
7687 Changed name from setRunAttributes to setAttributes.
7689 * cspi/spi_hyperlink.c:
7691 Changed call to getNAnchors to correctly call the c
7692 binding for an attribute.
7694 * cspi/spi_hypertext.c:
7696 Changed getImageDescription to correctly call the
7697 binding for an attribute.
7699 * cspi/spi_selection.c:
7700 Changed getNSelectedChildren to correctly call the c
7701 binding for the attribute.
7702 Changed refSelectedChild to getSelectedChild.
7706 Changed getCaption to return an Accessible.
7707 Fixed calls which retrieve attributes.
7708 Changed refAt to getAccessibleAt.
7709 Changed getNSelectedRows and getNSelectedColumns to
7713 Changed getCharacterExtents and getPointAtOffset to accept an
7714 AccessibleCoordType.
7716 Changed calls which retrieve attributes.
7717 Changed refRunAttributes to getAttributes.
7722 * idl/Hyperlink.idl:
7723 Changed n_anchors attribute to nAnchors to keep naming
7724 convention consistent.
7727 Made Table inherit from Bonobo::Unknown.
7728 Added nSelectedColumns and nSelectedRows attributes.
7731 Made Value inherit from Bonobo::Unknown.
7733 * libspi/hyperlink.c:
7734 Change for nAnchors attributte name change.
7737 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7739 implementations-- made server implementations own AtkObject pointers
7740 rather than their respective AtkInterrface pointers to fix
7741 refcounting. AtkHyperlink is still broken.
7743 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7744 * cspi/spi_accessible.c:
7745 Added method Accessible_Role_getName(),
7746 and requisite string array (role_names).
7747 Added conversion string_from_corba_strin() call
7748 to Accessible_getName and _getDescription.
7749 * libspi/accessible.c:
7750 Added implementation for Accessible_getRole()
7752 Added festival support, used if environment variable
7755 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7757 * at-bridge/bridge.c:
7758 Now allocate Accessibility_Event using
7759 Accessibility_Event__alloc() instead of g_new0().
7760 * libspi/accessibleeventlistener.c:
7761 Initialize AccessibleEventListener->callbacks to NULL.
7762 Fixed accessible__event_listener_init() param, changed to
7763 "AccessibleEventListener *" type.
7764 Changed a bonobo_object_release_unref() call to
7765 Accessibility_Accessible_unref().
7766 * libspi/listener.c:
7767 Changed Bonobo_Unknown_unref to (equivalent)
7768 Accessibility_Accessible_unref.
7769 * libspi/registry.c:
7770 Changed bonobo_object_release_unref to
7771 Accessibility_Accessible_unref.
7773 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7776 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7777 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7778 spi-util.c spi-util.h
7779 Implementations for C bindings to remaining accessibility
7782 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7785 changed return value of Action from void to boolean to
7786 bring in line with ATK.
7789 Changed getText funcions to return "out" start and end offsets.
7790 Changed getAttributes to take and offset and return the start
7791 and end offset of the attribute run.
7792 Changed getOffsetAtPoint and getCharacterExtents to take an
7793 enum describing whether coordinates are window or screen.
7796 libspi/action.c libspi/action.h libspi/editabletext.c
7797 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7798 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7799 libspi/image.h libspi/selection.c libspi/selection.h
7800 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7801 libspi/value.c libspi/value.h
7802 Added server implementations for outstanding ATK interfaces
7803 not yet implemented.
7805 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7808 Added (missing) getName() method.
7809 Made nActions an attribute.
7810 * idl/EditableText.idl:
7811 Changed order of params in setAttributes.
7812 * idl/Hyperlink.idl:
7813 Removed getAnchor, added getURI.
7815 Changed attributes to methods, for efficiency
7816 (so that getting extents can be done in one call)
7817 * idl/Selection.idl:
7818 Changed nSelectedChildren to attribute, and re-indented.
7819 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7821 * idl/Text.idl: reformatted to match our coding style.
7822 (temporarily?) removed getRowColumnAtOffset().
7823 Changed text selection API to support multi-select and
7824 non-contiguous selections, as in ATK.
7825 * idl/Value.idl: changed some methods to attributes.
7827 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7829 * libspi/listener.c(impl_notify_event):
7830 BonoboUnkown_unref the source instead
7831 of bonobo_object_release_unref - the ORB
7832 handles the releasing.
7834 * configure.in: require ORBit-2.3.94 for
7837 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7839 Tagged CVS repository 'EA_1_0'.
7840 * README.EARLY_ACCESS:
7841 Alphabetized acknowledgements list, and
7843 Listed some known dependencies of at-spi.
7845 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7847 * docs/at-spi-docs.sgml:
7848 * docs/at-spi-sections.txt:
7849 * docs/at-spi-overrides.txt: (Added zero-length file)
7850 Documentation improvements - gtk-doc should build
7851 docs for all implemented C bindings now.
7854 * cspi/spi.c: (New file)
7855 * cspi/spi_event.c: (New file)
7856 * cspi/spi_registry.c: (New file)
7857 * cspi/spi_accessible.c: (New file)
7858 * cspi/spi_application.c: (New file)
7859 * cspi/spi_component.c: (New file)
7860 Split spi_main.c into six parts, and included them from
7861 "spi.c". This is a bit of a hack, probably temporary,
7862 but required by gtk-doc, apparently.
7864 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7867 * docs/at-spi-docs.sgml:
7868 * docs/at-spi-sections.txt:
7870 Initial checkins/modifications for gtk-doc generation.
7873 Added (missing) interface query methods to Accessible's C binding.
7875 Added GenericInterface type definition.
7877 Added query for AccessibleComponent interface to focus event handler.
7878 Added printout of bounding box for focussed component.
7879 * libspi/component.c:
7880 Added partial implementation for AccessibleComponent to C binding.
7881 * idl/Application.idl:
7882 * libspi/registry.c:
7883 * libspi/listener.c:
7884 * libspi/application.c:
7885 * libspi/application.h:
7886 Changed "ID" attribute type from string to long.
7888 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7892 Made method naming consistent: methods taking object args
7893 start with uppercase, other methods (except those using
7894 acronyms) start with lowercase. Underscores delimit between
7895 object names and method names:
7896 SPI_init() - uppercase since it starts with an acronym.
7897 getDesktopCount () - lowercase start since no object param0.
7898 Accessible_getName() - uppercase object type name, studlyCaps method
7902 Added gtk-doc documentation for all currently implemented
7903 methods in the C bindings API.
7905 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7907 * Makefile.am : changed build order to build test last.
7910 Changed "createEventListener" to "CreateEventListener".
7911 * libspi/accessibleeventlistener.c :
7912 Bugfix for addition of callbacks.
7913 * test/Makefile.am :
7914 * test/simple-at.c :
7915 Added new test that uses the C bindings API.
7917 * libspi/listener.c :
7918 * libspi/registry.c :
7919 * libspi/accessibleeventlistener.c :
7920 * at-bridge/bridge.c :
7921 Renamed member "target" of Accessibility_Event to "source",
7922 which is more descriptive.
7925 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7929 * cspi/Makefile.am :
7930 Added makefile support for at-spi/cspi directory.
7933 * cspi/spi-listener.h : (NEW FILE)
7934 Added support for/use of spi-listener.h.
7936 C bindings now build successfully, with no warnings.
7937 * libspi/accessibleeventlistener.h : (NEW FILE)
7938 * libspi/accessibleeventlistener.c : (NEW FILE)
7939 * libspi/Makefile.am :
7940 Added new object type "AccessibleEventListener"
7941 which inherits from Listener, and allows attachment
7942 of in-process callbacks (so that a client with a listening
7943 object instance can add functionality to the local
7944 implementation, dynamically).
7946 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7948 * libspi/accessible.c:
7949 Add implementation for get_index_in_parent().
7951 Added #include of "spi-roletypes.h", and
7952 added enumerated type AccessibleCoordType.
7953 Added definition for KeystrokeListener (function type).
7956 * cspi/spi-statetypes.h :
7957 * cspi/spi-roletypes.h :
7959 Added these headers, used by spi.h.
7961 Added code (NOTE: not yet built by make).
7963 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7965 * libspi/Makefile.am: generate imodule
7966 at the same time as other idl compiler
7969 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7970 * libspi/registry.c :
7971 * libspi/application.c :
7972 * idl/Application.idl :
7973 Made registration with toolkit an application method,
7974 which is required since each app has its own toolkit static
7975 environment. Thus the bridge must register for
7976 notification of toolkit events from each application in turn.
7977 Toolkit notifications are now successfully registered for, and
7978 sent to the listening at client.
7980 Changed toolkit event string to use hyphens rather than underscores.
7981 * libspi/listener.c :
7982 listner now gives more info in debug mode - it reports the
7983 name of the event received, as well as the name of the source.
7986 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7988 * libspi/registry.c :
7989 added more implementation for toolkit events.
7990 Fixed bug such that toolkit event registrations
7991 (via atk) use the whole event name string, not
7993 Removed a useless call to an ORBit_ method.
7994 * at-bridge/bridge.c :
7995 Removed unused local sbuf[] variable.
7997 We now register for Gtk:GtkWidget:button_press_event
7998 events as well as "focus:" events.
8000 Add some more API from Registry.idl that was missing,
8001 for keystroke listening, keystroke and mouse event
8002 synthesis, and enumeration of accessible desktops.
8004 2001-08-16 Michael Meeks <michael@ximian.com>
8006 * configure.in: use AM_GLIB_GNU_GETTEXT.
8008 * Makefile.am (SUBDIRS): kill intl.
8010 2001-08-15 Michael Meeks <michael@ximian.com>
8012 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8014 * configure.in: upd.
8016 * configure.in: depend on a recent bonobo-activation that
8017 will find our server files ...
8019 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8021 * libspi/accessible.c : accessible_new() :
8022 Now we add the Component interface via bonobo_object_add_interface,
8023 if the contained AtkObject implements AtkComponent.
8024 * libspi/accessible.h : now include "component.h"
8025 * libspi/component.h :
8026 * libspi/component.c : added files - implementation of
8027 bonobo wrapper object for Accessibility/Component
8028 * libspi/listener.c :
8029 Added test code to check for Accessibility/Component:1.0
8030 interface and report whether it is implemented by the
8032 * libspi/registry.c :
8033 Now we check for not only the hash of the whole event
8034 string before relaying the event, we also check the
8035 "minor" event string (without the detail string).
8036 This allows event listeners to be registered against
8037 all events of a certain major+minor type, or just
8038 against a specific major+minor+detail type.
8039 * libspi/accessible.c :
8040 Added implementations for Accessible:get_parent(),
8041 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8042 * libspi/registry.c :
8043 * libspi/listener.c :
8044 Replaced calls to Accessibility_Accessible_ref() and
8045 Accessibility_Accessible_unref() with
8046 calls to bonobo_object_dup_ref() and
8047 bonobo_object_release_unref(), so that the CORBA object
8048 is dup-ed and released when relayed, as well as the bonobo object.
8050 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8052 * libspi/Makefile.am,
8053 registryd/Makefile.am,
8054 at-bridge/Makefile.am.
8055 test/Makefile.am, configure.in:
8056 reverse previous changes.
8058 * /idl/Image.idl: fix typo.
8060 * test/Makefile.am: put DEBUG_FLAGS
8063 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8065 * test/app.c: use argv[0] instead of
8068 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8070 * libspi/Makefile.am,
8071 registryd/Makefile.am,
8072 at-bridge/Makefile.am.
8073 test/Makefile.am, configure.in:
8074 cleanup, replace individual LIBS/CFLAGS with
8075 AT_COMMON_{LIBS|CFLAGS}.
8079 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8081 * configure.in, libspi/Makefile.am:
8082 Change IDL path checking for bonobo-activation
8085 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8087 * registryd/registry.c : separated event listeners to use
8088 3 separate lists (focus, window, toolkit). Began testing
8089 event names against hashes before relaying events.
8090 * test/at.c : now register for events of type "focus:"
8091 * test/app.c : now generate events of type "focus:"
8092 * at-bridge/bridge.c : register with ATK for focus events,
8093 and we now relay those focus events to any "focus:" listeners.
8094 This now works with the bridge as a GTK_MODULE when running test/at.
8095 * libspi/registry.c :
8096 * libspi/listener.c :
8097 now we ref event sources before propagating, and unref on receipt.
8098 * libspi/registry.c :
8099 some changes to internal structs, to support event typestring hashes.
8100 * text/app.c : changed the way the appname is generated.
8101 * cspi : added directory that will hold the C bindings library for
8102 non-CORBA/bonobo-savvy clients.
8103 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8104 * idl/Component.idl : added in parameter to indicate coord system for
8105 geometry-related calls.
8106 * idl/Hyperlink.idl : added readonly n_links attribute
8107 * idl/Image.idl : changed methods to attributes.
8109 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8111 * at-bridge/Makefile.am: link against
8112 ../libspi/libspi.la instead of -lspi.
8114 * at-spi/test/app.c: include
8115 bonobo-activation.h. Use a default appname
8116 if one is not provided.
8118 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8120 * idl/Registry.idl : temporarily changed register_Application
8121 to oneway, to work around issue with initial registration
8123 * idl/Application.idl : changed attribute "id" from readonly
8124 to read-write, since it needs to be assigned by Registry.
8125 * registryd/registryd.c : added call to set application id
8127 * registryd/registry.c : changed de-registration procedure to
8128 use CORBA_Object_hash() to find matching object ref in application
8129 lists and listener lists.
8130 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8131 began distinguishing between event types (work in progress).
8133 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8136 * libspi/application.c:
8137 Added implementations for get/set id, get_toolkitName,
8139 * registryd/registryd.c :
8143 Converted from use of OAF to bonobo-activation.
8144 * libspi/desktop.h :
8145 * libspi/desktop.c :
8147 Removed references to atksimpleobject, since base atkobject
8148 implementation now provides functionality we need.
8149 * libspi/atksimpleobject.c :
8150 * libspi/atksimpleobject.h :
8155 * at-bridge/Makefile.am
8156 * at-bridge/bridge.c
8159 Added directory "bridge" and contents, and added dependencies
8160 in Makefile.am/configure.in.
8161 Initial checkin of "at-bridge".
8162 This code is a GTK_MODULE which automatically registers
8163 GTK+ apps with the accessibility registry, using an object
8164 reference to the root ATK object.
8166 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8168 * po/Makefile.in.in: Remove. Again. If this
8169 doesn't get autogenerated - you need to update
8172 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8174 * po/Makefile.in.in: Add. Again.
8176 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8178 * libspi/accessible.c : added support for 'description' property.
8179 * libspi/accessible.c
8181 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8182 (since the two are now equivalent in libbonobo)
8190 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8191 Bonobo::Unknown as does Accessibility::Accessible.
8192 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8193 interface with Bonobo::Stream, since it was redundant with it.
8194 (The Stream returned by a StreamableContext object is expected to
8195 implement only a subset of Bonobo::Stream)
8197 2001-07-28 Anders Carlsson <andersca@gnome.org>
8199 * libspi/accessible.c (accessible_object_finalize): Change
8200 g_free to g_object_unref since the AtkObject is a GObject.
8202 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8204 * idl/Accessibility.idl: add new IDL files
8207 * idl/Action.idl: Definitions of actionable UI object
8208 * idl/Component.idl: Definitions of UI component geometry, etc.
8209 * idl/Hyperlink.idl: Defs of hyperlink behavior
8210 * idl/Image.idl: Def of accessible image
8211 * idl/Selection.idl: Definition of UI object with selectable children
8212 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8213 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8214 * idl/Text.idl: Interface defs for UI elements with complex textual content
8215 * idl/Value.idl: Definition of UI element that is a value controller or display
8217 2001-07-27 Michael Meeks <michael@ximian.com>
8219 * po/Makefile.in.in: remove autogenerated file from CVS.
8221 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8224 * idl/Registry.idl: include guard.
8226 * idl/Accessibility.idl: Add, and include all the other IDL
8229 * idl/*.idl: remove mass of pragmas etc.
8231 2001-07-26 Michael Meeks <michael@ximian.com>
8233 * registryd/Makefile.am (registryd_SOURCES): remove
8236 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8238 * libspi/.cvsignore, registryd/.cvsignore,
8239 test/.cvsignore: updated.
8241 * po/Makefile.in.in: gettext update.
8243 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8245 * initial CVS checkin
8247 2001-06-29 Michael Meeks <michael@ximian.com>
8249 * configure.in: add AM_CONFIG_HEADER to gen config.h