1 2007-09-08 Li Yuan <li.yuan@sun.com>
3 * registryd/deviceeventcontroller.c:
4 (spi_key_event_matches_listener):
5 Bug #474796. Should not checkmask bit 14 when sond out
8 2007-08-20 Li Yuan <li.yuan@sun.com>
10 * libspi/base.c: (spi_base_construct):
11 Avoid unnecessary crash. Bug #467612.
13 2007-08-01 Li Yuan <li.yuan@sun.com>
15 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
16 Fix a potential dead-lock issue. Bug #462412.
18 2007-07-09 Li Yuan <li.yuan@sun.com>
20 * configure.in, README, NEWS:
23 2007-07-09 Li Yuan <li.yuan@sun.com>
25 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
26 Bug #446277. Control the ref_count to 1, so Orca can unref the
27 state_set and avoid the memory leak.
29 2007-06-26 Li Yuan <li.yuan@sun.com>
31 * atk-bridge/Makefile.am:
32 Bug #450897. Set logging domain.
33 * registryd/registry.c: (parse_event_type):
35 Handle the "document:" signal, set the type to
38 2007-06-04 Li Yuan <li.yuan@sun.com>
40 * configure.in, README, NEWS:
41 Uprev/release 1.19.3 for GNOME 2.19.3.
43 2007-05-30 Willie Walker <william.walker@sun.com>
45 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
46 439436 to add pyatspi to autotools stuff so it gets installed as
47 part of a make install.
49 2007-05-17 Li Yuan <li.yuan@sun.com>
52 Bug #439057. Add the original PATH to PATH.
54 2007-04-23 Li Yuan <li.yuan@sun.com>
57 Uprev/release 1.19.1 for GNOME 2.19.1.
59 2007-04-18 Li Yuan <li.yuan@sun.com>
61 * pyatspi/__init__.py:
62 * pyatspi/accessible.py:
63 * pyatspi/constants.py:
65 * pyatspi/registry.py:
67 Bug #430938. Add some files to create the uniform Python
70 2007-04-12 Li Yuan <li.yuan@sun.com>
72 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
73 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
74 Fix #427836. Fix leak and unify the code style.
76 2007-04-12 Yi Jin <yi.jin@sun.com>
78 * atk-bridge/bridge.c:
79 (spi_atk_bridge_focus_tracker):
80 Bug #428007. Fix a memory leak.
82 2007-04-02 Ariel Rios <ariel@gnu.org>
84 Implement the Matchrule interface required for Collection.
90 * cspi/spi_accessible.c: (Accessible_isCollection),
91 (Accessible_isMatchRule), (Accessible_getCollection),
92 (Accessible_getMatchRule):
93 * cspi/spi_collection.c: new file.
94 * cspi/spi_matchrule.c: new file.
95 * idl/Accessibility.idl:
96 * idl/Accessibility_Collection.idl: new file.
99 * libspi/collection.c: new file.
100 * libspi/collection.h: new file.
102 * libspi/matchrule.c: new file.
103 * libspi/matchrule.h: new file.
105 2007-03-29 Ariel Rios <ariel@gnu.org>
107 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
109 2007-03-22 Li Yuan <li.yuan@sun.com>
111 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
112 main context. Fix for #329454.
114 2007-03-12 Li Yuan <li.yuan@sun.com>
116 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
118 2007-03-02 Li Yuan <li.yuan@sun.com>
120 * atk-bridge/bridge.c
121 (spi_atk_bridge_register_application),
122 (deregister_application), (spi_atk_bridge_focus_tracker),
123 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
124 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
125 to prevent calling threads_enter/leave during the init and shutdown.
127 2007-02-27 Li Yuan <li.yuan@sun.com>
130 (spi_re_entrant_list_delete_link):
131 Bug #412286. Reverse previous patch.
132 * configure.in, NEWS: Uprev/release 1.17.2.
134 2007-02-26 Li Yuan <li.yuan@sun.com>
136 * libspi/accessible.c:
137 (impl_accessibility_accessible_get_attributes),
138 (impl_accessibility_accessible_get_relation_set):
139 Bug #404584 and #401299. Return an empty object instead of return NULL.
140 * configure.in, NEWS: Uprev/release 1.17.1.
142 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
144 * Makefile.am: Dist MAINTAINERS.
146 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
148 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
149 (atk_bridge_init), (spi_atk_bridge_get_registry),
150 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
151 Fix some compiler warnings and plug a leak. Closes part of
154 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
156 * cspi/bonobo/cspi-bonobo-listener.h:
157 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
158 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
159 * cspi/spi_main.c: (SPI_eventIsReady):
160 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
161 * libspi/streamablecontent.c:
162 * libspi/util.c: (spi_re_entrant_list_delete_link):
163 * login-helper/login-helper.c:
164 * registryd/deviceeventcontroller.c:
165 (spi_controller_update_key_grabs), (isEvent):
166 * registryd/registry.c:
167 * test/key-listener-test.c: (simple_at_exit):
168 * test/login-helper-server-test.c: (test_set_wm_dock),
170 Fix a bunch of warnings from sparse:
171 - ANSIfication of function declarations
173 - Add some prototypes
174 - make some stuff static
176 2007-02-14 Li Yuan <li.yuan@sun.com>
178 * libspi/accessible.c:
179 (impl_accessibility_accessible_get_attributes):
180 Bug #404584. If there is no attributes, just return NULL.
182 2007-02-12 Li Yuan <li.yuan@sun.com>
184 * configure.in, NEWS: Uprev/release 1.17.0.
186 2007-02-12 Li Yuan <li.yuan@sun.com>
188 * atk-bridge/bridge.c:
189 (atk_bridge_init): bug #400709. we must emit events even if we are not
190 registered as a full-fledged app.
191 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
192 application like openoffice shutdown. They need to unload gtk before
193 the is spi_atk_bridge_exit_func called.
195 2007-01-22 Li Yuan <li.yuan@sun.com>
197 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
199 2007-01-22 Li Yuan <li.yuan@sun.com>
201 * cspi/bonobo/cspi-bonobo.c:
202 (cspi_get_registry_ior), (cspi_init):
203 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
205 2007-01-19 Li Yuan <li.yuan@sun.com>
207 * atk-bridge/bridge.c:
208 (atk_bridge_init), (spi_atk_bridge_register_application),
209 (deregister_application), (spi_atk_bridge_focus_tracker),
210 (spi_atk_emit_eventv):
211 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
214 2007-01-08 Li Yuan <li.yuan@sun.com>
216 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
218 2007-01-08 Li Yuan <li.yuan@sun.com>
220 * registryd/registry-main.c:
221 (main): set registry ior only when register server successfully.
222 * atk-bridge/bridge.c:
223 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
224 Bug #372988, #381670. Fix memory leak.
226 2007-01-02 Bill Haneman <billh@gnome.org>
229 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
230 appending default attributes to a text attribute set.
233 2006-12-28 Li Yuan <li.yuan@sun.com>
235 * atk-bridge/bridge.c:
236 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
237 the second time, because spi_atk_emit_eventv will free any. Bug
240 2006-12-15 Li Yuan <li.yuan@sun.com>
242 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
244 2006-12-14 Li Yuan <li.yuan@sun.com>
247 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
248 (spi_atk_bridge_property_event_listener),
249 (spi_atk_bridge_signal_listener):
250 Free some CORBA objects to fix memory leak and crash.
252 2006-12-13 Li Yuan <li.yuan@sun.com>
254 Patch from Ariel Rios to fix #163132 and #377079.
255 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
256 (spi_atk_bridge_get_registry_ior):
257 Use g_warning instead of g_error and g_critical to avoid crash.
259 2006-12-11 Bill Haneman <bill.haneman@sun.com>
262 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
263 if there are no non-default attributes defined at the current offset.
266 2006-12-04 Bill Haneman <bill.haneman@sun.com>
268 * idl/Accessibility_Role.idl: Fixed the documentation for
269 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
271 2006-12-04 Bill Haneman <bill.haneman@sun.com>
273 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
275 2006-11-07 Bill Haneman <bill.haneman@sun.com>
277 Patches from Padraig O'Briain for bugs #361386 and #369377.
279 * registryd/registry.c:
280 (struct NotifyContext): Change the e_out
281 member from an Accessibility_Event struct to a pointer to
283 (notify_listeners_cb): Modify to use the new struct definition above.
284 Allows use of ORBit_copy_value instead of CORBA_any__copy.
286 * registryd/deviceeventcontroller.c:
287 (spi_dec_button_update_and_emit): Free the event's any_data
289 (spi_dec_mouse_check):Free the event details any struct
291 (spi_device_event_controller_forward_mouse_event): Free any.
292 (spi_device_event_controller_forward_key_event): Ditto.
294 2006-11-07 Bill Haneman <bill.haneman@sun.com>
296 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
297 Don't require gtk+ and gail for building most of at-spi
300 * registryd/registry-main.c (main): We now get te value of display
301 using the env var DISPLAY rather than using the gdk_display_get_default
302 to avoid dependancy of gdk. Also, once the registry is started, we set
303 the ior of the registry as an X property.
304 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
306 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
307 the registration was successfull.
308 (spi_atk_bridge_do_registration): This function now returns success
309 or not on activating the registry.
310 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
311 has been set in the X root window and return it if available.
312 (spi_atk_bridge_get_registry): We now get the registry using the IOR
313 saved as a X property rather than using the OAFID.
315 2006-10-01 Bill Haneman <bill.haneman@sun.com>
317 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
319 2006-09-25 Bill Haneman <bill.haneman@sun.com>
321 * registryd/registry.c:
322 (desktop_remove_application): Don't pass a ref to the
323 dead application with the event, since it's probably
324 defunct and will cause SEGV if we try to unref,
325 extract app name, etc.
328 2006-09-20 Bill Haneman <bill.haneman@sun.com>
330 Patch from Neo Liu <nian.liu@sun.com>,
333 * atk-bridge/bridge.c:
334 (spi_atk_bridge_document_event_listener): New, for
337 2006-08-30 Bill Haneman <bill.haneman@sun.com>
340 Changed some parameter names so as not to
341 collide with class names - allows IDL to be compiled with
342 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
344 2006-08-22 Bill Haneman <bill.haneman@sun.com>
346 * atk-bridge/bridge.c:
347 (spi_atk_bridge_signal_listener):
348 Patch from Ginn Chen, assign detail1 in children-changed
349 so that the child object can be assigned to the Any when the
350 at-spi event is emitted. Bug #350552.
352 * libspi/application.c:
353 (spi_application_finalize): Remove g_print debug output.
356 2006-08-21 Bill Haneman <bill.haneman@sun.com>
358 * configure.in: Revved to AT-SPI 1.7.11.
360 * libspi/accessible.c:
361 (spi_accessible_new): Aggregate Hyperlink interface
362 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
364 * libspi/hyperlink.c:
365 (spi_hyperlink_new): Don't aggregate Action a second time if this
366 interface is created for an AtkHyperlinkImpl object (i.e. for a
367 child Accessible, as opposed to the Hyperlink instance from
369 (get_hyperlink_from_servant): Obtain the hyperlink from
370 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
372 Patch section from Ginn Chen...
374 * cspi/spi_accessible.c:
375 (_cspi_accessible_set_from_sequence):
376 Changed g_newa to g_new0 on Ginn Chen's suggestion.
378 * libspi/accessible.c:
379 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
380 (spi_accessible_new): Add the Document interface if present.
383 (impl_getAttributes): Fixed to use AtkAttribute properly.
386 (impl_getAttributes, impl_getDefaultAttributes):
387 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
389 2006-08-17 Bill Haneman <bill.haneman@sun.com>
391 * cspi/spi-private.h, cspi/spi_accessible.c:
392 (_cspi_attribute_set_from_sequence): Renamed from
393 cspi_attribute_set_from_sequence, to suppress export.
396 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
397 inline docs, which was keeping the doc from appearing.
398 (SPIExceptionHandler): Doc this.
400 * cspi/spi_document.c:
401 Added inline gtk-docs cut-n-pasted from the doxygen
402 docs in the corresponding IDL files.
403 (AccessibleDocument_getAttributes): Fix the retval here.
405 * cspi/spi_streamablecontent.c:
406 Fixed some 'Since' tags that were accidentally doxygen-style.
409 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
410 docs from the IDL file.
412 * docs/reference/cspi/at-spi-cspi-docs.sgml:
413 Added entities for Document and StreamableContent interfaces.
415 * docs/reference/cspi/at-spi-cspi-sections.txt:
416 Added some docs that were present inline but not getting
419 2006-07-31 Bill Haneman <bill.haneman@sun.com>
422 (impl_getRangeExtents): Use the atk_text_get_range_extents
423 API instead of looping over character bounds, now that
425 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
426 (_spi_text_bounds_contain): Remove, not needed anymore.
427 (_spi_text_rect_union): Remove, not needed anymore.
429 2006-07-31 Bill Haneman <bill.haneman@sun.com>
431 * atk-bridge/bridge.c:
432 (spi_atk_emit_eventv): Fix the CORBA_free call which was
433 causing 64-bit troubles and memory leaks.
434 Special thanks to Alexander Larsson who finally seems to
435 have tracked down the problem, not just here but in
439 (spi_init_any_object): Make sure we copy the CORBA value
440 when initializing an object for passing as a CORBA_Any.
443 2006-07-21 Bill Haneman <billh@gnome.org>
445 * idl/Accessibility.idl:
446 Reverted pragma changes, this broke the build in some envs
447 including the Debian team's build and some tinderbox builds.
449 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
452 Revved to 1.7.10, and edited the Xevie check (bug #319994).
454 * idl/Accessibility.idl:
455 Reworked inclusion of Bonobo_Unknown.idl, to
456 avoid double-linking libs in the Bonobo environment.
457 Thanks to Michael Meeks for the workaround, see bug #313122.
459 * registryd/deviceeventcontroller.c:
460 (spi_controller_notify_keylisteners):
461 Set the SPI_NUMLOCK_MASK bit if the modifier
462 corresponding to the conceptual numlock state is set.
465 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
467 * idl/Accessibility_Selection.idl:
468 (deselectChild): New method.
470 * libspi/selection.c:
471 (impl_deselectChild): Implement the new IDL method.
474 (AccessibleSelection_deselectChild): Added new method.
476 * cspi/spi_selection.c:
477 (AccessibleSelection_deselectChild): New method implemented.
479 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
481 * cspi/bonobo/cspi-bonobo.c:
482 (cspi_init): Replace g_error with g_warning, prevent
483 SEGV if the registry cannot be activated. Bug #346393.
485 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
487 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
489 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
490 2006-07-12 Ariel Rios <arios@us.ibm.com>
494 * idl/Accessibility_Table.idl:
495 (getRowColumnExtentsAtIndex): New method for getting
496 selection status and extents in one API call.
499 (impl_getRowColumnExtentsAtIndex): Implementation of
501 (spi_table_class_init): Add above to epv.
505 (AccessibleTable_getRowColumnExtentsAtIndex): New
506 method, retrieves selection status and row/col extents
507 for a table cell in a single API call.
509 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
510 2006-07-12 Ariel Rios <arios@us.ibm.com>
512 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
515 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
516 New bindings for new methods defined in idl and libspi.
519 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
520 Added prototype functions.
523 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
525 (spi_text_class_init): Added previous methods.
528 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
529 * libspi/spi-private.h: Corrections.
531 2006-06-29 Bill Haneman <bill.haneman@sun.com>
533 Added Document interface (see bug #326520),
534 with work from Ariel Rios <arios@us.ibm.com>.
536 * configure.in: Bump to 1.7.8.
538 * libspi/Makefile.am: Added document.[ch] to sources
541 (SpiDocument, SpiDocumentClass):
542 New interface implementation.
543 (spi_document_get_type, spi_document_construct)
544 (spi_document_interface_new): New methods added.
545 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
546 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
547 Added macros for SpiDocument
551 (spi_document_interface_new): Get a
552 new document interface. New.
553 (get_document_from_servant): Get an AtkDocument from servant New.
554 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
555 Implementation of methods defined on idl.
556 (spi_document_class_init, spi_document_init)
557 Init methods for SpiDocument. new
559 * idl/Accessibility.idl: Added Accessibility_Document.idl.
561 * cspi/Makefile.am: Added spi_document.c to sources.
563 * cspi/spi_document.c:
564 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
565 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
566 (AccessibleDocument_getAttributes): Bindings for methods defined
569 * cspi/spi_accessible.c:
570 (Accessible_isDocument, Accessible_getDocument) New.
572 (Accessible_isDocument, Accessible_getDocument)
573 (AccessibleDocument_ref, AccessibleDocument_unref)
574 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
575 (AccessibleDocument_getAttributes): Bindings added.
577 * idl/Makefile.am: Added Accessibility_Document.idl to
580 2006-06-29 Bill Haneman <bill.haneman@sun.com>
582 * idl/Accessibility_Document.idl: New interface
583 for complex documents. First stage of fix for RFE
586 2006-06-27 Bill Haneman <bill.haneman@sun.com>
588 * libspi/streamablecontent.c:
589 (impl_content_stream_close):
590 Unref the GIOChannel on close.
592 2006-06-23 Bill Haneman <bill.haneman@sun.com>
594 * idl/Accessibility_Role.idl:
595 * libspi/accessiblerole.c:
596 * cspi/spi_accessible.c: Added ROLE_LINK,
597 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
598 Bug #345758 and bug #140635.
601 2006-06-22 Bill Haneman <bill.haneman@sun.com>
605 * idl/Accessibility_StreamableContent.idl:
606 Fix derivation of StreamableContent and ContentStream.
608 * cspi/spi_streamablecontent.c:
609 (accessible_content_stream_client_read):
610 Fix the datatype of the content stream used.
611 Interpret short reads as EOF, and stop trying to
612 read when we've fulfilled the request.
613 (AccessibleStreamableContent_getContentTypes):
614 Use g_strdup, not CORBA_string_dup, for the strings.
615 (AccessibleStreamableContent_open):
616 Correctly use the new getStream method for opening,
617 not the deprecated getContent method.
618 Use the object reference as the stream hash key.
619 Make note of the 'one stream per client per streamable'
620 limitation in the docs.
623 Add streamablecontent.h to the list of #includes.
625 * libspi/streamablecontent.c:
626 (impl_content_stream_read): Initialize the GError.
627 Allocate the incoming buffer if reading a fixed length of
628 data. Use g_memmove instead of memcpy.
629 (impl_accessibility_streamable_get_content_types):
630 Init typelist->_maximum. Only allocate the buffer if
631 there is a non-zero number of content types available.
632 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
634 * libspi/streamablecontent.h:
635 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
638 (SPI_IS_VALUE): Fix a typo in this macro too.
640 2006-06-16 Bill Haneman <bill.haneman@sun.com>
644 * idl/Accessibility_StreambleContent.idl:
645 Deprecate the Bonobo_Stream-based methods in favor of
646 a self-contained "ContentStream" interface. This should
647 allow us to remove BonoboStream dependencies entirely, since
648 there were no non-NIL implementations of the old methods anyway.
649 (ContentStream): New interface.
650 (ContentStream::SeekType): Enum.
651 (ContentStream::seek): New.
652 (ContentStream::read): New.
653 (ContentStream::close): New.
654 (getContent): Deprecate.
655 (getURI): New method, returns a URI pointing to the content, if available.
657 * libspi/streamablecontent.c:
658 (SpiContentStream): Internal object type definition used to
659 implement Accessibility::StreamableContent::ContentStream via
660 AtkStreamableContent's GIOChannel back-end.
661 (spi_content_stream_new, spi_content_stream_dispose): See above;
663 (impl_content_stream_seek, impl_content_stream_read):
664 (impl_content_stream_close): New, implementations of
666 (impl_accessibility_streamable_get_stream): Implement the
667 public method Accessibility::StreamableContent::getStream.
668 (impl_accessibility_streamable_get_uri): Implement the
669 public method Accessibility::StreamableContent::getURI.
671 * cspi/spi_streamablecontent.c:
672 (accessible_bonobo_stream_client_seek): Replaced by
673 (accessible_content_stream_client_seek).
674 (accessible_bonobo_stream_client_read): Replaced by
675 (accessible_content_stream_client_read).
676 (AccessibleStreamableContent_open):
677 (AccessibleStreamableContent_seek):
678 (AccessibleStreamableContent_read):
679 (AccessibleStreamableContent_close): Use the new 'getStream'
680 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
682 2006-06-15 Bill Haneman <bill.haneman@sun.com>
684 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
685 remove from other .idl files (except LoginHelper).
688 2006-06-14 Bill Haneman <bill.haneman@sun.com>
690 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
693 * configure.in, */Makefile.am: mingw patch, modified from
694 original patch by yselkowitz. Bug #314216.
696 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
697 for completeness. Bug #163111.
699 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
700 * libspi/util.c, registryd/registry-main.c:
701 Fix guint/char* casts.
702 Patch from chpe, bug #333883.
704 2006-06-12 Bill Haneman <bill.haneman@sun.com>
706 * configure.in: Require atk-1.12.0, to pick up
707 new API. (bug #344412).
709 * libspi-1.0-uninstalled.pc.in:
711 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
712 Fix for #341488 from Samual Thibault.
714 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
715 Thanks to Brian Pepple.
717 2006-06-09 Bill Haneman <bill.haneman@sun.com>
720 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
721 New, missing implementations of attribute reading methods
724 * cspi/spi.h, spi_value.c:
725 (AccessibleValue_getMinimumIncrement): New methods wrapping
726 the (formerly unimplemented) property from Value.idl.
729 (impl_get_minimumIncrement): Implementation for retrieving
730 the minimum valuator increment, (formerly unimplemented).
733 2006-06-09 Bill Haneman <bill.haneman@sun.com>
735 * idl/Accessibility_State.idl:
736 Added STATE_VISITED (bug #338369).
738 * cspi/spi_accessible.c:
739 (spi_state_to_corba) Fixed marshalling of new statetypes.
742 (spi_init_state_tables, impl_getStates):
743 Fixed conversion of new statetypes to/from ATK.
745 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
747 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
748 definitions/conversions for new roles from ATK.
750 * idl/Accessibility_Relation.idl:
752 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
753 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
754 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
756 * libspi/accessible.c: Fixed marshalling of new role types from
759 2006-04-17 Matthias Clasen <mclasen@redhat.com>
761 * revert my previous change
763 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
765 * configure.in: Remove obssolete no_NO locale
766 * po/no.po: And the translation.
768 2006-04-05 Matthias Clasen <mclasen@redhat.com>
770 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
771 memory-management error that caused crashes on x86_64.
774 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
776 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
778 2006-03-27 Bill Haneman <bill.haneman@sun.com>
780 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
781 to strip "cspi_*" from the symbol table.
783 * cspi/spi_streamablecontent.c:
784 (get_streams): Make this method static.
787 (_cspi_exception_throw): rename to cspi_exception_throw,
788 so we can strip it with the rest...
791 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
793 2006-03-27 Bill Haneman <bill.haneman@sun.com>
795 Add doxygen-generated IDL docs to tarball, and enable
796 doxygen during build/install when available. Bug #301345.
798 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
800 * docs/reference/Makefile.am: Add idl to SUBDIRS.
802 * docs/reference/idl/Makefile.am: Optionally use
803 doxygen to create docs.
805 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
807 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
809 2006-03-20 Bill Haneman <bill.haneman@sun.com>
812 (impl_get_selected_rows): Don't free the selection if it's
813 empty or has not been assigned; init it to NULL so you can tell.
814 Also, allow for zero selected rows.
815 (impl_getSelectedColumns): Ditto. Bug #319088.
817 2006-03-11 Vincent Untz <vuntz@gnome.org>
819 Leak fix for bug #334217.
821 * libspi/application.c: spi_application_toolkit_event_listener():
822 don't duplicate the string we pass as an argument to
823 spi_init_any_nil() since spi_init_any_nil() already does it
824 * registryd/deviceeventcontroller.c:
825 (spi_dec_button_update_and_emit): ditto
826 (spi_dec_mouse_check): ditto
827 (spi_dec_emit_modifier_event): ditto
828 (spi_device_event_controller_forward_mouse): ditto
829 * registryd/registry.c:
830 (desktop_add_application): ditto
831 (desktop_remove_application): ditto
833 2006-02-20 Bill Haneman <billh@gnome.org>
835 * configure.in: Rev to 1.7.6.
837 Leak fixes for bug #331924.
839 * atk-bridge/bridge.c:
840 (spi_atk_bridge_init_base): Don't dup the string, it's already
841 been dup-ed. Fixes a leak.
842 (spi_atk_emit_eventv): Move the CORBA_free call here,
843 instead of spi_atk_state_event_listener; fixes another leak.
844 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
845 notifying the registry; fixes another leak.
847 * registryd/registry.c:
848 (registry_flush_event_queue): Free the CORBA_any when
849 flushing the event, not just the string. Fixes another leak.
850 (registry_queue_event): Free the CORBA_any when dropping
851 events on the floor; fixes another leak.
854 (spi_init_any_object, spi_init_any_nil):
855 Always set _release to TRUE. Fixes another leak.
857 2006-02-20 Bill Haneman <billh@gnome.org>
859 * configure.in: Rev to 1.7.5.
860 Reinstate localization of this module. Thanks for Rodney
861 Dawes for fixing my patch.
863 * registryd/Makefile.am: Remove Accessibility_Registry.server
864 from dist, since it needs to be re-created at configure time.
867 2006-01-31 Bill Haneman <billh@gnome.org>
869 * configure.in: Rev to 1.7.4 (to include build fix below).
871 * idl/Makefile.am: Include Selector.idl in dist.
875 (cspi_internal_event_get_object): Handle case where
876 "object" isn't present, i.e. CORBA_TC_Object doesn't match
877 the EventDetails data.
878 (cspi_internal_event_get_text): Handle NULL string.
879 (cspi_internal_event_get_rect): Handle missing/empty rect
880 data, Accessibility_TC_RectBounds doesn't match any_data.
882 2006-01-30 Bill Haneman <billh@gnome.org>
886 * atk-bridge/bridge.c:
887 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
888 interface and use that when instantiating a new source
889 accessible. Better fix for bug #321814.
891 2006-01-27 Bill Haneman <billh@gnome.org>
893 * idl/Accessibility_Selector.idl: Added to the cvs repository.
895 * configure.in: Revved to 1.7.3.
897 2006-01-17 Bill Haneman <billh@gnome.org>
899 * configure.in: Revved to 1.7.2, re-dist to include docs.
901 2006-01-09 Bill Haneman <billh@gnome.org>
903 * configure.in: Removed po/Makefile.in inclusion, we do not need
906 * idl/Accessibility.idl: Improved documentation here, and for all
907 IDL in the 'GNOME::Accessibility' namespace.
909 * idl/Accessibility_Accessible.idl:
910 (LOCALE_TYPE): Added enum.
911 (AttributeSet): New, for returning multiple name/value attribute pairs.
912 (RoleSet): New, sequence of Roles, to be used in upcoming
914 (getAttributes): New API, allows retrieval of name/value pair
915 annotations for all kinds of Accessible objects. C.f.
916 Text:getAttributes, which is only for typographic/textual/semantic tags in
918 (getApplication): New, retrieves the host/containing Application
919 instance for an object (without having to walk up the whole tree).
921 * idl/Accessibility_Component.idl:
922 (getAlpha): New method, returns the alpha blending (aka 'opacity')
923 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
926 * idl/Accessibility_Event.idl:
927 (EventDetails): New struct definition, for encapsulating
928 commonly-queried information about emitted events. The use of
929 this structure in emitted events (in the 'any' member of
930 Accessibility_Event) should greatly reduce the number of
931 client-server roundtrips necessary.
933 * idl/Accessibility_Image.idl:
934 (imageLocale): New, a readonly attribute indicating the POSIX
935 LC_MESSAGES locale of the image and associated Alt/descriptive
938 * idl/Accessibility_Relation.idl:
939 (RELATION_PARENT_WINDOW_OF): Include, as complement to
942 * idl/Accessibility_Role.idl:
943 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
944 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
945 complex document and form support.
947 * idl/Accessibility_State.idl:
948 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
949 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
950 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
951 for support of complex documents and forms.
953 * idl/Accessibility_StreamableContent.idl:
954 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
955 allow old bonobo-stream interfaces to be deprecated in the next
958 * idl/Accessibility_Text.idl:
959 (getAttributeValue): New method, allows query-by-name of single
962 * libspi/accessible.c:
963 Added support for new roles. Implemented new methods
964 (impl_accessibility_accessible_get_application): New
965 (impl_accessibility_accessible_get_attributes): New
967 * libspi/component.c:
968 (impl_accessibility_component_get_alpha): New.
971 (impl_accessibility_image_get_locale): New.
973 * libspi/relation.c: Added support for new relation type.
975 * libspi/stateset.c: Added support for new state types.
978 (impl_getAttributeValue): New.
981 New prototypes for private methods
983 spi_init_any_object, spi_init_any_string,
986 * libspi/spi_event.c:
987 Use EventDetails in the event emission methods.
989 * cspi/spi-private.h:
990 (cspi_role_from_spi_role): Expose this adapter method, since
991 we need it in the bridge (see below).
994 (AccessibleEvent_getSourceName):
995 (AccessibleEvent_getSourceRole):
996 (AccessibleEvent_getSourceApplication):
997 (AccessibleEvent_getSourceDetails):
998 New methods for interrogating/demarshalling
999 event details (i.e. source's accessible name, role,
1002 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1003 Make use of the new EventDetails struct in events, if present.
1004 (AccessibleEvent_getSourceName)
1005 (AccessibleEvent_getSourceRole)
1006 (AccessibleEvent_getSourceApplication)
1007 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1009 (Accessible_getAttributes): New, wraps
1010 Accessibility_Accessible_getAttributes.
1011 (Accessible_getHostApplication): New, wraps
1012 Accessibility_Accessible_getApplication.
1015 (AccessibleImage_getImageLocale): New wrapper for
1016 Accessibility_Image_get_imageLocale.
1018 * cspi/spi_component.c:
1019 (AccessibleComponent_getAlpha): New wrapper for
1020 Accessibility_Component_getAlpha.
1022 * atk-bridge/bridge.c:
1023 Use new prototyped for init_any methods.
1024 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1025 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1026 (spi_atk_bridge_init_base): Wrappers
1027 for spi_init_any_* methods, due to refactor; include extended
1028 information in the Accessibility_EventDetails struct, for instance
1029 accessible-name, Role, and containing Application.
1031 * registryd/registry.c:
1032 Use new event emission (with EventDetails).
1034 * registryd/deviceeventcontroller.c:
1035 Use new event emission (with EventDetails).
1037 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1039 * configure.in: Generate po/Makefile.in
1040 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1041 * cspi/spi_streamablecontent.c:
1042 (accessible_bonobo_stream_client_seek),
1043 (AccessibleStreamableContent_seek): Remove unused vars.
1044 * libspi/application.c: Missing header.
1045 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1046 * login-helper/login-helper.c: (login_helper_finalize),
1047 (login_helper_init): Remove unused stuff
1048 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1049 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1050 and surround some with #ifdef GRAB_BUTTON.
1051 * test/event-listener-test.c: (main), (report_event),
1052 (report_caret_event), (report_detail_event),
1053 (report_detail1_event), (report_bounds_event), (report_text_event),
1054 (report_text_selection_event),
1055 (report_active_descendant_changed_event),
1056 (report_children_changed_event), (report_name_changed_event),
1057 (report_description_changed_event), (report_parent_changed_event),
1058 (report_window_event), (report_table_summary_event),
1059 (report_table_header_event), (report_table_caption_event),
1060 (report_table_row_description_event),
1061 (report_table_column_description_event), (timing_test_event):
1062 Remove a bunch of unused variables and fix a slew of format specifiers
1063 * test/key-listener-test.c: (report_all_key_event): Format specifier
1064 * test/keypad-test.c: (print_key_event): Same
1065 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1067 * test/screen-review-test.c: (main), (print_chunk_debug),
1068 (review_buffer_get_text_chunk), (debug_chunk_list),
1069 (string_guess_clip), (text_chunk_get_clipped_string),
1070 (text_chunk_list_to_string), (get_screen_review_line_at):
1071 Remove unused variables and fix format specifiers.
1072 * test/simple-at.c: (report_text_event): Format specifier fix.
1073 * test/stress-test.c: (main): Remove unused var.
1075 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1077 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1078 (yes I know that's useless)
1080 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1082 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1084 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1086 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1087 urgh-fix embarassing typo.
1089 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1091 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1092 do a faster, less problematic _unref call on this local
1093 object, rather than a slower (potentially cross-thread
1094 complicated) CORBA call.
1096 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1098 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1099 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1100 * registryd/deviceeventcontroller.c:
1101 (spi_controller_notify_mouselisteners),
1102 (impl_generate_keyboard_event):
1103 * test/screen-review-test.c: (chunk_bounds_within):
1104 * test/test-simple.c: (test_desktop): Remove some unused code
1105 and fix compiler warnings. Closes bug #320049.
1107 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1109 * registryd/deviceeventcontroller.c:
1110 (spi_controller_notify_keylisteners): Check
1111 to make sure the event listener has requested 'preemptive'
1112 status before pre-empting an event.
1114 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1116 * configure.in, README, NEWS: Release 1.6.5.
1118 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1120 * test/window-listener-test.c: Fix a printf
1121 format error. (#169453)
1123 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1125 * tests/test-simple.c:
1126 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1127 relying on the old string from the key event hanging around after
1128 the event handler returns. Fixes broken 'make check'.
1130 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1132 * Added Marathi (mr_IN) translations.
1134 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1136 * cspi/bonobo/cspi-bonobo-listener.c:
1137 (cspi_event_list_remove_by_cb): Fix the build.
1139 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1141 * cspi/bonobo/cspi-bonobo-listener.c
1142 (cspi_event_list_remove_by_cb): actually filter by callback.
1144 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1146 * registryd/registry.c (remove_listener_cb):
1147 Make deregistration filter rules match the event emission rules.
1149 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1151 * registryd/registry.c (remove_listener_cb),
1152 (impl_accessibility_registry_deregister_global_event_listener),
1153 (impl_accessibility_registry_deregister_global_event_listener_all):
1154 pass a closure to the remove callback to filter listeners more
1155 accurately on remove.
1157 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1159 * configure.in: Revved to 1.6.4.
1160 Remember to put quotes around XEVIE_LIBS assignment.
1161 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1164 * tests/event-listener-test.c: Tweaked the tests - more detail
1165 from caret events, and some interrogation of AccessibleText APIs.
1166 Commented-out the bounds-changed events by default, since they can
1169 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1171 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1172 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1173 Same here. Closes bug #167806
1175 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1177 * atk-bridge/bridge.c:
1178 (spi_atk_bridge_signal_listener):
1179 Free the any._value if any._release is TRUE,
1180 since the ORB won't do it for us in this case
1181 [because this method is not a skel].
1182 Fix for bug #168679.
1184 2005-03-30 Steve Murphy <murf@e-tools.com>
1186 * configure.in: Added "rw" to ALL_LINGUAS.
1188 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1190 * configure.in: Improved check for HAVE_XEVIE, to detect
1191 presence on XOrg, where -lXevie is a separate library.
1193 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1195 * configure.in, NEWS, README: Revved to 1.6.3.
1197 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1199 * configure.in: Added "xh" to ALL_LINGUAS.
1201 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1203 * atk-bridge/bridge.c:
1204 (atk_bridge_init): Added missing NULL in g_strconcat(),
1205 also check for symlink before logging to
1206 insecure directory. Thanks to meissner@suse.de.
1208 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1210 * tests/login-helper-server-test.c: Add return call to main
1211 function. Patch from Chris Lahey. Fixes bug #165129.
1213 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1215 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1217 2004-12-09 Bill Haneman <billh@gnome.org>
1219 * registryd/registry-main.c:
1220 Added #define <string.h> for strrchr. (bug 160862).
1221 Thanks to Vincent Berger for catching.
1223 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1225 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1226 restart registry process if the registry process is found to have died
1227 and the current process is exiting.
1228 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1229 application if the registry process has died.
1230 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1231 does not return a registry object.
1232 (spi_atk_tidy_windows): Give up if the registry process has died.
1234 This fixes problems with hangs and crashes when logging out.
1236 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1238 * registryd/desktop.c: Add checking that we are not exiting before
1239 calling spi_desktop_remove_application in
1240 abnormal_application_termination. Fix for bug #152147.
1242 2004-12-02 Bill Haneman <billh@gnome.org>
1244 * configure.in, NEWS, README: Revved to 1.6.1.
1246 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1247 * atk-bridge/bridge.c:
1248 (atk_bridge_init): Save the pid when we start, to detect forks.
1249 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1250 if we're in a forked pid.
1252 2004-10-09 Bill Haneman <billh@gnome.org>
1254 * idl/Accessibility_LoginHelper.idl:
1255 Improved inline documentation.
1257 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1259 * configure.in: Added gl (Galician) to ALL_LINGUAS
1261 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1263 * libspi/accessible.c:
1264 (impl_accessibility_accessible_get_role_name),
1265 (impl_accessibility_accessible_get_local_role_name):
1266 NULL vs. 0 cleanups.
1267 * libspi/component.c:
1268 (impl_accessibility_component_get_accessible_at_point):
1270 * libspi/eventlistener.c: (spi_event_listener_new):
1272 * libspi/stateset.c: (impl_compare): More of the same
1273 * libspi/table.c: (impl_getRowDescription): Again.
1274 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1275 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1276 (impl_generate_keyboard_event): Same.
1277 * registryd/registry-main.c: (main): Same
1278 * test/event-listener-test.c: (test_exit): Same
1279 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1280 * test/keysynth-test.c: (test_key_synthesis): Same
1281 * test/login-helper-server-test.c: (main): Fix warning.
1282 * test/screen-review-test.c: (test_exit): Fix include.
1283 * test/simple-at.c: (simple_at_exit), (_festival_init):
1286 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1288 * configure.in, NEWS, README: Revved to 1.6.0.
1290 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1292 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1293 was missing the HTML docs.
1295 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1297 * configure.in: only cleanups:
1298 - better looking PKG_CHECK_MODULES() output,
1300 - declare in one common place required versions of other tools using
1303 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1305 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1306 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1307 required ATK version accordingly.
1309 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1311 * cspi/bonobo/cspi-bonobo.c:
1312 (cspi_display_name): Fix C99ism.
1313 * atk-bridge/bridge.c:
1314 (spi_display_name): Fix C99ism.
1315 Patch from Jens Granseuer, jensgr@gmx.net.
1317 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1319 * configure.in: Added "or" to ALL_LINGUAS.
1321 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1323 * configure.in, NEWS, README: Revved to 1.5.4.
1325 * registryd/registry-main.c:
1326 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1329 * cspi/bonobo/cspi-bonobo.c:
1330 (cspi_display_name): New convenience method, gets DISPLAY with
1331 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1332 (cspi_init): Set the activation env value above before getting
1335 * atk-bridge/bridge.c:
1336 (spi_display_name): Create the AT_SPI_DISPLAY activation
1337 environment for an app, based on the DISPLAY environment with the
1338 screen number stripped off.
1339 (atk_bridge_init): Allow redirection of error messages to a log.
1340 (spi_atk_bridge_get_registry): Call
1341 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1343 Fixes for bugs #149962, #136986, #144086.
1345 2004-08-16 Christian Rose <menthos@menthos.com>
1347 * configure.in: Added "bs" to ALL_LINGUAS.
1349 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1351 * configure.in: Added nb to ALL_LINGUAS.
1353 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1356 (SPI_init): Return error code '2' if the activated
1357 registry cannot be pinged. Fixes bug #147648.
1359 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1361 * registryd/deviceeventcontroller.c:
1362 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1363 rely on timer-poll instead, to avoid conflict with
1366 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1368 * configure.in: Revved to 1.5.3.
1370 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1372 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1374 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1376 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1378 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1380 * atk-bridge/bridge.c:
1381 (spi_atk_bridge_do_registration):
1382 Register with ATK for AtkComponent:bounds-changed events.
1383 (api_atk_bridge_signal_listener):
1384 Marshal the AtkRectangle info into the event notification
1385 for object:bounds-changed events.
1388 (spi_init_any_rect): New method, inits a corba struct of
1389 type Accessibility_BoundingBox from an AtkRectangle.
1391 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1394 (SPIRect): New struct definition.
1395 (SPI_freeRect): New declaration.
1396 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1399 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1400 implemented. Gets the bounding box data from the CORBA_any
1401 associated with a bounds-changed event notification.
1402 (cspi_internal_event_get_rect): New, used internally by above method.
1405 (SPI_freeRect): Implemented this new method, for freeing
1408 * test/event-listener-test.c:
1409 (main, report_bounds_event):
1410 Added a test for object:bounds-changed events.
1412 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1414 * test/login-helper-server-test.c:
1415 (main): Fix C99-ism. Thanks to Jens Granseuer.
1417 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1419 * libloginhelper-1.0.pc.in:
1420 * idl/Accessibility_LoginHelper.idl:
1421 * login-helper/Makefile.am:
1422 * login-helper/login-helper.[ch]:
1423 * test/login-helper-client-test.c:
1424 * test/login-helper-server-test.c: Added files missing from CVS.
1425 Files obtained from at-spi-1.5.2 tarball.
1427 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1429 * configure.in: Create login-helper/Makefile.
1430 Incremented micro version.
1432 * Makefile.am: Add login-helper subdir and pkgconfig data.
1434 * login-helper: New subdir.
1436 * libloginhelper-1.0.pc.in: New.
1438 * idl/Accessibility_LoginHelper.idl: New file, defines
1439 interface whereby authentication clients can identify agents which
1440 need access to services during the login process, e.g. screen lock
1443 * login-helper/Makefile.am : New.
1445 * login-helper/login-helper.[ch] : New, implementation of
1446 a LoginHelper base class. Services needing LoginHelper can subclass.
1448 * test/Makefile.am : Added test for login-helper, client and
1451 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1452 Use proper prefix in #include files.
1454 * test/login-helper-client-test.c: New.
1456 * test/login-helper-server-test.c: New.
1458 2004-05-27 Alexander Shopov <ash@contact.bg>
1460 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1462 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1464 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1465 is positive. This should make it easier to detect inapprorpiate unref
1468 2004-05-11 James Henstridge <james@daa.com.au>
1470 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1471 no-op and deprecated.
1473 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1475 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1477 2004-04-28 Bill Haneman <billh@gnome.org>
1479 * Makefile.am: Added --enable-gtk-doc to
1480 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1482 2004-04-19 Bill Haneman <billh@gnome.org>
1484 * configure.in: Revved to 1.5.1.
1486 * registryd/deviceeventcontroller.c:
1488 (DEControllerPrivateData): Added fields for
1489 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1490 (spi_dec_replace_map_keysym): New internal utility for
1491 replacing a keysym in the keymap - used to allow
1492 synthesis of individual characters which aren't in the
1494 (spi_dec_reset_reserved): New; resets the changed keysym value
1496 (keycode_for_keysym): We now try to deal with failed
1497 XKeysymToKeycode requests by changing a keymap value
1498 and returning a reserved keycode. We now take
1499 a DEController pointer as first arg.
1500 (spi_controller_register_with_devices): Call XkbGetMap with
1501 the XkbKeySymsMask. Find the highest keycode in the current
1502 keymap which doesn't have any grabs, and mark that one for
1503 temporary re-mapping when out-of-range KeySyms are synthesized.
1504 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1507 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1509 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1511 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1513 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1515 2004-03-24 Bill Haneman <billh@gnome.org>
1518 (AccessibleTable_addRowSelection),
1519 (AccessibleTable_addColumnSelection),
1520 (AccessibleTable_removeRowSelection),
1521 (AccessibleTable_removeColumnSelection):
1522 Add declarations for spi wrappers which were
1523 inadvertantly omitted. Fixes bug #133413.
1526 Revved to 1.5.0 (unstable series for GNOME 2.7).
1528 2004-03-24 Bill Haneman <billh@gnome.org>
1530 * atk-bridge/bridge.c:
1531 Bracketed some debug output in
1532 conditionals, to avoid printing it in normal use.
1535 * libspi/hyperlink.c:
1536 Don't cast 'object' to ATK_OBJECT when constructing
1537 an AtkAction interface for a hyperlink.
1538 See discussion in bug #120659.
1540 * test/key-listener-test.c:
1541 (report_all_key_event): Send output to stderr,
1542 not stdout, for consistency with the rest of the test callbacks.
1545 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1546 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1547 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1548 try incrementing the revision AFTER doing a dist, at least
1551 2004-03-22 Bill Haneman <billh@gnome.org>
1553 * configure.in: Revved to 1.4.0, libtool 9.14.9
1555 2004-03-17 Laszlo Peter <laca@sun.com>
1557 * libspi-1.0-uninstalled.pc.in: add idldir
1559 * cspi-1.0-uninstalled.pc.in: add idldir
1561 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1563 * configure.in: Added "en_GB" to ALL_LINGUAS
1565 2004-03-15 Bill Haneman <billh@gnome.org>
1567 * configure.in: Revved to 1.3.16,
1570 2004-03-15 Laszlo Peter <laca@sun.com>
1572 * libspi-1.0-uninstalled.pc.in: new file
1574 * cspi-1.0-uninstalled.pc.in: new file
1576 * configure.in: add the new pc files to AC_OUTPUT
1578 * Makefile.am: add the new pc files to EXTRA_DIST
1580 2004-03-12 Bill Haneman <billh@gnome.org>
1582 * atk-bridge/bridge.c:
1583 (spi_atk_bridge_key_listener):
1584 Make sure to return consumed=FALSE if snoop
1585 event is not dispatched to listener.
1588 2004-03-01 Bill Haneman <billh@gnome.org>
1590 * configure.in: Revved to 1.3.15,
1593 2004-03-07 Danilo Segan <dsegan@gmx.net>
1595 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1597 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1599 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1601 2004-03-01 Bill Haneman <billh@gnome.org>
1603 * configure.in: Revved to 1.3.14.
1606 (SPI_exit): Removed "bye-bye" exit message.
1607 Moved "leak" report to happen before the
1608 iteration over the leaked refs list.
1609 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1611 2004-02-24 Bill Haneman <billh@gnome.org>
1613 * configure.in: Revved to 1.3.13.
1615 * docs/reference/cspi/Makefile.am:
1616 Correct typo that was breaking the docs build.
1618 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1620 * autogen.sh: Require version 1.7 of automake.
1622 * configure.in: call GTK_DOC_CHECK([1.0])
1624 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1626 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1628 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1630 * test/Makefile.am: Remove use of CFLAGS.
1632 This fixes bug #132987.
1634 2004-02-11 Bill Haneman <billh@gnome.org>
1636 * reverted most of Tomasz' patch below, since it was breaking
1637 builds (see bug #134058).
1639 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1641 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1642 correct pass "make dist" (empty .. because seems no sach types in
1643 header files with gtk-doc markups).
1644 * docs/reference/cspi/Makefile.am, configure.in:
1645 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1646 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1647 * Makefile.am: added:
1648 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1649 for force correct pass generate documentation on "make distcheck".
1650 * libspi/Makefile.am: fixes for automake >= 1.6.
1651 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1652 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1655 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1657 * docs/reference/cspi/Makefile.am (install-data-local): Install
1658 index.sgml since the doc autobuilder on widget.gnome.org looks for
1661 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1663 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1666 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1668 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1670 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1672 * test/simple-at.c: Fixed null string problems that cause core
1673 dumping problems on Solaris.
1675 2004-01-12 Bill Haneman <billh@gnome.org>
1677 * configure.in: Incremented version to 1.3.11.
1679 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1681 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1682 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1685 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1687 * configure.in: Added "fa" to ALL_LINGUAS.
1689 2003-12-20 Arafat Medini <lumina@silverpen.de>
1691 * configure.in: Added "ar" to ALL_LINGUAS
1693 2003-12-16 Bill Haneman <billh@gnome.org>
1695 * registryd/registry-main.c:
1697 Set the reg_env DISPLAY variable before registering the
1698 activated registry service. Fixes bug #129479.
1700 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1702 * configure.in: Added "id" in ALL_LINGUAS
1703 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1705 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1707 * registryd/deviceeventcontroller.c (global_filter_fn):
1708 When an event is consumed discard any XEvents were added to
1709 the queue while dealing with the the event. This can happen if
1710 processing of the event takes a long time. Call XUngrabKeyboard
1711 if an event was discarded. This fixes bug $124837.
1712 Only call wait_for_release_event for a KeyPress.
1713 Use local variable display instead of spi_get_display().
1714 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1717 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1719 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1720 Allow for mask to contain values other than NumLock mask.
1723 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1725 * registryd/devieceventcontroller.c:
1726 (wait_for_release_event): Change first parameter from GdkEvent to
1728 (global_filter_fn); Correct call to wait_for_release_event.
1732 2003-12-08 Bill Haneman <billh@gnome.org>
1736 * registryd/ucs2keysym.c: New file.
1738 * registryd/deviceeventcontroller.c:
1739 (dec_keysym_for_unichar): Remove old partial implementation and
1740 replace with call to ucs2keysym(), which is much more complete.
1741 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1746 2003-12-05 Bill Haneman <billh@gnome.org>
1748 * configure.in: Version 1.3.9.
1750 * docs/reference/cspi/tmpl/spi_registry.sgml:
1751 Added reference to libspi/keymasks.h to the
1752 description of Registry queries: AccessibleKeyMaskType.
1755 2003-12-04 Bill Haneman <billh@gnome.org>
1757 Fix for bug #121974.
1759 * idl/Accessibility_Application.idl:
1760 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1761 setlocale's LC_TYPEs.
1762 (Accessibility::Application::getLocale): New method.
1763 Allows clients to query the locale, by type, of an app.
1766 * cspi/spi_application.c:
1767 (AccessibleApplication_getLocale): New method, wraps IDL above.
1769 * libspi/application.c:
1770 (spi_application_class_init): Init epv entry for getLocale.
1771 (impl_accessibility_application_get_locale): Impl for above.
1773 * test/test-simple.c:
1774 (test_application): Added assertion for getLocale, i.e.
1775 that the string from AccessibleApplication_getLocale (app, type)
1776 is the same as that from setlocale (type, NULL);
1778 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1780 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1781 the keyboard on a timeout intil the key state goes from pressed to
1782 released. Fixes bug #111429.
1784 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1786 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1787 root object so that it is present when a context menu in an
1788 out-of-process applet is popped up.
1789 (spi_atk_bridge_do_registration): Create acceessible application root
1790 object only if it does not exist.
1792 This fixes bug #125834.
1794 2003-12-01 Bill Haneman <billh@gnome.org>
1796 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1799 Added enum for AccessibleStreamableContentSeekType.
1800 (AccessibleStreamableContent_freeContentTypeList): New.
1802 * cspi/spi_streamablecontent.c:
1803 (accessible_bonobo_stream_client_seek): New private method.
1804 (AccessibleStreamableContent_seek): Implemented this method,
1805 using Bonobo_Stream_seek.
1806 (AccessibleStreamableContent_freeContentTypeList): New method
1807 for freeing the return value from
1808 AccessibleStreamableContent_getContentTypes.
1809 (stream_cache_item_free): Replaces stream_release; stop leaks.
1810 (stream_release): removed.
1811 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1812 free the memory properly.
1814 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1816 Fix for bug #116009.
1818 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1820 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1822 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1824 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1826 2003-12-01 Bill Haneman <billh@gnome.org>
1828 Fix for bug/rfe #127463.
1830 * idl/Accessibility_Accessible.idl:
1831 (getLocalizedRoleName): New.
1832 (unimplemented4): Removed (replaced by above).
1834 * libspi/accessible.c:
1835 (impl_accessibility_accessible_get_local_role_name): New.
1836 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1840 (Accessible_getLocalizedRoleName): New.
1842 * cspi/spi_accessible.c:
1843 (Accessible_getLocalizedRoleName): New.
1845 2003-12-01 Bill Haneman <billh@gnome.org>
1847 Fix for bug #118581.
1848 * idl/Accessibility_Text.idl:
1849 (getDefaultAttributes): New.
1850 (unimplemented4): Removed (replaced by above method).
1853 (impl_getDefaultAttributes): New method.
1854 (spi_text_class_init):
1855 initialize the get_default_attributes slot in the epv.
1858 (AccessibleText_getDefaultAttributes): New prototype.
1861 (AccessibleText_getDefaultAttributes): New method.
1863 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1865 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1866 write beyond the end of the table. Fixes bug #120473.
1868 2003-09-30 Christian Rose <menthos@menthos.com>
1870 * configure.in: Added "eu" to ALL_LINGUAS.
1872 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1874 * configure.in: ALL_LINGUAS: Added no.
1876 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1878 * configure.in: Added lt to ALL_LINGUAS.
1880 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1882 * atk-bridge/bridge.c:
1883 (atk_bridge_init): Register event listeners always even for
1884 out-of-process applet.
1885 (spi_atk_bridge_toplevel_added): Remove call to
1886 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1887 (spi_atk_bridge_toplevelk_removed): Remove call to
1888 spi_atk_deregister_event_listenersa as the listeners are now always
1890 (spi_atk_bridge_register_application): Remove call to
1891 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1893 This fixes bug #120991.
1895 * libspi/table.c (impl_getColumnDescription): Correct typo,
1896 pointed out by Bolian.Yin@sun.com.
1898 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1900 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1902 2003-09-08 Bill Haneman <billh@gnome.org>
1904 * configure.in: Revved to 1.3.7.
1906 This is the GNOME 2.4.0 release of at-spi.
1908 * docs/reference/cspi/Makefile.am:
1909 Removed spurious inclusion of 'index.sgml' in the
1910 html directory; this was breaking make distcheck and
1911 also some other build environments.
1913 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1915 * registryd/registry.[ch}:
1916 Add queue_handler_id and focus_object to SpiRegistry data structure.
1917 (registry_flush_event_queue): If event being discarded is
1918 "state-change:focused" store object as focus_object.
1919 (registry_start_queue): Remove queue handler and focus object
1921 (registry_discard_event): New function which discards a focus event
1922 if we had stored focus object in the registry.
1923 (registry_queue_event): Add new check that is_queueing is set as this
1924 function is reentrant.
1925 (registry_filer_event): Add call to registry_discard_event.
1927 This resolves issues raised in bug #108664.
1929 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1931 * configure.in: Added "bn" to ALL_LINGUAS.
1933 2003-09-04 Bill Haneman <billh@gnome.org>
1935 * cspi/spi_event.c: Documentation improvements for
1936 (SPI_registerAccessibleKeylistener).
1938 * docs/reference/tmpl/spi_registry.sgml:
1939 Documentation improvements for SpiAccessibleKeylistenerCB.
1941 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1943 * configure.in: Added "ro" to ALL_LINGUAS.
1946 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1948 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1949 not decremented to zero. Fixes bug #120725.
1951 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1953 * configure.in: Added "ja" to ALL_LINGUAS.
1955 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1957 * configure.in: Added "is" to ALL_LINGUAS.
1959 2003-08-22 Christian Rose <menthos@menthos.com>
1961 * configure.in: Added "nl" to ALL_LINGUAS.
1963 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1965 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1966 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1968 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1970 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1971 type for unspecified exception.
1972 * cspi_streamablecontect): Add include of string.h for memcpy.
1973 (stream_release): Correct call to bonobo_object_release_unref
1974 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1975 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1976 argument of _cspi_expection_throw.
1977 * libspi/hyperlink.c: Add include of libspi/action.h:
1978 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1979 * libspi/streamablecontent.c: add include of libspi/component.h.
1980 * regisrtyd/deviceeventcontroller.c:
1981 (spi_dec_translate_mask): Removed unused variable priv.
1982 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1983 * registryd/registry.c:
1984 (registry_filter_event): Remove unused variable queue_is-empty.
1985 (impl_registry_notify_event): Use correct modifier in fprintf call.
1987 This fixes compiler warnings reported in bug #120220.
1989 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1991 * registryd/registryd.c: Remove this file.
1993 2003-08-17 Sanlig Badral <badral@openmn.org>
1995 * configure.in: Added mn to ALL_LINGUAS.
1997 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1999 * configure.in: Added et to ALL_LINGUAS.
2001 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2003 * test/event-listener-test.c: Change active-descendant to
2004 active-descendant-changed.
2006 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2008 * configure.in: Added "fi" in ALL_LINGUAS.
2010 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2012 * configure.in: Added "hi" in ALL_LINGUAS.
2014 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2016 * configure.in: Revved to 1.3.6.
2020 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2022 * registryd/deviceeventcontroller.c
2023 (spi_device_event_controller_object_finalize): Fix typo in previous
2026 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2028 * registryd/deviceeventcontroller.c
2029 (spi_device_event_controller_object_finalize): Fix build on
2030 systems without XEvIE.
2032 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2034 * acconfig.h, configure.in, registryd/Makefile.am,
2035 registryd/devicecontoller.[ch]: Add XEViE support.
2037 2003-08-06 Wang Jian <lark@linux.net.cn>
2039 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2041 2003-08-06 Metin Amiroff<metin@karegen.com>
2043 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2045 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2047 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2048 MODIFIER_ALT in correct place.
2050 This fixes part of bug #118114.
2052 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2054 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2056 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2058 * configure.in: Added "ko" to ALL_LINGUAS.
2060 2003-07-28 Ole Laursen <olau@hardworking.dk>
2062 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2064 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2066 * configure.in: Added "sq" to ALL_LINGUAS.
2068 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2070 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2072 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2074 * configure.in: updated ALL_LINGUAS list
2076 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2078 * configure.in: Added Belarusian to ALL_LINGUAS.
2080 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2082 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2084 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2085 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2087 This fixes bug #116949.
2089 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2091 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2092 Correct CSPI to SPI in function documentation.
2094 This fixes bug #118054.
2096 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2098 * configure.in: Added Russian to ALL_LINGUAS.
2100 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2102 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2104 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2106 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2108 2003-07-10 Joel Brich <joel.brich@laposte.net>
2110 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2112 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2114 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2116 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2118 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2119 resources allocated for AccessibleEvent. See cspi_event().
2121 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2122 static variable streams to NULL.
2124 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2125 Update so that AcessibleEvent_ref will work.
2127 This fixes bug #116624.
2129 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2131 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2133 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2135 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2137 2003-07-02 Christian Neumair <chris@gnome-de.org>
2139 * configure.in: Added "de" (German) to ALL_LINGUAS.
2141 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2143 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2145 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2147 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2149 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2151 * configure.in: Added "pl" to ALL_LINGUAS.
2153 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2155 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2157 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2160 (get_action_from_servant):
2161 Removed assertion that action is implemented on an AtkObject.
2163 * libspi/hyperlink.c:
2164 (spi_hyperlink_new):
2165 Aggregate AccessibleAction interface on the hyperlink object if
2166 the object implements AtkAction. (This convention is used in
2169 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2171 * configure.in: Revved to 1.3.5.
2173 * registryd/Accessibility_Registry.server.in.in:
2174 Marked up appropriate strings for translation.
2176 * atk-bridge/bridge.c: Marked a couple of
2177 user-visible warnings for translation. Questionable
2178 whether they are really useful, but possibly so.
2181 2003-06-28 Christian Rose <menthos@menthos.com>
2183 * configure.in: Added "sv" to ALL_LINGUAS.
2185 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2187 * registryd/registry.c:
2188 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2189 (registry_defer_on_event): Defer focus: events, this is an
2190 improvement to the patch for bug #108664.
2192 * TODO: Update with 2.4/"Dev Complete" items.
2194 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2196 * atk-bridge/bridge.c:
2197 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2198 looks up signals once.
2199 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2200 if doing registration.
2201 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2202 when doing registration.
2204 This fixes bug #115014.
2206 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2208 * atk-bridge/bridge.c:
2209 (atk_bridge_init): Add signal handler for children-changed:remove on
2210 root when in a BonoboComponent.
2211 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2212 for first toplevel only other incrememt variable toplevels.
2213 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2214 application and remove listeners.
2215 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2217 (spi_atk_deregister_event_listeners): New function which removes
2219 (reinit_register_vars): New fuction which reinitializes variables.
2221 This fixes bug #111578.
2223 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2225 * configure.in: version 1.3.4.
2227 * cspi/spi_accessible.c:
2228 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2231 2003-06-13 Michael Meeks <michael@ximian.com>
2233 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2235 * cspi/spi_main.c (cspi_peek_ev): impl.
2237 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2239 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2241 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2243 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2244 SPI_ROLE_AUTOCOMPLETE
2246 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2248 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2249 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2251 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2253 * libspi/streamablecontent.h:
2254 * libspi/streamablecontent.c:
2255 New files, provide implementation/wrappers for
2256 Accessibility_StreamableContent.
2258 * cspi/spi_streamablecontent.c:
2259 Connected the C wrappers to the libspi C bindings.
2260 (AccessibleStreamableContent_close): New method.
2263 (AccessibleStreamableContent_close): New method, needed
2264 since we have an "open, [seek], read, close" model in cspi.
2266 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2268 Fix for #108664; Padraig's revision of my original patch.
2270 * registryd/registry.h:
2271 Added event queue list, is_queuing, and exit_notify_timeout
2272 to the registry struct.
2274 * registryd/registry.c:
2275 (registry_init): Initialize new struct from registry.h.
2276 (impl_registry_notify_event):
2277 Filter events before notifying, in case some need to be
2279 (registry_filter_event): New,
2280 we defer certain incoming events (for instance
2281 window:deactivate) because we may wish to hide
2282 or reject them based on pending events. This is
2283 mostly a workaround for bug #108664.
2284 (registry_queue_event, registry_start_queue): New.
2285 (registry_defer_on_event): Test event to see if it
2287 (registry_reset_on_event): Returns TRUE if the
2288 event should cause a queue reset.
2289 (registry_discard_on_event): Returns TRUE if the event
2290 should cause the previous queue contents to be discarded.
2291 (registry_timeout_flush_queue): Flushes the pending event
2292 queue if no reset/discard-triggering events have come in
2293 within the timeout period.
2294 (registry_emit_event): New.
2295 (registry_clone_notify_context): New, used when queueing the
2296 event notify contexts.
2298 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2300 * configure.in: Version revved to 1.3.2, lt 0.9.2
2301 Incremented ATK required version to 1.3.4.
2303 * cspi/spi_registry.c:
2304 (SPI_generateKeyEvent):
2305 We now pass the keystring along if it's non-null.
2307 * registryd/deviceeventcontroller.c:
2308 (keysym_mod_mask): New method, returns modifier mask
2309 required to generate a keysym from a given keycode.
2310 (dec_synth_keysym): New method.
2311 (dec_synth_keystring): New method.
2312 (dec_get_modifier_state): New method.
2313 (dec_lock_modifiers): New
2314 (dec_unlock_modifiers): New.
2315 (dec_keysym_for_unichar): New, rather brute-force
2316 conversion from UCS-4 to X KeySyms. Only works for
2317 Latin at the moment, with partial implementations for
2318 Greek, Hebrew, and (incomplete) Katakana.
2319 (impl_generate_keyboard_event): Now implement
2320 "KEYSTRING" synthesis and implement "KEYSYM"
2322 (keycode_from_keysym): Improved, passes a returned
2323 modmask value now if the corresponding param is non-NULL.
2325 Fixes bugs #92143 and #109776.
2328 * test/keysynth-test.c:
2329 New test program for key synthesis, to confirm fixes for
2333 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2335 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2337 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2338 Add line for RELATION_POPUP_FOR
2340 * docs/reference/cspi/tmpl/spi_relation.sgml:
2341 Add relation SPI_RELATION_POPUP_FOR
2343 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2344 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2346 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2348 * libspi/relation.c (spi_init_relation_type_table):
2349 Add line for RELATION_POPUP_FOR
2351 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2353 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2354 there are still windows which have not been deleted and emit
2355 window:deactivate, if necessary and window:destroy events.
2356 This fixes bug #114370. The change on June 5th was not correct.
2358 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2360 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2363 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2365 New methods for client exception handling and interception.
2366 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2367 (SPI_exceptionHandlerPop): You guessed it...
2368 (SPI_getSourceType): Return the type of object which offended.
2369 (SPI_getExceptionCode): Return an enum code telling, possibly,
2370 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2371 (SPIAccessibleException_getSource): get the source object for
2372 exceptions that come from Accessibles, if SPIExceptionSourceType is
2373 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2374 (SPIException_getDescription): New, returns a string description of
2375 the problem. [Not yet a stable ABI, strings are not frozen]
2377 * cspi/spi-private.h:
2378 Added implementation details of opaque SPIException
2382 Implementations of above. Also
2383 (_cspi_exception_throw): new private method that
2384 dispatches exceptions to handlers, called from cspi-bonobo.c
2386 * cspi/bonobo/cspi-bonobo.c:
2387 (cspi_check_ev): call _cspi_exception_throw.
2388 Don't print a warning message if the exception has been
2389 handled by _cspi_exception_throw.
2391 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2393 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2394 there are still windows which have not been deleted and emit
2395 window:deactivate, if necessary and window:destroy events.
2396 This fixes bug #114370.
2398 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2401 (cspi_accessible_is_a): Make non-fatal
2402 if the object reference is dead.
2404 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2406 * cspi/spi_main.c: #include <stdio.h>
2407 * test/simple-at.c: ditto
2408 * test/event-listener-test.c: ditto
2409 * test/screen-review-test.c: ditto
2411 2003-05-30 Michael Meeks <michael@ximian.com>
2413 * test/test-simple.c (main): use CORBA_ORB_perform_work
2414 instead of an unnecessary linc_ call.
2416 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2418 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2419 Add SPI_STATE_INDETERMINATE.
2421 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2424 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2426 * libspi/stateset.c (init_state_type_tables): Add support for
2429 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2431 * configure: Update versions of atk and gail required.
2432 This fixes bug #113268.
2434 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2436 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2438 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2440 * libspi/Makefile.am:
2441 Ensure headers are generated before being used by c sources.
2443 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2446 Simplified lt versioning rules.
2447 Incremented version to 1.3.0, to indicate that we're on the
2448 unstable branch now.
2450 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2452 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2453 Add MKDB_OPTIONS=--outtput-format=xml
2455 * docs/reference/cspi/at-spi-cspi-docs.sgml
2456 docs/reference/idl/at-spi-idl-docs.sgml:
2457 Convert to Docbook XML.
2459 This fixes bug #111793.
2461 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2463 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2464 AcccessibleKeyEventType, AccessibleKeyMaskType.
2466 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2468 * cspi/state-types.h: Add documentation for AccessibleState.
2470 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2471 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2472 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2473 AccessibleComponentLayer.
2475 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2478 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2480 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2481 Accessible. Add description of AccessibleEvent,
2482 AccessibleEventListenerCB.
2484 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2487 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2488 documentation. Add description of AccessibleKeystrokeListenerCB,
2489 AccessibleKeyEventMask, AccessibleModifierMaskType,
2490 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2491 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2493 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2496 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2499 This fixes bug #104730.
2501 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2503 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2504 Set is_text field of Accessibility_DeviceEvent data structure.
2506 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2507 is-text field of AccessibleDeviceEvent data structure.
2509 This addresses part of bug #108666.
2511 * registryd/devcieeventcontroller.c: Unset debug option.
2513 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2515 * cspi/accessible.c:
2516 (cpi_initial_relation_type_table): New function which initializes
2517 mapping between Accessibility_RelationType and AccessibleRelationType.
2518 (cspi_relation_type_from_spi_relation_type): New function which
2519 translates an Accessibility_RelationType into an AccessibleRelationType.
2520 (AccessibleRelation_getRelationType): Use
2521 cpi_relation_type_get_spi_relation_type to return correct value.
2522 (spi_state_to_corba): Return correct type for default case.
2524 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2525 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2527 * cspi/cspi-bonobo-listener.c:
2528 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2531 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2532 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2533 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2534 libspi/image.c, libspi/listener.c, libspi/selection.c,
2535 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2536 registryd/desktop.c, registryd/registry.c:
2537 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2539 * libspi/eventlistener.c
2540 Remove semicolon after BONOBO_TYPE_FUNC.
2542 * libspi/relation.c:
2543 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2544 (spi_init_relation_type_table): Initialize using correct type.
2546 * registryd/desktop.c:
2547 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2548 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2549 of Accessibility_KeyEventType.
2551 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2554 * tests/simple-at.c, tests/screen-review-test.c:
2555 Add include for <strings.h>.
2557 * tests.stress-test.c:
2558 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2560 These changes fix compiler warnings when using FORTE compiler on
2561 Solaris; fixes bug #107479.
2564 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2567 * configure.in: revved to 1.1.10
2569 * libspi/keymasks.h:
2570 (SPI_KEYMASK_NUMLOCK): Added.
2572 * registryd/deviceeventcontroller.c:
2573 (spi_key_event_matches_listener): AND with a smaller
2574 bitmask (as we should).
2575 (spi_dec_translate_mask):
2576 New method, sets the virtual NumLock modifier bit
2577 if numlock is on. Eventually it can handle other virtual
2578 modifier bits if needed, or other marshalling from
2579 at-spi modifier masks to platform (X) masks.
2580 (spi_dec_key_listener_new):
2581 Call spi_dec_translate_mask to set up virtual mod bits
2582 in the 'mask' field when creating a new listener struct.
2583 (spi_dec_emit_modifier_event):
2584 Set the virtual (i.e. NumLock) bits before emitting event.
2585 (spi_controller_register_with_devices):
2586 Query for the NumLock modifier 'physical' bit if Xkb is
2587 present, for use in above methods.
2591 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2593 * registryd/deviceeventcontroller.c:
2594 (spi_keystroke_from_x_key_event):
2595 Instead of checking to see if the keysym is
2596 printable, check the string from XLookupString
2597 if available, get the first unicode character from it,
2598 and call g_unichar_isprint to determine whether the
2599 is_text flag should be TRUE or FALSE.
2603 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2605 * atk-bridge/bridge.c: Add support for extended events
2606 * cspi/spi_event.c: Add documentation and implementation for
2608 * tests/event-listener-test.c: Add tests for extended events.
2610 This fixes bugs #100424 and #100426.
2612 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2614 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2615 of LT_CURRENT. This fixes bug #89350.
2617 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2619 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2620 number of signal parameter values before accessing them. This fixes
2623 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2625 * configure.in: Fixed duplicate inclusion of -lspi.
2626 * branched for gnome-2-2/HEAD.
2627 [created tag "gnome-2-2"]
2629 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2631 * configure.in: 1.1.9 release.
2634 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2636 [needed by GOK, to fix bugs 107985 and 107988]
2637 * registryd/deviceeventcontroller.c:
2638 (spi_dec_clear_unlatch_pending):
2639 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2640 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2641 (spi_dec_init_mouse_listener):Emit warning if mouse button
2643 (spi_device_event_controller_forward_mouse_event):
2644 Removed unnecessary parens from a conditional.
2645 (global_filter_fn):Added TODO comment.
2646 (impl_generate_keyboard_event):
2647 Cancel a pending relatch if a 'delatching' key was
2650 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2652 * atk-bridge/bridge.c:
2653 Change atk_signal_child_changed to atk_signal_children_changed.
2654 Reorganize code in spi_atk_bridge_signal_listener().
2656 * test/event-listener-test.c:
2657 Add children_changed_listener and report_children_changed_event()
2658 to test AccessibleChildEvent_getChildAccessible.
2660 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2662 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2663 g_strdup to CORBA_String_dup (bug #105291)
2665 * test/event-listener-test.c (report_text_event): Add call to
2668 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2670 * registryd/deviceeventcontroller.c:
2671 (spi_keystroke_from_x_key_event):
2672 Fix string and keysym return codes to match modifier state.
2675 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2677 * registryd/deviceeventcontroller.c:
2678 (spi_keystroke_from_x_key_event):
2679 Fix segv due to improper use of isprint(c). [bug #107254]
2681 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2684 (get_accessible_text_boundary_type):
2685 Move default return value to (new) default case in switch.
2686 (get_accessible_text_clip_type):
2687 Move default return value to (new) default case in switch.
2689 * libspi/application.c:
2690 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2691 Remove unused methods.
2692 (impl_accessibility_application_register_object_event_listener):
2693 Remove unused methods.
2696 Added #include of <math.h>.
2698 * registryd/deviceeventcontroller.c:
2699 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2700 we don't currently use this method.
2701 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2703 (impl_generate_key_event):
2704 Remove unused variables.
2705 (impl_generate_mouse_event):
2706 Initialize button to zero, just in case we get an invalid
2707 input. Added support for mouse buttons 4 and 5.
2708 (spi_device_event_controller_new):
2709 Removed unused variable declaration for 'private'.
2711 Added #include of <gdk/gdk.h>
2713 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2715 * configure.in: Update to work when X is not installed in expected
2716 location. Fixes bug #105836.
2718 * atk-bridge/bridge.c
2719 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2721 (spi_atk_register_event_listener): Add signal listener for
2723 (spi_atk_bridge_signal_listener): Event event when link-selected
2724 signal is emitted. (bug #104622)
2726 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2727 on returned string. (bug #105291)
2729 * test/event-listener-test.c: Add test for link-selected.
2731 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2733 * atk-bridge/Makefile.am: Correct typo in previous commit.
2735 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2737 * atk-bridge/Makefile.am: Allow for build directory to be different
2738 from source directory
2740 * registryd/Makefile.am: Allow for build directory to be different
2741 from source directory
2745 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2748 Fixed dependencies for libcspi so that libspi gets pulled in
2749 properly. Fixes 104741.
2753 Clean up inline docs a little.
2755 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2757 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2758 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2759 the AtkObject within an SpiDesktop.
2760 This addresses bug #101524.
2762 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2763 Remove call to gdk_init().
2765 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2766 so that Display is set when SpiDesktop is created.
2768 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2770 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2771 This fixes bug #102830.
2773 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2775 * test/test-simple.c: Update to take account of fact that GailButton
2776 now implements AtkText.
2777 (create_text_window): Set name on AtkObject for GtkEntry.
2778 (validate_accessible): Check accessible name before calling test_text().
2780 * libspi/Makefile.am: Fix problem with building outside of source
2781 directory. Bug #98120.
2783 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2784 typo in documentation comments. Bug #94275.
2786 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2788 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2790 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2793 Add includes to avoid compiler warnings on Solaris.
2794 (impl_getRangeExtents): Bug fix.
2796 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2798 Fix for 100944, [API addition approved by Gman and murrayc].
2805 * idl/Accessibility_Text.idl:
2806 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2807 (Text::getRangeExtents): New method for efficient
2808 bounds query of a text range.
2809 (Text::getBoundedRanges): New method for efficient
2810 clipping of text to bounding boxes.
2811 (unImplemented7, unImplemented8):
2812 Removed these padding methods to preserve bincompat.
2815 (impl_getRangeExtents): implementation of new IDL.
2816 (impl_getBoundedRanges): implementation of new IDL.
2817 (SpiTextRect): Internal use struct.
2818 (_spi_text_rect_union): internal method, calculates union of two
2819 SpiTextRect bounding rects.
2820 (_spi_text_range_seq_from_gslist): internal method, allows us
2821 to build our sequence efficiently as a gslist then convert it
2823 (_spi_bounds_contain): internal method, determines whether
2824 a text character is "in" or "out" of a clip rect according to
2825 values of TEXT_CLIP_TYPE.
2826 (spi_text_class_init): Initialize the new methods in the epv.
2829 (AccessibleTextClipType): New enum used by screen review api.
2830 (AccessibleTextRange): New struct used by screen review api.
2831 (AccessibleText_getRangeExtents):
2832 cspi binding for Accessibility_Text_getRangeExtents.
2833 (AccessibleText_getBoundedRanges):
2834 cspi binding for Accessibility_Text_getBoundedRanges.
2835 (AccessibleTextRange_freeRanges): convenience method.
2838 (AccessibleText_getRangeExtents):
2839 cspi binding for Accessibility_Text_getRangeExtents.
2840 (AccessibleText_getBoundedRanges):
2841 cspi binding for Accessibility_Text_getBoundedRanges.
2842 (AccessibleTextRange_freeRanges): convenience method.
2843 (get_accessible_text_clip_type): internal conversion method.
2844 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2846 * registryd/deviceeventcontroller.c:
2847 (spi_dec_mouse_check):
2848 Improved behavior for mouse:abs events
2849 [same granularity as mouse:rel events, and no
2850 events when mouse is idle].
2852 2002-12-16 Michael Meeks <michael@ximian.com>
2854 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2856 * libspi/stateset.c (state_spi_to_atk): split out
2857 ( fix several remote array bounds nasties )
2858 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2859 (impl_remove): make safe from array bounds issues.
2860 (spi_atk_state_from_spi_state): impl.
2862 * libspi/stateset.h (spi_state_set_cache_is_empty):
2863 add a set of wrapper defines to get layering right.
2865 * cspi/spi_accessible.c: update state set stuff to
2868 2002-12-14 Michael Meeks <michael@ximian.com>
2870 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2871 to avoid 2 roundtrips to the registry per key event
2872 (spi_atk_bridge_key_listener): upd.
2873 (deregister_application): release the dec.
2875 * registryd/registry.c (notify_listeners_cb):
2876 bin lots of re-enterant complexity - we no longer
2877 do a round-trip bonobo ref here, ensure that a single
2878 listener's exception failure won't poison all other
2880 (impl_registry_notify_event): bin obvious memory leak.
2882 2002-12-13 Michael Meeks <michael@ximian.com>
2884 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2885 init the ev so the error is meaningful.
2886 (spi_atk_bridge_key_listener): ditto.
2888 * cspi/spi_main.c (cspi_ev): init the ev so we start
2889 with a clean slate, otherwise the first exception
2890 kills us completely.
2892 * cspi/spi_text.c (get_accessible_text_boundary_type):
2893 add a fallthrough for no warnings.
2895 * cspi/spi_registry.c: prune unused warnings.
2897 * cspi/spi_main.c (cspi_object_take): fix
2898 mind-blowing brokenness ( by watching the compile
2901 * cspi/spi_accessible.c (Accessible_getStateSet):
2902 re-impl. to use an AtkStateSet.
2903 (spi_state_type_from_accessible_state),
2904 (init_state_table): bin these.
2906 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2908 (atk_state_set_from_accessibility_state_set): here.
2910 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2911 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2912 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2913 (AccessibleStateSet_add, AccessibleStateSet_remove),
2914 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2915 (AccessibleStateSet_isEmpty): re-write to use a local
2918 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2920 * configure.in: Revved to 1.1.7 (new keymask vals).
2922 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2924 * libspi/keymasks.h:
2925 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2927 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2930 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2931 to compare two CORBA_TypeCodes.
2932 (cspi_internal_event_add): Silence warning from FORTE compiler.
2934 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2935 avoid implicit declaration of functions.
2937 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2939 * atk-bridge/bridge.c:
2940 (spi_atk_bridge_init_event_type_consts): Store signal id for
2941 active-descendant-changed signal.
2942 (spi_atk_register_event_listeners): Add signal listener for
2943 active-descendant-changed signal,
2944 (spi_atk_bridge_signal_listener): Move code in function
2945 spi_atk-signal_emit_event() into this function.
2946 Add support for active-descendant-changed
2947 Update support for child-changed signal.
2948 (spi_bridge_window_event_listener): Silence warning.
2950 * libspi/spi_private.[ch]:
2951 (spi_init_any_object): Change second parameter from CORBA_Object to
2953 Omit call to CORBA_Object_duplicate().
2954 Set CORBA_any's _value to CORBA_Object*.
2956 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2962 (AccessibleEvent_ref, AccessibleEvent_unref):
2963 New methods, for persisting an event outside the emission context.
2964 Must be used if the new accessor methods are to be called
2965 outside of the event listener's callback.
2967 * cspi/bonobo/cspi-bonobo.c:
2968 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2969 as second parameter instead of NULL, so we can call
2970 cspi_check_ev afterwards.
2973 (cspi_object_take): New internal method,
2974 converts a CORBA_Object reference to a hard ref on
2975 an Accessible if possible, returning NULL if the object
2976 reference is invalid or an Accessible * otherwise.
2979 (AccessibleEvent_ref):
2980 Increment the event's internal private refcount, and
2981 add the event's internal struct to an internal cache
2982 if it's not already there.
2983 (AccessibleEvent_unref):
2984 Decrement the event's refcount and remove it from
2985 the cspi event cache if refcount==0.
2986 (cspi_event_compare): New private method.
2987 Compares two event structs via their ids. Used
2989 (cspi_internal_event_lookup): New private method.
2990 (cspi_internal_event_check): New private method,
2991 a 0-order sanity check for events to make sure their
2992 private data is intact.
2993 (cspi_internal_event_add, cspi_internal_event_remove):
2994 New private methods for managiing the event cache.
2996 * cspi/bonobo/cspi-bonobo-listener.c:
2998 Initialize the new private data elements (id, magic, ref_count).
3000 * atk-bridge/bridge.c:
3001 (spi_atk_bridge_signal_listener):
3002 Fixed bug #100530, passing wrong params to emission func.
3004 * registryd/deviceeventcontroller.c:
3005 (spi_dec_button_update_and_emit):
3006 Fixed type in mask bit operations; fix for #99799.
3008 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3010 Removed some of the more dangerous workarounds from
3011 previous commit; they are only needed by GOK, which
3012 in reality should be using another method to accomplish
3013 the goals. So on reconsideration some of the workarounds
3014 need to be reverted:
3016 * registryd/deviceeventcontroller.c:
3017 (spi_keycodes_contain, spi_dec_init_keycode_list):
3018 Removed these methods, used only by a nasty hack to try
3019 and detect whether a key synthesis should be allowed
3020 to reset the XKB latch state or not. This code was only
3021 required to work around an interaction between GOK,
3022 button events, and XKB.
3023 (impl_generate_key_event):
3024 Removed hack at end of key generation that tried to
3025 "do the right thing" if XKB latch keys were generated
3026 in the midst of button press/release pairs.
3029 Added a check for HAVE_XINPUT. Not normally used yet.
3031 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3033 Workarounds and fixes for mouse event/XKB interaction.
3035 * registryd/deviceeventcontroller.c:
3036 (spi_keycodes_contain, spi_dec_init_keycode_list):
3037 New internal methods.
3038 (spi_dec_set_unlatch_pending):
3039 Split the method that tells XKB to expect an
3040 unlatch (and revert it) out of the rest of the
3041 event handling code. This method is called by the
3042 two mouse event handlers (the poll and the filter).
3043 (spi_dec_update_and_emit, spi_dec_mouse_check):
3044 New methods split from spi_dec_poll_mouse_moved.
3045 The second one is now called from inside the filterFn
3046 when an XKB delatch event is received, to determine
3047 whether to revert the delatch or not.
3048 (spi_poll_mouse_moved): Refactor; also we can now
3049 properly handle the case where multiple button states
3050 have changed between polling cycles and we didn't get
3051 notified due to another client's grab.
3053 Synchronize the server while handling an XKB notification.
3054 Ugly, but apparently necessary to avoid nasty races.
3055 Check the mouse state on receipt of an XKB latch change,
3056 to decide whether to revert the latch or not. (Latches are
3057 reverted if there is an immediately preceding mouse button
3058 event that a client has consumed, in which case we don't want
3059 the user to see the side-effect of the event).
3060 (spi_device_event_controller_forward_mouse_event):
3061 Check for modifier events and fire before resetting mouse_mask_state,
3062 prevents losing modifier events.
3064 (impl_generate_keyboard_event):
3065 If we've just generated a keyboard event for a non-shift key,
3066 we don't want to revert the pending XKB latch.
3067 Otherwise, check the modifier state (via a call to
3068 spi_dev_mouse_check) and set the relatch mask to
3069 that state before returning.
3071 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3074 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3077 * atk-bridge/bridge.c:
3078 (spi_atk_register_event_listeners):
3079 Don't re-register for ATK events if the registry has died
3080 and the app needs to re-register; the ATK listeners are in
3081 process and doing so will cause duplicate emission.
3083 * registryd/deviceeventcontroller.c:
3084 (spi_poll_mouse_moved):
3085 Reformat the source, detect and emit multiple button-change
3086 events (i.e. if multiple buttons have changed between poll
3088 Add code to detect mouse-down events even when the pointer
3089 is grabbed; workaround for GOK bug 98420.
3090 (spi_controller_register_with_devices):
3091 Call XTestGrabControl with 'impervious' flag set to True,
3092 allows us to synthesize events and query the pointer even during
3093 an active grab by another client.
3094 (spi_device_event_controller_forward_mouse_event):
3095 Set the mouse_mask_state to the mouse_button_state from
3096 the intercepted event, to synchronize the grab listener with
3099 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3101 * cspi/spi_accessible.c:
3102 (AccessibleRole_getName):
3103 Added necessary strings for making this (deprecated)
3104 method work with the new role types.
3105 (init_role_table, role_table):
3106 Added definition of SPI_ROLE_APPLICATION.
3108 * libspi/spi-roletypes.h:
3109 Added SPI_ROLE_APPLICATION.
3111 * idl/Accessibility_Role.idl:
3112 Added ROLE_APPLICATION.
3114 * docs/reference/cspi/at-spi-cspi-decl.txt:
3115 Added SPI_ROLE_APPLICATION to docs.
3117 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3119 * cspi/spi_accessible.c
3120 (cspi_init_role_table): Do not write beyond end of role_table.
3121 (Accessible_getRole): Use correct type for value returned by
3122 Accessibility_Accessible_getRole().
3124 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3125 beyond end of role_table. (This fixes bug #98269)
3127 * libspi/application.c: Add include file spi-private.h for
3128 definition of spi_init_any_nil.
3130 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3134 * libspi/spi-private.h:
3135 Added DGB() macro, and extern int _dbg declaration.
3137 * registryd/registry.c:
3138 (definitions) storage for _dbg.
3139 (spi_registry_init):
3140 Get environment variable "AT_SPI_DEBUG".
3141 (spi_registry_set_debug):
3142 New method, to initialize _dbg value.
3143 (spi_listener_struct_new, spi_registry_object_finalize):
3144 (notify_listeners_cb):
3145 Changed fprintfs to use DBG and g_warning().
3147 * registryd/deviceeventcontroller.c:
3148 (_deregister_keygrab, spi_controller_register_device_listener):
3149 Changed debug/warning messages to use DBG macro.
3151 * libspi/listener.c:
3152 (impl_notify_event):
3153 Changed warning messages to use DBG macro and g_warning().
3155 * atk-bridge/bridge.c:
3156 (atk_bridge_init, spi_atk_bridge_get_registry):
3157 (spi_atk_bridge_exit_func):
3158 (spi_atk_bridge_property_event_listener):
3159 Changed status, warning, and error messages to use
3160 g_warning, g_message, and DBG macros.
3163 Read the state of the AT_SPI_DEBUG environment variable
3164 and set a local '_dbg' accordingly.
3166 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3168 FIXES for 98836, 98842, other bugs.
3171 Revved to 1.1.4, interface-age=4, binary-age=4.
3173 * registryd/deviceeventcontroller.c:
3175 Fixed crasher bug in last_mouse_pos initialization.
3177 * registryd/registry.c:
3178 (desktop_add_application, desktop_remove_application):
3179 Added (and then commented out) some support for
3180 object context marshalling. [TODO]
3182 * atk-bridge/bridge.c:
3183 (spi_atk_bridge_event_context_create):
3184 Commented out object context creation until it can
3185 be properly tested and debugged.
3187 * registryd/registry.c:
3188 (impl_registry_notify_event):
3189 Fixed crasher bug, we were calling
3190 spi_re_entrant_list_foreach () with an empty list.
3192 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3194 * idl/Accessibility_Action.idl:
3195 * idl/Accessibility_Component.idl:
3196 * idl/Accessibility_Desktop.idl:
3197 * idl/Accessibility_Event.idl:
3198 * idl/Accessibility_Hyperlink.idl:
3199 * idl/Accessibility_Image.idl:
3200 * idl/Accessibility_Relation.idl:
3201 * idl/Accessibility_Selection.idl:
3202 * idl/Accessibility_State.idl:
3203 * idl/Accessibility_Value.idl:
3204 Updated unimplemented slot count to minimum of
3205 four for all interfaces, for ABI freeze.
3207 * idl/Accessibility_EditableText.idl:
3208 * idl/Accessibility_Text.idl:
3209 Updated unimplemented slot count to six
3212 * idl/Accessibility_Registry.idl:
3213 Updated unimplemented slot count to six
3214 (also for DeviceEventController),
3217 * idl/Accessibility_Table.idl:
3218 Updated unimplemented slot count to eight,
3221 * idl/Accessibility_Event.idl:
3222 Added CORBA_any "any_data" member to Event struct.
3224 * idl/Accessibility_Event.idl:
3225 Added CORBA_any "any_data" member to Event struct.
3227 * atk-bridge/bridge.c:
3229 atk_signal_text_changed, atk_signal_child_changed,
3230 signal ids queried from gtype system.
3231 (AtkBridgeEventContextType): New enum.
3232 (AtkBridgeEventContextData): New struct.
3233 (AtkBridgeEventContext): New struct.
3234 (atk_bridge_init_event_type_consts):
3235 New method, initializes type contants for comparison
3236 prior to emit_eventv.
3237 (atk_bridge_event_context_init): New method,
3238 initializes a CORBA_any from an AtkBridgeEventContext.
3239 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3240 initialize the event.any_data struct.
3241 (spi_atk_bridge_event_context_create): New method,
3242 creates an AtkBridgeEventContext from signal/event info.
3243 (spi_atk_bridge_event_context_free): New method.
3244 (spi_atk_emit_eventv): Changed to take an
3245 AtkBridgeEventContext parameter. We now initialize
3246 the event.any_data member prior to notifying the
3247 Registry, via the AtkBridgeEventContext.
3248 (spi_atk_bridge_property_event_listener):
3249 (spi_atk_bridge_state_event_listener):
3250 Match emit_eventv signature.
3251 (spi_atk_bridge_object_event_listener):
3252 Match emit_eventv signature, and create an
3253 event context from the event details.
3254 Free the event context afterwards.
3255 (spi_atk_bridge_window_event_listener):
3256 Create an event context, pass it to the
3260 (AccessibleEvent_getContextString):
3261 (AccessibleEvent_getContextObject):
3262 New methods, allow query of AccessibleEvent objects
3263 for more context details (via the "any_data" member
3264 of the Event struct, above).
3267 Definitions for AccessibleEvent_getContextString
3268 and AccessibleEvent_getContextObject.
3270 * cspi/spi_listener.h:
3271 (InternalEvent): New struct.
3274 (AccessibleEvent_getContextString):
3275 (AccessibleEvent_getContextObject):
3276 Implementations of new methods, for obtaining
3277 additional context information from some event types.
3279 * cspi/spi_registry.c:
3280 (SPI_registerGlobalEventListener):
3281 Added mention of active-descendant-changed event in docs.
3283 * cspi/cspi-bonobo-listener.c:
3285 Marshal the any into the AccessibleEvent via
3288 * libspi/spi-private.h:
3289 #include <orbit/orbit.h>
3291 (spi_init_any_string):
3292 (spi_init_any_object):
3293 New convenience function declarations.
3297 (spi_init_any_string):
3298 (spi_init_any_object):
3299 New convenience function implementations.
3301 * registryd/deviceeventcontroller.c:
3302 (spi_poll_dec_mouse_moved):
3303 (spi_device_event_controller_forward_mous_event):
3304 Initialize any_data member of event.
3305 (spi_deregister_controller_device_listener):
3306 Fix incorrect param pass which was preventing deregistration.
3308 * registryd/registry.c:
3309 (desktop_add_application):
3310 (desktop_remove_application):
3311 Add object data to event's any_data before dispatch.
3313 Fix for error messages from GAIL.
3315 * test/event-listener-test.c:
3316 Test new ContextString and "any_data" API:
3317 (report_text_event): New method query and output context string.
3318 (main): register a new text listener with report_text_event
3321 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3323 Fixes for bugs 98127 and 97914.
3324 * cspi/spi-roletypes.h:
3325 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3327 * cspi/spi-statetypes.h:
3328 Added SPI_STATE_MANAGES_DESCENDANTS
3330 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3331 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3332 * cspi/spi_accessible.c:
3333 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3334 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3335 Accessibility_STATE_MANAGES_DESCENDANTS
3336 * libspi/accessible.c:
3337 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3338 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3339 As requested by Bill, I also cleaned up the alignment.
3340 * libspi/relation.c:
3341 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3342 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3343 * libspi/stateset.c:
3344 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3345 Accessibility_STATE_MANAGES_DESCENDANTS
3346 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3347 Document changes reflecting modifications to roles.
3348 * docs/reference/cspi/tmpl/spi_relation.sgml:
3349 Document changes reflecting modifications to relations.
3350 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3351 Document changes reflecting modifications to states.
3353 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3356 Revved to 1.1.3, interface-age=3, binary-age=3.
3357 Added REBUILD macro.
3360 Removed accessx-gui from the tests, since we have a nice
3361 keyboard accessibility capplet now :-)
3363 * test/keysynth-demo.c:
3364 (increment_scan): removed do-nothing default: case,
3367 * test/visual-bell.c:
3368 (main) : removed do-nothing default: case,
3371 * cspi/spi_action.c:
3372 (AccessibleAction_getKeyBinding_):
3373 Documented keybinding string format.
3377 (AccessibleText_getAttributes):
3378 Documented the text attribute string format.
3379 It's changed to use semicolon delimiters also,
3380 to prevent clashes with CSS attributes, but the old
3381 trick of looking for ", " strings will still work
3382 (as unreliably as ever). Fix for bug related to 97916.
3385 Include <cspi/bonobo/cspi-bonobo-listener.h>
3386 Fixes build warning.
3387 (SPI_freeAccessibleKeySet):
3388 (AccessibleKeystrokeListener_addCallback):
3389 (AccessibleKeystrokeListener_removeCallback):
3390 Modify to use AccessibleDeviceListener API internally,
3391 instead of AccessibleKeystrokeListener.
3393 * idl/Accessibility_Event.idl:
3394 Added two more empty slots to EventListener (for a total of four).
3396 * idl/Accessibility_Accessible.idl:
3397 Added four empty slots to Accessible interface.
3399 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3401 * idl/Accessibility_Registry.idl:
3402 (KeyEventType, EventType):
3403 Marked KeyEventType as deprecated; it duplicates
3404 functionality of EventType, which has been extended to
3405 include Mouse-button events.
3406 (KeyEventTypeSeq): defined in terms of EventType.
3407 (registerDeviceEventListener, deregisterDeviceEventListener):
3408 New methods, for managing listeners to device events,
3409 which potentially may consume them.
3412 Added definition for AccessibleDeviceListener.
3414 * cspi/spi-listener.h:
3415 (enum AccessibleDeviceEventType):
3416 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3417 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3418 for backwards compat.
3419 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3420 and typedef'd AccessibleKeystroke to it for back-compat.
3421 (AccessibleDeviceListenerCB):
3422 New function prototype typedef.
3425 (AccessibleDeviceEventMask): New typedef.
3426 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3427 (AccessibleKeyMaskType):
3428 Set equivalent to AccessibleModifierMaskType for back-compat.
3429 (SPI_createAccessibleKeystrokeListener):
3430 (AccessibleKeystrokeListener_unref):
3431 Deprecated in favor of equivalent (better-named) new API below..
3432 keystroke listeners are like all device listeners.
3433 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3434 New API names for old features :-).
3435 (AccessibleDeviceListener_addCallback):
3436 (AccessibleDeviceListener_removeCallback):
3437 (SPI_registerDeviceEventListener):
3438 (SPI_deregisterDeviceEventListener):
3442 (SPI_createAccessibleKeystrokeListener):
3443 Use new preferred API, cspi_device_listener_new() and
3444 cspi_device_listener_add_cb().
3445 (AccessibleKeystrokeListener_removeCallback):
3446 Use new preferred API, cspi_device_listener_remove_cb().
3447 (AccessibleKeystrokeListener_unref):
3448 Use new preferred API, cspi_device_listener_unref().
3449 (SPI_createAccessibleDeviceListener):
3450 (AccessibleDeviceListener_addCallback):
3451 (AccessibleDeviceListener_removeCallback):
3452 Implementation of new API.
3454 * cspi/spi_registry.c:
3455 (SPI_registerDeviceEventListener):
3456 (SPI_deregisterDeviceEventListener):
3457 Implementation of new API. Fixed memory leak and removed need to
3458 allocate EventTypeSeq (thanks Michael for catching this).
3459 Squashed a wayward CORBA_exception_free that shouldn't get called.
3461 * cspi/bonobo/cspi-bonobo-listener.c:
3463 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3464 (cspi_key_event): renamed to cspi_device_event().
3465 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3466 Extended to handle mouse button events as well as key events.
3467 (CSpiKeystrokeListener):
3468 Class superceded by CSpiDeviceListener.
3469 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3470 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3472 * cspi/bonobo/cspi-bonobo-listener.h:
3473 (CSpiKeystrokeListener):
3474 Class superceded by CSpiDeviceListener.
3475 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3476 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3478 * libspi/Makefile.am:
3479 Replaced keystrokelistener.h and keystrokelistener.c
3480 with devicelistener.h and devicelistener.c; keystrokelisener.h
3481 stub retained for back-compat.
3483 * libspi/keystrokelistener.c:
3487 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3489 * registryd/deviceeventcontroller.c:
3490 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3491 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3492 (DEControllerPrivateData): Added xkb settings data.
3493 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3494 button release events (which can't be captured via XGrabButton).
3495 Don't dispatch via the 'normal' event mechanism if the device event was
3497 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3498 Handle the typeseq data in its new location (see above).
3499 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3500 New methods, for "generic" device listeners.
3501 (spi_controller_register_device_listener):
3502 Now handle mouse event listeners as well as key listeners.
3503 (spi_controller_notify_mouselisteners):
3504 New internal method.
3505 (spi_device_event_controller_forward_mouse_event):
3506 Now we notify mouse device listeners as well as generating the
3507 non-consumable "mouse:" events.
3509 We must check and restore the XKB
3510 modifier map if we consume the event, since the act of triggering
3511 a mouse event will normally reset the XKB latch. This is required for
3513 (spi_controller_register_with_devices):
3514 Load the XKB settings when registering, and register for XKB
3515 state notify events.
3516 (spi_key_eventtype_seq_contains_event):
3517 Renamed spi_eventtype_seq_contains_event, since it's used
3518 internally for all device event types now.
3519 (spi_key_event_matches_listener):
3520 Uses spi_eventtype_seq_contains_event now.
3521 (spi_device_event_controller_object_finalize):
3522 Free the private data and the XkbKeyboard struct.
3523 (impl_register_device_listener, impl_deregister_device_listener):
3524 Implementation of new IDL.
3525 (spi_deregister_controller_device_listener):
3526 New internal method.
3527 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3528 More efficient implementation, we don't have to create a new
3529 XkbControls structure every time we query.
3530 (spi_device_event_controller_class_init):
3531 Initialize the epv entries for the new IDL. Assign the
3532 "spi-dec-private" quark.
3533 (spi_device_event_controller_init):
3534 Initialize the private data.
3535 (spi_device_event_controller_forward_key_event):
3536 Removed a bogus CORBA_exception_free() call.
3538 * registryd/deviceeventcontroller.h:
3539 Replaced inclusion of keystrokelistener.h with
3542 * test/event-listener-test.c:
3543 (report_mouse_event):
3546 Added mouse-event device listener.
3548 * test/test-simple.c:
3549 (create_test_window):
3550 Fixed regression (we were instantiating a GtkRange,
3551 which is now an abstract class). Also fixed to match
3552 existing AtkRole names, this seems to have changed in ATK
3553 awhile ago; too late now I think, and the new
3554 mechanism is at least elegant and consistent with the
3555 glib enum "nick" APIs.
3557 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3559 * idl/Accessibility_Relation.idl:
3560 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3561 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3562 * idl/Accessibility_Role.idl:
3563 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3564 * idl/Accessibility_State.idl:
3565 add STATE_MANAGES_DESCENDANTS
3566 * test/event-listener-test.c:
3567 Added a listener for active-descendant events.
3569 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3571 * atk-bridge/bridge.c
3572 (atk_bridge_init): If application is Bonobo component wait until top
3573 level is added before registering
3574 (spi_atk_bridge_do_registration): New function which contains code,
3575 formerly in atk_bridge_init, to do application registration.
3576 (spi_atk_bridge_toplevel_added): Signal called when top level
3577 added to Bonobo component
3579 This fixes bug #83134.
3581 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3583 * registryd/deviceeventcontroller.c
3584 Fixed compilation error caused by calling gettimeofday()
3587 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3592 Added template for HAVE_XKB.
3595 Changes to check for XKB, and to set the HAVE_XKB #define if it
3598 * libspi/listener.c:
3599 ()impl_notify_event): Make failure to get event source name
3602 * registryd/deviceeventcontroller.c:
3603 (#include): include X11/XKBlib.h.
3604 (DEControllerPrivateData) : New struct.
3605 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3607 (dec_synth_keycode_press) (dec_synth_keycode_release):
3608 New methods; split the key synthesis code into these methods.
3609 They check XKB settings before determining the "time" values to
3610 pass to Xtest; this fixes bug #95828.
3611 (impl_generate_keyboard_event): Changed to use methods above,
3612 instead of callng Xtest directly.
3613 (spi_device_event_controller_init): Initialize new privae struct s
3615 (spi_device_event_controllr_object_finalize):
3616 Free the (new) private data.
3618 * registryd/deviceeventcontroller.h:
3619 Add new gpointer to end of struct data.
3621 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3624 Incremented revision to 1.1.2, SONAME is still '.so', library
3625 extensions are ".so.0.0.2".
3627 * registryd/deviceeventcontroller.c:
3628 FIXES FOR #93592 and #95940.
3629 (statics): renamed mouse_button_state to mouse_mask_state,
3630 added key_modifier_mask.
3631 (spi_dec_poll_mouse_moved):
3632 Added key modifier checks, and emit "keyboard:modifiers"
3633 events when the key modifiers currently in use change.
3634 Also generate "mouse:abs" events periodically, even if the mouse
3635 is stationary (should we?).
3636 Alternatively we could generate "mouse:abs" events for either all
3637 mouse movements, or every 'nth' mouse movement, or at the
3638 beginning and end of every "active" mouse period.
3640 * test/event-listener-test.c:
3641 (main): Added listener for "keyboard:modifiers" events.
3643 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3645 * libspi/keymasks.h:
3646 Added key mask #defines for mouse buttons; e.g.
3647 SPI_KEYMASK_BUTTON1, etc.
3650 Incremented dependency on ATK to version 1.1.0. (This dependency
3651 is probably premature but will soon be real enough).
3653 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3655 * libspi/hyperlink.[ch]
3656 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3657 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3660 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3665 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3667 * registryd/deviceeventcontroller.c
3668 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3669 events to be ignored.
3670 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3671 keyboard_mode so that XAllowEvents() can be called.
3675 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3677 * cspi/spi-accessible.c: Correct names of roles returned by
3678 AccessibleRole_getName(). Fixes bug #95055.
3680 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3682 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3685 * registryd/registry.c
3686 (desktop_remove_application: Write diagnostic message to stderr for
3689 (impl_accessibility_registry_deregister_global_event_listener):
3690 Correct size of lists array. This addresses bug #94555).
3692 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3694 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3697 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3699 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3702 * registryd/registry.c (impl_registry_notify_event): Remove
3703 unnecessary call to parser_event_type().
3705 * docs/reference/cspi/tmpl/spi_component.sgml:
3706 Add reference to SPI_LAYER_WINDOW.
3708 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3710 * registryd/registry.c
3711 (desktop_add_application): Remove leak.
3712 (desktop_remove_application): Remove leak.
3713 (parser_event_type): Remove leak.
3715 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3717 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3718 bogus call to CORBA_string_dup(). Also removed unnecessary
3719 g_string_dup/g_free calls.
3721 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3723 * registryd/deviceeventcontroller.c:
3724 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3726 * test/event-listener-test.c:
3727 main: commented out three redundant listeners, to reduce output
3728 noise. (They still are potentially useful for testing).
3731 2002-09-13 Michael Meeks <michael@ximian.com>
3733 * Update all the copyrights to include Ximian.
3735 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3737 * cspi/spi.h: add SPI_LAYER_WINDOW.
3739 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3740 add Accessibility_LAYER_WINDOW case.
3742 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3744 * libspi/component.c: (impl_accessibility_component_get_layer):
3745 add ATK_LAYER_WINDOW case.
3747 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3749 * configure.in: incremented micro version.
3751 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3753 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3756 Clarified and reworded our commit policy.
3759 Started an API "todo" addition list for 2.2.
3762 (impl_getSelection):
3763 Free char pointer from atk_text_get_selection, which was being leaked.
3765 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3768 Small revision to author acknowledgement.
3770 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3772 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3773 If signal has detail add it to the type of the event.
3776 2002-08-12 Michael Meeks <michael@ximian.com>
3778 * test/test-simple.c (global_listener_cb): bin bogosity.
3779 (test_keylisteners): disable, still doesn't work reliably,
3780 certainly not on my system anyway.
3782 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3783 don't leak a reference on the DEC. This round-trip
3784 fetching of the DEC per keystroke sucks, it should be
3787 * cspi/spi-private.h,
3788 * cspi/cspi-lowlevel.h,
3789 * cspi/bonobo/cspi-bonobo-listener.[ch],
3790 * cspi/bonobo/cspi-bonobo.c: get the copyright
3791 notices better - there is still a large amount of
3792 work in at-spi falsely attributed solely to Sun.
3794 * cspi/spi_main.c (cspi_object_ref): kill bogus
3795 hash lookup, just increment the ref.
3796 (SPI_freeString): make explicit the fact that we
3797 handle NULL strings just fine.
3798 (report_leaked_ref): obey coding standards.
3799 (cspi_object_hash, cspi_object_equal): kill retval.
3800 (cspi_object_release): only release if not on loan.
3801 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3802 (cspi_object_borrow, cspi_object_return): impl.
3804 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3805 use cspi_object_borrow / return.
3807 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3809 * cspi/bonobo/cspi-bonobo-listener.c:
3811 Don't call cspi_oject_new() because this is creating a new Accessible
3812 every single time that an event is fired. This causes ATs like at-poke
3813 to nolonger recognise the source of the event and thus ignore it.
3814 Re-use the object from the cache, ref it and then unref it after the
3815 listeners have been called.
3817 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3819 * test/event-listener-test.c:
3820 Added command-line options to disable mouse events (m) and
3823 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3825 * configure.in: Update required versions of ATK, GTK+ and GAIL
3827 * cspi-1.0.pc.in: Add dependency for X include files
3830 * cspi/bonobo/Makefile.am:
3831 Add $(X_CFLAGS) so that X include files
3832 are picked up even if not in standard place (bug #71686)
3834 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3836 * registryd/deviceeventcontroller.c: fix for 84261
3837 (spi_dec_mouse_moved):
3838 Added test of mouse button mask, so that we can detect mouse
3839 button release. Unfortunately we can't otherwise detect mouse
3840 button release events without consuming the mouse press event,
3841 because of the way XGrabButton works. This means that our mouse
3842 release events have a latency dependent on the polling period
3843 while the mouse button is down. At least in this case we only
3844 have to poll while the button is down, and not at other times.
3845 If the button masks don't match with what the last press event
3846 reported, we report the appropriate button release event.
3847 (spi_dec_ungrab_mouse):
3848 New method (not yet called).
3849 (spi_device_event_controller_forward_mouse_event):
3850 New method, sends mouse press event from GdkFilter.
3851 (spi_dec_init_mouse_listener):
3852 Added code to call XGrabButton, redirecting mouse button events to
3853 the root window and our Gdk event loop.
3855 Added code to filter mouse button events, and reordered.
3857 * test/event-listener-test.c:
3859 Added registration for mouse events of type "mouse:button".
3861 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3863 * registryd/deviceeventcontroller.c: partial fix for 84261
3864 (spi_dec_poll_mouse_idle):
3865 New method, a timeout which checks to see if the mouse
3867 (spi_dec_poll_mouse_moving):
3868 A timeout to be called when mouse motion is underway.
3869 (spi_dec_poll_mouse_moved):
3870 A method which fires an event if the mouse has moved, and reports
3871 whether or not it did so.
3872 (spi_dec_init_mouse_listener):
3873 A method which sets up the timeouts above.
3874 (spi_device_event_controller_new):
3875 Now calls spi_dec_init_mouse_listener.
3877 * registryd/registry.c:
3878 (spi_registry_init):
3879 Now we initialize the device event controller when the registry is
3880 initialized, instead of waiting until a client has requested a key
3881 event notification; this is because we need the event controller
3882 for mouse events, but the mouse event registration API is a
3883 "registry" call and doesn't explicitly call the
3884 deviceeventcontroller.
3885 We now report mouse motion events with a 100 ms idle latency and
3886 a 20 ms granularity when motion is in progress.
3888 * test/event-listener-test.c:
3890 We now register the "detail listener" for events of type
3891 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3892 delivered only for the first mouse event received, and thereafter
3893 "mouse:abs" events are delivered.)
3895 * cspi/spi_registry.c:
3896 DOCS: Documented the above mouse event typestrings.
3898 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3900 Happy Summer Solstice...
3902 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3903 (spi_controller_notify_keylisteners):
3904 Changes to remove a listener from the listener list, freeing its
3905 open keygrabs, if a notification to that listener fails. This
3906 means that although a dead listener can continue to hold a passive
3907 keygrab, a maximum of one dispatch to such a listener can fail
3908 before the listener is removed from the list, thus the keygrab
3909 will be released on the next occurrence.
3910 As part of this fix:
3911 (spi_notify_keylisteners):
3912 Renamed to spi_controller_notify_keylisteners, as the controller
3913 instance must now be passed as an argument.
3914 The copied 'notify' GList is now a list of DEControllerKeyListener
3915 objects, since we need more than just the CORBA reference if a
3916 notify fails and we need to deregister the listener.
3917 (impl_notify_listeners_sync):
3918 (impl_notify_listeners_async):
3919 (spi_device_event_controller_forward_key_event):
3920 Modify use of notify_keylisteners in accordance with above
3922 (spi_deregister_controller_key_listener):
3923 New method introduced by refactoring, from
3924 impl_deregister_keystroke_listener.
3925 (impl_deregister_keystroke_listener):
3926 Call spi_deregister_controller_key_listener.
3927 (spi_key_listener_clone):
3928 New method to copy a key listner without doing a 'ref' on the
3929 remote object instance; used to create a notifier list.
3930 (spi_key_listener_data_free):
3931 New method, frees data without unreffing the source.
3933 (spi_key_listener_clone_free): new method.
3934 (spi_key_listener_free):
3935 refactored to call spi_key_listener_data_free.
3937 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3939 * registryd/registry.c: [fix for bug 86048]
3940 (notify_listeners_cb):
3941 Clear CORBA system exceptions which occur when notifying
3942 listeners, before returning to the source of the original event,
3943 since the event source doesn't care if the relayed notify failed.
3944 In other words, don't complain to the atk-bridge if the registry
3945 could not notify all its listeners, that's no fault of the
3946 application and thus should not appear to be an error from the
3947 application's perspective.
3949 * cspi/spi_main.c: [fix for bug 85980]
3951 Replaced use of bonobo_object_dup_ref with call to the wrapper
3952 method, csou_dup_ref (); this silences a compiler warning and
3953 provided more portability.
3955 Ping the registry before return, and restart if necessary.
3957 * cspi/bonobo/cspi-bonobo.c:
3959 New internal method.
3961 Fixed this method to return an object reference, as it should have
3964 * cspi/cspi-lowlevel.h:
3965 Added internal definition for cspi_ping() and fixed
3966 return type of cspi_dup_ref().
3969 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3971 * atk-bridge/bridge.c: [fix for bug 85305]
3972 (spi_atk_bridge_register_application):
3973 New method where the initial application registry calls have been
3974 moved; it allows an application to re-register in response to
3975 certain error conditions (such as a registry restart, see below).
3977 Moved some initialization code to the method
3978 spi_atk_bridge_get_registry, below.
3979 (spi_atk_bridge_get_registry):
3980 New, private accessor function for the Accessibility_Registry
3981 instance. If the registry has not been started before, or has
3982 died (as detected by failure of a CORBA exception), it is
3983 restarted before return, and spi_atk_bridge_register_application
3984 is called again to register with the new bridge instance.
3985 (spi_atk_emit_eventv):
3986 Set registry_died on error; use spi_atk_bridge_get_registry () to
3987 access the registry.
3989 * registryd/registry.c:
3990 (impl_accessibility_registry_register_global_event_listener):
3991 Set listener's event_type_quark to etype.minor instead of
3992 etype.major (fix for bug 84856).
3994 * test/event-listener-test.c:
3995 (report_detail_event):
3996 Change the output string so that user/tester can tell that the
3997 'detail listener' was called instead of the 'generic listener'.
3999 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4001 Fixes for bugs 84900, 84908, 84897, 84898.
4006 Revved version to 1.1.0
4007 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4008 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4010 * idl/Accessibility_Registry.idl:
4011 (EventListener::notifyEvent):
4012 Removed 'oneway' directive after extensive consulation with
4013 ORBit2 team and others. This means also that unref() of the event
4014 source can and should be done synchronously after emission, rather
4015 than remotely in the client, after servicing the notify call on
4018 NOTE: This change speeds up listener performance considerably, but
4019 introduces new latency on the application side. We may want to
4020 add an event queue to the atk-bridge.
4022 * atk-bridge/bridge.c:
4023 (spi_atk_bridge_focus_tracker):
4024 Do a local unref() on the event source after emission.
4026 * registryd/registry.c:
4027 (desktop_remove_application):
4028 Do an unref() on the event source after emission.
4029 (desktop_add_application):
4030 Do an unref() on the event source after emission.
4031 (notify_listeners_cb):
4032 When relaying an event, don't automatically add the event source
4033 to the local object cache, just CORBA_dup it instead. Likewise,
4034 if this method reenters, release the ref rather than calling
4036 (impl_registry_notify_event):
4037 No longer call remote unref() on the event source after dispatch.
4039 * libspi/eventlistener.c:
4040 (impl_accessible_event_notify_event):
4041 Removed remote unref ()
4043 * cspi/bonobo/cspi-bonobo-listener.c:
4045 We now call cspi_object_new() instead of cspi_object_add() on
4046 receipt of an event; thus we only have an implicit object ref
4047 while the cspi_event method is being executed. If we need to keep
4048 a reference to the object, the listener must call ref() on the
4049 object. Thus also we don't need to call cspi_object_unref() after
4050 invoking the listener callbacks in this method.
4054 New internal API for creating a new cspi object, without adding it
4055 to the object cache.
4057 Now uses cspi_object_new() to create the cspi object instance.
4059 Now checks to see if the object is in the internal object cache,
4060 and adds it if necessary before incrementing its refcount (note
4061 that new objects are added with a refcount of 1).
4062 (report_leaked_ref):
4063 New method which gives some information on leaked object instances
4064 if leak detection is turned on.
4066 * test/event-listener-test.c:
4067 (timing_test_event):
4068 New method, used for testing event delivery timing for special
4069 events of type "object:test". It reports elapsed time and
4070 events/sec every 500 events.
4072 Added a new listener, 'test listener', to check timing of event
4073 receipt as noted above.
4075 Added some timing output here also, reports elapsed time every 100
4078 * test/stress-test.c:
4079 Emit events of type "object:test", for use with "event-listener-test".
4081 * test/test-simple.c:
4082 (global_listener_cb):
4083 Call Accessible_ref() on the event source before calling
4084 validate_accessible, since the validation process does pointer
4085 comparisons on the event source, meaning that the event source
4086 needs to be added to the local object cache first. Any use of
4087 such pointer comparisons between Accessible objects requires that
4088 the caller hold an explicit reference to those objects.
4089 We also must therefore call Accessible_unref() when leaving this method.
4091 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4093 * registryd/deviceeventcontroller.c:
4094 (spi_controller_update_key_grabs):
4095 Fix for #84735, subsequent keygrab listeners not informed of
4096 registration failure.
4099 (spi_base_construct):
4100 Add an assertion on construct, to make sure the GObject passed in
4101 is really a GObject.
4103 Explicitly initialize object->gobj pointer to NULL;
4105 * cspi/bonobo/cspi-bonobo-listener.c:
4106 (cspi_object_add_ref):
4107 New method, can specify whether to dup-ref a bonobo object passed
4108 in if it's newly added to the object cache.
4110 Now calls cspi_object_add_ref with second param of "FALSE". This
4111 prevents us from doing a pointless dup-ref followed by
4112 release-unref for all those cases where the object is already in
4113 our object cache (fix for #85205).
4115 * atk-bridge/bridge.c:
4116 (spi_atk_bridge_idle_init):
4117 Removed this method, we don't need to initialize in an idle
4120 Changed to call spi_atk_register_event_listeners directly, not via an
4121 idle handler. (fix for #81139)
4122 (gnome_accessibility_module_shutdown):
4123 Removed conditional around deregistration of listeners, since we
4124 don't use the idle handler and thus have always registered when
4126 (spi_init_keystroke_from_atk_key_event):
4127 Changed references to Accessibility_KEY_PRESSED to
4128 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4130 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4132 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4137 * test/stress-test.c:
4140 (may have been an incomplete commit yesterday?)
4142 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4145 Added target for new stress-test.
4147 * test/stress-test.c:
4148 New test, sends 1000 focus notifies in quick succession.
4150 * test/key-listener-test.c:
4151 Now we report whether a keylistener registration
4152 request succeeded or failed.
4154 * test/event-listener-test.c:
4155 Uncommented some listeners which are now implemented.
4158 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4160 * registryd/deviceeventcontroller.c:
4161 (spi_controller_update_key_grabs):
4162 Fix for #82509, lack of failure notification when
4163 ALL_WINDOWS keygrabs fail due to XGrabKey
4164 failure: we synchronize the server when
4165 registering a passive grab, to make sure we get the
4166 error message before the call returns.
4168 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4170 * test/test-simple.c:
4172 Removed #ifdef KEY_IMPL_WORKS guards.
4173 (test_keylisteners):
4174 Removed #ifdef KEY_IMPL_WORKS guards.
4175 Fixed bug which was causing a hang waiting for a
4176 "press" event (which was already overwritten by a "release"
4177 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4179 Added code to set globals 'key_press_received' and
4180 'key_release_received'.
4183 Added section "1.1 API Proposed Additions" which
4184 lists API additions desired for at-spi-1.1 (only one so far).
4185 Updated TODO list a little.
4187 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4189 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4192 * configure.in: Revved to 1.0.0.
4194 * idl/Accessibility_Registry.idl:
4195 (registerKeystrokeListener):
4196 Added boolean return value.
4198 * registryd/registry.c:
4199 (notify_listeners_cb): Minor fix to debug output.
4201 * registryd/Accessibility_Registry.server.in.in:
4202 Revved version number in OAFIID to 1.0.
4204 * registryd/registryd.c:
4206 Use new OAFIID version.
4208 * cspi/bonobo/cspi-bonobo.c:
4210 Use new OAFIID version.
4216 * atk-bridge/bridge.c:
4218 Use new OAFIID version.
4220 * registryd/deviceeventcontroller.c:
4221 (impl_register_keystroke_listener):
4222 Added CORBA_boolean return value.
4223 (spi_controller_register_device_listener):
4224 Added gboolean return value.
4225 (spi_controller_register_global_keygrabs):
4226 Added gboolean return value.
4227 (spi_key_set_contains_key):
4228 Added implementation for many more control keys,
4229 for instance F1-F12, arrow keys, End, Home, Page_Up,
4231 [TODO: some still not implemented].
4233 * text/screen-review-test.c:
4234 (text_chunk_pad_string):
4235 New function: it provides mapping between coordinate
4236 positions of text chunks and character positions in the
4237 screen-review-line output string.
4238 (text_chunk_to_string):
4239 New function, calls text_chunk_pad_string with various
4240 pad/delimiter characters. Pushbuttons are delimited with
4241 square brackets, Frames with vertical 'pipe' lines, and
4242 other text with double quotes.
4243 (text_chunk_list_to_string):
4244 Calls new function text_chunk_to_string.
4245 (toplevel_composite):
4246 New function to composite layers CANVAS through
4247 POPUP in each toplevel (other layers are composited
4248 across toplevels, i.e. BACKGROUND and OVERLAY).
4249 (review_buffer_composite):
4250 Revise to use new methods.
4256 2002-05-31 Laszlo Peter <laca@sun.com>
4258 * configure.in: add the Xtst libdir to the runpath on Solaris,
4259 since it's not in the default library search path.
4261 2002-05-29 jacob berkman <jacob@ximian.com>
4263 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4265 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4267 * test/screen-review-test.c:
4268 (text_chunk_pad_string):
4269 Added method, which pads the string according to the
4270 text bounds of the chunk. It also takes a 3-character
4271 string as a param which indicates the characters to be
4272 used for start, padding, and end delimitation of the chunk.
4273 (text_chunk_to_string):
4274 Changed to use text_chunk_pad_string.
4276 * configure.in: Fixed bug in AC_OUTPUT that was
4277 causing path substitution in Accessibility_Registry.server
4280 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4282 * text/screen-review-test.c:
4283 (guess_string_clip):
4284 New method which attempts a best-guess at clipping
4285 text from components (like Java labels) which don't
4286 actually implement AccessibleText. This inaccurate
4287 clip is based on the assumption that the label is
4288 justified left-and-right, and monospaced.
4289 (text_chunk_get_clipped_string):
4290 We now call guess_string_clip() for text-containing
4291 components that don't implement AccessibleText.
4293 * test/screen-review-test.c:
4294 (review_buffer_get_text_chunk):
4295 We now pull "name" from labels if they do not implement
4296 AccessibleText (i.e. for Java labels).
4297 (get_screen_review_line_at):
4298 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4301 Replaceded AC_OUTPUT target
4302 registryd/Accessibility_Registry.server with
4303 registryd/Accessibility_Registry.server.in.
4305 * registryd/Accessibility_Registry.server.in:
4306 Removed (this is now a Makefile target).
4308 * registryd/Accessibility_Registry.server.in.in:
4309 Added (source for target above). We now use $(libexecdir) as
4310 prefix for the executable at-spi-registryd.
4312 * registry/Makefile.am:
4313 Now install at-spi-registryd into $(libexecdir), and build .server
4314 file with path (see above).
4316 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4318 * test/screen-review-test.c:
4319 (text_chunk_get_clipped_string):
4320 We now check to see if words fall within clip bounds
4321 before resorting to character-by-character clip bounds testing.
4323 * TODO: Added a section for "2.2 Proposed API Additions".
4325 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4327 * test/screen-review-test.c:
4329 Added a screen review benchmarking and test program to test
4332 * cspi/spi_accessible.c:
4334 Made some of the debug strings passed to cspi_check_ev a
4335 little more specific.
4337 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4339 * test/screen-review-test.c: Fix crashes in debug statements
4341 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4343 * test/screen-review-test.c: Added this file.
4345 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4347 * atk-bridge/bridge.c: changed "object:state-change" to
4348 "object:state-changed" to match docs.
4350 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4352 * atk-bridge/bridge.c: Hooked up state-change event details.
4354 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4356 * registryd/registry.c:
4357 Fixed quarking bug in event string parsing; now events with
4358 detail parameters get matched correctly to listeners.
4361 * util/idl/Magnifier.idl: remove.
4363 * util/*.[ch]: Remove.
4364 Magnification utilities and IDL are now in module gnome-mag.
4366 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4368 * registryd/deviceeventcontroller.c:
4369 Fixed bug in grab key conversion which was causing keycode grabs
4370 to be converted to AnyKey grabs.
4373 updated NEWS file to reflect recent spin-off of gnome-mag.
4375 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4377 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4378 busted AccessibleStateSet_compare. Removed redundant casts.
4380 * cspi/spi-action.c: Removed redundant casts.
4382 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4384 * cspi/spi_component.c: Fixed typos and casting error.
4386 * cspi/spi_editabletext.c: Removed redundant casts.
4388 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4390 * cspi/spi_hypertext.c: Eliminated redundant casts.
4392 * cspi/spi_image.c: Eliminated redundant casts.
4394 * cspi/spi_registry.c: Eliminated redundant casts.
4395 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4396 * cspi/spi_selection.c: Removed redundant casts.
4397 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4398 handling. Screen geometry and text offsets were being returned as 0
4399 on error which is technically valid-- changed these to return -1.
4400 Added marshaller for text boundary types to fix bug with boundary
4401 types being passed incorrectly to atk.
4403 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4406 * cspi/spi_registry.c:
4407 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4408 which was uncovered by the recent key changes.
4410 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4412 * test/event-listener-test.c:
4414 Added new test, "event-listener-test";
4415 this code does two things; it benchmarks traversal time
4416 for the accessible hierarchy for the first running accessible
4417 app, and it connects listeners for all supported event types.
4418 It is thus useful as an example event listener and for
4419 diagnostics/debugging of event generation.
4421 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4424 Removed unnecessary dependency on libutil.
4427 Revved micro version: 0.13.1
4429 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4432 Removed util/Makefile from targets.
4435 Removed util subdir from SUBDIRS (temporarily,
4436 pending removal of magnifier-only code
4440 #ifdef-ed out magnifier dependencies, since
4441 magnifier IDL, headers, and binary now live in
4442 module gnome-mag and we don't want at-spi to depend
4443 on gnome-mag. A magnifier demo which can run alongside
4444 simple-at is forthcoming in the gnome-mag module.
4446 NOTE: Split magnifier binary, IDL, and magnification
4447 activation code from at-spi into module gnome-mag.
4449 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4451 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4452 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4454 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4457 Revved to version 0.13.0
4459 * idl/Accessibility_Registry.idl:
4460 Changed definition of KeySet from sequence of longs to sequence of
4461 KeyDefinitions, and added KeyDefinition struct.
4462 Required for fix to bug 80616.
4464 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4465 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4466 to use new definition (see above).
4468 * registryd/deviceeventcontroller.c: handle_keygrab(),
4469 spi_keyset_contains_key():
4470 Changed to make use of new struct; this allows matching based on
4471 string key-name, for instance "Tab". This also allows matching of
4472 composed characters, non-alphanumeric characters in a way that
4473 doesn't involve dependencies on X keysym codes directly, etc.
4475 * test/key-listener-test.c:
4476 Added test for Alt-Tab key using "string" specification of keyset,
4477 and modified one of the tests to use a keycode-based keyset.
4478 Thus this test both tests and demonstrates the creation and use of
4479 keysets of three forms: specified via keycode array,
4480 keysym array, and string array. (The string case only contains a
4481 single string, i.e. a string array of length 1).
4484 Turned on PRINT_TREE option by default. Also fixed a
4485 string-freeing bug in the PRINT_TREE code.
4486 Added a listener to window:minimize events.
4488 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4490 * atk-bridge/bridge.c:
4491 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4492 for window:activate and window:deactiveate
4493 (atk_bridge_property_event_listener atk_bridge_signal_listener
4494 atk_bridge_window_event_listener) Tidy debug code
4496 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4498 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4499 Fixed handling for NULL return value from ATK.
4501 * libspi/action.c libspi/component.c libspi/editabletext.
4502 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4503 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4504 Removed redundant casts.
4506 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4507 Fixed off by one bug.
4509 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4510 function not present in idl)
4512 2002-05-02 jacob berkman <jacob@ximian.com>
4514 * atk-bridge/Makefile.am: make atk-bridge a real module
4516 2002-04-26 Radek Doulik <rodo@ximian.com>
4518 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4519 atk_state_types table
4521 2002-04-22 jacob berkman <jacob@ximian.com>
4524 * libspi/Makefile.am: add deps on the built files to help
4525 automake, and don't version the ORBit typelib
4527 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4529 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4530 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4531 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4532 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4533 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4534 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4535 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4536 libspi/accessible.h libspi/accessible.h libspi/base.h
4537 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4538 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4539 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4540 libspi/spi-private.h libspi/statetset.h libspi/table.h
4541 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4542 util/mag_client.h util/mag_control.c util/mag_image.c
4543 util/mag_image.h util/magnifier.c util/magnifier.h:
4544 Add missing file headers; standardize existing ones
4546 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4548 * atk-bridge/bridge.c: Added window event support.
4550 2002-04-18 Michael Meeks <michael@ximian.com>
4552 * libspi/relation.c (impl_getNTargets): impl.
4553 (impl_getTarget): impl.
4555 * libspi/Makefile.am: fix stateset install.
4557 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4560 Started putting useful info in this file.
4562 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4564 * atk-bridge/bridge.c:
4565 Propagate state-changed notifications to ATs
4567 * cspi/spi_registry.c: update docs to reflect actual behavior of
4568 state-change events.
4570 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4573 Incremented version to 0.12.1
4575 * util/mag_client.h:
4576 Add missing declaration for magnifier_exit,
4577 used by mag_control.c - Forte compiler didn't like
4578 the implicit redeclaration of the function :-(
4581 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4584 Revved version to 0.12 due to API change (see below).
4586 * cspi/spi-roletypes.h:
4587 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4588 definition from the inline docs, and added docs
4589 for SPI_ROLE_LAST_DEFINED.
4592 * cspi/spi_streamablecontent.c:
4593 Added missing seek_type parameter to
4594 (so far unused) method,
4595 AccessibleStreamableContent_seek().
4596 [ RT approval JodyG. ]
4599 Fixed docs for SPI_createAccessibleKeystrokeListener.
4601 * cspi/spi_registry.c:
4602 Fixed docs for SPI_KEYSET_ALL_KEYS.
4604 * docs/reference/cspi/at-spi-cspi-sections.txt:
4605 Added a number of missing APIs to SECTIONS.
4607 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4609 * registryd/Makefile.am:
4611 * cspi/bonobo/Makefile.am:
4612 Add $(X_LIBS) to makefiles.
4614 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4617 Revved version to 0.11.
4619 * libspi/component.c:
4620 Added implementation for grabFocus.
4622 * idl/Accessibility_Component.idl
4623 (Accessibility_Component_grabFocus):
4624 Made this method return boolean to indicate success or failure, to
4625 be consistent with cspi and the corresponding ATK method.
4627 * idl/Accessibility_Selection.idl
4628 (Accessibility_Selection_selectAll) :
4629 Made these methods return boolean to indicate success or
4630 failure, to be consistent with cspi and the corresponding ATK methods.
4632 * idl/Accessibility_EditableText.idl
4633 (Accessibility_EditableText_setTextContents,
4634 Accessibility_EditableText_insertText,
4635 Accessibility_EditableText_cutText,
4636 Accessibility_EditableText_deleteText,
4637 Accessibility_EditableText_pasteText):
4638 Made these methods return boolean to indicate
4641 * cspi/spi_editabletext.c:
4642 Made these methods return booleans.
4644 * libspi/selection.c:
4645 * libspi/component.c:
4646 * libspi/editabletext.c:
4647 Connected the boolean returns from ATK
4648 to the server-side code referenced above.
4650 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4652 * idl/Accessibility_Table.idl: Added missing methods,
4653 Accessibility_Table_addRowSelection,
4654 Accessibility_Table_addColumnSelection,
4655 Accessibility_Table_removeRowSelection,
4656 Accessibility_Table_removeColumnSelection.
4659 Added C wrappers for above IDL:
4660 AccessibleTable_addRowSelection,
4661 AccessibleTable_addColumnSelection,
4662 AccessibleTable_removeRowSelection,
4663 AccessibleTable_removeColumnSelection.
4666 Added server-side implementation code for IDL above, connecting
4667 to pre-existing ATK api.
4669 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4671 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4673 * libspi/accessible.c: Added implementation fo
4674 Accessibility_Accessible_get_state.
4676 * libspi/libspi.h: Added stateset.h to the list of includes.
4678 * libspi/stateset.c: Fixed broken implementation.
4680 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4683 Added implementation code for Accessibility_Magnifier_exit ().
4685 * util/mag_control.c:
4686 Added test code for above method; you can
4687 now kill an existing magnifier via
4688 ./mag_control q, from the util directory.
4690 * test/key-listener-test.c:
4692 Added a new test, for our key listener API.
4694 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4696 * test/app.c, test/keysynth-demo.c:
4698 Replace use of snprintf with g_snprintf.
4699 (fix for bugzilla 78249)
4701 2002-03-27 Michael Meeks <michael@ximian.com>
4705 * util/Makefile.am (INCLUDES): fix.
4706 (DONT_DIST_SOURCE): don't distribute the
4709 * libspi/Makefile.am (dist-hook): ditto.
4711 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4713 * libspi/hypertext.c:
4714 Fix warnings when yelp is used with atk-bridge
4716 2002-03-21 Michael Meeks <michael@ximian.com>
4718 * libspi/application.c (spi_application_new):
4719 use spi_accessible_construct so we use the AtkObject
4722 2002-03-19 Michael Meeks <michael@ximian.com>
4724 * registryd/registry.c (desktop_remove_application),
4725 (desktop_add_application): clean coding style.
4727 * registryd/desktop.c (spi_desktop_remove_application),
4728 (spi_desktop_add_application): kill re-enterency hazards.
4729 (spi_desktop_dispose): remove bogus redundant cast
4730 obscuring bug; fix bug too.
4731 (spi_desktop_init): make the desktop object immortal.
4733 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4736 Added a #define-guarded tree-traversal step
4737 when enumerating the apps (diagnostic tool).
4739 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4741 * idl/Accessibility_Role.idl:
4742 Added ROLE_DRAWING_AREA which seemed to be missing from the
4745 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4747 * cspi/spi-roletypes.h cspi/spi_accessible.c
4748 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4751 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4752 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4753 AT when applications are added and removed from the desktop. This
4754 reverts the previous broken implementation using the backing
4755 AtkObject for the SpiDesktop.
4757 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4759 * registryd/desktop.c: emit the "children-changed::add" and
4760 "children-changed::remove" signals on the backing ATK object for
4761 the desktop so AT can tell when applications are started and shut
4764 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4766 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4768 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4770 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4772 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4774 * cspi/state-types.h: synched with IDL and ATK
4776 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4778 * libspi/accessible.c
4779 (impl_accessibility_accessible_get_child_at_index):
4780 Change return value for g_return_if_fail ()
4781 to CORBA_OBJECT_NIL instead of "0" (!)
4783 * registryd/Makefile.am:
4784 * registryd/Accessibility_Register.server.in:
4785 Changed name of executable, "registryd",
4786 to something more informative:
4789 2002-03-13 Michael Meeks <michael@ximian.com>
4791 * atk-bridge/bridge.c (atk_bridge_init): don't register
4792 if we're in a bonobo-component, rather than a bonobo app.
4794 2002-03-13 Michael Meeks <michael@ximian.com>
4796 * atk-bridge/bridge.c (gtk_module_init): split
4797 out body to (atk_bridge_init): here, since otherwise
4798 we get symbol conflicts and oddness when invoked
4799 from (gnome_accessibility_module_init): here (upd.)
4801 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4804 New file. Explicitly allow "build sheriff" putbacks provided
4805 they are tested on Solaris.
4807 * docs/reference/cspi/Makefile.am:
4808 Added '-' to the "cp" command for index.sgml.
4809 ("patch by thomasvs, soon coming to a GUADEC near you")
4812 Incremented version number (0.9.0) for new release.
4813 Changed macro that checks for popt, to better detect
4814 obsolete versions of popt.
4817 Added X_LIBS to AC_SUBST, for applications
4818 that call Xlib API directly.
4821 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4824 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4827 Fix regression caused by hard-coding major
4828 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4831 * test/test-simple.c (test_editable_text),
4832 (test_test): revert previous change (error was
4833 a regression in gail which is now fixed).
4835 2002-03-04 Michael Meeks <michael@ximian.com>
4837 * test/test-simple.c (test_editable_text),
4838 (test_text): pass G_MAXINT instead of '-1' for
4839 whole string - is this a good thing !?
4841 * cspi/spi_accessible.c
4842 (Accessible_getRelationSet): fix crasher bug
4843 overwriting the end of the array.
4845 * test/test-simple.c (validate_accessible): free,
4846 not g_free returned relation set.
4848 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4850 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4851 implemented stateset support
4853 * idl/Accessibility_State.idl: Made necessary changes to
4854 the IDL to support state sets.
4856 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4858 * registryd/deviceeventcontroller.c:
4859 Added implementation for generateMouseEvent.
4861 * cspi/spi_registry.c:
4862 Connected new implementation for generateMouseEvent
4865 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4868 Incremented revision (but no change in public API
4869 outside of 'utils', which are not installed public yet.)
4871 * libspi/component.c:
4872 Changed to use atk_component API for layers and
4873 mdi_zorder, instead of deprecated atk_object API.
4875 Magnification Utility Enhancements:
4878 Added implementation of createZoomRegion, clearAllZoomRegions,
4879 resizeZoomRegion. Added new commandline argument
4880 "--no-initial-region". Note that clearAllZoomRegions doesn't
4881 unmap the old '0' region as it should (yet), and the other
4882 methods only work when creating/resizing a single region,
4883 which is "region 0".
4884 (Code for multiple region support will be added later.)
4887 Now we raise the magnifier window each time it's refreshed;
4888 this will help keep it on top.
4890 * util/mag_client.h:
4891 Added simple wrappers for above, used by mag_control.
4892 For general use, it's recommended to use the bonobo magnifier
4893 control API directly instead of using these wrappers.
4896 Moved ZoomRegionData from magnifier.c to this file.
4898 * util/mag_control.c:
4899 Added some code to exercise new IDL implementations.
4901 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4903 * libspi/text.c: Provide implementation for getAttributes.
4905 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4908 Incremented revision.
4910 * test/test-simple.c:
4911 Replaced use of deprecated g_main_iteration with
4912 g_main_context_iteration.
4914 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4917 Incremented revision for desktop alpha 2.
4919 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4921 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4924 * test/simple-at.c: include netinet/in.h.
4926 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4928 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4929 use NULL, not CORBA_OBJECT_NIL.
4931 * libspi/accessible.c:
4932 (impl_accessibility_accessible_get_relation_set):
4933 allocate the sequence correctly.
4935 * libspi/remoteobject.h: kill spi_remote_object_new.
4937 * test/test-simple.c: (validate_accessible): add code
4938 to test relation sets, now all we need is to figure
4939 out how to excercise this code path :/
4941 2002-01-18 Michael Meeks <michael@ximian.com>
4943 * test/test-simple.c
4944 (key_listener_cb): consume the key.
4945 (test_keylisteners): update.
4946 (main): wait for any pending unrefs on events.
4948 * registryd/deviceeventcontroller.c
4949 (spi_controller_update_key_grabs): only re-issue the
4950 grab on a key release.
4951 (spi_device_event_controller_forward_key_event):
4952 refresh the keygrabs before we notify the listeners,
4953 to reduce the X ungrab / re-grab race.
4954 (spi_controller_register_with_devices): remove
4955 XSelectInput - we do that with the gdk_window_ call.
4956 (_spi_controller_device_error_handler): return a value.
4957 s/GDK_DISPLAY/spi_get_display/
4959 2002-01-17 Michael Meeks <michael@ximian.com>
4961 * registryd/deviceeventcontroller.c
4962 (_deregister_keygrab): don't blow out the later
4965 * test/test-simple.c (test_keylisteners): do a
4966 more intelligent validation.
4968 2002-01-14 Michael Meeks <michael@ximian.com>
4970 * atk-bridge/bridge.c
4971 (gnome_accessibility_module_init),
4972 (gnome_accessibility_module_shutdown): impl.
4973 (gtk_module_init): protect vs. double inits.
4974 (add_signal_listener): impl.
4975 (spi_atk_bridge_state_event_listener): kill
4976 (deregister_application): split out of
4977 (spi_atk_bridge_exit_func): here.
4979 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4982 Added caret tracking when using magnifier, and
4983 now use text bounds for focus tracking of text elements, rather than
4984 the component bounds - this is helpful for short text fields in long
4985 table cells, at high magnification.
4987 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4989 * registryd/deviceeventcontroller.c:
4990 Regression fix for keylistener de-registration; global keygrabs
4991 were not being released when deregisterKeystrokeListener was
4992 called in cspi, since
4993 Accessibility_DeviceEventController_deregisterKeystrokeListener
4994 was called with a zero-length keyset. That is because the cspi
4995 method, SPI_deregisterKeystrokeListener, does not take a keyset
4996 parameter but instead should remove all the key grabs held be a
4998 The code in impl_deregister_keystroke_listener was changed to copy
4999 the keylist from the listener instance previously registered with
5000 the DeviceEventController before releasing the grabs.
5002 * registryd/registry.c:
5003 * registryd/deviceeventcontroller.c:
5004 * libspi/spi-private.h:
5006 Changed spelling of "re-enterant" to "re-entrant" globally.
5008 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5010 * test/test-simple.c:
5011 Changed key listeners test - the test was slightly mis-using the
5012 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5013 It now uses '=' as the key event listened to and generated,
5014 relying on a keysym match rather than assuming that keycode 33
5015 is always equal to keysym '!'.
5017 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5020 Changed simple-at to use a specific keyset, rather than
5021 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5022 manager, desktop, etc.
5024 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5026 * registryd/deviceeventcontroller.c:
5027 Replaced standard X error handler with a special handler that
5028 is non-fatal for failed keygrabs. This works around
5029 problems with keygrab clashes sometimes observed on
5031 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5032 mouse handling code as yet).
5034 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5037 Incremented revision for desktop alpha release.
5040 Fixed a couple of the more glaring errors (still not
5043 2002-01-11 Michael Meeks <michael@ximian.com>
5045 * registryd/deviceeventcontroller.c
5046 (spi_device_event_controller_forward_key_event): kill
5047 XUngrabKey / XKeyGrab race.
5048 (spi_controller_grab_keyboard): rename to
5049 (spi_controller_update_key_grabs): this, and deal
5050 with incremental adding / removing grabs more
5052 (_register_keygrab): ensure we're not pending a remove.
5053 (spi_grab_mask_free): impl.
5054 (spi_controller_register_global_keygrabs): split out
5056 (handle_keygrab): impl.
5057 (_deregister_keygrab): impl.
5058 (spi_controller_deregister_global_keygrabs): impl.
5059 (spi_controller_update_key_grabs): re-issue the grab if
5060 we just recieved a notification.
5062 * test/test-simple.c (key_listener_cb): remove debug.
5064 * registryd/deviceeventcontroller.c
5065 (spi_controller_register_device_listener): after
5066 registering a global keygrab, actualy register it !
5067 don't wait for a timeout; doh !
5069 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5070 to make it more readable / manipulable.
5071 s/grabmask/grab_mask/ s/refcount/ref_count/
5072 s/keyval/key_val/ s/modmask/mod_mask
5074 2002-01-08 Michael Meeks <michael@ximian.com>
5076 * registryd/deviceeventcontroller.c
5077 (spi_controller_register_with_devices): use gdk calls to
5079 (global_filter_fn): implement the filter.
5080 (spi_device_event_controller_check_key_event): rename to
5081 (spi_device_event_controller_forward_key_event): this & upd.
5082 (spi_get_display): replace with GDK_DISPLAY.
5084 * registryd/deviceeventcontroller.c
5085 (spi_controller_deregister_device_listener): unroll into
5086 (impl_deregister_keystroke_listener): here to simplify.
5087 (spi_controller_register_global_keygrabs): split cut and
5088 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5089 (spi_controller_deregister_device_listener): remove.
5090 (impl_register_mouse_listener): remove, no mouse listener
5091 support in at-spi-1.0
5093 * registryd/registry.c
5094 (_device_event_controller_hook): kill.
5095 (spi_registry_init): upd.
5097 * registryd/deviceeventcontroller.c
5098 (spi_device_event_controller_class_init): upd.
5099 (spi_check_key_event): merge into.
5100 (spi_device_event_controller_check_key_event):
5101 here and kill strange static ev init, don't leak
5102 the x_event - nor dynamicaly allocate it.
5104 * registryd/registry-main.c (main): re-direct
5105 timeout to remove strange vtable mess.
5107 * registryd/deviceeventcontroller.c
5108 (remove_listener_cb): impl.
5109 (spi_controller_deregister_device_listener):
5110 fix re-enterancy hazard.
5112 2002-01-07 Michael Meeks <michael@ximian.com>
5114 * registryd/deviceeventcontroller.c
5115 (spi_device_event_controller_new): upd.
5116 (impl_notify_listeners_sync): upd. debug.
5117 (spi_notify_keylisteners): fix re-enterancy hazards,
5118 prettify, remove O(n*n) iteration.
5119 (spi_controller_grab_keyboard): fix iteration.
5120 (spi_check_key_event): re-format to suit coding style.
5121 Clean all the warnings - we're warning free.
5123 * registryd/deviceeventcontroller.h:
5124 * registryd/registry.h: make mutualy referential with
5125 typesafe forward references instead of (!) void pointer
5128 2002-01-11 Michael Meeks <michael@ximian.com>
5130 * cspi/spi_accessible.c (role_names): add a role name
5131 to sync this array with the enum; and make the regression
5134 2002-01-10 Michael Meeks <michael@ximian.com>
5136 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5137 allow expansion of enumeration & kill warning.
5139 * test/test-simple.c (key_listener_cb): impl.
5140 (test_keylisteners): impl.
5142 * cspi/spi-listener.h: make listener signatures const
5143 on the provided (const) events.
5145 * test/keysynth-demo.c: upd. to const events.
5147 * test/simple-at.c: ditto.
5149 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5152 Rev the version to 0.5 (the previous tarball was named 0.4,
5153 even though the micro number was 3), so we need to rev upwards
5154 again for beta2/"desktop-alpha"
5157 Checked in a demo script, which requires editing before use!
5158 Proceed with caution.
5161 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5163 * cspi/spi_accessible.c:
5164 Add a couple of missing enum initializations, and fix some enum
5167 * cspi/spi_registry.c:
5168 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5170 * docs/reference/cspi/at-spi-cspi-sections.txt:
5171 Remove/fix a couple of broken document references.
5174 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5175 as Alt-Control to listen for commands, since on some systems
5176 Control-Alt may already be grabbed.
5178 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5181 Update version number to 0.4 for Beta2.
5183 * libspi/accessible.c, libspi/accessible.h:
5184 Expose spi_accessible_construct, to enable libgail-gnome
5185 construction from spi_accessible subtype.
5187 * utils/magnifier.c:
5188 Workaround for bug in some non-gnome-compliant window managers
5189 which made magnifier resize improperly.
5191 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5193 * libspi/accessible.c: (spi_accessible_new) :
5194 Move the test for SPI_IS_REMOTE_OBJECT to
5195 spi_accessible_new_return, fixing a bug and compile time warning.
5197 2002-01-08 Michael Meeks <michael@ximian.com>
5199 * registryd/registry.c (parse_event_type): remove strndup.
5201 * libspi/Makefile.am (libspi_la_SOURCES): remove
5202 sources already included in the headers section.
5204 * libspi/util.c: add.
5206 * libspi/spi-private.h: add.
5208 * registryd/registry.c: update to moved list iterators.
5210 2002-01-05 Michael Meeks <michael@ximian.com>
5212 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5214 * test/test-simple.c (main): ditto.
5216 2002-01-04 Michael Meeks <michael@ximian.com>
5218 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5219 redundant construct.
5221 * registryd/registry.c
5222 (get_listener_list): impl.
5223 (impl_accessibility_registry_register_global_event_listener):
5224 re-impl. to simplify using ~, remove dodgy const cast off.
5225 (parse_event_type): constify.
5226 (impl_accessibility_registry_deregister_global_event_listener_all):
5227 re-write, more efficiency and simplicity, kill re-enterancy
5229 (compare_listener_corbaref, compare_corba_objects),
5230 (compare_listener_quarks): define out.
5231 (impl_accessibility_registry_deregister_global_event_listener):
5232 re-write for effiency, and nail re-enterancy hazard.
5233 (impl_accessibility_registry_get_desktop_list): impl.
5234 (re_enterant_list_delete_link): impl.
5235 (re_enterant_list_foreach): impl.
5236 (remove_listener_cb): impl.
5237 (_registry_notify_listeners): kill.
5238 (notify_listeners_cb): impl.
5240 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5241 (SPI_getDesktopList): impl.
5243 * test/test-simple.c (test_desktop): test the methods.
5245 2002-01-03 Michael Meeks <michael@ximian.com>
5247 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5248 keystrings since we free them
5249 (SPI_freeAccessibleKeySet): in here.
5251 * libspi/accessible.c (spi_accessible_new): kill warning,
5252 wonder what is going on with the constructor here.
5254 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5256 * libspi/accessible.c (spi_accessible_new ()) :
5257 Added check to see if AtkObject is an SpiRemoteObject before
5258 creating an SpiAccessible.
5260 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5262 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5263 Enable keygrabs using the Control modifier, now that they are
5264 working properly (they were previously disabled).
5267 Change the command keygrab for this demo to "Control+Alt", so as
5268 to conflict with fewer other key commands on the system; this
5269 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5271 Removed a pointlessly-chatty keylistener for unshifted keys
5272 (shifted keys are still reported).
5274 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5276 * libspi/remoteobject.h:
5277 * libspi/remoteobject.c:
5278 Added definitions for special AtkObject subtype, required for
5279 support of remote components (specifically, used by BonoboControl
5280 accessibility implementation).
5282 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5284 * cspi/spi.h: synched relation types with ATK
5286 * cspi/spi_accessible.c: Added implementations of
5287 AcccessibleRelation_* methods
5289 * idl/Accessibility_Relation.idl: added getRelationTypeName
5290 method. Synched known relation types with ATK. Allowed for
5291 relation type extension with the RELATION_EXTENDED type.
5293 * libspi/relation.c: Provided implementations for
5294 AccessibleRelation methods.
5296 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5298 API tweaks for today's API 'freeze'.
5301 Added placeholder functions to allow future compatible expansion
5302 of the IDL interfaces.
5304 * idl/Accessibility_Registry.idl:
5305 Changed generateKeyEvent to generateKeyboardEvent. Changed
5306 signature of this method to accept an optional keystring in
5307 parameter (for complex text input synthesis) and changed use of
5308 simple 'boolean' parameter in registerKeystrokeListener to a
5309 struct, EventListenerMode.
5311 * cspi/spi_accessible.c:
5313 * cspi/spi_streamablecontent.c:
5314 Added references to AccessibleStreamableContent interface, and
5315 definition and implementation of AccessibleStreamableContent
5318 * cspi/spi_registry.c:
5320 Changed generateKeyEvent API to generateKeyboardEvent,
5321 taking a new (optional) keystring parameter to support complex
5326 Renamed directory (to better reflect its actual purpose, bridging
5327 from at-spi to ATK). The .so module is also now named
5330 * idl/Accessibility_Hypertext.idl:
5331 * libspi/accessible.c:
5332 * libspi/hypertext.h:
5333 * libspi/hypertext.c:
5334 Changed Accessibility_Hypertext to *not* derive from
5337 * cspi/spi_registry.c:
5338 Added list of legal event type names for 'window' events, which
5339 completes the registry event API.
5341 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5343 * at-bridge/bridge.c: Added registration for separate
5344 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5345 signals. If either of the first two parameters to the generic
5346 bridge signal handler are ints, they are passed on as event
5347 details. This allows an AT to determine what text was inserted.
5349 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5351 * registryd/deviceeventcontroller.c:
5352 Fixed regressions in generateKeyEvent caused by the removal of
5353 gdk_init from registryd; we now use pure X calls to connect to the
5354 display, which makes sense because deviceeventcontroller already
5355 uses a fair bit of X API (should eventually be migrated to a
5356 'portability layer').
5358 * registryd/desktop.c:
5359 Fixed minor regression in spi_desktop_init, changed the way the
5360 desktop name is being set to work with new spi_base API
5361 (gobject-based, rather than AtkObject-based).
5363 * registryd/Makefile.am:
5364 Minor revision of makefile to use XTST_LIBS variable rather than
5365 hard-wiring the Xtst LD_ADD element.
5367 * test/keysynth-demo.c:
5368 Tweaked an output message; added initialization of the
5369 'keystrings' member of the "switch listener" key_set.
5371 * libspi/relation.c:
5372 Squashed compile-time warning.
5374 * libspi/accessible.c:
5375 Cosmetic and formatting fixes, renamed a static method.
5377 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5379 * libspi/accessible.c
5381 * libspi/application.c
5384 * libspi/component.c
5385 * libspi/editabletext.c
5386 * libspi/hyperlink.c
5387 * libspi/hypertext.c
5389 * libspi/selection.c
5393 * registryd/desktop.c:
5394 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5396 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5398 * idl/Accessibility_Registry.idl:
5399 Added boolean member 'is_text' to DeviceEvent. This is for the
5400 use of key events, and helps prevent ambiguity between composed
5401 key strings and keysym names, since both may potentially be
5402 returned in the 'event_string' member.
5404 * at-bridge/bridge.c:
5405 * registryd/deviceeventcontroller.c:
5406 Use the 'is_text' member when notifying device event listeners.
5407 Knon issue: composed characters are not dealt with correctly by
5408 the global key listener implementation yet.
5410 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5412 * at-bridge/bridge.c:
5413 Namespaced local static methods to spi_atk_bridge_* where
5414 previously named bridge_*, and spi_* elsewhere.
5416 * at-bridge/bridge.c:
5417 * cspi/bonobo/cspi-bonobo-listener.c:
5418 Added demarshalling/conversion for string member of
5419 Accessibility_DeviceEvent to AccessibleKeystroke.
5421 * registryd/deviceeventcontroller.c:
5422 Added code to fill the Accessibility_DeviceEvent key string value
5423 member for global key events (i.e. from XGrabKey), to match
5424 behavior of Accessibility_DeviceEvent from the toolkit key events
5425 from the bridge. Fixed timestamp in global key event notifications.
5428 Added printout of key event's string value to
5429 report_ordinary_key_event, for demo/debugging purposes.
5431 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5433 * idl/Accessibility_Registry.idl:
5434 Removed Accessibility_KeyStroke structure in favor of generic
5435 Accessibility_DeviceEvent structure.
5436 Changed Accessibility_ControllerEventMask from a struct to an
5439 * at-bridge/bridge.c:
5440 Changed APIs to use DeviceEvent structure as above, and removed
5441 bogus casting between these event structures.
5443 * cspi/spi-listener.h:
5444 Added keystring member of AccessibleKeystroke structure, to enable
5445 matching on event "names" rather than only hardware codes and
5449 Added keystrings member of AccessibleKeySet struct, to allow
5450 matching on event names (as above).
5451 Added declarations for SPI_createAccessibleKeySet and
5452 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5453 event modmasks directly as unsigned ints rather than structs with
5454 refcounts, in the DeviceEventController methods.
5456 * cspi/spi_registry.c:
5457 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5459 * cspi/spi-roletypes.h:
5460 Added documentation of newly added SPI Roles.
5462 * cspi/bonobo/cspi-bonobo-listener.c:
5463 Changes in support of API changes above.
5465 * libspi/accessible.c:
5466 Converted APIs to use DeviceEvent structure (see IDL changes
5469 * registryd/deviceeventcontroller.c:
5470 Added DEControllerGrabMask structure to track keygrabs not only by
5471 modmask but by keyset as well; this allows us to do "global"
5472 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5473 grabbing on AnyKey and then filtering after-the-fact.
5474 Bugfixes for event filtration mean that we don't get false matches
5475 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5477 * registryd/deviceeventcontroller.c:
5478 Namespaced a number of static methods to use spi_ prefix. Major
5479 revision to internals of global (i.e. X) key grabs.
5481 * registryd/deviceeventcontroller.h:
5482 Removed keymask_list and added keygrabs_list to
5483 SpiDeviceEventController struct.
5486 Added use of SPI_createAccessibleKeySet API when creating a
5487 listener for only one key. Attach a listener to "shift spacebar
5488 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5489 X key event names to SPI key event names, so that listeners are
5490 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5492 * test/keysynth-demo.c:
5493 Changed (incorrect) use of X key event names (KeyPressed,
5494 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5497 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5499 * libspi/accessible.c:
5500 Convert all AtkRole enumerations to Accessibility_Role enums when
5501 getting a role from an AtkObject.
5503 * cspi/spi_accessible.c:
5504 Complete the conversion of Accessibility_Role enums at runtime to
5505 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5506 role enums correctly match those given in spi-roletypes.h.
5507 Re-synchronize the local names list for AccessibleRole_getName ().
5508 AccessibleRole_getName is now deprecated, since it duplicates the
5509 more reliable Accessible_getRoleName.
5510 Added some role types from Accessibility_Role.idl.
5512 * idl/Accessibility_Role.idl:
5513 Added some role types used by AtkRole.
5515 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5518 * cspi/spi_registry.c:
5520 * cspi/cspi-bonobo-listener.c:
5521 Namespaced all methods that did not begin with an "SPI_" or
5522 "Accessible" prefix to "SPI_".
5525 Homogenized internal function namespace to "cspi_" for statics.
5528 Patched tests to use the new CSPI API.
5530 * docs/reference/cspi/at-spi-cspi-sections.txt:
5531 Updated docs to reflect namespace changes, and added a number of
5532 methods to the documentation.
5534 * registryd/registry.c:
5535 Changed use of strings and string hashes in listener event
5536 matching and parse_event_string to use GQuark, which is guaranteed
5539 * registryd/registry.h:
5540 Squashed annoying warning.
5542 * idl/Accessibility_Role.idl:
5543 Extended range of available Accessibility_Role values.
5545 * cspi/spi_accessible.c:
5546 Re-ordered role names.
5548 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5550 * idl/Accessibility_Value.idl:
5551 Revert use of union back to CORBA_double, since the double type is
5552 more efficient and can contain the other types without loss of
5555 * idl/Accessibility_Accessible.idl:
5556 Added method Accessibility:Accessible:getRoleName, to complement
5557 Accessibility:Accessible:getRole.
5559 * cspi/spi_accessible.c:
5561 Added C binding for above, Accessible_getRoleName (), and changed
5562 signature of Accessible_getRole () to return an AccessibleRole.
5564 * cspi/spi-roletypes.h:
5565 Changed AccessibleRole_getName to return a char * instead of a
5566 const char *. This method is now at least temporarily deprecated
5567 in favor of asking Accessibles for their RoleNames directly.
5570 Revert to match Accessibility_Value.idl;
5574 Change signature of AccessibleValue methods to use double rather
5578 * cspi/spi_accessible.c:
5579 Changed Accessible_getRole to return an AccessibleRole enum rather
5580 than a UTF-8 string. The UTF-8 string can still be obtained via
5581 AccessibleRole_getName ().
5583 * test/test-simple.c:
5584 Add test_action. Small fixup to match API change to Accessible_getRole.
5587 Bugfix for get_action_from_servant ().
5589 2001-12-11 Michael Meeks <michael@ximian.com>
5591 * libspi/libspi.h: remove registry.h and
5592 desktop.h, deviceeventcontroller.h
5594 * libspi/Makefile.am: remove registry.[ch],
5595 desktop.[ch], deviceeventcontroller.[ch]
5597 * registryd/Makefile.am: add registry.[ch],
5598 desktop.[ch], rename registryd.c to registry-main.c.
5599 add deviceeventcontroller.[ch]
5601 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5604 Replace setenv() call with putenv ().
5606 * libspi/component.c:
5607 Bugfix in AccessibleComponent_getExtents (),
5610 2001-12-11 Michael Meeks <michael@ximian.com>
5612 * libspi/image.c (impl_getImageExtents): impl.
5613 (spi_image_class_init): upd.
5616 (AccessibleImage_getImageDescription): fix daft bug
5619 * test/test-simple.c (global_listener_cb): update
5620 to only quit if not --poke
5621 (main): catch --poke.
5622 (validate_accessible): upd. dumping, call test_image
5625 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5628 * idl/Accessibility.idl: update all IDL includes.
5630 * idl/*.idl - rename to namespace - this sucks, blame
5631 mjs' bad decision for oafd.
5633 * test/test-simple.c (create_test_window): add more tests.
5634 (create_tree): split this out.
5635 (validate_accessible): bugfix.
5637 2001-12-11 Michael Meeks <michael@ximian.com>
5639 * cspi/bonobo/cspi-bonobo-listener.c:
5640 (cspi_kestroke_listener_unref),
5641 (cspi_event_listener_unref): impl. undoing previous
5642 homenous environment - for Bill.
5644 * cspi/spi_table.c (long_seq_to_array): use
5647 * cspi/spi_main.c: split out all bonoboish bits into
5650 * cspi/spi-impl.h: upd. typedefs.
5652 * cspi/spi_registry.c: update to lowlevel API,
5653 return booleans to indicate success in some places.
5655 * cspi/spi_event.c: update to lowlevel API.
5657 * cspi/bonobo/Makefile.am: add.
5659 * cspi/bonobo/cspi-lowlevel.h: add
5661 * cspi/bonobo/cspi-bonobo.c: add
5663 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5665 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5666 (SUBDIRS): add bonobo, link in the libs.
5668 * cspi/spi-util.c: kill this file.
5670 * TODO: merge in my bits.
5672 2001-12-11 Michael Meeks <michael@ximian.com>
5674 * test/test-simple.c (test_value, test_table, main):
5675 remove unused variables causing warnings.
5677 * configure.in: cleanup checks - require gail.
5679 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5682 Changed Value interface to use SValue (scalars) rather than
5683 assuming all values are floats. This allows floats, doubles,
5684 longs, shorts, and unsigned values to be manipulated.
5685 Introduced Accessibility:SValue union.
5688 Updated to use new API above, and to work correctly with GValues
5689 of different types in AtkValue.
5692 Updated to use new API above. cspi's API is as yet unchanged.
5695 Updated the Value revision action item.
5697 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5699 * test/test-simple.c:
5700 Added test_table (GtkTreeView widget in test window to follow).
5701 Un-commented test_value, added GtkRange widget.
5702 Added GtkTreeView widget with GtkListStore. It passes regression
5703 test but leaks one SPI object for some reason.
5706 Fixed bug in impl__set_currentValue.
5708 2001-12-10 Michael Meeks <michael@ximian.com>
5710 * cspi/spi_text.c: audit for exception handling,
5711 tolerating NULL object references safely etc.
5713 * cspi/spi_value.c: ditto.
5715 * cspi/spi_table.c (AccessibleTable_getSummary),
5716 (AccessibleTable_getAccessibleAt),
5717 (AccessibleTable_getRowHeader),
5718 (AccessibleTable_getColumnHeader),
5719 (AccessibleTable_getCaption): fix bugs hidden by
5721 (long_seq_to_array): impl.
5722 (AccessibleTable_getSelectedRows),
5723 (AccessibleTable_getSelectedColumns): use it.
5725 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5728 Added a TODO list (rough and short for now).
5730 * cspi/spi_hyperlink.c:
5731 * cspi/spi_hypertext.c:
5732 Fixed macro name typos, and remove use of obsolete macro in
5733 AccessibleHyperlink_getLink.
5735 * cspi/spi_action.c:
5736 * cspi/spi_accessible.c:
5737 * cspi/spi_application.c:
5738 * cspi/spi_component.c:
5739 * cspi/spi_selection.c:
5742 Documentation fixes (removed return values from ref/unref methods).
5744 2001-12-10 Michael Meeks <michael@ximian.com>
5746 * cspi/spi_action.c: audit for exception handling,
5747 tolerating NULL object references safely etc.
5749 * cspi/spi_accessible.c: ditto.
5751 * cspi/spi_component.c: ditto.
5753 * cspi/spi_editabletext.c: ditto.
5755 * cspi/spi_hyperlink.c: ditto.
5757 * cspi/spi_hypertext.c: ditto.
5759 * cspi/spi_image.c: ditto.
5761 * cspi/spi_selection.c: ditto.
5763 2001-12-10 Michael Meeks <michael@ximian.com>
5765 * configure.in: use cspi/libspi.pc.in instead.
5767 * Makefile.am (pkgconfig_DATA): upd. to match.
5769 * test/simple-at.c (report_focus_event): kill hacks around
5770 bad return values, use putenv not setenv
5772 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5773 fire ChildGone - I killed it.
5775 * libspi/component.c
5776 (impl_accessibility_component_get_extents): remove
5779 * idl/Accessible.idl: kill ChildGone exception.
5781 * cspi/*.[ch]: kill int return from ref / unref.
5783 * cspi/spi_main.c (cspi_object_add_check): fold into
5784 (cspi_object_add): here.
5786 * cspi/spi_component.c (AccessibleComponent_getExtents):
5787 handle exceptions elegantly.
5789 * cspi/spi-private.h (cspi_check_ev_return),
5790 (cspi_return_if_fail): impl.
5792 * cspi/spi_accessible.c: use extensively.
5793 (AccessibleStateSet_equals): add direct compare check.
5795 * cspi/spi_selection.c: tolerate NULL objs, and check
5796 exceptions before return.
5798 * cspi/spi-util.c (cspi_warn_ev): rename to
5799 (cspi_check_ev): this & don't pass ev in; no point.
5801 2001-12-10 Michael Meeks <michael@ximian.com>
5803 * test/test-simple.c: use putenv not setenv
5804 (get_environment_vars): more chatty if you're not using
5807 * test/simple-at.c: do the setenv so more people see the
5810 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5812 * libspi/registry.c:
5813 Changed check of CORBA_environment on notification to be a warning
5814 instead of an error for the moment, since we can recover from this
5815 error when caused by a queued notification from a dead app.
5818 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5819 used by all current implementors of AtkValue), and coerce to
5820 CORBA_float. (Proper general case fix may require change to Value.idl).
5822 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5826 * cspi/spi_accessible.c:
5827 Documentation fixes: added user_data params to documentation for
5828 listeners and callbacks.
5830 * cspi/spi_accessible.c:
5831 Changed AccessibleStateSet_compare to return a
5832 StateSet rather than return the difference set into a third parameter.
5835 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5838 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5839 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5843 Remove subdirectory po from SUBDIRS for now.
5845 * at-bridge/bridge.c:
5846 Beefed up a couple of debug printouts.
5847 One-line fix for signal notification name formatting.
5849 * libspi/accessible.c:
5850 Added assertion to spi_accessible_new ().
5852 * libspi/application.c:
5853 Put #ifdef qualifiers around a printf.
5856 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5858 * registryd/Makefile.am:
5860 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5861 INTLTOOL_SERVER_RULE macro.
5864 Added an event listener for several ATK signals, for
5865 testing and debugging. Removed a few g_warnings.
5866 Added test output if focussed item implements the Value interface.
5868 * test/test-simple.c:
5869 Added test_value () function (known not to pass at the moment, so
5870 not actually called yet.
5872 2001-12-08 Michael Meeks <michael@ximian.com>
5874 * at-bridge/bridge.c (bridge_focus_tracker),
5875 (emit_eventv): fix the same ref. leak.
5876 (register_atk_event_listeners): don't leak.
5878 * cspi/spi-listener-impl.c (cspi_event): more
5879 protection from client code.
5881 * test/test-simple.c (test_desktop): unref the app.
5883 * test/Makefile.am: upd. TESTS.
5885 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5887 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5889 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5891 * cspi/spi_registry.c: constify in strings.
5892 (deregisterGlobalEventListenerAll): don't release the ref.
5894 * cspi/spi.h: start removing redundant / conflicting
5895 gtkdoc comments, making the API readable at a glance :-)
5897 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5899 * test/keysynth-demo.c (keysynth_exit, main): upd.
5901 * test/simple-at.c (main, simple_at_exit): upd.
5903 * test/test-simple.c (unutterable_horror): kill.
5904 (utterable_normal_derefs): kill.
5905 (main): upd & do a setenv before gtk_init, so that we
5906 can use memprof - and to save the pain of remembering
5907 this, if we're running under memprof - don't exit.
5909 * cspi/spi_main.c (SPI_exit): return exit status
5911 (SPI_event_quit): impl.
5912 (SPI_event_main): simplify.
5913 (cspi_is_gnome_app): kill.
5914 (SPI_init): kill isGNOMEapp arg.
5916 * at-bridge/bridge.c (register_atk_event_listeners):
5917 re-instate the unref.
5918 (bridge_exit_func): don't re-activate the registry,
5919 protect vs. theoretical re-entry, use the
5920 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5921 assert a clean shutdown - for regression tests.
5923 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5925 * configure.in: Comment out dummy i18n support for now,
5926 otherwise it fails to build.
5927 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5928 EXTRA_DIST. They are missing in tarball.
5930 2001-12-07 Michael Meeks <michael@ximian.com>
5932 * util/magnifier.c: kill bonobo activation reg. race.
5934 * libspi/component.c
5935 (impl_accessibility_component_get_extents): make it match
5938 * libspi/registry.c (_registry_notify_listeners):
5939 re-remove X headers & reconcile conflicts.
5940 (spi_listener_struct_free): bad conflict resolve.
5941 (impl_accessibility_registry_register_application):
5942 more bad merging fixed.
5943 (impl_accessibility_registry_deregister_application): ditto.
5944 (spi_registry_new): ditto.
5945 (spi_registry_init): don't have an applications field.
5947 [ merge fixups2 branch to here ]
5948 2001-12-07 Michael Meeks <michael@ximian.com>
5950 * test/simple-at.c (report_focus_event),
5951 (report_focussed_accessible): remove g_warning debug.
5953 2001-12-07 Michael Meeks <michael@ximian.com>
5955 * test/test-simple.c (validate_tree): comment out some checks.
5956 (test_desktop): app now not registered idly - horay.
5958 2001-12-07 Michael Meeks <michael@ximian.com>
5960 * cspi/spi_registry.c
5961 (registerAccessibleKeystrokeListener): clean, stop it leaking
5962 great swathes of memory, and device event controller references.
5963 ensure we always pass valid sequences.
5964 (deregisterAccessibleKeystrokeListener): ditto.
5965 (generateKeyEvent): upd.
5967 * at-bridge/bridge.c (bridge_key_listener): handle
5968 registry dead exception gracefully.
5969 (bridge_focus_tracker, emit_eventv): free ev.
5971 * test/simple-at.c (report_focus_event): fix polarity.
5973 * libspi/application.c (notify_listeners): kill the ev
5974 argument, and make sure we init the ev we use.
5975 (spi_application_object_event_listener): split out a chunk
5976 (get_atk_object_ref): here & fixup.
5977 (reverse_lookup_name_for_toolkit_event): make const.
5978 (spi_application_toolkit_event_listener): fixup, kill leaks
5981 * at-bridge/bridge.c (register_atk_event_listeners):
5982 don't unref the noop object - causes grief.
5984 * libspi/registry.c: remove the X headers.
5985 turn off the debug churn.
5987 * libspi/accessible.c (spi_accessible_new_return): only
5988 release the ref if we are supposed to [doh]
5990 * test/simple-at.c (report_button_press, report_focus_event):
5991 guard vs. unexpected exit.
5993 * at-bridge/bridge.c (gtk_module_init): prune printf.
5994 (bridge_exit_func): fix app unref.
5996 * libspi/Makefile.am: don't install registry or desktop.h
5998 * libspi/*.h: update includes.
6000 * libspi/application.h: don't include ourself, or
6001 other redundant headers.
6003 2001-12-06 Michael Meeks <michael@ximian.com>
6005 * libspi/accessible.c
6006 (get_accessible_from_servant): impl.
6007 Upd. all CORBA impl.s to use it killing cut and paste.
6009 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6011 (SPI_init): register atexit cleanup handler here.
6013 2001-12-06 Michael Meeks <michael@ximian.com>
6015 * at-bridge/bridge.c (gtk_module_init): g_error on
6016 activation exception
6018 2001-12-06 Michael Meeks <michael@ximian.com>
6020 * at-bridge/bridge.c (gtk_module_init): some sort of
6021 confusing merge clash - reverted.
6022 (bridge_idle_init): ditto.
6024 * test/test-simple.c (main, utterable_normal_derefs):
6025 merge from Bill - somehow not committed.
6027 2001-12-06 Michael Meeks <michael@ximian.com>
6029 * libspi/value.c (spi_value_class_init): upd.
6030 (spi_value_finalize): kill.
6032 * libspi/table.c (spi_table_finalize): kill.
6033 (spi_table_interface_new): upd.
6034 (spi_table_class_init): upd.
6035 (get_table_from_servant): impl.
6036 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6038 * libspi/selection.c (spi_selection_finalize): kill.
6039 (spi_selection_interface_new): upd.
6040 (spi_selection_class_init): upd.
6041 (get_selection_from_servant): impl.
6042 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6044 * libspi/relation.c (spi_relation_finalize): kill.
6045 (spi_relation_class_init, spi_relation_new): upd
6047 * libspi/image.c (spi_image_finalize): kill.
6048 (spi_image_class_init): upd.
6049 (spi_image_interface_new): upd.
6050 (get_image_from_servant): impl.
6051 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6053 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6054 (spi_hyperlink_finalize): kill.
6055 (spi_hyperlink_new): upd.
6056 (get_hyperlink_from_servant): impl.
6057 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6059 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6060 (spi_hypertext_finalize): kill.
6061 (spi_hypertext_class_init): upd.
6062 (get_hypertext_from_servant): impl.
6063 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6065 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6066 (spi_editable_text_interface_new): upd.
6067 (get_editable_text_from_servant): impl.
6068 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6070 * libspi/text.c (get_text_from_servant): impl.
6071 All impls - update to use it killing more cut and paste,
6072 also fix bad string returns on duff args ( a somewhat
6073 impossible case to handle - but hey ).
6074 (spi_text_construct): impl.
6075 (spi_text_interface_new): upd.
6076 (spi_text_object_finalize): kill.
6078 * libspi/component.c
6079 (accessibility_component_object_finalize): kill.
6080 (spi_component_class_init): upd.
6081 (get_component_from_servant): impl. helper to kill cut & paste.
6082 (impl_accessibility_component_contains):
6083 (impl_accessibility_component_get_accessible_at_point):
6084 (impl_accessibility_component_get_position):
6085 (impl_accessibility_component_get_extents):
6086 (impl_accessibility_component_get_mdi_z_order):
6087 (impl_accessibility_component_get_layer):
6088 (spi_component_interface_new): upd.
6090 * libspi/action.c (spi_action_finalize): kill.
6091 (spi_action_class_init): upd. inherit from SpiObject.
6092 (spi_action_interface_new): upd.
6093 (get_action_from_servant): impl. helper to reduce cut & paste.
6094 (impl_getKeyBinding, impl_getName, impl_doAction),
6095 (impl_getDescription): Use it everywhere.
6097 * cspi/spi_main.c (get_live_refs): a pointer hash.
6098 (spi_object_hash, spi_object_equal): comment out.
6099 There are issues with CORBA object hashing that need
6102 * libspi/application.c (spi_application_init),
6103 (spi_application_new): upd.
6105 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6106 (spi_accessible_class_init): upd.
6107 s/accessible/object/ in epv methods.
6109 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6111 * at-bridge/bridge.c:
6112 Reorder the bridge initialization into the bridge gtk_module_init,
6113 an immediate call to bridge_register_app, and an idle_add for
6114 register_atk_event_listeners (the only code that *must* wait until
6115 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6116 the activation, creates the application's Accessible object, and
6117 queues the bridge_idle_init function. Restored call to
6118 Accessibility_Registry_deregisterApplication().
6119 Prior to making this call we obtain a new reference to the
6120 registry, which is a temporary hack that helps us handle apps that
6121 shut down the bonobo mainloop before we get there.
6123 * libspi/registry.c:
6124 Fix string leakage in debug block, and don't segv if a an app
6125 dies before its event notifications have been propagated.
6128 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6129 as stopgap measure until we get proper exception handling when
6130 objects die during or before interrogation.
6134 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6135 Also changed default value of is_gnome_app to TRUE.
6138 * test/keysynth-demo.c:
6139 Changed use of SPI_init and SPI_event_main to reflect API change above.
6142 Made report_focus_event check the warning value from getName
6143 before reporting on focussed accessible; simplifies handling of
6144 notifications from dead objects.
6146 * test/test-simple.c: (Changes not in this patch since source is
6149 2001-12-05 Michael Meeks <michael@ximian.com>
6151 * registryd/registryd.c (main): protect against
6152 bonobo-activation startup race condition.
6154 * cspi/spi_main.c (cspi_object_add_check): cope
6155 with the exception elegantly.
6157 * idl/Accessible.idl: decl. ChildGone
6159 * libspi/desktop.c (spi_desktop_dispose): impl.
6160 (spi_desktop_class_init): upd.
6161 (spi_desktop_add_application),
6162 (spi_desktop_remove_application),
6163 (abnormal_application_termination): impl.
6164 (impl_desktop_get_child_at_index): re-impl.
6167 (impl_accessibility_registry_deregister_application),
6168 (impl_accessibility_registry_register_application):
6169 kill excessive debug clutter.
6171 * test/test-simple.c (test_misc): test some NULL
6172 tolerance. (main): upd.
6174 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6175 implements no interfaces - so let's not crash.
6177 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6179 * libspi/accessible.c (spi_accessible_new_return): impl.
6180 helper to calm the cut and paste, to cope with
6181 NULL AtkObjects effectively and efficiently, and to kill
6182 the referencing bugs.
6184 * libspi/table.c (impl_getAccessibleAt),
6185 (impl_getRowHeader, impl_getColumnHeader): upd.
6187 * libspi/hyperlink.c (impl_getObject): upd.
6189 * libspi/accessible.c
6190 (impl_accessibility_accessible_get_child_at_index): upd.
6192 * libspi/component.c
6193 (impl_accessibility_component_get_accessible_at_point): upd.
6195 * test/test-simple.c (test_editable_text, test_text): impl.
6198 * cspi/spi_editabletext.c
6199 (AccessibleEditableText_insertText): constify.
6201 * test/test-simple.c (focus_me): make more robust.
6203 * libspi/accessible.c: remove some printfs in methods that
6204 we test and work fine, so we can get a clean tree dump.
6206 * test/test-simple.c (validate_accessible),
6207 (validate_tree): make tree dumping pretty too.
6209 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6210 it builds without debug on.
6212 * test/test-simple.c (validate_accessible): fix the most
6215 * cspi/spi_main.c (spi_object_release): leave the nicely
6216 blanked memory around if in debug mode.
6218 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6220 [committed to fixups2]
6221 2001-12-05 Michael Meeks <michael@ximian.com>
6223 * libspi/editabletext.c
6224 (spi_editable_text_class_init): g_type_class_peek_parent,
6225 not interface peek - so we finalize cleanly.
6227 * libspi/accessible.c (spi_accessible_new): kill debug.
6229 * test/test-simple.c (validate_accessible): fix ref.
6230 leak, print strings before freeing them; sigh, comment a
6231 chunk out due to strangeness.
6232 (validate_tree): unref the child after use.
6234 * cspi/spi_component.c (AccessibleComponent_getLayer):
6235 add missing break statement, switch on zlayer not the
6236 uninitialized retval.
6238 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6239 before (possibly re-entering) remote unref.
6241 * test/simple-at.c (main): unref the desktop.
6243 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6246 * cspi/spi_main.c (cspi_accessible_is_a): here to
6247 isolate bonobo API usage more.
6249 * libspi/registry.c (impl_accessibility_registry_register_application):
6250 prune bogus comment.
6252 2001-12-04 Michael Meeks <michael@ximian.com>
6254 * test/test-simple.c (validate_tree): upd.
6255 IndexInParent check to make it more lucid.
6256 (validate_accessible): dump the tree.
6258 * libspi/accessible.c (de_register_public_ref),
6259 (get_public_refs): impl.
6260 (spi_accessible_new): make more efficient & intuitive.
6261 Now IndexInParent check works.
6263 2001-12-04 Michael Meeks <michael@ximian.com>
6265 * cspi/spi-util.h: remove.
6267 * cspi/spi.h: move SPI_freeString here
6269 * libspi/component.c (impl_accessibility_component_get_layer):
6271 (impl_accessibility_component_get_mdi_z_order): ditto,
6272 return -1 on error - is this ok ?
6274 * test/test-simple.c (test_application): impl.
6276 * cspi/spi_accessible.c (Accessible_getApplication),
6277 (Accessible_isApplication): impl.
6279 * libspi/registry.c (spi_listener_struct_free): release
6280 the CORBA reference too.
6282 * libspi/accessible.c
6283 (impl_accessibility_accessible_get_parent): fix ref leak.
6285 * libspi/registry.c (spi_registry_new): make the registry
6286 immortal - we don't want it to go away ever.
6288 * libspi/application.c
6289 (spi_accessible_application_finalize): impl. cleanup.
6291 * cspi/spi_registry.c
6292 (deregisterGlobalEventListenerAll),
6293 (deregisterGlobalEventListener),
6294 (deregisterAccessibleKeystrokeListener): fix ref leak.
6296 * cspi/spi_main.c (SPI_init): remove redundant ref.
6298 * test/test-simple.c (unutterable_horror): impl. to force a
6303 (impl_accessibility_registry_deregister_application): release
6304 the application when we de-register it.
6306 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6307 until we have the infastructure to get it right.
6309 2001-12-03 Michael Meeks <michael@ximian.com>
6311 * libspi/Makefile.am: only build eventlistener.[ch]
6313 * libspi/accessible.c
6314 (impl_accessibility_accessible_get_child_at_index): don't leak.
6316 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6317 before we hit the idle handler.
6319 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6320 debugging than exit.
6322 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6324 * libspi/listener.c (impl_notify_event): check source
6325 not NIL before unref.
6327 * libspi/registry.c (impl_registry_notify_event): ditto.
6329 * libspi/eventlistener.c
6330 (impl_accessible_event_notify_event): unref the source.
6332 * libspi/accessibleeventlistener.c
6333 (impl_accessible_event_notify_event): unref the source.
6335 * idl/Event.idl: remove 'hash_id' attribute - of no
6338 * libspi/application.c (notify_listeners): upd list
6340 (spi_application_object_event_listener),
6341 (spi_application_toolkit_event_listener): upd to do correct
6345 (_registry_notify_listeners): update.
6346 (parse_event_type): this method also leaks like a sieve.
6347 (impl_accessibility_registry_deregister_global_event_listener):
6348 fix ETYPE_WINDOW case.
6350 * libspi/application.c
6351 (impl_accessibility_application_register_object_event_listener):
6354 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6356 * libspi/hypertext.c (impl_getLink): ditto.
6358 * cspi/spi_main.c (cspi_object_add): remove
6359 bogus CORBA_Object_duplicate.
6361 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6364 * cspi/spi_accessible.c
6365 (Accessible_getRelationSet): fix leak / referencing issue.
6367 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6368 (cspi_object_add, cspi_object_unref): upd.
6369 (spi_object_release, get_live_refs): impl.
6370 (cspi_cleanup): simplify.
6372 * *.[ch]: s/boolean/SpiBoolean/
6374 * cspi/spi_accessible.c (role_names): actualy order so it
6375 corresponds with the enum !
6377 * test/test-simple.c (test_roles): check some role strings
6378 vs. enums to detect offset errors.
6380 2001-12-01 Michael Meeks <michael@ximian.com>
6382 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6384 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6386 (Accessible_getChildAtIndex): use cspi_add_check so we
6387 check the ev before using a (possibly) invalid value.
6389 * libspi/accessible.c
6390 (impl_accessibility_accessible_get_parent): don't segv
6393 * at-bridge/bridge.c (gtk_module_init): upd.
6394 (bridge_property_event_listener): don't leak strings
6396 (bridge_state_event_listener),
6397 (bridge_property_event_listener): don't use a static
6398 buffer in case of recursive event emission &
6399 re-enterancy - split out the swathe of cut and paste
6401 (emit_eventv): and fix 2 ref leaks here & comply to the
6403 (bridge_register_app): rename to
6404 (bridge_idle_init): this and kill arg parsing, split
6405 various inits & bonobo-activation registration to module
6406 init time, kill referencing error.
6407 (bridge_exit_func): fix the same leak.
6408 (bridge_focus_tracker): don't leak event structures
6410 (bridge_signal_listener): more leakage and cut & paste
6412 (bridge_key_listener): return the result - FIXME is
6413 this polarity correct ?
6414 (accessibility_keystroke_from_atk_key_event): rename
6415 (accessibility_init_keystroke_from_atk_key_event): and stop
6417 (gtk_module_init): return a value - not that it is checked by
6419 (bridge_key_listener): register my horror at casting between
6420 IDL defined structs.
6421 (bridge_get_registry): kill - not used.
6423 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6425 * test/test-simple.c (test_roles): impl.
6426 (test_desktop, validate_accessible, validate_tree): impl.
6428 * cspi/spi_accessible.c (role_names): fixup bogus
6429 MAX_ROLES setup, make constants const for efficient linkage
6430 (AccessibleRole_getName): conform to coding style, make
6433 2001-11-30 Michael Meeks <michael@ximian.com>
6435 * cspi/spi.h: add missing prototype.
6437 * libspi/registry.c (spi_listener_struct_new): fix sig.
6439 * test/Makefile.am: add test-simple
6441 * test/test-simple.c: add
6443 * test/test.sh: add.
6445 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6447 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6448 do it straight - since otherwise we often get an activation race.
6450 [ work before Bill duplicated a chunk of it ... ]
6451 2001-11-30 Michael Meeks <michael@ximian.com>
6453 * libspi/keystrokelistener.c
6454 (spi_keystroke_listener_class_init): fixup arg
6457 * libspi/eventlistener.c
6458 (spi_event_listener_class_init): ditto.
6460 * tests/test.sh: add.
6462 * cspi/spi-listener-impl.h: update macros.
6464 * cspi/spi-listener-impl.c
6465 (cspi_event_listener_remove_callback): add
6466 correct pre-conditions.
6468 * cspi/spi_main.c (SPI_exit): guard vs. double
6469 exits, exit the mainloop nicely.
6470 (SPI_event_main): make more sense.
6471 (SPI_init): move the atexit evilness here so we
6472 always do it (yuck).
6473 (SPI_event_main): upd.
6475 * test/simple-at.c: update for listener changes.
6477 * registryd/registryd.c (main): prune kruft.
6479 * libspi/libspi.h: upd.
6481 * libspi/eventlistener.[ch]: rename broken macros.
6483 * libspi/accessibleeventlistener.[ch]: remove.
6485 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6487 * test/test-simple.c: Add - automated tests.
6489 * cspi/spi-listener-impl.c (cspi_event),
6490 (cspi_key_event): add user_data to invoke.
6491 (cspi_keystroke_listener_finalize): impl.
6492 (cspi_keystroke_listener_class_init): upd.
6495 (createAccessibleEventListener),
6496 (AccessibleEventListener_addCallback),
6497 (createAccessibleKeystrokeListener),
6498 (AccessibleKeystrokeListener_addCallback): upd.
6500 * libspi/deviceeventcontroller.c
6501 (spi_device_event_controller_check_key_event): add public proto.
6504 (impl_accessibility_registry_deregister_global_event_listener):
6505 always init listeners.
6506 (_registry_notify_listeners): yes it is.
6508 * cspi/spi-listener-impl.c (cspi_key_event):
6510 (cspi_event_listener_finalize): impl.
6511 (cspi_event_listener_class_init): hook up.
6512 (event_handler_new, event_handler_free),
6513 (event_list_remove_by_callback): impl.
6514 (cspi_event_listener_remove_callback),
6515 (cspi_keystroke_listener_remove_callback),
6516 (cspi_keystroke_listener_add_callback),
6517 (cspi_event_listener_add_callback): upd.
6519 * libspi/keystrokelistener.c
6520 (keystroke_listener_object_finalize): kill
6521 (spi_keystroke_listener_class_init): upd.
6522 (spi_keystroke_listener_add_callback),
6523 (spi_keystroke_listener_remove_callback): kill,
6525 (impl_key_event): prune drasticaly.
6527 * libspi/eventlistener.c
6528 (spi_event_listener_add_callback),
6529 (spi_event_listener_remove_callback): kill, use
6531 (impl_accessible_event_notify_event): upd.
6532 (spi_event_listener_object_finalize): remove.
6534 * libspi/Makefile.am: use eventlistener.[ch]
6536 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6538 * libspi/registry.c (_registry_notify_listeners):
6539 Changed listener loop iteration to use preferred convention.
6540 Got rid of string memory leaks caused be calling g_strconcat
6541 inside function calls.
6543 * libspi/registry.c (parse_event_type):
6544 Stopped g_strconcat memory leaks, free the g_strsplit return,
6545 g_strdup the split pieces when used, etc.
6547 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6550 Change method 'compare' to return a 'difference set' rather than
6551 taking a StateSet as an out parameter (more Java-friendly).
6553 * idl/Accessible.idl:
6554 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6556 * idl/Component.idl:
6558 Changed methods 'getExtents' and 'getImageExtents' in these
6559 interfaces to return a BoundingBox structure.
6560 (getPosition and getSize are redundant and possibly should be
6561 removed, rather than creating a corresponding Point struct.)
6563 * cspi/spi_component.c:
6564 Modify implementation of getExtents to reflect the above IDL
6569 Add (missing) AccessibleImage_getExtents () API.
6571 * docs/reference/cspi/at-spi-cspi-sections.txt:
6572 Added AccessibleImage_getImageExtents () to docs.
6574 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6576 * idl/Component.idl:
6577 Added two methods, getLayer () and getMDIZOrder (), to reflect
6578 the new ATK methods atk_object_get_layer and
6579 atk_object_get_mdi_z_order. (Which arguably should be part of the
6580 AtkComponent API and AtkObject). Also added an enum,
6581 ComponentLayer, for the first method's return value.
6583 * libspi/component.c:
6584 Added implementations for these methods.
6586 * cspi/spi_component.c:
6588 Added cspi binding methods for above,
6589 AccessibleComponent_getLayer() and
6590 AccessibleComponent_getMDIZOrder().
6591 Added cspi enum 'AccessibleComponentLayer'.
6593 * docs/reference/cspi/at-spi-cspi-sections.txt:
6594 Added above methods to docs.
6598 Changed typedef for 'boolean' type (and all references to it) to
6599 SPIBoolean, to avoid keyword clashes with C++.
6602 Changed usages of 'boolean' to SPIBoolean.
6604 * test/keysynth-demo.c:
6605 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6606 app), except where SPIBoolean is required by the callbacks API.
6608 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6610 * cspi/spi_registry.c:
6611 Removed obsolete X event loop for passive keygrabs (which now
6614 * registryd/registryd.c:
6615 Removed unnecessary call to gdk_init() [cruft]. This also allows
6616 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6619 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6621 * docs/reference/cspi:
6622 Included docs for SPI_freeString in generated documentation.
6625 Renamed spi_freeString to SPI_freeString, for consistency. Added
6626 documentation for this function.
6629 Renamed spi_freeString to SPI_freeString, for consistency.
6630 Removed obsolete method declaration string_from_corba_string.
6632 * test/keysynth-demo.c:
6633 Small tweak to comments.
6636 Stopped leaking the strings returned from CSPI.
6638 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6640 Merged Michael's branch (see his ChangeLog entries below).
6642 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6643 bridge is alive, release on exit.
6645 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6646 Fix type check macro.
6649 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6652 Added is_gnome_app static, and method cspi_is_gnome_app(),
6653 so we can call the appropriate shutdown routine at exit in SPI_exit.
6655 * cspi/spi_main.c (cspi_object_ref):
6656 Duplicate the corba object passed in, since we're keeping it around.
6658 * cspi/SPI_exit.c, cspi_cleanup:
6659 Moved the releasing of the live refs to its own function, so we
6660 can put it in g_atexit (). Call the appropriate shutdown API
6661 depending on whethe calling client is a gnome app or not
6662 (bonobo_main_quit or CORBA_ORB_shutdown).
6664 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6665 Unref the listener when this method is called, after
6666 deregistration. Updated the API docs to note this behavior.
6668 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6669 Bugfixes: Ref the bonobo object when returning a parent or child
6670 reference, or an AccessibleRelation. Generally made sure
6671 BonoboObject refcount is incremented whenever we return an
6674 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6675 Fixed typo/bug in signal declaration.
6677 * libspi/accessibleeventlistener.h:
6680 * libspi/application.c (spi_application_new):
6681 Fixed leak in initialization.
6684 Remembered to increment bonobo-object refcount when returning
6685 children (applications) from desktop object.
6686 Added (empty) finalize method.
6688 * libspi/deviceeventcontroller.c:
6689 Hold a ref to listeners inside DEControllerKeyListeners.
6690 Added dec_key_listener_free() method. Use prepend instead of
6691 append in key_listener list. Fixed some refcount madness and
6692 leaks in the listener registration/deregistration - deregistration
6693 now calls dec_key_listener_free() on listeners, and on the
6694 temporarily constructed dec_key_listener() used to perform the search/match.
6696 * libspi/hypertext.c (spi_hypertest_finalize):
6697 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6698 class. Also fixed spi_hypertext_interface_new() and
6699 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6701 * libspi/hypertext.h:
6702 Removed pointless and duplicate AtkObject pointer from
6705 * libspi/keystrokelistener.c:
6706 Fixed incorrect type of keystroke_listener_parent_class,
6707 renamed keystroke_listener_object_finalize to
6708 spi_keystroke_listener_object_finalize.
6709 Fixed typo in signal declaration
6710 (spi_keystroke_listener_class_init).
6712 * libspi/registry.c:
6713 Added funcsions spi_listener_struct_new() and
6714 spi_listener_struct_free() to help with memory management issues.
6715 We also now use these methods instead of gnew + poking stuff into
6716 the struct, and to decrement listener counts/free the listeners
6717 when deregistering them.
6718 Fix more refcount bugs in getDesktop() and
6719 getDeviceEventController().
6722 De-ref the desktop after enumerating the applications. Explicitly
6723 decrement the refcounts on the created listeners on exit (using
6724 _unref for keystroke listeners, and via the
6725 deregisterGlobalEventListenerAll command for other event
6728 2001-11-27 Michael Meeks <michael@ximian.com>
6730 * cspi/spi-listener.h: fixup enum.
6732 2001-11-27 Michael Meeks <michael@ximian.com>
6734 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6735 (cspi_keystroke_listener_new): Use the cspi variants.
6737 2001-11-26 Michael Meeks <michael@ximian.com>
6739 * test/keysynth-demo.c: fix 2 compile warnings, missing
6742 * test/simple-at.c (report_focussed_accessible),
6743 (report_focus_event, report_button_press),
6744 (check_property_change, is_command_key),
6745 (report_ordinary_key_event, report_command_key_event): upd.
6747 * util/mag_client.h: include pre-requisites.
6749 * libspi/accessibleeventlistener.c
6750 (spi_event_listener_object_finalize): free any lingering
6753 * libspi/keystrokelistener.c
6754 (keystroke_listener_object_finalize): ditto.
6756 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6757 callbacks, with cspi types.
6759 * cspi/spi_event.c (createAccessibleEventListener): chain to
6760 (AccessibleEventListener_addCallback): here.
6761 (createAccessibleKeystrokeListener): chain to
6762 (AccessibleKeystrokeListener_addCallback): here.
6764 * libspi/keystrokelistener.c
6765 (spi_keystroke_listener_class_init): add signal.
6766 (impl_key_event): emit the event.
6767 (boolean_handled_accumulator): impl.
6768 (marshal_BOOLEAN__POINTER): add, gack.
6770 * libspi/accessibleeventlistener.c
6771 (spi_event_listener_class_init): add signal.
6772 (impl_accessible_event_notify_event): emit the signal &
6773 make the loop efficient.
6774 (spi_event_listener_add_callback): prepend the callback.
6776 * libspi/accessibleeventlistener.h: add an 'event' signal,
6777 decl type on callback.
6779 * libspi/keystrokelistener.h: ditto.
6781 * cspi/spi-listener.h: make methods typesafe and
6782 make them use the new event typedefs.
6784 * test/simple-at.c (report_focussed_accessible):
6785 include mag_client.h
6786 Use *(void *)text_interface not the other thing.
6788 * configure.in: add gtk to registryd bits - since we use
6791 * util/magnifier.c: include libbonobo.h
6793 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6795 * test/keysynth-demo.c:
6796 Turned this into a simple scanning keyboard, to demonstrate the
6797 use of g_timeout_add () as a means of creating timers for
6798 scanning, and the use of GtkStyle for visually indicating when
6799 virtual keyboard elements are selected.
6801 keysynth-demo now listens to any keyboard keys with zero-valued
6802 keycodes (i.e. 'unused' keys) and interprets them as
6805 Reworked the shiftlatch code so that shift-down state isn't held
6806 for long periods (it's only synthesized immediately prior to
6807 the keysynth event it's modifying). Note that shiftlatch in this
6808 demo is a convenience, not intended to take the place of AccessX
6809 which is the better choice for getting 'sticky' modifier keys.
6811 * libspi/deviceeventcontroller.c:
6812 * at-bridge/bridge.c:
6813 * cspi/spi_registry.c:
6814 Removed some debug print stuff, and put other verbosity in #ifdef
6819 Implemented some more of the magnifier IDL for the simple
6820 magnifier: namely, getZoomRegionParams.
6821 Added mag_x and mag_y members to MagnifierData struct, aid of this
6823 Added GtkWindow::realize signal handler to magnifier, to keep it
6824 from receiving keyboard focus from the WM.
6826 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6828 * cspi/spi-private.h: my guess at what michael forgot
6829 before he ran off to NZ :-)
6831 2001-11-23 Michael Meeks <michael@ximian.com>
6833 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6834 comment out non existant method invoke so we link.
6836 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6837 use bonobo_exception_get_text for more friendly warnings.
6839 * cspi/spi.c (Obj_Add): move into spi_main & rename
6840 spi_object_add; kill spi.c
6842 * cspi/spi_registry.c
6843 (deregisterGlobalEventListener),
6844 (deregisterGlobalEventListenerAll),
6845 (registerGlobalEventListener): fix exception leaks.
6847 * cspi/spi_main.c (spi_exception): impl. helper, so we
6848 don't leak exceptions.
6850 * cspi/spi_selection.c
6851 (AccessibleSelection_deselectSelectedChild): return the
6854 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6855 (spi_registry): ditto.
6856 (SPI_init): guard against double inits.
6858 * cspi/*.c: use spi_ev (), and spi_registry () where
6859 appropriate - a temporary hack until we have something
6860 better. Use spi_object_add
6862 2001-11-22 Michael Meeks <michael@ximian.com>
6864 * cspi/Makefile.am: re organise, install the headers.
6866 * cspi/*.h: add G_BEGIN/END_DECLS
6868 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6871 Added non-preemptive keylistener for key events with no modifiers
6872 and shift-only modifier.
6874 * libspi/keystrokelistener.c:
6875 Removed some verbose diagnostics printout.
6877 * cspi/spi_registry.c:
6878 Fixed a bug that caused all key listeners to be registered as
6881 * libspi/deviceeventcontroller.c:
6882 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6883 for non-preemptive key masks.
6886 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6888 * docs/reference/idl/at-spi-idl-docs.sgml:
6889 * docs/reference/idl/at-spi-idl-sections.txt:
6890 * docs/reference/idl/at-spi-idl-overrides.txt:
6891 Added missing files.
6893 * docs/reference/Makefile.am:
6894 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6895 to scan the IDL files :-(
6900 Added .cvsignore files.
6902 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6904 * libspi/deviceeventcontroller.c:
6905 * libspi/keystrokelistener.c:
6907 * cspi/spi_registry.c:
6908 Added filters for KeySets, KeyEventSeq, and event types to key
6909 event dispatching, so listeners should only receive those events
6910 that they requested :-)
6912 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6917 * docs/reference:Makefile.am:
6918 * docs/reference/cspi:
6919 * docs/reference/cspi:Makefile.am:
6920 * docs/reference/cspi:tmpl:
6921 * docs/reference/cspi:tmpl:*.sgml:
6922 * docs/reference/idl:
6923 * docs/reference/idl:Makefile.am:
6924 * docs/reference/idl:at-spi-idl-sections.txt:
6925 * docs/reference/idl:at-spi-idl-docs.sgml:
6926 * docs/reference/idl:tmpl:
6927 * docs/reference/idl:tmpl:*.sgml:
6929 Restructured docs directory to allow separate 'reference' docs
6930 section, and forked idl and cspi docs. Added the sgml template
6931 files to CVS. Added the first sections/structural sgml for the
6934 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6936 * configure.in, libspi/Makefile.am: find libXtst.
6938 2001-11-21 Michael Meeks <michael@ximian.com>
6940 * test/accessx-gui.c: s/spi_value/value/ - doh.
6942 * libspi/base.[ch]: add.
6944 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6946 * idl/Accessible.idl:
6947 * idl/Application.idl:
6950 Started gtk-doc cleanup on IDL.
6952 * libspi/deviceeventcontroller.c:
6953 Added and connected non-preemptive key notification from the
6954 toolkits (in addition to the pre-emptive support from XServer
6955 which we had before, but which causes 'focus flashing'). Filters
6956 are presently limited to key modifiers and global/non-global,
6957 KeySets are presently ignored, as are KeyEvent masks.
6959 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6960 structs into the persistant structure rather than just storing
6961 pointers to things that might not persist across servant
6964 The XGrabKey call now does async keygrabs, because synchronous
6965 ones were deadlocking with GDK_event code in a very nasty way.
6967 Added boolean to internal method notify_keylisteners, to indicate
6968 whether the event came from the 'toolkit source' or the 'global
6969 (XServer) source' - this is used in the notification process to
6970 determine which listeners to send the event to.
6972 deviceeventcontroller.c is now warning-free.
6974 * libspi/registry.c:
6975 Fixed regression in application de-registration.
6976 Also fixed some really brain-dead weirdness having to do with
6977 event dispatching - event structs are now duplicated before being
6978 re-marshalled in the dispatch to listeners. This also fixes a
6979 Solaris build problem.
6982 2001-11-20 Michael Meeks <michael@ximian.com>
6985 (impl_accessibility_registry_deregister_global_event_listener):
6988 * libspi/deviceeventcontroller.c
6989 (spi_device_event_controller_check_key_event): return
6990 FALSE on no virtual method.
6992 * libspi/*..h: make includes work on a correctly pathed install.
6994 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6996 * libspi/application.h: kill unused ( and whacked out )
6997 gboolean *spi_application_set_id (AtkObject *app, long id);
6999 2001-11-20 Michael Meeks <michael@ximian.com>
7001 * libspi/*.[ch]: further convert to bonobo's type func
7002 macros, remove redundnant casts etc.
7004 * libspi/text.c s/accessibility_text/spi_text/g,
7005 re-order to de-cruft.
7007 * libspi/hypertext.c: re-order to kill a huge slew
7008 of redundant forward decls.
7010 * libspi/relation.c: ditto.
7012 * libspi/image.c: ditto.
7014 * */.cvsignore: update
7016 2001-11-20 Michael Meeks <michael@ximian.com>
7018 * libspi/deviceeventcontroller.c
7019 (_controller_register_with_devices): use g_getenv,
7020 kill stdlib.h include.
7022 * libspi/keystrokelistener.c
7023 (spi_keystroke_listener_get_type): kill
7024 (spi_keystroke_listener_class_init),
7025 (spi_keystroke_listener_init): rename to this.
7027 * libspi/text.c (impl_getAttributes): fix warning / bug.
7029 * libspi/*.[ch]: more headers, includes and over commenting.
7031 2001-11-20 Michael Meeks <michael@ximian.com>
7033 * libspi/*.[ch]: fixup headers, includes and over commenting.
7035 * libspi/image.c (impl__get_imageDescription): const
7036 correctness warning fix. remove redundant casting.
7038 * libspi/table.c (impl_getRowDescription): ditto.
7039 (impl_getColumnDescription): ditto.
7041 * libspi/libspi.h: add.
7043 2001-11-19 Michael Meeks <michael@ximian.com>
7045 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7047 * libspi/component.c (accessibility_component_get_type):
7048 rename to (spi_component_get_type): and macroify.
7049 (accessibility_component_init): rename to
7050 (spi_component_init): this
7051 (accessibility_component_class_init): rename to
7052 (spi_component_class_init): this
7054 * libspi/action.c (spi_action_get_type): kill, use the macro.
7056 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7059 * libspi/application.c (spi_application_object_event_listener),
7060 (impl_accessibility_application_register_object_event_listener):
7061 warning fixes / const understanding updates.
7063 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7066 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7068 * libspi/spi_accessible.c: Added docs and C bindings for
7069 AccessibleStateSet. (No implementations yet). Documentation
7070 coverage for C bindings now 100%. Made docs for event listeners
7075 boolean notifyListenersSync (in DeviceEventListener listener,
7076 in DeviceEvent event);
7078 oneway void notifyListenersAsync (in DeviceEventListener listener,
7079 in DeviceEvent event);
7081 Added DeviceEventListener and DeviceEvent structs (may deprecate
7082 KeyStroke and KeystrokeListener in favor of this generic
7083 event/listener framework for devices).
7085 * libspi/deviceeventcontroller.c:
7087 Changed some key listener code to take masks, etc., and paved the
7088 way for integration of toolkit/non-preemptive key events. Changed
7089 signatures of some internal methods.
7091 * at-bridge/bridge.c:
7092 Fixed regression connecting to interface signals, apparently
7093 caused by GTK+ changes.
7095 Added an internal bridge_state_listener to deal with
7096 property-change:accessible-state signals.
7098 Changed the key_listeners GList to store structs (including masks,
7099 etc.) instead of just CORBA_Objects (required for full
7100 implementation of key listener API).
7102 Connected the bridge to all currently supported Atk signals.
7103 Events now supported:
7104 object:property-change
7105 object:property-change:accessible-name
7106 object:property-change:accessible-state
7107 object:property-change:accessible-description
7108 object:property-change:accessible-parent
7109 object:property-change:accessible-value
7110 object:property-change:accessible-role
7111 object:property-change:accessible-table-caption
7112 object:property-change:accessible-table-column-description
7113 object:property-change:accessible-table-column-header
7114 object:property-change:accessible-table-row-description
7115 object:property-change:accessible-table-row-header
7116 object:property-change:accessible-table-summary
7117 object:children-changed
7118 object:visible-data-changed
7119 object:selection-changed
7120 object:text-selection-changed
7122 object:text-caret-moved
7124 object:row-reordered
7126 object:column-inserted
7127 object:column-reordered
7128 object:column-deleted
7129 object:model-changed
7131 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7133 * libspi/hyperlink.c,h:
7134 Fixed some broken stuff in hyperlink.
7136 * libspi/relation.h:
7137 * libspi/relation.c:
7138 * cspi/spi_accessible.c:
7139 Initial implementations of AccessibleRelation methods, and docs.
7141 * libspi/accessible.c:
7142 Fixed a bug that caused SEGV if an accessible
7143 object's description is NULL, and a client
7144 requests it. An empty string is now returned.
7146 * cspi/spi_editabletext.c:
7147 * cspi/spi_hypertext.c:
7149 * cspi/spi_hyperlink.c:
7153 Doc coverage now 95%.
7155 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7157 One last namespacing revision:
7158 * libspi/accessibleeventlistener.[ch]:
7159 Renamed SpiAccessibleEventListener to SpiEventListener,
7160 (no need for two namespaces ;-)
7162 And lots of documentation fixes:
7164 * docs/at-spi-docs.sgml:
7165 Fixed 'underscore vs. hyphen' bug that was preventing
7166 the gtk-doc API docs from being automatically generated.
7169 * cspi/spi-listener.h
7171 * cspi/spi_accessible.c
7173 * cspi/spi_application.c
7174 * cspi/spi_component.c
7175 * cspi/spi_editabletext.c
7177 * cspi/spi_hypertext.c
7179 * cspi/spi_registry.c
7180 * cspi/spi_selection.c
7184 * docs/at-spi-docs.sgml
7185 * docs/at-spi-sections.txt
7187 Added and fixed up gtk-doc documentation in cspi.
7189 Interfaces now (fully) documented (subject to revision and enhancement):
7191 Event Listener Support
7193 AccessibleApplication
7197 AccessibleEditableText
7204 AccessibleRelationSet
7209 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7211 * at-bridge/bridge.c:
7212 Initial work for toolkit-level key snooper connection by bridge.
7217 New typedefs and fixes to support new namespacing, and cleaner
7218 separation of cspi bindings from libspi bonobo implementation.
7219 Removed inconsistent and extraneous Spi* namespace prefix that
7220 had crept into cspi headers.
7221 Lots of comment fixes that sed had missed.
7223 * cspi/spi-roletypes.h:
7224 * cspi/spi-statetypes.h:
7225 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7226 to AccessibleRoleType.
7228 * libspi/accessibleeventlistener.h:
7229 Fixed minor namespacing weirdness.
7231 * libspi/deviceeventcontroller.c:
7232 Reordered some internal API for device listeners.
7233 Changed the key registry final boolean to 'is_system_global'
7234 rather than 'is_synchronous', which is more descriptive of its
7236 Added spi_device_event_controller_new().
7237 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7239 * libspi/keystrokelistener.[ch]:
7240 Namespaced KeystrokeListener to SpiKeystrokeListener.
7241 Changed uses of keymasks to use SPI_ prefix, and did other
7244 * libspi/keymasks.h:
7245 Namespaced keymask constants with SPI_ prefix.
7247 * libspi/registry.c:
7248 Some warning fixes, and knock-on fixes from namespace changes.
7251 Added rules for accessx-gui test program.
7253 * test/accessx-gui.c:
7254 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7255 utility. It doesn't actually use at-spi, but it's still cool and
7258 * test/keysynth-demo.c:
7262 Fixes so that these test clients work properly with the namespaced
7263 libraries. (Incompletely tested for technical reasons, fixes may follow)
7266 2001-11-13 Michael Meeks <michael@ximian.com>
7268 * libspi/application.c
7269 (impl_accessibility_application_get_version),
7270 (impl_accessibility_application_get_toolkit_name):
7272 (impl_accessibility_application_set_id),
7273 (impl_accessibility_application_get_id): remove
7274 redundant casting code.
7276 * libspi/action.c (impl_getDescription): fix warnings.
7278 * libspi/accessible.c
7279 (impl_accessibility_accessible_get_parent),
7280 (impl_accessibility_accessible_get_child_at_index),
7281 (impl_accessibility_accessible_get_state),
7282 (impl_accessibility_accessible_get_relation_set):
7283 warning fixes & include action.h
7285 2001-11-13 Michael Meeks <michael@ximian.com>
7287 * *.[ch] fix bits I screwed up:
7289 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7290 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7292 2001-11-13 Michael Meeks <michael@ximian.com>
7294 * *.[ch] Namespace libspi into spi_ and Spi.
7296 2001-13-11 Michael Meeks <michael@ximian.com>
7298 * Makefile.am: dist & install at-spi-1.0.pc
7300 * libspi/Makefile.am: install into at-spi-1.0
7302 * idl/Makefile.am (idldir): install into at-spi-1.0
7304 * at-spi-1.0.pc.in: add.
7306 * configure.in: build it.
7308 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7310 * test/keysynth-demo.c:
7311 Use a 'realize' signal-handler to set the WM properties for
7312 the virtual keyboard, rather than making it a "POPUP" type
7313 override-redirect window (thanks to anders carlsson for that
7316 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7319 * test/keysynth-demo.c:
7320 Added new test of key synthesis, which creates a simple
7321 (mouse-operated) onscreen keyboard. It inserts key events into
7322 the currently-focused window, thus it does not grab keyboard focus
7325 * cspi/spi_registry.c:
7326 Added C binding for AT-SPI generateKeyEvent.
7328 * libspi/deviceeventcontroller.c:
7329 Added call to XFilterEvent so that key listener works with XIM (we
7330 hope). Added event_synth_type to generateKeyEvent, so that we can
7331 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7332 synthesize a press/release pair for KeySyms.
7334 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7336 * libspi/Makefile.am:
7337 * registryd/Makefile.am:
7338 (temporary) hack to include libXtst in libspi and registryd.
7339 (Needed for keystroke synthesis, see below).
7342 Improved API for registerKeystrokeListener, in accordance with
7343 discussions with Gnopernicus team and X server research.
7345 * libspi/registry.c:
7346 * libspi/deviceeventcontroller.c:
7347 * libspi/accessible.c:
7348 * libspi/keystrokelistener.c:
7349 Changes and fixes to support keylisteners for potentially
7350 consumed key events (that is, 'passive grabs').
7351 Added implementation for generateKeyEvent() [untested].
7354 Changes to registerKeystrokeListener() API, as above.
7355 Added deregisterGlobalEventListenerAll(), and
7356 deregisterKeystrokeListener(), which are needed for clean exit of
7358 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7359 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7361 * cspi/spi_registry.c:
7362 Added implementations of function prototypes mentioned above.
7364 * registryd/registryd.c:
7365 Added the key listener event source as a g_timeout(), to allow
7366 receipt of key events that are not caught by GDK (since GDK
7367 doesn't support passive keygrabs, this was necessary).
7370 Changed to attach a keylistener to 'Alt' keys, and
7371 respond to the following keycommands: Alt-M (toggle magnifier);
7372 Alt-F (toggle speech); Alt-Q (quit).
7373 Added an exit routine to deregister the listeners, and a key
7374 listener that prints some key info to the console when a key
7375 matches the listener mask (and is thus received by the listener).
7377 * util/idl/Magnifier.idl:
7378 Changes to magnifier API to support multiple zoom regions,
7379 non-uniform scaling in x and y, markDirty, and a host of other
7380 features that would be useful to magnification.
7383 * util/mag_client.c:
7384 * util/mag_client.h:
7385 * util/mag_control.c:
7387 Source code changes to support the above IDL changes.
7390 As above, and also changes to use a (slower) generic conversion
7391 path for colormap conversions, since the fast RGB conversions have been
7392 reported to fail for 16-bit displays.
7394 2001-10-26 Michael Meeks <michael@ximian.com>
7396 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7398 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7400 * at-bridge/Makefile.am: fix LDFLAGS.
7402 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7404 * at-bridge/bridge.c:
7405 Re-worked listeners for toolkit events, now we have signal
7406 and property listeners. Added a private method
7407 register_atk_event_listeners(), which registers with the
7408 various atk and gtk signals we need to monitor in order to emit
7410 Added emission hook for AtkObject:property-change events, to
7411 support the 'property listeners'.
7412 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7415 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7416 which emit warnings and exit, respectively, if CORBA errors occur
7417 during remote calls, and we now use these methods to check most of
7418 our CORBA calls in the C bindings.
7420 * cspi/spi_accessible.c:
7421 Changed AccessibleSelection_refSelectedChild() to
7422 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7423 now increment refcounts.
7425 * cspi/spi_component.c:
7426 Fixed some long pointer casts (dangerous!) to pass pointers to
7427 CORBA_longs of the proper type to the CORBA stubs, and copy the
7428 data into the longs that were passed into the C bindings code.
7430 * at-bridge/bridge.c:
7432 * libspi/accessible.c:
7433 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7434 hyperlinks, AtkHyperlink is an object type.
7436 * libspi/application.c:
7437 Added various conversions to and from "generic" event types and
7438 atk-specific types; this is really part of the 'bridge'
7439 implementation but is valid for all AtkObject-based accessibility
7442 * libspi/editabletext.c:
7443 Fixed nasty bug wherein editable text's finalize method was
7444 unref'ing tha AtkObject reference that the text parent class was
7445 about to unref _again_. There was also a nasty inheritance bug
7446 that meant that the AccessibleEditableText class was corrupt.
7448 * libspi/selection.c:
7449 Provided implementations for some selection API that was broken.
7451 * idl/Application.idl:
7452 Added registerObjectEventListener () method.
7455 Fixed a number of return values that were Bonobo_Unknowns from
7456 bonobo_object_corba_objref(), which I
7457 forgot to dup before returning. Changed instances of
7458 bonobo_object_corba_objref (bonobo_object(o)) to
7459 BONOBO_OBJREF(o), for concision and clarity.
7461 2001-10-13 Louise Miller <louise.miller@sun.com>
7463 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7464 idl/Event.idl, idl/Registry.idl
7465 Changed these files to include Bonobo_Unknown.idl instead
7468 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7470 * libspi/component.c libspi/component.h:
7471 Fixed typo. Added assertions for object checks in
7472 AccessibleComponent code.
7474 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7476 * idl/Accessible.idl:
7477 Added 'isEqual (Accessible *object)'
7478 method for Accessible. (Not Yet Implemented).
7481 Changed signature of registerKeystrokeListener() to
7482 take a KeySet and KeyEventSeq so that specific keys and event
7483 types could be requested for monitoring, and added a flag
7484 is_synchronous so that either synchronous or asynchronous
7485 notification could be requested. (However this is not all
7486 implemented yet). This also meant adding two new typedefs,
7487 KeyEventSeq and KeySet.
7490 Added two new relations, RELATION_TOOLTIP_FOR and
7491 RELATION_LEAFNODE_OF.
7494 Added new state, STATE_HAS_TOOLTIP.
7496 * libspi/text.c, editabletext.c:
7497 Added new assertions to all casts of bonobo-objects from
7498 CORBA servants, to prevent Text API calls on non-text objects.
7499 Changed suspect casts of int-pointer types, so that we
7500 always send a valid CORBA_long pointer to the CORBA APIs that use
7501 in/out long parameters. We then have to copy from the CORBA_long
7502 into the regular long or int for return to the C bindings, or
7503 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7506 * libspi/deviceeventcontroller.c:
7507 Cleaned these sources up.
7509 Changed return type for getCharacterAtOffset to
7510 CORBA_unsigned_long, to allow for 32-bit characters.
7513 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7517 Fixed 'make dist' so that distro compiles...
7518 * libspi/keymasks.h:
7520 * cspi/spi-listener.c:
7521 KeystrokeListenerCB now returns a boolean.
7523 Added KeyEventType struct, and KeyStroke.
7524 Also added createKeystrokeListener(),
7525 KeystrokeListener_addCallback(),
7526 KeystrokeListener_removeCallback(), and added a keymask to
7527 registerKeystrokeListener().
7528 * cspi/spi_accessible.c:
7529 Changed numerous return types for interfaces from
7530 AccessibleComponent to Accessible<InterfaceName>; this was
7531 probably a cut-and-paste error.
7533 Implementations of new KeystrokeListener api (from spi.h,
7536 Changes to key modifier mapping.
7537 Created ControllerEventMask struct.
7538 Made DeviceEventController derive from Bonobo::Unknown.
7540 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7541 * libspi/deviceeventcontroller.c:
7542 Added a number of new internal (private) methods.
7543 * libspi/editabletext.c:
7544 * libspi/editabletext.h:
7545 Fixed a number of bugs related to the fact that
7546 editabletext inherits from text. Fixed the EditableText struct,
7547 the init() call, and use correct casts when calling Text methods
7548 from an EditableText object. Removed (duplicate) atko from the
7549 EditableText structure, we use the one in the parent Text
7550 structure via the casts mentioned above.
7551 * libspi/keystrokelistener.[ch]:
7552 * libspi/registry.c:
7553 Changes in support of keyboard handling (above).
7555 Keyboard handling, though partly functional, is still not
7556 recommended for at-spi client use as there is considerable
7557 work yet to be done.
7560 Changed some places where pointers to various int types
7561 are cast to be pointers to CORBA_long types and vice-versa:
7562 pointer casting is not safe so we pass pointers of the correct
7563 types and then cast the result before putting it into the target
7566 * libspi/text.h: minor typos corrected.
7568 We now speak not only the name of a Text element, but the
7569 first sentence of its content, when it receives focus.
7570 I also changed the text compression to 75% from 50%.
7571 * util/Accessibility_Util.server.in:
7572 Changed the default magnifier type to be a 3x vertical
7573 splitscreen magnifier (was previously a 2x horizontal one).
7575 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7577 * libspi/keystrokelistener.h:
7578 * libspi/keystrokelistener.c:
7579 Initial functional implementations of KeystrokeListener.
7582 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7584 Fixed string handling for NULL strings in libspi.
7585 Added spi_freeString to free strings returned by C bindings.
7587 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7589 * libspi/keystrokelistener.h:
7590 * libspi/keystrokelistener.c:
7591 Began (no-op) implementations of KeystrokeListener
7593 * libspi/deviceeventcontroller.c:
7594 * libspi/deviceeventcontroller.h:
7595 Began creating implementations of DeviceEventController,
7596 to handle keystroke and mouse event listening and
7598 * libspi/accessible.c:
7599 Stubbed-in the implementations for
7600 Accessibility_Accessible_getState and
7601 Accessibility_Accessible_getRelationSet.
7602 * libspi/registry.c:
7603 Improved de-registration process and fixed some bugs,
7604 deregistration now works correctly.
7606 Added initialization of applications list (to NULL).
7608 Reduced speech compression from 0.5 to 0.7, for demo.
7609 Changed call to gdk_window_set_decorations()
7610 to gtk_window_set_decorated().
7611 * at-bridge/bridge.c:
7612 Bridge now deregisters when app exits, via
7613 registration of a cleanup function
7614 with the g_atexit() call.
7615 Required making 'app' static, renamed 'this_app'.
7616 Fixed broken use of bonobo_init, passing argv wrongly.
7618 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7622 Created a new directory for
7623 accessibility-related utilities, primarily for
7624 testing and demo purposes, but with possible
7631 Onscreen magnifier utility that
7632 is implemented as a bonobo service.
7634 * util/mag_client.c:
7635 * util/mag_client.h:
7636 Client-side support (simple C bindings)
7637 for Magnification service
7639 * util/mag_control.c:
7640 Client program example for
7641 Magnification service
7643 * util/Accessibility_Magnifier.server.in:
7644 Bonobo-activation file for the
7645 Magnification service.
7648 * util/idl/Magnifier.idl:
7649 IDL defining the bonobo Magnification
7653 Modifications to use the bonobo-activated magnifier
7654 above, in place of trying to connect to an existing
7655 magnifier that uses socket-listening IPC.
7657 If env variable MAGNIFIER is set, a magnifier service
7658 will be started if one does not exist.
7660 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7662 * at-bridge/bridge.c:
7663 applied patch from Marc to build and run
7664 against new glib and gtk+ (seemed like a change
7665 to bonobo_init signature was made ?)
7667 made festival-server support turned off by default.
7668 Added support for a simple magnifier (off by default)
7669 which will be added to a 'util' directory later.
7670 * at-bridge/Makefile.am:
7671 Changed "application.h" header from a 'source'
7672 to a 'dependency' of libat-bridge.
7674 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7683 Added interface implementation c files to list of
7684 includes so they are included in libcspi.
7687 Changed prototype of AccessibleAction_doAction to return a
7689 Changed prototype of AccessibleTable_getCaption to
7690 return an Accessible.
7691 Changed prototype of AccessibleTable_getSelectedRows
7692 and AccessibleTable_getSelectedColumns to
7693 return a long (returns the number of selected rows
7694 or columns respectively).
7695 Changed name of AccessibleText_refRunAttributes to
7696 AccessibleText_getAttributes.
7697 Changed prototype of AccessibleText_getCharacterExtents to
7698 return a void rather than a boolean.
7699 Added support for a AccessibleCoordType parameter
7700 specifying what type of coordinates are desired.
7701 Added an AccessibleCordType parameter to
7702 AccessibleText_getPointAtOffset.
7704 * cspi/spi_accessible.c:
7705 Added code to return the outstanding interfaces from
7706 Accessible_queryInterface.
7708 * cspi/spi_action.c:
7710 Corrected call to getNActions to call the c binding
7713 * cspi/spi_editabletext.c:
7715 Changed name from setRunAttributes to setAttributes.
7717 * cspi/spi_hyperlink.c:
7719 Changed call to getNAnchors to correctly call the c
7720 binding for an attribute.
7722 * cspi/spi_hypertext.c:
7724 Changed getImageDescription to correctly call the
7725 binding for an attribute.
7727 * cspi/spi_selection.c:
7728 Changed getNSelectedChildren to correctly call the c
7729 binding for the attribute.
7730 Changed refSelectedChild to getSelectedChild.
7734 Changed getCaption to return an Accessible.
7735 Fixed calls which retrieve attributes.
7736 Changed refAt to getAccessibleAt.
7737 Changed getNSelectedRows and getNSelectedColumns to
7741 Changed getCharacterExtents and getPointAtOffset to accept an
7742 AccessibleCoordType.
7744 Changed calls which retrieve attributes.
7745 Changed refRunAttributes to getAttributes.
7750 * idl/Hyperlink.idl:
7751 Changed n_anchors attribute to nAnchors to keep naming
7752 convention consistent.
7755 Made Table inherit from Bonobo::Unknown.
7756 Added nSelectedColumns and nSelectedRows attributes.
7759 Made Value inherit from Bonobo::Unknown.
7761 * libspi/hyperlink.c:
7762 Change for nAnchors attributte name change.
7764 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7772 Added interface implementation c files to list of
7773 includes so they are included in libcspi.
7776 Changed prototype of AccessibleAction_doAction to return a
7778 Changed prototype of AccessibleTable_getCaption to
7779 return an Accessible.
7780 Changed prototype of AccessibleTable_getSelectedRows
7781 and AccessibleTable_getSelectedColumns to
7782 return a long (returns the number of selected rows
7783 or columns respectively).
7784 Changed name of AccessibleText_refRunAttributes to
7785 AccessibleText_getAttributes.
7786 Changed prototype of AccessibleText_getCharacterExtents to
7787 return a void rather than a boolean.
7788 Added support for a AccessibleCoordType parameter
7789 specifying what type of coordinates are desired.
7790 Added an AccessibleCordType parameter to
7791 AccessibleText_getPointAtOffset.
7793 * cspi/spi_accessible.c:
7794 Added code to return the outstanding interfaces from
7795 Accessible_queryInterface.
7797 * cspi/spi_action.c:
7799 Corrected call to getNActions to call the c binding
7802 * cspi/spi_editabletext.c:
7804 Changed name from setRunAttributes to setAttributes.
7806 * cspi/spi_hyperlink.c:
7808 Changed call to getNAnchors to correctly call the c
7809 binding for an attribute.
7811 * cspi/spi_hypertext.c:
7813 Changed getImageDescription to correctly call the
7814 binding for an attribute.
7816 * cspi/spi_selection.c:
7817 Changed getNSelectedChildren to correctly call the c
7818 binding for the attribute.
7819 Changed refSelectedChild to getSelectedChild.
7823 Changed getCaption to return an Accessible.
7824 Fixed calls which retrieve attributes.
7825 Changed refAt to getAccessibleAt.
7826 Changed getNSelectedRows and getNSelectedColumns to
7830 Changed getCharacterExtents and getPointAtOffset to accept an
7831 AccessibleCoordType.
7833 Changed calls which retrieve attributes.
7834 Changed refRunAttributes to getAttributes.
7839 * idl/Hyperlink.idl:
7840 Changed n_anchors attribute to nAnchors to keep naming
7841 convention consistent.
7844 Made Table inherit from Bonobo::Unknown.
7845 Added nSelectedColumns and nSelectedRows attributes.
7848 Made Value inherit from Bonobo::Unknown.
7850 * libspi/hyperlink.c:
7851 Change for nAnchors attributte name change.
7854 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7856 implementations-- made server implementations own AtkObject pointers
7857 rather than their respective AtkInterrface pointers to fix
7858 refcounting. AtkHyperlink is still broken.
7860 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7861 * cspi/spi_accessible.c:
7862 Added method Accessible_Role_getName(),
7863 and requisite string array (role_names).
7864 Added conversion string_from_corba_strin() call
7865 to Accessible_getName and _getDescription.
7866 * libspi/accessible.c:
7867 Added implementation for Accessible_getRole()
7869 Added festival support, used if environment variable
7872 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7874 * at-bridge/bridge.c:
7875 Now allocate Accessibility_Event using
7876 Accessibility_Event__alloc() instead of g_new0().
7877 * libspi/accessibleeventlistener.c:
7878 Initialize AccessibleEventListener->callbacks to NULL.
7879 Fixed accessible__event_listener_init() param, changed to
7880 "AccessibleEventListener *" type.
7881 Changed a bonobo_object_release_unref() call to
7882 Accessibility_Accessible_unref().
7883 * libspi/listener.c:
7884 Changed Bonobo_Unknown_unref to (equivalent)
7885 Accessibility_Accessible_unref.
7886 * libspi/registry.c:
7887 Changed bonobo_object_release_unref to
7888 Accessibility_Accessible_unref.
7890 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7893 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7894 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7895 spi-util.c spi-util.h
7896 Implementations for C bindings to remaining accessibility
7899 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7902 changed return value of Action from void to boolean to
7903 bring in line with ATK.
7906 Changed getText funcions to return "out" start and end offsets.
7907 Changed getAttributes to take and offset and return the start
7908 and end offset of the attribute run.
7909 Changed getOffsetAtPoint and getCharacterExtents to take an
7910 enum describing whether coordinates are window or screen.
7913 libspi/action.c libspi/action.h libspi/editabletext.c
7914 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7915 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7916 libspi/image.h libspi/selection.c libspi/selection.h
7917 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7918 libspi/value.c libspi/value.h
7919 Added server implementations for outstanding ATK interfaces
7920 not yet implemented.
7922 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7925 Added (missing) getName() method.
7926 Made nActions an attribute.
7927 * idl/EditableText.idl:
7928 Changed order of params in setAttributes.
7929 * idl/Hyperlink.idl:
7930 Removed getAnchor, added getURI.
7932 Changed attributes to methods, for efficiency
7933 (so that getting extents can be done in one call)
7934 * idl/Selection.idl:
7935 Changed nSelectedChildren to attribute, and re-indented.
7936 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7938 * idl/Text.idl: reformatted to match our coding style.
7939 (temporarily?) removed getRowColumnAtOffset().
7940 Changed text selection API to support multi-select and
7941 non-contiguous selections, as in ATK.
7942 * idl/Value.idl: changed some methods to attributes.
7944 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7946 * libspi/listener.c(impl_notify_event):
7947 BonoboUnkown_unref the source instead
7948 of bonobo_object_release_unref - the ORB
7949 handles the releasing.
7951 * configure.in: require ORBit-2.3.94 for
7954 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7956 Tagged CVS repository 'EA_1_0'.
7957 * README.EARLY_ACCESS:
7958 Alphabetized acknowledgements list, and
7960 Listed some known dependencies of at-spi.
7962 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7964 * docs/at-spi-docs.sgml:
7965 * docs/at-spi-sections.txt:
7966 * docs/at-spi-overrides.txt: (Added zero-length file)
7967 Documentation improvements - gtk-doc should build
7968 docs for all implemented C bindings now.
7971 * cspi/spi.c: (New file)
7972 * cspi/spi_event.c: (New file)
7973 * cspi/spi_registry.c: (New file)
7974 * cspi/spi_accessible.c: (New file)
7975 * cspi/spi_application.c: (New file)
7976 * cspi/spi_component.c: (New file)
7977 Split spi_main.c into six parts, and included them from
7978 "spi.c". This is a bit of a hack, probably temporary,
7979 but required by gtk-doc, apparently.
7981 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7984 * docs/at-spi-docs.sgml:
7985 * docs/at-spi-sections.txt:
7987 Initial checkins/modifications for gtk-doc generation.
7990 Added (missing) interface query methods to Accessible's C binding.
7992 Added GenericInterface type definition.
7994 Added query for AccessibleComponent interface to focus event handler.
7995 Added printout of bounding box for focussed component.
7996 * libspi/component.c:
7997 Added partial implementation for AccessibleComponent to C binding.
7998 * idl/Application.idl:
7999 * libspi/registry.c:
8000 * libspi/listener.c:
8001 * libspi/application.c:
8002 * libspi/application.h:
8003 Changed "ID" attribute type from string to long.
8005 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8009 Made method naming consistent: methods taking object args
8010 start with uppercase, other methods (except those using
8011 acronyms) start with lowercase. Underscores delimit between
8012 object names and method names:
8013 SPI_init() - uppercase since it starts with an acronym.
8014 getDesktopCount () - lowercase start since no object param0.
8015 Accessible_getName() - uppercase object type name, studlyCaps method
8019 Added gtk-doc documentation for all currently implemented
8020 methods in the C bindings API.
8022 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8024 * Makefile.am : changed build order to build test last.
8027 Changed "createEventListener" to "CreateEventListener".
8028 * libspi/accessibleeventlistener.c :
8029 Bugfix for addition of callbacks.
8030 * test/Makefile.am :
8031 * test/simple-at.c :
8032 Added new test that uses the C bindings API.
8034 * libspi/listener.c :
8035 * libspi/registry.c :
8036 * libspi/accessibleeventlistener.c :
8037 * at-bridge/bridge.c :
8038 Renamed member "target" of Accessibility_Event to "source",
8039 which is more descriptive.
8042 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8046 * cspi/Makefile.am :
8047 Added makefile support for at-spi/cspi directory.
8050 * cspi/spi-listener.h : (NEW FILE)
8051 Added support for/use of spi-listener.h.
8053 C bindings now build successfully, with no warnings.
8054 * libspi/accessibleeventlistener.h : (NEW FILE)
8055 * libspi/accessibleeventlistener.c : (NEW FILE)
8056 * libspi/Makefile.am :
8057 Added new object type "AccessibleEventListener"
8058 which inherits from Listener, and allows attachment
8059 of in-process callbacks (so that a client with a listening
8060 object instance can add functionality to the local
8061 implementation, dynamically).
8063 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8065 * libspi/accessible.c:
8066 Add implementation for get_index_in_parent().
8068 Added #include of "spi-roletypes.h", and
8069 added enumerated type AccessibleCoordType.
8070 Added definition for KeystrokeListener (function type).
8073 * cspi/spi-statetypes.h :
8074 * cspi/spi-roletypes.h :
8076 Added these headers, used by spi.h.
8078 Added code (NOTE: not yet built by make).
8080 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8082 * libspi/Makefile.am: generate imodule
8083 at the same time as other idl compiler
8086 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8087 * libspi/registry.c :
8088 * libspi/application.c :
8089 * idl/Application.idl :
8090 Made registration with toolkit an application method,
8091 which is required since each app has its own toolkit static
8092 environment. Thus the bridge must register for
8093 notification of toolkit events from each application in turn.
8094 Toolkit notifications are now successfully registered for, and
8095 sent to the listening at client.
8097 Changed toolkit event string to use hyphens rather than underscores.
8098 * libspi/listener.c :
8099 listner now gives more info in debug mode - it reports the
8100 name of the event received, as well as the name of the source.
8103 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8105 * libspi/registry.c :
8106 added more implementation for toolkit events.
8107 Fixed bug such that toolkit event registrations
8108 (via atk) use the whole event name string, not
8110 Removed a useless call to an ORBit_ method.
8111 * at-bridge/bridge.c :
8112 Removed unused local sbuf[] variable.
8114 We now register for Gtk:GtkWidget:button_press_event
8115 events as well as "focus:" events.
8117 Add some more API from Registry.idl that was missing,
8118 for keystroke listening, keystroke and mouse event
8119 synthesis, and enumeration of accessible desktops.
8121 2001-08-16 Michael Meeks <michael@ximian.com>
8123 * configure.in: use AM_GLIB_GNU_GETTEXT.
8125 * Makefile.am (SUBDIRS): kill intl.
8127 2001-08-15 Michael Meeks <michael@ximian.com>
8129 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8131 * configure.in: upd.
8133 * configure.in: depend on a recent bonobo-activation that
8134 will find our server files ...
8136 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8138 * libspi/accessible.c : accessible_new() :
8139 Now we add the Component interface via bonobo_object_add_interface,
8140 if the contained AtkObject implements AtkComponent.
8141 * libspi/accessible.h : now include "component.h"
8142 * libspi/component.h :
8143 * libspi/component.c : added files - implementation of
8144 bonobo wrapper object for Accessibility/Component
8145 * libspi/listener.c :
8146 Added test code to check for Accessibility/Component:1.0
8147 interface and report whether it is implemented by the
8149 * libspi/registry.c :
8150 Now we check for not only the hash of the whole event
8151 string before relaying the event, we also check the
8152 "minor" event string (without the detail string).
8153 This allows event listeners to be registered against
8154 all events of a certain major+minor type, or just
8155 against a specific major+minor+detail type.
8156 * libspi/accessible.c :
8157 Added implementations for Accessible:get_parent(),
8158 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8159 * libspi/registry.c :
8160 * libspi/listener.c :
8161 Replaced calls to Accessibility_Accessible_ref() and
8162 Accessibility_Accessible_unref() with
8163 calls to bonobo_object_dup_ref() and
8164 bonobo_object_release_unref(), so that the CORBA object
8165 is dup-ed and released when relayed, as well as the bonobo object.
8167 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8169 * libspi/Makefile.am,
8170 registryd/Makefile.am,
8171 at-bridge/Makefile.am.
8172 test/Makefile.am, configure.in:
8173 reverse previous changes.
8175 * /idl/Image.idl: fix typo.
8177 * test/Makefile.am: put DEBUG_FLAGS
8180 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8182 * test/app.c: use argv[0] instead of
8185 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8187 * libspi/Makefile.am,
8188 registryd/Makefile.am,
8189 at-bridge/Makefile.am.
8190 test/Makefile.am, configure.in:
8191 cleanup, replace individual LIBS/CFLAGS with
8192 AT_COMMON_{LIBS|CFLAGS}.
8196 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8198 * configure.in, libspi/Makefile.am:
8199 Change IDL path checking for bonobo-activation
8202 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8204 * registryd/registry.c : separated event listeners to use
8205 3 separate lists (focus, window, toolkit). Began testing
8206 event names against hashes before relaying events.
8207 * test/at.c : now register for events of type "focus:"
8208 * test/app.c : now generate events of type "focus:"
8209 * at-bridge/bridge.c : register with ATK for focus events,
8210 and we now relay those focus events to any "focus:" listeners.
8211 This now works with the bridge as a GTK_MODULE when running test/at.
8212 * libspi/registry.c :
8213 * libspi/listener.c :
8214 now we ref event sources before propagating, and unref on receipt.
8215 * libspi/registry.c :
8216 some changes to internal structs, to support event typestring hashes.
8217 * text/app.c : changed the way the appname is generated.
8218 * cspi : added directory that will hold the C bindings library for
8219 non-CORBA/bonobo-savvy clients.
8220 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8221 * idl/Component.idl : added in parameter to indicate coord system for
8222 geometry-related calls.
8223 * idl/Hyperlink.idl : added readonly n_links attribute
8224 * idl/Image.idl : changed methods to attributes.
8226 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8228 * at-bridge/Makefile.am: link against
8229 ../libspi/libspi.la instead of -lspi.
8231 * at-spi/test/app.c: include
8232 bonobo-activation.h. Use a default appname
8233 if one is not provided.
8235 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8237 * idl/Registry.idl : temporarily changed register_Application
8238 to oneway, to work around issue with initial registration
8240 * idl/Application.idl : changed attribute "id" from readonly
8241 to read-write, since it needs to be assigned by Registry.
8242 * registryd/registryd.c : added call to set application id
8244 * registryd/registry.c : changed de-registration procedure to
8245 use CORBA_Object_hash() to find matching object ref in application
8246 lists and listener lists.
8247 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8248 began distinguishing between event types (work in progress).
8250 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8253 * libspi/application.c:
8254 Added implementations for get/set id, get_toolkitName,
8256 * registryd/registryd.c :
8260 Converted from use of OAF to bonobo-activation.
8261 * libspi/desktop.h :
8262 * libspi/desktop.c :
8264 Removed references to atksimpleobject, since base atkobject
8265 implementation now provides functionality we need.
8266 * libspi/atksimpleobject.c :
8267 * libspi/atksimpleobject.h :
8272 * at-bridge/Makefile.am
8273 * at-bridge/bridge.c
8276 Added directory "bridge" and contents, and added dependencies
8277 in Makefile.am/configure.in.
8278 Initial checkin of "at-bridge".
8279 This code is a GTK_MODULE which automatically registers
8280 GTK+ apps with the accessibility registry, using an object
8281 reference to the root ATK object.
8283 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8285 * po/Makefile.in.in: Remove. Again. If this
8286 doesn't get autogenerated - you need to update
8289 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8291 * po/Makefile.in.in: Add. Again.
8293 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8295 * libspi/accessible.c : added support for 'description' property.
8296 * libspi/accessible.c
8298 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8299 (since the two are now equivalent in libbonobo)
8307 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8308 Bonobo::Unknown as does Accessibility::Accessible.
8309 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8310 interface with Bonobo::Stream, since it was redundant with it.
8311 (The Stream returned by a StreamableContext object is expected to
8312 implement only a subset of Bonobo::Stream)
8314 2001-07-28 Anders Carlsson <andersca@gnome.org>
8316 * libspi/accessible.c (accessible_object_finalize): Change
8317 g_free to g_object_unref since the AtkObject is a GObject.
8319 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8321 * idl/Accessibility.idl: add new IDL files
8324 * idl/Action.idl: Definitions of actionable UI object
8325 * idl/Component.idl: Definitions of UI component geometry, etc.
8326 * idl/Hyperlink.idl: Defs of hyperlink behavior
8327 * idl/Image.idl: Def of accessible image
8328 * idl/Selection.idl: Definition of UI object with selectable children
8329 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8330 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8331 * idl/Text.idl: Interface defs for UI elements with complex textual content
8332 * idl/Value.idl: Definition of UI element that is a value controller or display
8334 2001-07-27 Michael Meeks <michael@ximian.com>
8336 * po/Makefile.in.in: remove autogenerated file from CVS.
8338 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8341 * idl/Registry.idl: include guard.
8343 * idl/Accessibility.idl: Add, and include all the other IDL
8346 * idl/*.idl: remove mass of pragmas etc.
8348 2001-07-26 Michael Meeks <michael@ximian.com>
8350 * registryd/Makefile.am (registryd_SOURCES): remove
8353 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8355 * libspi/.cvsignore, registryd/.cvsignore,
8356 test/.cvsignore: updated.
8358 * po/Makefile.in.in: gettext update.
8360 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8362 * initial CVS checkin
8364 2001-06-29 Michael Meeks <michael@ximian.com>
8366 * configure.in: add AM_CONFIG_HEADER to gen config.h