1 2007-06-26 Li Yuan <li.yuan@sun.com>
3 * atk-bridge/Makefile.am:
4 Bug #450897. Set logging domain.
5 * registryd/registry.c: (parse_event_type):
7 Handle the "document:" signal, set the type to
10 2007-06-04 Li Yuan <li.yuan@sun.com>
12 * configure.in, README, NEWS:
13 Uprev/release 1.19.3 for GNOME 2.19.3.
15 2007-05-30 Willie Walker <william.walker@sun.com>
17 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
18 439436 to add pyatspi to autotools stuff so it gets installed as
19 part of a make install.
21 2007-05-17 Li Yuan <li.yuan@sun.com>
24 Bug #439057. Add the original PATH to PATH.
26 2007-04-23 Li Yuan <li.yuan@sun.com>
29 Uprev/release 1.19.1 for GNOME 2.19.1.
31 2007-04-18 Li Yuan <li.yuan@sun.com>
33 * pyatspi/__init__.py:
34 * pyatspi/accessible.py:
35 * pyatspi/constants.py:
37 * pyatspi/registry.py:
39 Bug #430938. Add some files to create the uniform Python
42 2007-04-12 Li Yuan <li.yuan@sun.com>
44 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
45 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
46 Fix #427836. Fix leak and unify the code style.
48 2007-04-12 Yi Jin <yi.jin@sun.com>
50 * atk-bridge/bridge.c:
51 (spi_atk_bridge_focus_tracker):
52 Bug #428007. Fix a memory leak.
54 2007-04-02 Ariel Rios <ariel@gnu.org>
56 Implement the Matchrule interface required for Collection.
62 * cspi/spi_accessible.c: (Accessible_isCollection),
63 (Accessible_isMatchRule), (Accessible_getCollection),
64 (Accessible_getMatchRule):
65 * cspi/spi_collection.c: new file.
66 * cspi/spi_matchrule.c: new file.
67 * idl/Accessibility.idl:
68 * idl/Accessibility_Collection.idl: new file.
71 * libspi/collection.c: new file.
72 * libspi/collection.h: new file.
74 * libspi/matchrule.c: new file.
75 * libspi/matchrule.h: new file.
77 2007-03-29 Ariel Rios <ariel@gnu.org>
79 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
81 2007-03-22 Li Yuan <li.yuan@sun.com>
83 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
84 main context. Fix for #329454.
86 2007-03-12 Li Yuan <li.yuan@sun.com>
88 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
90 2007-03-02 Li Yuan <li.yuan@sun.com>
93 (spi_atk_bridge_register_application),
94 (deregister_application), (spi_atk_bridge_focus_tracker),
95 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
96 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
97 to prevent calling threads_enter/leave during the init and shutdown.
99 2007-02-27 Li Yuan <li.yuan@sun.com>
102 (spi_re_entrant_list_delete_link):
103 Bug #412286. Reverse previous patch.
104 * configure.in, NEWS: Uprev/release 1.17.2.
106 2007-02-26 Li Yuan <li.yuan@sun.com>
108 * libspi/accessible.c:
109 (impl_accessibility_accessible_get_attributes),
110 (impl_accessibility_accessible_get_relation_set):
111 Bug #404584 and #401299. Return an empty object instead of return NULL.
112 * configure.in, NEWS: Uprev/release 1.17.1.
114 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
116 * Makefile.am: Dist MAINTAINERS.
118 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
120 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
121 (atk_bridge_init), (spi_atk_bridge_get_registry),
122 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
123 Fix some compiler warnings and plug a leak. Closes part of
126 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
128 * cspi/bonobo/cspi-bonobo-listener.h:
129 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
130 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
131 * cspi/spi_main.c: (SPI_eventIsReady):
132 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
133 * libspi/streamablecontent.c:
134 * libspi/util.c: (spi_re_entrant_list_delete_link):
135 * login-helper/login-helper.c:
136 * registryd/deviceeventcontroller.c:
137 (spi_controller_update_key_grabs), (isEvent):
138 * registryd/registry.c:
139 * test/key-listener-test.c: (simple_at_exit):
140 * test/login-helper-server-test.c: (test_set_wm_dock),
142 Fix a bunch of warnings from sparse:
143 - ANSIfication of function declarations
145 - Add some prototypes
146 - make some stuff static
148 2007-02-14 Li Yuan <li.yuan@sun.com>
150 * libspi/accessible.c:
151 (impl_accessibility_accessible_get_attributes):
152 Bug #404584. If there is no attributes, just return NULL.
154 2007-02-12 Li Yuan <li.yuan@sun.com>
156 * configure.in, NEWS: Uprev/release 1.17.0.
158 2007-02-12 Li Yuan <li.yuan@sun.com>
160 * atk-bridge/bridge.c:
161 (atk_bridge_init): bug #400709. we must emit events even if we are not
162 registered as a full-fledged app.
163 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
164 application like openoffice shutdown. They need to unload gtk before
165 the is spi_atk_bridge_exit_func called.
167 2007-01-22 Li Yuan <li.yuan@sun.com>
169 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
171 2007-01-22 Li Yuan <li.yuan@sun.com>
173 * cspi/bonobo/cspi-bonobo.c:
174 (cspi_get_registry_ior), (cspi_init):
175 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
177 2007-01-19 Li Yuan <li.yuan@sun.com>
179 * atk-bridge/bridge.c:
180 (atk_bridge_init), (spi_atk_bridge_register_application),
181 (deregister_application), (spi_atk_bridge_focus_tracker),
182 (spi_atk_emit_eventv):
183 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
186 2007-01-08 Li Yuan <li.yuan@sun.com>
188 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
190 2007-01-08 Li Yuan <li.yuan@sun.com>
192 * registryd/registry-main.c:
193 (main): set registry ior only when register server successfully.
194 * atk-bridge/bridge.c:
195 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
196 Bug #372988, #381670. Fix memory leak.
198 2007-01-02 Bill Haneman <billh@gnome.org>
201 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
202 appending default attributes to a text attribute set.
205 2006-12-28 Li Yuan <li.yuan@sun.com>
207 * atk-bridge/bridge.c:
208 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
209 the second time, because spi_atk_emit_eventv will free any. Bug
212 2006-12-15 Li Yuan <li.yuan@sun.com>
214 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
216 2006-12-14 Li Yuan <li.yuan@sun.com>
219 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
220 (spi_atk_bridge_property_event_listener),
221 (spi_atk_bridge_signal_listener):
222 Free some CORBA objects to fix memory leak and crash.
224 2006-12-13 Li Yuan <li.yuan@sun.com>
226 Patch from Ariel Rios to fix #163132 and #377079.
227 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
228 (spi_atk_bridge_get_registry_ior):
229 Use g_warning instead of g_error and g_critical to avoid crash.
231 2006-12-11 Bill Haneman <bill.haneman@sun.com>
234 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
235 if there are no non-default attributes defined at the current offset.
238 2006-12-04 Bill Haneman <bill.haneman@sun.com>
240 * idl/Accessibility_Role.idl: Fixed the documentation for
241 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
243 2006-12-04 Bill Haneman <bill.haneman@sun.com>
245 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
247 2006-11-07 Bill Haneman <bill.haneman@sun.com>
249 Patches from Padraig O'Briain for bugs #361386 and #369377.
251 * registryd/registry.c:
252 (struct NotifyContext): Change the e_out
253 member from an Accessibility_Event struct to a pointer to
255 (notify_listeners_cb): Modify to use the new struct definition above.
256 Allows use of ORBit_copy_value instead of CORBA_any__copy.
258 * registryd/deviceeventcontroller.c:
259 (spi_dec_button_update_and_emit): Free the event's any_data
261 (spi_dec_mouse_check):Free the event details any struct
263 (spi_device_event_controller_forward_mouse_event): Free any.
264 (spi_device_event_controller_forward_key_event): Ditto.
266 2006-11-07 Bill Haneman <bill.haneman@sun.com>
268 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
269 Don't require gtk+ and gail for building most of at-spi
272 * registryd/registry-main.c (main): We now get te value of display
273 using the env var DISPLAY rather than using the gdk_display_get_default
274 to avoid dependancy of gdk. Also, once the registry is started, we set
275 the ior of the registry as an X property.
276 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
278 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
279 the registration was successfull.
280 (spi_atk_bridge_do_registration): This function now returns success
281 or not on activating the registry.
282 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
283 has been set in the X root window and return it if available.
284 (spi_atk_bridge_get_registry): We now get the registry using the IOR
285 saved as a X property rather than using the OAFID.
287 2006-10-01 Bill Haneman <bill.haneman@sun.com>
289 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
291 2006-09-25 Bill Haneman <bill.haneman@sun.com>
293 * registryd/registry.c:
294 (desktop_remove_application): Don't pass a ref to the
295 dead application with the event, since it's probably
296 defunct and will cause SEGV if we try to unref,
297 extract app name, etc.
300 2006-09-20 Bill Haneman <bill.haneman@sun.com>
302 Patch from Neo Liu <nian.liu@sun.com>,
305 * atk-bridge/bridge.c:
306 (spi_atk_bridge_document_event_listener): New, for
309 2006-08-30 Bill Haneman <bill.haneman@sun.com>
312 Changed some parameter names so as not to
313 collide with class names - allows IDL to be compiled with
314 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
316 2006-08-22 Bill Haneman <bill.haneman@sun.com>
318 * atk-bridge/bridge.c:
319 (spi_atk_bridge_signal_listener):
320 Patch from Ginn Chen, assign detail1 in children-changed
321 so that the child object can be assigned to the Any when the
322 at-spi event is emitted. Bug #350552.
324 * libspi/application.c:
325 (spi_application_finalize): Remove g_print debug output.
328 2006-08-21 Bill Haneman <bill.haneman@sun.com>
330 * configure.in: Revved to AT-SPI 1.7.11.
332 * libspi/accessible.c:
333 (spi_accessible_new): Aggregate Hyperlink interface
334 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
336 * libspi/hyperlink.c:
337 (spi_hyperlink_new): Don't aggregate Action a second time if this
338 interface is created for an AtkHyperlinkImpl object (i.e. for a
339 child Accessible, as opposed to the Hyperlink instance from
341 (get_hyperlink_from_servant): Obtain the hyperlink from
342 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
344 Patch section from Ginn Chen...
346 * cspi/spi_accessible.c:
347 (_cspi_accessible_set_from_sequence):
348 Changed g_newa to g_new0 on Ginn Chen's suggestion.
350 * libspi/accessible.c:
351 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
352 (spi_accessible_new): Add the Document interface if present.
355 (impl_getAttributes): Fixed to use AtkAttribute properly.
358 (impl_getAttributes, impl_getDefaultAttributes):
359 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
361 2006-08-17 Bill Haneman <bill.haneman@sun.com>
363 * cspi/spi-private.h, cspi/spi_accessible.c:
364 (_cspi_attribute_set_from_sequence): Renamed from
365 cspi_attribute_set_from_sequence, to suppress export.
368 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
369 inline docs, which was keeping the doc from appearing.
370 (SPIExceptionHandler): Doc this.
372 * cspi/spi_document.c:
373 Added inline gtk-docs cut-n-pasted from the doxygen
374 docs in the corresponding IDL files.
375 (AccessibleDocument_getAttributes): Fix the retval here.
377 * cspi/spi_streamablecontent.c:
378 Fixed some 'Since' tags that were accidentally doxygen-style.
381 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
382 docs from the IDL file.
384 * docs/reference/cspi/at-spi-cspi-docs.sgml:
385 Added entities for Document and StreamableContent interfaces.
387 * docs/reference/cspi/at-spi-cspi-sections.txt:
388 Added some docs that were present inline but not getting
391 2006-07-31 Bill Haneman <bill.haneman@sun.com>
394 (impl_getRangeExtents): Use the atk_text_get_range_extents
395 API instead of looping over character bounds, now that
397 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
398 (_spi_text_bounds_contain): Remove, not needed anymore.
399 (_spi_text_rect_union): Remove, not needed anymore.
401 2006-07-31 Bill Haneman <bill.haneman@sun.com>
403 * atk-bridge/bridge.c:
404 (spi_atk_emit_eventv): Fix the CORBA_free call which was
405 causing 64-bit troubles and memory leaks.
406 Special thanks to Alexander Larsson who finally seems to
407 have tracked down the problem, not just here but in
411 (spi_init_any_object): Make sure we copy the CORBA value
412 when initializing an object for passing as a CORBA_Any.
415 2006-07-21 Bill Haneman <billh@gnome.org>
417 * idl/Accessibility.idl:
418 Reverted pragma changes, this broke the build in some envs
419 including the Debian team's build and some tinderbox builds.
421 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
424 Revved to 1.7.10, and edited the Xevie check (bug #319994).
426 * idl/Accessibility.idl:
427 Reworked inclusion of Bonobo_Unknown.idl, to
428 avoid double-linking libs in the Bonobo environment.
429 Thanks to Michael Meeks for the workaround, see bug #313122.
431 * registryd/deviceeventcontroller.c:
432 (spi_controller_notify_keylisteners):
433 Set the SPI_NUMLOCK_MASK bit if the modifier
434 corresponding to the conceptual numlock state is set.
437 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
439 * idl/Accessibility_Selection.idl:
440 (deselectChild): New method.
442 * libspi/selection.c:
443 (impl_deselectChild): Implement the new IDL method.
446 (AccessibleSelection_deselectChild): Added new method.
448 * cspi/spi_selection.c:
449 (AccessibleSelection_deselectChild): New method implemented.
451 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
453 * cspi/bonobo/cspi-bonobo.c:
454 (cspi_init): Replace g_error with g_warning, prevent
455 SEGV if the registry cannot be activated. Bug #346393.
457 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
459 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
461 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
462 2006-07-12 Ariel Rios <arios@us.ibm.com>
466 * idl/Accessibility_Table.idl:
467 (getRowColumnExtentsAtIndex): New method for getting
468 selection status and extents in one API call.
471 (impl_getRowColumnExtentsAtIndex): Implementation of
473 (spi_table_class_init): Add above to epv.
477 (AccessibleTable_getRowColumnExtentsAtIndex): New
478 method, retrieves selection status and row/col extents
479 for a table cell in a single API call.
481 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
482 2006-07-12 Ariel Rios <arios@us.ibm.com>
484 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
487 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
488 New bindings for new methods defined in idl and libspi.
491 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
492 Added prototype functions.
495 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
497 (spi_text_class_init): Added previous methods.
500 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
501 * libspi/spi-private.h: Corrections.
503 2006-06-29 Bill Haneman <bill.haneman@sun.com>
505 Added Document interface (see bug #326520),
506 with work from Ariel Rios <arios@us.ibm.com>.
508 * configure.in: Bump to 1.7.8.
510 * libspi/Makefile.am: Added document.[ch] to sources
513 (SpiDocument, SpiDocumentClass):
514 New interface implementation.
515 (spi_document_get_type, spi_document_construct)
516 (spi_document_interface_new): New methods added.
517 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
518 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
519 Added macros for SpiDocument
523 (spi_document_interface_new): Get a
524 new document interface. New.
525 (get_document_from_servant): Get an AtkDocument from servant New.
526 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
527 Implementation of methods defined on idl.
528 (spi_document_class_init, spi_document_init)
529 Init methods for SpiDocument. new
531 * idl/Accessibility.idl: Added Accessibility_Document.idl.
533 * cspi/Makefile.am: Added spi_document.c to sources.
535 * cspi/spi_document.c:
536 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
537 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
538 (AccessibleDocument_getAttributes): Bindings for methods defined
541 * cspi/spi_accessible.c:
542 (Accessible_isDocument, Accessible_getDocument) New.
544 (Accessible_isDocument, Accessible_getDocument)
545 (AccessibleDocument_ref, AccessibleDocument_unref)
546 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
547 (AccessibleDocument_getAttributes): Bindings added.
549 * idl/Makefile.am: Added Accessibility_Document.idl to
552 2006-06-29 Bill Haneman <bill.haneman@sun.com>
554 * idl/Accessibility_Document.idl: New interface
555 for complex documents. First stage of fix for RFE
558 2006-06-27 Bill Haneman <bill.haneman@sun.com>
560 * libspi/streamablecontent.c:
561 (impl_content_stream_close):
562 Unref the GIOChannel on close.
564 2006-06-23 Bill Haneman <bill.haneman@sun.com>
566 * idl/Accessibility_Role.idl:
567 * libspi/accessiblerole.c:
568 * cspi/spi_accessible.c: Added ROLE_LINK,
569 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
570 Bug #345758 and bug #140635.
573 2006-06-22 Bill Haneman <bill.haneman@sun.com>
577 * idl/Accessibility_StreamableContent.idl:
578 Fix derivation of StreamableContent and ContentStream.
580 * cspi/spi_streamablecontent.c:
581 (accessible_content_stream_client_read):
582 Fix the datatype of the content stream used.
583 Interpret short reads as EOF, and stop trying to
584 read when we've fulfilled the request.
585 (AccessibleStreamableContent_getContentTypes):
586 Use g_strdup, not CORBA_string_dup, for the strings.
587 (AccessibleStreamableContent_open):
588 Correctly use the new getStream method for opening,
589 not the deprecated getContent method.
590 Use the object reference as the stream hash key.
591 Make note of the 'one stream per client per streamable'
592 limitation in the docs.
595 Add streamablecontent.h to the list of #includes.
597 * libspi/streamablecontent.c:
598 (impl_content_stream_read): Initialize the GError.
599 Allocate the incoming buffer if reading a fixed length of
600 data. Use g_memmove instead of memcpy.
601 (impl_accessibility_streamable_get_content_types):
602 Init typelist->_maximum. Only allocate the buffer if
603 there is a non-zero number of content types available.
604 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
606 * libspi/streamablecontent.h:
607 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
610 (SPI_IS_VALUE): Fix a typo in this macro too.
612 2006-06-16 Bill Haneman <bill.haneman@sun.com>
616 * idl/Accessibility_StreambleContent.idl:
617 Deprecate the Bonobo_Stream-based methods in favor of
618 a self-contained "ContentStream" interface. This should
619 allow us to remove BonoboStream dependencies entirely, since
620 there were no non-NIL implementations of the old methods anyway.
621 (ContentStream): New interface.
622 (ContentStream::SeekType): Enum.
623 (ContentStream::seek): New.
624 (ContentStream::read): New.
625 (ContentStream::close): New.
626 (getContent): Deprecate.
627 (getURI): New method, returns a URI pointing to the content, if available.
629 * libspi/streamablecontent.c:
630 (SpiContentStream): Internal object type definition used to
631 implement Accessibility::StreamableContent::ContentStream via
632 AtkStreamableContent's GIOChannel back-end.
633 (spi_content_stream_new, spi_content_stream_dispose): See above;
635 (impl_content_stream_seek, impl_content_stream_read):
636 (impl_content_stream_close): New, implementations of
638 (impl_accessibility_streamable_get_stream): Implement the
639 public method Accessibility::StreamableContent::getStream.
640 (impl_accessibility_streamable_get_uri): Implement the
641 public method Accessibility::StreamableContent::getURI.
643 * cspi/spi_streamablecontent.c:
644 (accessible_bonobo_stream_client_seek): Replaced by
645 (accessible_content_stream_client_seek).
646 (accessible_bonobo_stream_client_read): Replaced by
647 (accessible_content_stream_client_read).
648 (AccessibleStreamableContent_open):
649 (AccessibleStreamableContent_seek):
650 (AccessibleStreamableContent_read):
651 (AccessibleStreamableContent_close): Use the new 'getStream'
652 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
654 2006-06-15 Bill Haneman <bill.haneman@sun.com>
656 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
657 remove from other .idl files (except LoginHelper).
660 2006-06-14 Bill Haneman <bill.haneman@sun.com>
662 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
665 * configure.in, */Makefile.am: mingw patch, modified from
666 original patch by yselkowitz. Bug #314216.
668 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
669 for completeness. Bug #163111.
671 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
672 * libspi/util.c, registryd/registry-main.c:
673 Fix guint/char* casts.
674 Patch from chpe, bug #333883.
676 2006-06-12 Bill Haneman <bill.haneman@sun.com>
678 * configure.in: Require atk-1.12.0, to pick up
679 new API. (bug #344412).
681 * libspi-1.0-uninstalled.pc.in:
683 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
684 Fix for #341488 from Samual Thibault.
686 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
687 Thanks to Brian Pepple.
689 2006-06-09 Bill Haneman <bill.haneman@sun.com>
692 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
693 New, missing implementations of attribute reading methods
696 * cspi/spi.h, spi_value.c:
697 (AccessibleValue_getMinimumIncrement): New methods wrapping
698 the (formerly unimplemented) property from Value.idl.
701 (impl_get_minimumIncrement): Implementation for retrieving
702 the minimum valuator increment, (formerly unimplemented).
705 2006-06-09 Bill Haneman <bill.haneman@sun.com>
707 * idl/Accessibility_State.idl:
708 Added STATE_VISITED (bug #338369).
710 * cspi/spi_accessible.c:
711 (spi_state_to_corba) Fixed marshalling of new statetypes.
714 (spi_init_state_tables, impl_getStates):
715 Fixed conversion of new statetypes to/from ATK.
717 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
719 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
720 definitions/conversions for new roles from ATK.
722 * idl/Accessibility_Relation.idl:
724 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
725 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
726 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
728 * libspi/accessible.c: Fixed marshalling of new role types from
731 2006-04-17 Matthias Clasen <mclasen@redhat.com>
733 * revert my previous change
735 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
737 * configure.in: Remove obssolete no_NO locale
738 * po/no.po: And the translation.
740 2006-04-05 Matthias Clasen <mclasen@redhat.com>
742 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
743 memory-management error that caused crashes on x86_64.
746 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
748 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
750 2006-03-27 Bill Haneman <bill.haneman@sun.com>
752 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
753 to strip "cspi_*" from the symbol table.
755 * cspi/spi_streamablecontent.c:
756 (get_streams): Make this method static.
759 (_cspi_exception_throw): rename to cspi_exception_throw,
760 so we can strip it with the rest...
763 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
765 2006-03-27 Bill Haneman <bill.haneman@sun.com>
767 Add doxygen-generated IDL docs to tarball, and enable
768 doxygen during build/install when available. Bug #301345.
770 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
772 * docs/reference/Makefile.am: Add idl to SUBDIRS.
774 * docs/reference/idl/Makefile.am: Optionally use
775 doxygen to create docs.
777 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
779 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
781 2006-03-20 Bill Haneman <bill.haneman@sun.com>
784 (impl_get_selected_rows): Don't free the selection if it's
785 empty or has not been assigned; init it to NULL so you can tell.
786 Also, allow for zero selected rows.
787 (impl_getSelectedColumns): Ditto. Bug #319088.
789 2006-03-11 Vincent Untz <vuntz@gnome.org>
791 Leak fix for bug #334217.
793 * libspi/application.c: spi_application_toolkit_event_listener():
794 don't duplicate the string we pass as an argument to
795 spi_init_any_nil() since spi_init_any_nil() already does it
796 * registryd/deviceeventcontroller.c:
797 (spi_dec_button_update_and_emit): ditto
798 (spi_dec_mouse_check): ditto
799 (spi_dec_emit_modifier_event): ditto
800 (spi_device_event_controller_forward_mouse): ditto
801 * registryd/registry.c:
802 (desktop_add_application): ditto
803 (desktop_remove_application): ditto
805 2006-02-20 Bill Haneman <billh@gnome.org>
807 * configure.in: Rev to 1.7.6.
809 Leak fixes for bug #331924.
811 * atk-bridge/bridge.c:
812 (spi_atk_bridge_init_base): Don't dup the string, it's already
813 been dup-ed. Fixes a leak.
814 (spi_atk_emit_eventv): Move the CORBA_free call here,
815 instead of spi_atk_state_event_listener; fixes another leak.
816 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
817 notifying the registry; fixes another leak.
819 * registryd/registry.c:
820 (registry_flush_event_queue): Free the CORBA_any when
821 flushing the event, not just the string. Fixes another leak.
822 (registry_queue_event): Free the CORBA_any when dropping
823 events on the floor; fixes another leak.
826 (spi_init_any_object, spi_init_any_nil):
827 Always set _release to TRUE. Fixes another leak.
829 2006-02-20 Bill Haneman <billh@gnome.org>
831 * configure.in: Rev to 1.7.5.
832 Reinstate localization of this module. Thanks for Rodney
833 Dawes for fixing my patch.
835 * registryd/Makefile.am: Remove Accessibility_Registry.server
836 from dist, since it needs to be re-created at configure time.
839 2006-01-31 Bill Haneman <billh@gnome.org>
841 * configure.in: Rev to 1.7.4 (to include build fix below).
843 * idl/Makefile.am: Include Selector.idl in dist.
847 (cspi_internal_event_get_object): Handle case where
848 "object" isn't present, i.e. CORBA_TC_Object doesn't match
849 the EventDetails data.
850 (cspi_internal_event_get_text): Handle NULL string.
851 (cspi_internal_event_get_rect): Handle missing/empty rect
852 data, Accessibility_TC_RectBounds doesn't match any_data.
854 2006-01-30 Bill Haneman <billh@gnome.org>
858 * atk-bridge/bridge.c:
859 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
860 interface and use that when instantiating a new source
861 accessible. Better fix for bug #321814.
863 2006-01-27 Bill Haneman <billh@gnome.org>
865 * idl/Accessibility_Selector.idl: Added to the cvs repository.
867 * configure.in: Revved to 1.7.3.
869 2006-01-17 Bill Haneman <billh@gnome.org>
871 * configure.in: Revved to 1.7.2, re-dist to include docs.
873 2006-01-09 Bill Haneman <billh@gnome.org>
875 * configure.in: Removed po/Makefile.in inclusion, we do not need
878 * idl/Accessibility.idl: Improved documentation here, and for all
879 IDL in the 'GNOME::Accessibility' namespace.
881 * idl/Accessibility_Accessible.idl:
882 (LOCALE_TYPE): Added enum.
883 (AttributeSet): New, for returning multiple name/value attribute pairs.
884 (RoleSet): New, sequence of Roles, to be used in upcoming
886 (getAttributes): New API, allows retrieval of name/value pair
887 annotations for all kinds of Accessible objects. C.f.
888 Text:getAttributes, which is only for typographic/textual/semantic tags in
890 (getApplication): New, retrieves the host/containing Application
891 instance for an object (without having to walk up the whole tree).
893 * idl/Accessibility_Component.idl:
894 (getAlpha): New method, returns the alpha blending (aka 'opacity')
895 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
898 * idl/Accessibility_Event.idl:
899 (EventDetails): New struct definition, for encapsulating
900 commonly-queried information about emitted events. The use of
901 this structure in emitted events (in the 'any' member of
902 Accessibility_Event) should greatly reduce the number of
903 client-server roundtrips necessary.
905 * idl/Accessibility_Image.idl:
906 (imageLocale): New, a readonly attribute indicating the POSIX
907 LC_MESSAGES locale of the image and associated Alt/descriptive
910 * idl/Accessibility_Relation.idl:
911 (RELATION_PARENT_WINDOW_OF): Include, as complement to
914 * idl/Accessibility_Role.idl:
915 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
916 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
917 complex document and form support.
919 * idl/Accessibility_State.idl:
920 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
921 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
922 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
923 for support of complex documents and forms.
925 * idl/Accessibility_StreamableContent.idl:
926 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
927 allow old bonobo-stream interfaces to be deprecated in the next
930 * idl/Accessibility_Text.idl:
931 (getAttributeValue): New method, allows query-by-name of single
934 * libspi/accessible.c:
935 Added support for new roles. Implemented new methods
936 (impl_accessibility_accessible_get_application): New
937 (impl_accessibility_accessible_get_attributes): New
939 * libspi/component.c:
940 (impl_accessibility_component_get_alpha): New.
943 (impl_accessibility_image_get_locale): New.
945 * libspi/relation.c: Added support for new relation type.
947 * libspi/stateset.c: Added support for new state types.
950 (impl_getAttributeValue): New.
953 New prototypes for private methods
955 spi_init_any_object, spi_init_any_string,
958 * libspi/spi_event.c:
959 Use EventDetails in the event emission methods.
961 * cspi/spi-private.h:
962 (cspi_role_from_spi_role): Expose this adapter method, since
963 we need it in the bridge (see below).
966 (AccessibleEvent_getSourceName):
967 (AccessibleEvent_getSourceRole):
968 (AccessibleEvent_getSourceApplication):
969 (AccessibleEvent_getSourceDetails):
970 New methods for interrogating/demarshalling
971 event details (i.e. source's accessible name, role,
974 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
975 Make use of the new EventDetails struct in events, if present.
976 (AccessibleEvent_getSourceName)
977 (AccessibleEvent_getSourceRole)
978 (AccessibleEvent_getSourceApplication)
979 (AccessibleEvent_getSourceDetails): Implement the newly exposed
981 (Accessible_getAttributes): New, wraps
982 Accessibility_Accessible_getAttributes.
983 (Accessible_getHostApplication): New, wraps
984 Accessibility_Accessible_getApplication.
987 (AccessibleImage_getImageLocale): New wrapper for
988 Accessibility_Image_get_imageLocale.
990 * cspi/spi_component.c:
991 (AccessibleComponent_getAlpha): New wrapper for
992 Accessibility_Component_getAlpha.
994 * atk-bridge/bridge.c:
995 Use new prototyped for init_any methods.
996 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
997 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
998 (spi_atk_bridge_init_base): Wrappers
999 for spi_init_any_* methods, due to refactor; include extended
1000 information in the Accessibility_EventDetails struct, for instance
1001 accessible-name, Role, and containing Application.
1003 * registryd/registry.c:
1004 Use new event emission (with EventDetails).
1006 * registryd/deviceeventcontroller.c:
1007 Use new event emission (with EventDetails).
1009 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1011 * configure.in: Generate po/Makefile.in
1012 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1013 * cspi/spi_streamablecontent.c:
1014 (accessible_bonobo_stream_client_seek),
1015 (AccessibleStreamableContent_seek): Remove unused vars.
1016 * libspi/application.c: Missing header.
1017 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1018 * login-helper/login-helper.c: (login_helper_finalize),
1019 (login_helper_init): Remove unused stuff
1020 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1021 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1022 and surround some with #ifdef GRAB_BUTTON.
1023 * test/event-listener-test.c: (main), (report_event),
1024 (report_caret_event), (report_detail_event),
1025 (report_detail1_event), (report_bounds_event), (report_text_event),
1026 (report_text_selection_event),
1027 (report_active_descendant_changed_event),
1028 (report_children_changed_event), (report_name_changed_event),
1029 (report_description_changed_event), (report_parent_changed_event),
1030 (report_window_event), (report_table_summary_event),
1031 (report_table_header_event), (report_table_caption_event),
1032 (report_table_row_description_event),
1033 (report_table_column_description_event), (timing_test_event):
1034 Remove a bunch of unused variables and fix a slew of format specifiers
1035 * test/key-listener-test.c: (report_all_key_event): Format specifier
1036 * test/keypad-test.c: (print_key_event): Same
1037 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1039 * test/screen-review-test.c: (main), (print_chunk_debug),
1040 (review_buffer_get_text_chunk), (debug_chunk_list),
1041 (string_guess_clip), (text_chunk_get_clipped_string),
1042 (text_chunk_list_to_string), (get_screen_review_line_at):
1043 Remove unused variables and fix format specifiers.
1044 * test/simple-at.c: (report_text_event): Format specifier fix.
1045 * test/stress-test.c: (main): Remove unused var.
1047 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1049 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1050 (yes I know that's useless)
1052 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1054 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1056 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1058 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1059 urgh-fix embarassing typo.
1061 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1063 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1064 do a faster, less problematic _unref call on this local
1065 object, rather than a slower (potentially cross-thread
1066 complicated) CORBA call.
1068 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1070 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1071 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1072 * registryd/deviceeventcontroller.c:
1073 (spi_controller_notify_mouselisteners),
1074 (impl_generate_keyboard_event):
1075 * test/screen-review-test.c: (chunk_bounds_within):
1076 * test/test-simple.c: (test_desktop): Remove some unused code
1077 and fix compiler warnings. Closes bug #320049.
1079 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1081 * registryd/deviceeventcontroller.c:
1082 (spi_controller_notify_keylisteners): Check
1083 to make sure the event listener has requested 'preemptive'
1084 status before pre-empting an event.
1086 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1088 * configure.in, README, NEWS: Release 1.6.5.
1090 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1092 * test/window-listener-test.c: Fix a printf
1093 format error. (#169453)
1095 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1097 * tests/test-simple.c:
1098 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1099 relying on the old string from the key event hanging around after
1100 the event handler returns. Fixes broken 'make check'.
1102 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1104 * Added Marathi (mr_IN) translations.
1106 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1108 * cspi/bonobo/cspi-bonobo-listener.c:
1109 (cspi_event_list_remove_by_cb): Fix the build.
1111 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1113 * cspi/bonobo/cspi-bonobo-listener.c
1114 (cspi_event_list_remove_by_cb): actually filter by callback.
1116 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1118 * registryd/registry.c (remove_listener_cb):
1119 Make deregistration filter rules match the event emission rules.
1121 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1123 * registryd/registry.c (remove_listener_cb),
1124 (impl_accessibility_registry_deregister_global_event_listener),
1125 (impl_accessibility_registry_deregister_global_event_listener_all):
1126 pass a closure to the remove callback to filter listeners more
1127 accurately on remove.
1129 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1131 * configure.in: Revved to 1.6.4.
1132 Remember to put quotes around XEVIE_LIBS assignment.
1133 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1136 * tests/event-listener-test.c: Tweaked the tests - more detail
1137 from caret events, and some interrogation of AccessibleText APIs.
1138 Commented-out the bounds-changed events by default, since they can
1141 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1143 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1144 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1145 Same here. Closes bug #167806
1147 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1149 * atk-bridge/bridge.c:
1150 (spi_atk_bridge_signal_listener):
1151 Free the any._value if any._release is TRUE,
1152 since the ORB won't do it for us in this case
1153 [because this method is not a skel].
1154 Fix for bug #168679.
1156 2005-03-30 Steve Murphy <murf@e-tools.com>
1158 * configure.in: Added "rw" to ALL_LINGUAS.
1160 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1162 * configure.in: Improved check for HAVE_XEVIE, to detect
1163 presence on XOrg, where -lXevie is a separate library.
1165 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1167 * configure.in, NEWS, README: Revved to 1.6.3.
1169 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1171 * configure.in: Added "xh" to ALL_LINGUAS.
1173 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1175 * atk-bridge/bridge.c:
1176 (atk_bridge_init): Added missing NULL in g_strconcat(),
1177 also check for symlink before logging to
1178 insecure directory. Thanks to meissner@suse.de.
1180 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1182 * tests/login-helper-server-test.c: Add return call to main
1183 function. Patch from Chris Lahey. Fixes bug #165129.
1185 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1187 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1189 2004-12-09 Bill Haneman <billh@gnome.org>
1191 * registryd/registry-main.c:
1192 Added #define <string.h> for strrchr. (bug 160862).
1193 Thanks to Vincent Berger for catching.
1195 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1197 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1198 restart registry process if the registry process is found to have died
1199 and the current process is exiting.
1200 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1201 application if the registry process has died.
1202 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1203 does not return a registry object.
1204 (spi_atk_tidy_windows): Give up if the registry process has died.
1206 This fixes problems with hangs and crashes when logging out.
1208 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1210 * registryd/desktop.c: Add checking that we are not exiting before
1211 calling spi_desktop_remove_application in
1212 abnormal_application_termination. Fix for bug #152147.
1214 2004-12-02 Bill Haneman <billh@gnome.org>
1216 * configure.in, NEWS, README: Revved to 1.6.1.
1218 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1219 * atk-bridge/bridge.c:
1220 (atk_bridge_init): Save the pid when we start, to detect forks.
1221 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1222 if we're in a forked pid.
1224 2004-10-09 Bill Haneman <billh@gnome.org>
1226 * idl/Accessibility_LoginHelper.idl:
1227 Improved inline documentation.
1229 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1231 * configure.in: Added gl (Galician) to ALL_LINGUAS
1233 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1235 * libspi/accessible.c:
1236 (impl_accessibility_accessible_get_role_name),
1237 (impl_accessibility_accessible_get_local_role_name):
1238 NULL vs. 0 cleanups.
1239 * libspi/component.c:
1240 (impl_accessibility_component_get_accessible_at_point):
1242 * libspi/eventlistener.c: (spi_event_listener_new):
1244 * libspi/stateset.c: (impl_compare): More of the same
1245 * libspi/table.c: (impl_getRowDescription): Again.
1246 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1247 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1248 (impl_generate_keyboard_event): Same.
1249 * registryd/registry-main.c: (main): Same
1250 * test/event-listener-test.c: (test_exit): Same
1251 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1252 * test/keysynth-test.c: (test_key_synthesis): Same
1253 * test/login-helper-server-test.c: (main): Fix warning.
1254 * test/screen-review-test.c: (test_exit): Fix include.
1255 * test/simple-at.c: (simple_at_exit), (_festival_init):
1258 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1260 * configure.in, NEWS, README: Revved to 1.6.0.
1262 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1264 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1265 was missing the HTML docs.
1267 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1269 * configure.in: only cleanups:
1270 - better looking PKG_CHECK_MODULES() output,
1272 - declare in one common place required versions of other tools using
1275 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1277 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1278 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1279 required ATK version accordingly.
1281 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1283 * cspi/bonobo/cspi-bonobo.c:
1284 (cspi_display_name): Fix C99ism.
1285 * atk-bridge/bridge.c:
1286 (spi_display_name): Fix C99ism.
1287 Patch from Jens Granseuer, jensgr@gmx.net.
1289 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1291 * configure.in: Added "or" to ALL_LINGUAS.
1293 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1295 * configure.in, NEWS, README: Revved to 1.5.4.
1297 * registryd/registry-main.c:
1298 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1301 * cspi/bonobo/cspi-bonobo.c:
1302 (cspi_display_name): New convenience method, gets DISPLAY with
1303 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1304 (cspi_init): Set the activation env value above before getting
1307 * atk-bridge/bridge.c:
1308 (spi_display_name): Create the AT_SPI_DISPLAY activation
1309 environment for an app, based on the DISPLAY environment with the
1310 screen number stripped off.
1311 (atk_bridge_init): Allow redirection of error messages to a log.
1312 (spi_atk_bridge_get_registry): Call
1313 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1315 Fixes for bugs #149962, #136986, #144086.
1317 2004-08-16 Christian Rose <menthos@menthos.com>
1319 * configure.in: Added "bs" to ALL_LINGUAS.
1321 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1323 * configure.in: Added nb to ALL_LINGUAS.
1325 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1328 (SPI_init): Return error code '2' if the activated
1329 registry cannot be pinged. Fixes bug #147648.
1331 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1333 * registryd/deviceeventcontroller.c:
1334 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1335 rely on timer-poll instead, to avoid conflict with
1338 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1340 * configure.in: Revved to 1.5.3.
1342 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1344 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1346 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1348 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1350 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1352 * atk-bridge/bridge.c:
1353 (spi_atk_bridge_do_registration):
1354 Register with ATK for AtkComponent:bounds-changed events.
1355 (api_atk_bridge_signal_listener):
1356 Marshal the AtkRectangle info into the event notification
1357 for object:bounds-changed events.
1360 (spi_init_any_rect): New method, inits a corba struct of
1361 type Accessibility_BoundingBox from an AtkRectangle.
1363 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1366 (SPIRect): New struct definition.
1367 (SPI_freeRect): New declaration.
1368 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1371 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1372 implemented. Gets the bounding box data from the CORBA_any
1373 associated with a bounds-changed event notification.
1374 (cspi_internal_event_get_rect): New, used internally by above method.
1377 (SPI_freeRect): Implemented this new method, for freeing
1380 * test/event-listener-test.c:
1381 (main, report_bounds_event):
1382 Added a test for object:bounds-changed events.
1384 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1386 * test/login-helper-server-test.c:
1387 (main): Fix C99-ism. Thanks to Jens Granseuer.
1389 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1391 * libloginhelper-1.0.pc.in:
1392 * idl/Accessibility_LoginHelper.idl:
1393 * login-helper/Makefile.am:
1394 * login-helper/login-helper.[ch]:
1395 * test/login-helper-client-test.c:
1396 * test/login-helper-server-test.c: Added files missing from CVS.
1397 Files obtained from at-spi-1.5.2 tarball.
1399 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1401 * configure.in: Create login-helper/Makefile.
1402 Incremented micro version.
1404 * Makefile.am: Add login-helper subdir and pkgconfig data.
1406 * login-helper: New subdir.
1408 * libloginhelper-1.0.pc.in: New.
1410 * idl/Accessibility_LoginHelper.idl: New file, defines
1411 interface whereby authentication clients can identify agents which
1412 need access to services during the login process, e.g. screen lock
1415 * login-helper/Makefile.am : New.
1417 * login-helper/login-helper.[ch] : New, implementation of
1418 a LoginHelper base class. Services needing LoginHelper can subclass.
1420 * test/Makefile.am : Added test for login-helper, client and
1423 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1424 Use proper prefix in #include files.
1426 * test/login-helper-client-test.c: New.
1428 * test/login-helper-server-test.c: New.
1430 2004-05-27 Alexander Shopov <ash@contact.bg>
1432 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1434 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1436 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1437 is positive. This should make it easier to detect inapprorpiate unref
1440 2004-05-11 James Henstridge <james@daa.com.au>
1442 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1443 no-op and deprecated.
1445 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1447 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1449 2004-04-28 Bill Haneman <billh@gnome.org>
1451 * Makefile.am: Added --enable-gtk-doc to
1452 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1454 2004-04-19 Bill Haneman <billh@gnome.org>
1456 * configure.in: Revved to 1.5.1.
1458 * registryd/deviceeventcontroller.c:
1460 (DEControllerPrivateData): Added fields for
1461 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1462 (spi_dec_replace_map_keysym): New internal utility for
1463 replacing a keysym in the keymap - used to allow
1464 synthesis of individual characters which aren't in the
1466 (spi_dec_reset_reserved): New; resets the changed keysym value
1468 (keycode_for_keysym): We now try to deal with failed
1469 XKeysymToKeycode requests by changing a keymap value
1470 and returning a reserved keycode. We now take
1471 a DEController pointer as first arg.
1472 (spi_controller_register_with_devices): Call XkbGetMap with
1473 the XkbKeySymsMask. Find the highest keycode in the current
1474 keymap which doesn't have any grabs, and mark that one for
1475 temporary re-mapping when out-of-range KeySyms are synthesized.
1476 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1479 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1481 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1483 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1485 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1487 2004-03-24 Bill Haneman <billh@gnome.org>
1490 (AccessibleTable_addRowSelection),
1491 (AccessibleTable_addColumnSelection),
1492 (AccessibleTable_removeRowSelection),
1493 (AccessibleTable_removeColumnSelection):
1494 Add declarations for spi wrappers which were
1495 inadvertantly omitted. Fixes bug #133413.
1498 Revved to 1.5.0 (unstable series for GNOME 2.7).
1500 2004-03-24 Bill Haneman <billh@gnome.org>
1502 * atk-bridge/bridge.c:
1503 Bracketed some debug output in
1504 conditionals, to avoid printing it in normal use.
1507 * libspi/hyperlink.c:
1508 Don't cast 'object' to ATK_OBJECT when constructing
1509 an AtkAction interface for a hyperlink.
1510 See discussion in bug #120659.
1512 * test/key-listener-test.c:
1513 (report_all_key_event): Send output to stderr,
1514 not stdout, for consistency with the rest of the test callbacks.
1517 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1518 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1519 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1520 try incrementing the revision AFTER doing a dist, at least
1523 2004-03-22 Bill Haneman <billh@gnome.org>
1525 * configure.in: Revved to 1.4.0, libtool 9.14.9
1527 2004-03-17 Laszlo Peter <laca@sun.com>
1529 * libspi-1.0-uninstalled.pc.in: add idldir
1531 * cspi-1.0-uninstalled.pc.in: add idldir
1533 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1535 * configure.in: Added "en_GB" to ALL_LINGUAS
1537 2004-03-15 Bill Haneman <billh@gnome.org>
1539 * configure.in: Revved to 1.3.16,
1542 2004-03-15 Laszlo Peter <laca@sun.com>
1544 * libspi-1.0-uninstalled.pc.in: new file
1546 * cspi-1.0-uninstalled.pc.in: new file
1548 * configure.in: add the new pc files to AC_OUTPUT
1550 * Makefile.am: add the new pc files to EXTRA_DIST
1552 2004-03-12 Bill Haneman <billh@gnome.org>
1554 * atk-bridge/bridge.c:
1555 (spi_atk_bridge_key_listener):
1556 Make sure to return consumed=FALSE if snoop
1557 event is not dispatched to listener.
1560 2004-03-01 Bill Haneman <billh@gnome.org>
1562 * configure.in: Revved to 1.3.15,
1565 2004-03-07 Danilo Segan <dsegan@gmx.net>
1567 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1569 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1571 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1573 2004-03-01 Bill Haneman <billh@gnome.org>
1575 * configure.in: Revved to 1.3.14.
1578 (SPI_exit): Removed "bye-bye" exit message.
1579 Moved "leak" report to happen before the
1580 iteration over the leaked refs list.
1581 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1583 2004-02-24 Bill Haneman <billh@gnome.org>
1585 * configure.in: Revved to 1.3.13.
1587 * docs/reference/cspi/Makefile.am:
1588 Correct typo that was breaking the docs build.
1590 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1592 * autogen.sh: Require version 1.7 of automake.
1594 * configure.in: call GTK_DOC_CHECK([1.0])
1596 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1598 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1600 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1602 * test/Makefile.am: Remove use of CFLAGS.
1604 This fixes bug #132987.
1606 2004-02-11 Bill Haneman <billh@gnome.org>
1608 * reverted most of Tomasz' patch below, since it was breaking
1609 builds (see bug #134058).
1611 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1613 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1614 correct pass "make dist" (empty .. because seems no sach types in
1615 header files with gtk-doc markups).
1616 * docs/reference/cspi/Makefile.am, configure.in:
1617 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1618 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1619 * Makefile.am: added:
1620 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1621 for force correct pass generate documentation on "make distcheck".
1622 * libspi/Makefile.am: fixes for automake >= 1.6.
1623 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1624 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1627 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1629 * docs/reference/cspi/Makefile.am (install-data-local): Install
1630 index.sgml since the doc autobuilder on widget.gnome.org looks for
1633 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1635 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1638 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1640 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1642 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1644 * test/simple-at.c: Fixed null string problems that cause core
1645 dumping problems on Solaris.
1647 2004-01-12 Bill Haneman <billh@gnome.org>
1649 * configure.in: Incremented version to 1.3.11.
1651 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1653 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1654 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1657 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1659 * configure.in: Added "fa" to ALL_LINGUAS.
1661 2003-12-20 Arafat Medini <lumina@silverpen.de>
1663 * configure.in: Added "ar" to ALL_LINGUAS
1665 2003-12-16 Bill Haneman <billh@gnome.org>
1667 * registryd/registry-main.c:
1669 Set the reg_env DISPLAY variable before registering the
1670 activated registry service. Fixes bug #129479.
1672 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1674 * configure.in: Added "id" in ALL_LINGUAS
1675 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1677 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1679 * registryd/deviceeventcontroller.c (global_filter_fn):
1680 When an event is consumed discard any XEvents were added to
1681 the queue while dealing with the the event. This can happen if
1682 processing of the event takes a long time. Call XUngrabKeyboard
1683 if an event was discarded. This fixes bug $124837.
1684 Only call wait_for_release_event for a KeyPress.
1685 Use local variable display instead of spi_get_display().
1686 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1689 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1691 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1692 Allow for mask to contain values other than NumLock mask.
1695 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1697 * registryd/devieceventcontroller.c:
1698 (wait_for_release_event): Change first parameter from GdkEvent to
1700 (global_filter_fn); Correct call to wait_for_release_event.
1704 2003-12-08 Bill Haneman <billh@gnome.org>
1708 * registryd/ucs2keysym.c: New file.
1710 * registryd/deviceeventcontroller.c:
1711 (dec_keysym_for_unichar): Remove old partial implementation and
1712 replace with call to ucs2keysym(), which is much more complete.
1713 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1718 2003-12-05 Bill Haneman <billh@gnome.org>
1720 * configure.in: Version 1.3.9.
1722 * docs/reference/cspi/tmpl/spi_registry.sgml:
1723 Added reference to libspi/keymasks.h to the
1724 description of Registry queries: AccessibleKeyMaskType.
1727 2003-12-04 Bill Haneman <billh@gnome.org>
1729 Fix for bug #121974.
1731 * idl/Accessibility_Application.idl:
1732 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1733 setlocale's LC_TYPEs.
1734 (Accessibility::Application::getLocale): New method.
1735 Allows clients to query the locale, by type, of an app.
1738 * cspi/spi_application.c:
1739 (AccessibleApplication_getLocale): New method, wraps IDL above.
1741 * libspi/application.c:
1742 (spi_application_class_init): Init epv entry for getLocale.
1743 (impl_accessibility_application_get_locale): Impl for above.
1745 * test/test-simple.c:
1746 (test_application): Added assertion for getLocale, i.e.
1747 that the string from AccessibleApplication_getLocale (app, type)
1748 is the same as that from setlocale (type, NULL);
1750 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1752 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1753 the keyboard on a timeout intil the key state goes from pressed to
1754 released. Fixes bug #111429.
1756 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1758 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1759 root object so that it is present when a context menu in an
1760 out-of-process applet is popped up.
1761 (spi_atk_bridge_do_registration): Create acceessible application root
1762 object only if it does not exist.
1764 This fixes bug #125834.
1766 2003-12-01 Bill Haneman <billh@gnome.org>
1768 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1771 Added enum for AccessibleStreamableContentSeekType.
1772 (AccessibleStreamableContent_freeContentTypeList): New.
1774 * cspi/spi_streamablecontent.c:
1775 (accessible_bonobo_stream_client_seek): New private method.
1776 (AccessibleStreamableContent_seek): Implemented this method,
1777 using Bonobo_Stream_seek.
1778 (AccessibleStreamableContent_freeContentTypeList): New method
1779 for freeing the return value from
1780 AccessibleStreamableContent_getContentTypes.
1781 (stream_cache_item_free): Replaces stream_release; stop leaks.
1782 (stream_release): removed.
1783 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1784 free the memory properly.
1786 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1788 Fix for bug #116009.
1790 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1792 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1794 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1796 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1798 2003-12-01 Bill Haneman <billh@gnome.org>
1800 Fix for bug/rfe #127463.
1802 * idl/Accessibility_Accessible.idl:
1803 (getLocalizedRoleName): New.
1804 (unimplemented4): Removed (replaced by above).
1806 * libspi/accessible.c:
1807 (impl_accessibility_accessible_get_local_role_name): New.
1808 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1812 (Accessible_getLocalizedRoleName): New.
1814 * cspi/spi_accessible.c:
1815 (Accessible_getLocalizedRoleName): New.
1817 2003-12-01 Bill Haneman <billh@gnome.org>
1819 Fix for bug #118581.
1820 * idl/Accessibility_Text.idl:
1821 (getDefaultAttributes): New.
1822 (unimplemented4): Removed (replaced by above method).
1825 (impl_getDefaultAttributes): New method.
1826 (spi_text_class_init):
1827 initialize the get_default_attributes slot in the epv.
1830 (AccessibleText_getDefaultAttributes): New prototype.
1833 (AccessibleText_getDefaultAttributes): New method.
1835 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1837 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1838 write beyond the end of the table. Fixes bug #120473.
1840 2003-09-30 Christian Rose <menthos@menthos.com>
1842 * configure.in: Added "eu" to ALL_LINGUAS.
1844 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1846 * configure.in: ALL_LINGUAS: Added no.
1848 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1850 * configure.in: Added lt to ALL_LINGUAS.
1852 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1854 * atk-bridge/bridge.c:
1855 (atk_bridge_init): Register event listeners always even for
1856 out-of-process applet.
1857 (spi_atk_bridge_toplevel_added): Remove call to
1858 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1859 (spi_atk_bridge_toplevelk_removed): Remove call to
1860 spi_atk_deregister_event_listenersa as the listeners are now always
1862 (spi_atk_bridge_register_application): Remove call to
1863 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1865 This fixes bug #120991.
1867 * libspi/table.c (impl_getColumnDescription): Correct typo,
1868 pointed out by Bolian.Yin@sun.com.
1870 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1872 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1874 2003-09-08 Bill Haneman <billh@gnome.org>
1876 * configure.in: Revved to 1.3.7.
1878 This is the GNOME 2.4.0 release of at-spi.
1880 * docs/reference/cspi/Makefile.am:
1881 Removed spurious inclusion of 'index.sgml' in the
1882 html directory; this was breaking make distcheck and
1883 also some other build environments.
1885 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1887 * registryd/registry.[ch}:
1888 Add queue_handler_id and focus_object to SpiRegistry data structure.
1889 (registry_flush_event_queue): If event being discarded is
1890 "state-change:focused" store object as focus_object.
1891 (registry_start_queue): Remove queue handler and focus object
1893 (registry_discard_event): New function which discards a focus event
1894 if we had stored focus object in the registry.
1895 (registry_queue_event): Add new check that is_queueing is set as this
1896 function is reentrant.
1897 (registry_filer_event): Add call to registry_discard_event.
1899 This resolves issues raised in bug #108664.
1901 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1903 * configure.in: Added "bn" to ALL_LINGUAS.
1905 2003-09-04 Bill Haneman <billh@gnome.org>
1907 * cspi/spi_event.c: Documentation improvements for
1908 (SPI_registerAccessibleKeylistener).
1910 * docs/reference/tmpl/spi_registry.sgml:
1911 Documentation improvements for SpiAccessibleKeylistenerCB.
1913 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1915 * configure.in: Added "ro" to ALL_LINGUAS.
1918 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1920 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1921 not decremented to zero. Fixes bug #120725.
1923 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1925 * configure.in: Added "ja" to ALL_LINGUAS.
1927 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1929 * configure.in: Added "is" to ALL_LINGUAS.
1931 2003-08-22 Christian Rose <menthos@menthos.com>
1933 * configure.in: Added "nl" to ALL_LINGUAS.
1935 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1937 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1938 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1940 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1942 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1943 type for unspecified exception.
1944 * cspi_streamablecontect): Add include of string.h for memcpy.
1945 (stream_release): Correct call to bonobo_object_release_unref
1946 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1947 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1948 argument of _cspi_expection_throw.
1949 * libspi/hyperlink.c: Add include of libspi/action.h:
1950 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1951 * libspi/streamablecontent.c: add include of libspi/component.h.
1952 * regisrtyd/deviceeventcontroller.c:
1953 (spi_dec_translate_mask): Removed unused variable priv.
1954 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1955 * registryd/registry.c:
1956 (registry_filter_event): Remove unused variable queue_is-empty.
1957 (impl_registry_notify_event): Use correct modifier in fprintf call.
1959 This fixes compiler warnings reported in bug #120220.
1961 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1963 * registryd/registryd.c: Remove this file.
1965 2003-08-17 Sanlig Badral <badral@openmn.org>
1967 * configure.in: Added mn to ALL_LINGUAS.
1969 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1971 * configure.in: Added et to ALL_LINGUAS.
1973 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1975 * test/event-listener-test.c: Change active-descendant to
1976 active-descendant-changed.
1978 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1980 * configure.in: Added "fi" in ALL_LINGUAS.
1982 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1984 * configure.in: Added "hi" in ALL_LINGUAS.
1986 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1988 * configure.in: Revved to 1.3.6.
1992 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1994 * registryd/deviceeventcontroller.c
1995 (spi_device_event_controller_object_finalize): Fix typo in previous
1998 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2000 * registryd/deviceeventcontroller.c
2001 (spi_device_event_controller_object_finalize): Fix build on
2002 systems without XEvIE.
2004 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2006 * acconfig.h, configure.in, registryd/Makefile.am,
2007 registryd/devicecontoller.[ch]: Add XEViE support.
2009 2003-08-06 Wang Jian <lark@linux.net.cn>
2011 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2013 2003-08-06 Metin Amiroff<metin@karegen.com>
2015 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2017 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2019 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2020 MODIFIER_ALT in correct place.
2022 This fixes part of bug #118114.
2024 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2026 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2028 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2030 * configure.in: Added "ko" to ALL_LINGUAS.
2032 2003-07-28 Ole Laursen <olau@hardworking.dk>
2034 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2036 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2038 * configure.in: Added "sq" to ALL_LINGUAS.
2040 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2042 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2044 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2046 * configure.in: updated ALL_LINGUAS list
2048 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2050 * configure.in: Added Belarusian to ALL_LINGUAS.
2052 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2054 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2056 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2057 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2059 This fixes bug #116949.
2061 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2063 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2064 Correct CSPI to SPI in function documentation.
2066 This fixes bug #118054.
2068 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2070 * configure.in: Added Russian to ALL_LINGUAS.
2072 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2074 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2076 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2078 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2080 2003-07-10 Joel Brich <joel.brich@laposte.net>
2082 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2084 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2086 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2088 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2090 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2091 resources allocated for AccessibleEvent. See cspi_event().
2093 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2094 static variable streams to NULL.
2096 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2097 Update so that AcessibleEvent_ref will work.
2099 This fixes bug #116624.
2101 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2103 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2105 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2107 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2109 2003-07-02 Christian Neumair <chris@gnome-de.org>
2111 * configure.in: Added "de" (German) to ALL_LINGUAS.
2113 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2115 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2117 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2119 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2121 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2123 * configure.in: Added "pl" to ALL_LINGUAS.
2125 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2127 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2129 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2132 (get_action_from_servant):
2133 Removed assertion that action is implemented on an AtkObject.
2135 * libspi/hyperlink.c:
2136 (spi_hyperlink_new):
2137 Aggregate AccessibleAction interface on the hyperlink object if
2138 the object implements AtkAction. (This convention is used in
2141 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2143 * configure.in: Revved to 1.3.5.
2145 * registryd/Accessibility_Registry.server.in.in:
2146 Marked up appropriate strings for translation.
2148 * atk-bridge/bridge.c: Marked a couple of
2149 user-visible warnings for translation. Questionable
2150 whether they are really useful, but possibly so.
2153 2003-06-28 Christian Rose <menthos@menthos.com>
2155 * configure.in: Added "sv" to ALL_LINGUAS.
2157 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2159 * registryd/registry.c:
2160 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2161 (registry_defer_on_event): Defer focus: events, this is an
2162 improvement to the patch for bug #108664.
2164 * TODO: Update with 2.4/"Dev Complete" items.
2166 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2168 * atk-bridge/bridge.c:
2169 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2170 looks up signals once.
2171 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2172 if doing registration.
2173 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2174 when doing registration.
2176 This fixes bug #115014.
2178 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2180 * atk-bridge/bridge.c:
2181 (atk_bridge_init): Add signal handler for children-changed:remove on
2182 root when in a BonoboComponent.
2183 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2184 for first toplevel only other incrememt variable toplevels.
2185 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2186 application and remove listeners.
2187 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2189 (spi_atk_deregister_event_listeners): New function which removes
2191 (reinit_register_vars): New fuction which reinitializes variables.
2193 This fixes bug #111578.
2195 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2197 * configure.in: version 1.3.4.
2199 * cspi/spi_accessible.c:
2200 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2203 2003-06-13 Michael Meeks <michael@ximian.com>
2205 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2207 * cspi/spi_main.c (cspi_peek_ev): impl.
2209 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2211 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2213 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2215 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2216 SPI_ROLE_AUTOCOMPLETE
2218 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2220 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2221 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2223 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2225 * libspi/streamablecontent.h:
2226 * libspi/streamablecontent.c:
2227 New files, provide implementation/wrappers for
2228 Accessibility_StreamableContent.
2230 * cspi/spi_streamablecontent.c:
2231 Connected the C wrappers to the libspi C bindings.
2232 (AccessibleStreamableContent_close): New method.
2235 (AccessibleStreamableContent_close): New method, needed
2236 since we have an "open, [seek], read, close" model in cspi.
2238 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2240 Fix for #108664; Padraig's revision of my original patch.
2242 * registryd/registry.h:
2243 Added event queue list, is_queuing, and exit_notify_timeout
2244 to the registry struct.
2246 * registryd/registry.c:
2247 (registry_init): Initialize new struct from registry.h.
2248 (impl_registry_notify_event):
2249 Filter events before notifying, in case some need to be
2251 (registry_filter_event): New,
2252 we defer certain incoming events (for instance
2253 window:deactivate) because we may wish to hide
2254 or reject them based on pending events. This is
2255 mostly a workaround for bug #108664.
2256 (registry_queue_event, registry_start_queue): New.
2257 (registry_defer_on_event): Test event to see if it
2259 (registry_reset_on_event): Returns TRUE if the
2260 event should cause a queue reset.
2261 (registry_discard_on_event): Returns TRUE if the event
2262 should cause the previous queue contents to be discarded.
2263 (registry_timeout_flush_queue): Flushes the pending event
2264 queue if no reset/discard-triggering events have come in
2265 within the timeout period.
2266 (registry_emit_event): New.
2267 (registry_clone_notify_context): New, used when queueing the
2268 event notify contexts.
2270 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2272 * configure.in: Version revved to 1.3.2, lt 0.9.2
2273 Incremented ATK required version to 1.3.4.
2275 * cspi/spi_registry.c:
2276 (SPI_generateKeyEvent):
2277 We now pass the keystring along if it's non-null.
2279 * registryd/deviceeventcontroller.c:
2280 (keysym_mod_mask): New method, returns modifier mask
2281 required to generate a keysym from a given keycode.
2282 (dec_synth_keysym): New method.
2283 (dec_synth_keystring): New method.
2284 (dec_get_modifier_state): New method.
2285 (dec_lock_modifiers): New
2286 (dec_unlock_modifiers): New.
2287 (dec_keysym_for_unichar): New, rather brute-force
2288 conversion from UCS-4 to X KeySyms. Only works for
2289 Latin at the moment, with partial implementations for
2290 Greek, Hebrew, and (incomplete) Katakana.
2291 (impl_generate_keyboard_event): Now implement
2292 "KEYSTRING" synthesis and implement "KEYSYM"
2294 (keycode_from_keysym): Improved, passes a returned
2295 modmask value now if the corresponding param is non-NULL.
2297 Fixes bugs #92143 and #109776.
2300 * test/keysynth-test.c:
2301 New test program for key synthesis, to confirm fixes for
2305 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2307 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2309 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2310 Add line for RELATION_POPUP_FOR
2312 * docs/reference/cspi/tmpl/spi_relation.sgml:
2313 Add relation SPI_RELATION_POPUP_FOR
2315 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2316 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2318 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2320 * libspi/relation.c (spi_init_relation_type_table):
2321 Add line for RELATION_POPUP_FOR
2323 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2325 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2326 there are still windows which have not been deleted and emit
2327 window:deactivate, if necessary and window:destroy events.
2328 This fixes bug #114370. The change on June 5th was not correct.
2330 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2332 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2335 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2337 New methods for client exception handling and interception.
2338 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2339 (SPI_exceptionHandlerPop): You guessed it...
2340 (SPI_getSourceType): Return the type of object which offended.
2341 (SPI_getExceptionCode): Return an enum code telling, possibly,
2342 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2343 (SPIAccessibleException_getSource): get the source object for
2344 exceptions that come from Accessibles, if SPIExceptionSourceType is
2345 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2346 (SPIException_getDescription): New, returns a string description of
2347 the problem. [Not yet a stable ABI, strings are not frozen]
2349 * cspi/spi-private.h:
2350 Added implementation details of opaque SPIException
2354 Implementations of above. Also
2355 (_cspi_exception_throw): new private method that
2356 dispatches exceptions to handlers, called from cspi-bonobo.c
2358 * cspi/bonobo/cspi-bonobo.c:
2359 (cspi_check_ev): call _cspi_exception_throw.
2360 Don't print a warning message if the exception has been
2361 handled by _cspi_exception_throw.
2363 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2365 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2366 there are still windows which have not been deleted and emit
2367 window:deactivate, if necessary and window:destroy events.
2368 This fixes bug #114370.
2370 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2373 (cspi_accessible_is_a): Make non-fatal
2374 if the object reference is dead.
2376 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2378 * cspi/spi_main.c: #include <stdio.h>
2379 * test/simple-at.c: ditto
2380 * test/event-listener-test.c: ditto
2381 * test/screen-review-test.c: ditto
2383 2003-05-30 Michael Meeks <michael@ximian.com>
2385 * test/test-simple.c (main): use CORBA_ORB_perform_work
2386 instead of an unnecessary linc_ call.
2388 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2390 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2391 Add SPI_STATE_INDETERMINATE.
2393 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2396 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2398 * libspi/stateset.c (init_state_type_tables): Add support for
2401 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2403 * configure: Update versions of atk and gail required.
2404 This fixes bug #113268.
2406 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2408 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2410 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2412 * libspi/Makefile.am:
2413 Ensure headers are generated before being used by c sources.
2415 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2418 Simplified lt versioning rules.
2419 Incremented version to 1.3.0, to indicate that we're on the
2420 unstable branch now.
2422 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2424 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2425 Add MKDB_OPTIONS=--outtput-format=xml
2427 * docs/reference/cspi/at-spi-cspi-docs.sgml
2428 docs/reference/idl/at-spi-idl-docs.sgml:
2429 Convert to Docbook XML.
2431 This fixes bug #111793.
2433 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2435 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2436 AcccessibleKeyEventType, AccessibleKeyMaskType.
2438 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2440 * cspi/state-types.h: Add documentation for AccessibleState.
2442 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2443 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2444 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2445 AccessibleComponentLayer.
2447 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2450 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2452 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2453 Accessible. Add description of AccessibleEvent,
2454 AccessibleEventListenerCB.
2456 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2459 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2460 documentation. Add description of AccessibleKeystrokeListenerCB,
2461 AccessibleKeyEventMask, AccessibleModifierMaskType,
2462 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2463 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2465 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2468 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2471 This fixes bug #104730.
2473 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2475 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2476 Set is_text field of Accessibility_DeviceEvent data structure.
2478 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2479 is-text field of AccessibleDeviceEvent data structure.
2481 This addresses part of bug #108666.
2483 * registryd/devcieeventcontroller.c: Unset debug option.
2485 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2487 * cspi/accessible.c:
2488 (cpi_initial_relation_type_table): New function which initializes
2489 mapping between Accessibility_RelationType and AccessibleRelationType.
2490 (cspi_relation_type_from_spi_relation_type): New function which
2491 translates an Accessibility_RelationType into an AccessibleRelationType.
2492 (AccessibleRelation_getRelationType): Use
2493 cpi_relation_type_get_spi_relation_type to return correct value.
2494 (spi_state_to_corba): Return correct type for default case.
2496 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2497 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2499 * cspi/cspi-bonobo-listener.c:
2500 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2503 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2504 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2505 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2506 libspi/image.c, libspi/listener.c, libspi/selection.c,
2507 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2508 registryd/desktop.c, registryd/registry.c:
2509 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2511 * libspi/eventlistener.c
2512 Remove semicolon after BONOBO_TYPE_FUNC.
2514 * libspi/relation.c:
2515 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2516 (spi_init_relation_type_table): Initialize using correct type.
2518 * registryd/desktop.c:
2519 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2520 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2521 of Accessibility_KeyEventType.
2523 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2526 * tests/simple-at.c, tests/screen-review-test.c:
2527 Add include for <strings.h>.
2529 * tests.stress-test.c:
2530 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2532 These changes fix compiler warnings when using FORTE compiler on
2533 Solaris; fixes bug #107479.
2536 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2539 * configure.in: revved to 1.1.10
2541 * libspi/keymasks.h:
2542 (SPI_KEYMASK_NUMLOCK): Added.
2544 * registryd/deviceeventcontroller.c:
2545 (spi_key_event_matches_listener): AND with a smaller
2546 bitmask (as we should).
2547 (spi_dec_translate_mask):
2548 New method, sets the virtual NumLock modifier bit
2549 if numlock is on. Eventually it can handle other virtual
2550 modifier bits if needed, or other marshalling from
2551 at-spi modifier masks to platform (X) masks.
2552 (spi_dec_key_listener_new):
2553 Call spi_dec_translate_mask to set up virtual mod bits
2554 in the 'mask' field when creating a new listener struct.
2555 (spi_dec_emit_modifier_event):
2556 Set the virtual (i.e. NumLock) bits before emitting event.
2557 (spi_controller_register_with_devices):
2558 Query for the NumLock modifier 'physical' bit if Xkb is
2559 present, for use in above methods.
2563 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2565 * registryd/deviceeventcontroller.c:
2566 (spi_keystroke_from_x_key_event):
2567 Instead of checking to see if the keysym is
2568 printable, check the string from XLookupString
2569 if available, get the first unicode character from it,
2570 and call g_unichar_isprint to determine whether the
2571 is_text flag should be TRUE or FALSE.
2575 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2577 * atk-bridge/bridge.c: Add support for extended events
2578 * cspi/spi_event.c: Add documentation and implementation for
2580 * tests/event-listener-test.c: Add tests for extended events.
2582 This fixes bugs #100424 and #100426.
2584 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2586 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2587 of LT_CURRENT. This fixes bug #89350.
2589 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2591 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2592 number of signal parameter values before accessing them. This fixes
2595 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2597 * configure.in: Fixed duplicate inclusion of -lspi.
2598 * branched for gnome-2-2/HEAD.
2599 [created tag "gnome-2-2"]
2601 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2603 * configure.in: 1.1.9 release.
2606 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2608 [needed by GOK, to fix bugs 107985 and 107988]
2609 * registryd/deviceeventcontroller.c:
2610 (spi_dec_clear_unlatch_pending):
2611 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2612 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2613 (spi_dec_init_mouse_listener):Emit warning if mouse button
2615 (spi_device_event_controller_forward_mouse_event):
2616 Removed unnecessary parens from a conditional.
2617 (global_filter_fn):Added TODO comment.
2618 (impl_generate_keyboard_event):
2619 Cancel a pending relatch if a 'delatching' key was
2622 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2624 * atk-bridge/bridge.c:
2625 Change atk_signal_child_changed to atk_signal_children_changed.
2626 Reorganize code in spi_atk_bridge_signal_listener().
2628 * test/event-listener-test.c:
2629 Add children_changed_listener and report_children_changed_event()
2630 to test AccessibleChildEvent_getChildAccessible.
2632 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2634 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2635 g_strdup to CORBA_String_dup (bug #105291)
2637 * test/event-listener-test.c (report_text_event): Add call to
2640 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2642 * registryd/deviceeventcontroller.c:
2643 (spi_keystroke_from_x_key_event):
2644 Fix string and keysym return codes to match modifier state.
2647 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2649 * registryd/deviceeventcontroller.c:
2650 (spi_keystroke_from_x_key_event):
2651 Fix segv due to improper use of isprint(c). [bug #107254]
2653 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2656 (get_accessible_text_boundary_type):
2657 Move default return value to (new) default case in switch.
2658 (get_accessible_text_clip_type):
2659 Move default return value to (new) default case in switch.
2661 * libspi/application.c:
2662 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2663 Remove unused methods.
2664 (impl_accessibility_application_register_object_event_listener):
2665 Remove unused methods.
2668 Added #include of <math.h>.
2670 * registryd/deviceeventcontroller.c:
2671 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2672 we don't currently use this method.
2673 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2675 (impl_generate_key_event):
2676 Remove unused variables.
2677 (impl_generate_mouse_event):
2678 Initialize button to zero, just in case we get an invalid
2679 input. Added support for mouse buttons 4 and 5.
2680 (spi_device_event_controller_new):
2681 Removed unused variable declaration for 'private'.
2683 Added #include of <gdk/gdk.h>
2685 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2687 * configure.in: Update to work when X is not installed in expected
2688 location. Fixes bug #105836.
2690 * atk-bridge/bridge.c
2691 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2693 (spi_atk_register_event_listener): Add signal listener for
2695 (spi_atk_bridge_signal_listener): Event event when link-selected
2696 signal is emitted. (bug #104622)
2698 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2699 on returned string. (bug #105291)
2701 * test/event-listener-test.c: Add test for link-selected.
2703 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2705 * atk-bridge/Makefile.am: Correct typo in previous commit.
2707 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2709 * atk-bridge/Makefile.am: Allow for build directory to be different
2710 from source directory
2712 * registryd/Makefile.am: Allow for build directory to be different
2713 from source directory
2717 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2720 Fixed dependencies for libcspi so that libspi gets pulled in
2721 properly. Fixes 104741.
2725 Clean up inline docs a little.
2727 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2729 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2730 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2731 the AtkObject within an SpiDesktop.
2732 This addresses bug #101524.
2734 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2735 Remove call to gdk_init().
2737 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2738 so that Display is set when SpiDesktop is created.
2740 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2742 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2743 This fixes bug #102830.
2745 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2747 * test/test-simple.c: Update to take account of fact that GailButton
2748 now implements AtkText.
2749 (create_text_window): Set name on AtkObject for GtkEntry.
2750 (validate_accessible): Check accessible name before calling test_text().
2752 * libspi/Makefile.am: Fix problem with building outside of source
2753 directory. Bug #98120.
2755 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2756 typo in documentation comments. Bug #94275.
2758 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2760 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2762 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2765 Add includes to avoid compiler warnings on Solaris.
2766 (impl_getRangeExtents): Bug fix.
2768 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2770 Fix for 100944, [API addition approved by Gman and murrayc].
2777 * idl/Accessibility_Text.idl:
2778 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2779 (Text::getRangeExtents): New method for efficient
2780 bounds query of a text range.
2781 (Text::getBoundedRanges): New method for efficient
2782 clipping of text to bounding boxes.
2783 (unImplemented7, unImplemented8):
2784 Removed these padding methods to preserve bincompat.
2787 (impl_getRangeExtents): implementation of new IDL.
2788 (impl_getBoundedRanges): implementation of new IDL.
2789 (SpiTextRect): Internal use struct.
2790 (_spi_text_rect_union): internal method, calculates union of two
2791 SpiTextRect bounding rects.
2792 (_spi_text_range_seq_from_gslist): internal method, allows us
2793 to build our sequence efficiently as a gslist then convert it
2795 (_spi_bounds_contain): internal method, determines whether
2796 a text character is "in" or "out" of a clip rect according to
2797 values of TEXT_CLIP_TYPE.
2798 (spi_text_class_init): Initialize the new methods in the epv.
2801 (AccessibleTextClipType): New enum used by screen review api.
2802 (AccessibleTextRange): New struct used by screen review api.
2803 (AccessibleText_getRangeExtents):
2804 cspi binding for Accessibility_Text_getRangeExtents.
2805 (AccessibleText_getBoundedRanges):
2806 cspi binding for Accessibility_Text_getBoundedRanges.
2807 (AccessibleTextRange_freeRanges): convenience method.
2810 (AccessibleText_getRangeExtents):
2811 cspi binding for Accessibility_Text_getRangeExtents.
2812 (AccessibleText_getBoundedRanges):
2813 cspi binding for Accessibility_Text_getBoundedRanges.
2814 (AccessibleTextRange_freeRanges): convenience method.
2815 (get_accessible_text_clip_type): internal conversion method.
2816 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2818 * registryd/deviceeventcontroller.c:
2819 (spi_dec_mouse_check):
2820 Improved behavior for mouse:abs events
2821 [same granularity as mouse:rel events, and no
2822 events when mouse is idle].
2824 2002-12-16 Michael Meeks <michael@ximian.com>
2826 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2828 * libspi/stateset.c (state_spi_to_atk): split out
2829 ( fix several remote array bounds nasties )
2830 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2831 (impl_remove): make safe from array bounds issues.
2832 (spi_atk_state_from_spi_state): impl.
2834 * libspi/stateset.h (spi_state_set_cache_is_empty):
2835 add a set of wrapper defines to get layering right.
2837 * cspi/spi_accessible.c: update state set stuff to
2840 2002-12-14 Michael Meeks <michael@ximian.com>
2842 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2843 to avoid 2 roundtrips to the registry per key event
2844 (spi_atk_bridge_key_listener): upd.
2845 (deregister_application): release the dec.
2847 * registryd/registry.c (notify_listeners_cb):
2848 bin lots of re-enterant complexity - we no longer
2849 do a round-trip bonobo ref here, ensure that a single
2850 listener's exception failure won't poison all other
2852 (impl_registry_notify_event): bin obvious memory leak.
2854 2002-12-13 Michael Meeks <michael@ximian.com>
2856 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2857 init the ev so the error is meaningful.
2858 (spi_atk_bridge_key_listener): ditto.
2860 * cspi/spi_main.c (cspi_ev): init the ev so we start
2861 with a clean slate, otherwise the first exception
2862 kills us completely.
2864 * cspi/spi_text.c (get_accessible_text_boundary_type):
2865 add a fallthrough for no warnings.
2867 * cspi/spi_registry.c: prune unused warnings.
2869 * cspi/spi_main.c (cspi_object_take): fix
2870 mind-blowing brokenness ( by watching the compile
2873 * cspi/spi_accessible.c (Accessible_getStateSet):
2874 re-impl. to use an AtkStateSet.
2875 (spi_state_type_from_accessible_state),
2876 (init_state_table): bin these.
2878 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2880 (atk_state_set_from_accessibility_state_set): here.
2882 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2883 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2884 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2885 (AccessibleStateSet_add, AccessibleStateSet_remove),
2886 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2887 (AccessibleStateSet_isEmpty): re-write to use a local
2890 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2892 * configure.in: Revved to 1.1.7 (new keymask vals).
2894 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2896 * libspi/keymasks.h:
2897 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2899 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2902 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2903 to compare two CORBA_TypeCodes.
2904 (cspi_internal_event_add): Silence warning from FORTE compiler.
2906 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2907 avoid implicit declaration of functions.
2909 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2911 * atk-bridge/bridge.c:
2912 (spi_atk_bridge_init_event_type_consts): Store signal id for
2913 active-descendant-changed signal.
2914 (spi_atk_register_event_listeners): Add signal listener for
2915 active-descendant-changed signal,
2916 (spi_atk_bridge_signal_listener): Move code in function
2917 spi_atk-signal_emit_event() into this function.
2918 Add support for active-descendant-changed
2919 Update support for child-changed signal.
2920 (spi_bridge_window_event_listener): Silence warning.
2922 * libspi/spi_private.[ch]:
2923 (spi_init_any_object): Change second parameter from CORBA_Object to
2925 Omit call to CORBA_Object_duplicate().
2926 Set CORBA_any's _value to CORBA_Object*.
2928 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2934 (AccessibleEvent_ref, AccessibleEvent_unref):
2935 New methods, for persisting an event outside the emission context.
2936 Must be used if the new accessor methods are to be called
2937 outside of the event listener's callback.
2939 * cspi/bonobo/cspi-bonobo.c:
2940 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2941 as second parameter instead of NULL, so we can call
2942 cspi_check_ev afterwards.
2945 (cspi_object_take): New internal method,
2946 converts a CORBA_Object reference to a hard ref on
2947 an Accessible if possible, returning NULL if the object
2948 reference is invalid or an Accessible * otherwise.
2951 (AccessibleEvent_ref):
2952 Increment the event's internal private refcount, and
2953 add the event's internal struct to an internal cache
2954 if it's not already there.
2955 (AccessibleEvent_unref):
2956 Decrement the event's refcount and remove it from
2957 the cspi event cache if refcount==0.
2958 (cspi_event_compare): New private method.
2959 Compares two event structs via their ids. Used
2961 (cspi_internal_event_lookup): New private method.
2962 (cspi_internal_event_check): New private method,
2963 a 0-order sanity check for events to make sure their
2964 private data is intact.
2965 (cspi_internal_event_add, cspi_internal_event_remove):
2966 New private methods for managiing the event cache.
2968 * cspi/bonobo/cspi-bonobo-listener.c:
2970 Initialize the new private data elements (id, magic, ref_count).
2972 * atk-bridge/bridge.c:
2973 (spi_atk_bridge_signal_listener):
2974 Fixed bug #100530, passing wrong params to emission func.
2976 * registryd/deviceeventcontroller.c:
2977 (spi_dec_button_update_and_emit):
2978 Fixed type in mask bit operations; fix for #99799.
2980 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2982 Removed some of the more dangerous workarounds from
2983 previous commit; they are only needed by GOK, which
2984 in reality should be using another method to accomplish
2985 the goals. So on reconsideration some of the workarounds
2986 need to be reverted:
2988 * registryd/deviceeventcontroller.c:
2989 (spi_keycodes_contain, spi_dec_init_keycode_list):
2990 Removed these methods, used only by a nasty hack to try
2991 and detect whether a key synthesis should be allowed
2992 to reset the XKB latch state or not. This code was only
2993 required to work around an interaction between GOK,
2994 button events, and XKB.
2995 (impl_generate_key_event):
2996 Removed hack at end of key generation that tried to
2997 "do the right thing" if XKB latch keys were generated
2998 in the midst of button press/release pairs.
3001 Added a check for HAVE_XINPUT. Not normally used yet.
3003 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3005 Workarounds and fixes for mouse event/XKB interaction.
3007 * registryd/deviceeventcontroller.c:
3008 (spi_keycodes_contain, spi_dec_init_keycode_list):
3009 New internal methods.
3010 (spi_dec_set_unlatch_pending):
3011 Split the method that tells XKB to expect an
3012 unlatch (and revert it) out of the rest of the
3013 event handling code. This method is called by the
3014 two mouse event handlers (the poll and the filter).
3015 (spi_dec_update_and_emit, spi_dec_mouse_check):
3016 New methods split from spi_dec_poll_mouse_moved.
3017 The second one is now called from inside the filterFn
3018 when an XKB delatch event is received, to determine
3019 whether to revert the delatch or not.
3020 (spi_poll_mouse_moved): Refactor; also we can now
3021 properly handle the case where multiple button states
3022 have changed between polling cycles and we didn't get
3023 notified due to another client's grab.
3025 Synchronize the server while handling an XKB notification.
3026 Ugly, but apparently necessary to avoid nasty races.
3027 Check the mouse state on receipt of an XKB latch change,
3028 to decide whether to revert the latch or not. (Latches are
3029 reverted if there is an immediately preceding mouse button
3030 event that a client has consumed, in which case we don't want
3031 the user to see the side-effect of the event).
3032 (spi_device_event_controller_forward_mouse_event):
3033 Check for modifier events and fire before resetting mouse_mask_state,
3034 prevents losing modifier events.
3036 (impl_generate_keyboard_event):
3037 If we've just generated a keyboard event for a non-shift key,
3038 we don't want to revert the pending XKB latch.
3039 Otherwise, check the modifier state (via a call to
3040 spi_dev_mouse_check) and set the relatch mask to
3041 that state before returning.
3043 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3046 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3049 * atk-bridge/bridge.c:
3050 (spi_atk_register_event_listeners):
3051 Don't re-register for ATK events if the registry has died
3052 and the app needs to re-register; the ATK listeners are in
3053 process and doing so will cause duplicate emission.
3055 * registryd/deviceeventcontroller.c:
3056 (spi_poll_mouse_moved):
3057 Reformat the source, detect and emit multiple button-change
3058 events (i.e. if multiple buttons have changed between poll
3060 Add code to detect mouse-down events even when the pointer
3061 is grabbed; workaround for GOK bug 98420.
3062 (spi_controller_register_with_devices):
3063 Call XTestGrabControl with 'impervious' flag set to True,
3064 allows us to synthesize events and query the pointer even during
3065 an active grab by another client.
3066 (spi_device_event_controller_forward_mouse_event):
3067 Set the mouse_mask_state to the mouse_button_state from
3068 the intercepted event, to synchronize the grab listener with
3071 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3073 * cspi/spi_accessible.c:
3074 (AccessibleRole_getName):
3075 Added necessary strings for making this (deprecated)
3076 method work with the new role types.
3077 (init_role_table, role_table):
3078 Added definition of SPI_ROLE_APPLICATION.
3080 * libspi/spi-roletypes.h:
3081 Added SPI_ROLE_APPLICATION.
3083 * idl/Accessibility_Role.idl:
3084 Added ROLE_APPLICATION.
3086 * docs/reference/cspi/at-spi-cspi-decl.txt:
3087 Added SPI_ROLE_APPLICATION to docs.
3089 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3091 * cspi/spi_accessible.c
3092 (cspi_init_role_table): Do not write beyond end of role_table.
3093 (Accessible_getRole): Use correct type for value returned by
3094 Accessibility_Accessible_getRole().
3096 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3097 beyond end of role_table. (This fixes bug #98269)
3099 * libspi/application.c: Add include file spi-private.h for
3100 definition of spi_init_any_nil.
3102 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3106 * libspi/spi-private.h:
3107 Added DGB() macro, and extern int _dbg declaration.
3109 * registryd/registry.c:
3110 (definitions) storage for _dbg.
3111 (spi_registry_init):
3112 Get environment variable "AT_SPI_DEBUG".
3113 (spi_registry_set_debug):
3114 New method, to initialize _dbg value.
3115 (spi_listener_struct_new, spi_registry_object_finalize):
3116 (notify_listeners_cb):
3117 Changed fprintfs to use DBG and g_warning().
3119 * registryd/deviceeventcontroller.c:
3120 (_deregister_keygrab, spi_controller_register_device_listener):
3121 Changed debug/warning messages to use DBG macro.
3123 * libspi/listener.c:
3124 (impl_notify_event):
3125 Changed warning messages to use DBG macro and g_warning().
3127 * atk-bridge/bridge.c:
3128 (atk_bridge_init, spi_atk_bridge_get_registry):
3129 (spi_atk_bridge_exit_func):
3130 (spi_atk_bridge_property_event_listener):
3131 Changed status, warning, and error messages to use
3132 g_warning, g_message, and DBG macros.
3135 Read the state of the AT_SPI_DEBUG environment variable
3136 and set a local '_dbg' accordingly.
3138 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3140 FIXES for 98836, 98842, other bugs.
3143 Revved to 1.1.4, interface-age=4, binary-age=4.
3145 * registryd/deviceeventcontroller.c:
3147 Fixed crasher bug in last_mouse_pos initialization.
3149 * registryd/registry.c:
3150 (desktop_add_application, desktop_remove_application):
3151 Added (and then commented out) some support for
3152 object context marshalling. [TODO]
3154 * atk-bridge/bridge.c:
3155 (spi_atk_bridge_event_context_create):
3156 Commented out object context creation until it can
3157 be properly tested and debugged.
3159 * registryd/registry.c:
3160 (impl_registry_notify_event):
3161 Fixed crasher bug, we were calling
3162 spi_re_entrant_list_foreach () with an empty list.
3164 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3166 * idl/Accessibility_Action.idl:
3167 * idl/Accessibility_Component.idl:
3168 * idl/Accessibility_Desktop.idl:
3169 * idl/Accessibility_Event.idl:
3170 * idl/Accessibility_Hyperlink.idl:
3171 * idl/Accessibility_Image.idl:
3172 * idl/Accessibility_Relation.idl:
3173 * idl/Accessibility_Selection.idl:
3174 * idl/Accessibility_State.idl:
3175 * idl/Accessibility_Value.idl:
3176 Updated unimplemented slot count to minimum of
3177 four for all interfaces, for ABI freeze.
3179 * idl/Accessibility_EditableText.idl:
3180 * idl/Accessibility_Text.idl:
3181 Updated unimplemented slot count to six
3184 * idl/Accessibility_Registry.idl:
3185 Updated unimplemented slot count to six
3186 (also for DeviceEventController),
3189 * idl/Accessibility_Table.idl:
3190 Updated unimplemented slot count to eight,
3193 * idl/Accessibility_Event.idl:
3194 Added CORBA_any "any_data" member to Event struct.
3196 * idl/Accessibility_Event.idl:
3197 Added CORBA_any "any_data" member to Event struct.
3199 * atk-bridge/bridge.c:
3201 atk_signal_text_changed, atk_signal_child_changed,
3202 signal ids queried from gtype system.
3203 (AtkBridgeEventContextType): New enum.
3204 (AtkBridgeEventContextData): New struct.
3205 (AtkBridgeEventContext): New struct.
3206 (atk_bridge_init_event_type_consts):
3207 New method, initializes type contants for comparison
3208 prior to emit_eventv.
3209 (atk_bridge_event_context_init): New method,
3210 initializes a CORBA_any from an AtkBridgeEventContext.
3211 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3212 initialize the event.any_data struct.
3213 (spi_atk_bridge_event_context_create): New method,
3214 creates an AtkBridgeEventContext from signal/event info.
3215 (spi_atk_bridge_event_context_free): New method.
3216 (spi_atk_emit_eventv): Changed to take an
3217 AtkBridgeEventContext parameter. We now initialize
3218 the event.any_data member prior to notifying the
3219 Registry, via the AtkBridgeEventContext.
3220 (spi_atk_bridge_property_event_listener):
3221 (spi_atk_bridge_state_event_listener):
3222 Match emit_eventv signature.
3223 (spi_atk_bridge_object_event_listener):
3224 Match emit_eventv signature, and create an
3225 event context from the event details.
3226 Free the event context afterwards.
3227 (spi_atk_bridge_window_event_listener):
3228 Create an event context, pass it to the
3232 (AccessibleEvent_getContextString):
3233 (AccessibleEvent_getContextObject):
3234 New methods, allow query of AccessibleEvent objects
3235 for more context details (via the "any_data" member
3236 of the Event struct, above).
3239 Definitions for AccessibleEvent_getContextString
3240 and AccessibleEvent_getContextObject.
3242 * cspi/spi_listener.h:
3243 (InternalEvent): New struct.
3246 (AccessibleEvent_getContextString):
3247 (AccessibleEvent_getContextObject):
3248 Implementations of new methods, for obtaining
3249 additional context information from some event types.
3251 * cspi/spi_registry.c:
3252 (SPI_registerGlobalEventListener):
3253 Added mention of active-descendant-changed event in docs.
3255 * cspi/cspi-bonobo-listener.c:
3257 Marshal the any into the AccessibleEvent via
3260 * libspi/spi-private.h:
3261 #include <orbit/orbit.h>
3263 (spi_init_any_string):
3264 (spi_init_any_object):
3265 New convenience function declarations.
3269 (spi_init_any_string):
3270 (spi_init_any_object):
3271 New convenience function implementations.
3273 * registryd/deviceeventcontroller.c:
3274 (spi_poll_dec_mouse_moved):
3275 (spi_device_event_controller_forward_mous_event):
3276 Initialize any_data member of event.
3277 (spi_deregister_controller_device_listener):
3278 Fix incorrect param pass which was preventing deregistration.
3280 * registryd/registry.c:
3281 (desktop_add_application):
3282 (desktop_remove_application):
3283 Add object data to event's any_data before dispatch.
3285 Fix for error messages from GAIL.
3287 * test/event-listener-test.c:
3288 Test new ContextString and "any_data" API:
3289 (report_text_event): New method query and output context string.
3290 (main): register a new text listener with report_text_event
3293 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3295 Fixes for bugs 98127 and 97914.
3296 * cspi/spi-roletypes.h:
3297 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3299 * cspi/spi-statetypes.h:
3300 Added SPI_STATE_MANAGES_DESCENDANTS
3302 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3303 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3304 * cspi/spi_accessible.c:
3305 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3306 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3307 Accessibility_STATE_MANAGES_DESCENDANTS
3308 * libspi/accessible.c:
3309 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3310 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3311 As requested by Bill, I also cleaned up the alignment.
3312 * libspi/relation.c:
3313 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3314 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3315 * libspi/stateset.c:
3316 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3317 Accessibility_STATE_MANAGES_DESCENDANTS
3318 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3319 Document changes reflecting modifications to roles.
3320 * docs/reference/cspi/tmpl/spi_relation.sgml:
3321 Document changes reflecting modifications to relations.
3322 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3323 Document changes reflecting modifications to states.
3325 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3328 Revved to 1.1.3, interface-age=3, binary-age=3.
3329 Added REBUILD macro.
3332 Removed accessx-gui from the tests, since we have a nice
3333 keyboard accessibility capplet now :-)
3335 * test/keysynth-demo.c:
3336 (increment_scan): removed do-nothing default: case,
3339 * test/visual-bell.c:
3340 (main) : removed do-nothing default: case,
3343 * cspi/spi_action.c:
3344 (AccessibleAction_getKeyBinding_):
3345 Documented keybinding string format.
3349 (AccessibleText_getAttributes):
3350 Documented the text attribute string format.
3351 It's changed to use semicolon delimiters also,
3352 to prevent clashes with CSS attributes, but the old
3353 trick of looking for ", " strings will still work
3354 (as unreliably as ever). Fix for bug related to 97916.
3357 Include <cspi/bonobo/cspi-bonobo-listener.h>
3358 Fixes build warning.
3359 (SPI_freeAccessibleKeySet):
3360 (AccessibleKeystrokeListener_addCallback):
3361 (AccessibleKeystrokeListener_removeCallback):
3362 Modify to use AccessibleDeviceListener API internally,
3363 instead of AccessibleKeystrokeListener.
3365 * idl/Accessibility_Event.idl:
3366 Added two more empty slots to EventListener (for a total of four).
3368 * idl/Accessibility_Accessible.idl:
3369 Added four empty slots to Accessible interface.
3371 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3373 * idl/Accessibility_Registry.idl:
3374 (KeyEventType, EventType):
3375 Marked KeyEventType as deprecated; it duplicates
3376 functionality of EventType, which has been extended to
3377 include Mouse-button events.
3378 (KeyEventTypeSeq): defined in terms of EventType.
3379 (registerDeviceEventListener, deregisterDeviceEventListener):
3380 New methods, for managing listeners to device events,
3381 which potentially may consume them.
3384 Added definition for AccessibleDeviceListener.
3386 * cspi/spi-listener.h:
3387 (enum AccessibleDeviceEventType):
3388 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3389 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3390 for backwards compat.
3391 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3392 and typedef'd AccessibleKeystroke to it for back-compat.
3393 (AccessibleDeviceListenerCB):
3394 New function prototype typedef.
3397 (AccessibleDeviceEventMask): New typedef.
3398 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3399 (AccessibleKeyMaskType):
3400 Set equivalent to AccessibleModifierMaskType for back-compat.
3401 (SPI_createAccessibleKeystrokeListener):
3402 (AccessibleKeystrokeListener_unref):
3403 Deprecated in favor of equivalent (better-named) new API below..
3404 keystroke listeners are like all device listeners.
3405 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3406 New API names for old features :-).
3407 (AccessibleDeviceListener_addCallback):
3408 (AccessibleDeviceListener_removeCallback):
3409 (SPI_registerDeviceEventListener):
3410 (SPI_deregisterDeviceEventListener):
3414 (SPI_createAccessibleKeystrokeListener):
3415 Use new preferred API, cspi_device_listener_new() and
3416 cspi_device_listener_add_cb().
3417 (AccessibleKeystrokeListener_removeCallback):
3418 Use new preferred API, cspi_device_listener_remove_cb().
3419 (AccessibleKeystrokeListener_unref):
3420 Use new preferred API, cspi_device_listener_unref().
3421 (SPI_createAccessibleDeviceListener):
3422 (AccessibleDeviceListener_addCallback):
3423 (AccessibleDeviceListener_removeCallback):
3424 Implementation of new API.
3426 * cspi/spi_registry.c:
3427 (SPI_registerDeviceEventListener):
3428 (SPI_deregisterDeviceEventListener):
3429 Implementation of new API. Fixed memory leak and removed need to
3430 allocate EventTypeSeq (thanks Michael for catching this).
3431 Squashed a wayward CORBA_exception_free that shouldn't get called.
3433 * cspi/bonobo/cspi-bonobo-listener.c:
3435 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3436 (cspi_key_event): renamed to cspi_device_event().
3437 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3438 Extended to handle mouse button events as well as key events.
3439 (CSpiKeystrokeListener):
3440 Class superceded by CSpiDeviceListener.
3441 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3442 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3444 * cspi/bonobo/cspi-bonobo-listener.h:
3445 (CSpiKeystrokeListener):
3446 Class superceded by CSpiDeviceListener.
3447 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3448 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3450 * libspi/Makefile.am:
3451 Replaced keystrokelistener.h and keystrokelistener.c
3452 with devicelistener.h and devicelistener.c; keystrokelisener.h
3453 stub retained for back-compat.
3455 * libspi/keystrokelistener.c:
3459 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3461 * registryd/deviceeventcontroller.c:
3462 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3463 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3464 (DEControllerPrivateData): Added xkb settings data.
3465 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3466 button release events (which can't be captured via XGrabButton).
3467 Don't dispatch via the 'normal' event mechanism if the device event was
3469 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3470 Handle the typeseq data in its new location (see above).
3471 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3472 New methods, for "generic" device listeners.
3473 (spi_controller_register_device_listener):
3474 Now handle mouse event listeners as well as key listeners.
3475 (spi_controller_notify_mouselisteners):
3476 New internal method.
3477 (spi_device_event_controller_forward_mouse_event):
3478 Now we notify mouse device listeners as well as generating the
3479 non-consumable "mouse:" events.
3481 We must check and restore the XKB
3482 modifier map if we consume the event, since the act of triggering
3483 a mouse event will normally reset the XKB latch. This is required for
3485 (spi_controller_register_with_devices):
3486 Load the XKB settings when registering, and register for XKB
3487 state notify events.
3488 (spi_key_eventtype_seq_contains_event):
3489 Renamed spi_eventtype_seq_contains_event, since it's used
3490 internally for all device event types now.
3491 (spi_key_event_matches_listener):
3492 Uses spi_eventtype_seq_contains_event now.
3493 (spi_device_event_controller_object_finalize):
3494 Free the private data and the XkbKeyboard struct.
3495 (impl_register_device_listener, impl_deregister_device_listener):
3496 Implementation of new IDL.
3497 (spi_deregister_controller_device_listener):
3498 New internal method.
3499 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3500 More efficient implementation, we don't have to create a new
3501 XkbControls structure every time we query.
3502 (spi_device_event_controller_class_init):
3503 Initialize the epv entries for the new IDL. Assign the
3504 "spi-dec-private" quark.
3505 (spi_device_event_controller_init):
3506 Initialize the private data.
3507 (spi_device_event_controller_forward_key_event):
3508 Removed a bogus CORBA_exception_free() call.
3510 * registryd/deviceeventcontroller.h:
3511 Replaced inclusion of keystrokelistener.h with
3514 * test/event-listener-test.c:
3515 (report_mouse_event):
3518 Added mouse-event device listener.
3520 * test/test-simple.c:
3521 (create_test_window):
3522 Fixed regression (we were instantiating a GtkRange,
3523 which is now an abstract class). Also fixed to match
3524 existing AtkRole names, this seems to have changed in ATK
3525 awhile ago; too late now I think, and the new
3526 mechanism is at least elegant and consistent with the
3527 glib enum "nick" APIs.
3529 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3531 * idl/Accessibility_Relation.idl:
3532 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3533 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3534 * idl/Accessibility_Role.idl:
3535 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3536 * idl/Accessibility_State.idl:
3537 add STATE_MANAGES_DESCENDANTS
3538 * test/event-listener-test.c:
3539 Added a listener for active-descendant events.
3541 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3543 * atk-bridge/bridge.c
3544 (atk_bridge_init): If application is Bonobo component wait until top
3545 level is added before registering
3546 (spi_atk_bridge_do_registration): New function which contains code,
3547 formerly in atk_bridge_init, to do application registration.
3548 (spi_atk_bridge_toplevel_added): Signal called when top level
3549 added to Bonobo component
3551 This fixes bug #83134.
3553 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3555 * registryd/deviceeventcontroller.c
3556 Fixed compilation error caused by calling gettimeofday()
3559 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3564 Added template for HAVE_XKB.
3567 Changes to check for XKB, and to set the HAVE_XKB #define if it
3570 * libspi/listener.c:
3571 ()impl_notify_event): Make failure to get event source name
3574 * registryd/deviceeventcontroller.c:
3575 (#include): include X11/XKBlib.h.
3576 (DEControllerPrivateData) : New struct.
3577 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3579 (dec_synth_keycode_press) (dec_synth_keycode_release):
3580 New methods; split the key synthesis code into these methods.
3581 They check XKB settings before determining the "time" values to
3582 pass to Xtest; this fixes bug #95828.
3583 (impl_generate_keyboard_event): Changed to use methods above,
3584 instead of callng Xtest directly.
3585 (spi_device_event_controller_init): Initialize new privae struct s
3587 (spi_device_event_controllr_object_finalize):
3588 Free the (new) private data.
3590 * registryd/deviceeventcontroller.h:
3591 Add new gpointer to end of struct data.
3593 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3596 Incremented revision to 1.1.2, SONAME is still '.so', library
3597 extensions are ".so.0.0.2".
3599 * registryd/deviceeventcontroller.c:
3600 FIXES FOR #93592 and #95940.
3601 (statics): renamed mouse_button_state to mouse_mask_state,
3602 added key_modifier_mask.
3603 (spi_dec_poll_mouse_moved):
3604 Added key modifier checks, and emit "keyboard:modifiers"
3605 events when the key modifiers currently in use change.
3606 Also generate "mouse:abs" events periodically, even if the mouse
3607 is stationary (should we?).
3608 Alternatively we could generate "mouse:abs" events for either all
3609 mouse movements, or every 'nth' mouse movement, or at the
3610 beginning and end of every "active" mouse period.
3612 * test/event-listener-test.c:
3613 (main): Added listener for "keyboard:modifiers" events.
3615 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3617 * libspi/keymasks.h:
3618 Added key mask #defines for mouse buttons; e.g.
3619 SPI_KEYMASK_BUTTON1, etc.
3622 Incremented dependency on ATK to version 1.1.0. (This dependency
3623 is probably premature but will soon be real enough).
3625 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3627 * libspi/hyperlink.[ch]
3628 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3629 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3632 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3637 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3639 * registryd/deviceeventcontroller.c
3640 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3641 events to be ignored.
3642 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3643 keyboard_mode so that XAllowEvents() can be called.
3647 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3649 * cspi/spi-accessible.c: Correct names of roles returned by
3650 AccessibleRole_getName(). Fixes bug #95055.
3652 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3654 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3657 * registryd/registry.c
3658 (desktop_remove_application: Write diagnostic message to stderr for
3661 (impl_accessibility_registry_deregister_global_event_listener):
3662 Correct size of lists array. This addresses bug #94555).
3664 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3666 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3669 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3671 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3674 * registryd/registry.c (impl_registry_notify_event): Remove
3675 unnecessary call to parser_event_type().
3677 * docs/reference/cspi/tmpl/spi_component.sgml:
3678 Add reference to SPI_LAYER_WINDOW.
3680 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3682 * registryd/registry.c
3683 (desktop_add_application): Remove leak.
3684 (desktop_remove_application): Remove leak.
3685 (parser_event_type): Remove leak.
3687 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3689 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3690 bogus call to CORBA_string_dup(). Also removed unnecessary
3691 g_string_dup/g_free calls.
3693 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3695 * registryd/deviceeventcontroller.c:
3696 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3698 * test/event-listener-test.c:
3699 main: commented out three redundant listeners, to reduce output
3700 noise. (They still are potentially useful for testing).
3703 2002-09-13 Michael Meeks <michael@ximian.com>
3705 * Update all the copyrights to include Ximian.
3707 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3709 * cspi/spi.h: add SPI_LAYER_WINDOW.
3711 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3712 add Accessibility_LAYER_WINDOW case.
3714 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3716 * libspi/component.c: (impl_accessibility_component_get_layer):
3717 add ATK_LAYER_WINDOW case.
3719 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3721 * configure.in: incremented micro version.
3723 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3725 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3728 Clarified and reworded our commit policy.
3731 Started an API "todo" addition list for 2.2.
3734 (impl_getSelection):
3735 Free char pointer from atk_text_get_selection, which was being leaked.
3737 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3740 Small revision to author acknowledgement.
3742 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3744 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3745 If signal has detail add it to the type of the event.
3748 2002-08-12 Michael Meeks <michael@ximian.com>
3750 * test/test-simple.c (global_listener_cb): bin bogosity.
3751 (test_keylisteners): disable, still doesn't work reliably,
3752 certainly not on my system anyway.
3754 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3755 don't leak a reference on the DEC. This round-trip
3756 fetching of the DEC per keystroke sucks, it should be
3759 * cspi/spi-private.h,
3760 * cspi/cspi-lowlevel.h,
3761 * cspi/bonobo/cspi-bonobo-listener.[ch],
3762 * cspi/bonobo/cspi-bonobo.c: get the copyright
3763 notices better - there is still a large amount of
3764 work in at-spi falsely attributed solely to Sun.
3766 * cspi/spi_main.c (cspi_object_ref): kill bogus
3767 hash lookup, just increment the ref.
3768 (SPI_freeString): make explicit the fact that we
3769 handle NULL strings just fine.
3770 (report_leaked_ref): obey coding standards.
3771 (cspi_object_hash, cspi_object_equal): kill retval.
3772 (cspi_object_release): only release if not on loan.
3773 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3774 (cspi_object_borrow, cspi_object_return): impl.
3776 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3777 use cspi_object_borrow / return.
3779 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3781 * cspi/bonobo/cspi-bonobo-listener.c:
3783 Don't call cspi_oject_new() because this is creating a new Accessible
3784 every single time that an event is fired. This causes ATs like at-poke
3785 to nolonger recognise the source of the event and thus ignore it.
3786 Re-use the object from the cache, ref it and then unref it after the
3787 listeners have been called.
3789 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3791 * test/event-listener-test.c:
3792 Added command-line options to disable mouse events (m) and
3795 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3797 * configure.in: Update required versions of ATK, GTK+ and GAIL
3799 * cspi-1.0.pc.in: Add dependency for X include files
3802 * cspi/bonobo/Makefile.am:
3803 Add $(X_CFLAGS) so that X include files
3804 are picked up even if not in standard place (bug #71686)
3806 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3808 * registryd/deviceeventcontroller.c: fix for 84261
3809 (spi_dec_mouse_moved):
3810 Added test of mouse button mask, so that we can detect mouse
3811 button release. Unfortunately we can't otherwise detect mouse
3812 button release events without consuming the mouse press event,
3813 because of the way XGrabButton works. This means that our mouse
3814 release events have a latency dependent on the polling period
3815 while the mouse button is down. At least in this case we only
3816 have to poll while the button is down, and not at other times.
3817 If the button masks don't match with what the last press event
3818 reported, we report the appropriate button release event.
3819 (spi_dec_ungrab_mouse):
3820 New method (not yet called).
3821 (spi_device_event_controller_forward_mouse_event):
3822 New method, sends mouse press event from GdkFilter.
3823 (spi_dec_init_mouse_listener):
3824 Added code to call XGrabButton, redirecting mouse button events to
3825 the root window and our Gdk event loop.
3827 Added code to filter mouse button events, and reordered.
3829 * test/event-listener-test.c:
3831 Added registration for mouse events of type "mouse:button".
3833 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3835 * registryd/deviceeventcontroller.c: partial fix for 84261
3836 (spi_dec_poll_mouse_idle):
3837 New method, a timeout which checks to see if the mouse
3839 (spi_dec_poll_mouse_moving):
3840 A timeout to be called when mouse motion is underway.
3841 (spi_dec_poll_mouse_moved):
3842 A method which fires an event if the mouse has moved, and reports
3843 whether or not it did so.
3844 (spi_dec_init_mouse_listener):
3845 A method which sets up the timeouts above.
3846 (spi_device_event_controller_new):
3847 Now calls spi_dec_init_mouse_listener.
3849 * registryd/registry.c:
3850 (spi_registry_init):
3851 Now we initialize the device event controller when the registry is
3852 initialized, instead of waiting until a client has requested a key
3853 event notification; this is because we need the event controller
3854 for mouse events, but the mouse event registration API is a
3855 "registry" call and doesn't explicitly call the
3856 deviceeventcontroller.
3857 We now report mouse motion events with a 100 ms idle latency and
3858 a 20 ms granularity when motion is in progress.
3860 * test/event-listener-test.c:
3862 We now register the "detail listener" for events of type
3863 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3864 delivered only for the first mouse event received, and thereafter
3865 "mouse:abs" events are delivered.)
3867 * cspi/spi_registry.c:
3868 DOCS: Documented the above mouse event typestrings.
3870 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3872 Happy Summer Solstice...
3874 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3875 (spi_controller_notify_keylisteners):
3876 Changes to remove a listener from the listener list, freeing its
3877 open keygrabs, if a notification to that listener fails. This
3878 means that although a dead listener can continue to hold a passive
3879 keygrab, a maximum of one dispatch to such a listener can fail
3880 before the listener is removed from the list, thus the keygrab
3881 will be released on the next occurrence.
3882 As part of this fix:
3883 (spi_notify_keylisteners):
3884 Renamed to spi_controller_notify_keylisteners, as the controller
3885 instance must now be passed as an argument.
3886 The copied 'notify' GList is now a list of DEControllerKeyListener
3887 objects, since we need more than just the CORBA reference if a
3888 notify fails and we need to deregister the listener.
3889 (impl_notify_listeners_sync):
3890 (impl_notify_listeners_async):
3891 (spi_device_event_controller_forward_key_event):
3892 Modify use of notify_keylisteners in accordance with above
3894 (spi_deregister_controller_key_listener):
3895 New method introduced by refactoring, from
3896 impl_deregister_keystroke_listener.
3897 (impl_deregister_keystroke_listener):
3898 Call spi_deregister_controller_key_listener.
3899 (spi_key_listener_clone):
3900 New method to copy a key listner without doing a 'ref' on the
3901 remote object instance; used to create a notifier list.
3902 (spi_key_listener_data_free):
3903 New method, frees data without unreffing the source.
3905 (spi_key_listener_clone_free): new method.
3906 (spi_key_listener_free):
3907 refactored to call spi_key_listener_data_free.
3909 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3911 * registryd/registry.c: [fix for bug 86048]
3912 (notify_listeners_cb):
3913 Clear CORBA system exceptions which occur when notifying
3914 listeners, before returning to the source of the original event,
3915 since the event source doesn't care if the relayed notify failed.
3916 In other words, don't complain to the atk-bridge if the registry
3917 could not notify all its listeners, that's no fault of the
3918 application and thus should not appear to be an error from the
3919 application's perspective.
3921 * cspi/spi_main.c: [fix for bug 85980]
3923 Replaced use of bonobo_object_dup_ref with call to the wrapper
3924 method, csou_dup_ref (); this silences a compiler warning and
3925 provided more portability.
3927 Ping the registry before return, and restart if necessary.
3929 * cspi/bonobo/cspi-bonobo.c:
3931 New internal method.
3933 Fixed this method to return an object reference, as it should have
3936 * cspi/cspi-lowlevel.h:
3937 Added internal definition for cspi_ping() and fixed
3938 return type of cspi_dup_ref().
3941 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3943 * atk-bridge/bridge.c: [fix for bug 85305]
3944 (spi_atk_bridge_register_application):
3945 New method where the initial application registry calls have been
3946 moved; it allows an application to re-register in response to
3947 certain error conditions (such as a registry restart, see below).
3949 Moved some initialization code to the method
3950 spi_atk_bridge_get_registry, below.
3951 (spi_atk_bridge_get_registry):
3952 New, private accessor function for the Accessibility_Registry
3953 instance. If the registry has not been started before, or has
3954 died (as detected by failure of a CORBA exception), it is
3955 restarted before return, and spi_atk_bridge_register_application
3956 is called again to register with the new bridge instance.
3957 (spi_atk_emit_eventv):
3958 Set registry_died on error; use spi_atk_bridge_get_registry () to
3959 access the registry.
3961 * registryd/registry.c:
3962 (impl_accessibility_registry_register_global_event_listener):
3963 Set listener's event_type_quark to etype.minor instead of
3964 etype.major (fix for bug 84856).
3966 * test/event-listener-test.c:
3967 (report_detail_event):
3968 Change the output string so that user/tester can tell that the
3969 'detail listener' was called instead of the 'generic listener'.
3971 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3973 Fixes for bugs 84900, 84908, 84897, 84898.
3978 Revved version to 1.1.0
3979 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3980 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3982 * idl/Accessibility_Registry.idl:
3983 (EventListener::notifyEvent):
3984 Removed 'oneway' directive after extensive consulation with
3985 ORBit2 team and others. This means also that unref() of the event
3986 source can and should be done synchronously after emission, rather
3987 than remotely in the client, after servicing the notify call on
3990 NOTE: This change speeds up listener performance considerably, but
3991 introduces new latency on the application side. We may want to
3992 add an event queue to the atk-bridge.
3994 * atk-bridge/bridge.c:
3995 (spi_atk_bridge_focus_tracker):
3996 Do a local unref() on the event source after emission.
3998 * registryd/registry.c:
3999 (desktop_remove_application):
4000 Do an unref() on the event source after emission.
4001 (desktop_add_application):
4002 Do an unref() on the event source after emission.
4003 (notify_listeners_cb):
4004 When relaying an event, don't automatically add the event source
4005 to the local object cache, just CORBA_dup it instead. Likewise,
4006 if this method reenters, release the ref rather than calling
4008 (impl_registry_notify_event):
4009 No longer call remote unref() on the event source after dispatch.
4011 * libspi/eventlistener.c:
4012 (impl_accessible_event_notify_event):
4013 Removed remote unref ()
4015 * cspi/bonobo/cspi-bonobo-listener.c:
4017 We now call cspi_object_new() instead of cspi_object_add() on
4018 receipt of an event; thus we only have an implicit object ref
4019 while the cspi_event method is being executed. If we need to keep
4020 a reference to the object, the listener must call ref() on the
4021 object. Thus also we don't need to call cspi_object_unref() after
4022 invoking the listener callbacks in this method.
4026 New internal API for creating a new cspi object, without adding it
4027 to the object cache.
4029 Now uses cspi_object_new() to create the cspi object instance.
4031 Now checks to see if the object is in the internal object cache,
4032 and adds it if necessary before incrementing its refcount (note
4033 that new objects are added with a refcount of 1).
4034 (report_leaked_ref):
4035 New method which gives some information on leaked object instances
4036 if leak detection is turned on.
4038 * test/event-listener-test.c:
4039 (timing_test_event):
4040 New method, used for testing event delivery timing for special
4041 events of type "object:test". It reports elapsed time and
4042 events/sec every 500 events.
4044 Added a new listener, 'test listener', to check timing of event
4045 receipt as noted above.
4047 Added some timing output here also, reports elapsed time every 100
4050 * test/stress-test.c:
4051 Emit events of type "object:test", for use with "event-listener-test".
4053 * test/test-simple.c:
4054 (global_listener_cb):
4055 Call Accessible_ref() on the event source before calling
4056 validate_accessible, since the validation process does pointer
4057 comparisons on the event source, meaning that the event source
4058 needs to be added to the local object cache first. Any use of
4059 such pointer comparisons between Accessible objects requires that
4060 the caller hold an explicit reference to those objects.
4061 We also must therefore call Accessible_unref() when leaving this method.
4063 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4065 * registryd/deviceeventcontroller.c:
4066 (spi_controller_update_key_grabs):
4067 Fix for #84735, subsequent keygrab listeners not informed of
4068 registration failure.
4071 (spi_base_construct):
4072 Add an assertion on construct, to make sure the GObject passed in
4073 is really a GObject.
4075 Explicitly initialize object->gobj pointer to NULL;
4077 * cspi/bonobo/cspi-bonobo-listener.c:
4078 (cspi_object_add_ref):
4079 New method, can specify whether to dup-ref a bonobo object passed
4080 in if it's newly added to the object cache.
4082 Now calls cspi_object_add_ref with second param of "FALSE". This
4083 prevents us from doing a pointless dup-ref followed by
4084 release-unref for all those cases where the object is already in
4085 our object cache (fix for #85205).
4087 * atk-bridge/bridge.c:
4088 (spi_atk_bridge_idle_init):
4089 Removed this method, we don't need to initialize in an idle
4092 Changed to call spi_atk_register_event_listeners directly, not via an
4093 idle handler. (fix for #81139)
4094 (gnome_accessibility_module_shutdown):
4095 Removed conditional around deregistration of listeners, since we
4096 don't use the idle handler and thus have always registered when
4098 (spi_init_keystroke_from_atk_key_event):
4099 Changed references to Accessibility_KEY_PRESSED to
4100 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4102 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4104 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4109 * test/stress-test.c:
4112 (may have been an incomplete commit yesterday?)
4114 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4117 Added target for new stress-test.
4119 * test/stress-test.c:
4120 New test, sends 1000 focus notifies in quick succession.
4122 * test/key-listener-test.c:
4123 Now we report whether a keylistener registration
4124 request succeeded or failed.
4126 * test/event-listener-test.c:
4127 Uncommented some listeners which are now implemented.
4130 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4132 * registryd/deviceeventcontroller.c:
4133 (spi_controller_update_key_grabs):
4134 Fix for #82509, lack of failure notification when
4135 ALL_WINDOWS keygrabs fail due to XGrabKey
4136 failure: we synchronize the server when
4137 registering a passive grab, to make sure we get the
4138 error message before the call returns.
4140 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4142 * test/test-simple.c:
4144 Removed #ifdef KEY_IMPL_WORKS guards.
4145 (test_keylisteners):
4146 Removed #ifdef KEY_IMPL_WORKS guards.
4147 Fixed bug which was causing a hang waiting for a
4148 "press" event (which was already overwritten by a "release"
4149 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4151 Added code to set globals 'key_press_received' and
4152 'key_release_received'.
4155 Added section "1.1 API Proposed Additions" which
4156 lists API additions desired for at-spi-1.1 (only one so far).
4157 Updated TODO list a little.
4159 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4161 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4164 * configure.in: Revved to 1.0.0.
4166 * idl/Accessibility_Registry.idl:
4167 (registerKeystrokeListener):
4168 Added boolean return value.
4170 * registryd/registry.c:
4171 (notify_listeners_cb): Minor fix to debug output.
4173 * registryd/Accessibility_Registry.server.in.in:
4174 Revved version number in OAFIID to 1.0.
4176 * registryd/registryd.c:
4178 Use new OAFIID version.
4180 * cspi/bonobo/cspi-bonobo.c:
4182 Use new OAFIID version.
4188 * atk-bridge/bridge.c:
4190 Use new OAFIID version.
4192 * registryd/deviceeventcontroller.c:
4193 (impl_register_keystroke_listener):
4194 Added CORBA_boolean return value.
4195 (spi_controller_register_device_listener):
4196 Added gboolean return value.
4197 (spi_controller_register_global_keygrabs):
4198 Added gboolean return value.
4199 (spi_key_set_contains_key):
4200 Added implementation for many more control keys,
4201 for instance F1-F12, arrow keys, End, Home, Page_Up,
4203 [TODO: some still not implemented].
4205 * text/screen-review-test.c:
4206 (text_chunk_pad_string):
4207 New function: it provides mapping between coordinate
4208 positions of text chunks and character positions in the
4209 screen-review-line output string.
4210 (text_chunk_to_string):
4211 New function, calls text_chunk_pad_string with various
4212 pad/delimiter characters. Pushbuttons are delimited with
4213 square brackets, Frames with vertical 'pipe' lines, and
4214 other text with double quotes.
4215 (text_chunk_list_to_string):
4216 Calls new function text_chunk_to_string.
4217 (toplevel_composite):
4218 New function to composite layers CANVAS through
4219 POPUP in each toplevel (other layers are composited
4220 across toplevels, i.e. BACKGROUND and OVERLAY).
4221 (review_buffer_composite):
4222 Revise to use new methods.
4228 2002-05-31 Laszlo Peter <laca@sun.com>
4230 * configure.in: add the Xtst libdir to the runpath on Solaris,
4231 since it's not in the default library search path.
4233 2002-05-29 jacob berkman <jacob@ximian.com>
4235 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4237 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4239 * test/screen-review-test.c:
4240 (text_chunk_pad_string):
4241 Added method, which pads the string according to the
4242 text bounds of the chunk. It also takes a 3-character
4243 string as a param which indicates the characters to be
4244 used for start, padding, and end delimitation of the chunk.
4245 (text_chunk_to_string):
4246 Changed to use text_chunk_pad_string.
4248 * configure.in: Fixed bug in AC_OUTPUT that was
4249 causing path substitution in Accessibility_Registry.server
4252 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4254 * text/screen-review-test.c:
4255 (guess_string_clip):
4256 New method which attempts a best-guess at clipping
4257 text from components (like Java labels) which don't
4258 actually implement AccessibleText. This inaccurate
4259 clip is based on the assumption that the label is
4260 justified left-and-right, and monospaced.
4261 (text_chunk_get_clipped_string):
4262 We now call guess_string_clip() for text-containing
4263 components that don't implement AccessibleText.
4265 * test/screen-review-test.c:
4266 (review_buffer_get_text_chunk):
4267 We now pull "name" from labels if they do not implement
4268 AccessibleText (i.e. for Java labels).
4269 (get_screen_review_line_at):
4270 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4273 Replaceded AC_OUTPUT target
4274 registryd/Accessibility_Registry.server with
4275 registryd/Accessibility_Registry.server.in.
4277 * registryd/Accessibility_Registry.server.in:
4278 Removed (this is now a Makefile target).
4280 * registryd/Accessibility_Registry.server.in.in:
4281 Added (source for target above). We now use $(libexecdir) as
4282 prefix for the executable at-spi-registryd.
4284 * registry/Makefile.am:
4285 Now install at-spi-registryd into $(libexecdir), and build .server
4286 file with path (see above).
4288 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4290 * test/screen-review-test.c:
4291 (text_chunk_get_clipped_string):
4292 We now check to see if words fall within clip bounds
4293 before resorting to character-by-character clip bounds testing.
4295 * TODO: Added a section for "2.2 Proposed API Additions".
4297 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4299 * test/screen-review-test.c:
4301 Added a screen review benchmarking and test program to test
4304 * cspi/spi_accessible.c:
4306 Made some of the debug strings passed to cspi_check_ev a
4307 little more specific.
4309 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4311 * test/screen-review-test.c: Fix crashes in debug statements
4313 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4315 * test/screen-review-test.c: Added this file.
4317 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4319 * atk-bridge/bridge.c: changed "object:state-change" to
4320 "object:state-changed" to match docs.
4322 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4324 * atk-bridge/bridge.c: Hooked up state-change event details.
4326 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4328 * registryd/registry.c:
4329 Fixed quarking bug in event string parsing; now events with
4330 detail parameters get matched correctly to listeners.
4333 * util/idl/Magnifier.idl: remove.
4335 * util/*.[ch]: Remove.
4336 Magnification utilities and IDL are now in module gnome-mag.
4338 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4340 * registryd/deviceeventcontroller.c:
4341 Fixed bug in grab key conversion which was causing keycode grabs
4342 to be converted to AnyKey grabs.
4345 updated NEWS file to reflect recent spin-off of gnome-mag.
4347 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4349 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4350 busted AccessibleStateSet_compare. Removed redundant casts.
4352 * cspi/spi-action.c: Removed redundant casts.
4354 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4356 * cspi/spi_component.c: Fixed typos and casting error.
4358 * cspi/spi_editabletext.c: Removed redundant casts.
4360 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4362 * cspi/spi_hypertext.c: Eliminated redundant casts.
4364 * cspi/spi_image.c: Eliminated redundant casts.
4366 * cspi/spi_registry.c: Eliminated redundant casts.
4367 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4368 * cspi/spi_selection.c: Removed redundant casts.
4369 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4370 handling. Screen geometry and text offsets were being returned as 0
4371 on error which is technically valid-- changed these to return -1.
4372 Added marshaller for text boundary types to fix bug with boundary
4373 types being passed incorrectly to atk.
4375 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4378 * cspi/spi_registry.c:
4379 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4380 which was uncovered by the recent key changes.
4382 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4384 * test/event-listener-test.c:
4386 Added new test, "event-listener-test";
4387 this code does two things; it benchmarks traversal time
4388 for the accessible hierarchy for the first running accessible
4389 app, and it connects listeners for all supported event types.
4390 It is thus useful as an example event listener and for
4391 diagnostics/debugging of event generation.
4393 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4396 Removed unnecessary dependency on libutil.
4399 Revved micro version: 0.13.1
4401 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4404 Removed util/Makefile from targets.
4407 Removed util subdir from SUBDIRS (temporarily,
4408 pending removal of magnifier-only code
4412 #ifdef-ed out magnifier dependencies, since
4413 magnifier IDL, headers, and binary now live in
4414 module gnome-mag and we don't want at-spi to depend
4415 on gnome-mag. A magnifier demo which can run alongside
4416 simple-at is forthcoming in the gnome-mag module.
4418 NOTE: Split magnifier binary, IDL, and magnification
4419 activation code from at-spi into module gnome-mag.
4421 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4423 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4424 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4426 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4429 Revved to version 0.13.0
4431 * idl/Accessibility_Registry.idl:
4432 Changed definition of KeySet from sequence of longs to sequence of
4433 KeyDefinitions, and added KeyDefinition struct.
4434 Required for fix to bug 80616.
4436 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4437 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4438 to use new definition (see above).
4440 * registryd/deviceeventcontroller.c: handle_keygrab(),
4441 spi_keyset_contains_key():
4442 Changed to make use of new struct; this allows matching based on
4443 string key-name, for instance "Tab". This also allows matching of
4444 composed characters, non-alphanumeric characters in a way that
4445 doesn't involve dependencies on X keysym codes directly, etc.
4447 * test/key-listener-test.c:
4448 Added test for Alt-Tab key using "string" specification of keyset,
4449 and modified one of the tests to use a keycode-based keyset.
4450 Thus this test both tests and demonstrates the creation and use of
4451 keysets of three forms: specified via keycode array,
4452 keysym array, and string array. (The string case only contains a
4453 single string, i.e. a string array of length 1).
4456 Turned on PRINT_TREE option by default. Also fixed a
4457 string-freeing bug in the PRINT_TREE code.
4458 Added a listener to window:minimize events.
4460 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4462 * atk-bridge/bridge.c:
4463 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4464 for window:activate and window:deactiveate
4465 (atk_bridge_property_event_listener atk_bridge_signal_listener
4466 atk_bridge_window_event_listener) Tidy debug code
4468 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4470 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4471 Fixed handling for NULL return value from ATK.
4473 * libspi/action.c libspi/component.c libspi/editabletext.
4474 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4475 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4476 Removed redundant casts.
4478 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4479 Fixed off by one bug.
4481 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4482 function not present in idl)
4484 2002-05-02 jacob berkman <jacob@ximian.com>
4486 * atk-bridge/Makefile.am: make atk-bridge a real module
4488 2002-04-26 Radek Doulik <rodo@ximian.com>
4490 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4491 atk_state_types table
4493 2002-04-22 jacob berkman <jacob@ximian.com>
4496 * libspi/Makefile.am: add deps on the built files to help
4497 automake, and don't version the ORBit typelib
4499 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4501 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4502 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4503 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4504 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4505 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4506 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4507 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4508 libspi/accessible.h libspi/accessible.h libspi/base.h
4509 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4510 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4511 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4512 libspi/spi-private.h libspi/statetset.h libspi/table.h
4513 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4514 util/mag_client.h util/mag_control.c util/mag_image.c
4515 util/mag_image.h util/magnifier.c util/magnifier.h:
4516 Add missing file headers; standardize existing ones
4518 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4520 * atk-bridge/bridge.c: Added window event support.
4522 2002-04-18 Michael Meeks <michael@ximian.com>
4524 * libspi/relation.c (impl_getNTargets): impl.
4525 (impl_getTarget): impl.
4527 * libspi/Makefile.am: fix stateset install.
4529 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4532 Started putting useful info in this file.
4534 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4536 * atk-bridge/bridge.c:
4537 Propagate state-changed notifications to ATs
4539 * cspi/spi_registry.c: update docs to reflect actual behavior of
4540 state-change events.
4542 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4545 Incremented version to 0.12.1
4547 * util/mag_client.h:
4548 Add missing declaration for magnifier_exit,
4549 used by mag_control.c - Forte compiler didn't like
4550 the implicit redeclaration of the function :-(
4553 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4556 Revved version to 0.12 due to API change (see below).
4558 * cspi/spi-roletypes.h:
4559 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4560 definition from the inline docs, and added docs
4561 for SPI_ROLE_LAST_DEFINED.
4564 * cspi/spi_streamablecontent.c:
4565 Added missing seek_type parameter to
4566 (so far unused) method,
4567 AccessibleStreamableContent_seek().
4568 [ RT approval JodyG. ]
4571 Fixed docs for SPI_createAccessibleKeystrokeListener.
4573 * cspi/spi_registry.c:
4574 Fixed docs for SPI_KEYSET_ALL_KEYS.
4576 * docs/reference/cspi/at-spi-cspi-sections.txt:
4577 Added a number of missing APIs to SECTIONS.
4579 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4581 * registryd/Makefile.am:
4583 * cspi/bonobo/Makefile.am:
4584 Add $(X_LIBS) to makefiles.
4586 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4589 Revved version to 0.11.
4591 * libspi/component.c:
4592 Added implementation for grabFocus.
4594 * idl/Accessibility_Component.idl
4595 (Accessibility_Component_grabFocus):
4596 Made this method return boolean to indicate success or failure, to
4597 be consistent with cspi and the corresponding ATK method.
4599 * idl/Accessibility_Selection.idl
4600 (Accessibility_Selection_selectAll) :
4601 Made these methods return boolean to indicate success or
4602 failure, to be consistent with cspi and the corresponding ATK methods.
4604 * idl/Accessibility_EditableText.idl
4605 (Accessibility_EditableText_setTextContents,
4606 Accessibility_EditableText_insertText,
4607 Accessibility_EditableText_cutText,
4608 Accessibility_EditableText_deleteText,
4609 Accessibility_EditableText_pasteText):
4610 Made these methods return boolean to indicate
4613 * cspi/spi_editabletext.c:
4614 Made these methods return booleans.
4616 * libspi/selection.c:
4617 * libspi/component.c:
4618 * libspi/editabletext.c:
4619 Connected the boolean returns from ATK
4620 to the server-side code referenced above.
4622 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4624 * idl/Accessibility_Table.idl: Added missing methods,
4625 Accessibility_Table_addRowSelection,
4626 Accessibility_Table_addColumnSelection,
4627 Accessibility_Table_removeRowSelection,
4628 Accessibility_Table_removeColumnSelection.
4631 Added C wrappers for above IDL:
4632 AccessibleTable_addRowSelection,
4633 AccessibleTable_addColumnSelection,
4634 AccessibleTable_removeRowSelection,
4635 AccessibleTable_removeColumnSelection.
4638 Added server-side implementation code for IDL above, connecting
4639 to pre-existing ATK api.
4641 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4643 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4645 * libspi/accessible.c: Added implementation fo
4646 Accessibility_Accessible_get_state.
4648 * libspi/libspi.h: Added stateset.h to the list of includes.
4650 * libspi/stateset.c: Fixed broken implementation.
4652 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4655 Added implementation code for Accessibility_Magnifier_exit ().
4657 * util/mag_control.c:
4658 Added test code for above method; you can
4659 now kill an existing magnifier via
4660 ./mag_control q, from the util directory.
4662 * test/key-listener-test.c:
4664 Added a new test, for our key listener API.
4666 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4668 * test/app.c, test/keysynth-demo.c:
4670 Replace use of snprintf with g_snprintf.
4671 (fix for bugzilla 78249)
4673 2002-03-27 Michael Meeks <michael@ximian.com>
4677 * util/Makefile.am (INCLUDES): fix.
4678 (DONT_DIST_SOURCE): don't distribute the
4681 * libspi/Makefile.am (dist-hook): ditto.
4683 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4685 * libspi/hypertext.c:
4686 Fix warnings when yelp is used with atk-bridge
4688 2002-03-21 Michael Meeks <michael@ximian.com>
4690 * libspi/application.c (spi_application_new):
4691 use spi_accessible_construct so we use the AtkObject
4694 2002-03-19 Michael Meeks <michael@ximian.com>
4696 * registryd/registry.c (desktop_remove_application),
4697 (desktop_add_application): clean coding style.
4699 * registryd/desktop.c (spi_desktop_remove_application),
4700 (spi_desktop_add_application): kill re-enterency hazards.
4701 (spi_desktop_dispose): remove bogus redundant cast
4702 obscuring bug; fix bug too.
4703 (spi_desktop_init): make the desktop object immortal.
4705 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4708 Added a #define-guarded tree-traversal step
4709 when enumerating the apps (diagnostic tool).
4711 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4713 * idl/Accessibility_Role.idl:
4714 Added ROLE_DRAWING_AREA which seemed to be missing from the
4717 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4719 * cspi/spi-roletypes.h cspi/spi_accessible.c
4720 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4723 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4724 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4725 AT when applications are added and removed from the desktop. This
4726 reverts the previous broken implementation using the backing
4727 AtkObject for the SpiDesktop.
4729 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4731 * registryd/desktop.c: emit the "children-changed::add" and
4732 "children-changed::remove" signals on the backing ATK object for
4733 the desktop so AT can tell when applications are started and shut
4736 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4738 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4740 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4742 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4744 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4746 * cspi/state-types.h: synched with IDL and ATK
4748 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4750 * libspi/accessible.c
4751 (impl_accessibility_accessible_get_child_at_index):
4752 Change return value for g_return_if_fail ()
4753 to CORBA_OBJECT_NIL instead of "0" (!)
4755 * registryd/Makefile.am:
4756 * registryd/Accessibility_Register.server.in:
4757 Changed name of executable, "registryd",
4758 to something more informative:
4761 2002-03-13 Michael Meeks <michael@ximian.com>
4763 * atk-bridge/bridge.c (atk_bridge_init): don't register
4764 if we're in a bonobo-component, rather than a bonobo app.
4766 2002-03-13 Michael Meeks <michael@ximian.com>
4768 * atk-bridge/bridge.c (gtk_module_init): split
4769 out body to (atk_bridge_init): here, since otherwise
4770 we get symbol conflicts and oddness when invoked
4771 from (gnome_accessibility_module_init): here (upd.)
4773 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4776 New file. Explicitly allow "build sheriff" putbacks provided
4777 they are tested on Solaris.
4779 * docs/reference/cspi/Makefile.am:
4780 Added '-' to the "cp" command for index.sgml.
4781 ("patch by thomasvs, soon coming to a GUADEC near you")
4784 Incremented version number (0.9.0) for new release.
4785 Changed macro that checks for popt, to better detect
4786 obsolete versions of popt.
4789 Added X_LIBS to AC_SUBST, for applications
4790 that call Xlib API directly.
4793 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4796 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4799 Fix regression caused by hard-coding major
4800 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4803 * test/test-simple.c (test_editable_text),
4804 (test_test): revert previous change (error was
4805 a regression in gail which is now fixed).
4807 2002-03-04 Michael Meeks <michael@ximian.com>
4809 * test/test-simple.c (test_editable_text),
4810 (test_text): pass G_MAXINT instead of '-1' for
4811 whole string - is this a good thing !?
4813 * cspi/spi_accessible.c
4814 (Accessible_getRelationSet): fix crasher bug
4815 overwriting the end of the array.
4817 * test/test-simple.c (validate_accessible): free,
4818 not g_free returned relation set.
4820 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4822 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4823 implemented stateset support
4825 * idl/Accessibility_State.idl: Made necessary changes to
4826 the IDL to support state sets.
4828 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4830 * registryd/deviceeventcontroller.c:
4831 Added implementation for generateMouseEvent.
4833 * cspi/spi_registry.c:
4834 Connected new implementation for generateMouseEvent
4837 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4840 Incremented revision (but no change in public API
4841 outside of 'utils', which are not installed public yet.)
4843 * libspi/component.c:
4844 Changed to use atk_component API for layers and
4845 mdi_zorder, instead of deprecated atk_object API.
4847 Magnification Utility Enhancements:
4850 Added implementation of createZoomRegion, clearAllZoomRegions,
4851 resizeZoomRegion. Added new commandline argument
4852 "--no-initial-region". Note that clearAllZoomRegions doesn't
4853 unmap the old '0' region as it should (yet), and the other
4854 methods only work when creating/resizing a single region,
4855 which is "region 0".
4856 (Code for multiple region support will be added later.)
4859 Now we raise the magnifier window each time it's refreshed;
4860 this will help keep it on top.
4862 * util/mag_client.h:
4863 Added simple wrappers for above, used by mag_control.
4864 For general use, it's recommended to use the bonobo magnifier
4865 control API directly instead of using these wrappers.
4868 Moved ZoomRegionData from magnifier.c to this file.
4870 * util/mag_control.c:
4871 Added some code to exercise new IDL implementations.
4873 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4875 * libspi/text.c: Provide implementation for getAttributes.
4877 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4880 Incremented revision.
4882 * test/test-simple.c:
4883 Replaced use of deprecated g_main_iteration with
4884 g_main_context_iteration.
4886 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4889 Incremented revision for desktop alpha 2.
4891 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4893 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4896 * test/simple-at.c: include netinet/in.h.
4898 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4900 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4901 use NULL, not CORBA_OBJECT_NIL.
4903 * libspi/accessible.c:
4904 (impl_accessibility_accessible_get_relation_set):
4905 allocate the sequence correctly.
4907 * libspi/remoteobject.h: kill spi_remote_object_new.
4909 * test/test-simple.c: (validate_accessible): add code
4910 to test relation sets, now all we need is to figure
4911 out how to excercise this code path :/
4913 2002-01-18 Michael Meeks <michael@ximian.com>
4915 * test/test-simple.c
4916 (key_listener_cb): consume the key.
4917 (test_keylisteners): update.
4918 (main): wait for any pending unrefs on events.
4920 * registryd/deviceeventcontroller.c
4921 (spi_controller_update_key_grabs): only re-issue the
4922 grab on a key release.
4923 (spi_device_event_controller_forward_key_event):
4924 refresh the keygrabs before we notify the listeners,
4925 to reduce the X ungrab / re-grab race.
4926 (spi_controller_register_with_devices): remove
4927 XSelectInput - we do that with the gdk_window_ call.
4928 (_spi_controller_device_error_handler): return a value.
4929 s/GDK_DISPLAY/spi_get_display/
4931 2002-01-17 Michael Meeks <michael@ximian.com>
4933 * registryd/deviceeventcontroller.c
4934 (_deregister_keygrab): don't blow out the later
4937 * test/test-simple.c (test_keylisteners): do a
4938 more intelligent validation.
4940 2002-01-14 Michael Meeks <michael@ximian.com>
4942 * atk-bridge/bridge.c
4943 (gnome_accessibility_module_init),
4944 (gnome_accessibility_module_shutdown): impl.
4945 (gtk_module_init): protect vs. double inits.
4946 (add_signal_listener): impl.
4947 (spi_atk_bridge_state_event_listener): kill
4948 (deregister_application): split out of
4949 (spi_atk_bridge_exit_func): here.
4951 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4954 Added caret tracking when using magnifier, and
4955 now use text bounds for focus tracking of text elements, rather than
4956 the component bounds - this is helpful for short text fields in long
4957 table cells, at high magnification.
4959 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4961 * registryd/deviceeventcontroller.c:
4962 Regression fix for keylistener de-registration; global keygrabs
4963 were not being released when deregisterKeystrokeListener was
4964 called in cspi, since
4965 Accessibility_DeviceEventController_deregisterKeystrokeListener
4966 was called with a zero-length keyset. That is because the cspi
4967 method, SPI_deregisterKeystrokeListener, does not take a keyset
4968 parameter but instead should remove all the key grabs held be a
4970 The code in impl_deregister_keystroke_listener was changed to copy
4971 the keylist from the listener instance previously registered with
4972 the DeviceEventController before releasing the grabs.
4974 * registryd/registry.c:
4975 * registryd/deviceeventcontroller.c:
4976 * libspi/spi-private.h:
4978 Changed spelling of "re-enterant" to "re-entrant" globally.
4980 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4982 * test/test-simple.c:
4983 Changed key listeners test - the test was slightly mis-using the
4984 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4985 It now uses '=' as the key event listened to and generated,
4986 relying on a keysym match rather than assuming that keycode 33
4987 is always equal to keysym '!'.
4989 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4992 Changed simple-at to use a specific keyset, rather than
4993 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4994 manager, desktop, etc.
4996 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4998 * registryd/deviceeventcontroller.c:
4999 Replaced standard X error handler with a special handler that
5000 is non-fatal for failed keygrabs. This works around
5001 problems with keygrab clashes sometimes observed on
5003 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5004 mouse handling code as yet).
5006 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5009 Incremented revision for desktop alpha release.
5012 Fixed a couple of the more glaring errors (still not
5015 2002-01-11 Michael Meeks <michael@ximian.com>
5017 * registryd/deviceeventcontroller.c
5018 (spi_device_event_controller_forward_key_event): kill
5019 XUngrabKey / XKeyGrab race.
5020 (spi_controller_grab_keyboard): rename to
5021 (spi_controller_update_key_grabs): this, and deal
5022 with incremental adding / removing grabs more
5024 (_register_keygrab): ensure we're not pending a remove.
5025 (spi_grab_mask_free): impl.
5026 (spi_controller_register_global_keygrabs): split out
5028 (handle_keygrab): impl.
5029 (_deregister_keygrab): impl.
5030 (spi_controller_deregister_global_keygrabs): impl.
5031 (spi_controller_update_key_grabs): re-issue the grab if
5032 we just recieved a notification.
5034 * test/test-simple.c (key_listener_cb): remove debug.
5036 * registryd/deviceeventcontroller.c
5037 (spi_controller_register_device_listener): after
5038 registering a global keygrab, actualy register it !
5039 don't wait for a timeout; doh !
5041 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5042 to make it more readable / manipulable.
5043 s/grabmask/grab_mask/ s/refcount/ref_count/
5044 s/keyval/key_val/ s/modmask/mod_mask
5046 2002-01-08 Michael Meeks <michael@ximian.com>
5048 * registryd/deviceeventcontroller.c
5049 (spi_controller_register_with_devices): use gdk calls to
5051 (global_filter_fn): implement the filter.
5052 (spi_device_event_controller_check_key_event): rename to
5053 (spi_device_event_controller_forward_key_event): this & upd.
5054 (spi_get_display): replace with GDK_DISPLAY.
5056 * registryd/deviceeventcontroller.c
5057 (spi_controller_deregister_device_listener): unroll into
5058 (impl_deregister_keystroke_listener): here to simplify.
5059 (spi_controller_register_global_keygrabs): split cut and
5060 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5061 (spi_controller_deregister_device_listener): remove.
5062 (impl_register_mouse_listener): remove, no mouse listener
5063 support in at-spi-1.0
5065 * registryd/registry.c
5066 (_device_event_controller_hook): kill.
5067 (spi_registry_init): upd.
5069 * registryd/deviceeventcontroller.c
5070 (spi_device_event_controller_class_init): upd.
5071 (spi_check_key_event): merge into.
5072 (spi_device_event_controller_check_key_event):
5073 here and kill strange static ev init, don't leak
5074 the x_event - nor dynamicaly allocate it.
5076 * registryd/registry-main.c (main): re-direct
5077 timeout to remove strange vtable mess.
5079 * registryd/deviceeventcontroller.c
5080 (remove_listener_cb): impl.
5081 (spi_controller_deregister_device_listener):
5082 fix re-enterancy hazard.
5084 2002-01-07 Michael Meeks <michael@ximian.com>
5086 * registryd/deviceeventcontroller.c
5087 (spi_device_event_controller_new): upd.
5088 (impl_notify_listeners_sync): upd. debug.
5089 (spi_notify_keylisteners): fix re-enterancy hazards,
5090 prettify, remove O(n*n) iteration.
5091 (spi_controller_grab_keyboard): fix iteration.
5092 (spi_check_key_event): re-format to suit coding style.
5093 Clean all the warnings - we're warning free.
5095 * registryd/deviceeventcontroller.h:
5096 * registryd/registry.h: make mutualy referential with
5097 typesafe forward references instead of (!) void pointer
5100 2002-01-11 Michael Meeks <michael@ximian.com>
5102 * cspi/spi_accessible.c (role_names): add a role name
5103 to sync this array with the enum; and make the regression
5106 2002-01-10 Michael Meeks <michael@ximian.com>
5108 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5109 allow expansion of enumeration & kill warning.
5111 * test/test-simple.c (key_listener_cb): impl.
5112 (test_keylisteners): impl.
5114 * cspi/spi-listener.h: make listener signatures const
5115 on the provided (const) events.
5117 * test/keysynth-demo.c: upd. to const events.
5119 * test/simple-at.c: ditto.
5121 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5124 Rev the version to 0.5 (the previous tarball was named 0.4,
5125 even though the micro number was 3), so we need to rev upwards
5126 again for beta2/"desktop-alpha"
5129 Checked in a demo script, which requires editing before use!
5130 Proceed with caution.
5133 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5135 * cspi/spi_accessible.c:
5136 Add a couple of missing enum initializations, and fix some enum
5139 * cspi/spi_registry.c:
5140 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5142 * docs/reference/cspi/at-spi-cspi-sections.txt:
5143 Remove/fix a couple of broken document references.
5146 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5147 as Alt-Control to listen for commands, since on some systems
5148 Control-Alt may already be grabbed.
5150 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5153 Update version number to 0.4 for Beta2.
5155 * libspi/accessible.c, libspi/accessible.h:
5156 Expose spi_accessible_construct, to enable libgail-gnome
5157 construction from spi_accessible subtype.
5159 * utils/magnifier.c:
5160 Workaround for bug in some non-gnome-compliant window managers
5161 which made magnifier resize improperly.
5163 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5165 * libspi/accessible.c: (spi_accessible_new) :
5166 Move the test for SPI_IS_REMOTE_OBJECT to
5167 spi_accessible_new_return, fixing a bug and compile time warning.
5169 2002-01-08 Michael Meeks <michael@ximian.com>
5171 * registryd/registry.c (parse_event_type): remove strndup.
5173 * libspi/Makefile.am (libspi_la_SOURCES): remove
5174 sources already included in the headers section.
5176 * libspi/util.c: add.
5178 * libspi/spi-private.h: add.
5180 * registryd/registry.c: update to moved list iterators.
5182 2002-01-05 Michael Meeks <michael@ximian.com>
5184 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5186 * test/test-simple.c (main): ditto.
5188 2002-01-04 Michael Meeks <michael@ximian.com>
5190 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5191 redundant construct.
5193 * registryd/registry.c
5194 (get_listener_list): impl.
5195 (impl_accessibility_registry_register_global_event_listener):
5196 re-impl. to simplify using ~, remove dodgy const cast off.
5197 (parse_event_type): constify.
5198 (impl_accessibility_registry_deregister_global_event_listener_all):
5199 re-write, more efficiency and simplicity, kill re-enterancy
5201 (compare_listener_corbaref, compare_corba_objects),
5202 (compare_listener_quarks): define out.
5203 (impl_accessibility_registry_deregister_global_event_listener):
5204 re-write for effiency, and nail re-enterancy hazard.
5205 (impl_accessibility_registry_get_desktop_list): impl.
5206 (re_enterant_list_delete_link): impl.
5207 (re_enterant_list_foreach): impl.
5208 (remove_listener_cb): impl.
5209 (_registry_notify_listeners): kill.
5210 (notify_listeners_cb): impl.
5212 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5213 (SPI_getDesktopList): impl.
5215 * test/test-simple.c (test_desktop): test the methods.
5217 2002-01-03 Michael Meeks <michael@ximian.com>
5219 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5220 keystrings since we free them
5221 (SPI_freeAccessibleKeySet): in here.
5223 * libspi/accessible.c (spi_accessible_new): kill warning,
5224 wonder what is going on with the constructor here.
5226 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5228 * libspi/accessible.c (spi_accessible_new ()) :
5229 Added check to see if AtkObject is an SpiRemoteObject before
5230 creating an SpiAccessible.
5232 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5234 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5235 Enable keygrabs using the Control modifier, now that they are
5236 working properly (they were previously disabled).
5239 Change the command keygrab for this demo to "Control+Alt", so as
5240 to conflict with fewer other key commands on the system; this
5241 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5243 Removed a pointlessly-chatty keylistener for unshifted keys
5244 (shifted keys are still reported).
5246 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5248 * libspi/remoteobject.h:
5249 * libspi/remoteobject.c:
5250 Added definitions for special AtkObject subtype, required for
5251 support of remote components (specifically, used by BonoboControl
5252 accessibility implementation).
5254 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5256 * cspi/spi.h: synched relation types with ATK
5258 * cspi/spi_accessible.c: Added implementations of
5259 AcccessibleRelation_* methods
5261 * idl/Accessibility_Relation.idl: added getRelationTypeName
5262 method. Synched known relation types with ATK. Allowed for
5263 relation type extension with the RELATION_EXTENDED type.
5265 * libspi/relation.c: Provided implementations for
5266 AccessibleRelation methods.
5268 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5270 API tweaks for today's API 'freeze'.
5273 Added placeholder functions to allow future compatible expansion
5274 of the IDL interfaces.
5276 * idl/Accessibility_Registry.idl:
5277 Changed generateKeyEvent to generateKeyboardEvent. Changed
5278 signature of this method to accept an optional keystring in
5279 parameter (for complex text input synthesis) and changed use of
5280 simple 'boolean' parameter in registerKeystrokeListener to a
5281 struct, EventListenerMode.
5283 * cspi/spi_accessible.c:
5285 * cspi/spi_streamablecontent.c:
5286 Added references to AccessibleStreamableContent interface, and
5287 definition and implementation of AccessibleStreamableContent
5290 * cspi/spi_registry.c:
5292 Changed generateKeyEvent API to generateKeyboardEvent,
5293 taking a new (optional) keystring parameter to support complex
5298 Renamed directory (to better reflect its actual purpose, bridging
5299 from at-spi to ATK). The .so module is also now named
5302 * idl/Accessibility_Hypertext.idl:
5303 * libspi/accessible.c:
5304 * libspi/hypertext.h:
5305 * libspi/hypertext.c:
5306 Changed Accessibility_Hypertext to *not* derive from
5309 * cspi/spi_registry.c:
5310 Added list of legal event type names for 'window' events, which
5311 completes the registry event API.
5313 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5315 * at-bridge/bridge.c: Added registration for separate
5316 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5317 signals. If either of the first two parameters to the generic
5318 bridge signal handler are ints, they are passed on as event
5319 details. This allows an AT to determine what text was inserted.
5321 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5323 * registryd/deviceeventcontroller.c:
5324 Fixed regressions in generateKeyEvent caused by the removal of
5325 gdk_init from registryd; we now use pure X calls to connect to the
5326 display, which makes sense because deviceeventcontroller already
5327 uses a fair bit of X API (should eventually be migrated to a
5328 'portability layer').
5330 * registryd/desktop.c:
5331 Fixed minor regression in spi_desktop_init, changed the way the
5332 desktop name is being set to work with new spi_base API
5333 (gobject-based, rather than AtkObject-based).
5335 * registryd/Makefile.am:
5336 Minor revision of makefile to use XTST_LIBS variable rather than
5337 hard-wiring the Xtst LD_ADD element.
5339 * test/keysynth-demo.c:
5340 Tweaked an output message; added initialization of the
5341 'keystrings' member of the "switch listener" key_set.
5343 * libspi/relation.c:
5344 Squashed compile-time warning.
5346 * libspi/accessible.c:
5347 Cosmetic and formatting fixes, renamed a static method.
5349 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5351 * libspi/accessible.c
5353 * libspi/application.c
5356 * libspi/component.c
5357 * libspi/editabletext.c
5358 * libspi/hyperlink.c
5359 * libspi/hypertext.c
5361 * libspi/selection.c
5365 * registryd/desktop.c:
5366 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5368 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5370 * idl/Accessibility_Registry.idl:
5371 Added boolean member 'is_text' to DeviceEvent. This is for the
5372 use of key events, and helps prevent ambiguity between composed
5373 key strings and keysym names, since both may potentially be
5374 returned in the 'event_string' member.
5376 * at-bridge/bridge.c:
5377 * registryd/deviceeventcontroller.c:
5378 Use the 'is_text' member when notifying device event listeners.
5379 Knon issue: composed characters are not dealt with correctly by
5380 the global key listener implementation yet.
5382 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5384 * at-bridge/bridge.c:
5385 Namespaced local static methods to spi_atk_bridge_* where
5386 previously named bridge_*, and spi_* elsewhere.
5388 * at-bridge/bridge.c:
5389 * cspi/bonobo/cspi-bonobo-listener.c:
5390 Added demarshalling/conversion for string member of
5391 Accessibility_DeviceEvent to AccessibleKeystroke.
5393 * registryd/deviceeventcontroller.c:
5394 Added code to fill the Accessibility_DeviceEvent key string value
5395 member for global key events (i.e. from XGrabKey), to match
5396 behavior of Accessibility_DeviceEvent from the toolkit key events
5397 from the bridge. Fixed timestamp in global key event notifications.
5400 Added printout of key event's string value to
5401 report_ordinary_key_event, for demo/debugging purposes.
5403 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5405 * idl/Accessibility_Registry.idl:
5406 Removed Accessibility_KeyStroke structure in favor of generic
5407 Accessibility_DeviceEvent structure.
5408 Changed Accessibility_ControllerEventMask from a struct to an
5411 * at-bridge/bridge.c:
5412 Changed APIs to use DeviceEvent structure as above, and removed
5413 bogus casting between these event structures.
5415 * cspi/spi-listener.h:
5416 Added keystring member of AccessibleKeystroke structure, to enable
5417 matching on event "names" rather than only hardware codes and
5421 Added keystrings member of AccessibleKeySet struct, to allow
5422 matching on event names (as above).
5423 Added declarations for SPI_createAccessibleKeySet and
5424 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5425 event modmasks directly as unsigned ints rather than structs with
5426 refcounts, in the DeviceEventController methods.
5428 * cspi/spi_registry.c:
5429 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5431 * cspi/spi-roletypes.h:
5432 Added documentation of newly added SPI Roles.
5434 * cspi/bonobo/cspi-bonobo-listener.c:
5435 Changes in support of API changes above.
5437 * libspi/accessible.c:
5438 Converted APIs to use DeviceEvent structure (see IDL changes
5441 * registryd/deviceeventcontroller.c:
5442 Added DEControllerGrabMask structure to track keygrabs not only by
5443 modmask but by keyset as well; this allows us to do "global"
5444 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5445 grabbing on AnyKey and then filtering after-the-fact.
5446 Bugfixes for event filtration mean that we don't get false matches
5447 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5449 * registryd/deviceeventcontroller.c:
5450 Namespaced a number of static methods to use spi_ prefix. Major
5451 revision to internals of global (i.e. X) key grabs.
5453 * registryd/deviceeventcontroller.h:
5454 Removed keymask_list and added keygrabs_list to
5455 SpiDeviceEventController struct.
5458 Added use of SPI_createAccessibleKeySet API when creating a
5459 listener for only one key. Attach a listener to "shift spacebar
5460 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5461 X key event names to SPI key event names, so that listeners are
5462 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5464 * test/keysynth-demo.c:
5465 Changed (incorrect) use of X key event names (KeyPressed,
5466 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5469 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5471 * libspi/accessible.c:
5472 Convert all AtkRole enumerations to Accessibility_Role enums when
5473 getting a role from an AtkObject.
5475 * cspi/spi_accessible.c:
5476 Complete the conversion of Accessibility_Role enums at runtime to
5477 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5478 role enums correctly match those given in spi-roletypes.h.
5479 Re-synchronize the local names list for AccessibleRole_getName ().
5480 AccessibleRole_getName is now deprecated, since it duplicates the
5481 more reliable Accessible_getRoleName.
5482 Added some role types from Accessibility_Role.idl.
5484 * idl/Accessibility_Role.idl:
5485 Added some role types used by AtkRole.
5487 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5490 * cspi/spi_registry.c:
5492 * cspi/cspi-bonobo-listener.c:
5493 Namespaced all methods that did not begin with an "SPI_" or
5494 "Accessible" prefix to "SPI_".
5497 Homogenized internal function namespace to "cspi_" for statics.
5500 Patched tests to use the new CSPI API.
5502 * docs/reference/cspi/at-spi-cspi-sections.txt:
5503 Updated docs to reflect namespace changes, and added a number of
5504 methods to the documentation.
5506 * registryd/registry.c:
5507 Changed use of strings and string hashes in listener event
5508 matching and parse_event_string to use GQuark, which is guaranteed
5511 * registryd/registry.h:
5512 Squashed annoying warning.
5514 * idl/Accessibility_Role.idl:
5515 Extended range of available Accessibility_Role values.
5517 * cspi/spi_accessible.c:
5518 Re-ordered role names.
5520 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5522 * idl/Accessibility_Value.idl:
5523 Revert use of union back to CORBA_double, since the double type is
5524 more efficient and can contain the other types without loss of
5527 * idl/Accessibility_Accessible.idl:
5528 Added method Accessibility:Accessible:getRoleName, to complement
5529 Accessibility:Accessible:getRole.
5531 * cspi/spi_accessible.c:
5533 Added C binding for above, Accessible_getRoleName (), and changed
5534 signature of Accessible_getRole () to return an AccessibleRole.
5536 * cspi/spi-roletypes.h:
5537 Changed AccessibleRole_getName to return a char * instead of a
5538 const char *. This method is now at least temporarily deprecated
5539 in favor of asking Accessibles for their RoleNames directly.
5542 Revert to match Accessibility_Value.idl;
5546 Change signature of AccessibleValue methods to use double rather
5550 * cspi/spi_accessible.c:
5551 Changed Accessible_getRole to return an AccessibleRole enum rather
5552 than a UTF-8 string. The UTF-8 string can still be obtained via
5553 AccessibleRole_getName ().
5555 * test/test-simple.c:
5556 Add test_action. Small fixup to match API change to Accessible_getRole.
5559 Bugfix for get_action_from_servant ().
5561 2001-12-11 Michael Meeks <michael@ximian.com>
5563 * libspi/libspi.h: remove registry.h and
5564 desktop.h, deviceeventcontroller.h
5566 * libspi/Makefile.am: remove registry.[ch],
5567 desktop.[ch], deviceeventcontroller.[ch]
5569 * registryd/Makefile.am: add registry.[ch],
5570 desktop.[ch], rename registryd.c to registry-main.c.
5571 add deviceeventcontroller.[ch]
5573 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5576 Replace setenv() call with putenv ().
5578 * libspi/component.c:
5579 Bugfix in AccessibleComponent_getExtents (),
5582 2001-12-11 Michael Meeks <michael@ximian.com>
5584 * libspi/image.c (impl_getImageExtents): impl.
5585 (spi_image_class_init): upd.
5588 (AccessibleImage_getImageDescription): fix daft bug
5591 * test/test-simple.c (global_listener_cb): update
5592 to only quit if not --poke
5593 (main): catch --poke.
5594 (validate_accessible): upd. dumping, call test_image
5597 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5600 * idl/Accessibility.idl: update all IDL includes.
5602 * idl/*.idl - rename to namespace - this sucks, blame
5603 mjs' bad decision for oafd.
5605 * test/test-simple.c (create_test_window): add more tests.
5606 (create_tree): split this out.
5607 (validate_accessible): bugfix.
5609 2001-12-11 Michael Meeks <michael@ximian.com>
5611 * cspi/bonobo/cspi-bonobo-listener.c:
5612 (cspi_kestroke_listener_unref),
5613 (cspi_event_listener_unref): impl. undoing previous
5614 homenous environment - for Bill.
5616 * cspi/spi_table.c (long_seq_to_array): use
5619 * cspi/spi_main.c: split out all bonoboish bits into
5622 * cspi/spi-impl.h: upd. typedefs.
5624 * cspi/spi_registry.c: update to lowlevel API,
5625 return booleans to indicate success in some places.
5627 * cspi/spi_event.c: update to lowlevel API.
5629 * cspi/bonobo/Makefile.am: add.
5631 * cspi/bonobo/cspi-lowlevel.h: add
5633 * cspi/bonobo/cspi-bonobo.c: add
5635 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5637 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5638 (SUBDIRS): add bonobo, link in the libs.
5640 * cspi/spi-util.c: kill this file.
5642 * TODO: merge in my bits.
5644 2001-12-11 Michael Meeks <michael@ximian.com>
5646 * test/test-simple.c (test_value, test_table, main):
5647 remove unused variables causing warnings.
5649 * configure.in: cleanup checks - require gail.
5651 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5654 Changed Value interface to use SValue (scalars) rather than
5655 assuming all values are floats. This allows floats, doubles,
5656 longs, shorts, and unsigned values to be manipulated.
5657 Introduced Accessibility:SValue union.
5660 Updated to use new API above, and to work correctly with GValues
5661 of different types in AtkValue.
5664 Updated to use new API above. cspi's API is as yet unchanged.
5667 Updated the Value revision action item.
5669 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5671 * test/test-simple.c:
5672 Added test_table (GtkTreeView widget in test window to follow).
5673 Un-commented test_value, added GtkRange widget.
5674 Added GtkTreeView widget with GtkListStore. It passes regression
5675 test but leaks one SPI object for some reason.
5678 Fixed bug in impl__set_currentValue.
5680 2001-12-10 Michael Meeks <michael@ximian.com>
5682 * cspi/spi_text.c: audit for exception handling,
5683 tolerating NULL object references safely etc.
5685 * cspi/spi_value.c: ditto.
5687 * cspi/spi_table.c (AccessibleTable_getSummary),
5688 (AccessibleTable_getAccessibleAt),
5689 (AccessibleTable_getRowHeader),
5690 (AccessibleTable_getColumnHeader),
5691 (AccessibleTable_getCaption): fix bugs hidden by
5693 (long_seq_to_array): impl.
5694 (AccessibleTable_getSelectedRows),
5695 (AccessibleTable_getSelectedColumns): use it.
5697 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5700 Added a TODO list (rough and short for now).
5702 * cspi/spi_hyperlink.c:
5703 * cspi/spi_hypertext.c:
5704 Fixed macro name typos, and remove use of obsolete macro in
5705 AccessibleHyperlink_getLink.
5707 * cspi/spi_action.c:
5708 * cspi/spi_accessible.c:
5709 * cspi/spi_application.c:
5710 * cspi/spi_component.c:
5711 * cspi/spi_selection.c:
5714 Documentation fixes (removed return values from ref/unref methods).
5716 2001-12-10 Michael Meeks <michael@ximian.com>
5718 * cspi/spi_action.c: audit for exception handling,
5719 tolerating NULL object references safely etc.
5721 * cspi/spi_accessible.c: ditto.
5723 * cspi/spi_component.c: ditto.
5725 * cspi/spi_editabletext.c: ditto.
5727 * cspi/spi_hyperlink.c: ditto.
5729 * cspi/spi_hypertext.c: ditto.
5731 * cspi/spi_image.c: ditto.
5733 * cspi/spi_selection.c: ditto.
5735 2001-12-10 Michael Meeks <michael@ximian.com>
5737 * configure.in: use cspi/libspi.pc.in instead.
5739 * Makefile.am (pkgconfig_DATA): upd. to match.
5741 * test/simple-at.c (report_focus_event): kill hacks around
5742 bad return values, use putenv not setenv
5744 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5745 fire ChildGone - I killed it.
5747 * libspi/component.c
5748 (impl_accessibility_component_get_extents): remove
5751 * idl/Accessible.idl: kill ChildGone exception.
5753 * cspi/*.[ch]: kill int return from ref / unref.
5755 * cspi/spi_main.c (cspi_object_add_check): fold into
5756 (cspi_object_add): here.
5758 * cspi/spi_component.c (AccessibleComponent_getExtents):
5759 handle exceptions elegantly.
5761 * cspi/spi-private.h (cspi_check_ev_return),
5762 (cspi_return_if_fail): impl.
5764 * cspi/spi_accessible.c: use extensively.
5765 (AccessibleStateSet_equals): add direct compare check.
5767 * cspi/spi_selection.c: tolerate NULL objs, and check
5768 exceptions before return.
5770 * cspi/spi-util.c (cspi_warn_ev): rename to
5771 (cspi_check_ev): this & don't pass ev in; no point.
5773 2001-12-10 Michael Meeks <michael@ximian.com>
5775 * test/test-simple.c: use putenv not setenv
5776 (get_environment_vars): more chatty if you're not using
5779 * test/simple-at.c: do the setenv so more people see the
5782 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5784 * libspi/registry.c:
5785 Changed check of CORBA_environment on notification to be a warning
5786 instead of an error for the moment, since we can recover from this
5787 error when caused by a queued notification from a dead app.
5790 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5791 used by all current implementors of AtkValue), and coerce to
5792 CORBA_float. (Proper general case fix may require change to Value.idl).
5794 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5798 * cspi/spi_accessible.c:
5799 Documentation fixes: added user_data params to documentation for
5800 listeners and callbacks.
5802 * cspi/spi_accessible.c:
5803 Changed AccessibleStateSet_compare to return a
5804 StateSet rather than return the difference set into a third parameter.
5807 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5810 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5811 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5815 Remove subdirectory po from SUBDIRS for now.
5817 * at-bridge/bridge.c:
5818 Beefed up a couple of debug printouts.
5819 One-line fix for signal notification name formatting.
5821 * libspi/accessible.c:
5822 Added assertion to spi_accessible_new ().
5824 * libspi/application.c:
5825 Put #ifdef qualifiers around a printf.
5828 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5830 * registryd/Makefile.am:
5832 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5833 INTLTOOL_SERVER_RULE macro.
5836 Added an event listener for several ATK signals, for
5837 testing and debugging. Removed a few g_warnings.
5838 Added test output if focussed item implements the Value interface.
5840 * test/test-simple.c:
5841 Added test_value () function (known not to pass at the moment, so
5842 not actually called yet.
5844 2001-12-08 Michael Meeks <michael@ximian.com>
5846 * at-bridge/bridge.c (bridge_focus_tracker),
5847 (emit_eventv): fix the same ref. leak.
5848 (register_atk_event_listeners): don't leak.
5850 * cspi/spi-listener-impl.c (cspi_event): more
5851 protection from client code.
5853 * test/test-simple.c (test_desktop): unref the app.
5855 * test/Makefile.am: upd. TESTS.
5857 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5859 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5861 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5863 * cspi/spi_registry.c: constify in strings.
5864 (deregisterGlobalEventListenerAll): don't release the ref.
5866 * cspi/spi.h: start removing redundant / conflicting
5867 gtkdoc comments, making the API readable at a glance :-)
5869 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5871 * test/keysynth-demo.c (keysynth_exit, main): upd.
5873 * test/simple-at.c (main, simple_at_exit): upd.
5875 * test/test-simple.c (unutterable_horror): kill.
5876 (utterable_normal_derefs): kill.
5877 (main): upd & do a setenv before gtk_init, so that we
5878 can use memprof - and to save the pain of remembering
5879 this, if we're running under memprof - don't exit.
5881 * cspi/spi_main.c (SPI_exit): return exit status
5883 (SPI_event_quit): impl.
5884 (SPI_event_main): simplify.
5885 (cspi_is_gnome_app): kill.
5886 (SPI_init): kill isGNOMEapp arg.
5888 * at-bridge/bridge.c (register_atk_event_listeners):
5889 re-instate the unref.
5890 (bridge_exit_func): don't re-activate the registry,
5891 protect vs. theoretical re-entry, use the
5892 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5893 assert a clean shutdown - for regression tests.
5895 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5897 * configure.in: Comment out dummy i18n support for now,
5898 otherwise it fails to build.
5899 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5900 EXTRA_DIST. They are missing in tarball.
5902 2001-12-07 Michael Meeks <michael@ximian.com>
5904 * util/magnifier.c: kill bonobo activation reg. race.
5906 * libspi/component.c
5907 (impl_accessibility_component_get_extents): make it match
5910 * libspi/registry.c (_registry_notify_listeners):
5911 re-remove X headers & reconcile conflicts.
5912 (spi_listener_struct_free): bad conflict resolve.
5913 (impl_accessibility_registry_register_application):
5914 more bad merging fixed.
5915 (impl_accessibility_registry_deregister_application): ditto.
5916 (spi_registry_new): ditto.
5917 (spi_registry_init): don't have an applications field.
5919 [ merge fixups2 branch to here ]
5920 2001-12-07 Michael Meeks <michael@ximian.com>
5922 * test/simple-at.c (report_focus_event),
5923 (report_focussed_accessible): remove g_warning debug.
5925 2001-12-07 Michael Meeks <michael@ximian.com>
5927 * test/test-simple.c (validate_tree): comment out some checks.
5928 (test_desktop): app now not registered idly - horay.
5930 2001-12-07 Michael Meeks <michael@ximian.com>
5932 * cspi/spi_registry.c
5933 (registerAccessibleKeystrokeListener): clean, stop it leaking
5934 great swathes of memory, and device event controller references.
5935 ensure we always pass valid sequences.
5936 (deregisterAccessibleKeystrokeListener): ditto.
5937 (generateKeyEvent): upd.
5939 * at-bridge/bridge.c (bridge_key_listener): handle
5940 registry dead exception gracefully.
5941 (bridge_focus_tracker, emit_eventv): free ev.
5943 * test/simple-at.c (report_focus_event): fix polarity.
5945 * libspi/application.c (notify_listeners): kill the ev
5946 argument, and make sure we init the ev we use.
5947 (spi_application_object_event_listener): split out a chunk
5948 (get_atk_object_ref): here & fixup.
5949 (reverse_lookup_name_for_toolkit_event): make const.
5950 (spi_application_toolkit_event_listener): fixup, kill leaks
5953 * at-bridge/bridge.c (register_atk_event_listeners):
5954 don't unref the noop object - causes grief.
5956 * libspi/registry.c: remove the X headers.
5957 turn off the debug churn.
5959 * libspi/accessible.c (spi_accessible_new_return): only
5960 release the ref if we are supposed to [doh]
5962 * test/simple-at.c (report_button_press, report_focus_event):
5963 guard vs. unexpected exit.
5965 * at-bridge/bridge.c (gtk_module_init): prune printf.
5966 (bridge_exit_func): fix app unref.
5968 * libspi/Makefile.am: don't install registry or desktop.h
5970 * libspi/*.h: update includes.
5972 * libspi/application.h: don't include ourself, or
5973 other redundant headers.
5975 2001-12-06 Michael Meeks <michael@ximian.com>
5977 * libspi/accessible.c
5978 (get_accessible_from_servant): impl.
5979 Upd. all CORBA impl.s to use it killing cut and paste.
5981 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5983 (SPI_init): register atexit cleanup handler here.
5985 2001-12-06 Michael Meeks <michael@ximian.com>
5987 * at-bridge/bridge.c (gtk_module_init): g_error on
5988 activation exception
5990 2001-12-06 Michael Meeks <michael@ximian.com>
5992 * at-bridge/bridge.c (gtk_module_init): some sort of
5993 confusing merge clash - reverted.
5994 (bridge_idle_init): ditto.
5996 * test/test-simple.c (main, utterable_normal_derefs):
5997 merge from Bill - somehow not committed.
5999 2001-12-06 Michael Meeks <michael@ximian.com>
6001 * libspi/value.c (spi_value_class_init): upd.
6002 (spi_value_finalize): kill.
6004 * libspi/table.c (spi_table_finalize): kill.
6005 (spi_table_interface_new): upd.
6006 (spi_table_class_init): upd.
6007 (get_table_from_servant): impl.
6008 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6010 * libspi/selection.c (spi_selection_finalize): kill.
6011 (spi_selection_interface_new): upd.
6012 (spi_selection_class_init): upd.
6013 (get_selection_from_servant): impl.
6014 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6016 * libspi/relation.c (spi_relation_finalize): kill.
6017 (spi_relation_class_init, spi_relation_new): upd
6019 * libspi/image.c (spi_image_finalize): kill.
6020 (spi_image_class_init): upd.
6021 (spi_image_interface_new): upd.
6022 (get_image_from_servant): impl.
6023 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6025 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6026 (spi_hyperlink_finalize): kill.
6027 (spi_hyperlink_new): upd.
6028 (get_hyperlink_from_servant): impl.
6029 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6031 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6032 (spi_hypertext_finalize): kill.
6033 (spi_hypertext_class_init): upd.
6034 (get_hypertext_from_servant): impl.
6035 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6037 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6038 (spi_editable_text_interface_new): upd.
6039 (get_editable_text_from_servant): impl.
6040 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6042 * libspi/text.c (get_text_from_servant): impl.
6043 All impls - update to use it killing more cut and paste,
6044 also fix bad string returns on duff args ( a somewhat
6045 impossible case to handle - but hey ).
6046 (spi_text_construct): impl.
6047 (spi_text_interface_new): upd.
6048 (spi_text_object_finalize): kill.
6050 * libspi/component.c
6051 (accessibility_component_object_finalize): kill.
6052 (spi_component_class_init): upd.
6053 (get_component_from_servant): impl. helper to kill cut & paste.
6054 (impl_accessibility_component_contains):
6055 (impl_accessibility_component_get_accessible_at_point):
6056 (impl_accessibility_component_get_position):
6057 (impl_accessibility_component_get_extents):
6058 (impl_accessibility_component_get_mdi_z_order):
6059 (impl_accessibility_component_get_layer):
6060 (spi_component_interface_new): upd.
6062 * libspi/action.c (spi_action_finalize): kill.
6063 (spi_action_class_init): upd. inherit from SpiObject.
6064 (spi_action_interface_new): upd.
6065 (get_action_from_servant): impl. helper to reduce cut & paste.
6066 (impl_getKeyBinding, impl_getName, impl_doAction),
6067 (impl_getDescription): Use it everywhere.
6069 * cspi/spi_main.c (get_live_refs): a pointer hash.
6070 (spi_object_hash, spi_object_equal): comment out.
6071 There are issues with CORBA object hashing that need
6074 * libspi/application.c (spi_application_init),
6075 (spi_application_new): upd.
6077 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6078 (spi_accessible_class_init): upd.
6079 s/accessible/object/ in epv methods.
6081 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6083 * at-bridge/bridge.c:
6084 Reorder the bridge initialization into the bridge gtk_module_init,
6085 an immediate call to bridge_register_app, and an idle_add for
6086 register_atk_event_listeners (the only code that *must* wait until
6087 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6088 the activation, creates the application's Accessible object, and
6089 queues the bridge_idle_init function. Restored call to
6090 Accessibility_Registry_deregisterApplication().
6091 Prior to making this call we obtain a new reference to the
6092 registry, which is a temporary hack that helps us handle apps that
6093 shut down the bonobo mainloop before we get there.
6095 * libspi/registry.c:
6096 Fix string leakage in debug block, and don't segv if a an app
6097 dies before its event notifications have been propagated.
6100 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6101 as stopgap measure until we get proper exception handling when
6102 objects die during or before interrogation.
6106 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6107 Also changed default value of is_gnome_app to TRUE.
6110 * test/keysynth-demo.c:
6111 Changed use of SPI_init and SPI_event_main to reflect API change above.
6114 Made report_focus_event check the warning value from getName
6115 before reporting on focussed accessible; simplifies handling of
6116 notifications from dead objects.
6118 * test/test-simple.c: (Changes not in this patch since source is
6121 2001-12-05 Michael Meeks <michael@ximian.com>
6123 * registryd/registryd.c (main): protect against
6124 bonobo-activation startup race condition.
6126 * cspi/spi_main.c (cspi_object_add_check): cope
6127 with the exception elegantly.
6129 * idl/Accessible.idl: decl. ChildGone
6131 * libspi/desktop.c (spi_desktop_dispose): impl.
6132 (spi_desktop_class_init): upd.
6133 (spi_desktop_add_application),
6134 (spi_desktop_remove_application),
6135 (abnormal_application_termination): impl.
6136 (impl_desktop_get_child_at_index): re-impl.
6139 (impl_accessibility_registry_deregister_application),
6140 (impl_accessibility_registry_register_application):
6141 kill excessive debug clutter.
6143 * test/test-simple.c (test_misc): test some NULL
6144 tolerance. (main): upd.
6146 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6147 implements no interfaces - so let's not crash.
6149 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6151 * libspi/accessible.c (spi_accessible_new_return): impl.
6152 helper to calm the cut and paste, to cope with
6153 NULL AtkObjects effectively and efficiently, and to kill
6154 the referencing bugs.
6156 * libspi/table.c (impl_getAccessibleAt),
6157 (impl_getRowHeader, impl_getColumnHeader): upd.
6159 * libspi/hyperlink.c (impl_getObject): upd.
6161 * libspi/accessible.c
6162 (impl_accessibility_accessible_get_child_at_index): upd.
6164 * libspi/component.c
6165 (impl_accessibility_component_get_accessible_at_point): upd.
6167 * test/test-simple.c (test_editable_text, test_text): impl.
6170 * cspi/spi_editabletext.c
6171 (AccessibleEditableText_insertText): constify.
6173 * test/test-simple.c (focus_me): make more robust.
6175 * libspi/accessible.c: remove some printfs in methods that
6176 we test and work fine, so we can get a clean tree dump.
6178 * test/test-simple.c (validate_accessible),
6179 (validate_tree): make tree dumping pretty too.
6181 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6182 it builds without debug on.
6184 * test/test-simple.c (validate_accessible): fix the most
6187 * cspi/spi_main.c (spi_object_release): leave the nicely
6188 blanked memory around if in debug mode.
6190 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6192 [committed to fixups2]
6193 2001-12-05 Michael Meeks <michael@ximian.com>
6195 * libspi/editabletext.c
6196 (spi_editable_text_class_init): g_type_class_peek_parent,
6197 not interface peek - so we finalize cleanly.
6199 * libspi/accessible.c (spi_accessible_new): kill debug.
6201 * test/test-simple.c (validate_accessible): fix ref.
6202 leak, print strings before freeing them; sigh, comment a
6203 chunk out due to strangeness.
6204 (validate_tree): unref the child after use.
6206 * cspi/spi_component.c (AccessibleComponent_getLayer):
6207 add missing break statement, switch on zlayer not the
6208 uninitialized retval.
6210 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6211 before (possibly re-entering) remote unref.
6213 * test/simple-at.c (main): unref the desktop.
6215 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6218 * cspi/spi_main.c (cspi_accessible_is_a): here to
6219 isolate bonobo API usage more.
6221 * libspi/registry.c (impl_accessibility_registry_register_application):
6222 prune bogus comment.
6224 2001-12-04 Michael Meeks <michael@ximian.com>
6226 * test/test-simple.c (validate_tree): upd.
6227 IndexInParent check to make it more lucid.
6228 (validate_accessible): dump the tree.
6230 * libspi/accessible.c (de_register_public_ref),
6231 (get_public_refs): impl.
6232 (spi_accessible_new): make more efficient & intuitive.
6233 Now IndexInParent check works.
6235 2001-12-04 Michael Meeks <michael@ximian.com>
6237 * cspi/spi-util.h: remove.
6239 * cspi/spi.h: move SPI_freeString here
6241 * libspi/component.c (impl_accessibility_component_get_layer):
6243 (impl_accessibility_component_get_mdi_z_order): ditto,
6244 return -1 on error - is this ok ?
6246 * test/test-simple.c (test_application): impl.
6248 * cspi/spi_accessible.c (Accessible_getApplication),
6249 (Accessible_isApplication): impl.
6251 * libspi/registry.c (spi_listener_struct_free): release
6252 the CORBA reference too.
6254 * libspi/accessible.c
6255 (impl_accessibility_accessible_get_parent): fix ref leak.
6257 * libspi/registry.c (spi_registry_new): make the registry
6258 immortal - we don't want it to go away ever.
6260 * libspi/application.c
6261 (spi_accessible_application_finalize): impl. cleanup.
6263 * cspi/spi_registry.c
6264 (deregisterGlobalEventListenerAll),
6265 (deregisterGlobalEventListener),
6266 (deregisterAccessibleKeystrokeListener): fix ref leak.
6268 * cspi/spi_main.c (SPI_init): remove redundant ref.
6270 * test/test-simple.c (unutterable_horror): impl. to force a
6275 (impl_accessibility_registry_deregister_application): release
6276 the application when we de-register it.
6278 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6279 until we have the infastructure to get it right.
6281 2001-12-03 Michael Meeks <michael@ximian.com>
6283 * libspi/Makefile.am: only build eventlistener.[ch]
6285 * libspi/accessible.c
6286 (impl_accessibility_accessible_get_child_at_index): don't leak.
6288 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6289 before we hit the idle handler.
6291 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6292 debugging than exit.
6294 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6296 * libspi/listener.c (impl_notify_event): check source
6297 not NIL before unref.
6299 * libspi/registry.c (impl_registry_notify_event): ditto.
6301 * libspi/eventlistener.c
6302 (impl_accessible_event_notify_event): unref the source.
6304 * libspi/accessibleeventlistener.c
6305 (impl_accessible_event_notify_event): unref the source.
6307 * idl/Event.idl: remove 'hash_id' attribute - of no
6310 * libspi/application.c (notify_listeners): upd list
6312 (spi_application_object_event_listener),
6313 (spi_application_toolkit_event_listener): upd to do correct
6317 (_registry_notify_listeners): update.
6318 (parse_event_type): this method also leaks like a sieve.
6319 (impl_accessibility_registry_deregister_global_event_listener):
6320 fix ETYPE_WINDOW case.
6322 * libspi/application.c
6323 (impl_accessibility_application_register_object_event_listener):
6326 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6328 * libspi/hypertext.c (impl_getLink): ditto.
6330 * cspi/spi_main.c (cspi_object_add): remove
6331 bogus CORBA_Object_duplicate.
6333 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6336 * cspi/spi_accessible.c
6337 (Accessible_getRelationSet): fix leak / referencing issue.
6339 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6340 (cspi_object_add, cspi_object_unref): upd.
6341 (spi_object_release, get_live_refs): impl.
6342 (cspi_cleanup): simplify.
6344 * *.[ch]: s/boolean/SpiBoolean/
6346 * cspi/spi_accessible.c (role_names): actualy order so it
6347 corresponds with the enum !
6349 * test/test-simple.c (test_roles): check some role strings
6350 vs. enums to detect offset errors.
6352 2001-12-01 Michael Meeks <michael@ximian.com>
6354 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6356 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6358 (Accessible_getChildAtIndex): use cspi_add_check so we
6359 check the ev before using a (possibly) invalid value.
6361 * libspi/accessible.c
6362 (impl_accessibility_accessible_get_parent): don't segv
6365 * at-bridge/bridge.c (gtk_module_init): upd.
6366 (bridge_property_event_listener): don't leak strings
6368 (bridge_state_event_listener),
6369 (bridge_property_event_listener): don't use a static
6370 buffer in case of recursive event emission &
6371 re-enterancy - split out the swathe of cut and paste
6373 (emit_eventv): and fix 2 ref leaks here & comply to the
6375 (bridge_register_app): rename to
6376 (bridge_idle_init): this and kill arg parsing, split
6377 various inits & bonobo-activation registration to module
6378 init time, kill referencing error.
6379 (bridge_exit_func): fix the same leak.
6380 (bridge_focus_tracker): don't leak event structures
6382 (bridge_signal_listener): more leakage and cut & paste
6384 (bridge_key_listener): return the result - FIXME is
6385 this polarity correct ?
6386 (accessibility_keystroke_from_atk_key_event): rename
6387 (accessibility_init_keystroke_from_atk_key_event): and stop
6389 (gtk_module_init): return a value - not that it is checked by
6391 (bridge_key_listener): register my horror at casting between
6392 IDL defined structs.
6393 (bridge_get_registry): kill - not used.
6395 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6397 * test/test-simple.c (test_roles): impl.
6398 (test_desktop, validate_accessible, validate_tree): impl.
6400 * cspi/spi_accessible.c (role_names): fixup bogus
6401 MAX_ROLES setup, make constants const for efficient linkage
6402 (AccessibleRole_getName): conform to coding style, make
6405 2001-11-30 Michael Meeks <michael@ximian.com>
6407 * cspi/spi.h: add missing prototype.
6409 * libspi/registry.c (spi_listener_struct_new): fix sig.
6411 * test/Makefile.am: add test-simple
6413 * test/test-simple.c: add
6415 * test/test.sh: add.
6417 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6419 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6420 do it straight - since otherwise we often get an activation race.
6422 [ work before Bill duplicated a chunk of it ... ]
6423 2001-11-30 Michael Meeks <michael@ximian.com>
6425 * libspi/keystrokelistener.c
6426 (spi_keystroke_listener_class_init): fixup arg
6429 * libspi/eventlistener.c
6430 (spi_event_listener_class_init): ditto.
6432 * tests/test.sh: add.
6434 * cspi/spi-listener-impl.h: update macros.
6436 * cspi/spi-listener-impl.c
6437 (cspi_event_listener_remove_callback): add
6438 correct pre-conditions.
6440 * cspi/spi_main.c (SPI_exit): guard vs. double
6441 exits, exit the mainloop nicely.
6442 (SPI_event_main): make more sense.
6443 (SPI_init): move the atexit evilness here so we
6444 always do it (yuck).
6445 (SPI_event_main): upd.
6447 * test/simple-at.c: update for listener changes.
6449 * registryd/registryd.c (main): prune kruft.
6451 * libspi/libspi.h: upd.
6453 * libspi/eventlistener.[ch]: rename broken macros.
6455 * libspi/accessibleeventlistener.[ch]: remove.
6457 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6459 * test/test-simple.c: Add - automated tests.
6461 * cspi/spi-listener-impl.c (cspi_event),
6462 (cspi_key_event): add user_data to invoke.
6463 (cspi_keystroke_listener_finalize): impl.
6464 (cspi_keystroke_listener_class_init): upd.
6467 (createAccessibleEventListener),
6468 (AccessibleEventListener_addCallback),
6469 (createAccessibleKeystrokeListener),
6470 (AccessibleKeystrokeListener_addCallback): upd.
6472 * libspi/deviceeventcontroller.c
6473 (spi_device_event_controller_check_key_event): add public proto.
6476 (impl_accessibility_registry_deregister_global_event_listener):
6477 always init listeners.
6478 (_registry_notify_listeners): yes it is.
6480 * cspi/spi-listener-impl.c (cspi_key_event):
6482 (cspi_event_listener_finalize): impl.
6483 (cspi_event_listener_class_init): hook up.
6484 (event_handler_new, event_handler_free),
6485 (event_list_remove_by_callback): impl.
6486 (cspi_event_listener_remove_callback),
6487 (cspi_keystroke_listener_remove_callback),
6488 (cspi_keystroke_listener_add_callback),
6489 (cspi_event_listener_add_callback): upd.
6491 * libspi/keystrokelistener.c
6492 (keystroke_listener_object_finalize): kill
6493 (spi_keystroke_listener_class_init): upd.
6494 (spi_keystroke_listener_add_callback),
6495 (spi_keystroke_listener_remove_callback): kill,
6497 (impl_key_event): prune drasticaly.
6499 * libspi/eventlistener.c
6500 (spi_event_listener_add_callback),
6501 (spi_event_listener_remove_callback): kill, use
6503 (impl_accessible_event_notify_event): upd.
6504 (spi_event_listener_object_finalize): remove.
6506 * libspi/Makefile.am: use eventlistener.[ch]
6508 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6510 * libspi/registry.c (_registry_notify_listeners):
6511 Changed listener loop iteration to use preferred convention.
6512 Got rid of string memory leaks caused be calling g_strconcat
6513 inside function calls.
6515 * libspi/registry.c (parse_event_type):
6516 Stopped g_strconcat memory leaks, free the g_strsplit return,
6517 g_strdup the split pieces when used, etc.
6519 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6522 Change method 'compare' to return a 'difference set' rather than
6523 taking a StateSet as an out parameter (more Java-friendly).
6525 * idl/Accessible.idl:
6526 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6528 * idl/Component.idl:
6530 Changed methods 'getExtents' and 'getImageExtents' in these
6531 interfaces to return a BoundingBox structure.
6532 (getPosition and getSize are redundant and possibly should be
6533 removed, rather than creating a corresponding Point struct.)
6535 * cspi/spi_component.c:
6536 Modify implementation of getExtents to reflect the above IDL
6541 Add (missing) AccessibleImage_getExtents () API.
6543 * docs/reference/cspi/at-spi-cspi-sections.txt:
6544 Added AccessibleImage_getImageExtents () to docs.
6546 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6548 * idl/Component.idl:
6549 Added two methods, getLayer () and getMDIZOrder (), to reflect
6550 the new ATK methods atk_object_get_layer and
6551 atk_object_get_mdi_z_order. (Which arguably should be part of the
6552 AtkComponent API and AtkObject). Also added an enum,
6553 ComponentLayer, for the first method's return value.
6555 * libspi/component.c:
6556 Added implementations for these methods.
6558 * cspi/spi_component.c:
6560 Added cspi binding methods for above,
6561 AccessibleComponent_getLayer() and
6562 AccessibleComponent_getMDIZOrder().
6563 Added cspi enum 'AccessibleComponentLayer'.
6565 * docs/reference/cspi/at-spi-cspi-sections.txt:
6566 Added above methods to docs.
6570 Changed typedef for 'boolean' type (and all references to it) to
6571 SPIBoolean, to avoid keyword clashes with C++.
6574 Changed usages of 'boolean' to SPIBoolean.
6576 * test/keysynth-demo.c:
6577 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6578 app), except where SPIBoolean is required by the callbacks API.
6580 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6582 * cspi/spi_registry.c:
6583 Removed obsolete X event loop for passive keygrabs (which now
6586 * registryd/registryd.c:
6587 Removed unnecessary call to gdk_init() [cruft]. This also allows
6588 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6591 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6593 * docs/reference/cspi:
6594 Included docs for SPI_freeString in generated documentation.
6597 Renamed spi_freeString to SPI_freeString, for consistency. Added
6598 documentation for this function.
6601 Renamed spi_freeString to SPI_freeString, for consistency.
6602 Removed obsolete method declaration string_from_corba_string.
6604 * test/keysynth-demo.c:
6605 Small tweak to comments.
6608 Stopped leaking the strings returned from CSPI.
6610 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6612 Merged Michael's branch (see his ChangeLog entries below).
6614 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6615 bridge is alive, release on exit.
6617 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6618 Fix type check macro.
6621 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6624 Added is_gnome_app static, and method cspi_is_gnome_app(),
6625 so we can call the appropriate shutdown routine at exit in SPI_exit.
6627 * cspi/spi_main.c (cspi_object_ref):
6628 Duplicate the corba object passed in, since we're keeping it around.
6630 * cspi/SPI_exit.c, cspi_cleanup:
6631 Moved the releasing of the live refs to its own function, so we
6632 can put it in g_atexit (). Call the appropriate shutdown API
6633 depending on whethe calling client is a gnome app or not
6634 (bonobo_main_quit or CORBA_ORB_shutdown).
6636 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6637 Unref the listener when this method is called, after
6638 deregistration. Updated the API docs to note this behavior.
6640 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6641 Bugfixes: Ref the bonobo object when returning a parent or child
6642 reference, or an AccessibleRelation. Generally made sure
6643 BonoboObject refcount is incremented whenever we return an
6646 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6647 Fixed typo/bug in signal declaration.
6649 * libspi/accessibleeventlistener.h:
6652 * libspi/application.c (spi_application_new):
6653 Fixed leak in initialization.
6656 Remembered to increment bonobo-object refcount when returning
6657 children (applications) from desktop object.
6658 Added (empty) finalize method.
6660 * libspi/deviceeventcontroller.c:
6661 Hold a ref to listeners inside DEControllerKeyListeners.
6662 Added dec_key_listener_free() method. Use prepend instead of
6663 append in key_listener list. Fixed some refcount madness and
6664 leaks in the listener registration/deregistration - deregistration
6665 now calls dec_key_listener_free() on listeners, and on the
6666 temporarily constructed dec_key_listener() used to perform the search/match.
6668 * libspi/hypertext.c (spi_hypertest_finalize):
6669 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6670 class. Also fixed spi_hypertext_interface_new() and
6671 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6673 * libspi/hypertext.h:
6674 Removed pointless and duplicate AtkObject pointer from
6677 * libspi/keystrokelistener.c:
6678 Fixed incorrect type of keystroke_listener_parent_class,
6679 renamed keystroke_listener_object_finalize to
6680 spi_keystroke_listener_object_finalize.
6681 Fixed typo in signal declaration
6682 (spi_keystroke_listener_class_init).
6684 * libspi/registry.c:
6685 Added funcsions spi_listener_struct_new() and
6686 spi_listener_struct_free() to help with memory management issues.
6687 We also now use these methods instead of gnew + poking stuff into
6688 the struct, and to decrement listener counts/free the listeners
6689 when deregistering them.
6690 Fix more refcount bugs in getDesktop() and
6691 getDeviceEventController().
6694 De-ref the desktop after enumerating the applications. Explicitly
6695 decrement the refcounts on the created listeners on exit (using
6696 _unref for keystroke listeners, and via the
6697 deregisterGlobalEventListenerAll command for other event
6700 2001-11-27 Michael Meeks <michael@ximian.com>
6702 * cspi/spi-listener.h: fixup enum.
6704 2001-11-27 Michael Meeks <michael@ximian.com>
6706 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6707 (cspi_keystroke_listener_new): Use the cspi variants.
6709 2001-11-26 Michael Meeks <michael@ximian.com>
6711 * test/keysynth-demo.c: fix 2 compile warnings, missing
6714 * test/simple-at.c (report_focussed_accessible),
6715 (report_focus_event, report_button_press),
6716 (check_property_change, is_command_key),
6717 (report_ordinary_key_event, report_command_key_event): upd.
6719 * util/mag_client.h: include pre-requisites.
6721 * libspi/accessibleeventlistener.c
6722 (spi_event_listener_object_finalize): free any lingering
6725 * libspi/keystrokelistener.c
6726 (keystroke_listener_object_finalize): ditto.
6728 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6729 callbacks, with cspi types.
6731 * cspi/spi_event.c (createAccessibleEventListener): chain to
6732 (AccessibleEventListener_addCallback): here.
6733 (createAccessibleKeystrokeListener): chain to
6734 (AccessibleKeystrokeListener_addCallback): here.
6736 * libspi/keystrokelistener.c
6737 (spi_keystroke_listener_class_init): add signal.
6738 (impl_key_event): emit the event.
6739 (boolean_handled_accumulator): impl.
6740 (marshal_BOOLEAN__POINTER): add, gack.
6742 * libspi/accessibleeventlistener.c
6743 (spi_event_listener_class_init): add signal.
6744 (impl_accessible_event_notify_event): emit the signal &
6745 make the loop efficient.
6746 (spi_event_listener_add_callback): prepend the callback.
6748 * libspi/accessibleeventlistener.h: add an 'event' signal,
6749 decl type on callback.
6751 * libspi/keystrokelistener.h: ditto.
6753 * cspi/spi-listener.h: make methods typesafe and
6754 make them use the new event typedefs.
6756 * test/simple-at.c (report_focussed_accessible):
6757 include mag_client.h
6758 Use *(void *)text_interface not the other thing.
6760 * configure.in: add gtk to registryd bits - since we use
6763 * util/magnifier.c: include libbonobo.h
6765 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6767 * test/keysynth-demo.c:
6768 Turned this into a simple scanning keyboard, to demonstrate the
6769 use of g_timeout_add () as a means of creating timers for
6770 scanning, and the use of GtkStyle for visually indicating when
6771 virtual keyboard elements are selected.
6773 keysynth-demo now listens to any keyboard keys with zero-valued
6774 keycodes (i.e. 'unused' keys) and interprets them as
6777 Reworked the shiftlatch code so that shift-down state isn't held
6778 for long periods (it's only synthesized immediately prior to
6779 the keysynth event it's modifying). Note that shiftlatch in this
6780 demo is a convenience, not intended to take the place of AccessX
6781 which is the better choice for getting 'sticky' modifier keys.
6783 * libspi/deviceeventcontroller.c:
6784 * at-bridge/bridge.c:
6785 * cspi/spi_registry.c:
6786 Removed some debug print stuff, and put other verbosity in #ifdef
6791 Implemented some more of the magnifier IDL for the simple
6792 magnifier: namely, getZoomRegionParams.
6793 Added mag_x and mag_y members to MagnifierData struct, aid of this
6795 Added GtkWindow::realize signal handler to magnifier, to keep it
6796 from receiving keyboard focus from the WM.
6798 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6800 * cspi/spi-private.h: my guess at what michael forgot
6801 before he ran off to NZ :-)
6803 2001-11-23 Michael Meeks <michael@ximian.com>
6805 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6806 comment out non existant method invoke so we link.
6808 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6809 use bonobo_exception_get_text for more friendly warnings.
6811 * cspi/spi.c (Obj_Add): move into spi_main & rename
6812 spi_object_add; kill spi.c
6814 * cspi/spi_registry.c
6815 (deregisterGlobalEventListener),
6816 (deregisterGlobalEventListenerAll),
6817 (registerGlobalEventListener): fix exception leaks.
6819 * cspi/spi_main.c (spi_exception): impl. helper, so we
6820 don't leak exceptions.
6822 * cspi/spi_selection.c
6823 (AccessibleSelection_deselectSelectedChild): return the
6826 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6827 (spi_registry): ditto.
6828 (SPI_init): guard against double inits.
6830 * cspi/*.c: use spi_ev (), and spi_registry () where
6831 appropriate - a temporary hack until we have something
6832 better. Use spi_object_add
6834 2001-11-22 Michael Meeks <michael@ximian.com>
6836 * cspi/Makefile.am: re organise, install the headers.
6838 * cspi/*.h: add G_BEGIN/END_DECLS
6840 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6843 Added non-preemptive keylistener for key events with no modifiers
6844 and shift-only modifier.
6846 * libspi/keystrokelistener.c:
6847 Removed some verbose diagnostics printout.
6849 * cspi/spi_registry.c:
6850 Fixed a bug that caused all key listeners to be registered as
6853 * libspi/deviceeventcontroller.c:
6854 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6855 for non-preemptive key masks.
6858 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6860 * docs/reference/idl/at-spi-idl-docs.sgml:
6861 * docs/reference/idl/at-spi-idl-sections.txt:
6862 * docs/reference/idl/at-spi-idl-overrides.txt:
6863 Added missing files.
6865 * docs/reference/Makefile.am:
6866 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6867 to scan the IDL files :-(
6872 Added .cvsignore files.
6874 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6876 * libspi/deviceeventcontroller.c:
6877 * libspi/keystrokelistener.c:
6879 * cspi/spi_registry.c:
6880 Added filters for KeySets, KeyEventSeq, and event types to key
6881 event dispatching, so listeners should only receive those events
6882 that they requested :-)
6884 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6889 * docs/reference:Makefile.am:
6890 * docs/reference/cspi:
6891 * docs/reference/cspi:Makefile.am:
6892 * docs/reference/cspi:tmpl:
6893 * docs/reference/cspi:tmpl:*.sgml:
6894 * docs/reference/idl:
6895 * docs/reference/idl:Makefile.am:
6896 * docs/reference/idl:at-spi-idl-sections.txt:
6897 * docs/reference/idl:at-spi-idl-docs.sgml:
6898 * docs/reference/idl:tmpl:
6899 * docs/reference/idl:tmpl:*.sgml:
6901 Restructured docs directory to allow separate 'reference' docs
6902 section, and forked idl and cspi docs. Added the sgml template
6903 files to CVS. Added the first sections/structural sgml for the
6906 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6908 * configure.in, libspi/Makefile.am: find libXtst.
6910 2001-11-21 Michael Meeks <michael@ximian.com>
6912 * test/accessx-gui.c: s/spi_value/value/ - doh.
6914 * libspi/base.[ch]: add.
6916 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6918 * idl/Accessible.idl:
6919 * idl/Application.idl:
6922 Started gtk-doc cleanup on IDL.
6924 * libspi/deviceeventcontroller.c:
6925 Added and connected non-preemptive key notification from the
6926 toolkits (in addition to the pre-emptive support from XServer
6927 which we had before, but which causes 'focus flashing'). Filters
6928 are presently limited to key modifiers and global/non-global,
6929 KeySets are presently ignored, as are KeyEvent masks.
6931 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6932 structs into the persistant structure rather than just storing
6933 pointers to things that might not persist across servant
6936 The XGrabKey call now does async keygrabs, because synchronous
6937 ones were deadlocking with GDK_event code in a very nasty way.
6939 Added boolean to internal method notify_keylisteners, to indicate
6940 whether the event came from the 'toolkit source' or the 'global
6941 (XServer) source' - this is used in the notification process to
6942 determine which listeners to send the event to.
6944 deviceeventcontroller.c is now warning-free.
6946 * libspi/registry.c:
6947 Fixed regression in application de-registration.
6948 Also fixed some really brain-dead weirdness having to do with
6949 event dispatching - event structs are now duplicated before being
6950 re-marshalled in the dispatch to listeners. This also fixes a
6951 Solaris build problem.
6954 2001-11-20 Michael Meeks <michael@ximian.com>
6957 (impl_accessibility_registry_deregister_global_event_listener):
6960 * libspi/deviceeventcontroller.c
6961 (spi_device_event_controller_check_key_event): return
6962 FALSE on no virtual method.
6964 * libspi/*..h: make includes work on a correctly pathed install.
6966 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6968 * libspi/application.h: kill unused ( and whacked out )
6969 gboolean *spi_application_set_id (AtkObject *app, long id);
6971 2001-11-20 Michael Meeks <michael@ximian.com>
6973 * libspi/*.[ch]: further convert to bonobo's type func
6974 macros, remove redundnant casts etc.
6976 * libspi/text.c s/accessibility_text/spi_text/g,
6977 re-order to de-cruft.
6979 * libspi/hypertext.c: re-order to kill a huge slew
6980 of redundant forward decls.
6982 * libspi/relation.c: ditto.
6984 * libspi/image.c: ditto.
6986 * */.cvsignore: update
6988 2001-11-20 Michael Meeks <michael@ximian.com>
6990 * libspi/deviceeventcontroller.c
6991 (_controller_register_with_devices): use g_getenv,
6992 kill stdlib.h include.
6994 * libspi/keystrokelistener.c
6995 (spi_keystroke_listener_get_type): kill
6996 (spi_keystroke_listener_class_init),
6997 (spi_keystroke_listener_init): rename to this.
6999 * libspi/text.c (impl_getAttributes): fix warning / bug.
7001 * libspi/*.[ch]: more headers, includes and over commenting.
7003 2001-11-20 Michael Meeks <michael@ximian.com>
7005 * libspi/*.[ch]: fixup headers, includes and over commenting.
7007 * libspi/image.c (impl__get_imageDescription): const
7008 correctness warning fix. remove redundant casting.
7010 * libspi/table.c (impl_getRowDescription): ditto.
7011 (impl_getColumnDescription): ditto.
7013 * libspi/libspi.h: add.
7015 2001-11-19 Michael Meeks <michael@ximian.com>
7017 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7019 * libspi/component.c (accessibility_component_get_type):
7020 rename to (spi_component_get_type): and macroify.
7021 (accessibility_component_init): rename to
7022 (spi_component_init): this
7023 (accessibility_component_class_init): rename to
7024 (spi_component_class_init): this
7026 * libspi/action.c (spi_action_get_type): kill, use the macro.
7028 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7031 * libspi/application.c (spi_application_object_event_listener),
7032 (impl_accessibility_application_register_object_event_listener):
7033 warning fixes / const understanding updates.
7035 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7038 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7040 * libspi/spi_accessible.c: Added docs and C bindings for
7041 AccessibleStateSet. (No implementations yet). Documentation
7042 coverage for C bindings now 100%. Made docs for event listeners
7047 boolean notifyListenersSync (in DeviceEventListener listener,
7048 in DeviceEvent event);
7050 oneway void notifyListenersAsync (in DeviceEventListener listener,
7051 in DeviceEvent event);
7053 Added DeviceEventListener and DeviceEvent structs (may deprecate
7054 KeyStroke and KeystrokeListener in favor of this generic
7055 event/listener framework for devices).
7057 * libspi/deviceeventcontroller.c:
7059 Changed some key listener code to take masks, etc., and paved the
7060 way for integration of toolkit/non-preemptive key events. Changed
7061 signatures of some internal methods.
7063 * at-bridge/bridge.c:
7064 Fixed regression connecting to interface signals, apparently
7065 caused by GTK+ changes.
7067 Added an internal bridge_state_listener to deal with
7068 property-change:accessible-state signals.
7070 Changed the key_listeners GList to store structs (including masks,
7071 etc.) instead of just CORBA_Objects (required for full
7072 implementation of key listener API).
7074 Connected the bridge to all currently supported Atk signals.
7075 Events now supported:
7076 object:property-change
7077 object:property-change:accessible-name
7078 object:property-change:accessible-state
7079 object:property-change:accessible-description
7080 object:property-change:accessible-parent
7081 object:property-change:accessible-value
7082 object:property-change:accessible-role
7083 object:property-change:accessible-table-caption
7084 object:property-change:accessible-table-column-description
7085 object:property-change:accessible-table-column-header
7086 object:property-change:accessible-table-row-description
7087 object:property-change:accessible-table-row-header
7088 object:property-change:accessible-table-summary
7089 object:children-changed
7090 object:visible-data-changed
7091 object:selection-changed
7092 object:text-selection-changed
7094 object:text-caret-moved
7096 object:row-reordered
7098 object:column-inserted
7099 object:column-reordered
7100 object:column-deleted
7101 object:model-changed
7103 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7105 * libspi/hyperlink.c,h:
7106 Fixed some broken stuff in hyperlink.
7108 * libspi/relation.h:
7109 * libspi/relation.c:
7110 * cspi/spi_accessible.c:
7111 Initial implementations of AccessibleRelation methods, and docs.
7113 * libspi/accessible.c:
7114 Fixed a bug that caused SEGV if an accessible
7115 object's description is NULL, and a client
7116 requests it. An empty string is now returned.
7118 * cspi/spi_editabletext.c:
7119 * cspi/spi_hypertext.c:
7121 * cspi/spi_hyperlink.c:
7125 Doc coverage now 95%.
7127 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7129 One last namespacing revision:
7130 * libspi/accessibleeventlistener.[ch]:
7131 Renamed SpiAccessibleEventListener to SpiEventListener,
7132 (no need for two namespaces ;-)
7134 And lots of documentation fixes:
7136 * docs/at-spi-docs.sgml:
7137 Fixed 'underscore vs. hyphen' bug that was preventing
7138 the gtk-doc API docs from being automatically generated.
7141 * cspi/spi-listener.h
7143 * cspi/spi_accessible.c
7145 * cspi/spi_application.c
7146 * cspi/spi_component.c
7147 * cspi/spi_editabletext.c
7149 * cspi/spi_hypertext.c
7151 * cspi/spi_registry.c
7152 * cspi/spi_selection.c
7156 * docs/at-spi-docs.sgml
7157 * docs/at-spi-sections.txt
7159 Added and fixed up gtk-doc documentation in cspi.
7161 Interfaces now (fully) documented (subject to revision and enhancement):
7163 Event Listener Support
7165 AccessibleApplication
7169 AccessibleEditableText
7176 AccessibleRelationSet
7181 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7183 * at-bridge/bridge.c:
7184 Initial work for toolkit-level key snooper connection by bridge.
7189 New typedefs and fixes to support new namespacing, and cleaner
7190 separation of cspi bindings from libspi bonobo implementation.
7191 Removed inconsistent and extraneous Spi* namespace prefix that
7192 had crept into cspi headers.
7193 Lots of comment fixes that sed had missed.
7195 * cspi/spi-roletypes.h:
7196 * cspi/spi-statetypes.h:
7197 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7198 to AccessibleRoleType.
7200 * libspi/accessibleeventlistener.h:
7201 Fixed minor namespacing weirdness.
7203 * libspi/deviceeventcontroller.c:
7204 Reordered some internal API for device listeners.
7205 Changed the key registry final boolean to 'is_system_global'
7206 rather than 'is_synchronous', which is more descriptive of its
7208 Added spi_device_event_controller_new().
7209 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7211 * libspi/keystrokelistener.[ch]:
7212 Namespaced KeystrokeListener to SpiKeystrokeListener.
7213 Changed uses of keymasks to use SPI_ prefix, and did other
7216 * libspi/keymasks.h:
7217 Namespaced keymask constants with SPI_ prefix.
7219 * libspi/registry.c:
7220 Some warning fixes, and knock-on fixes from namespace changes.
7223 Added rules for accessx-gui test program.
7225 * test/accessx-gui.c:
7226 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7227 utility. It doesn't actually use at-spi, but it's still cool and
7230 * test/keysynth-demo.c:
7234 Fixes so that these test clients work properly with the namespaced
7235 libraries. (Incompletely tested for technical reasons, fixes may follow)
7238 2001-11-13 Michael Meeks <michael@ximian.com>
7240 * libspi/application.c
7241 (impl_accessibility_application_get_version),
7242 (impl_accessibility_application_get_toolkit_name):
7244 (impl_accessibility_application_set_id),
7245 (impl_accessibility_application_get_id): remove
7246 redundant casting code.
7248 * libspi/action.c (impl_getDescription): fix warnings.
7250 * libspi/accessible.c
7251 (impl_accessibility_accessible_get_parent),
7252 (impl_accessibility_accessible_get_child_at_index),
7253 (impl_accessibility_accessible_get_state),
7254 (impl_accessibility_accessible_get_relation_set):
7255 warning fixes & include action.h
7257 2001-11-13 Michael Meeks <michael@ximian.com>
7259 * *.[ch] fix bits I screwed up:
7261 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7262 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7264 2001-11-13 Michael Meeks <michael@ximian.com>
7266 * *.[ch] Namespace libspi into spi_ and Spi.
7268 2001-13-11 Michael Meeks <michael@ximian.com>
7270 * Makefile.am: dist & install at-spi-1.0.pc
7272 * libspi/Makefile.am: install into at-spi-1.0
7274 * idl/Makefile.am (idldir): install into at-spi-1.0
7276 * at-spi-1.0.pc.in: add.
7278 * configure.in: build it.
7280 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7282 * test/keysynth-demo.c:
7283 Use a 'realize' signal-handler to set the WM properties for
7284 the virtual keyboard, rather than making it a "POPUP" type
7285 override-redirect window (thanks to anders carlsson for that
7288 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7291 * test/keysynth-demo.c:
7292 Added new test of key synthesis, which creates a simple
7293 (mouse-operated) onscreen keyboard. It inserts key events into
7294 the currently-focused window, thus it does not grab keyboard focus
7297 * cspi/spi_registry.c:
7298 Added C binding for AT-SPI generateKeyEvent.
7300 * libspi/deviceeventcontroller.c:
7301 Added call to XFilterEvent so that key listener works with XIM (we
7302 hope). Added event_synth_type to generateKeyEvent, so that we can
7303 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7304 synthesize a press/release pair for KeySyms.
7306 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7308 * libspi/Makefile.am:
7309 * registryd/Makefile.am:
7310 (temporary) hack to include libXtst in libspi and registryd.
7311 (Needed for keystroke synthesis, see below).
7314 Improved API for registerKeystrokeListener, in accordance with
7315 discussions with Gnopernicus team and X server research.
7317 * libspi/registry.c:
7318 * libspi/deviceeventcontroller.c:
7319 * libspi/accessible.c:
7320 * libspi/keystrokelistener.c:
7321 Changes and fixes to support keylisteners for potentially
7322 consumed key events (that is, 'passive grabs').
7323 Added implementation for generateKeyEvent() [untested].
7326 Changes to registerKeystrokeListener() API, as above.
7327 Added deregisterGlobalEventListenerAll(), and
7328 deregisterKeystrokeListener(), which are needed for clean exit of
7330 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7331 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7333 * cspi/spi_registry.c:
7334 Added implementations of function prototypes mentioned above.
7336 * registryd/registryd.c:
7337 Added the key listener event source as a g_timeout(), to allow
7338 receipt of key events that are not caught by GDK (since GDK
7339 doesn't support passive keygrabs, this was necessary).
7342 Changed to attach a keylistener to 'Alt' keys, and
7343 respond to the following keycommands: Alt-M (toggle magnifier);
7344 Alt-F (toggle speech); Alt-Q (quit).
7345 Added an exit routine to deregister the listeners, and a key
7346 listener that prints some key info to the console when a key
7347 matches the listener mask (and is thus received by the listener).
7349 * util/idl/Magnifier.idl:
7350 Changes to magnifier API to support multiple zoom regions,
7351 non-uniform scaling in x and y, markDirty, and a host of other
7352 features that would be useful to magnification.
7355 * util/mag_client.c:
7356 * util/mag_client.h:
7357 * util/mag_control.c:
7359 Source code changes to support the above IDL changes.
7362 As above, and also changes to use a (slower) generic conversion
7363 path for colormap conversions, since the fast RGB conversions have been
7364 reported to fail for 16-bit displays.
7366 2001-10-26 Michael Meeks <michael@ximian.com>
7368 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7370 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7372 * at-bridge/Makefile.am: fix LDFLAGS.
7374 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7376 * at-bridge/bridge.c:
7377 Re-worked listeners for toolkit events, now we have signal
7378 and property listeners. Added a private method
7379 register_atk_event_listeners(), which registers with the
7380 various atk and gtk signals we need to monitor in order to emit
7382 Added emission hook for AtkObject:property-change events, to
7383 support the 'property listeners'.
7384 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7387 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7388 which emit warnings and exit, respectively, if CORBA errors occur
7389 during remote calls, and we now use these methods to check most of
7390 our CORBA calls in the C bindings.
7392 * cspi/spi_accessible.c:
7393 Changed AccessibleSelection_refSelectedChild() to
7394 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7395 now increment refcounts.
7397 * cspi/spi_component.c:
7398 Fixed some long pointer casts (dangerous!) to pass pointers to
7399 CORBA_longs of the proper type to the CORBA stubs, and copy the
7400 data into the longs that were passed into the C bindings code.
7402 * at-bridge/bridge.c:
7404 * libspi/accessible.c:
7405 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7406 hyperlinks, AtkHyperlink is an object type.
7408 * libspi/application.c:
7409 Added various conversions to and from "generic" event types and
7410 atk-specific types; this is really part of the 'bridge'
7411 implementation but is valid for all AtkObject-based accessibility
7414 * libspi/editabletext.c:
7415 Fixed nasty bug wherein editable text's finalize method was
7416 unref'ing tha AtkObject reference that the text parent class was
7417 about to unref _again_. There was also a nasty inheritance bug
7418 that meant that the AccessibleEditableText class was corrupt.
7420 * libspi/selection.c:
7421 Provided implementations for some selection API that was broken.
7423 * idl/Application.idl:
7424 Added registerObjectEventListener () method.
7427 Fixed a number of return values that were Bonobo_Unknowns from
7428 bonobo_object_corba_objref(), which I
7429 forgot to dup before returning. Changed instances of
7430 bonobo_object_corba_objref (bonobo_object(o)) to
7431 BONOBO_OBJREF(o), for concision and clarity.
7433 2001-10-13 Louise Miller <louise.miller@sun.com>
7435 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7436 idl/Event.idl, idl/Registry.idl
7437 Changed these files to include Bonobo_Unknown.idl instead
7440 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7442 * libspi/component.c libspi/component.h:
7443 Fixed typo. Added assertions for object checks in
7444 AccessibleComponent code.
7446 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7448 * idl/Accessible.idl:
7449 Added 'isEqual (Accessible *object)'
7450 method for Accessible. (Not Yet Implemented).
7453 Changed signature of registerKeystrokeListener() to
7454 take a KeySet and KeyEventSeq so that specific keys and event
7455 types could be requested for monitoring, and added a flag
7456 is_synchronous so that either synchronous or asynchronous
7457 notification could be requested. (However this is not all
7458 implemented yet). This also meant adding two new typedefs,
7459 KeyEventSeq and KeySet.
7462 Added two new relations, RELATION_TOOLTIP_FOR and
7463 RELATION_LEAFNODE_OF.
7466 Added new state, STATE_HAS_TOOLTIP.
7468 * libspi/text.c, editabletext.c:
7469 Added new assertions to all casts of bonobo-objects from
7470 CORBA servants, to prevent Text API calls on non-text objects.
7471 Changed suspect casts of int-pointer types, so that we
7472 always send a valid CORBA_long pointer to the CORBA APIs that use
7473 in/out long parameters. We then have to copy from the CORBA_long
7474 into the regular long or int for return to the C bindings, or
7475 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7478 * libspi/deviceeventcontroller.c:
7479 Cleaned these sources up.
7481 Changed return type for getCharacterAtOffset to
7482 CORBA_unsigned_long, to allow for 32-bit characters.
7485 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7489 Fixed 'make dist' so that distro compiles...
7490 * libspi/keymasks.h:
7492 * cspi/spi-listener.c:
7493 KeystrokeListenerCB now returns a boolean.
7495 Added KeyEventType struct, and KeyStroke.
7496 Also added createKeystrokeListener(),
7497 KeystrokeListener_addCallback(),
7498 KeystrokeListener_removeCallback(), and added a keymask to
7499 registerKeystrokeListener().
7500 * cspi/spi_accessible.c:
7501 Changed numerous return types for interfaces from
7502 AccessibleComponent to Accessible<InterfaceName>; this was
7503 probably a cut-and-paste error.
7505 Implementations of new KeystrokeListener api (from spi.h,
7508 Changes to key modifier mapping.
7509 Created ControllerEventMask struct.
7510 Made DeviceEventController derive from Bonobo::Unknown.
7512 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7513 * libspi/deviceeventcontroller.c:
7514 Added a number of new internal (private) methods.
7515 * libspi/editabletext.c:
7516 * libspi/editabletext.h:
7517 Fixed a number of bugs related to the fact that
7518 editabletext inherits from text. Fixed the EditableText struct,
7519 the init() call, and use correct casts when calling Text methods
7520 from an EditableText object. Removed (duplicate) atko from the
7521 EditableText structure, we use the one in the parent Text
7522 structure via the casts mentioned above.
7523 * libspi/keystrokelistener.[ch]:
7524 * libspi/registry.c:
7525 Changes in support of keyboard handling (above).
7527 Keyboard handling, though partly functional, is still not
7528 recommended for at-spi client use as there is considerable
7529 work yet to be done.
7532 Changed some places where pointers to various int types
7533 are cast to be pointers to CORBA_long types and vice-versa:
7534 pointer casting is not safe so we pass pointers of the correct
7535 types and then cast the result before putting it into the target
7538 * libspi/text.h: minor typos corrected.
7540 We now speak not only the name of a Text element, but the
7541 first sentence of its content, when it receives focus.
7542 I also changed the text compression to 75% from 50%.
7543 * util/Accessibility_Util.server.in:
7544 Changed the default magnifier type to be a 3x vertical
7545 splitscreen magnifier (was previously a 2x horizontal one).
7547 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7549 * libspi/keystrokelistener.h:
7550 * libspi/keystrokelistener.c:
7551 Initial functional implementations of KeystrokeListener.
7554 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7556 Fixed string handling for NULL strings in libspi.
7557 Added spi_freeString to free strings returned by C bindings.
7559 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7561 * libspi/keystrokelistener.h:
7562 * libspi/keystrokelistener.c:
7563 Began (no-op) implementations of KeystrokeListener
7565 * libspi/deviceeventcontroller.c:
7566 * libspi/deviceeventcontroller.h:
7567 Began creating implementations of DeviceEventController,
7568 to handle keystroke and mouse event listening and
7570 * libspi/accessible.c:
7571 Stubbed-in the implementations for
7572 Accessibility_Accessible_getState and
7573 Accessibility_Accessible_getRelationSet.
7574 * libspi/registry.c:
7575 Improved de-registration process and fixed some bugs,
7576 deregistration now works correctly.
7578 Added initialization of applications list (to NULL).
7580 Reduced speech compression from 0.5 to 0.7, for demo.
7581 Changed call to gdk_window_set_decorations()
7582 to gtk_window_set_decorated().
7583 * at-bridge/bridge.c:
7584 Bridge now deregisters when app exits, via
7585 registration of a cleanup function
7586 with the g_atexit() call.
7587 Required making 'app' static, renamed 'this_app'.
7588 Fixed broken use of bonobo_init, passing argv wrongly.
7590 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7594 Created a new directory for
7595 accessibility-related utilities, primarily for
7596 testing and demo purposes, but with possible
7603 Onscreen magnifier utility that
7604 is implemented as a bonobo service.
7606 * util/mag_client.c:
7607 * util/mag_client.h:
7608 Client-side support (simple C bindings)
7609 for Magnification service
7611 * util/mag_control.c:
7612 Client program example for
7613 Magnification service
7615 * util/Accessibility_Magnifier.server.in:
7616 Bonobo-activation file for the
7617 Magnification service.
7620 * util/idl/Magnifier.idl:
7621 IDL defining the bonobo Magnification
7625 Modifications to use the bonobo-activated magnifier
7626 above, in place of trying to connect to an existing
7627 magnifier that uses socket-listening IPC.
7629 If env variable MAGNIFIER is set, a magnifier service
7630 will be started if one does not exist.
7632 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7634 * at-bridge/bridge.c:
7635 applied patch from Marc to build and run
7636 against new glib and gtk+ (seemed like a change
7637 to bonobo_init signature was made ?)
7639 made festival-server support turned off by default.
7640 Added support for a simple magnifier (off by default)
7641 which will be added to a 'util' directory later.
7642 * at-bridge/Makefile.am:
7643 Changed "application.h" header from a 'source'
7644 to a 'dependency' of libat-bridge.
7646 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.
7736 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7744 Added interface implementation c files to list of
7745 includes so they are included in libcspi.
7748 Changed prototype of AccessibleAction_doAction to return a
7750 Changed prototype of AccessibleTable_getCaption to
7751 return an Accessible.
7752 Changed prototype of AccessibleTable_getSelectedRows
7753 and AccessibleTable_getSelectedColumns to
7754 return a long (returns the number of selected rows
7755 or columns respectively).
7756 Changed name of AccessibleText_refRunAttributes to
7757 AccessibleText_getAttributes.
7758 Changed prototype of AccessibleText_getCharacterExtents to
7759 return a void rather than a boolean.
7760 Added support for a AccessibleCoordType parameter
7761 specifying what type of coordinates are desired.
7762 Added an AccessibleCordType parameter to
7763 AccessibleText_getPointAtOffset.
7765 * cspi/spi_accessible.c:
7766 Added code to return the outstanding interfaces from
7767 Accessible_queryInterface.
7769 * cspi/spi_action.c:
7771 Corrected call to getNActions to call the c binding
7774 * cspi/spi_editabletext.c:
7776 Changed name from setRunAttributes to setAttributes.
7778 * cspi/spi_hyperlink.c:
7780 Changed call to getNAnchors to correctly call the c
7781 binding for an attribute.
7783 * cspi/spi_hypertext.c:
7785 Changed getImageDescription to correctly call the
7786 binding for an attribute.
7788 * cspi/spi_selection.c:
7789 Changed getNSelectedChildren to correctly call the c
7790 binding for the attribute.
7791 Changed refSelectedChild to getSelectedChild.
7795 Changed getCaption to return an Accessible.
7796 Fixed calls which retrieve attributes.
7797 Changed refAt to getAccessibleAt.
7798 Changed getNSelectedRows and getNSelectedColumns to
7802 Changed getCharacterExtents and getPointAtOffset to accept an
7803 AccessibleCoordType.
7805 Changed calls which retrieve attributes.
7806 Changed refRunAttributes to getAttributes.
7811 * idl/Hyperlink.idl:
7812 Changed n_anchors attribute to nAnchors to keep naming
7813 convention consistent.
7816 Made Table inherit from Bonobo::Unknown.
7817 Added nSelectedColumns and nSelectedRows attributes.
7820 Made Value inherit from Bonobo::Unknown.
7822 * libspi/hyperlink.c:
7823 Change for nAnchors attributte name change.
7826 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7828 implementations-- made server implementations own AtkObject pointers
7829 rather than their respective AtkInterrface pointers to fix
7830 refcounting. AtkHyperlink is still broken.
7832 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7833 * cspi/spi_accessible.c:
7834 Added method Accessible_Role_getName(),
7835 and requisite string array (role_names).
7836 Added conversion string_from_corba_strin() call
7837 to Accessible_getName and _getDescription.
7838 * libspi/accessible.c:
7839 Added implementation for Accessible_getRole()
7841 Added festival support, used if environment variable
7844 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7846 * at-bridge/bridge.c:
7847 Now allocate Accessibility_Event using
7848 Accessibility_Event__alloc() instead of g_new0().
7849 * libspi/accessibleeventlistener.c:
7850 Initialize AccessibleEventListener->callbacks to NULL.
7851 Fixed accessible__event_listener_init() param, changed to
7852 "AccessibleEventListener *" type.
7853 Changed a bonobo_object_release_unref() call to
7854 Accessibility_Accessible_unref().
7855 * libspi/listener.c:
7856 Changed Bonobo_Unknown_unref to (equivalent)
7857 Accessibility_Accessible_unref.
7858 * libspi/registry.c:
7859 Changed bonobo_object_release_unref to
7860 Accessibility_Accessible_unref.
7862 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7865 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7866 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7867 spi-util.c spi-util.h
7868 Implementations for C bindings to remaining accessibility
7871 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7874 changed return value of Action from void to boolean to
7875 bring in line with ATK.
7878 Changed getText funcions to return "out" start and end offsets.
7879 Changed getAttributes to take and offset and return the start
7880 and end offset of the attribute run.
7881 Changed getOffsetAtPoint and getCharacterExtents to take an
7882 enum describing whether coordinates are window or screen.
7885 libspi/action.c libspi/action.h libspi/editabletext.c
7886 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7887 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7888 libspi/image.h libspi/selection.c libspi/selection.h
7889 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7890 libspi/value.c libspi/value.h
7891 Added server implementations for outstanding ATK interfaces
7892 not yet implemented.
7894 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7897 Added (missing) getName() method.
7898 Made nActions an attribute.
7899 * idl/EditableText.idl:
7900 Changed order of params in setAttributes.
7901 * idl/Hyperlink.idl:
7902 Removed getAnchor, added getURI.
7904 Changed attributes to methods, for efficiency
7905 (so that getting extents can be done in one call)
7906 * idl/Selection.idl:
7907 Changed nSelectedChildren to attribute, and re-indented.
7908 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7910 * idl/Text.idl: reformatted to match our coding style.
7911 (temporarily?) removed getRowColumnAtOffset().
7912 Changed text selection API to support multi-select and
7913 non-contiguous selections, as in ATK.
7914 * idl/Value.idl: changed some methods to attributes.
7916 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7918 * libspi/listener.c(impl_notify_event):
7919 BonoboUnkown_unref the source instead
7920 of bonobo_object_release_unref - the ORB
7921 handles the releasing.
7923 * configure.in: require ORBit-2.3.94 for
7926 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7928 Tagged CVS repository 'EA_1_0'.
7929 * README.EARLY_ACCESS:
7930 Alphabetized acknowledgements list, and
7932 Listed some known dependencies of at-spi.
7934 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7936 * docs/at-spi-docs.sgml:
7937 * docs/at-spi-sections.txt:
7938 * docs/at-spi-overrides.txt: (Added zero-length file)
7939 Documentation improvements - gtk-doc should build
7940 docs for all implemented C bindings now.
7943 * cspi/spi.c: (New file)
7944 * cspi/spi_event.c: (New file)
7945 * cspi/spi_registry.c: (New file)
7946 * cspi/spi_accessible.c: (New file)
7947 * cspi/spi_application.c: (New file)
7948 * cspi/spi_component.c: (New file)
7949 Split spi_main.c into six parts, and included them from
7950 "spi.c". This is a bit of a hack, probably temporary,
7951 but required by gtk-doc, apparently.
7953 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7956 * docs/at-spi-docs.sgml:
7957 * docs/at-spi-sections.txt:
7959 Initial checkins/modifications for gtk-doc generation.
7962 Added (missing) interface query methods to Accessible's C binding.
7964 Added GenericInterface type definition.
7966 Added query for AccessibleComponent interface to focus event handler.
7967 Added printout of bounding box for focussed component.
7968 * libspi/component.c:
7969 Added partial implementation for AccessibleComponent to C binding.
7970 * idl/Application.idl:
7971 * libspi/registry.c:
7972 * libspi/listener.c:
7973 * libspi/application.c:
7974 * libspi/application.h:
7975 Changed "ID" attribute type from string to long.
7977 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7981 Made method naming consistent: methods taking object args
7982 start with uppercase, other methods (except those using
7983 acronyms) start with lowercase. Underscores delimit between
7984 object names and method names:
7985 SPI_init() - uppercase since it starts with an acronym.
7986 getDesktopCount () - lowercase start since no object param0.
7987 Accessible_getName() - uppercase object type name, studlyCaps method
7991 Added gtk-doc documentation for all currently implemented
7992 methods in the C bindings API.
7994 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7996 * Makefile.am : changed build order to build test last.
7999 Changed "createEventListener" to "CreateEventListener".
8000 * libspi/accessibleeventlistener.c :
8001 Bugfix for addition of callbacks.
8002 * test/Makefile.am :
8003 * test/simple-at.c :
8004 Added new test that uses the C bindings API.
8006 * libspi/listener.c :
8007 * libspi/registry.c :
8008 * libspi/accessibleeventlistener.c :
8009 * at-bridge/bridge.c :
8010 Renamed member "target" of Accessibility_Event to "source",
8011 which is more descriptive.
8014 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8018 * cspi/Makefile.am :
8019 Added makefile support for at-spi/cspi directory.
8022 * cspi/spi-listener.h : (NEW FILE)
8023 Added support for/use of spi-listener.h.
8025 C bindings now build successfully, with no warnings.
8026 * libspi/accessibleeventlistener.h : (NEW FILE)
8027 * libspi/accessibleeventlistener.c : (NEW FILE)
8028 * libspi/Makefile.am :
8029 Added new object type "AccessibleEventListener"
8030 which inherits from Listener, and allows attachment
8031 of in-process callbacks (so that a client with a listening
8032 object instance can add functionality to the local
8033 implementation, dynamically).
8035 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8037 * libspi/accessible.c:
8038 Add implementation for get_index_in_parent().
8040 Added #include of "spi-roletypes.h", and
8041 added enumerated type AccessibleCoordType.
8042 Added definition for KeystrokeListener (function type).
8045 * cspi/spi-statetypes.h :
8046 * cspi/spi-roletypes.h :
8048 Added these headers, used by spi.h.
8050 Added code (NOTE: not yet built by make).
8052 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8054 * libspi/Makefile.am: generate imodule
8055 at the same time as other idl compiler
8058 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8059 * libspi/registry.c :
8060 * libspi/application.c :
8061 * idl/Application.idl :
8062 Made registration with toolkit an application method,
8063 which is required since each app has its own toolkit static
8064 environment. Thus the bridge must register for
8065 notification of toolkit events from each application in turn.
8066 Toolkit notifications are now successfully registered for, and
8067 sent to the listening at client.
8069 Changed toolkit event string to use hyphens rather than underscores.
8070 * libspi/listener.c :
8071 listner now gives more info in debug mode - it reports the
8072 name of the event received, as well as the name of the source.
8075 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8077 * libspi/registry.c :
8078 added more implementation for toolkit events.
8079 Fixed bug such that toolkit event registrations
8080 (via atk) use the whole event name string, not
8082 Removed a useless call to an ORBit_ method.
8083 * at-bridge/bridge.c :
8084 Removed unused local sbuf[] variable.
8086 We now register for Gtk:GtkWidget:button_press_event
8087 events as well as "focus:" events.
8089 Add some more API from Registry.idl that was missing,
8090 for keystroke listening, keystroke and mouse event
8091 synthesis, and enumeration of accessible desktops.
8093 2001-08-16 Michael Meeks <michael@ximian.com>
8095 * configure.in: use AM_GLIB_GNU_GETTEXT.
8097 * Makefile.am (SUBDIRS): kill intl.
8099 2001-08-15 Michael Meeks <michael@ximian.com>
8101 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8103 * configure.in: upd.
8105 * configure.in: depend on a recent bonobo-activation that
8106 will find our server files ...
8108 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8110 * libspi/accessible.c : accessible_new() :
8111 Now we add the Component interface via bonobo_object_add_interface,
8112 if the contained AtkObject implements AtkComponent.
8113 * libspi/accessible.h : now include "component.h"
8114 * libspi/component.h :
8115 * libspi/component.c : added files - implementation of
8116 bonobo wrapper object for Accessibility/Component
8117 * libspi/listener.c :
8118 Added test code to check for Accessibility/Component:1.0
8119 interface and report whether it is implemented by the
8121 * libspi/registry.c :
8122 Now we check for not only the hash of the whole event
8123 string before relaying the event, we also check the
8124 "minor" event string (without the detail string).
8125 This allows event listeners to be registered against
8126 all events of a certain major+minor type, or just
8127 against a specific major+minor+detail type.
8128 * libspi/accessible.c :
8129 Added implementations for Accessible:get_parent(),
8130 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8131 * libspi/registry.c :
8132 * libspi/listener.c :
8133 Replaced calls to Accessibility_Accessible_ref() and
8134 Accessibility_Accessible_unref() with
8135 calls to bonobo_object_dup_ref() and
8136 bonobo_object_release_unref(), so that the CORBA object
8137 is dup-ed and released when relayed, as well as the bonobo object.
8139 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8141 * libspi/Makefile.am,
8142 registryd/Makefile.am,
8143 at-bridge/Makefile.am.
8144 test/Makefile.am, configure.in:
8145 reverse previous changes.
8147 * /idl/Image.idl: fix typo.
8149 * test/Makefile.am: put DEBUG_FLAGS
8152 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8154 * test/app.c: use argv[0] instead of
8157 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8159 * libspi/Makefile.am,
8160 registryd/Makefile.am,
8161 at-bridge/Makefile.am.
8162 test/Makefile.am, configure.in:
8163 cleanup, replace individual LIBS/CFLAGS with
8164 AT_COMMON_{LIBS|CFLAGS}.
8168 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8170 * configure.in, libspi/Makefile.am:
8171 Change IDL path checking for bonobo-activation
8174 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8176 * registryd/registry.c : separated event listeners to use
8177 3 separate lists (focus, window, toolkit). Began testing
8178 event names against hashes before relaying events.
8179 * test/at.c : now register for events of type "focus:"
8180 * test/app.c : now generate events of type "focus:"
8181 * at-bridge/bridge.c : register with ATK for focus events,
8182 and we now relay those focus events to any "focus:" listeners.
8183 This now works with the bridge as a GTK_MODULE when running test/at.
8184 * libspi/registry.c :
8185 * libspi/listener.c :
8186 now we ref event sources before propagating, and unref on receipt.
8187 * libspi/registry.c :
8188 some changes to internal structs, to support event typestring hashes.
8189 * text/app.c : changed the way the appname is generated.
8190 * cspi : added directory that will hold the C bindings library for
8191 non-CORBA/bonobo-savvy clients.
8192 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8193 * idl/Component.idl : added in parameter to indicate coord system for
8194 geometry-related calls.
8195 * idl/Hyperlink.idl : added readonly n_links attribute
8196 * idl/Image.idl : changed methods to attributes.
8198 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8200 * at-bridge/Makefile.am: link against
8201 ../libspi/libspi.la instead of -lspi.
8203 * at-spi/test/app.c: include
8204 bonobo-activation.h. Use a default appname
8205 if one is not provided.
8207 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8209 * idl/Registry.idl : temporarily changed register_Application
8210 to oneway, to work around issue with initial registration
8212 * idl/Application.idl : changed attribute "id" from readonly
8213 to read-write, since it needs to be assigned by Registry.
8214 * registryd/registryd.c : added call to set application id
8216 * registryd/registry.c : changed de-registration procedure to
8217 use CORBA_Object_hash() to find matching object ref in application
8218 lists and listener lists.
8219 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8220 began distinguishing between event types (work in progress).
8222 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8225 * libspi/application.c:
8226 Added implementations for get/set id, get_toolkitName,
8228 * registryd/registryd.c :
8232 Converted from use of OAF to bonobo-activation.
8233 * libspi/desktop.h :
8234 * libspi/desktop.c :
8236 Removed references to atksimpleobject, since base atkobject
8237 implementation now provides functionality we need.
8238 * libspi/atksimpleobject.c :
8239 * libspi/atksimpleobject.h :
8244 * at-bridge/Makefile.am
8245 * at-bridge/bridge.c
8248 Added directory "bridge" and contents, and added dependencies
8249 in Makefile.am/configure.in.
8250 Initial checkin of "at-bridge".
8251 This code is a GTK_MODULE which automatically registers
8252 GTK+ apps with the accessibility registry, using an object
8253 reference to the root ATK object.
8255 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8257 * po/Makefile.in.in: Remove. Again. If this
8258 doesn't get autogenerated - you need to update
8261 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8263 * po/Makefile.in.in: Add. Again.
8265 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8267 * libspi/accessible.c : added support for 'description' property.
8268 * libspi/accessible.c
8270 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8271 (since the two are now equivalent in libbonobo)
8279 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8280 Bonobo::Unknown as does Accessibility::Accessible.
8281 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8282 interface with Bonobo::Stream, since it was redundant with it.
8283 (The Stream returned by a StreamableContext object is expected to
8284 implement only a subset of Bonobo::Stream)
8286 2001-07-28 Anders Carlsson <andersca@gnome.org>
8288 * libspi/accessible.c (accessible_object_finalize): Change
8289 g_free to g_object_unref since the AtkObject is a GObject.
8291 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8293 * idl/Accessibility.idl: add new IDL files
8296 * idl/Action.idl: Definitions of actionable UI object
8297 * idl/Component.idl: Definitions of UI component geometry, etc.
8298 * idl/Hyperlink.idl: Defs of hyperlink behavior
8299 * idl/Image.idl: Def of accessible image
8300 * idl/Selection.idl: Definition of UI object with selectable children
8301 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8302 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8303 * idl/Text.idl: Interface defs for UI elements with complex textual content
8304 * idl/Value.idl: Definition of UI element that is a value controller or display
8306 2001-07-27 Michael Meeks <michael@ximian.com>
8308 * po/Makefile.in.in: remove autogenerated file from CVS.
8310 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8313 * idl/Registry.idl: include guard.
8315 * idl/Accessibility.idl: Add, and include all the other IDL
8318 * idl/*.idl: remove mass of pragmas etc.
8320 2001-07-26 Michael Meeks <michael@ximian.com>
8322 * registryd/Makefile.am (registryd_SOURCES): remove
8325 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8327 * libspi/.cvsignore, registryd/.cvsignore,
8328 test/.cvsignore: updated.
8330 * po/Makefile.in.in: gettext update.
8332 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8334 * initial CVS checkin
8336 2001-06-29 Michael Meeks <michael@ximian.com>
8338 * configure.in: add AM_CONFIG_HEADER to gen config.h