1 2007-05-17 Li Yuan <li.yuan@sun.com>
4 Bug #439057. Add the original PATH to PATH.
6 2007-04-23 Li Yuan <li.yuan@sun.com>
9 Uprev/release 1.19.1 for GNOME 2.19.1.
11 2007-04-18 Li Yuan <li.yuan@sun.com>
13 * pyatspi/__init__.py:
14 * pyatspi/accessible.py:
15 * pyatspi/constants.py:
17 * pyatspi/registry.py:
19 Bug #430938. Add some files to create the uniform Python
22 2007-04-12 Li Yuan <li.yuan@sun.com>
24 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
25 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
26 Fix #427836. Fix leak and unify the code style.
28 2007-04-12 Yi Jin <yi.jin@sun.com>
30 * atk-bridge/bridge.c:
31 (spi_atk_bridge_focus_tracker):
32 Bug #428007. Fix a memory leak.
34 2007-04-02 Ariel Rios <ariel@gnu.org>
36 Implement the Matchrule interface required for Collection.
42 * cspi/spi_accessible.c: (Accessible_isCollection),
43 (Accessible_isMatchRule), (Accessible_getCollection),
44 (Accessible_getMatchRule):
45 * cspi/spi_collection.c: new file.
46 * cspi/spi_matchrule.c: new file.
47 * idl/Accessibility.idl:
48 * idl/Accessibility_Collection.idl: new file.
51 * libspi/collection.c: new file.
52 * libspi/collection.h: new file.
54 * libspi/matchrule.c: new file.
55 * libspi/matchrule.h: new file.
57 2007-03-29 Ariel Rios <ariel@gnu.org>
59 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
61 2007-03-22 Li Yuan <li.yuan@sun.com>
63 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
64 main context. Fix for #329454.
66 2007-03-12 Li Yuan <li.yuan@sun.com>
68 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
70 2007-03-02 Li Yuan <li.yuan@sun.com>
73 (spi_atk_bridge_register_application),
74 (deregister_application), (spi_atk_bridge_focus_tracker),
75 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
76 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
77 to prevent calling threads_enter/leave during the init and shutdown.
79 2007-02-27 Li Yuan <li.yuan@sun.com>
82 (spi_re_entrant_list_delete_link):
83 Bug #412286. Reverse previous patch.
84 * configure.in, NEWS: Uprev/release 1.17.2.
86 2007-02-26 Li Yuan <li.yuan@sun.com>
88 * libspi/accessible.c:
89 (impl_accessibility_accessible_get_attributes),
90 (impl_accessibility_accessible_get_relation_set):
91 Bug #404584 and #401299. Return an empty object instead of return NULL.
92 * configure.in, NEWS: Uprev/release 1.17.1.
94 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
96 * Makefile.am: Dist MAINTAINERS.
98 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
100 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
101 (atk_bridge_init), (spi_atk_bridge_get_registry),
102 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
103 Fix some compiler warnings and plug a leak. Closes part of
106 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
108 * cspi/bonobo/cspi-bonobo-listener.h:
109 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
110 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
111 * cspi/spi_main.c: (SPI_eventIsReady):
112 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
113 * libspi/streamablecontent.c:
114 * libspi/util.c: (spi_re_entrant_list_delete_link):
115 * login-helper/login-helper.c:
116 * registryd/deviceeventcontroller.c:
117 (spi_controller_update_key_grabs), (isEvent):
118 * registryd/registry.c:
119 * test/key-listener-test.c: (simple_at_exit):
120 * test/login-helper-server-test.c: (test_set_wm_dock),
122 Fix a bunch of warnings from sparse:
123 - ANSIfication of function declarations
125 - Add some prototypes
126 - make some stuff static
128 2007-02-14 Li Yuan <li.yuan@sun.com>
130 * libspi/accessible.c:
131 (impl_accessibility_accessible_get_attributes):
132 Bug #404584. If there is no attributes, just return NULL.
134 2007-02-12 Li Yuan <li.yuan@sun.com>
136 * configure.in, NEWS: Uprev/release 1.17.0.
138 2007-02-12 Li Yuan <li.yuan@sun.com>
140 * atk-bridge/bridge.c:
141 (atk_bridge_init): bug #400709. we must emit events even if we are not
142 registered as a full-fledged app.
143 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
144 application like openoffice shutdown. They need to unload gtk before
145 the is spi_atk_bridge_exit_func called.
147 2007-01-22 Li Yuan <li.yuan@sun.com>
149 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
151 2007-01-22 Li Yuan <li.yuan@sun.com>
153 * cspi/bonobo/cspi-bonobo.c:
154 (cspi_get_registry_ior), (cspi_init):
155 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
157 2007-01-19 Li Yuan <li.yuan@sun.com>
159 * atk-bridge/bridge.c:
160 (atk_bridge_init), (spi_atk_bridge_register_application),
161 (deregister_application), (spi_atk_bridge_focus_tracker),
162 (spi_atk_emit_eventv):
163 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
166 2007-01-08 Li Yuan <li.yuan@sun.com>
168 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
170 2007-01-08 Li Yuan <li.yuan@sun.com>
172 * registryd/registry-main.c:
173 (main): set registry ior only when register server successfully.
174 * atk-bridge/bridge.c:
175 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
176 Bug #372988, #381670. Fix memory leak.
178 2007-01-02 Bill Haneman <billh@gnome.org>
181 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
182 appending default attributes to a text attribute set.
185 2006-12-28 Li Yuan <li.yuan@sun.com>
187 * atk-bridge/bridge.c:
188 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
189 the second time, because spi_atk_emit_eventv will free any. Bug
192 2006-12-15 Li Yuan <li.yuan@sun.com>
194 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
196 2006-12-14 Li Yuan <li.yuan@sun.com>
199 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
200 (spi_atk_bridge_property_event_listener),
201 (spi_atk_bridge_signal_listener):
202 Free some CORBA objects to fix memory leak and crash.
204 2006-12-13 Li Yuan <li.yuan@sun.com>
206 Patch from Ariel Rios to fix #163132 and #377079.
207 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
208 (spi_atk_bridge_get_registry_ior):
209 Use g_warning instead of g_error and g_critical to avoid crash.
211 2006-12-11 Bill Haneman <bill.haneman@sun.com>
214 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
215 if there are no non-default attributes defined at the current offset.
218 2006-12-04 Bill Haneman <bill.haneman@sun.com>
220 * idl/Accessibility_Role.idl: Fixed the documentation for
221 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
223 2006-12-04 Bill Haneman <bill.haneman@sun.com>
225 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
227 2006-11-07 Bill Haneman <bill.haneman@sun.com>
229 Patches from Padraig O'Briain for bugs #361386 and #369377.
231 * registryd/registry.c:
232 (struct NotifyContext): Change the e_out
233 member from an Accessibility_Event struct to a pointer to
235 (notify_listeners_cb): Modify to use the new struct definition above.
236 Allows use of ORBit_copy_value instead of CORBA_any__copy.
238 * registryd/deviceeventcontroller.c:
239 (spi_dec_button_update_and_emit): Free the event's any_data
241 (spi_dec_mouse_check):Free the event details any struct
243 (spi_device_event_controller_forward_mouse_event): Free any.
244 (spi_device_event_controller_forward_key_event): Ditto.
246 2006-11-07 Bill Haneman <bill.haneman@sun.com>
248 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
249 Don't require gtk+ and gail for building most of at-spi
252 * registryd/registry-main.c (main): We now get te value of display
253 using the env var DISPLAY rather than using the gdk_display_get_default
254 to avoid dependancy of gdk. Also, once the registry is started, we set
255 the ior of the registry as an X property.
256 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
258 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
259 the registration was successfull.
260 (spi_atk_bridge_do_registration): This function now returns success
261 or not on activating the registry.
262 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
263 has been set in the X root window and return it if available.
264 (spi_atk_bridge_get_registry): We now get the registry using the IOR
265 saved as a X property rather than using the OAFID.
267 2006-10-01 Bill Haneman <bill.haneman@sun.com>
269 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
271 2006-09-25 Bill Haneman <bill.haneman@sun.com>
273 * registryd/registry.c:
274 (desktop_remove_application): Don't pass a ref to the
275 dead application with the event, since it's probably
276 defunct and will cause SEGV if we try to unref,
277 extract app name, etc.
280 2006-09-20 Bill Haneman <bill.haneman@sun.com>
282 Patch from Neo Liu <nian.liu@sun.com>,
285 * atk-bridge/bridge.c:
286 (spi_atk_bridge_document_event_listener): New, for
289 2006-08-30 Bill Haneman <bill.haneman@sun.com>
292 Changed some parameter names so as not to
293 collide with class names - allows IDL to be compiled with
294 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
296 2006-08-22 Bill Haneman <bill.haneman@sun.com>
298 * atk-bridge/bridge.c:
299 (spi_atk_bridge_signal_listener):
300 Patch from Ginn Chen, assign detail1 in children-changed
301 so that the child object can be assigned to the Any when the
302 at-spi event is emitted. Bug #350552.
304 * libspi/application.c:
305 (spi_application_finalize): Remove g_print debug output.
308 2006-08-21 Bill Haneman <bill.haneman@sun.com>
310 * configure.in: Revved to AT-SPI 1.7.11.
312 * libspi/accessible.c:
313 (spi_accessible_new): Aggregate Hyperlink interface
314 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
316 * libspi/hyperlink.c:
317 (spi_hyperlink_new): Don't aggregate Action a second time if this
318 interface is created for an AtkHyperlinkImpl object (i.e. for a
319 child Accessible, as opposed to the Hyperlink instance from
321 (get_hyperlink_from_servant): Obtain the hyperlink from
322 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
324 Patch section from Ginn Chen...
326 * cspi/spi_accessible.c:
327 (_cspi_accessible_set_from_sequence):
328 Changed g_newa to g_new0 on Ginn Chen's suggestion.
330 * libspi/accessible.c:
331 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
332 (spi_accessible_new): Add the Document interface if present.
335 (impl_getAttributes): Fixed to use AtkAttribute properly.
338 (impl_getAttributes, impl_getDefaultAttributes):
339 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
341 2006-08-17 Bill Haneman <bill.haneman@sun.com>
343 * cspi/spi-private.h, cspi/spi_accessible.c:
344 (_cspi_attribute_set_from_sequence): Renamed from
345 cspi_attribute_set_from_sequence, to suppress export.
348 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
349 inline docs, which was keeping the doc from appearing.
350 (SPIExceptionHandler): Doc this.
352 * cspi/spi_document.c:
353 Added inline gtk-docs cut-n-pasted from the doxygen
354 docs in the corresponding IDL files.
355 (AccessibleDocument_getAttributes): Fix the retval here.
357 * cspi/spi_streamablecontent.c:
358 Fixed some 'Since' tags that were accidentally doxygen-style.
361 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
362 docs from the IDL file.
364 * docs/reference/cspi/at-spi-cspi-docs.sgml:
365 Added entities for Document and StreamableContent interfaces.
367 * docs/reference/cspi/at-spi-cspi-sections.txt:
368 Added some docs that were present inline but not getting
371 2006-07-31 Bill Haneman <bill.haneman@sun.com>
374 (impl_getRangeExtents): Use the atk_text_get_range_extents
375 API instead of looping over character bounds, now that
377 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
378 (_spi_text_bounds_contain): Remove, not needed anymore.
379 (_spi_text_rect_union): Remove, not needed anymore.
381 2006-07-31 Bill Haneman <bill.haneman@sun.com>
383 * atk-bridge/bridge.c:
384 (spi_atk_emit_eventv): Fix the CORBA_free call which was
385 causing 64-bit troubles and memory leaks.
386 Special thanks to Alexander Larsson who finally seems to
387 have tracked down the problem, not just here but in
391 (spi_init_any_object): Make sure we copy the CORBA value
392 when initializing an object for passing as a CORBA_Any.
395 2006-07-21 Bill Haneman <billh@gnome.org>
397 * idl/Accessibility.idl:
398 Reverted pragma changes, this broke the build in some envs
399 including the Debian team's build and some tinderbox builds.
401 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
404 Revved to 1.7.10, and edited the Xevie check (bug #319994).
406 * idl/Accessibility.idl:
407 Reworked inclusion of Bonobo_Unknown.idl, to
408 avoid double-linking libs in the Bonobo environment.
409 Thanks to Michael Meeks for the workaround, see bug #313122.
411 * registryd/deviceeventcontroller.c:
412 (spi_controller_notify_keylisteners):
413 Set the SPI_NUMLOCK_MASK bit if the modifier
414 corresponding to the conceptual numlock state is set.
417 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
419 * idl/Accessibility_Selection.idl:
420 (deselectChild): New method.
422 * libspi/selection.c:
423 (impl_deselectChild): Implement the new IDL method.
426 (AccessibleSelection_deselectChild): Added new method.
428 * cspi/spi_selection.c:
429 (AccessibleSelection_deselectChild): New method implemented.
431 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
433 * cspi/bonobo/cspi-bonobo.c:
434 (cspi_init): Replace g_error with g_warning, prevent
435 SEGV if the registry cannot be activated. Bug #346393.
437 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
439 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
441 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
442 2006-07-12 Ariel Rios <arios@us.ibm.com>
446 * idl/Accessibility_Table.idl:
447 (getRowColumnExtentsAtIndex): New method for getting
448 selection status and extents in one API call.
451 (impl_getRowColumnExtentsAtIndex): Implementation of
453 (spi_table_class_init): Add above to epv.
457 (AccessibleTable_getRowColumnExtentsAtIndex): New
458 method, retrieves selection status and row/col extents
459 for a table cell in a single API call.
461 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
462 2006-07-12 Ariel Rios <arios@us.ibm.com>
464 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
467 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
468 New bindings for new methods defined in idl and libspi.
471 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
472 Added prototype functions.
475 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
477 (spi_text_class_init): Added previous methods.
480 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
481 * libspi/spi-private.h: Corrections.
483 2006-06-29 Bill Haneman <bill.haneman@sun.com>
485 Added Document interface (see bug #326520),
486 with work from Ariel Rios <arios@us.ibm.com>.
488 * configure.in: Bump to 1.7.8.
490 * libspi/Makefile.am: Added document.[ch] to sources
493 (SpiDocument, SpiDocumentClass):
494 New interface implementation.
495 (spi_document_get_type, spi_document_construct)
496 (spi_document_interface_new): New methods added.
497 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
498 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
499 Added macros for SpiDocument
503 (spi_document_interface_new): Get a
504 new document interface. New.
505 (get_document_from_servant): Get an AtkDocument from servant New.
506 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
507 Implementation of methods defined on idl.
508 (spi_document_class_init, spi_document_init)
509 Init methods for SpiDocument. new
511 * idl/Accessibility.idl: Added Accessibility_Document.idl.
513 * cspi/Makefile.am: Added spi_document.c to sources.
515 * cspi/spi_document.c:
516 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
517 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
518 (AccessibleDocument_getAttributes): Bindings for methods defined
521 * cspi/spi_accessible.c:
522 (Accessible_isDocument, Accessible_getDocument) New.
524 (Accessible_isDocument, Accessible_getDocument)
525 (AccessibleDocument_ref, AccessibleDocument_unref)
526 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
527 (AccessibleDocument_getAttributes): Bindings added.
529 * idl/Makefile.am: Added Accessibility_Document.idl to
532 2006-06-29 Bill Haneman <bill.haneman@sun.com>
534 * idl/Accessibility_Document.idl: New interface
535 for complex documents. First stage of fix for RFE
538 2006-06-27 Bill Haneman <bill.haneman@sun.com>
540 * libspi/streamablecontent.c:
541 (impl_content_stream_close):
542 Unref the GIOChannel on close.
544 2006-06-23 Bill Haneman <bill.haneman@sun.com>
546 * idl/Accessibility_Role.idl:
547 * libspi/accessiblerole.c:
548 * cspi/spi_accessible.c: Added ROLE_LINK,
549 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
550 Bug #345758 and bug #140635.
553 2006-06-22 Bill Haneman <bill.haneman@sun.com>
557 * idl/Accessibility_StreamableContent.idl:
558 Fix derivation of StreamableContent and ContentStream.
560 * cspi/spi_streamablecontent.c:
561 (accessible_content_stream_client_read):
562 Fix the datatype of the content stream used.
563 Interpret short reads as EOF, and stop trying to
564 read when we've fulfilled the request.
565 (AccessibleStreamableContent_getContentTypes):
566 Use g_strdup, not CORBA_string_dup, for the strings.
567 (AccessibleStreamableContent_open):
568 Correctly use the new getStream method for opening,
569 not the deprecated getContent method.
570 Use the object reference as the stream hash key.
571 Make note of the 'one stream per client per streamable'
572 limitation in the docs.
575 Add streamablecontent.h to the list of #includes.
577 * libspi/streamablecontent.c:
578 (impl_content_stream_read): Initialize the GError.
579 Allocate the incoming buffer if reading a fixed length of
580 data. Use g_memmove instead of memcpy.
581 (impl_accessibility_streamable_get_content_types):
582 Init typelist->_maximum. Only allocate the buffer if
583 there is a non-zero number of content types available.
584 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
586 * libspi/streamablecontent.h:
587 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
590 (SPI_IS_VALUE): Fix a typo in this macro too.
592 2006-06-16 Bill Haneman <bill.haneman@sun.com>
596 * idl/Accessibility_StreambleContent.idl:
597 Deprecate the Bonobo_Stream-based methods in favor of
598 a self-contained "ContentStream" interface. This should
599 allow us to remove BonoboStream dependencies entirely, since
600 there were no non-NIL implementations of the old methods anyway.
601 (ContentStream): New interface.
602 (ContentStream::SeekType): Enum.
603 (ContentStream::seek): New.
604 (ContentStream::read): New.
605 (ContentStream::close): New.
606 (getContent): Deprecate.
607 (getURI): New method, returns a URI pointing to the content, if available.
609 * libspi/streamablecontent.c:
610 (SpiContentStream): Internal object type definition used to
611 implement Accessibility::StreamableContent::ContentStream via
612 AtkStreamableContent's GIOChannel back-end.
613 (spi_content_stream_new, spi_content_stream_dispose): See above;
615 (impl_content_stream_seek, impl_content_stream_read):
616 (impl_content_stream_close): New, implementations of
618 (impl_accessibility_streamable_get_stream): Implement the
619 public method Accessibility::StreamableContent::getStream.
620 (impl_accessibility_streamable_get_uri): Implement the
621 public method Accessibility::StreamableContent::getURI.
623 * cspi/spi_streamablecontent.c:
624 (accessible_bonobo_stream_client_seek): Replaced by
625 (accessible_content_stream_client_seek).
626 (accessible_bonobo_stream_client_read): Replaced by
627 (accessible_content_stream_client_read).
628 (AccessibleStreamableContent_open):
629 (AccessibleStreamableContent_seek):
630 (AccessibleStreamableContent_read):
631 (AccessibleStreamableContent_close): Use the new 'getStream'
632 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
634 2006-06-15 Bill Haneman <bill.haneman@sun.com>
636 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
637 remove from other .idl files (except LoginHelper).
640 2006-06-14 Bill Haneman <bill.haneman@sun.com>
642 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
645 * configure.in, */Makefile.am: mingw patch, modified from
646 original patch by yselkowitz. Bug #314216.
648 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
649 for completeness. Bug #163111.
651 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
652 * libspi/util.c, registryd/registry-main.c:
653 Fix guint/char* casts.
654 Patch from chpe, bug #333883.
656 2006-06-12 Bill Haneman <bill.haneman@sun.com>
658 * configure.in: Require atk-1.12.0, to pick up
659 new API. (bug #344412).
661 * libspi-1.0-uninstalled.pc.in:
663 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
664 Fix for #341488 from Samual Thibault.
666 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
667 Thanks to Brian Pepple.
669 2006-06-09 Bill Haneman <bill.haneman@sun.com>
672 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
673 New, missing implementations of attribute reading methods
676 * cspi/spi.h, spi_value.c:
677 (AccessibleValue_getMinimumIncrement): New methods wrapping
678 the (formerly unimplemented) property from Value.idl.
681 (impl_get_minimumIncrement): Implementation for retrieving
682 the minimum valuator increment, (formerly unimplemented).
685 2006-06-09 Bill Haneman <bill.haneman@sun.com>
687 * idl/Accessibility_State.idl:
688 Added STATE_VISITED (bug #338369).
690 * cspi/spi_accessible.c:
691 (spi_state_to_corba) Fixed marshalling of new statetypes.
694 (spi_init_state_tables, impl_getStates):
695 Fixed conversion of new statetypes to/from ATK.
697 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
699 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
700 definitions/conversions for new roles from ATK.
702 * idl/Accessibility_Relation.idl:
704 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
705 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
706 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
708 * libspi/accessible.c: Fixed marshalling of new role types from
711 2006-04-17 Matthias Clasen <mclasen@redhat.com>
713 * revert my previous change
715 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
717 * configure.in: Remove obssolete no_NO locale
718 * po/no.po: And the translation.
720 2006-04-05 Matthias Clasen <mclasen@redhat.com>
722 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
723 memory-management error that caused crashes on x86_64.
726 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
728 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
730 2006-03-27 Bill Haneman <bill.haneman@sun.com>
732 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
733 to strip "cspi_*" from the symbol table.
735 * cspi/spi_streamablecontent.c:
736 (get_streams): Make this method static.
739 (_cspi_exception_throw): rename to cspi_exception_throw,
740 so we can strip it with the rest...
743 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
745 2006-03-27 Bill Haneman <bill.haneman@sun.com>
747 Add doxygen-generated IDL docs to tarball, and enable
748 doxygen during build/install when available. Bug #301345.
750 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
752 * docs/reference/Makefile.am: Add idl to SUBDIRS.
754 * docs/reference/idl/Makefile.am: Optionally use
755 doxygen to create docs.
757 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
759 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
761 2006-03-20 Bill Haneman <bill.haneman@sun.com>
764 (impl_get_selected_rows): Don't free the selection if it's
765 empty or has not been assigned; init it to NULL so you can tell.
766 Also, allow for zero selected rows.
767 (impl_getSelectedColumns): Ditto. Bug #319088.
769 2006-03-11 Vincent Untz <vuntz@gnome.org>
771 Leak fix for bug #334217.
773 * libspi/application.c: spi_application_toolkit_event_listener():
774 don't duplicate the string we pass as an argument to
775 spi_init_any_nil() since spi_init_any_nil() already does it
776 * registryd/deviceeventcontroller.c:
777 (spi_dec_button_update_and_emit): ditto
778 (spi_dec_mouse_check): ditto
779 (spi_dec_emit_modifier_event): ditto
780 (spi_device_event_controller_forward_mouse): ditto
781 * registryd/registry.c:
782 (desktop_add_application): ditto
783 (desktop_remove_application): ditto
785 2006-02-20 Bill Haneman <billh@gnome.org>
787 * configure.in: Rev to 1.7.6.
789 Leak fixes for bug #331924.
791 * atk-bridge/bridge.c:
792 (spi_atk_bridge_init_base): Don't dup the string, it's already
793 been dup-ed. Fixes a leak.
794 (spi_atk_emit_eventv): Move the CORBA_free call here,
795 instead of spi_atk_state_event_listener; fixes another leak.
796 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
797 notifying the registry; fixes another leak.
799 * registryd/registry.c:
800 (registry_flush_event_queue): Free the CORBA_any when
801 flushing the event, not just the string. Fixes another leak.
802 (registry_queue_event): Free the CORBA_any when dropping
803 events on the floor; fixes another leak.
806 (spi_init_any_object, spi_init_any_nil):
807 Always set _release to TRUE. Fixes another leak.
809 2006-02-20 Bill Haneman <billh@gnome.org>
811 * configure.in: Rev to 1.7.5.
812 Reinstate localization of this module. Thanks for Rodney
813 Dawes for fixing my patch.
815 * registryd/Makefile.am: Remove Accessibility_Registry.server
816 from dist, since it needs to be re-created at configure time.
819 2006-01-31 Bill Haneman <billh@gnome.org>
821 * configure.in: Rev to 1.7.4 (to include build fix below).
823 * idl/Makefile.am: Include Selector.idl in dist.
827 (cspi_internal_event_get_object): Handle case where
828 "object" isn't present, i.e. CORBA_TC_Object doesn't match
829 the EventDetails data.
830 (cspi_internal_event_get_text): Handle NULL string.
831 (cspi_internal_event_get_rect): Handle missing/empty rect
832 data, Accessibility_TC_RectBounds doesn't match any_data.
834 2006-01-30 Bill Haneman <billh@gnome.org>
838 * atk-bridge/bridge.c:
839 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
840 interface and use that when instantiating a new source
841 accessible. Better fix for bug #321814.
843 2006-01-27 Bill Haneman <billh@gnome.org>
845 * idl/Accessibility_Selector.idl: Added to the cvs repository.
847 * configure.in: Revved to 1.7.3.
849 2006-01-17 Bill Haneman <billh@gnome.org>
851 * configure.in: Revved to 1.7.2, re-dist to include docs.
853 2006-01-09 Bill Haneman <billh@gnome.org>
855 * configure.in: Removed po/Makefile.in inclusion, we do not need
858 * idl/Accessibility.idl: Improved documentation here, and for all
859 IDL in the 'GNOME::Accessibility' namespace.
861 * idl/Accessibility_Accessible.idl:
862 (LOCALE_TYPE): Added enum.
863 (AttributeSet): New, for returning multiple name/value attribute pairs.
864 (RoleSet): New, sequence of Roles, to be used in upcoming
866 (getAttributes): New API, allows retrieval of name/value pair
867 annotations for all kinds of Accessible objects. C.f.
868 Text:getAttributes, which is only for typographic/textual/semantic tags in
870 (getApplication): New, retrieves the host/containing Application
871 instance for an object (without having to walk up the whole tree).
873 * idl/Accessibility_Component.idl:
874 (getAlpha): New method, returns the alpha blending (aka 'opacity')
875 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
878 * idl/Accessibility_Event.idl:
879 (EventDetails): New struct definition, for encapsulating
880 commonly-queried information about emitted events. The use of
881 this structure in emitted events (in the 'any' member of
882 Accessibility_Event) should greatly reduce the number of
883 client-server roundtrips necessary.
885 * idl/Accessibility_Image.idl:
886 (imageLocale): New, a readonly attribute indicating the POSIX
887 LC_MESSAGES locale of the image and associated Alt/descriptive
890 * idl/Accessibility_Relation.idl:
891 (RELATION_PARENT_WINDOW_OF): Include, as complement to
894 * idl/Accessibility_Role.idl:
895 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
896 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
897 complex document and form support.
899 * idl/Accessibility_State.idl:
900 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
901 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
902 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
903 for support of complex documents and forms.
905 * idl/Accessibility_StreamableContent.idl:
906 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
907 allow old bonobo-stream interfaces to be deprecated in the next
910 * idl/Accessibility_Text.idl:
911 (getAttributeValue): New method, allows query-by-name of single
914 * libspi/accessible.c:
915 Added support for new roles. Implemented new methods
916 (impl_accessibility_accessible_get_application): New
917 (impl_accessibility_accessible_get_attributes): New
919 * libspi/component.c:
920 (impl_accessibility_component_get_alpha): New.
923 (impl_accessibility_image_get_locale): New.
925 * libspi/relation.c: Added support for new relation type.
927 * libspi/stateset.c: Added support for new state types.
930 (impl_getAttributeValue): New.
933 New prototypes for private methods
935 spi_init_any_object, spi_init_any_string,
938 * libspi/spi_event.c:
939 Use EventDetails in the event emission methods.
941 * cspi/spi-private.h:
942 (cspi_role_from_spi_role): Expose this adapter method, since
943 we need it in the bridge (see below).
946 (AccessibleEvent_getSourceName):
947 (AccessibleEvent_getSourceRole):
948 (AccessibleEvent_getSourceApplication):
949 (AccessibleEvent_getSourceDetails):
950 New methods for interrogating/demarshalling
951 event details (i.e. source's accessible name, role,
954 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
955 Make use of the new EventDetails struct in events, if present.
956 (AccessibleEvent_getSourceName)
957 (AccessibleEvent_getSourceRole)
958 (AccessibleEvent_getSourceApplication)
959 (AccessibleEvent_getSourceDetails): Implement the newly exposed
961 (Accessible_getAttributes): New, wraps
962 Accessibility_Accessible_getAttributes.
963 (Accessible_getHostApplication): New, wraps
964 Accessibility_Accessible_getApplication.
967 (AccessibleImage_getImageLocale): New wrapper for
968 Accessibility_Image_get_imageLocale.
970 * cspi/spi_component.c:
971 (AccessibleComponent_getAlpha): New wrapper for
972 Accessibility_Component_getAlpha.
974 * atk-bridge/bridge.c:
975 Use new prototyped for init_any methods.
976 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
977 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
978 (spi_atk_bridge_init_base): Wrappers
979 for spi_init_any_* methods, due to refactor; include extended
980 information in the Accessibility_EventDetails struct, for instance
981 accessible-name, Role, and containing Application.
983 * registryd/registry.c:
984 Use new event emission (with EventDetails).
986 * registryd/deviceeventcontroller.c:
987 Use new event emission (with EventDetails).
989 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
991 * configure.in: Generate po/Makefile.in
992 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
993 * cspi/spi_streamablecontent.c:
994 (accessible_bonobo_stream_client_seek),
995 (AccessibleStreamableContent_seek): Remove unused vars.
996 * libspi/application.c: Missing header.
997 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
998 * login-helper/login-helper.c: (login_helper_finalize),
999 (login_helper_init): Remove unused stuff
1000 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1001 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1002 and surround some with #ifdef GRAB_BUTTON.
1003 * test/event-listener-test.c: (main), (report_event),
1004 (report_caret_event), (report_detail_event),
1005 (report_detail1_event), (report_bounds_event), (report_text_event),
1006 (report_text_selection_event),
1007 (report_active_descendant_changed_event),
1008 (report_children_changed_event), (report_name_changed_event),
1009 (report_description_changed_event), (report_parent_changed_event),
1010 (report_window_event), (report_table_summary_event),
1011 (report_table_header_event), (report_table_caption_event),
1012 (report_table_row_description_event),
1013 (report_table_column_description_event), (timing_test_event):
1014 Remove a bunch of unused variables and fix a slew of format specifiers
1015 * test/key-listener-test.c: (report_all_key_event): Format specifier
1016 * test/keypad-test.c: (print_key_event): Same
1017 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1019 * test/screen-review-test.c: (main), (print_chunk_debug),
1020 (review_buffer_get_text_chunk), (debug_chunk_list),
1021 (string_guess_clip), (text_chunk_get_clipped_string),
1022 (text_chunk_list_to_string), (get_screen_review_line_at):
1023 Remove unused variables and fix format specifiers.
1024 * test/simple-at.c: (report_text_event): Format specifier fix.
1025 * test/stress-test.c: (main): Remove unused var.
1027 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1029 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1030 (yes I know that's useless)
1032 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1034 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1036 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1038 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1039 urgh-fix embarassing typo.
1041 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1043 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1044 do a faster, less problematic _unref call on this local
1045 object, rather than a slower (potentially cross-thread
1046 complicated) CORBA call.
1048 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1050 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1051 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1052 * registryd/deviceeventcontroller.c:
1053 (spi_controller_notify_mouselisteners),
1054 (impl_generate_keyboard_event):
1055 * test/screen-review-test.c: (chunk_bounds_within):
1056 * test/test-simple.c: (test_desktop): Remove some unused code
1057 and fix compiler warnings. Closes bug #320049.
1059 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1061 * registryd/deviceeventcontroller.c:
1062 (spi_controller_notify_keylisteners): Check
1063 to make sure the event listener has requested 'preemptive'
1064 status before pre-empting an event.
1066 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1068 * configure.in, README, NEWS: Release 1.6.5.
1070 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1072 * test/window-listener-test.c: Fix a printf
1073 format error. (#169453)
1075 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1077 * tests/test-simple.c:
1078 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1079 relying on the old string from the key event hanging around after
1080 the event handler returns. Fixes broken 'make check'.
1082 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1084 * Added Marathi (mr_IN) translations.
1086 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1088 * cspi/bonobo/cspi-bonobo-listener.c:
1089 (cspi_event_list_remove_by_cb): Fix the build.
1091 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1093 * cspi/bonobo/cspi-bonobo-listener.c
1094 (cspi_event_list_remove_by_cb): actually filter by callback.
1096 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1098 * registryd/registry.c (remove_listener_cb):
1099 Make deregistration filter rules match the event emission rules.
1101 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1103 * registryd/registry.c (remove_listener_cb),
1104 (impl_accessibility_registry_deregister_global_event_listener),
1105 (impl_accessibility_registry_deregister_global_event_listener_all):
1106 pass a closure to the remove callback to filter listeners more
1107 accurately on remove.
1109 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1111 * configure.in: Revved to 1.6.4.
1112 Remember to put quotes around XEVIE_LIBS assignment.
1113 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1116 * tests/event-listener-test.c: Tweaked the tests - more detail
1117 from caret events, and some interrogation of AccessibleText APIs.
1118 Commented-out the bounds-changed events by default, since they can
1121 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1123 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1124 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1125 Same here. Closes bug #167806
1127 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1129 * atk-bridge/bridge.c:
1130 (spi_atk_bridge_signal_listener):
1131 Free the any._value if any._release is TRUE,
1132 since the ORB won't do it for us in this case
1133 [because this method is not a skel].
1134 Fix for bug #168679.
1136 2005-03-30 Steve Murphy <murf@e-tools.com>
1138 * configure.in: Added "rw" to ALL_LINGUAS.
1140 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1142 * configure.in: Improved check for HAVE_XEVIE, to detect
1143 presence on XOrg, where -lXevie is a separate library.
1145 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1147 * configure.in, NEWS, README: Revved to 1.6.3.
1149 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1151 * configure.in: Added "xh" to ALL_LINGUAS.
1153 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1155 * atk-bridge/bridge.c:
1156 (atk_bridge_init): Added missing NULL in g_strconcat(),
1157 also check for symlink before logging to
1158 insecure directory. Thanks to meissner@suse.de.
1160 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1162 * tests/login-helper-server-test.c: Add return call to main
1163 function. Patch from Chris Lahey. Fixes bug #165129.
1165 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1167 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1169 2004-12-09 Bill Haneman <billh@gnome.org>
1171 * registryd/registry-main.c:
1172 Added #define <string.h> for strrchr. (bug 160862).
1173 Thanks to Vincent Berger for catching.
1175 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1177 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1178 restart registry process if the registry process is found to have died
1179 and the current process is exiting.
1180 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1181 application if the registry process has died.
1182 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1183 does not return a registry object.
1184 (spi_atk_tidy_windows): Give up if the registry process has died.
1186 This fixes problems with hangs and crashes when logging out.
1188 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1190 * registryd/desktop.c: Add checking that we are not exiting before
1191 calling spi_desktop_remove_application in
1192 abnormal_application_termination. Fix for bug #152147.
1194 2004-12-02 Bill Haneman <billh@gnome.org>
1196 * configure.in, NEWS, README: Revved to 1.6.1.
1198 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1199 * atk-bridge/bridge.c:
1200 (atk_bridge_init): Save the pid when we start, to detect forks.
1201 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1202 if we're in a forked pid.
1204 2004-10-09 Bill Haneman <billh@gnome.org>
1206 * idl/Accessibility_LoginHelper.idl:
1207 Improved inline documentation.
1209 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1211 * configure.in: Added gl (Galician) to ALL_LINGUAS
1213 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1215 * libspi/accessible.c:
1216 (impl_accessibility_accessible_get_role_name),
1217 (impl_accessibility_accessible_get_local_role_name):
1218 NULL vs. 0 cleanups.
1219 * libspi/component.c:
1220 (impl_accessibility_component_get_accessible_at_point):
1222 * libspi/eventlistener.c: (spi_event_listener_new):
1224 * libspi/stateset.c: (impl_compare): More of the same
1225 * libspi/table.c: (impl_getRowDescription): Again.
1226 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1227 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1228 (impl_generate_keyboard_event): Same.
1229 * registryd/registry-main.c: (main): Same
1230 * test/event-listener-test.c: (test_exit): Same
1231 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1232 * test/keysynth-test.c: (test_key_synthesis): Same
1233 * test/login-helper-server-test.c: (main): Fix warning.
1234 * test/screen-review-test.c: (test_exit): Fix include.
1235 * test/simple-at.c: (simple_at_exit), (_festival_init):
1238 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1240 * configure.in, NEWS, README: Revved to 1.6.0.
1242 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1244 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1245 was missing the HTML docs.
1247 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1249 * configure.in: only cleanups:
1250 - better looking PKG_CHECK_MODULES() output,
1252 - declare in one common place required versions of other tools using
1255 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1257 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1258 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1259 required ATK version accordingly.
1261 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1263 * cspi/bonobo/cspi-bonobo.c:
1264 (cspi_display_name): Fix C99ism.
1265 * atk-bridge/bridge.c:
1266 (spi_display_name): Fix C99ism.
1267 Patch from Jens Granseuer, jensgr@gmx.net.
1269 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1271 * configure.in: Added "or" to ALL_LINGUAS.
1273 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1275 * configure.in, NEWS, README: Revved to 1.5.4.
1277 * registryd/registry-main.c:
1278 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1281 * cspi/bonobo/cspi-bonobo.c:
1282 (cspi_display_name): New convenience method, gets DISPLAY with
1283 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1284 (cspi_init): Set the activation env value above before getting
1287 * atk-bridge/bridge.c:
1288 (spi_display_name): Create the AT_SPI_DISPLAY activation
1289 environment for an app, based on the DISPLAY environment with the
1290 screen number stripped off.
1291 (atk_bridge_init): Allow redirection of error messages to a log.
1292 (spi_atk_bridge_get_registry): Call
1293 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1295 Fixes for bugs #149962, #136986, #144086.
1297 2004-08-16 Christian Rose <menthos@menthos.com>
1299 * configure.in: Added "bs" to ALL_LINGUAS.
1301 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1303 * configure.in: Added nb to ALL_LINGUAS.
1305 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1308 (SPI_init): Return error code '2' if the activated
1309 registry cannot be pinged. Fixes bug #147648.
1311 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1313 * registryd/deviceeventcontroller.c:
1314 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1315 rely on timer-poll instead, to avoid conflict with
1318 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1320 * configure.in: Revved to 1.5.3.
1322 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1324 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1326 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1328 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1330 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1332 * atk-bridge/bridge.c:
1333 (spi_atk_bridge_do_registration):
1334 Register with ATK for AtkComponent:bounds-changed events.
1335 (api_atk_bridge_signal_listener):
1336 Marshal the AtkRectangle info into the event notification
1337 for object:bounds-changed events.
1340 (spi_init_any_rect): New method, inits a corba struct of
1341 type Accessibility_BoundingBox from an AtkRectangle.
1343 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1346 (SPIRect): New struct definition.
1347 (SPI_freeRect): New declaration.
1348 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1351 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1352 implemented. Gets the bounding box data from the CORBA_any
1353 associated with a bounds-changed event notification.
1354 (cspi_internal_event_get_rect): New, used internally by above method.
1357 (SPI_freeRect): Implemented this new method, for freeing
1360 * test/event-listener-test.c:
1361 (main, report_bounds_event):
1362 Added a test for object:bounds-changed events.
1364 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1366 * test/login-helper-server-test.c:
1367 (main): Fix C99-ism. Thanks to Jens Granseuer.
1369 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1371 * libloginhelper-1.0.pc.in:
1372 * idl/Accessibility_LoginHelper.idl:
1373 * login-helper/Makefile.am:
1374 * login-helper/login-helper.[ch]:
1375 * test/login-helper-client-test.c:
1376 * test/login-helper-server-test.c: Added files missing from CVS.
1377 Files obtained from at-spi-1.5.2 tarball.
1379 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1381 * configure.in: Create login-helper/Makefile.
1382 Incremented micro version.
1384 * Makefile.am: Add login-helper subdir and pkgconfig data.
1386 * login-helper: New subdir.
1388 * libloginhelper-1.0.pc.in: New.
1390 * idl/Accessibility_LoginHelper.idl: New file, defines
1391 interface whereby authentication clients can identify agents which
1392 need access to services during the login process, e.g. screen lock
1395 * login-helper/Makefile.am : New.
1397 * login-helper/login-helper.[ch] : New, implementation of
1398 a LoginHelper base class. Services needing LoginHelper can subclass.
1400 * test/Makefile.am : Added test for login-helper, client and
1403 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1404 Use proper prefix in #include files.
1406 * test/login-helper-client-test.c: New.
1408 * test/login-helper-server-test.c: New.
1410 2004-05-27 Alexander Shopov <ash@contact.bg>
1412 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1414 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1416 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1417 is positive. This should make it easier to detect inapprorpiate unref
1420 2004-05-11 James Henstridge <james@daa.com.au>
1422 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1423 no-op and deprecated.
1425 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1427 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1429 2004-04-28 Bill Haneman <billh@gnome.org>
1431 * Makefile.am: Added --enable-gtk-doc to
1432 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1434 2004-04-19 Bill Haneman <billh@gnome.org>
1436 * configure.in: Revved to 1.5.1.
1438 * registryd/deviceeventcontroller.c:
1440 (DEControllerPrivateData): Added fields for
1441 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1442 (spi_dec_replace_map_keysym): New internal utility for
1443 replacing a keysym in the keymap - used to allow
1444 synthesis of individual characters which aren't in the
1446 (spi_dec_reset_reserved): New; resets the changed keysym value
1448 (keycode_for_keysym): We now try to deal with failed
1449 XKeysymToKeycode requests by changing a keymap value
1450 and returning a reserved keycode. We now take
1451 a DEController pointer as first arg.
1452 (spi_controller_register_with_devices): Call XkbGetMap with
1453 the XkbKeySymsMask. Find the highest keycode in the current
1454 keymap which doesn't have any grabs, and mark that one for
1455 temporary re-mapping when out-of-range KeySyms are synthesized.
1456 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1459 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1461 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1463 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1465 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1467 2004-03-24 Bill Haneman <billh@gnome.org>
1470 (AccessibleTable_addRowSelection),
1471 (AccessibleTable_addColumnSelection),
1472 (AccessibleTable_removeRowSelection),
1473 (AccessibleTable_removeColumnSelection):
1474 Add declarations for spi wrappers which were
1475 inadvertantly omitted. Fixes bug #133413.
1478 Revved to 1.5.0 (unstable series for GNOME 2.7).
1480 2004-03-24 Bill Haneman <billh@gnome.org>
1482 * atk-bridge/bridge.c:
1483 Bracketed some debug output in
1484 conditionals, to avoid printing it in normal use.
1487 * libspi/hyperlink.c:
1488 Don't cast 'object' to ATK_OBJECT when constructing
1489 an AtkAction interface for a hyperlink.
1490 See discussion in bug #120659.
1492 * test/key-listener-test.c:
1493 (report_all_key_event): Send output to stderr,
1494 not stdout, for consistency with the rest of the test callbacks.
1497 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1498 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1499 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1500 try incrementing the revision AFTER doing a dist, at least
1503 2004-03-22 Bill Haneman <billh@gnome.org>
1505 * configure.in: Revved to 1.4.0, libtool 9.14.9
1507 2004-03-17 Laszlo Peter <laca@sun.com>
1509 * libspi-1.0-uninstalled.pc.in: add idldir
1511 * cspi-1.0-uninstalled.pc.in: add idldir
1513 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1515 * configure.in: Added "en_GB" to ALL_LINGUAS
1517 2004-03-15 Bill Haneman <billh@gnome.org>
1519 * configure.in: Revved to 1.3.16,
1522 2004-03-15 Laszlo Peter <laca@sun.com>
1524 * libspi-1.0-uninstalled.pc.in: new file
1526 * cspi-1.0-uninstalled.pc.in: new file
1528 * configure.in: add the new pc files to AC_OUTPUT
1530 * Makefile.am: add the new pc files to EXTRA_DIST
1532 2004-03-12 Bill Haneman <billh@gnome.org>
1534 * atk-bridge/bridge.c:
1535 (spi_atk_bridge_key_listener):
1536 Make sure to return consumed=FALSE if snoop
1537 event is not dispatched to listener.
1540 2004-03-01 Bill Haneman <billh@gnome.org>
1542 * configure.in: Revved to 1.3.15,
1545 2004-03-07 Danilo Segan <dsegan@gmx.net>
1547 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1549 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1551 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1553 2004-03-01 Bill Haneman <billh@gnome.org>
1555 * configure.in: Revved to 1.3.14.
1558 (SPI_exit): Removed "bye-bye" exit message.
1559 Moved "leak" report to happen before the
1560 iteration over the leaked refs list.
1561 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1563 2004-02-24 Bill Haneman <billh@gnome.org>
1565 * configure.in: Revved to 1.3.13.
1567 * docs/reference/cspi/Makefile.am:
1568 Correct typo that was breaking the docs build.
1570 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1572 * autogen.sh: Require version 1.7 of automake.
1574 * configure.in: call GTK_DOC_CHECK([1.0])
1576 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1578 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1580 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1582 * test/Makefile.am: Remove use of CFLAGS.
1584 This fixes bug #132987.
1586 2004-02-11 Bill Haneman <billh@gnome.org>
1588 * reverted most of Tomasz' patch below, since it was breaking
1589 builds (see bug #134058).
1591 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1593 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1594 correct pass "make dist" (empty .. because seems no sach types in
1595 header files with gtk-doc markups).
1596 * docs/reference/cspi/Makefile.am, configure.in:
1597 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1598 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1599 * Makefile.am: added:
1600 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1601 for force correct pass generate documentation on "make distcheck".
1602 * libspi/Makefile.am: fixes for automake >= 1.6.
1603 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1604 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1607 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1609 * docs/reference/cspi/Makefile.am (install-data-local): Install
1610 index.sgml since the doc autobuilder on widget.gnome.org looks for
1613 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1615 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1618 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1620 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1622 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1624 * test/simple-at.c: Fixed null string problems that cause core
1625 dumping problems on Solaris.
1627 2004-01-12 Bill Haneman <billh@gnome.org>
1629 * configure.in: Incremented version to 1.3.11.
1631 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1633 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1634 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1637 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1639 * configure.in: Added "fa" to ALL_LINGUAS.
1641 2003-12-20 Arafat Medini <lumina@silverpen.de>
1643 * configure.in: Added "ar" to ALL_LINGUAS
1645 2003-12-16 Bill Haneman <billh@gnome.org>
1647 * registryd/registry-main.c:
1649 Set the reg_env DISPLAY variable before registering the
1650 activated registry service. Fixes bug #129479.
1652 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1654 * configure.in: Added "id" in ALL_LINGUAS
1655 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1657 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1659 * registryd/deviceeventcontroller.c (global_filter_fn):
1660 When an event is consumed discard any XEvents were added to
1661 the queue while dealing with the the event. This can happen if
1662 processing of the event takes a long time. Call XUngrabKeyboard
1663 if an event was discarded. This fixes bug $124837.
1664 Only call wait_for_release_event for a KeyPress.
1665 Use local variable display instead of spi_get_display().
1666 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1669 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1671 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1672 Allow for mask to contain values other than NumLock mask.
1675 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1677 * registryd/devieceventcontroller.c:
1678 (wait_for_release_event): Change first parameter from GdkEvent to
1680 (global_filter_fn); Correct call to wait_for_release_event.
1684 2003-12-08 Bill Haneman <billh@gnome.org>
1688 * registryd/ucs2keysym.c: New file.
1690 * registryd/deviceeventcontroller.c:
1691 (dec_keysym_for_unichar): Remove old partial implementation and
1692 replace with call to ucs2keysym(), which is much more complete.
1693 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1698 2003-12-05 Bill Haneman <billh@gnome.org>
1700 * configure.in: Version 1.3.9.
1702 * docs/reference/cspi/tmpl/spi_registry.sgml:
1703 Added reference to libspi/keymasks.h to the
1704 description of Registry queries: AccessibleKeyMaskType.
1707 2003-12-04 Bill Haneman <billh@gnome.org>
1709 Fix for bug #121974.
1711 * idl/Accessibility_Application.idl:
1712 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1713 setlocale's LC_TYPEs.
1714 (Accessibility::Application::getLocale): New method.
1715 Allows clients to query the locale, by type, of an app.
1718 * cspi/spi_application.c:
1719 (AccessibleApplication_getLocale): New method, wraps IDL above.
1721 * libspi/application.c:
1722 (spi_application_class_init): Init epv entry for getLocale.
1723 (impl_accessibility_application_get_locale): Impl for above.
1725 * test/test-simple.c:
1726 (test_application): Added assertion for getLocale, i.e.
1727 that the string from AccessibleApplication_getLocale (app, type)
1728 is the same as that from setlocale (type, NULL);
1730 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1732 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1733 the keyboard on a timeout intil the key state goes from pressed to
1734 released. Fixes bug #111429.
1736 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1738 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1739 root object so that it is present when a context menu in an
1740 out-of-process applet is popped up.
1741 (spi_atk_bridge_do_registration): Create acceessible application root
1742 object only if it does not exist.
1744 This fixes bug #125834.
1746 2003-12-01 Bill Haneman <billh@gnome.org>
1748 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1751 Added enum for AccessibleStreamableContentSeekType.
1752 (AccessibleStreamableContent_freeContentTypeList): New.
1754 * cspi/spi_streamablecontent.c:
1755 (accessible_bonobo_stream_client_seek): New private method.
1756 (AccessibleStreamableContent_seek): Implemented this method,
1757 using Bonobo_Stream_seek.
1758 (AccessibleStreamableContent_freeContentTypeList): New method
1759 for freeing the return value from
1760 AccessibleStreamableContent_getContentTypes.
1761 (stream_cache_item_free): Replaces stream_release; stop leaks.
1762 (stream_release): removed.
1763 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1764 free the memory properly.
1766 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1768 Fix for bug #116009.
1770 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1772 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1774 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1776 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1778 2003-12-01 Bill Haneman <billh@gnome.org>
1780 Fix for bug/rfe #127463.
1782 * idl/Accessibility_Accessible.idl:
1783 (getLocalizedRoleName): New.
1784 (unimplemented4): Removed (replaced by above).
1786 * libspi/accessible.c:
1787 (impl_accessibility_accessible_get_local_role_name): New.
1788 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1792 (Accessible_getLocalizedRoleName): New.
1794 * cspi/spi_accessible.c:
1795 (Accessible_getLocalizedRoleName): New.
1797 2003-12-01 Bill Haneman <billh@gnome.org>
1799 Fix for bug #118581.
1800 * idl/Accessibility_Text.idl:
1801 (getDefaultAttributes): New.
1802 (unimplemented4): Removed (replaced by above method).
1805 (impl_getDefaultAttributes): New method.
1806 (spi_text_class_init):
1807 initialize the get_default_attributes slot in the epv.
1810 (AccessibleText_getDefaultAttributes): New prototype.
1813 (AccessibleText_getDefaultAttributes): New method.
1815 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1817 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1818 write beyond the end of the table. Fixes bug #120473.
1820 2003-09-30 Christian Rose <menthos@menthos.com>
1822 * configure.in: Added "eu" to ALL_LINGUAS.
1824 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1826 * configure.in: ALL_LINGUAS: Added no.
1828 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1830 * configure.in: Added lt to ALL_LINGUAS.
1832 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1834 * atk-bridge/bridge.c:
1835 (atk_bridge_init): Register event listeners always even for
1836 out-of-process applet.
1837 (spi_atk_bridge_toplevel_added): Remove call to
1838 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1839 (spi_atk_bridge_toplevelk_removed): Remove call to
1840 spi_atk_deregister_event_listenersa as the listeners are now always
1842 (spi_atk_bridge_register_application): Remove call to
1843 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1845 This fixes bug #120991.
1847 * libspi/table.c (impl_getColumnDescription): Correct typo,
1848 pointed out by Bolian.Yin@sun.com.
1850 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1852 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1854 2003-09-08 Bill Haneman <billh@gnome.org>
1856 * configure.in: Revved to 1.3.7.
1858 This is the GNOME 2.4.0 release of at-spi.
1860 * docs/reference/cspi/Makefile.am:
1861 Removed spurious inclusion of 'index.sgml' in the
1862 html directory; this was breaking make distcheck and
1863 also some other build environments.
1865 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1867 * registryd/registry.[ch}:
1868 Add queue_handler_id and focus_object to SpiRegistry data structure.
1869 (registry_flush_event_queue): If event being discarded is
1870 "state-change:focused" store object as focus_object.
1871 (registry_start_queue): Remove queue handler and focus object
1873 (registry_discard_event): New function which discards a focus event
1874 if we had stored focus object in the registry.
1875 (registry_queue_event): Add new check that is_queueing is set as this
1876 function is reentrant.
1877 (registry_filer_event): Add call to registry_discard_event.
1879 This resolves issues raised in bug #108664.
1881 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1883 * configure.in: Added "bn" to ALL_LINGUAS.
1885 2003-09-04 Bill Haneman <billh@gnome.org>
1887 * cspi/spi_event.c: Documentation improvements for
1888 (SPI_registerAccessibleKeylistener).
1890 * docs/reference/tmpl/spi_registry.sgml:
1891 Documentation improvements for SpiAccessibleKeylistenerCB.
1893 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1895 * configure.in: Added "ro" to ALL_LINGUAS.
1898 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1900 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1901 not decremented to zero. Fixes bug #120725.
1903 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1905 * configure.in: Added "ja" to ALL_LINGUAS.
1907 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1909 * configure.in: Added "is" to ALL_LINGUAS.
1911 2003-08-22 Christian Rose <menthos@menthos.com>
1913 * configure.in: Added "nl" to ALL_LINGUAS.
1915 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1917 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1918 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1920 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1922 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1923 type for unspecified exception.
1924 * cspi_streamablecontect): Add include of string.h for memcpy.
1925 (stream_release): Correct call to bonobo_object_release_unref
1926 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1927 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1928 argument of _cspi_expection_throw.
1929 * libspi/hyperlink.c: Add include of libspi/action.h:
1930 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1931 * libspi/streamablecontent.c: add include of libspi/component.h.
1932 * regisrtyd/deviceeventcontroller.c:
1933 (spi_dec_translate_mask): Removed unused variable priv.
1934 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1935 * registryd/registry.c:
1936 (registry_filter_event): Remove unused variable queue_is-empty.
1937 (impl_registry_notify_event): Use correct modifier in fprintf call.
1939 This fixes compiler warnings reported in bug #120220.
1941 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1943 * registryd/registryd.c: Remove this file.
1945 2003-08-17 Sanlig Badral <badral@openmn.org>
1947 * configure.in: Added mn to ALL_LINGUAS.
1949 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1951 * configure.in: Added et to ALL_LINGUAS.
1953 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1955 * test/event-listener-test.c: Change active-descendant to
1956 active-descendant-changed.
1958 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1960 * configure.in: Added "fi" in ALL_LINGUAS.
1962 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1964 * configure.in: Added "hi" in ALL_LINGUAS.
1966 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1968 * configure.in: Revved to 1.3.6.
1972 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1974 * registryd/deviceeventcontroller.c
1975 (spi_device_event_controller_object_finalize): Fix typo in previous
1978 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1980 * registryd/deviceeventcontroller.c
1981 (spi_device_event_controller_object_finalize): Fix build on
1982 systems without XEvIE.
1984 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1986 * acconfig.h, configure.in, registryd/Makefile.am,
1987 registryd/devicecontoller.[ch]: Add XEViE support.
1989 2003-08-06 Wang Jian <lark@linux.net.cn>
1991 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1993 2003-08-06 Metin Amiroff<metin@karegen.com>
1995 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1997 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1999 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2000 MODIFIER_ALT in correct place.
2002 This fixes part of bug #118114.
2004 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2006 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2008 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2010 * configure.in: Added "ko" to ALL_LINGUAS.
2012 2003-07-28 Ole Laursen <olau@hardworking.dk>
2014 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2016 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2018 * configure.in: Added "sq" to ALL_LINGUAS.
2020 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2022 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2024 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2026 * configure.in: updated ALL_LINGUAS list
2028 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2030 * configure.in: Added Belarusian to ALL_LINGUAS.
2032 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2034 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2036 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2037 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2039 This fixes bug #116949.
2041 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2043 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2044 Correct CSPI to SPI in function documentation.
2046 This fixes bug #118054.
2048 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2050 * configure.in: Added Russian to ALL_LINGUAS.
2052 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2054 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2056 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2058 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2060 2003-07-10 Joel Brich <joel.brich@laposte.net>
2062 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2064 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2066 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2068 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2070 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2071 resources allocated for AccessibleEvent. See cspi_event().
2073 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2074 static variable streams to NULL.
2076 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2077 Update so that AcessibleEvent_ref will work.
2079 This fixes bug #116624.
2081 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2083 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2085 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2087 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2089 2003-07-02 Christian Neumair <chris@gnome-de.org>
2091 * configure.in: Added "de" (German) to ALL_LINGUAS.
2093 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2095 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2097 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2099 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2101 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2103 * configure.in: Added "pl" to ALL_LINGUAS.
2105 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2107 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2109 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2112 (get_action_from_servant):
2113 Removed assertion that action is implemented on an AtkObject.
2115 * libspi/hyperlink.c:
2116 (spi_hyperlink_new):
2117 Aggregate AccessibleAction interface on the hyperlink object if
2118 the object implements AtkAction. (This convention is used in
2121 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2123 * configure.in: Revved to 1.3.5.
2125 * registryd/Accessibility_Registry.server.in.in:
2126 Marked up appropriate strings for translation.
2128 * atk-bridge/bridge.c: Marked a couple of
2129 user-visible warnings for translation. Questionable
2130 whether they are really useful, but possibly so.
2133 2003-06-28 Christian Rose <menthos@menthos.com>
2135 * configure.in: Added "sv" to ALL_LINGUAS.
2137 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2139 * registryd/registry.c:
2140 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2141 (registry_defer_on_event): Defer focus: events, this is an
2142 improvement to the patch for bug #108664.
2144 * TODO: Update with 2.4/"Dev Complete" items.
2146 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2148 * atk-bridge/bridge.c:
2149 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2150 looks up signals once.
2151 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2152 if doing registration.
2153 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2154 when doing registration.
2156 This fixes bug #115014.
2158 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2160 * atk-bridge/bridge.c:
2161 (atk_bridge_init): Add signal handler for children-changed:remove on
2162 root when in a BonoboComponent.
2163 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2164 for first toplevel only other incrememt variable toplevels.
2165 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2166 application and remove listeners.
2167 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2169 (spi_atk_deregister_event_listeners): New function which removes
2171 (reinit_register_vars): New fuction which reinitializes variables.
2173 This fixes bug #111578.
2175 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2177 * configure.in: version 1.3.4.
2179 * cspi/spi_accessible.c:
2180 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2183 2003-06-13 Michael Meeks <michael@ximian.com>
2185 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2187 * cspi/spi_main.c (cspi_peek_ev): impl.
2189 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2191 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2193 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2195 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2196 SPI_ROLE_AUTOCOMPLETE
2198 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2200 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2201 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2203 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2205 * libspi/streamablecontent.h:
2206 * libspi/streamablecontent.c:
2207 New files, provide implementation/wrappers for
2208 Accessibility_StreamableContent.
2210 * cspi/spi_streamablecontent.c:
2211 Connected the C wrappers to the libspi C bindings.
2212 (AccessibleStreamableContent_close): New method.
2215 (AccessibleStreamableContent_close): New method, needed
2216 since we have an "open, [seek], read, close" model in cspi.
2218 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2220 Fix for #108664; Padraig's revision of my original patch.
2222 * registryd/registry.h:
2223 Added event queue list, is_queuing, and exit_notify_timeout
2224 to the registry struct.
2226 * registryd/registry.c:
2227 (registry_init): Initialize new struct from registry.h.
2228 (impl_registry_notify_event):
2229 Filter events before notifying, in case some need to be
2231 (registry_filter_event): New,
2232 we defer certain incoming events (for instance
2233 window:deactivate) because we may wish to hide
2234 or reject them based on pending events. This is
2235 mostly a workaround for bug #108664.
2236 (registry_queue_event, registry_start_queue): New.
2237 (registry_defer_on_event): Test event to see if it
2239 (registry_reset_on_event): Returns TRUE if the
2240 event should cause a queue reset.
2241 (registry_discard_on_event): Returns TRUE if the event
2242 should cause the previous queue contents to be discarded.
2243 (registry_timeout_flush_queue): Flushes the pending event
2244 queue if no reset/discard-triggering events have come in
2245 within the timeout period.
2246 (registry_emit_event): New.
2247 (registry_clone_notify_context): New, used when queueing the
2248 event notify contexts.
2250 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2252 * configure.in: Version revved to 1.3.2, lt 0.9.2
2253 Incremented ATK required version to 1.3.4.
2255 * cspi/spi_registry.c:
2256 (SPI_generateKeyEvent):
2257 We now pass the keystring along if it's non-null.
2259 * registryd/deviceeventcontroller.c:
2260 (keysym_mod_mask): New method, returns modifier mask
2261 required to generate a keysym from a given keycode.
2262 (dec_synth_keysym): New method.
2263 (dec_synth_keystring): New method.
2264 (dec_get_modifier_state): New method.
2265 (dec_lock_modifiers): New
2266 (dec_unlock_modifiers): New.
2267 (dec_keysym_for_unichar): New, rather brute-force
2268 conversion from UCS-4 to X KeySyms. Only works for
2269 Latin at the moment, with partial implementations for
2270 Greek, Hebrew, and (incomplete) Katakana.
2271 (impl_generate_keyboard_event): Now implement
2272 "KEYSTRING" synthesis and implement "KEYSYM"
2274 (keycode_from_keysym): Improved, passes a returned
2275 modmask value now if the corresponding param is non-NULL.
2277 Fixes bugs #92143 and #109776.
2280 * test/keysynth-test.c:
2281 New test program for key synthesis, to confirm fixes for
2285 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2287 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2289 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2290 Add line for RELATION_POPUP_FOR
2292 * docs/reference/cspi/tmpl/spi_relation.sgml:
2293 Add relation SPI_RELATION_POPUP_FOR
2295 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2296 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2298 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2300 * libspi/relation.c (spi_init_relation_type_table):
2301 Add line for RELATION_POPUP_FOR
2303 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2305 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2306 there are still windows which have not been deleted and emit
2307 window:deactivate, if necessary and window:destroy events.
2308 This fixes bug #114370. The change on June 5th was not correct.
2310 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2312 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2315 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2317 New methods for client exception handling and interception.
2318 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2319 (SPI_exceptionHandlerPop): You guessed it...
2320 (SPI_getSourceType): Return the type of object which offended.
2321 (SPI_getExceptionCode): Return an enum code telling, possibly,
2322 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2323 (SPIAccessibleException_getSource): get the source object for
2324 exceptions that come from Accessibles, if SPIExceptionSourceType is
2325 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2326 (SPIException_getDescription): New, returns a string description of
2327 the problem. [Not yet a stable ABI, strings are not frozen]
2329 * cspi/spi-private.h:
2330 Added implementation details of opaque SPIException
2334 Implementations of above. Also
2335 (_cspi_exception_throw): new private method that
2336 dispatches exceptions to handlers, called from cspi-bonobo.c
2338 * cspi/bonobo/cspi-bonobo.c:
2339 (cspi_check_ev): call _cspi_exception_throw.
2340 Don't print a warning message if the exception has been
2341 handled by _cspi_exception_throw.
2343 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2345 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2346 there are still windows which have not been deleted and emit
2347 window:deactivate, if necessary and window:destroy events.
2348 This fixes bug #114370.
2350 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2353 (cspi_accessible_is_a): Make non-fatal
2354 if the object reference is dead.
2356 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2358 * cspi/spi_main.c: #include <stdio.h>
2359 * test/simple-at.c: ditto
2360 * test/event-listener-test.c: ditto
2361 * test/screen-review-test.c: ditto
2363 2003-05-30 Michael Meeks <michael@ximian.com>
2365 * test/test-simple.c (main): use CORBA_ORB_perform_work
2366 instead of an unnecessary linc_ call.
2368 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2370 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2371 Add SPI_STATE_INDETERMINATE.
2373 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2376 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2378 * libspi/stateset.c (init_state_type_tables): Add support for
2381 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2383 * configure: Update versions of atk and gail required.
2384 This fixes bug #113268.
2386 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2388 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2390 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2392 * libspi/Makefile.am:
2393 Ensure headers are generated before being used by c sources.
2395 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2398 Simplified lt versioning rules.
2399 Incremented version to 1.3.0, to indicate that we're on the
2400 unstable branch now.
2402 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2404 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2405 Add MKDB_OPTIONS=--outtput-format=xml
2407 * docs/reference/cspi/at-spi-cspi-docs.sgml
2408 docs/reference/idl/at-spi-idl-docs.sgml:
2409 Convert to Docbook XML.
2411 This fixes bug #111793.
2413 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2415 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2416 AcccessibleKeyEventType, AccessibleKeyMaskType.
2418 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2420 * cspi/state-types.h: Add documentation for AccessibleState.
2422 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2423 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2424 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2425 AccessibleComponentLayer.
2427 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2430 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2432 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2433 Accessible. Add description of AccessibleEvent,
2434 AccessibleEventListenerCB.
2436 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2439 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2440 documentation. Add description of AccessibleKeystrokeListenerCB,
2441 AccessibleKeyEventMask, AccessibleModifierMaskType,
2442 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2443 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2445 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2448 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2451 This fixes bug #104730.
2453 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2455 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2456 Set is_text field of Accessibility_DeviceEvent data structure.
2458 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2459 is-text field of AccessibleDeviceEvent data structure.
2461 This addresses part of bug #108666.
2463 * registryd/devcieeventcontroller.c: Unset debug option.
2465 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2467 * cspi/accessible.c:
2468 (cpi_initial_relation_type_table): New function which initializes
2469 mapping between Accessibility_RelationType and AccessibleRelationType.
2470 (cspi_relation_type_from_spi_relation_type): New function which
2471 translates an Accessibility_RelationType into an AccessibleRelationType.
2472 (AccessibleRelation_getRelationType): Use
2473 cpi_relation_type_get_spi_relation_type to return correct value.
2474 (spi_state_to_corba): Return correct type for default case.
2476 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2477 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2479 * cspi/cspi-bonobo-listener.c:
2480 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2483 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2484 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2485 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2486 libspi/image.c, libspi/listener.c, libspi/selection.c,
2487 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2488 registryd/desktop.c, registryd/registry.c:
2489 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2491 * libspi/eventlistener.c
2492 Remove semicolon after BONOBO_TYPE_FUNC.
2494 * libspi/relation.c:
2495 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2496 (spi_init_relation_type_table): Initialize using correct type.
2498 * registryd/desktop.c:
2499 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2500 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2501 of Accessibility_KeyEventType.
2503 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2506 * tests/simple-at.c, tests/screen-review-test.c:
2507 Add include for <strings.h>.
2509 * tests.stress-test.c:
2510 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2512 These changes fix compiler warnings when using FORTE compiler on
2513 Solaris; fixes bug #107479.
2516 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2519 * configure.in: revved to 1.1.10
2521 * libspi/keymasks.h:
2522 (SPI_KEYMASK_NUMLOCK): Added.
2524 * registryd/deviceeventcontroller.c:
2525 (spi_key_event_matches_listener): AND with a smaller
2526 bitmask (as we should).
2527 (spi_dec_translate_mask):
2528 New method, sets the virtual NumLock modifier bit
2529 if numlock is on. Eventually it can handle other virtual
2530 modifier bits if needed, or other marshalling from
2531 at-spi modifier masks to platform (X) masks.
2532 (spi_dec_key_listener_new):
2533 Call spi_dec_translate_mask to set up virtual mod bits
2534 in the 'mask' field when creating a new listener struct.
2535 (spi_dec_emit_modifier_event):
2536 Set the virtual (i.e. NumLock) bits before emitting event.
2537 (spi_controller_register_with_devices):
2538 Query for the NumLock modifier 'physical' bit if Xkb is
2539 present, for use in above methods.
2543 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2545 * registryd/deviceeventcontroller.c:
2546 (spi_keystroke_from_x_key_event):
2547 Instead of checking to see if the keysym is
2548 printable, check the string from XLookupString
2549 if available, get the first unicode character from it,
2550 and call g_unichar_isprint to determine whether the
2551 is_text flag should be TRUE or FALSE.
2555 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2557 * atk-bridge/bridge.c: Add support for extended events
2558 * cspi/spi_event.c: Add documentation and implementation for
2560 * tests/event-listener-test.c: Add tests for extended events.
2562 This fixes bugs #100424 and #100426.
2564 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2566 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2567 of LT_CURRENT. This fixes bug #89350.
2569 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2571 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2572 number of signal parameter values before accessing them. This fixes
2575 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2577 * configure.in: Fixed duplicate inclusion of -lspi.
2578 * branched for gnome-2-2/HEAD.
2579 [created tag "gnome-2-2"]
2581 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2583 * configure.in: 1.1.9 release.
2586 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2588 [needed by GOK, to fix bugs 107985 and 107988]
2589 * registryd/deviceeventcontroller.c:
2590 (spi_dec_clear_unlatch_pending):
2591 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2592 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2593 (spi_dec_init_mouse_listener):Emit warning if mouse button
2595 (spi_device_event_controller_forward_mouse_event):
2596 Removed unnecessary parens from a conditional.
2597 (global_filter_fn):Added TODO comment.
2598 (impl_generate_keyboard_event):
2599 Cancel a pending relatch if a 'delatching' key was
2602 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2604 * atk-bridge/bridge.c:
2605 Change atk_signal_child_changed to atk_signal_children_changed.
2606 Reorganize code in spi_atk_bridge_signal_listener().
2608 * test/event-listener-test.c:
2609 Add children_changed_listener and report_children_changed_event()
2610 to test AccessibleChildEvent_getChildAccessible.
2612 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2614 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2615 g_strdup to CORBA_String_dup (bug #105291)
2617 * test/event-listener-test.c (report_text_event): Add call to
2620 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2622 * registryd/deviceeventcontroller.c:
2623 (spi_keystroke_from_x_key_event):
2624 Fix string and keysym return codes to match modifier state.
2627 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2629 * registryd/deviceeventcontroller.c:
2630 (spi_keystroke_from_x_key_event):
2631 Fix segv due to improper use of isprint(c). [bug #107254]
2633 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2636 (get_accessible_text_boundary_type):
2637 Move default return value to (new) default case in switch.
2638 (get_accessible_text_clip_type):
2639 Move default return value to (new) default case in switch.
2641 * libspi/application.c:
2642 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2643 Remove unused methods.
2644 (impl_accessibility_application_register_object_event_listener):
2645 Remove unused methods.
2648 Added #include of <math.h>.
2650 * registryd/deviceeventcontroller.c:
2651 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2652 we don't currently use this method.
2653 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2655 (impl_generate_key_event):
2656 Remove unused variables.
2657 (impl_generate_mouse_event):
2658 Initialize button to zero, just in case we get an invalid
2659 input. Added support for mouse buttons 4 and 5.
2660 (spi_device_event_controller_new):
2661 Removed unused variable declaration for 'private'.
2663 Added #include of <gdk/gdk.h>
2665 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2667 * configure.in: Update to work when X is not installed in expected
2668 location. Fixes bug #105836.
2670 * atk-bridge/bridge.c
2671 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2673 (spi_atk_register_event_listener): Add signal listener for
2675 (spi_atk_bridge_signal_listener): Event event when link-selected
2676 signal is emitted. (bug #104622)
2678 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2679 on returned string. (bug #105291)
2681 * test/event-listener-test.c: Add test for link-selected.
2683 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2685 * atk-bridge/Makefile.am: Correct typo in previous commit.
2687 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2689 * atk-bridge/Makefile.am: Allow for build directory to be different
2690 from source directory
2692 * registryd/Makefile.am: Allow for build directory to be different
2693 from source directory
2697 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2700 Fixed dependencies for libcspi so that libspi gets pulled in
2701 properly. Fixes 104741.
2705 Clean up inline docs a little.
2707 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2709 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2710 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2711 the AtkObject within an SpiDesktop.
2712 This addresses bug #101524.
2714 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2715 Remove call to gdk_init().
2717 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2718 so that Display is set when SpiDesktop is created.
2720 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2722 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2723 This fixes bug #102830.
2725 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2727 * test/test-simple.c: Update to take account of fact that GailButton
2728 now implements AtkText.
2729 (create_text_window): Set name on AtkObject for GtkEntry.
2730 (validate_accessible): Check accessible name before calling test_text().
2732 * libspi/Makefile.am: Fix problem with building outside of source
2733 directory. Bug #98120.
2735 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2736 typo in documentation comments. Bug #94275.
2738 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2740 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2742 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2745 Add includes to avoid compiler warnings on Solaris.
2746 (impl_getRangeExtents): Bug fix.
2748 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2750 Fix for 100944, [API addition approved by Gman and murrayc].
2757 * idl/Accessibility_Text.idl:
2758 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2759 (Text::getRangeExtents): New method for efficient
2760 bounds query of a text range.
2761 (Text::getBoundedRanges): New method for efficient
2762 clipping of text to bounding boxes.
2763 (unImplemented7, unImplemented8):
2764 Removed these padding methods to preserve bincompat.
2767 (impl_getRangeExtents): implementation of new IDL.
2768 (impl_getBoundedRanges): implementation of new IDL.
2769 (SpiTextRect): Internal use struct.
2770 (_spi_text_rect_union): internal method, calculates union of two
2771 SpiTextRect bounding rects.
2772 (_spi_text_range_seq_from_gslist): internal method, allows us
2773 to build our sequence efficiently as a gslist then convert it
2775 (_spi_bounds_contain): internal method, determines whether
2776 a text character is "in" or "out" of a clip rect according to
2777 values of TEXT_CLIP_TYPE.
2778 (spi_text_class_init): Initialize the new methods in the epv.
2781 (AccessibleTextClipType): New enum used by screen review api.
2782 (AccessibleTextRange): New struct used by screen review api.
2783 (AccessibleText_getRangeExtents):
2784 cspi binding for Accessibility_Text_getRangeExtents.
2785 (AccessibleText_getBoundedRanges):
2786 cspi binding for Accessibility_Text_getBoundedRanges.
2787 (AccessibleTextRange_freeRanges): convenience method.
2790 (AccessibleText_getRangeExtents):
2791 cspi binding for Accessibility_Text_getRangeExtents.
2792 (AccessibleText_getBoundedRanges):
2793 cspi binding for Accessibility_Text_getBoundedRanges.
2794 (AccessibleTextRange_freeRanges): convenience method.
2795 (get_accessible_text_clip_type): internal conversion method.
2796 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2798 * registryd/deviceeventcontroller.c:
2799 (spi_dec_mouse_check):
2800 Improved behavior for mouse:abs events
2801 [same granularity as mouse:rel events, and no
2802 events when mouse is idle].
2804 2002-12-16 Michael Meeks <michael@ximian.com>
2806 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2808 * libspi/stateset.c (state_spi_to_atk): split out
2809 ( fix several remote array bounds nasties )
2810 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2811 (impl_remove): make safe from array bounds issues.
2812 (spi_atk_state_from_spi_state): impl.
2814 * libspi/stateset.h (spi_state_set_cache_is_empty):
2815 add a set of wrapper defines to get layering right.
2817 * cspi/spi_accessible.c: update state set stuff to
2820 2002-12-14 Michael Meeks <michael@ximian.com>
2822 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2823 to avoid 2 roundtrips to the registry per key event
2824 (spi_atk_bridge_key_listener): upd.
2825 (deregister_application): release the dec.
2827 * registryd/registry.c (notify_listeners_cb):
2828 bin lots of re-enterant complexity - we no longer
2829 do a round-trip bonobo ref here, ensure that a single
2830 listener's exception failure won't poison all other
2832 (impl_registry_notify_event): bin obvious memory leak.
2834 2002-12-13 Michael Meeks <michael@ximian.com>
2836 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2837 init the ev so the error is meaningful.
2838 (spi_atk_bridge_key_listener): ditto.
2840 * cspi/spi_main.c (cspi_ev): init the ev so we start
2841 with a clean slate, otherwise the first exception
2842 kills us completely.
2844 * cspi/spi_text.c (get_accessible_text_boundary_type):
2845 add a fallthrough for no warnings.
2847 * cspi/spi_registry.c: prune unused warnings.
2849 * cspi/spi_main.c (cspi_object_take): fix
2850 mind-blowing brokenness ( by watching the compile
2853 * cspi/spi_accessible.c (Accessible_getStateSet):
2854 re-impl. to use an AtkStateSet.
2855 (spi_state_type_from_accessible_state),
2856 (init_state_table): bin these.
2858 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2860 (atk_state_set_from_accessibility_state_set): here.
2862 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2863 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2864 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2865 (AccessibleStateSet_add, AccessibleStateSet_remove),
2866 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2867 (AccessibleStateSet_isEmpty): re-write to use a local
2870 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2872 * configure.in: Revved to 1.1.7 (new keymask vals).
2874 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2876 * libspi/keymasks.h:
2877 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2879 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2882 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2883 to compare two CORBA_TypeCodes.
2884 (cspi_internal_event_add): Silence warning from FORTE compiler.
2886 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2887 avoid implicit declaration of functions.
2889 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2891 * atk-bridge/bridge.c:
2892 (spi_atk_bridge_init_event_type_consts): Store signal id for
2893 active-descendant-changed signal.
2894 (spi_atk_register_event_listeners): Add signal listener for
2895 active-descendant-changed signal,
2896 (spi_atk_bridge_signal_listener): Move code in function
2897 spi_atk-signal_emit_event() into this function.
2898 Add support for active-descendant-changed
2899 Update support for child-changed signal.
2900 (spi_bridge_window_event_listener): Silence warning.
2902 * libspi/spi_private.[ch]:
2903 (spi_init_any_object): Change second parameter from CORBA_Object to
2905 Omit call to CORBA_Object_duplicate().
2906 Set CORBA_any's _value to CORBA_Object*.
2908 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2914 (AccessibleEvent_ref, AccessibleEvent_unref):
2915 New methods, for persisting an event outside the emission context.
2916 Must be used if the new accessor methods are to be called
2917 outside of the event listener's callback.
2919 * cspi/bonobo/cspi-bonobo.c:
2920 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2921 as second parameter instead of NULL, so we can call
2922 cspi_check_ev afterwards.
2925 (cspi_object_take): New internal method,
2926 converts a CORBA_Object reference to a hard ref on
2927 an Accessible if possible, returning NULL if the object
2928 reference is invalid or an Accessible * otherwise.
2931 (AccessibleEvent_ref):
2932 Increment the event's internal private refcount, and
2933 add the event's internal struct to an internal cache
2934 if it's not already there.
2935 (AccessibleEvent_unref):
2936 Decrement the event's refcount and remove it from
2937 the cspi event cache if refcount==0.
2938 (cspi_event_compare): New private method.
2939 Compares two event structs via their ids. Used
2941 (cspi_internal_event_lookup): New private method.
2942 (cspi_internal_event_check): New private method,
2943 a 0-order sanity check for events to make sure their
2944 private data is intact.
2945 (cspi_internal_event_add, cspi_internal_event_remove):
2946 New private methods for managiing the event cache.
2948 * cspi/bonobo/cspi-bonobo-listener.c:
2950 Initialize the new private data elements (id, magic, ref_count).
2952 * atk-bridge/bridge.c:
2953 (spi_atk_bridge_signal_listener):
2954 Fixed bug #100530, passing wrong params to emission func.
2956 * registryd/deviceeventcontroller.c:
2957 (spi_dec_button_update_and_emit):
2958 Fixed type in mask bit operations; fix for #99799.
2960 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2962 Removed some of the more dangerous workarounds from
2963 previous commit; they are only needed by GOK, which
2964 in reality should be using another method to accomplish
2965 the goals. So on reconsideration some of the workarounds
2966 need to be reverted:
2968 * registryd/deviceeventcontroller.c:
2969 (spi_keycodes_contain, spi_dec_init_keycode_list):
2970 Removed these methods, used only by a nasty hack to try
2971 and detect whether a key synthesis should be allowed
2972 to reset the XKB latch state or not. This code was only
2973 required to work around an interaction between GOK,
2974 button events, and XKB.
2975 (impl_generate_key_event):
2976 Removed hack at end of key generation that tried to
2977 "do the right thing" if XKB latch keys were generated
2978 in the midst of button press/release pairs.
2981 Added a check for HAVE_XINPUT. Not normally used yet.
2983 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2985 Workarounds and fixes for mouse event/XKB interaction.
2987 * registryd/deviceeventcontroller.c:
2988 (spi_keycodes_contain, spi_dec_init_keycode_list):
2989 New internal methods.
2990 (spi_dec_set_unlatch_pending):
2991 Split the method that tells XKB to expect an
2992 unlatch (and revert it) out of the rest of the
2993 event handling code. This method is called by the
2994 two mouse event handlers (the poll and the filter).
2995 (spi_dec_update_and_emit, spi_dec_mouse_check):
2996 New methods split from spi_dec_poll_mouse_moved.
2997 The second one is now called from inside the filterFn
2998 when an XKB delatch event is received, to determine
2999 whether to revert the delatch or not.
3000 (spi_poll_mouse_moved): Refactor; also we can now
3001 properly handle the case where multiple button states
3002 have changed between polling cycles and we didn't get
3003 notified due to another client's grab.
3005 Synchronize the server while handling an XKB notification.
3006 Ugly, but apparently necessary to avoid nasty races.
3007 Check the mouse state on receipt of an XKB latch change,
3008 to decide whether to revert the latch or not. (Latches are
3009 reverted if there is an immediately preceding mouse button
3010 event that a client has consumed, in which case we don't want
3011 the user to see the side-effect of the event).
3012 (spi_device_event_controller_forward_mouse_event):
3013 Check for modifier events and fire before resetting mouse_mask_state,
3014 prevents losing modifier events.
3016 (impl_generate_keyboard_event):
3017 If we've just generated a keyboard event for a non-shift key,
3018 we don't want to revert the pending XKB latch.
3019 Otherwise, check the modifier state (via a call to
3020 spi_dev_mouse_check) and set the relatch mask to
3021 that state before returning.
3023 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3026 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3029 * atk-bridge/bridge.c:
3030 (spi_atk_register_event_listeners):
3031 Don't re-register for ATK events if the registry has died
3032 and the app needs to re-register; the ATK listeners are in
3033 process and doing so will cause duplicate emission.
3035 * registryd/deviceeventcontroller.c:
3036 (spi_poll_mouse_moved):
3037 Reformat the source, detect and emit multiple button-change
3038 events (i.e. if multiple buttons have changed between poll
3040 Add code to detect mouse-down events even when the pointer
3041 is grabbed; workaround for GOK bug 98420.
3042 (spi_controller_register_with_devices):
3043 Call XTestGrabControl with 'impervious' flag set to True,
3044 allows us to synthesize events and query the pointer even during
3045 an active grab by another client.
3046 (spi_device_event_controller_forward_mouse_event):
3047 Set the mouse_mask_state to the mouse_button_state from
3048 the intercepted event, to synchronize the grab listener with
3051 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3053 * cspi/spi_accessible.c:
3054 (AccessibleRole_getName):
3055 Added necessary strings for making this (deprecated)
3056 method work with the new role types.
3057 (init_role_table, role_table):
3058 Added definition of SPI_ROLE_APPLICATION.
3060 * libspi/spi-roletypes.h:
3061 Added SPI_ROLE_APPLICATION.
3063 * idl/Accessibility_Role.idl:
3064 Added ROLE_APPLICATION.
3066 * docs/reference/cspi/at-spi-cspi-decl.txt:
3067 Added SPI_ROLE_APPLICATION to docs.
3069 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3071 * cspi/spi_accessible.c
3072 (cspi_init_role_table): Do not write beyond end of role_table.
3073 (Accessible_getRole): Use correct type for value returned by
3074 Accessibility_Accessible_getRole().
3076 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3077 beyond end of role_table. (This fixes bug #98269)
3079 * libspi/application.c: Add include file spi-private.h for
3080 definition of spi_init_any_nil.
3082 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3086 * libspi/spi-private.h:
3087 Added DGB() macro, and extern int _dbg declaration.
3089 * registryd/registry.c:
3090 (definitions) storage for _dbg.
3091 (spi_registry_init):
3092 Get environment variable "AT_SPI_DEBUG".
3093 (spi_registry_set_debug):
3094 New method, to initialize _dbg value.
3095 (spi_listener_struct_new, spi_registry_object_finalize):
3096 (notify_listeners_cb):
3097 Changed fprintfs to use DBG and g_warning().
3099 * registryd/deviceeventcontroller.c:
3100 (_deregister_keygrab, spi_controller_register_device_listener):
3101 Changed debug/warning messages to use DBG macro.
3103 * libspi/listener.c:
3104 (impl_notify_event):
3105 Changed warning messages to use DBG macro and g_warning().
3107 * atk-bridge/bridge.c:
3108 (atk_bridge_init, spi_atk_bridge_get_registry):
3109 (spi_atk_bridge_exit_func):
3110 (spi_atk_bridge_property_event_listener):
3111 Changed status, warning, and error messages to use
3112 g_warning, g_message, and DBG macros.
3115 Read the state of the AT_SPI_DEBUG environment variable
3116 and set a local '_dbg' accordingly.
3118 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3120 FIXES for 98836, 98842, other bugs.
3123 Revved to 1.1.4, interface-age=4, binary-age=4.
3125 * registryd/deviceeventcontroller.c:
3127 Fixed crasher bug in last_mouse_pos initialization.
3129 * registryd/registry.c:
3130 (desktop_add_application, desktop_remove_application):
3131 Added (and then commented out) some support for
3132 object context marshalling. [TODO]
3134 * atk-bridge/bridge.c:
3135 (spi_atk_bridge_event_context_create):
3136 Commented out object context creation until it can
3137 be properly tested and debugged.
3139 * registryd/registry.c:
3140 (impl_registry_notify_event):
3141 Fixed crasher bug, we were calling
3142 spi_re_entrant_list_foreach () with an empty list.
3144 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3146 * idl/Accessibility_Action.idl:
3147 * idl/Accessibility_Component.idl:
3148 * idl/Accessibility_Desktop.idl:
3149 * idl/Accessibility_Event.idl:
3150 * idl/Accessibility_Hyperlink.idl:
3151 * idl/Accessibility_Image.idl:
3152 * idl/Accessibility_Relation.idl:
3153 * idl/Accessibility_Selection.idl:
3154 * idl/Accessibility_State.idl:
3155 * idl/Accessibility_Value.idl:
3156 Updated unimplemented slot count to minimum of
3157 four for all interfaces, for ABI freeze.
3159 * idl/Accessibility_EditableText.idl:
3160 * idl/Accessibility_Text.idl:
3161 Updated unimplemented slot count to six
3164 * idl/Accessibility_Registry.idl:
3165 Updated unimplemented slot count to six
3166 (also for DeviceEventController),
3169 * idl/Accessibility_Table.idl:
3170 Updated unimplemented slot count to eight,
3173 * idl/Accessibility_Event.idl:
3174 Added CORBA_any "any_data" member to Event struct.
3176 * idl/Accessibility_Event.idl:
3177 Added CORBA_any "any_data" member to Event struct.
3179 * atk-bridge/bridge.c:
3181 atk_signal_text_changed, atk_signal_child_changed,
3182 signal ids queried from gtype system.
3183 (AtkBridgeEventContextType): New enum.
3184 (AtkBridgeEventContextData): New struct.
3185 (AtkBridgeEventContext): New struct.
3186 (atk_bridge_init_event_type_consts):
3187 New method, initializes type contants for comparison
3188 prior to emit_eventv.
3189 (atk_bridge_event_context_init): New method,
3190 initializes a CORBA_any from an AtkBridgeEventContext.
3191 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3192 initialize the event.any_data struct.
3193 (spi_atk_bridge_event_context_create): New method,
3194 creates an AtkBridgeEventContext from signal/event info.
3195 (spi_atk_bridge_event_context_free): New method.
3196 (spi_atk_emit_eventv): Changed to take an
3197 AtkBridgeEventContext parameter. We now initialize
3198 the event.any_data member prior to notifying the
3199 Registry, via the AtkBridgeEventContext.
3200 (spi_atk_bridge_property_event_listener):
3201 (spi_atk_bridge_state_event_listener):
3202 Match emit_eventv signature.
3203 (spi_atk_bridge_object_event_listener):
3204 Match emit_eventv signature, and create an
3205 event context from the event details.
3206 Free the event context afterwards.
3207 (spi_atk_bridge_window_event_listener):
3208 Create an event context, pass it to the
3212 (AccessibleEvent_getContextString):
3213 (AccessibleEvent_getContextObject):
3214 New methods, allow query of AccessibleEvent objects
3215 for more context details (via the "any_data" member
3216 of the Event struct, above).
3219 Definitions for AccessibleEvent_getContextString
3220 and AccessibleEvent_getContextObject.
3222 * cspi/spi_listener.h:
3223 (InternalEvent): New struct.
3226 (AccessibleEvent_getContextString):
3227 (AccessibleEvent_getContextObject):
3228 Implementations of new methods, for obtaining
3229 additional context information from some event types.
3231 * cspi/spi_registry.c:
3232 (SPI_registerGlobalEventListener):
3233 Added mention of active-descendant-changed event in docs.
3235 * cspi/cspi-bonobo-listener.c:
3237 Marshal the any into the AccessibleEvent via
3240 * libspi/spi-private.h:
3241 #include <orbit/orbit.h>
3243 (spi_init_any_string):
3244 (spi_init_any_object):
3245 New convenience function declarations.
3249 (spi_init_any_string):
3250 (spi_init_any_object):
3251 New convenience function implementations.
3253 * registryd/deviceeventcontroller.c:
3254 (spi_poll_dec_mouse_moved):
3255 (spi_device_event_controller_forward_mous_event):
3256 Initialize any_data member of event.
3257 (spi_deregister_controller_device_listener):
3258 Fix incorrect param pass which was preventing deregistration.
3260 * registryd/registry.c:
3261 (desktop_add_application):
3262 (desktop_remove_application):
3263 Add object data to event's any_data before dispatch.
3265 Fix for error messages from GAIL.
3267 * test/event-listener-test.c:
3268 Test new ContextString and "any_data" API:
3269 (report_text_event): New method query and output context string.
3270 (main): register a new text listener with report_text_event
3273 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3275 Fixes for bugs 98127 and 97914.
3276 * cspi/spi-roletypes.h:
3277 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3279 * cspi/spi-statetypes.h:
3280 Added SPI_STATE_MANAGES_DESCENDANTS
3282 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3283 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3284 * cspi/spi_accessible.c:
3285 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3286 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3287 Accessibility_STATE_MANAGES_DESCENDANTS
3288 * libspi/accessible.c:
3289 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3290 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3291 As requested by Bill, I also cleaned up the alignment.
3292 * libspi/relation.c:
3293 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3294 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3295 * libspi/stateset.c:
3296 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3297 Accessibility_STATE_MANAGES_DESCENDANTS
3298 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3299 Document changes reflecting modifications to roles.
3300 * docs/reference/cspi/tmpl/spi_relation.sgml:
3301 Document changes reflecting modifications to relations.
3302 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3303 Document changes reflecting modifications to states.
3305 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3308 Revved to 1.1.3, interface-age=3, binary-age=3.
3309 Added REBUILD macro.
3312 Removed accessx-gui from the tests, since we have a nice
3313 keyboard accessibility capplet now :-)
3315 * test/keysynth-demo.c:
3316 (increment_scan): removed do-nothing default: case,
3319 * test/visual-bell.c:
3320 (main) : removed do-nothing default: case,
3323 * cspi/spi_action.c:
3324 (AccessibleAction_getKeyBinding_):
3325 Documented keybinding string format.
3329 (AccessibleText_getAttributes):
3330 Documented the text attribute string format.
3331 It's changed to use semicolon delimiters also,
3332 to prevent clashes with CSS attributes, but the old
3333 trick of looking for ", " strings will still work
3334 (as unreliably as ever). Fix for bug related to 97916.
3337 Include <cspi/bonobo/cspi-bonobo-listener.h>
3338 Fixes build warning.
3339 (SPI_freeAccessibleKeySet):
3340 (AccessibleKeystrokeListener_addCallback):
3341 (AccessibleKeystrokeListener_removeCallback):
3342 Modify to use AccessibleDeviceListener API internally,
3343 instead of AccessibleKeystrokeListener.
3345 * idl/Accessibility_Event.idl:
3346 Added two more empty slots to EventListener (for a total of four).
3348 * idl/Accessibility_Accessible.idl:
3349 Added four empty slots to Accessible interface.
3351 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3353 * idl/Accessibility_Registry.idl:
3354 (KeyEventType, EventType):
3355 Marked KeyEventType as deprecated; it duplicates
3356 functionality of EventType, which has been extended to
3357 include Mouse-button events.
3358 (KeyEventTypeSeq): defined in terms of EventType.
3359 (registerDeviceEventListener, deregisterDeviceEventListener):
3360 New methods, for managing listeners to device events,
3361 which potentially may consume them.
3364 Added definition for AccessibleDeviceListener.
3366 * cspi/spi-listener.h:
3367 (enum AccessibleDeviceEventType):
3368 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3369 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3370 for backwards compat.
3371 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3372 and typedef'd AccessibleKeystroke to it for back-compat.
3373 (AccessibleDeviceListenerCB):
3374 New function prototype typedef.
3377 (AccessibleDeviceEventMask): New typedef.
3378 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3379 (AccessibleKeyMaskType):
3380 Set equivalent to AccessibleModifierMaskType for back-compat.
3381 (SPI_createAccessibleKeystrokeListener):
3382 (AccessibleKeystrokeListener_unref):
3383 Deprecated in favor of equivalent (better-named) new API below..
3384 keystroke listeners are like all device listeners.
3385 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3386 New API names for old features :-).
3387 (AccessibleDeviceListener_addCallback):
3388 (AccessibleDeviceListener_removeCallback):
3389 (SPI_registerDeviceEventListener):
3390 (SPI_deregisterDeviceEventListener):
3394 (SPI_createAccessibleKeystrokeListener):
3395 Use new preferred API, cspi_device_listener_new() and
3396 cspi_device_listener_add_cb().
3397 (AccessibleKeystrokeListener_removeCallback):
3398 Use new preferred API, cspi_device_listener_remove_cb().
3399 (AccessibleKeystrokeListener_unref):
3400 Use new preferred API, cspi_device_listener_unref().
3401 (SPI_createAccessibleDeviceListener):
3402 (AccessibleDeviceListener_addCallback):
3403 (AccessibleDeviceListener_removeCallback):
3404 Implementation of new API.
3406 * cspi/spi_registry.c:
3407 (SPI_registerDeviceEventListener):
3408 (SPI_deregisterDeviceEventListener):
3409 Implementation of new API. Fixed memory leak and removed need to
3410 allocate EventTypeSeq (thanks Michael for catching this).
3411 Squashed a wayward CORBA_exception_free that shouldn't get called.
3413 * cspi/bonobo/cspi-bonobo-listener.c:
3415 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3416 (cspi_key_event): renamed to cspi_device_event().
3417 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3418 Extended to handle mouse button events as well as key events.
3419 (CSpiKeystrokeListener):
3420 Class superceded by CSpiDeviceListener.
3421 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3422 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3424 * cspi/bonobo/cspi-bonobo-listener.h:
3425 (CSpiKeystrokeListener):
3426 Class superceded by CSpiDeviceListener.
3427 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3428 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3430 * libspi/Makefile.am:
3431 Replaced keystrokelistener.h and keystrokelistener.c
3432 with devicelistener.h and devicelistener.c; keystrokelisener.h
3433 stub retained for back-compat.
3435 * libspi/keystrokelistener.c:
3439 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3441 * registryd/deviceeventcontroller.c:
3442 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3443 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3444 (DEControllerPrivateData): Added xkb settings data.
3445 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3446 button release events (which can't be captured via XGrabButton).
3447 Don't dispatch via the 'normal' event mechanism if the device event was
3449 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3450 Handle the typeseq data in its new location (see above).
3451 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3452 New methods, for "generic" device listeners.
3453 (spi_controller_register_device_listener):
3454 Now handle mouse event listeners as well as key listeners.
3455 (spi_controller_notify_mouselisteners):
3456 New internal method.
3457 (spi_device_event_controller_forward_mouse_event):
3458 Now we notify mouse device listeners as well as generating the
3459 non-consumable "mouse:" events.
3461 We must check and restore the XKB
3462 modifier map if we consume the event, since the act of triggering
3463 a mouse event will normally reset the XKB latch. This is required for
3465 (spi_controller_register_with_devices):
3466 Load the XKB settings when registering, and register for XKB
3467 state notify events.
3468 (spi_key_eventtype_seq_contains_event):
3469 Renamed spi_eventtype_seq_contains_event, since it's used
3470 internally for all device event types now.
3471 (spi_key_event_matches_listener):
3472 Uses spi_eventtype_seq_contains_event now.
3473 (spi_device_event_controller_object_finalize):
3474 Free the private data and the XkbKeyboard struct.
3475 (impl_register_device_listener, impl_deregister_device_listener):
3476 Implementation of new IDL.
3477 (spi_deregister_controller_device_listener):
3478 New internal method.
3479 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3480 More efficient implementation, we don't have to create a new
3481 XkbControls structure every time we query.
3482 (spi_device_event_controller_class_init):
3483 Initialize the epv entries for the new IDL. Assign the
3484 "spi-dec-private" quark.
3485 (spi_device_event_controller_init):
3486 Initialize the private data.
3487 (spi_device_event_controller_forward_key_event):
3488 Removed a bogus CORBA_exception_free() call.
3490 * registryd/deviceeventcontroller.h:
3491 Replaced inclusion of keystrokelistener.h with
3494 * test/event-listener-test.c:
3495 (report_mouse_event):
3498 Added mouse-event device listener.
3500 * test/test-simple.c:
3501 (create_test_window):
3502 Fixed regression (we were instantiating a GtkRange,
3503 which is now an abstract class). Also fixed to match
3504 existing AtkRole names, this seems to have changed in ATK
3505 awhile ago; too late now I think, and the new
3506 mechanism is at least elegant and consistent with the
3507 glib enum "nick" APIs.
3509 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3511 * idl/Accessibility_Relation.idl:
3512 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3513 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3514 * idl/Accessibility_Role.idl:
3515 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3516 * idl/Accessibility_State.idl:
3517 add STATE_MANAGES_DESCENDANTS
3518 * test/event-listener-test.c:
3519 Added a listener for active-descendant events.
3521 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3523 * atk-bridge/bridge.c
3524 (atk_bridge_init): If application is Bonobo component wait until top
3525 level is added before registering
3526 (spi_atk_bridge_do_registration): New function which contains code,
3527 formerly in atk_bridge_init, to do application registration.
3528 (spi_atk_bridge_toplevel_added): Signal called when top level
3529 added to Bonobo component
3531 This fixes bug #83134.
3533 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3535 * registryd/deviceeventcontroller.c
3536 Fixed compilation error caused by calling gettimeofday()
3539 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3544 Added template for HAVE_XKB.
3547 Changes to check for XKB, and to set the HAVE_XKB #define if it
3550 * libspi/listener.c:
3551 ()impl_notify_event): Make failure to get event source name
3554 * registryd/deviceeventcontroller.c:
3555 (#include): include X11/XKBlib.h.
3556 (DEControllerPrivateData) : New struct.
3557 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3559 (dec_synth_keycode_press) (dec_synth_keycode_release):
3560 New methods; split the key synthesis code into these methods.
3561 They check XKB settings before determining the "time" values to
3562 pass to Xtest; this fixes bug #95828.
3563 (impl_generate_keyboard_event): Changed to use methods above,
3564 instead of callng Xtest directly.
3565 (spi_device_event_controller_init): Initialize new privae struct s
3567 (spi_device_event_controllr_object_finalize):
3568 Free the (new) private data.
3570 * registryd/deviceeventcontroller.h:
3571 Add new gpointer to end of struct data.
3573 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3576 Incremented revision to 1.1.2, SONAME is still '.so', library
3577 extensions are ".so.0.0.2".
3579 * registryd/deviceeventcontroller.c:
3580 FIXES FOR #93592 and #95940.
3581 (statics): renamed mouse_button_state to mouse_mask_state,
3582 added key_modifier_mask.
3583 (spi_dec_poll_mouse_moved):
3584 Added key modifier checks, and emit "keyboard:modifiers"
3585 events when the key modifiers currently in use change.
3586 Also generate "mouse:abs" events periodically, even if the mouse
3587 is stationary (should we?).
3588 Alternatively we could generate "mouse:abs" events for either all
3589 mouse movements, or every 'nth' mouse movement, or at the
3590 beginning and end of every "active" mouse period.
3592 * test/event-listener-test.c:
3593 (main): Added listener for "keyboard:modifiers" events.
3595 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3597 * libspi/keymasks.h:
3598 Added key mask #defines for mouse buttons; e.g.
3599 SPI_KEYMASK_BUTTON1, etc.
3602 Incremented dependency on ATK to version 1.1.0. (This dependency
3603 is probably premature but will soon be real enough).
3605 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3607 * libspi/hyperlink.[ch]
3608 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3609 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3612 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3617 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3619 * registryd/deviceeventcontroller.c
3620 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3621 events to be ignored.
3622 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3623 keyboard_mode so that XAllowEvents() can be called.
3627 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3629 * cspi/spi-accessible.c: Correct names of roles returned by
3630 AccessibleRole_getName(). Fixes bug #95055.
3632 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3634 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3637 * registryd/registry.c
3638 (desktop_remove_application: Write diagnostic message to stderr for
3641 (impl_accessibility_registry_deregister_global_event_listener):
3642 Correct size of lists array. This addresses bug #94555).
3644 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3646 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3649 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3651 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3654 * registryd/registry.c (impl_registry_notify_event): Remove
3655 unnecessary call to parser_event_type().
3657 * docs/reference/cspi/tmpl/spi_component.sgml:
3658 Add reference to SPI_LAYER_WINDOW.
3660 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3662 * registryd/registry.c
3663 (desktop_add_application): Remove leak.
3664 (desktop_remove_application): Remove leak.
3665 (parser_event_type): Remove leak.
3667 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3669 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3670 bogus call to CORBA_string_dup(). Also removed unnecessary
3671 g_string_dup/g_free calls.
3673 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3675 * registryd/deviceeventcontroller.c:
3676 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3678 * test/event-listener-test.c:
3679 main: commented out three redundant listeners, to reduce output
3680 noise. (They still are potentially useful for testing).
3683 2002-09-13 Michael Meeks <michael@ximian.com>
3685 * Update all the copyrights to include Ximian.
3687 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3689 * cspi/spi.h: add SPI_LAYER_WINDOW.
3691 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3692 add Accessibility_LAYER_WINDOW case.
3694 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3696 * libspi/component.c: (impl_accessibility_component_get_layer):
3697 add ATK_LAYER_WINDOW case.
3699 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3701 * configure.in: incremented micro version.
3703 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3705 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3708 Clarified and reworded our commit policy.
3711 Started an API "todo" addition list for 2.2.
3714 (impl_getSelection):
3715 Free char pointer from atk_text_get_selection, which was being leaked.
3717 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3720 Small revision to author acknowledgement.
3722 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3724 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3725 If signal has detail add it to the type of the event.
3728 2002-08-12 Michael Meeks <michael@ximian.com>
3730 * test/test-simple.c (global_listener_cb): bin bogosity.
3731 (test_keylisteners): disable, still doesn't work reliably,
3732 certainly not on my system anyway.
3734 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3735 don't leak a reference on the DEC. This round-trip
3736 fetching of the DEC per keystroke sucks, it should be
3739 * cspi/spi-private.h,
3740 * cspi/cspi-lowlevel.h,
3741 * cspi/bonobo/cspi-bonobo-listener.[ch],
3742 * cspi/bonobo/cspi-bonobo.c: get the copyright
3743 notices better - there is still a large amount of
3744 work in at-spi falsely attributed solely to Sun.
3746 * cspi/spi_main.c (cspi_object_ref): kill bogus
3747 hash lookup, just increment the ref.
3748 (SPI_freeString): make explicit the fact that we
3749 handle NULL strings just fine.
3750 (report_leaked_ref): obey coding standards.
3751 (cspi_object_hash, cspi_object_equal): kill retval.
3752 (cspi_object_release): only release if not on loan.
3753 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3754 (cspi_object_borrow, cspi_object_return): impl.
3756 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3757 use cspi_object_borrow / return.
3759 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3761 * cspi/bonobo/cspi-bonobo-listener.c:
3763 Don't call cspi_oject_new() because this is creating a new Accessible
3764 every single time that an event is fired. This causes ATs like at-poke
3765 to nolonger recognise the source of the event and thus ignore it.
3766 Re-use the object from the cache, ref it and then unref it after the
3767 listeners have been called.
3769 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3771 * test/event-listener-test.c:
3772 Added command-line options to disable mouse events (m) and
3775 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3777 * configure.in: Update required versions of ATK, GTK+ and GAIL
3779 * cspi-1.0.pc.in: Add dependency for X include files
3782 * cspi/bonobo/Makefile.am:
3783 Add $(X_CFLAGS) so that X include files
3784 are picked up even if not in standard place (bug #71686)
3786 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3788 * registryd/deviceeventcontroller.c: fix for 84261
3789 (spi_dec_mouse_moved):
3790 Added test of mouse button mask, so that we can detect mouse
3791 button release. Unfortunately we can't otherwise detect mouse
3792 button release events without consuming the mouse press event,
3793 because of the way XGrabButton works. This means that our mouse
3794 release events have a latency dependent on the polling period
3795 while the mouse button is down. At least in this case we only
3796 have to poll while the button is down, and not at other times.
3797 If the button masks don't match with what the last press event
3798 reported, we report the appropriate button release event.
3799 (spi_dec_ungrab_mouse):
3800 New method (not yet called).
3801 (spi_device_event_controller_forward_mouse_event):
3802 New method, sends mouse press event from GdkFilter.
3803 (spi_dec_init_mouse_listener):
3804 Added code to call XGrabButton, redirecting mouse button events to
3805 the root window and our Gdk event loop.
3807 Added code to filter mouse button events, and reordered.
3809 * test/event-listener-test.c:
3811 Added registration for mouse events of type "mouse:button".
3813 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3815 * registryd/deviceeventcontroller.c: partial fix for 84261
3816 (spi_dec_poll_mouse_idle):
3817 New method, a timeout which checks to see if the mouse
3819 (spi_dec_poll_mouse_moving):
3820 A timeout to be called when mouse motion is underway.
3821 (spi_dec_poll_mouse_moved):
3822 A method which fires an event if the mouse has moved, and reports
3823 whether or not it did so.
3824 (spi_dec_init_mouse_listener):
3825 A method which sets up the timeouts above.
3826 (spi_device_event_controller_new):
3827 Now calls spi_dec_init_mouse_listener.
3829 * registryd/registry.c:
3830 (spi_registry_init):
3831 Now we initialize the device event controller when the registry is
3832 initialized, instead of waiting until a client has requested a key
3833 event notification; this is because we need the event controller
3834 for mouse events, but the mouse event registration API is a
3835 "registry" call and doesn't explicitly call the
3836 deviceeventcontroller.
3837 We now report mouse motion events with a 100 ms idle latency and
3838 a 20 ms granularity when motion is in progress.
3840 * test/event-listener-test.c:
3842 We now register the "detail listener" for events of type
3843 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3844 delivered only for the first mouse event received, and thereafter
3845 "mouse:abs" events are delivered.)
3847 * cspi/spi_registry.c:
3848 DOCS: Documented the above mouse event typestrings.
3850 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3852 Happy Summer Solstice...
3854 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3855 (spi_controller_notify_keylisteners):
3856 Changes to remove a listener from the listener list, freeing its
3857 open keygrabs, if a notification to that listener fails. This
3858 means that although a dead listener can continue to hold a passive
3859 keygrab, a maximum of one dispatch to such a listener can fail
3860 before the listener is removed from the list, thus the keygrab
3861 will be released on the next occurrence.
3862 As part of this fix:
3863 (spi_notify_keylisteners):
3864 Renamed to spi_controller_notify_keylisteners, as the controller
3865 instance must now be passed as an argument.
3866 The copied 'notify' GList is now a list of DEControllerKeyListener
3867 objects, since we need more than just the CORBA reference if a
3868 notify fails and we need to deregister the listener.
3869 (impl_notify_listeners_sync):
3870 (impl_notify_listeners_async):
3871 (spi_device_event_controller_forward_key_event):
3872 Modify use of notify_keylisteners in accordance with above
3874 (spi_deregister_controller_key_listener):
3875 New method introduced by refactoring, from
3876 impl_deregister_keystroke_listener.
3877 (impl_deregister_keystroke_listener):
3878 Call spi_deregister_controller_key_listener.
3879 (spi_key_listener_clone):
3880 New method to copy a key listner without doing a 'ref' on the
3881 remote object instance; used to create a notifier list.
3882 (spi_key_listener_data_free):
3883 New method, frees data without unreffing the source.
3885 (spi_key_listener_clone_free): new method.
3886 (spi_key_listener_free):
3887 refactored to call spi_key_listener_data_free.
3889 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3891 * registryd/registry.c: [fix for bug 86048]
3892 (notify_listeners_cb):
3893 Clear CORBA system exceptions which occur when notifying
3894 listeners, before returning to the source of the original event,
3895 since the event source doesn't care if the relayed notify failed.
3896 In other words, don't complain to the atk-bridge if the registry
3897 could not notify all its listeners, that's no fault of the
3898 application and thus should not appear to be an error from the
3899 application's perspective.
3901 * cspi/spi_main.c: [fix for bug 85980]
3903 Replaced use of bonobo_object_dup_ref with call to the wrapper
3904 method, csou_dup_ref (); this silences a compiler warning and
3905 provided more portability.
3907 Ping the registry before return, and restart if necessary.
3909 * cspi/bonobo/cspi-bonobo.c:
3911 New internal method.
3913 Fixed this method to return an object reference, as it should have
3916 * cspi/cspi-lowlevel.h:
3917 Added internal definition for cspi_ping() and fixed
3918 return type of cspi_dup_ref().
3921 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3923 * atk-bridge/bridge.c: [fix for bug 85305]
3924 (spi_atk_bridge_register_application):
3925 New method where the initial application registry calls have been
3926 moved; it allows an application to re-register in response to
3927 certain error conditions (such as a registry restart, see below).
3929 Moved some initialization code to the method
3930 spi_atk_bridge_get_registry, below.
3931 (spi_atk_bridge_get_registry):
3932 New, private accessor function for the Accessibility_Registry
3933 instance. If the registry has not been started before, or has
3934 died (as detected by failure of a CORBA exception), it is
3935 restarted before return, and spi_atk_bridge_register_application
3936 is called again to register with the new bridge instance.
3937 (spi_atk_emit_eventv):
3938 Set registry_died on error; use spi_atk_bridge_get_registry () to
3939 access the registry.
3941 * registryd/registry.c:
3942 (impl_accessibility_registry_register_global_event_listener):
3943 Set listener's event_type_quark to etype.minor instead of
3944 etype.major (fix for bug 84856).
3946 * test/event-listener-test.c:
3947 (report_detail_event):
3948 Change the output string so that user/tester can tell that the
3949 'detail listener' was called instead of the 'generic listener'.
3951 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3953 Fixes for bugs 84900, 84908, 84897, 84898.
3958 Revved version to 1.1.0
3959 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3960 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3962 * idl/Accessibility_Registry.idl:
3963 (EventListener::notifyEvent):
3964 Removed 'oneway' directive after extensive consulation with
3965 ORBit2 team and others. This means also that unref() of the event
3966 source can and should be done synchronously after emission, rather
3967 than remotely in the client, after servicing the notify call on
3970 NOTE: This change speeds up listener performance considerably, but
3971 introduces new latency on the application side. We may want to
3972 add an event queue to the atk-bridge.
3974 * atk-bridge/bridge.c:
3975 (spi_atk_bridge_focus_tracker):
3976 Do a local unref() on the event source after emission.
3978 * registryd/registry.c:
3979 (desktop_remove_application):
3980 Do an unref() on the event source after emission.
3981 (desktop_add_application):
3982 Do an unref() on the event source after emission.
3983 (notify_listeners_cb):
3984 When relaying an event, don't automatically add the event source
3985 to the local object cache, just CORBA_dup it instead. Likewise,
3986 if this method reenters, release the ref rather than calling
3988 (impl_registry_notify_event):
3989 No longer call remote unref() on the event source after dispatch.
3991 * libspi/eventlistener.c:
3992 (impl_accessible_event_notify_event):
3993 Removed remote unref ()
3995 * cspi/bonobo/cspi-bonobo-listener.c:
3997 We now call cspi_object_new() instead of cspi_object_add() on
3998 receipt of an event; thus we only have an implicit object ref
3999 while the cspi_event method is being executed. If we need to keep
4000 a reference to the object, the listener must call ref() on the
4001 object. Thus also we don't need to call cspi_object_unref() after
4002 invoking the listener callbacks in this method.
4006 New internal API for creating a new cspi object, without adding it
4007 to the object cache.
4009 Now uses cspi_object_new() to create the cspi object instance.
4011 Now checks to see if the object is in the internal object cache,
4012 and adds it if necessary before incrementing its refcount (note
4013 that new objects are added with a refcount of 1).
4014 (report_leaked_ref):
4015 New method which gives some information on leaked object instances
4016 if leak detection is turned on.
4018 * test/event-listener-test.c:
4019 (timing_test_event):
4020 New method, used for testing event delivery timing for special
4021 events of type "object:test". It reports elapsed time and
4022 events/sec every 500 events.
4024 Added a new listener, 'test listener', to check timing of event
4025 receipt as noted above.
4027 Added some timing output here also, reports elapsed time every 100
4030 * test/stress-test.c:
4031 Emit events of type "object:test", for use with "event-listener-test".
4033 * test/test-simple.c:
4034 (global_listener_cb):
4035 Call Accessible_ref() on the event source before calling
4036 validate_accessible, since the validation process does pointer
4037 comparisons on the event source, meaning that the event source
4038 needs to be added to the local object cache first. Any use of
4039 such pointer comparisons between Accessible objects requires that
4040 the caller hold an explicit reference to those objects.
4041 We also must therefore call Accessible_unref() when leaving this method.
4043 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4045 * registryd/deviceeventcontroller.c:
4046 (spi_controller_update_key_grabs):
4047 Fix for #84735, subsequent keygrab listeners not informed of
4048 registration failure.
4051 (spi_base_construct):
4052 Add an assertion on construct, to make sure the GObject passed in
4053 is really a GObject.
4055 Explicitly initialize object->gobj pointer to NULL;
4057 * cspi/bonobo/cspi-bonobo-listener.c:
4058 (cspi_object_add_ref):
4059 New method, can specify whether to dup-ref a bonobo object passed
4060 in if it's newly added to the object cache.
4062 Now calls cspi_object_add_ref with second param of "FALSE". This
4063 prevents us from doing a pointless dup-ref followed by
4064 release-unref for all those cases where the object is already in
4065 our object cache (fix for #85205).
4067 * atk-bridge/bridge.c:
4068 (spi_atk_bridge_idle_init):
4069 Removed this method, we don't need to initialize in an idle
4072 Changed to call spi_atk_register_event_listeners directly, not via an
4073 idle handler. (fix for #81139)
4074 (gnome_accessibility_module_shutdown):
4075 Removed conditional around deregistration of listeners, since we
4076 don't use the idle handler and thus have always registered when
4078 (spi_init_keystroke_from_atk_key_event):
4079 Changed references to Accessibility_KEY_PRESSED to
4080 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4082 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4084 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4089 * test/stress-test.c:
4092 (may have been an incomplete commit yesterday?)
4094 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4097 Added target for new stress-test.
4099 * test/stress-test.c:
4100 New test, sends 1000 focus notifies in quick succession.
4102 * test/key-listener-test.c:
4103 Now we report whether a keylistener registration
4104 request succeeded or failed.
4106 * test/event-listener-test.c:
4107 Uncommented some listeners which are now implemented.
4110 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4112 * registryd/deviceeventcontroller.c:
4113 (spi_controller_update_key_grabs):
4114 Fix for #82509, lack of failure notification when
4115 ALL_WINDOWS keygrabs fail due to XGrabKey
4116 failure: we synchronize the server when
4117 registering a passive grab, to make sure we get the
4118 error message before the call returns.
4120 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4122 * test/test-simple.c:
4124 Removed #ifdef KEY_IMPL_WORKS guards.
4125 (test_keylisteners):
4126 Removed #ifdef KEY_IMPL_WORKS guards.
4127 Fixed bug which was causing a hang waiting for a
4128 "press" event (which was already overwritten by a "release"
4129 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4131 Added code to set globals 'key_press_received' and
4132 'key_release_received'.
4135 Added section "1.1 API Proposed Additions" which
4136 lists API additions desired for at-spi-1.1 (only one so far).
4137 Updated TODO list a little.
4139 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4141 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4144 * configure.in: Revved to 1.0.0.
4146 * idl/Accessibility_Registry.idl:
4147 (registerKeystrokeListener):
4148 Added boolean return value.
4150 * registryd/registry.c:
4151 (notify_listeners_cb): Minor fix to debug output.
4153 * registryd/Accessibility_Registry.server.in.in:
4154 Revved version number in OAFIID to 1.0.
4156 * registryd/registryd.c:
4158 Use new OAFIID version.
4160 * cspi/bonobo/cspi-bonobo.c:
4162 Use new OAFIID version.
4168 * atk-bridge/bridge.c:
4170 Use new OAFIID version.
4172 * registryd/deviceeventcontroller.c:
4173 (impl_register_keystroke_listener):
4174 Added CORBA_boolean return value.
4175 (spi_controller_register_device_listener):
4176 Added gboolean return value.
4177 (spi_controller_register_global_keygrabs):
4178 Added gboolean return value.
4179 (spi_key_set_contains_key):
4180 Added implementation for many more control keys,
4181 for instance F1-F12, arrow keys, End, Home, Page_Up,
4183 [TODO: some still not implemented].
4185 * text/screen-review-test.c:
4186 (text_chunk_pad_string):
4187 New function: it provides mapping between coordinate
4188 positions of text chunks and character positions in the
4189 screen-review-line output string.
4190 (text_chunk_to_string):
4191 New function, calls text_chunk_pad_string with various
4192 pad/delimiter characters. Pushbuttons are delimited with
4193 square brackets, Frames with vertical 'pipe' lines, and
4194 other text with double quotes.
4195 (text_chunk_list_to_string):
4196 Calls new function text_chunk_to_string.
4197 (toplevel_composite):
4198 New function to composite layers CANVAS through
4199 POPUP in each toplevel (other layers are composited
4200 across toplevels, i.e. BACKGROUND and OVERLAY).
4201 (review_buffer_composite):
4202 Revise to use new methods.
4208 2002-05-31 Laszlo Peter <laca@sun.com>
4210 * configure.in: add the Xtst libdir to the runpath on Solaris,
4211 since it's not in the default library search path.
4213 2002-05-29 jacob berkman <jacob@ximian.com>
4215 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4217 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4219 * test/screen-review-test.c:
4220 (text_chunk_pad_string):
4221 Added method, which pads the string according to the
4222 text bounds of the chunk. It also takes a 3-character
4223 string as a param which indicates the characters to be
4224 used for start, padding, and end delimitation of the chunk.
4225 (text_chunk_to_string):
4226 Changed to use text_chunk_pad_string.
4228 * configure.in: Fixed bug in AC_OUTPUT that was
4229 causing path substitution in Accessibility_Registry.server
4232 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4234 * text/screen-review-test.c:
4235 (guess_string_clip):
4236 New method which attempts a best-guess at clipping
4237 text from components (like Java labels) which don't
4238 actually implement AccessibleText. This inaccurate
4239 clip is based on the assumption that the label is
4240 justified left-and-right, and monospaced.
4241 (text_chunk_get_clipped_string):
4242 We now call guess_string_clip() for text-containing
4243 components that don't implement AccessibleText.
4245 * test/screen-review-test.c:
4246 (review_buffer_get_text_chunk):
4247 We now pull "name" from labels if they do not implement
4248 AccessibleText (i.e. for Java labels).
4249 (get_screen_review_line_at):
4250 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4253 Replaceded AC_OUTPUT target
4254 registryd/Accessibility_Registry.server with
4255 registryd/Accessibility_Registry.server.in.
4257 * registryd/Accessibility_Registry.server.in:
4258 Removed (this is now a Makefile target).
4260 * registryd/Accessibility_Registry.server.in.in:
4261 Added (source for target above). We now use $(libexecdir) as
4262 prefix for the executable at-spi-registryd.
4264 * registry/Makefile.am:
4265 Now install at-spi-registryd into $(libexecdir), and build .server
4266 file with path (see above).
4268 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4270 * test/screen-review-test.c:
4271 (text_chunk_get_clipped_string):
4272 We now check to see if words fall within clip bounds
4273 before resorting to character-by-character clip bounds testing.
4275 * TODO: Added a section for "2.2 Proposed API Additions".
4277 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4279 * test/screen-review-test.c:
4281 Added a screen review benchmarking and test program to test
4284 * cspi/spi_accessible.c:
4286 Made some of the debug strings passed to cspi_check_ev a
4287 little more specific.
4289 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4291 * test/screen-review-test.c: Fix crashes in debug statements
4293 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4295 * test/screen-review-test.c: Added this file.
4297 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4299 * atk-bridge/bridge.c: changed "object:state-change" to
4300 "object:state-changed" to match docs.
4302 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4304 * atk-bridge/bridge.c: Hooked up state-change event details.
4306 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4308 * registryd/registry.c:
4309 Fixed quarking bug in event string parsing; now events with
4310 detail parameters get matched correctly to listeners.
4313 * util/idl/Magnifier.idl: remove.
4315 * util/*.[ch]: Remove.
4316 Magnification utilities and IDL are now in module gnome-mag.
4318 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4320 * registryd/deviceeventcontroller.c:
4321 Fixed bug in grab key conversion which was causing keycode grabs
4322 to be converted to AnyKey grabs.
4325 updated NEWS file to reflect recent spin-off of gnome-mag.
4327 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4329 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4330 busted AccessibleStateSet_compare. Removed redundant casts.
4332 * cspi/spi-action.c: Removed redundant casts.
4334 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4336 * cspi/spi_component.c: Fixed typos and casting error.
4338 * cspi/spi_editabletext.c: Removed redundant casts.
4340 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4342 * cspi/spi_hypertext.c: Eliminated redundant casts.
4344 * cspi/spi_image.c: Eliminated redundant casts.
4346 * cspi/spi_registry.c: Eliminated redundant casts.
4347 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4348 * cspi/spi_selection.c: Removed redundant casts.
4349 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4350 handling. Screen geometry and text offsets were being returned as 0
4351 on error which is technically valid-- changed these to return -1.
4352 Added marshaller for text boundary types to fix bug with boundary
4353 types being passed incorrectly to atk.
4355 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4358 * cspi/spi_registry.c:
4359 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4360 which was uncovered by the recent key changes.
4362 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4364 * test/event-listener-test.c:
4366 Added new test, "event-listener-test";
4367 this code does two things; it benchmarks traversal time
4368 for the accessible hierarchy for the first running accessible
4369 app, and it connects listeners for all supported event types.
4370 It is thus useful as an example event listener and for
4371 diagnostics/debugging of event generation.
4373 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4376 Removed unnecessary dependency on libutil.
4379 Revved micro version: 0.13.1
4381 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4384 Removed util/Makefile from targets.
4387 Removed util subdir from SUBDIRS (temporarily,
4388 pending removal of magnifier-only code
4392 #ifdef-ed out magnifier dependencies, since
4393 magnifier IDL, headers, and binary now live in
4394 module gnome-mag and we don't want at-spi to depend
4395 on gnome-mag. A magnifier demo which can run alongside
4396 simple-at is forthcoming in the gnome-mag module.
4398 NOTE: Split magnifier binary, IDL, and magnification
4399 activation code from at-spi into module gnome-mag.
4401 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4403 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4404 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4406 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4409 Revved to version 0.13.0
4411 * idl/Accessibility_Registry.idl:
4412 Changed definition of KeySet from sequence of longs to sequence of
4413 KeyDefinitions, and added KeyDefinition struct.
4414 Required for fix to bug 80616.
4416 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4417 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4418 to use new definition (see above).
4420 * registryd/deviceeventcontroller.c: handle_keygrab(),
4421 spi_keyset_contains_key():
4422 Changed to make use of new struct; this allows matching based on
4423 string key-name, for instance "Tab". This also allows matching of
4424 composed characters, non-alphanumeric characters in a way that
4425 doesn't involve dependencies on X keysym codes directly, etc.
4427 * test/key-listener-test.c:
4428 Added test for Alt-Tab key using "string" specification of keyset,
4429 and modified one of the tests to use a keycode-based keyset.
4430 Thus this test both tests and demonstrates the creation and use of
4431 keysets of three forms: specified via keycode array,
4432 keysym array, and string array. (The string case only contains a
4433 single string, i.e. a string array of length 1).
4436 Turned on PRINT_TREE option by default. Also fixed a
4437 string-freeing bug in the PRINT_TREE code.
4438 Added a listener to window:minimize events.
4440 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4442 * atk-bridge/bridge.c:
4443 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4444 for window:activate and window:deactiveate
4445 (atk_bridge_property_event_listener atk_bridge_signal_listener
4446 atk_bridge_window_event_listener) Tidy debug code
4448 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4450 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4451 Fixed handling for NULL return value from ATK.
4453 * libspi/action.c libspi/component.c libspi/editabletext.
4454 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4455 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4456 Removed redundant casts.
4458 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4459 Fixed off by one bug.
4461 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4462 function not present in idl)
4464 2002-05-02 jacob berkman <jacob@ximian.com>
4466 * atk-bridge/Makefile.am: make atk-bridge a real module
4468 2002-04-26 Radek Doulik <rodo@ximian.com>
4470 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4471 atk_state_types table
4473 2002-04-22 jacob berkman <jacob@ximian.com>
4476 * libspi/Makefile.am: add deps on the built files to help
4477 automake, and don't version the ORBit typelib
4479 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4481 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4482 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4483 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4484 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4485 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4486 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4487 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4488 libspi/accessible.h libspi/accessible.h libspi/base.h
4489 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4490 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4491 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4492 libspi/spi-private.h libspi/statetset.h libspi/table.h
4493 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4494 util/mag_client.h util/mag_control.c util/mag_image.c
4495 util/mag_image.h util/magnifier.c util/magnifier.h:
4496 Add missing file headers; standardize existing ones
4498 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4500 * atk-bridge/bridge.c: Added window event support.
4502 2002-04-18 Michael Meeks <michael@ximian.com>
4504 * libspi/relation.c (impl_getNTargets): impl.
4505 (impl_getTarget): impl.
4507 * libspi/Makefile.am: fix stateset install.
4509 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4512 Started putting useful info in this file.
4514 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4516 * atk-bridge/bridge.c:
4517 Propagate state-changed notifications to ATs
4519 * cspi/spi_registry.c: update docs to reflect actual behavior of
4520 state-change events.
4522 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4525 Incremented version to 0.12.1
4527 * util/mag_client.h:
4528 Add missing declaration for magnifier_exit,
4529 used by mag_control.c - Forte compiler didn't like
4530 the implicit redeclaration of the function :-(
4533 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4536 Revved version to 0.12 due to API change (see below).
4538 * cspi/spi-roletypes.h:
4539 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4540 definition from the inline docs, and added docs
4541 for SPI_ROLE_LAST_DEFINED.
4544 * cspi/spi_streamablecontent.c:
4545 Added missing seek_type parameter to
4546 (so far unused) method,
4547 AccessibleStreamableContent_seek().
4548 [ RT approval JodyG. ]
4551 Fixed docs for SPI_createAccessibleKeystrokeListener.
4553 * cspi/spi_registry.c:
4554 Fixed docs for SPI_KEYSET_ALL_KEYS.
4556 * docs/reference/cspi/at-spi-cspi-sections.txt:
4557 Added a number of missing APIs to SECTIONS.
4559 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4561 * registryd/Makefile.am:
4563 * cspi/bonobo/Makefile.am:
4564 Add $(X_LIBS) to makefiles.
4566 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4569 Revved version to 0.11.
4571 * libspi/component.c:
4572 Added implementation for grabFocus.
4574 * idl/Accessibility_Component.idl
4575 (Accessibility_Component_grabFocus):
4576 Made this method return boolean to indicate success or failure, to
4577 be consistent with cspi and the corresponding ATK method.
4579 * idl/Accessibility_Selection.idl
4580 (Accessibility_Selection_selectAll) :
4581 Made these methods return boolean to indicate success or
4582 failure, to be consistent with cspi and the corresponding ATK methods.
4584 * idl/Accessibility_EditableText.idl
4585 (Accessibility_EditableText_setTextContents,
4586 Accessibility_EditableText_insertText,
4587 Accessibility_EditableText_cutText,
4588 Accessibility_EditableText_deleteText,
4589 Accessibility_EditableText_pasteText):
4590 Made these methods return boolean to indicate
4593 * cspi/spi_editabletext.c:
4594 Made these methods return booleans.
4596 * libspi/selection.c:
4597 * libspi/component.c:
4598 * libspi/editabletext.c:
4599 Connected the boolean returns from ATK
4600 to the server-side code referenced above.
4602 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4604 * idl/Accessibility_Table.idl: Added missing methods,
4605 Accessibility_Table_addRowSelection,
4606 Accessibility_Table_addColumnSelection,
4607 Accessibility_Table_removeRowSelection,
4608 Accessibility_Table_removeColumnSelection.
4611 Added C wrappers for above IDL:
4612 AccessibleTable_addRowSelection,
4613 AccessibleTable_addColumnSelection,
4614 AccessibleTable_removeRowSelection,
4615 AccessibleTable_removeColumnSelection.
4618 Added server-side implementation code for IDL above, connecting
4619 to pre-existing ATK api.
4621 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4623 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4625 * libspi/accessible.c: Added implementation fo
4626 Accessibility_Accessible_get_state.
4628 * libspi/libspi.h: Added stateset.h to the list of includes.
4630 * libspi/stateset.c: Fixed broken implementation.
4632 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4635 Added implementation code for Accessibility_Magnifier_exit ().
4637 * util/mag_control.c:
4638 Added test code for above method; you can
4639 now kill an existing magnifier via
4640 ./mag_control q, from the util directory.
4642 * test/key-listener-test.c:
4644 Added a new test, for our key listener API.
4646 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4648 * test/app.c, test/keysynth-demo.c:
4650 Replace use of snprintf with g_snprintf.
4651 (fix for bugzilla 78249)
4653 2002-03-27 Michael Meeks <michael@ximian.com>
4657 * util/Makefile.am (INCLUDES): fix.
4658 (DONT_DIST_SOURCE): don't distribute the
4661 * libspi/Makefile.am (dist-hook): ditto.
4663 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4665 * libspi/hypertext.c:
4666 Fix warnings when yelp is used with atk-bridge
4668 2002-03-21 Michael Meeks <michael@ximian.com>
4670 * libspi/application.c (spi_application_new):
4671 use spi_accessible_construct so we use the AtkObject
4674 2002-03-19 Michael Meeks <michael@ximian.com>
4676 * registryd/registry.c (desktop_remove_application),
4677 (desktop_add_application): clean coding style.
4679 * registryd/desktop.c (spi_desktop_remove_application),
4680 (spi_desktop_add_application): kill re-enterency hazards.
4681 (spi_desktop_dispose): remove bogus redundant cast
4682 obscuring bug; fix bug too.
4683 (spi_desktop_init): make the desktop object immortal.
4685 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4688 Added a #define-guarded tree-traversal step
4689 when enumerating the apps (diagnostic tool).
4691 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4693 * idl/Accessibility_Role.idl:
4694 Added ROLE_DRAWING_AREA which seemed to be missing from the
4697 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4699 * cspi/spi-roletypes.h cspi/spi_accessible.c
4700 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4703 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4704 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4705 AT when applications are added and removed from the desktop. This
4706 reverts the previous broken implementation using the backing
4707 AtkObject for the SpiDesktop.
4709 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4711 * registryd/desktop.c: emit the "children-changed::add" and
4712 "children-changed::remove" signals on the backing ATK object for
4713 the desktop so AT can tell when applications are started and shut
4716 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4718 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4720 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4722 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4724 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4726 * cspi/state-types.h: synched with IDL and ATK
4728 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4730 * libspi/accessible.c
4731 (impl_accessibility_accessible_get_child_at_index):
4732 Change return value for g_return_if_fail ()
4733 to CORBA_OBJECT_NIL instead of "0" (!)
4735 * registryd/Makefile.am:
4736 * registryd/Accessibility_Register.server.in:
4737 Changed name of executable, "registryd",
4738 to something more informative:
4741 2002-03-13 Michael Meeks <michael@ximian.com>
4743 * atk-bridge/bridge.c (atk_bridge_init): don't register
4744 if we're in a bonobo-component, rather than a bonobo app.
4746 2002-03-13 Michael Meeks <michael@ximian.com>
4748 * atk-bridge/bridge.c (gtk_module_init): split
4749 out body to (atk_bridge_init): here, since otherwise
4750 we get symbol conflicts and oddness when invoked
4751 from (gnome_accessibility_module_init): here (upd.)
4753 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4756 New file. Explicitly allow "build sheriff" putbacks provided
4757 they are tested on Solaris.
4759 * docs/reference/cspi/Makefile.am:
4760 Added '-' to the "cp" command for index.sgml.
4761 ("patch by thomasvs, soon coming to a GUADEC near you")
4764 Incremented version number (0.9.0) for new release.
4765 Changed macro that checks for popt, to better detect
4766 obsolete versions of popt.
4769 Added X_LIBS to AC_SUBST, for applications
4770 that call Xlib API directly.
4773 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4776 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4779 Fix regression caused by hard-coding major
4780 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4783 * test/test-simple.c (test_editable_text),
4784 (test_test): revert previous change (error was
4785 a regression in gail which is now fixed).
4787 2002-03-04 Michael Meeks <michael@ximian.com>
4789 * test/test-simple.c (test_editable_text),
4790 (test_text): pass G_MAXINT instead of '-1' for
4791 whole string - is this a good thing !?
4793 * cspi/spi_accessible.c
4794 (Accessible_getRelationSet): fix crasher bug
4795 overwriting the end of the array.
4797 * test/test-simple.c (validate_accessible): free,
4798 not g_free returned relation set.
4800 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4802 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4803 implemented stateset support
4805 * idl/Accessibility_State.idl: Made necessary changes to
4806 the IDL to support state sets.
4808 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4810 * registryd/deviceeventcontroller.c:
4811 Added implementation for generateMouseEvent.
4813 * cspi/spi_registry.c:
4814 Connected new implementation for generateMouseEvent
4817 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4820 Incremented revision (but no change in public API
4821 outside of 'utils', which are not installed public yet.)
4823 * libspi/component.c:
4824 Changed to use atk_component API for layers and
4825 mdi_zorder, instead of deprecated atk_object API.
4827 Magnification Utility Enhancements:
4830 Added implementation of createZoomRegion, clearAllZoomRegions,
4831 resizeZoomRegion. Added new commandline argument
4832 "--no-initial-region". Note that clearAllZoomRegions doesn't
4833 unmap the old '0' region as it should (yet), and the other
4834 methods only work when creating/resizing a single region,
4835 which is "region 0".
4836 (Code for multiple region support will be added later.)
4839 Now we raise the magnifier window each time it's refreshed;
4840 this will help keep it on top.
4842 * util/mag_client.h:
4843 Added simple wrappers for above, used by mag_control.
4844 For general use, it's recommended to use the bonobo magnifier
4845 control API directly instead of using these wrappers.
4848 Moved ZoomRegionData from magnifier.c to this file.
4850 * util/mag_control.c:
4851 Added some code to exercise new IDL implementations.
4853 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4855 * libspi/text.c: Provide implementation for getAttributes.
4857 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4860 Incremented revision.
4862 * test/test-simple.c:
4863 Replaced use of deprecated g_main_iteration with
4864 g_main_context_iteration.
4866 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4869 Incremented revision for desktop alpha 2.
4871 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4873 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4876 * test/simple-at.c: include netinet/in.h.
4878 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4880 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4881 use NULL, not CORBA_OBJECT_NIL.
4883 * libspi/accessible.c:
4884 (impl_accessibility_accessible_get_relation_set):
4885 allocate the sequence correctly.
4887 * libspi/remoteobject.h: kill spi_remote_object_new.
4889 * test/test-simple.c: (validate_accessible): add code
4890 to test relation sets, now all we need is to figure
4891 out how to excercise this code path :/
4893 2002-01-18 Michael Meeks <michael@ximian.com>
4895 * test/test-simple.c
4896 (key_listener_cb): consume the key.
4897 (test_keylisteners): update.
4898 (main): wait for any pending unrefs on events.
4900 * registryd/deviceeventcontroller.c
4901 (spi_controller_update_key_grabs): only re-issue the
4902 grab on a key release.
4903 (spi_device_event_controller_forward_key_event):
4904 refresh the keygrabs before we notify the listeners,
4905 to reduce the X ungrab / re-grab race.
4906 (spi_controller_register_with_devices): remove
4907 XSelectInput - we do that with the gdk_window_ call.
4908 (_spi_controller_device_error_handler): return a value.
4909 s/GDK_DISPLAY/spi_get_display/
4911 2002-01-17 Michael Meeks <michael@ximian.com>
4913 * registryd/deviceeventcontroller.c
4914 (_deregister_keygrab): don't blow out the later
4917 * test/test-simple.c (test_keylisteners): do a
4918 more intelligent validation.
4920 2002-01-14 Michael Meeks <michael@ximian.com>
4922 * atk-bridge/bridge.c
4923 (gnome_accessibility_module_init),
4924 (gnome_accessibility_module_shutdown): impl.
4925 (gtk_module_init): protect vs. double inits.
4926 (add_signal_listener): impl.
4927 (spi_atk_bridge_state_event_listener): kill
4928 (deregister_application): split out of
4929 (spi_atk_bridge_exit_func): here.
4931 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4934 Added caret tracking when using magnifier, and
4935 now use text bounds for focus tracking of text elements, rather than
4936 the component bounds - this is helpful for short text fields in long
4937 table cells, at high magnification.
4939 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4941 * registryd/deviceeventcontroller.c:
4942 Regression fix for keylistener de-registration; global keygrabs
4943 were not being released when deregisterKeystrokeListener was
4944 called in cspi, since
4945 Accessibility_DeviceEventController_deregisterKeystrokeListener
4946 was called with a zero-length keyset. That is because the cspi
4947 method, SPI_deregisterKeystrokeListener, does not take a keyset
4948 parameter but instead should remove all the key grabs held be a
4950 The code in impl_deregister_keystroke_listener was changed to copy
4951 the keylist from the listener instance previously registered with
4952 the DeviceEventController before releasing the grabs.
4954 * registryd/registry.c:
4955 * registryd/deviceeventcontroller.c:
4956 * libspi/spi-private.h:
4958 Changed spelling of "re-enterant" to "re-entrant" globally.
4960 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4962 * test/test-simple.c:
4963 Changed key listeners test - the test was slightly mis-using the
4964 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4965 It now uses '=' as the key event listened to and generated,
4966 relying on a keysym match rather than assuming that keycode 33
4967 is always equal to keysym '!'.
4969 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4972 Changed simple-at to use a specific keyset, rather than
4973 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4974 manager, desktop, etc.
4976 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4978 * registryd/deviceeventcontroller.c:
4979 Replaced standard X error handler with a special handler that
4980 is non-fatal for failed keygrabs. This works around
4981 problems with keygrab clashes sometimes observed on
4983 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4984 mouse handling code as yet).
4986 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4989 Incremented revision for desktop alpha release.
4992 Fixed a couple of the more glaring errors (still not
4995 2002-01-11 Michael Meeks <michael@ximian.com>
4997 * registryd/deviceeventcontroller.c
4998 (spi_device_event_controller_forward_key_event): kill
4999 XUngrabKey / XKeyGrab race.
5000 (spi_controller_grab_keyboard): rename to
5001 (spi_controller_update_key_grabs): this, and deal
5002 with incremental adding / removing grabs more
5004 (_register_keygrab): ensure we're not pending a remove.
5005 (spi_grab_mask_free): impl.
5006 (spi_controller_register_global_keygrabs): split out
5008 (handle_keygrab): impl.
5009 (_deregister_keygrab): impl.
5010 (spi_controller_deregister_global_keygrabs): impl.
5011 (spi_controller_update_key_grabs): re-issue the grab if
5012 we just recieved a notification.
5014 * test/test-simple.c (key_listener_cb): remove debug.
5016 * registryd/deviceeventcontroller.c
5017 (spi_controller_register_device_listener): after
5018 registering a global keygrab, actualy register it !
5019 don't wait for a timeout; doh !
5021 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5022 to make it more readable / manipulable.
5023 s/grabmask/grab_mask/ s/refcount/ref_count/
5024 s/keyval/key_val/ s/modmask/mod_mask
5026 2002-01-08 Michael Meeks <michael@ximian.com>
5028 * registryd/deviceeventcontroller.c
5029 (spi_controller_register_with_devices): use gdk calls to
5031 (global_filter_fn): implement the filter.
5032 (spi_device_event_controller_check_key_event): rename to
5033 (spi_device_event_controller_forward_key_event): this & upd.
5034 (spi_get_display): replace with GDK_DISPLAY.
5036 * registryd/deviceeventcontroller.c
5037 (spi_controller_deregister_device_listener): unroll into
5038 (impl_deregister_keystroke_listener): here to simplify.
5039 (spi_controller_register_global_keygrabs): split cut and
5040 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5041 (spi_controller_deregister_device_listener): remove.
5042 (impl_register_mouse_listener): remove, no mouse listener
5043 support in at-spi-1.0
5045 * registryd/registry.c
5046 (_device_event_controller_hook): kill.
5047 (spi_registry_init): upd.
5049 * registryd/deviceeventcontroller.c
5050 (spi_device_event_controller_class_init): upd.
5051 (spi_check_key_event): merge into.
5052 (spi_device_event_controller_check_key_event):
5053 here and kill strange static ev init, don't leak
5054 the x_event - nor dynamicaly allocate it.
5056 * registryd/registry-main.c (main): re-direct
5057 timeout to remove strange vtable mess.
5059 * registryd/deviceeventcontroller.c
5060 (remove_listener_cb): impl.
5061 (spi_controller_deregister_device_listener):
5062 fix re-enterancy hazard.
5064 2002-01-07 Michael Meeks <michael@ximian.com>
5066 * registryd/deviceeventcontroller.c
5067 (spi_device_event_controller_new): upd.
5068 (impl_notify_listeners_sync): upd. debug.
5069 (spi_notify_keylisteners): fix re-enterancy hazards,
5070 prettify, remove O(n*n) iteration.
5071 (spi_controller_grab_keyboard): fix iteration.
5072 (spi_check_key_event): re-format to suit coding style.
5073 Clean all the warnings - we're warning free.
5075 * registryd/deviceeventcontroller.h:
5076 * registryd/registry.h: make mutualy referential with
5077 typesafe forward references instead of (!) void pointer
5080 2002-01-11 Michael Meeks <michael@ximian.com>
5082 * cspi/spi_accessible.c (role_names): add a role name
5083 to sync this array with the enum; and make the regression
5086 2002-01-10 Michael Meeks <michael@ximian.com>
5088 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5089 allow expansion of enumeration & kill warning.
5091 * test/test-simple.c (key_listener_cb): impl.
5092 (test_keylisteners): impl.
5094 * cspi/spi-listener.h: make listener signatures const
5095 on the provided (const) events.
5097 * test/keysynth-demo.c: upd. to const events.
5099 * test/simple-at.c: ditto.
5101 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5104 Rev the version to 0.5 (the previous tarball was named 0.4,
5105 even though the micro number was 3), so we need to rev upwards
5106 again for beta2/"desktop-alpha"
5109 Checked in a demo script, which requires editing before use!
5110 Proceed with caution.
5113 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5115 * cspi/spi_accessible.c:
5116 Add a couple of missing enum initializations, and fix some enum
5119 * cspi/spi_registry.c:
5120 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5122 * docs/reference/cspi/at-spi-cspi-sections.txt:
5123 Remove/fix a couple of broken document references.
5126 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5127 as Alt-Control to listen for commands, since on some systems
5128 Control-Alt may already be grabbed.
5130 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5133 Update version number to 0.4 for Beta2.
5135 * libspi/accessible.c, libspi/accessible.h:
5136 Expose spi_accessible_construct, to enable libgail-gnome
5137 construction from spi_accessible subtype.
5139 * utils/magnifier.c:
5140 Workaround for bug in some non-gnome-compliant window managers
5141 which made magnifier resize improperly.
5143 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5145 * libspi/accessible.c: (spi_accessible_new) :
5146 Move the test for SPI_IS_REMOTE_OBJECT to
5147 spi_accessible_new_return, fixing a bug and compile time warning.
5149 2002-01-08 Michael Meeks <michael@ximian.com>
5151 * registryd/registry.c (parse_event_type): remove strndup.
5153 * libspi/Makefile.am (libspi_la_SOURCES): remove
5154 sources already included in the headers section.
5156 * libspi/util.c: add.
5158 * libspi/spi-private.h: add.
5160 * registryd/registry.c: update to moved list iterators.
5162 2002-01-05 Michael Meeks <michael@ximian.com>
5164 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5166 * test/test-simple.c (main): ditto.
5168 2002-01-04 Michael Meeks <michael@ximian.com>
5170 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5171 redundant construct.
5173 * registryd/registry.c
5174 (get_listener_list): impl.
5175 (impl_accessibility_registry_register_global_event_listener):
5176 re-impl. to simplify using ~, remove dodgy const cast off.
5177 (parse_event_type): constify.
5178 (impl_accessibility_registry_deregister_global_event_listener_all):
5179 re-write, more efficiency and simplicity, kill re-enterancy
5181 (compare_listener_corbaref, compare_corba_objects),
5182 (compare_listener_quarks): define out.
5183 (impl_accessibility_registry_deregister_global_event_listener):
5184 re-write for effiency, and nail re-enterancy hazard.
5185 (impl_accessibility_registry_get_desktop_list): impl.
5186 (re_enterant_list_delete_link): impl.
5187 (re_enterant_list_foreach): impl.
5188 (remove_listener_cb): impl.
5189 (_registry_notify_listeners): kill.
5190 (notify_listeners_cb): impl.
5192 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5193 (SPI_getDesktopList): impl.
5195 * test/test-simple.c (test_desktop): test the methods.
5197 2002-01-03 Michael Meeks <michael@ximian.com>
5199 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5200 keystrings since we free them
5201 (SPI_freeAccessibleKeySet): in here.
5203 * libspi/accessible.c (spi_accessible_new): kill warning,
5204 wonder what is going on with the constructor here.
5206 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5208 * libspi/accessible.c (spi_accessible_new ()) :
5209 Added check to see if AtkObject is an SpiRemoteObject before
5210 creating an SpiAccessible.
5212 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5214 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5215 Enable keygrabs using the Control modifier, now that they are
5216 working properly (they were previously disabled).
5219 Change the command keygrab for this demo to "Control+Alt", so as
5220 to conflict with fewer other key commands on the system; this
5221 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5223 Removed a pointlessly-chatty keylistener for unshifted keys
5224 (shifted keys are still reported).
5226 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5228 * libspi/remoteobject.h:
5229 * libspi/remoteobject.c:
5230 Added definitions for special AtkObject subtype, required for
5231 support of remote components (specifically, used by BonoboControl
5232 accessibility implementation).
5234 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5236 * cspi/spi.h: synched relation types with ATK
5238 * cspi/spi_accessible.c: Added implementations of
5239 AcccessibleRelation_* methods
5241 * idl/Accessibility_Relation.idl: added getRelationTypeName
5242 method. Synched known relation types with ATK. Allowed for
5243 relation type extension with the RELATION_EXTENDED type.
5245 * libspi/relation.c: Provided implementations for
5246 AccessibleRelation methods.
5248 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5250 API tweaks for today's API 'freeze'.
5253 Added placeholder functions to allow future compatible expansion
5254 of the IDL interfaces.
5256 * idl/Accessibility_Registry.idl:
5257 Changed generateKeyEvent to generateKeyboardEvent. Changed
5258 signature of this method to accept an optional keystring in
5259 parameter (for complex text input synthesis) and changed use of
5260 simple 'boolean' parameter in registerKeystrokeListener to a
5261 struct, EventListenerMode.
5263 * cspi/spi_accessible.c:
5265 * cspi/spi_streamablecontent.c:
5266 Added references to AccessibleStreamableContent interface, and
5267 definition and implementation of AccessibleStreamableContent
5270 * cspi/spi_registry.c:
5272 Changed generateKeyEvent API to generateKeyboardEvent,
5273 taking a new (optional) keystring parameter to support complex
5278 Renamed directory (to better reflect its actual purpose, bridging
5279 from at-spi to ATK). The .so module is also now named
5282 * idl/Accessibility_Hypertext.idl:
5283 * libspi/accessible.c:
5284 * libspi/hypertext.h:
5285 * libspi/hypertext.c:
5286 Changed Accessibility_Hypertext to *not* derive from
5289 * cspi/spi_registry.c:
5290 Added list of legal event type names for 'window' events, which
5291 completes the registry event API.
5293 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5295 * at-bridge/bridge.c: Added registration for separate
5296 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5297 signals. If either of the first two parameters to the generic
5298 bridge signal handler are ints, they are passed on as event
5299 details. This allows an AT to determine what text was inserted.
5301 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5303 * registryd/deviceeventcontroller.c:
5304 Fixed regressions in generateKeyEvent caused by the removal of
5305 gdk_init from registryd; we now use pure X calls to connect to the
5306 display, which makes sense because deviceeventcontroller already
5307 uses a fair bit of X API (should eventually be migrated to a
5308 'portability layer').
5310 * registryd/desktop.c:
5311 Fixed minor regression in spi_desktop_init, changed the way the
5312 desktop name is being set to work with new spi_base API
5313 (gobject-based, rather than AtkObject-based).
5315 * registryd/Makefile.am:
5316 Minor revision of makefile to use XTST_LIBS variable rather than
5317 hard-wiring the Xtst LD_ADD element.
5319 * test/keysynth-demo.c:
5320 Tweaked an output message; added initialization of the
5321 'keystrings' member of the "switch listener" key_set.
5323 * libspi/relation.c:
5324 Squashed compile-time warning.
5326 * libspi/accessible.c:
5327 Cosmetic and formatting fixes, renamed a static method.
5329 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5331 * libspi/accessible.c
5333 * libspi/application.c
5336 * libspi/component.c
5337 * libspi/editabletext.c
5338 * libspi/hyperlink.c
5339 * libspi/hypertext.c
5341 * libspi/selection.c
5345 * registryd/desktop.c:
5346 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5348 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5350 * idl/Accessibility_Registry.idl:
5351 Added boolean member 'is_text' to DeviceEvent. This is for the
5352 use of key events, and helps prevent ambiguity between composed
5353 key strings and keysym names, since both may potentially be
5354 returned in the 'event_string' member.
5356 * at-bridge/bridge.c:
5357 * registryd/deviceeventcontroller.c:
5358 Use the 'is_text' member when notifying device event listeners.
5359 Knon issue: composed characters are not dealt with correctly by
5360 the global key listener implementation yet.
5362 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5364 * at-bridge/bridge.c:
5365 Namespaced local static methods to spi_atk_bridge_* where
5366 previously named bridge_*, and spi_* elsewhere.
5368 * at-bridge/bridge.c:
5369 * cspi/bonobo/cspi-bonobo-listener.c:
5370 Added demarshalling/conversion for string member of
5371 Accessibility_DeviceEvent to AccessibleKeystroke.
5373 * registryd/deviceeventcontroller.c:
5374 Added code to fill the Accessibility_DeviceEvent key string value
5375 member for global key events (i.e. from XGrabKey), to match
5376 behavior of Accessibility_DeviceEvent from the toolkit key events
5377 from the bridge. Fixed timestamp in global key event notifications.
5380 Added printout of key event's string value to
5381 report_ordinary_key_event, for demo/debugging purposes.
5383 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5385 * idl/Accessibility_Registry.idl:
5386 Removed Accessibility_KeyStroke structure in favor of generic
5387 Accessibility_DeviceEvent structure.
5388 Changed Accessibility_ControllerEventMask from a struct to an
5391 * at-bridge/bridge.c:
5392 Changed APIs to use DeviceEvent structure as above, and removed
5393 bogus casting between these event structures.
5395 * cspi/spi-listener.h:
5396 Added keystring member of AccessibleKeystroke structure, to enable
5397 matching on event "names" rather than only hardware codes and
5401 Added keystrings member of AccessibleKeySet struct, to allow
5402 matching on event names (as above).
5403 Added declarations for SPI_createAccessibleKeySet and
5404 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5405 event modmasks directly as unsigned ints rather than structs with
5406 refcounts, in the DeviceEventController methods.
5408 * cspi/spi_registry.c:
5409 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5411 * cspi/spi-roletypes.h:
5412 Added documentation of newly added SPI Roles.
5414 * cspi/bonobo/cspi-bonobo-listener.c:
5415 Changes in support of API changes above.
5417 * libspi/accessible.c:
5418 Converted APIs to use DeviceEvent structure (see IDL changes
5421 * registryd/deviceeventcontroller.c:
5422 Added DEControllerGrabMask structure to track keygrabs not only by
5423 modmask but by keyset as well; this allows us to do "global"
5424 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5425 grabbing on AnyKey and then filtering after-the-fact.
5426 Bugfixes for event filtration mean that we don't get false matches
5427 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5429 * registryd/deviceeventcontroller.c:
5430 Namespaced a number of static methods to use spi_ prefix. Major
5431 revision to internals of global (i.e. X) key grabs.
5433 * registryd/deviceeventcontroller.h:
5434 Removed keymask_list and added keygrabs_list to
5435 SpiDeviceEventController struct.
5438 Added use of SPI_createAccessibleKeySet API when creating a
5439 listener for only one key. Attach a listener to "shift spacebar
5440 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5441 X key event names to SPI key event names, so that listeners are
5442 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5444 * test/keysynth-demo.c:
5445 Changed (incorrect) use of X key event names (KeyPressed,
5446 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5449 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5451 * libspi/accessible.c:
5452 Convert all AtkRole enumerations to Accessibility_Role enums when
5453 getting a role from an AtkObject.
5455 * cspi/spi_accessible.c:
5456 Complete the conversion of Accessibility_Role enums at runtime to
5457 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5458 role enums correctly match those given in spi-roletypes.h.
5459 Re-synchronize the local names list for AccessibleRole_getName ().
5460 AccessibleRole_getName is now deprecated, since it duplicates the
5461 more reliable Accessible_getRoleName.
5462 Added some role types from Accessibility_Role.idl.
5464 * idl/Accessibility_Role.idl:
5465 Added some role types used by AtkRole.
5467 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5470 * cspi/spi_registry.c:
5472 * cspi/cspi-bonobo-listener.c:
5473 Namespaced all methods that did not begin with an "SPI_" or
5474 "Accessible" prefix to "SPI_".
5477 Homogenized internal function namespace to "cspi_" for statics.
5480 Patched tests to use the new CSPI API.
5482 * docs/reference/cspi/at-spi-cspi-sections.txt:
5483 Updated docs to reflect namespace changes, and added a number of
5484 methods to the documentation.
5486 * registryd/registry.c:
5487 Changed use of strings and string hashes in listener event
5488 matching and parse_event_string to use GQuark, which is guaranteed
5491 * registryd/registry.h:
5492 Squashed annoying warning.
5494 * idl/Accessibility_Role.idl:
5495 Extended range of available Accessibility_Role values.
5497 * cspi/spi_accessible.c:
5498 Re-ordered role names.
5500 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5502 * idl/Accessibility_Value.idl:
5503 Revert use of union back to CORBA_double, since the double type is
5504 more efficient and can contain the other types without loss of
5507 * idl/Accessibility_Accessible.idl:
5508 Added method Accessibility:Accessible:getRoleName, to complement
5509 Accessibility:Accessible:getRole.
5511 * cspi/spi_accessible.c:
5513 Added C binding for above, Accessible_getRoleName (), and changed
5514 signature of Accessible_getRole () to return an AccessibleRole.
5516 * cspi/spi-roletypes.h:
5517 Changed AccessibleRole_getName to return a char * instead of a
5518 const char *. This method is now at least temporarily deprecated
5519 in favor of asking Accessibles for their RoleNames directly.
5522 Revert to match Accessibility_Value.idl;
5526 Change signature of AccessibleValue methods to use double rather
5530 * cspi/spi_accessible.c:
5531 Changed Accessible_getRole to return an AccessibleRole enum rather
5532 than a UTF-8 string. The UTF-8 string can still be obtained via
5533 AccessibleRole_getName ().
5535 * test/test-simple.c:
5536 Add test_action. Small fixup to match API change to Accessible_getRole.
5539 Bugfix for get_action_from_servant ().
5541 2001-12-11 Michael Meeks <michael@ximian.com>
5543 * libspi/libspi.h: remove registry.h and
5544 desktop.h, deviceeventcontroller.h
5546 * libspi/Makefile.am: remove registry.[ch],
5547 desktop.[ch], deviceeventcontroller.[ch]
5549 * registryd/Makefile.am: add registry.[ch],
5550 desktop.[ch], rename registryd.c to registry-main.c.
5551 add deviceeventcontroller.[ch]
5553 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5556 Replace setenv() call with putenv ().
5558 * libspi/component.c:
5559 Bugfix in AccessibleComponent_getExtents (),
5562 2001-12-11 Michael Meeks <michael@ximian.com>
5564 * libspi/image.c (impl_getImageExtents): impl.
5565 (spi_image_class_init): upd.
5568 (AccessibleImage_getImageDescription): fix daft bug
5571 * test/test-simple.c (global_listener_cb): update
5572 to only quit if not --poke
5573 (main): catch --poke.
5574 (validate_accessible): upd. dumping, call test_image
5577 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5580 * idl/Accessibility.idl: update all IDL includes.
5582 * idl/*.idl - rename to namespace - this sucks, blame
5583 mjs' bad decision for oafd.
5585 * test/test-simple.c (create_test_window): add more tests.
5586 (create_tree): split this out.
5587 (validate_accessible): bugfix.
5589 2001-12-11 Michael Meeks <michael@ximian.com>
5591 * cspi/bonobo/cspi-bonobo-listener.c:
5592 (cspi_kestroke_listener_unref),
5593 (cspi_event_listener_unref): impl. undoing previous
5594 homenous environment - for Bill.
5596 * cspi/spi_table.c (long_seq_to_array): use
5599 * cspi/spi_main.c: split out all bonoboish bits into
5602 * cspi/spi-impl.h: upd. typedefs.
5604 * cspi/spi_registry.c: update to lowlevel API,
5605 return booleans to indicate success in some places.
5607 * cspi/spi_event.c: update to lowlevel API.
5609 * cspi/bonobo/Makefile.am: add.
5611 * cspi/bonobo/cspi-lowlevel.h: add
5613 * cspi/bonobo/cspi-bonobo.c: add
5615 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5617 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5618 (SUBDIRS): add bonobo, link in the libs.
5620 * cspi/spi-util.c: kill this file.
5622 * TODO: merge in my bits.
5624 2001-12-11 Michael Meeks <michael@ximian.com>
5626 * test/test-simple.c (test_value, test_table, main):
5627 remove unused variables causing warnings.
5629 * configure.in: cleanup checks - require gail.
5631 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5634 Changed Value interface to use SValue (scalars) rather than
5635 assuming all values are floats. This allows floats, doubles,
5636 longs, shorts, and unsigned values to be manipulated.
5637 Introduced Accessibility:SValue union.
5640 Updated to use new API above, and to work correctly with GValues
5641 of different types in AtkValue.
5644 Updated to use new API above. cspi's API is as yet unchanged.
5647 Updated the Value revision action item.
5649 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5651 * test/test-simple.c:
5652 Added test_table (GtkTreeView widget in test window to follow).
5653 Un-commented test_value, added GtkRange widget.
5654 Added GtkTreeView widget with GtkListStore. It passes regression
5655 test but leaks one SPI object for some reason.
5658 Fixed bug in impl__set_currentValue.
5660 2001-12-10 Michael Meeks <michael@ximian.com>
5662 * cspi/spi_text.c: audit for exception handling,
5663 tolerating NULL object references safely etc.
5665 * cspi/spi_value.c: ditto.
5667 * cspi/spi_table.c (AccessibleTable_getSummary),
5668 (AccessibleTable_getAccessibleAt),
5669 (AccessibleTable_getRowHeader),
5670 (AccessibleTable_getColumnHeader),
5671 (AccessibleTable_getCaption): fix bugs hidden by
5673 (long_seq_to_array): impl.
5674 (AccessibleTable_getSelectedRows),
5675 (AccessibleTable_getSelectedColumns): use it.
5677 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5680 Added a TODO list (rough and short for now).
5682 * cspi/spi_hyperlink.c:
5683 * cspi/spi_hypertext.c:
5684 Fixed macro name typos, and remove use of obsolete macro in
5685 AccessibleHyperlink_getLink.
5687 * cspi/spi_action.c:
5688 * cspi/spi_accessible.c:
5689 * cspi/spi_application.c:
5690 * cspi/spi_component.c:
5691 * cspi/spi_selection.c:
5694 Documentation fixes (removed return values from ref/unref methods).
5696 2001-12-10 Michael Meeks <michael@ximian.com>
5698 * cspi/spi_action.c: audit for exception handling,
5699 tolerating NULL object references safely etc.
5701 * cspi/spi_accessible.c: ditto.
5703 * cspi/spi_component.c: ditto.
5705 * cspi/spi_editabletext.c: ditto.
5707 * cspi/spi_hyperlink.c: ditto.
5709 * cspi/spi_hypertext.c: ditto.
5711 * cspi/spi_image.c: ditto.
5713 * cspi/spi_selection.c: ditto.
5715 2001-12-10 Michael Meeks <michael@ximian.com>
5717 * configure.in: use cspi/libspi.pc.in instead.
5719 * Makefile.am (pkgconfig_DATA): upd. to match.
5721 * test/simple-at.c (report_focus_event): kill hacks around
5722 bad return values, use putenv not setenv
5724 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5725 fire ChildGone - I killed it.
5727 * libspi/component.c
5728 (impl_accessibility_component_get_extents): remove
5731 * idl/Accessible.idl: kill ChildGone exception.
5733 * cspi/*.[ch]: kill int return from ref / unref.
5735 * cspi/spi_main.c (cspi_object_add_check): fold into
5736 (cspi_object_add): here.
5738 * cspi/spi_component.c (AccessibleComponent_getExtents):
5739 handle exceptions elegantly.
5741 * cspi/spi-private.h (cspi_check_ev_return),
5742 (cspi_return_if_fail): impl.
5744 * cspi/spi_accessible.c: use extensively.
5745 (AccessibleStateSet_equals): add direct compare check.
5747 * cspi/spi_selection.c: tolerate NULL objs, and check
5748 exceptions before return.
5750 * cspi/spi-util.c (cspi_warn_ev): rename to
5751 (cspi_check_ev): this & don't pass ev in; no point.
5753 2001-12-10 Michael Meeks <michael@ximian.com>
5755 * test/test-simple.c: use putenv not setenv
5756 (get_environment_vars): more chatty if you're not using
5759 * test/simple-at.c: do the setenv so more people see the
5762 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5764 * libspi/registry.c:
5765 Changed check of CORBA_environment on notification to be a warning
5766 instead of an error for the moment, since we can recover from this
5767 error when caused by a queued notification from a dead app.
5770 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5771 used by all current implementors of AtkValue), and coerce to
5772 CORBA_float. (Proper general case fix may require change to Value.idl).
5774 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5778 * cspi/spi_accessible.c:
5779 Documentation fixes: added user_data params to documentation for
5780 listeners and callbacks.
5782 * cspi/spi_accessible.c:
5783 Changed AccessibleStateSet_compare to return a
5784 StateSet rather than return the difference set into a third parameter.
5787 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5790 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5791 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5795 Remove subdirectory po from SUBDIRS for now.
5797 * at-bridge/bridge.c:
5798 Beefed up a couple of debug printouts.
5799 One-line fix for signal notification name formatting.
5801 * libspi/accessible.c:
5802 Added assertion to spi_accessible_new ().
5804 * libspi/application.c:
5805 Put #ifdef qualifiers around a printf.
5808 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5810 * registryd/Makefile.am:
5812 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5813 INTLTOOL_SERVER_RULE macro.
5816 Added an event listener for several ATK signals, for
5817 testing and debugging. Removed a few g_warnings.
5818 Added test output if focussed item implements the Value interface.
5820 * test/test-simple.c:
5821 Added test_value () function (known not to pass at the moment, so
5822 not actually called yet.
5824 2001-12-08 Michael Meeks <michael@ximian.com>
5826 * at-bridge/bridge.c (bridge_focus_tracker),
5827 (emit_eventv): fix the same ref. leak.
5828 (register_atk_event_listeners): don't leak.
5830 * cspi/spi-listener-impl.c (cspi_event): more
5831 protection from client code.
5833 * test/test-simple.c (test_desktop): unref the app.
5835 * test/Makefile.am: upd. TESTS.
5837 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5839 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5841 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5843 * cspi/spi_registry.c: constify in strings.
5844 (deregisterGlobalEventListenerAll): don't release the ref.
5846 * cspi/spi.h: start removing redundant / conflicting
5847 gtkdoc comments, making the API readable at a glance :-)
5849 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5851 * test/keysynth-demo.c (keysynth_exit, main): upd.
5853 * test/simple-at.c (main, simple_at_exit): upd.
5855 * test/test-simple.c (unutterable_horror): kill.
5856 (utterable_normal_derefs): kill.
5857 (main): upd & do a setenv before gtk_init, so that we
5858 can use memprof - and to save the pain of remembering
5859 this, if we're running under memprof - don't exit.
5861 * cspi/spi_main.c (SPI_exit): return exit status
5863 (SPI_event_quit): impl.
5864 (SPI_event_main): simplify.
5865 (cspi_is_gnome_app): kill.
5866 (SPI_init): kill isGNOMEapp arg.
5868 * at-bridge/bridge.c (register_atk_event_listeners):
5869 re-instate the unref.
5870 (bridge_exit_func): don't re-activate the registry,
5871 protect vs. theoretical re-entry, use the
5872 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5873 assert a clean shutdown - for regression tests.
5875 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5877 * configure.in: Comment out dummy i18n support for now,
5878 otherwise it fails to build.
5879 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5880 EXTRA_DIST. They are missing in tarball.
5882 2001-12-07 Michael Meeks <michael@ximian.com>
5884 * util/magnifier.c: kill bonobo activation reg. race.
5886 * libspi/component.c
5887 (impl_accessibility_component_get_extents): make it match
5890 * libspi/registry.c (_registry_notify_listeners):
5891 re-remove X headers & reconcile conflicts.
5892 (spi_listener_struct_free): bad conflict resolve.
5893 (impl_accessibility_registry_register_application):
5894 more bad merging fixed.
5895 (impl_accessibility_registry_deregister_application): ditto.
5896 (spi_registry_new): ditto.
5897 (spi_registry_init): don't have an applications field.
5899 [ merge fixups2 branch to here ]
5900 2001-12-07 Michael Meeks <michael@ximian.com>
5902 * test/simple-at.c (report_focus_event),
5903 (report_focussed_accessible): remove g_warning debug.
5905 2001-12-07 Michael Meeks <michael@ximian.com>
5907 * test/test-simple.c (validate_tree): comment out some checks.
5908 (test_desktop): app now not registered idly - horay.
5910 2001-12-07 Michael Meeks <michael@ximian.com>
5912 * cspi/spi_registry.c
5913 (registerAccessibleKeystrokeListener): clean, stop it leaking
5914 great swathes of memory, and device event controller references.
5915 ensure we always pass valid sequences.
5916 (deregisterAccessibleKeystrokeListener): ditto.
5917 (generateKeyEvent): upd.
5919 * at-bridge/bridge.c (bridge_key_listener): handle
5920 registry dead exception gracefully.
5921 (bridge_focus_tracker, emit_eventv): free ev.
5923 * test/simple-at.c (report_focus_event): fix polarity.
5925 * libspi/application.c (notify_listeners): kill the ev
5926 argument, and make sure we init the ev we use.
5927 (spi_application_object_event_listener): split out a chunk
5928 (get_atk_object_ref): here & fixup.
5929 (reverse_lookup_name_for_toolkit_event): make const.
5930 (spi_application_toolkit_event_listener): fixup, kill leaks
5933 * at-bridge/bridge.c (register_atk_event_listeners):
5934 don't unref the noop object - causes grief.
5936 * libspi/registry.c: remove the X headers.
5937 turn off the debug churn.
5939 * libspi/accessible.c (spi_accessible_new_return): only
5940 release the ref if we are supposed to [doh]
5942 * test/simple-at.c (report_button_press, report_focus_event):
5943 guard vs. unexpected exit.
5945 * at-bridge/bridge.c (gtk_module_init): prune printf.
5946 (bridge_exit_func): fix app unref.
5948 * libspi/Makefile.am: don't install registry or desktop.h
5950 * libspi/*.h: update includes.
5952 * libspi/application.h: don't include ourself, or
5953 other redundant headers.
5955 2001-12-06 Michael Meeks <michael@ximian.com>
5957 * libspi/accessible.c
5958 (get_accessible_from_servant): impl.
5959 Upd. all CORBA impl.s to use it killing cut and paste.
5961 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5963 (SPI_init): register atexit cleanup handler here.
5965 2001-12-06 Michael Meeks <michael@ximian.com>
5967 * at-bridge/bridge.c (gtk_module_init): g_error on
5968 activation exception
5970 2001-12-06 Michael Meeks <michael@ximian.com>
5972 * at-bridge/bridge.c (gtk_module_init): some sort of
5973 confusing merge clash - reverted.
5974 (bridge_idle_init): ditto.
5976 * test/test-simple.c (main, utterable_normal_derefs):
5977 merge from Bill - somehow not committed.
5979 2001-12-06 Michael Meeks <michael@ximian.com>
5981 * libspi/value.c (spi_value_class_init): upd.
5982 (spi_value_finalize): kill.
5984 * libspi/table.c (spi_table_finalize): kill.
5985 (spi_table_interface_new): upd.
5986 (spi_table_class_init): upd.
5987 (get_table_from_servant): impl.
5988 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5990 * libspi/selection.c (spi_selection_finalize): kill.
5991 (spi_selection_interface_new): upd.
5992 (spi_selection_class_init): upd.
5993 (get_selection_from_servant): impl.
5994 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5996 * libspi/relation.c (spi_relation_finalize): kill.
5997 (spi_relation_class_init, spi_relation_new): upd
5999 * libspi/image.c (spi_image_finalize): kill.
6000 (spi_image_class_init): upd.
6001 (spi_image_interface_new): upd.
6002 (get_image_from_servant): impl.
6003 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6005 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6006 (spi_hyperlink_finalize): kill.
6007 (spi_hyperlink_new): upd.
6008 (get_hyperlink_from_servant): impl.
6009 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6011 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6012 (spi_hypertext_finalize): kill.
6013 (spi_hypertext_class_init): upd.
6014 (get_hypertext_from_servant): impl.
6015 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6017 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6018 (spi_editable_text_interface_new): upd.
6019 (get_editable_text_from_servant): impl.
6020 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6022 * libspi/text.c (get_text_from_servant): impl.
6023 All impls - update to use it killing more cut and paste,
6024 also fix bad string returns on duff args ( a somewhat
6025 impossible case to handle - but hey ).
6026 (spi_text_construct): impl.
6027 (spi_text_interface_new): upd.
6028 (spi_text_object_finalize): kill.
6030 * libspi/component.c
6031 (accessibility_component_object_finalize): kill.
6032 (spi_component_class_init): upd.
6033 (get_component_from_servant): impl. helper to kill cut & paste.
6034 (impl_accessibility_component_contains):
6035 (impl_accessibility_component_get_accessible_at_point):
6036 (impl_accessibility_component_get_position):
6037 (impl_accessibility_component_get_extents):
6038 (impl_accessibility_component_get_mdi_z_order):
6039 (impl_accessibility_component_get_layer):
6040 (spi_component_interface_new): upd.
6042 * libspi/action.c (spi_action_finalize): kill.
6043 (spi_action_class_init): upd. inherit from SpiObject.
6044 (spi_action_interface_new): upd.
6045 (get_action_from_servant): impl. helper to reduce cut & paste.
6046 (impl_getKeyBinding, impl_getName, impl_doAction),
6047 (impl_getDescription): Use it everywhere.
6049 * cspi/spi_main.c (get_live_refs): a pointer hash.
6050 (spi_object_hash, spi_object_equal): comment out.
6051 There are issues with CORBA object hashing that need
6054 * libspi/application.c (spi_application_init),
6055 (spi_application_new): upd.
6057 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6058 (spi_accessible_class_init): upd.
6059 s/accessible/object/ in epv methods.
6061 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6063 * at-bridge/bridge.c:
6064 Reorder the bridge initialization into the bridge gtk_module_init,
6065 an immediate call to bridge_register_app, and an idle_add for
6066 register_atk_event_listeners (the only code that *must* wait until
6067 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6068 the activation, creates the application's Accessible object, and
6069 queues the bridge_idle_init function. Restored call to
6070 Accessibility_Registry_deregisterApplication().
6071 Prior to making this call we obtain a new reference to the
6072 registry, which is a temporary hack that helps us handle apps that
6073 shut down the bonobo mainloop before we get there.
6075 * libspi/registry.c:
6076 Fix string leakage in debug block, and don't segv if a an app
6077 dies before its event notifications have been propagated.
6080 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6081 as stopgap measure until we get proper exception handling when
6082 objects die during or before interrogation.
6086 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6087 Also changed default value of is_gnome_app to TRUE.
6090 * test/keysynth-demo.c:
6091 Changed use of SPI_init and SPI_event_main to reflect API change above.
6094 Made report_focus_event check the warning value from getName
6095 before reporting on focussed accessible; simplifies handling of
6096 notifications from dead objects.
6098 * test/test-simple.c: (Changes not in this patch since source is
6101 2001-12-05 Michael Meeks <michael@ximian.com>
6103 * registryd/registryd.c (main): protect against
6104 bonobo-activation startup race condition.
6106 * cspi/spi_main.c (cspi_object_add_check): cope
6107 with the exception elegantly.
6109 * idl/Accessible.idl: decl. ChildGone
6111 * libspi/desktop.c (spi_desktop_dispose): impl.
6112 (spi_desktop_class_init): upd.
6113 (spi_desktop_add_application),
6114 (spi_desktop_remove_application),
6115 (abnormal_application_termination): impl.
6116 (impl_desktop_get_child_at_index): re-impl.
6119 (impl_accessibility_registry_deregister_application),
6120 (impl_accessibility_registry_register_application):
6121 kill excessive debug clutter.
6123 * test/test-simple.c (test_misc): test some NULL
6124 tolerance. (main): upd.
6126 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6127 implements no interfaces - so let's not crash.
6129 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6131 * libspi/accessible.c (spi_accessible_new_return): impl.
6132 helper to calm the cut and paste, to cope with
6133 NULL AtkObjects effectively and efficiently, and to kill
6134 the referencing bugs.
6136 * libspi/table.c (impl_getAccessibleAt),
6137 (impl_getRowHeader, impl_getColumnHeader): upd.
6139 * libspi/hyperlink.c (impl_getObject): upd.
6141 * libspi/accessible.c
6142 (impl_accessibility_accessible_get_child_at_index): upd.
6144 * libspi/component.c
6145 (impl_accessibility_component_get_accessible_at_point): upd.
6147 * test/test-simple.c (test_editable_text, test_text): impl.
6150 * cspi/spi_editabletext.c
6151 (AccessibleEditableText_insertText): constify.
6153 * test/test-simple.c (focus_me): make more robust.
6155 * libspi/accessible.c: remove some printfs in methods that
6156 we test and work fine, so we can get a clean tree dump.
6158 * test/test-simple.c (validate_accessible),
6159 (validate_tree): make tree dumping pretty too.
6161 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6162 it builds without debug on.
6164 * test/test-simple.c (validate_accessible): fix the most
6167 * cspi/spi_main.c (spi_object_release): leave the nicely
6168 blanked memory around if in debug mode.
6170 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6172 [committed to fixups2]
6173 2001-12-05 Michael Meeks <michael@ximian.com>
6175 * libspi/editabletext.c
6176 (spi_editable_text_class_init): g_type_class_peek_parent,
6177 not interface peek - so we finalize cleanly.
6179 * libspi/accessible.c (spi_accessible_new): kill debug.
6181 * test/test-simple.c (validate_accessible): fix ref.
6182 leak, print strings before freeing them; sigh, comment a
6183 chunk out due to strangeness.
6184 (validate_tree): unref the child after use.
6186 * cspi/spi_component.c (AccessibleComponent_getLayer):
6187 add missing break statement, switch on zlayer not the
6188 uninitialized retval.
6190 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6191 before (possibly re-entering) remote unref.
6193 * test/simple-at.c (main): unref the desktop.
6195 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6198 * cspi/spi_main.c (cspi_accessible_is_a): here to
6199 isolate bonobo API usage more.
6201 * libspi/registry.c (impl_accessibility_registry_register_application):
6202 prune bogus comment.
6204 2001-12-04 Michael Meeks <michael@ximian.com>
6206 * test/test-simple.c (validate_tree): upd.
6207 IndexInParent check to make it more lucid.
6208 (validate_accessible): dump the tree.
6210 * libspi/accessible.c (de_register_public_ref),
6211 (get_public_refs): impl.
6212 (spi_accessible_new): make more efficient & intuitive.
6213 Now IndexInParent check works.
6215 2001-12-04 Michael Meeks <michael@ximian.com>
6217 * cspi/spi-util.h: remove.
6219 * cspi/spi.h: move SPI_freeString here
6221 * libspi/component.c (impl_accessibility_component_get_layer):
6223 (impl_accessibility_component_get_mdi_z_order): ditto,
6224 return -1 on error - is this ok ?
6226 * test/test-simple.c (test_application): impl.
6228 * cspi/spi_accessible.c (Accessible_getApplication),
6229 (Accessible_isApplication): impl.
6231 * libspi/registry.c (spi_listener_struct_free): release
6232 the CORBA reference too.
6234 * libspi/accessible.c
6235 (impl_accessibility_accessible_get_parent): fix ref leak.
6237 * libspi/registry.c (spi_registry_new): make the registry
6238 immortal - we don't want it to go away ever.
6240 * libspi/application.c
6241 (spi_accessible_application_finalize): impl. cleanup.
6243 * cspi/spi_registry.c
6244 (deregisterGlobalEventListenerAll),
6245 (deregisterGlobalEventListener),
6246 (deregisterAccessibleKeystrokeListener): fix ref leak.
6248 * cspi/spi_main.c (SPI_init): remove redundant ref.
6250 * test/test-simple.c (unutterable_horror): impl. to force a
6255 (impl_accessibility_registry_deregister_application): release
6256 the application when we de-register it.
6258 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6259 until we have the infastructure to get it right.
6261 2001-12-03 Michael Meeks <michael@ximian.com>
6263 * libspi/Makefile.am: only build eventlistener.[ch]
6265 * libspi/accessible.c
6266 (impl_accessibility_accessible_get_child_at_index): don't leak.
6268 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6269 before we hit the idle handler.
6271 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6272 debugging than exit.
6274 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6276 * libspi/listener.c (impl_notify_event): check source
6277 not NIL before unref.
6279 * libspi/registry.c (impl_registry_notify_event): ditto.
6281 * libspi/eventlistener.c
6282 (impl_accessible_event_notify_event): unref the source.
6284 * libspi/accessibleeventlistener.c
6285 (impl_accessible_event_notify_event): unref the source.
6287 * idl/Event.idl: remove 'hash_id' attribute - of no
6290 * libspi/application.c (notify_listeners): upd list
6292 (spi_application_object_event_listener),
6293 (spi_application_toolkit_event_listener): upd to do correct
6297 (_registry_notify_listeners): update.
6298 (parse_event_type): this method also leaks like a sieve.
6299 (impl_accessibility_registry_deregister_global_event_listener):
6300 fix ETYPE_WINDOW case.
6302 * libspi/application.c
6303 (impl_accessibility_application_register_object_event_listener):
6306 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6308 * libspi/hypertext.c (impl_getLink): ditto.
6310 * cspi/spi_main.c (cspi_object_add): remove
6311 bogus CORBA_Object_duplicate.
6313 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6316 * cspi/spi_accessible.c
6317 (Accessible_getRelationSet): fix leak / referencing issue.
6319 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6320 (cspi_object_add, cspi_object_unref): upd.
6321 (spi_object_release, get_live_refs): impl.
6322 (cspi_cleanup): simplify.
6324 * *.[ch]: s/boolean/SpiBoolean/
6326 * cspi/spi_accessible.c (role_names): actualy order so it
6327 corresponds with the enum !
6329 * test/test-simple.c (test_roles): check some role strings
6330 vs. enums to detect offset errors.
6332 2001-12-01 Michael Meeks <michael@ximian.com>
6334 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6336 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6338 (Accessible_getChildAtIndex): use cspi_add_check so we
6339 check the ev before using a (possibly) invalid value.
6341 * libspi/accessible.c
6342 (impl_accessibility_accessible_get_parent): don't segv
6345 * at-bridge/bridge.c (gtk_module_init): upd.
6346 (bridge_property_event_listener): don't leak strings
6348 (bridge_state_event_listener),
6349 (bridge_property_event_listener): don't use a static
6350 buffer in case of recursive event emission &
6351 re-enterancy - split out the swathe of cut and paste
6353 (emit_eventv): and fix 2 ref leaks here & comply to the
6355 (bridge_register_app): rename to
6356 (bridge_idle_init): this and kill arg parsing, split
6357 various inits & bonobo-activation registration to module
6358 init time, kill referencing error.
6359 (bridge_exit_func): fix the same leak.
6360 (bridge_focus_tracker): don't leak event structures
6362 (bridge_signal_listener): more leakage and cut & paste
6364 (bridge_key_listener): return the result - FIXME is
6365 this polarity correct ?
6366 (accessibility_keystroke_from_atk_key_event): rename
6367 (accessibility_init_keystroke_from_atk_key_event): and stop
6369 (gtk_module_init): return a value - not that it is checked by
6371 (bridge_key_listener): register my horror at casting between
6372 IDL defined structs.
6373 (bridge_get_registry): kill - not used.
6375 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6377 * test/test-simple.c (test_roles): impl.
6378 (test_desktop, validate_accessible, validate_tree): impl.
6380 * cspi/spi_accessible.c (role_names): fixup bogus
6381 MAX_ROLES setup, make constants const for efficient linkage
6382 (AccessibleRole_getName): conform to coding style, make
6385 2001-11-30 Michael Meeks <michael@ximian.com>
6387 * cspi/spi.h: add missing prototype.
6389 * libspi/registry.c (spi_listener_struct_new): fix sig.
6391 * test/Makefile.am: add test-simple
6393 * test/test-simple.c: add
6395 * test/test.sh: add.
6397 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6399 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6400 do it straight - since otherwise we often get an activation race.
6402 [ work before Bill duplicated a chunk of it ... ]
6403 2001-11-30 Michael Meeks <michael@ximian.com>
6405 * libspi/keystrokelistener.c
6406 (spi_keystroke_listener_class_init): fixup arg
6409 * libspi/eventlistener.c
6410 (spi_event_listener_class_init): ditto.
6412 * tests/test.sh: add.
6414 * cspi/spi-listener-impl.h: update macros.
6416 * cspi/spi-listener-impl.c
6417 (cspi_event_listener_remove_callback): add
6418 correct pre-conditions.
6420 * cspi/spi_main.c (SPI_exit): guard vs. double
6421 exits, exit the mainloop nicely.
6422 (SPI_event_main): make more sense.
6423 (SPI_init): move the atexit evilness here so we
6424 always do it (yuck).
6425 (SPI_event_main): upd.
6427 * test/simple-at.c: update for listener changes.
6429 * registryd/registryd.c (main): prune kruft.
6431 * libspi/libspi.h: upd.
6433 * libspi/eventlistener.[ch]: rename broken macros.
6435 * libspi/accessibleeventlistener.[ch]: remove.
6437 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6439 * test/test-simple.c: Add - automated tests.
6441 * cspi/spi-listener-impl.c (cspi_event),
6442 (cspi_key_event): add user_data to invoke.
6443 (cspi_keystroke_listener_finalize): impl.
6444 (cspi_keystroke_listener_class_init): upd.
6447 (createAccessibleEventListener),
6448 (AccessibleEventListener_addCallback),
6449 (createAccessibleKeystrokeListener),
6450 (AccessibleKeystrokeListener_addCallback): upd.
6452 * libspi/deviceeventcontroller.c
6453 (spi_device_event_controller_check_key_event): add public proto.
6456 (impl_accessibility_registry_deregister_global_event_listener):
6457 always init listeners.
6458 (_registry_notify_listeners): yes it is.
6460 * cspi/spi-listener-impl.c (cspi_key_event):
6462 (cspi_event_listener_finalize): impl.
6463 (cspi_event_listener_class_init): hook up.
6464 (event_handler_new, event_handler_free),
6465 (event_list_remove_by_callback): impl.
6466 (cspi_event_listener_remove_callback),
6467 (cspi_keystroke_listener_remove_callback),
6468 (cspi_keystroke_listener_add_callback),
6469 (cspi_event_listener_add_callback): upd.
6471 * libspi/keystrokelistener.c
6472 (keystroke_listener_object_finalize): kill
6473 (spi_keystroke_listener_class_init): upd.
6474 (spi_keystroke_listener_add_callback),
6475 (spi_keystroke_listener_remove_callback): kill,
6477 (impl_key_event): prune drasticaly.
6479 * libspi/eventlistener.c
6480 (spi_event_listener_add_callback),
6481 (spi_event_listener_remove_callback): kill, use
6483 (impl_accessible_event_notify_event): upd.
6484 (spi_event_listener_object_finalize): remove.
6486 * libspi/Makefile.am: use eventlistener.[ch]
6488 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6490 * libspi/registry.c (_registry_notify_listeners):
6491 Changed listener loop iteration to use preferred convention.
6492 Got rid of string memory leaks caused be calling g_strconcat
6493 inside function calls.
6495 * libspi/registry.c (parse_event_type):
6496 Stopped g_strconcat memory leaks, free the g_strsplit return,
6497 g_strdup the split pieces when used, etc.
6499 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6502 Change method 'compare' to return a 'difference set' rather than
6503 taking a StateSet as an out parameter (more Java-friendly).
6505 * idl/Accessible.idl:
6506 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6508 * idl/Component.idl:
6510 Changed methods 'getExtents' and 'getImageExtents' in these
6511 interfaces to return a BoundingBox structure.
6512 (getPosition and getSize are redundant and possibly should be
6513 removed, rather than creating a corresponding Point struct.)
6515 * cspi/spi_component.c:
6516 Modify implementation of getExtents to reflect the above IDL
6521 Add (missing) AccessibleImage_getExtents () API.
6523 * docs/reference/cspi/at-spi-cspi-sections.txt:
6524 Added AccessibleImage_getImageExtents () to docs.
6526 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6528 * idl/Component.idl:
6529 Added two methods, getLayer () and getMDIZOrder (), to reflect
6530 the new ATK methods atk_object_get_layer and
6531 atk_object_get_mdi_z_order. (Which arguably should be part of the
6532 AtkComponent API and AtkObject). Also added an enum,
6533 ComponentLayer, for the first method's return value.
6535 * libspi/component.c:
6536 Added implementations for these methods.
6538 * cspi/spi_component.c:
6540 Added cspi binding methods for above,
6541 AccessibleComponent_getLayer() and
6542 AccessibleComponent_getMDIZOrder().
6543 Added cspi enum 'AccessibleComponentLayer'.
6545 * docs/reference/cspi/at-spi-cspi-sections.txt:
6546 Added above methods to docs.
6550 Changed typedef for 'boolean' type (and all references to it) to
6551 SPIBoolean, to avoid keyword clashes with C++.
6554 Changed usages of 'boolean' to SPIBoolean.
6556 * test/keysynth-demo.c:
6557 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6558 app), except where SPIBoolean is required by the callbacks API.
6560 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6562 * cspi/spi_registry.c:
6563 Removed obsolete X event loop for passive keygrabs (which now
6566 * registryd/registryd.c:
6567 Removed unnecessary call to gdk_init() [cruft]. This also allows
6568 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6571 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6573 * docs/reference/cspi:
6574 Included docs for SPI_freeString in generated documentation.
6577 Renamed spi_freeString to SPI_freeString, for consistency. Added
6578 documentation for this function.
6581 Renamed spi_freeString to SPI_freeString, for consistency.
6582 Removed obsolete method declaration string_from_corba_string.
6584 * test/keysynth-demo.c:
6585 Small tweak to comments.
6588 Stopped leaking the strings returned from CSPI.
6590 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6592 Merged Michael's branch (see his ChangeLog entries below).
6594 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6595 bridge is alive, release on exit.
6597 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6598 Fix type check macro.
6601 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6604 Added is_gnome_app static, and method cspi_is_gnome_app(),
6605 so we can call the appropriate shutdown routine at exit in SPI_exit.
6607 * cspi/spi_main.c (cspi_object_ref):
6608 Duplicate the corba object passed in, since we're keeping it around.
6610 * cspi/SPI_exit.c, cspi_cleanup:
6611 Moved the releasing of the live refs to its own function, so we
6612 can put it in g_atexit (). Call the appropriate shutdown API
6613 depending on whethe calling client is a gnome app or not
6614 (bonobo_main_quit or CORBA_ORB_shutdown).
6616 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6617 Unref the listener when this method is called, after
6618 deregistration. Updated the API docs to note this behavior.
6620 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6621 Bugfixes: Ref the bonobo object when returning a parent or child
6622 reference, or an AccessibleRelation. Generally made sure
6623 BonoboObject refcount is incremented whenever we return an
6626 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6627 Fixed typo/bug in signal declaration.
6629 * libspi/accessibleeventlistener.h:
6632 * libspi/application.c (spi_application_new):
6633 Fixed leak in initialization.
6636 Remembered to increment bonobo-object refcount when returning
6637 children (applications) from desktop object.
6638 Added (empty) finalize method.
6640 * libspi/deviceeventcontroller.c:
6641 Hold a ref to listeners inside DEControllerKeyListeners.
6642 Added dec_key_listener_free() method. Use prepend instead of
6643 append in key_listener list. Fixed some refcount madness and
6644 leaks in the listener registration/deregistration - deregistration
6645 now calls dec_key_listener_free() on listeners, and on the
6646 temporarily constructed dec_key_listener() used to perform the search/match.
6648 * libspi/hypertext.c (spi_hypertest_finalize):
6649 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6650 class. Also fixed spi_hypertext_interface_new() and
6651 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6653 * libspi/hypertext.h:
6654 Removed pointless and duplicate AtkObject pointer from
6657 * libspi/keystrokelistener.c:
6658 Fixed incorrect type of keystroke_listener_parent_class,
6659 renamed keystroke_listener_object_finalize to
6660 spi_keystroke_listener_object_finalize.
6661 Fixed typo in signal declaration
6662 (spi_keystroke_listener_class_init).
6664 * libspi/registry.c:
6665 Added funcsions spi_listener_struct_new() and
6666 spi_listener_struct_free() to help with memory management issues.
6667 We also now use these methods instead of gnew + poking stuff into
6668 the struct, and to decrement listener counts/free the listeners
6669 when deregistering them.
6670 Fix more refcount bugs in getDesktop() and
6671 getDeviceEventController().
6674 De-ref the desktop after enumerating the applications. Explicitly
6675 decrement the refcounts on the created listeners on exit (using
6676 _unref for keystroke listeners, and via the
6677 deregisterGlobalEventListenerAll command for other event
6680 2001-11-27 Michael Meeks <michael@ximian.com>
6682 * cspi/spi-listener.h: fixup enum.
6684 2001-11-27 Michael Meeks <michael@ximian.com>
6686 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6687 (cspi_keystroke_listener_new): Use the cspi variants.
6689 2001-11-26 Michael Meeks <michael@ximian.com>
6691 * test/keysynth-demo.c: fix 2 compile warnings, missing
6694 * test/simple-at.c (report_focussed_accessible),
6695 (report_focus_event, report_button_press),
6696 (check_property_change, is_command_key),
6697 (report_ordinary_key_event, report_command_key_event): upd.
6699 * util/mag_client.h: include pre-requisites.
6701 * libspi/accessibleeventlistener.c
6702 (spi_event_listener_object_finalize): free any lingering
6705 * libspi/keystrokelistener.c
6706 (keystroke_listener_object_finalize): ditto.
6708 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6709 callbacks, with cspi types.
6711 * cspi/spi_event.c (createAccessibleEventListener): chain to
6712 (AccessibleEventListener_addCallback): here.
6713 (createAccessibleKeystrokeListener): chain to
6714 (AccessibleKeystrokeListener_addCallback): here.
6716 * libspi/keystrokelistener.c
6717 (spi_keystroke_listener_class_init): add signal.
6718 (impl_key_event): emit the event.
6719 (boolean_handled_accumulator): impl.
6720 (marshal_BOOLEAN__POINTER): add, gack.
6722 * libspi/accessibleeventlistener.c
6723 (spi_event_listener_class_init): add signal.
6724 (impl_accessible_event_notify_event): emit the signal &
6725 make the loop efficient.
6726 (spi_event_listener_add_callback): prepend the callback.
6728 * libspi/accessibleeventlistener.h: add an 'event' signal,
6729 decl type on callback.
6731 * libspi/keystrokelistener.h: ditto.
6733 * cspi/spi-listener.h: make methods typesafe and
6734 make them use the new event typedefs.
6736 * test/simple-at.c (report_focussed_accessible):
6737 include mag_client.h
6738 Use *(void *)text_interface not the other thing.
6740 * configure.in: add gtk to registryd bits - since we use
6743 * util/magnifier.c: include libbonobo.h
6745 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6747 * test/keysynth-demo.c:
6748 Turned this into a simple scanning keyboard, to demonstrate the
6749 use of g_timeout_add () as a means of creating timers for
6750 scanning, and the use of GtkStyle for visually indicating when
6751 virtual keyboard elements are selected.
6753 keysynth-demo now listens to any keyboard keys with zero-valued
6754 keycodes (i.e. 'unused' keys) and interprets them as
6757 Reworked the shiftlatch code so that shift-down state isn't held
6758 for long periods (it's only synthesized immediately prior to
6759 the keysynth event it's modifying). Note that shiftlatch in this
6760 demo is a convenience, not intended to take the place of AccessX
6761 which is the better choice for getting 'sticky' modifier keys.
6763 * libspi/deviceeventcontroller.c:
6764 * at-bridge/bridge.c:
6765 * cspi/spi_registry.c:
6766 Removed some debug print stuff, and put other verbosity in #ifdef
6771 Implemented some more of the magnifier IDL for the simple
6772 magnifier: namely, getZoomRegionParams.
6773 Added mag_x and mag_y members to MagnifierData struct, aid of this
6775 Added GtkWindow::realize signal handler to magnifier, to keep it
6776 from receiving keyboard focus from the WM.
6778 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6780 * cspi/spi-private.h: my guess at what michael forgot
6781 before he ran off to NZ :-)
6783 2001-11-23 Michael Meeks <michael@ximian.com>
6785 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6786 comment out non existant method invoke so we link.
6788 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6789 use bonobo_exception_get_text for more friendly warnings.
6791 * cspi/spi.c (Obj_Add): move into spi_main & rename
6792 spi_object_add; kill spi.c
6794 * cspi/spi_registry.c
6795 (deregisterGlobalEventListener),
6796 (deregisterGlobalEventListenerAll),
6797 (registerGlobalEventListener): fix exception leaks.
6799 * cspi/spi_main.c (spi_exception): impl. helper, so we
6800 don't leak exceptions.
6802 * cspi/spi_selection.c
6803 (AccessibleSelection_deselectSelectedChild): return the
6806 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6807 (spi_registry): ditto.
6808 (SPI_init): guard against double inits.
6810 * cspi/*.c: use spi_ev (), and spi_registry () where
6811 appropriate - a temporary hack until we have something
6812 better. Use spi_object_add
6814 2001-11-22 Michael Meeks <michael@ximian.com>
6816 * cspi/Makefile.am: re organise, install the headers.
6818 * cspi/*.h: add G_BEGIN/END_DECLS
6820 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6823 Added non-preemptive keylistener for key events with no modifiers
6824 and shift-only modifier.
6826 * libspi/keystrokelistener.c:
6827 Removed some verbose diagnostics printout.
6829 * cspi/spi_registry.c:
6830 Fixed a bug that caused all key listeners to be registered as
6833 * libspi/deviceeventcontroller.c:
6834 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6835 for non-preemptive key masks.
6838 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6840 * docs/reference/idl/at-spi-idl-docs.sgml:
6841 * docs/reference/idl/at-spi-idl-sections.txt:
6842 * docs/reference/idl/at-spi-idl-overrides.txt:
6843 Added missing files.
6845 * docs/reference/Makefile.am:
6846 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6847 to scan the IDL files :-(
6852 Added .cvsignore files.
6854 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6856 * libspi/deviceeventcontroller.c:
6857 * libspi/keystrokelistener.c:
6859 * cspi/spi_registry.c:
6860 Added filters for KeySets, KeyEventSeq, and event types to key
6861 event dispatching, so listeners should only receive those events
6862 that they requested :-)
6864 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6869 * docs/reference:Makefile.am:
6870 * docs/reference/cspi:
6871 * docs/reference/cspi:Makefile.am:
6872 * docs/reference/cspi:tmpl:
6873 * docs/reference/cspi:tmpl:*.sgml:
6874 * docs/reference/idl:
6875 * docs/reference/idl:Makefile.am:
6876 * docs/reference/idl:at-spi-idl-sections.txt:
6877 * docs/reference/idl:at-spi-idl-docs.sgml:
6878 * docs/reference/idl:tmpl:
6879 * docs/reference/idl:tmpl:*.sgml:
6881 Restructured docs directory to allow separate 'reference' docs
6882 section, and forked idl and cspi docs. Added the sgml template
6883 files to CVS. Added the first sections/structural sgml for the
6886 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6888 * configure.in, libspi/Makefile.am: find libXtst.
6890 2001-11-21 Michael Meeks <michael@ximian.com>
6892 * test/accessx-gui.c: s/spi_value/value/ - doh.
6894 * libspi/base.[ch]: add.
6896 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6898 * idl/Accessible.idl:
6899 * idl/Application.idl:
6902 Started gtk-doc cleanup on IDL.
6904 * libspi/deviceeventcontroller.c:
6905 Added and connected non-preemptive key notification from the
6906 toolkits (in addition to the pre-emptive support from XServer
6907 which we had before, but which causes 'focus flashing'). Filters
6908 are presently limited to key modifiers and global/non-global,
6909 KeySets are presently ignored, as are KeyEvent masks.
6911 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6912 structs into the persistant structure rather than just storing
6913 pointers to things that might not persist across servant
6916 The XGrabKey call now does async keygrabs, because synchronous
6917 ones were deadlocking with GDK_event code in a very nasty way.
6919 Added boolean to internal method notify_keylisteners, to indicate
6920 whether the event came from the 'toolkit source' or the 'global
6921 (XServer) source' - this is used in the notification process to
6922 determine which listeners to send the event to.
6924 deviceeventcontroller.c is now warning-free.
6926 * libspi/registry.c:
6927 Fixed regression in application de-registration.
6928 Also fixed some really brain-dead weirdness having to do with
6929 event dispatching - event structs are now duplicated before being
6930 re-marshalled in the dispatch to listeners. This also fixes a
6931 Solaris build problem.
6934 2001-11-20 Michael Meeks <michael@ximian.com>
6937 (impl_accessibility_registry_deregister_global_event_listener):
6940 * libspi/deviceeventcontroller.c
6941 (spi_device_event_controller_check_key_event): return
6942 FALSE on no virtual method.
6944 * libspi/*..h: make includes work on a correctly pathed install.
6946 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6948 * libspi/application.h: kill unused ( and whacked out )
6949 gboolean *spi_application_set_id (AtkObject *app, long id);
6951 2001-11-20 Michael Meeks <michael@ximian.com>
6953 * libspi/*.[ch]: further convert to bonobo's type func
6954 macros, remove redundnant casts etc.
6956 * libspi/text.c s/accessibility_text/spi_text/g,
6957 re-order to de-cruft.
6959 * libspi/hypertext.c: re-order to kill a huge slew
6960 of redundant forward decls.
6962 * libspi/relation.c: ditto.
6964 * libspi/image.c: ditto.
6966 * */.cvsignore: update
6968 2001-11-20 Michael Meeks <michael@ximian.com>
6970 * libspi/deviceeventcontroller.c
6971 (_controller_register_with_devices): use g_getenv,
6972 kill stdlib.h include.
6974 * libspi/keystrokelistener.c
6975 (spi_keystroke_listener_get_type): kill
6976 (spi_keystroke_listener_class_init),
6977 (spi_keystroke_listener_init): rename to this.
6979 * libspi/text.c (impl_getAttributes): fix warning / bug.
6981 * libspi/*.[ch]: more headers, includes and over commenting.
6983 2001-11-20 Michael Meeks <michael@ximian.com>
6985 * libspi/*.[ch]: fixup headers, includes and over commenting.
6987 * libspi/image.c (impl__get_imageDescription): const
6988 correctness warning fix. remove redundant casting.
6990 * libspi/table.c (impl_getRowDescription): ditto.
6991 (impl_getColumnDescription): ditto.
6993 * libspi/libspi.h: add.
6995 2001-11-19 Michael Meeks <michael@ximian.com>
6997 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6999 * libspi/component.c (accessibility_component_get_type):
7000 rename to (spi_component_get_type): and macroify.
7001 (accessibility_component_init): rename to
7002 (spi_component_init): this
7003 (accessibility_component_class_init): rename to
7004 (spi_component_class_init): this
7006 * libspi/action.c (spi_action_get_type): kill, use the macro.
7008 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7011 * libspi/application.c (spi_application_object_event_listener),
7012 (impl_accessibility_application_register_object_event_listener):
7013 warning fixes / const understanding updates.
7015 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7018 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7020 * libspi/spi_accessible.c: Added docs and C bindings for
7021 AccessibleStateSet. (No implementations yet). Documentation
7022 coverage for C bindings now 100%. Made docs for event listeners
7027 boolean notifyListenersSync (in DeviceEventListener listener,
7028 in DeviceEvent event);
7030 oneway void notifyListenersAsync (in DeviceEventListener listener,
7031 in DeviceEvent event);
7033 Added DeviceEventListener and DeviceEvent structs (may deprecate
7034 KeyStroke and KeystrokeListener in favor of this generic
7035 event/listener framework for devices).
7037 * libspi/deviceeventcontroller.c:
7039 Changed some key listener code to take masks, etc., and paved the
7040 way for integration of toolkit/non-preemptive key events. Changed
7041 signatures of some internal methods.
7043 * at-bridge/bridge.c:
7044 Fixed regression connecting to interface signals, apparently
7045 caused by GTK+ changes.
7047 Added an internal bridge_state_listener to deal with
7048 property-change:accessible-state signals.
7050 Changed the key_listeners GList to store structs (including masks,
7051 etc.) instead of just CORBA_Objects (required for full
7052 implementation of key listener API).
7054 Connected the bridge to all currently supported Atk signals.
7055 Events now supported:
7056 object:property-change
7057 object:property-change:accessible-name
7058 object:property-change:accessible-state
7059 object:property-change:accessible-description
7060 object:property-change:accessible-parent
7061 object:property-change:accessible-value
7062 object:property-change:accessible-role
7063 object:property-change:accessible-table-caption
7064 object:property-change:accessible-table-column-description
7065 object:property-change:accessible-table-column-header
7066 object:property-change:accessible-table-row-description
7067 object:property-change:accessible-table-row-header
7068 object:property-change:accessible-table-summary
7069 object:children-changed
7070 object:visible-data-changed
7071 object:selection-changed
7072 object:text-selection-changed
7074 object:text-caret-moved
7076 object:row-reordered
7078 object:column-inserted
7079 object:column-reordered
7080 object:column-deleted
7081 object:model-changed
7083 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7085 * libspi/hyperlink.c,h:
7086 Fixed some broken stuff in hyperlink.
7088 * libspi/relation.h:
7089 * libspi/relation.c:
7090 * cspi/spi_accessible.c:
7091 Initial implementations of AccessibleRelation methods, and docs.
7093 * libspi/accessible.c:
7094 Fixed a bug that caused SEGV if an accessible
7095 object's description is NULL, and a client
7096 requests it. An empty string is now returned.
7098 * cspi/spi_editabletext.c:
7099 * cspi/spi_hypertext.c:
7101 * cspi/spi_hyperlink.c:
7105 Doc coverage now 95%.
7107 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7109 One last namespacing revision:
7110 * libspi/accessibleeventlistener.[ch]:
7111 Renamed SpiAccessibleEventListener to SpiEventListener,
7112 (no need for two namespaces ;-)
7114 And lots of documentation fixes:
7116 * docs/at-spi-docs.sgml:
7117 Fixed 'underscore vs. hyphen' bug that was preventing
7118 the gtk-doc API docs from being automatically generated.
7121 * cspi/spi-listener.h
7123 * cspi/spi_accessible.c
7125 * cspi/spi_application.c
7126 * cspi/spi_component.c
7127 * cspi/spi_editabletext.c
7129 * cspi/spi_hypertext.c
7131 * cspi/spi_registry.c
7132 * cspi/spi_selection.c
7136 * docs/at-spi-docs.sgml
7137 * docs/at-spi-sections.txt
7139 Added and fixed up gtk-doc documentation in cspi.
7141 Interfaces now (fully) documented (subject to revision and enhancement):
7143 Event Listener Support
7145 AccessibleApplication
7149 AccessibleEditableText
7156 AccessibleRelationSet
7161 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7163 * at-bridge/bridge.c:
7164 Initial work for toolkit-level key snooper connection by bridge.
7169 New typedefs and fixes to support new namespacing, and cleaner
7170 separation of cspi bindings from libspi bonobo implementation.
7171 Removed inconsistent and extraneous Spi* namespace prefix that
7172 had crept into cspi headers.
7173 Lots of comment fixes that sed had missed.
7175 * cspi/spi-roletypes.h:
7176 * cspi/spi-statetypes.h:
7177 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7178 to AccessibleRoleType.
7180 * libspi/accessibleeventlistener.h:
7181 Fixed minor namespacing weirdness.
7183 * libspi/deviceeventcontroller.c:
7184 Reordered some internal API for device listeners.
7185 Changed the key registry final boolean to 'is_system_global'
7186 rather than 'is_synchronous', which is more descriptive of its
7188 Added spi_device_event_controller_new().
7189 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7191 * libspi/keystrokelistener.[ch]:
7192 Namespaced KeystrokeListener to SpiKeystrokeListener.
7193 Changed uses of keymasks to use SPI_ prefix, and did other
7196 * libspi/keymasks.h:
7197 Namespaced keymask constants with SPI_ prefix.
7199 * libspi/registry.c:
7200 Some warning fixes, and knock-on fixes from namespace changes.
7203 Added rules for accessx-gui test program.
7205 * test/accessx-gui.c:
7206 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7207 utility. It doesn't actually use at-spi, but it's still cool and
7210 * test/keysynth-demo.c:
7214 Fixes so that these test clients work properly with the namespaced
7215 libraries. (Incompletely tested for technical reasons, fixes may follow)
7218 2001-11-13 Michael Meeks <michael@ximian.com>
7220 * libspi/application.c
7221 (impl_accessibility_application_get_version),
7222 (impl_accessibility_application_get_toolkit_name):
7224 (impl_accessibility_application_set_id),
7225 (impl_accessibility_application_get_id): remove
7226 redundant casting code.
7228 * libspi/action.c (impl_getDescription): fix warnings.
7230 * libspi/accessible.c
7231 (impl_accessibility_accessible_get_parent),
7232 (impl_accessibility_accessible_get_child_at_index),
7233 (impl_accessibility_accessible_get_state),
7234 (impl_accessibility_accessible_get_relation_set):
7235 warning fixes & include action.h
7237 2001-11-13 Michael Meeks <michael@ximian.com>
7239 * *.[ch] fix bits I screwed up:
7241 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7242 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7244 2001-11-13 Michael Meeks <michael@ximian.com>
7246 * *.[ch] Namespace libspi into spi_ and Spi.
7248 2001-13-11 Michael Meeks <michael@ximian.com>
7250 * Makefile.am: dist & install at-spi-1.0.pc
7252 * libspi/Makefile.am: install into at-spi-1.0
7254 * idl/Makefile.am (idldir): install into at-spi-1.0
7256 * at-spi-1.0.pc.in: add.
7258 * configure.in: build it.
7260 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7262 * test/keysynth-demo.c:
7263 Use a 'realize' signal-handler to set the WM properties for
7264 the virtual keyboard, rather than making it a "POPUP" type
7265 override-redirect window (thanks to anders carlsson for that
7268 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7271 * test/keysynth-demo.c:
7272 Added new test of key synthesis, which creates a simple
7273 (mouse-operated) onscreen keyboard. It inserts key events into
7274 the currently-focused window, thus it does not grab keyboard focus
7277 * cspi/spi_registry.c:
7278 Added C binding for AT-SPI generateKeyEvent.
7280 * libspi/deviceeventcontroller.c:
7281 Added call to XFilterEvent so that key listener works with XIM (we
7282 hope). Added event_synth_type to generateKeyEvent, so that we can
7283 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7284 synthesize a press/release pair for KeySyms.
7286 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7288 * libspi/Makefile.am:
7289 * registryd/Makefile.am:
7290 (temporary) hack to include libXtst in libspi and registryd.
7291 (Needed for keystroke synthesis, see below).
7294 Improved API for registerKeystrokeListener, in accordance with
7295 discussions with Gnopernicus team and X server research.
7297 * libspi/registry.c:
7298 * libspi/deviceeventcontroller.c:
7299 * libspi/accessible.c:
7300 * libspi/keystrokelistener.c:
7301 Changes and fixes to support keylisteners for potentially
7302 consumed key events (that is, 'passive grabs').
7303 Added implementation for generateKeyEvent() [untested].
7306 Changes to registerKeystrokeListener() API, as above.
7307 Added deregisterGlobalEventListenerAll(), and
7308 deregisterKeystrokeListener(), which are needed for clean exit of
7310 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7311 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7313 * cspi/spi_registry.c:
7314 Added implementations of function prototypes mentioned above.
7316 * registryd/registryd.c:
7317 Added the key listener event source as a g_timeout(), to allow
7318 receipt of key events that are not caught by GDK (since GDK
7319 doesn't support passive keygrabs, this was necessary).
7322 Changed to attach a keylistener to 'Alt' keys, and
7323 respond to the following keycommands: Alt-M (toggle magnifier);
7324 Alt-F (toggle speech); Alt-Q (quit).
7325 Added an exit routine to deregister the listeners, and a key
7326 listener that prints some key info to the console when a key
7327 matches the listener mask (and is thus received by the listener).
7329 * util/idl/Magnifier.idl:
7330 Changes to magnifier API to support multiple zoom regions,
7331 non-uniform scaling in x and y, markDirty, and a host of other
7332 features that would be useful to magnification.
7335 * util/mag_client.c:
7336 * util/mag_client.h:
7337 * util/mag_control.c:
7339 Source code changes to support the above IDL changes.
7342 As above, and also changes to use a (slower) generic conversion
7343 path for colormap conversions, since the fast RGB conversions have been
7344 reported to fail for 16-bit displays.
7346 2001-10-26 Michael Meeks <michael@ximian.com>
7348 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7350 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7352 * at-bridge/Makefile.am: fix LDFLAGS.
7354 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7356 * at-bridge/bridge.c:
7357 Re-worked listeners for toolkit events, now we have signal
7358 and property listeners. Added a private method
7359 register_atk_event_listeners(), which registers with the
7360 various atk and gtk signals we need to monitor in order to emit
7362 Added emission hook for AtkObject:property-change events, to
7363 support the 'property listeners'.
7364 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7367 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7368 which emit warnings and exit, respectively, if CORBA errors occur
7369 during remote calls, and we now use these methods to check most of
7370 our CORBA calls in the C bindings.
7372 * cspi/spi_accessible.c:
7373 Changed AccessibleSelection_refSelectedChild() to
7374 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7375 now increment refcounts.
7377 * cspi/spi_component.c:
7378 Fixed some long pointer casts (dangerous!) to pass pointers to
7379 CORBA_longs of the proper type to the CORBA stubs, and copy the
7380 data into the longs that were passed into the C bindings code.
7382 * at-bridge/bridge.c:
7384 * libspi/accessible.c:
7385 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7386 hyperlinks, AtkHyperlink is an object type.
7388 * libspi/application.c:
7389 Added various conversions to and from "generic" event types and
7390 atk-specific types; this is really part of the 'bridge'
7391 implementation but is valid for all AtkObject-based accessibility
7394 * libspi/editabletext.c:
7395 Fixed nasty bug wherein editable text's finalize method was
7396 unref'ing tha AtkObject reference that the text parent class was
7397 about to unref _again_. There was also a nasty inheritance bug
7398 that meant that the AccessibleEditableText class was corrupt.
7400 * libspi/selection.c:
7401 Provided implementations for some selection API that was broken.
7403 * idl/Application.idl:
7404 Added registerObjectEventListener () method.
7407 Fixed a number of return values that were Bonobo_Unknowns from
7408 bonobo_object_corba_objref(), which I
7409 forgot to dup before returning. Changed instances of
7410 bonobo_object_corba_objref (bonobo_object(o)) to
7411 BONOBO_OBJREF(o), for concision and clarity.
7413 2001-10-13 Louise Miller <louise.miller@sun.com>
7415 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7416 idl/Event.idl, idl/Registry.idl
7417 Changed these files to include Bonobo_Unknown.idl instead
7420 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7422 * libspi/component.c libspi/component.h:
7423 Fixed typo. Added assertions for object checks in
7424 AccessibleComponent code.
7426 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7428 * idl/Accessible.idl:
7429 Added 'isEqual (Accessible *object)'
7430 method for Accessible. (Not Yet Implemented).
7433 Changed signature of registerKeystrokeListener() to
7434 take a KeySet and KeyEventSeq so that specific keys and event
7435 types could be requested for monitoring, and added a flag
7436 is_synchronous so that either synchronous or asynchronous
7437 notification could be requested. (However this is not all
7438 implemented yet). This also meant adding two new typedefs,
7439 KeyEventSeq and KeySet.
7442 Added two new relations, RELATION_TOOLTIP_FOR and
7443 RELATION_LEAFNODE_OF.
7446 Added new state, STATE_HAS_TOOLTIP.
7448 * libspi/text.c, editabletext.c:
7449 Added new assertions to all casts of bonobo-objects from
7450 CORBA servants, to prevent Text API calls on non-text objects.
7451 Changed suspect casts of int-pointer types, so that we
7452 always send a valid CORBA_long pointer to the CORBA APIs that use
7453 in/out long parameters. We then have to copy from the CORBA_long
7454 into the regular long or int for return to the C bindings, or
7455 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7458 * libspi/deviceeventcontroller.c:
7459 Cleaned these sources up.
7461 Changed return type for getCharacterAtOffset to
7462 CORBA_unsigned_long, to allow for 32-bit characters.
7465 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7469 Fixed 'make dist' so that distro compiles...
7470 * libspi/keymasks.h:
7472 * cspi/spi-listener.c:
7473 KeystrokeListenerCB now returns a boolean.
7475 Added KeyEventType struct, and KeyStroke.
7476 Also added createKeystrokeListener(),
7477 KeystrokeListener_addCallback(),
7478 KeystrokeListener_removeCallback(), and added a keymask to
7479 registerKeystrokeListener().
7480 * cspi/spi_accessible.c:
7481 Changed numerous return types for interfaces from
7482 AccessibleComponent to Accessible<InterfaceName>; this was
7483 probably a cut-and-paste error.
7485 Implementations of new KeystrokeListener api (from spi.h,
7488 Changes to key modifier mapping.
7489 Created ControllerEventMask struct.
7490 Made DeviceEventController derive from Bonobo::Unknown.
7492 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7493 * libspi/deviceeventcontroller.c:
7494 Added a number of new internal (private) methods.
7495 * libspi/editabletext.c:
7496 * libspi/editabletext.h:
7497 Fixed a number of bugs related to the fact that
7498 editabletext inherits from text. Fixed the EditableText struct,
7499 the init() call, and use correct casts when calling Text methods
7500 from an EditableText object. Removed (duplicate) atko from the
7501 EditableText structure, we use the one in the parent Text
7502 structure via the casts mentioned above.
7503 * libspi/keystrokelistener.[ch]:
7504 * libspi/registry.c:
7505 Changes in support of keyboard handling (above).
7507 Keyboard handling, though partly functional, is still not
7508 recommended for at-spi client use as there is considerable
7509 work yet to be done.
7512 Changed some places where pointers to various int types
7513 are cast to be pointers to CORBA_long types and vice-versa:
7514 pointer casting is not safe so we pass pointers of the correct
7515 types and then cast the result before putting it into the target
7518 * libspi/text.h: minor typos corrected.
7520 We now speak not only the name of a Text element, but the
7521 first sentence of its content, when it receives focus.
7522 I also changed the text compression to 75% from 50%.
7523 * util/Accessibility_Util.server.in:
7524 Changed the default magnifier type to be a 3x vertical
7525 splitscreen magnifier (was previously a 2x horizontal one).
7527 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7529 * libspi/keystrokelistener.h:
7530 * libspi/keystrokelistener.c:
7531 Initial functional implementations of KeystrokeListener.
7534 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7536 Fixed string handling for NULL strings in libspi.
7537 Added spi_freeString to free strings returned by C bindings.
7539 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7541 * libspi/keystrokelistener.h:
7542 * libspi/keystrokelistener.c:
7543 Began (no-op) implementations of KeystrokeListener
7545 * libspi/deviceeventcontroller.c:
7546 * libspi/deviceeventcontroller.h:
7547 Began creating implementations of DeviceEventController,
7548 to handle keystroke and mouse event listening and
7550 * libspi/accessible.c:
7551 Stubbed-in the implementations for
7552 Accessibility_Accessible_getState and
7553 Accessibility_Accessible_getRelationSet.
7554 * libspi/registry.c:
7555 Improved de-registration process and fixed some bugs,
7556 deregistration now works correctly.
7558 Added initialization of applications list (to NULL).
7560 Reduced speech compression from 0.5 to 0.7, for demo.
7561 Changed call to gdk_window_set_decorations()
7562 to gtk_window_set_decorated().
7563 * at-bridge/bridge.c:
7564 Bridge now deregisters when app exits, via
7565 registration of a cleanup function
7566 with the g_atexit() call.
7567 Required making 'app' static, renamed 'this_app'.
7568 Fixed broken use of bonobo_init, passing argv wrongly.
7570 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7574 Created a new directory for
7575 accessibility-related utilities, primarily for
7576 testing and demo purposes, but with possible
7583 Onscreen magnifier utility that
7584 is implemented as a bonobo service.
7586 * util/mag_client.c:
7587 * util/mag_client.h:
7588 Client-side support (simple C bindings)
7589 for Magnification service
7591 * util/mag_control.c:
7592 Client program example for
7593 Magnification service
7595 * util/Accessibility_Magnifier.server.in:
7596 Bonobo-activation file for the
7597 Magnification service.
7600 * util/idl/Magnifier.idl:
7601 IDL defining the bonobo Magnification
7605 Modifications to use the bonobo-activated magnifier
7606 above, in place of trying to connect to an existing
7607 magnifier that uses socket-listening IPC.
7609 If env variable MAGNIFIER is set, a magnifier service
7610 will be started if one does not exist.
7612 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7614 * at-bridge/bridge.c:
7615 applied patch from Marc to build and run
7616 against new glib and gtk+ (seemed like a change
7617 to bonobo_init signature was made ?)
7619 made festival-server support turned off by default.
7620 Added support for a simple magnifier (off by default)
7621 which will be added to a 'util' directory later.
7622 * at-bridge/Makefile.am:
7623 Changed "application.h" header from a 'source'
7624 to a 'dependency' of libat-bridge.
7626 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7635 Added interface implementation c files to list of
7636 includes so they are included in libcspi.
7639 Changed prototype of AccessibleAction_doAction to return a
7641 Changed prototype of AccessibleTable_getCaption to
7642 return an Accessible.
7643 Changed prototype of AccessibleTable_getSelectedRows
7644 and AccessibleTable_getSelectedColumns to
7645 return a long (returns the number of selected rows
7646 or columns respectively).
7647 Changed name of AccessibleText_refRunAttributes to
7648 AccessibleText_getAttributes.
7649 Changed prototype of AccessibleText_getCharacterExtents to
7650 return a void rather than a boolean.
7651 Added support for a AccessibleCoordType parameter
7652 specifying what type of coordinates are desired.
7653 Added an AccessibleCordType parameter to
7654 AccessibleText_getPointAtOffset.
7656 * cspi/spi_accessible.c:
7657 Added code to return the outstanding interfaces from
7658 Accessible_queryInterface.
7660 * cspi/spi_action.c:
7662 Corrected call to getNActions to call the c binding
7665 * cspi/spi_editabletext.c:
7667 Changed name from setRunAttributes to setAttributes.
7669 * cspi/spi_hyperlink.c:
7671 Changed call to getNAnchors to correctly call the c
7672 binding for an attribute.
7674 * cspi/spi_hypertext.c:
7676 Changed getImageDescription to correctly call the
7677 binding for an attribute.
7679 * cspi/spi_selection.c:
7680 Changed getNSelectedChildren to correctly call the c
7681 binding for the attribute.
7682 Changed refSelectedChild to getSelectedChild.
7686 Changed getCaption to return an Accessible.
7687 Fixed calls which retrieve attributes.
7688 Changed refAt to getAccessibleAt.
7689 Changed getNSelectedRows and getNSelectedColumns to
7693 Changed getCharacterExtents and getPointAtOffset to accept an
7694 AccessibleCoordType.
7696 Changed calls which retrieve attributes.
7697 Changed refRunAttributes to getAttributes.
7702 * idl/Hyperlink.idl:
7703 Changed n_anchors attribute to nAnchors to keep naming
7704 convention consistent.
7707 Made Table inherit from Bonobo::Unknown.
7708 Added nSelectedColumns and nSelectedRows attributes.
7711 Made Value inherit from Bonobo::Unknown.
7713 * libspi/hyperlink.c:
7714 Change for nAnchors attributte name change.
7716 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7724 Added interface implementation c files to list of
7725 includes so they are included in libcspi.
7728 Changed prototype of AccessibleAction_doAction to return a
7730 Changed prototype of AccessibleTable_getCaption to
7731 return an Accessible.
7732 Changed prototype of AccessibleTable_getSelectedRows
7733 and AccessibleTable_getSelectedColumns to
7734 return a long (returns the number of selected rows
7735 or columns respectively).
7736 Changed name of AccessibleText_refRunAttributes to
7737 AccessibleText_getAttributes.
7738 Changed prototype of AccessibleText_getCharacterExtents to
7739 return a void rather than a boolean.
7740 Added support for a AccessibleCoordType parameter
7741 specifying what type of coordinates are desired.
7742 Added an AccessibleCordType parameter to
7743 AccessibleText_getPointAtOffset.
7745 * cspi/spi_accessible.c:
7746 Added code to return the outstanding interfaces from
7747 Accessible_queryInterface.
7749 * cspi/spi_action.c:
7751 Corrected call to getNActions to call the c binding
7754 * cspi/spi_editabletext.c:
7756 Changed name from setRunAttributes to setAttributes.
7758 * cspi/spi_hyperlink.c:
7760 Changed call to getNAnchors to correctly call the c
7761 binding for an attribute.
7763 * cspi/spi_hypertext.c:
7765 Changed getImageDescription to correctly call the
7766 binding for an attribute.
7768 * cspi/spi_selection.c:
7769 Changed getNSelectedChildren to correctly call the c
7770 binding for the attribute.
7771 Changed refSelectedChild to getSelectedChild.
7775 Changed getCaption to return an Accessible.
7776 Fixed calls which retrieve attributes.
7777 Changed refAt to getAccessibleAt.
7778 Changed getNSelectedRows and getNSelectedColumns to
7782 Changed getCharacterExtents and getPointAtOffset to accept an
7783 AccessibleCoordType.
7785 Changed calls which retrieve attributes.
7786 Changed refRunAttributes to getAttributes.
7791 * idl/Hyperlink.idl:
7792 Changed n_anchors attribute to nAnchors to keep naming
7793 convention consistent.
7796 Made Table inherit from Bonobo::Unknown.
7797 Added nSelectedColumns and nSelectedRows attributes.
7800 Made Value inherit from Bonobo::Unknown.
7802 * libspi/hyperlink.c:
7803 Change for nAnchors attributte name change.
7806 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7808 implementations-- made server implementations own AtkObject pointers
7809 rather than their respective AtkInterrface pointers to fix
7810 refcounting. AtkHyperlink is still broken.
7812 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7813 * cspi/spi_accessible.c:
7814 Added method Accessible_Role_getName(),
7815 and requisite string array (role_names).
7816 Added conversion string_from_corba_strin() call
7817 to Accessible_getName and _getDescription.
7818 * libspi/accessible.c:
7819 Added implementation for Accessible_getRole()
7821 Added festival support, used if environment variable
7824 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7826 * at-bridge/bridge.c:
7827 Now allocate Accessibility_Event using
7828 Accessibility_Event__alloc() instead of g_new0().
7829 * libspi/accessibleeventlistener.c:
7830 Initialize AccessibleEventListener->callbacks to NULL.
7831 Fixed accessible__event_listener_init() param, changed to
7832 "AccessibleEventListener *" type.
7833 Changed a bonobo_object_release_unref() call to
7834 Accessibility_Accessible_unref().
7835 * libspi/listener.c:
7836 Changed Bonobo_Unknown_unref to (equivalent)
7837 Accessibility_Accessible_unref.
7838 * libspi/registry.c:
7839 Changed bonobo_object_release_unref to
7840 Accessibility_Accessible_unref.
7842 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7845 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7846 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7847 spi-util.c spi-util.h
7848 Implementations for C bindings to remaining accessibility
7851 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7854 changed return value of Action from void to boolean to
7855 bring in line with ATK.
7858 Changed getText funcions to return "out" start and end offsets.
7859 Changed getAttributes to take and offset and return the start
7860 and end offset of the attribute run.
7861 Changed getOffsetAtPoint and getCharacterExtents to take an
7862 enum describing whether coordinates are window or screen.
7865 libspi/action.c libspi/action.h libspi/editabletext.c
7866 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7867 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7868 libspi/image.h libspi/selection.c libspi/selection.h
7869 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7870 libspi/value.c libspi/value.h
7871 Added server implementations for outstanding ATK interfaces
7872 not yet implemented.
7874 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7877 Added (missing) getName() method.
7878 Made nActions an attribute.
7879 * idl/EditableText.idl:
7880 Changed order of params in setAttributes.
7881 * idl/Hyperlink.idl:
7882 Removed getAnchor, added getURI.
7884 Changed attributes to methods, for efficiency
7885 (so that getting extents can be done in one call)
7886 * idl/Selection.idl:
7887 Changed nSelectedChildren to attribute, and re-indented.
7888 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7890 * idl/Text.idl: reformatted to match our coding style.
7891 (temporarily?) removed getRowColumnAtOffset().
7892 Changed text selection API to support multi-select and
7893 non-contiguous selections, as in ATK.
7894 * idl/Value.idl: changed some methods to attributes.
7896 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7898 * libspi/listener.c(impl_notify_event):
7899 BonoboUnkown_unref the source instead
7900 of bonobo_object_release_unref - the ORB
7901 handles the releasing.
7903 * configure.in: require ORBit-2.3.94 for
7906 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7908 Tagged CVS repository 'EA_1_0'.
7909 * README.EARLY_ACCESS:
7910 Alphabetized acknowledgements list, and
7912 Listed some known dependencies of at-spi.
7914 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7916 * docs/at-spi-docs.sgml:
7917 * docs/at-spi-sections.txt:
7918 * docs/at-spi-overrides.txt: (Added zero-length file)
7919 Documentation improvements - gtk-doc should build
7920 docs for all implemented C bindings now.
7923 * cspi/spi.c: (New file)
7924 * cspi/spi_event.c: (New file)
7925 * cspi/spi_registry.c: (New file)
7926 * cspi/spi_accessible.c: (New file)
7927 * cspi/spi_application.c: (New file)
7928 * cspi/spi_component.c: (New file)
7929 Split spi_main.c into six parts, and included them from
7930 "spi.c". This is a bit of a hack, probably temporary,
7931 but required by gtk-doc, apparently.
7933 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7936 * docs/at-spi-docs.sgml:
7937 * docs/at-spi-sections.txt:
7939 Initial checkins/modifications for gtk-doc generation.
7942 Added (missing) interface query methods to Accessible's C binding.
7944 Added GenericInterface type definition.
7946 Added query for AccessibleComponent interface to focus event handler.
7947 Added printout of bounding box for focussed component.
7948 * libspi/component.c:
7949 Added partial implementation for AccessibleComponent to C binding.
7950 * idl/Application.idl:
7951 * libspi/registry.c:
7952 * libspi/listener.c:
7953 * libspi/application.c:
7954 * libspi/application.h:
7955 Changed "ID" attribute type from string to long.
7957 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7961 Made method naming consistent: methods taking object args
7962 start with uppercase, other methods (except those using
7963 acronyms) start with lowercase. Underscores delimit between
7964 object names and method names:
7965 SPI_init() - uppercase since it starts with an acronym.
7966 getDesktopCount () - lowercase start since no object param0.
7967 Accessible_getName() - uppercase object type name, studlyCaps method
7971 Added gtk-doc documentation for all currently implemented
7972 methods in the C bindings API.
7974 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7976 * Makefile.am : changed build order to build test last.
7979 Changed "createEventListener" to "CreateEventListener".
7980 * libspi/accessibleeventlistener.c :
7981 Bugfix for addition of callbacks.
7982 * test/Makefile.am :
7983 * test/simple-at.c :
7984 Added new test that uses the C bindings API.
7986 * libspi/listener.c :
7987 * libspi/registry.c :
7988 * libspi/accessibleeventlistener.c :
7989 * at-bridge/bridge.c :
7990 Renamed member "target" of Accessibility_Event to "source",
7991 which is more descriptive.
7994 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7998 * cspi/Makefile.am :
7999 Added makefile support for at-spi/cspi directory.
8002 * cspi/spi-listener.h : (NEW FILE)
8003 Added support for/use of spi-listener.h.
8005 C bindings now build successfully, with no warnings.
8006 * libspi/accessibleeventlistener.h : (NEW FILE)
8007 * libspi/accessibleeventlistener.c : (NEW FILE)
8008 * libspi/Makefile.am :
8009 Added new object type "AccessibleEventListener"
8010 which inherits from Listener, and allows attachment
8011 of in-process callbacks (so that a client with a listening
8012 object instance can add functionality to the local
8013 implementation, dynamically).
8015 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8017 * libspi/accessible.c:
8018 Add implementation for get_index_in_parent().
8020 Added #include of "spi-roletypes.h", and
8021 added enumerated type AccessibleCoordType.
8022 Added definition for KeystrokeListener (function type).
8025 * cspi/spi-statetypes.h :
8026 * cspi/spi-roletypes.h :
8028 Added these headers, used by spi.h.
8030 Added code (NOTE: not yet built by make).
8032 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8034 * libspi/Makefile.am: generate imodule
8035 at the same time as other idl compiler
8038 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8039 * libspi/registry.c :
8040 * libspi/application.c :
8041 * idl/Application.idl :
8042 Made registration with toolkit an application method,
8043 which is required since each app has its own toolkit static
8044 environment. Thus the bridge must register for
8045 notification of toolkit events from each application in turn.
8046 Toolkit notifications are now successfully registered for, and
8047 sent to the listening at client.
8049 Changed toolkit event string to use hyphens rather than underscores.
8050 * libspi/listener.c :
8051 listner now gives more info in debug mode - it reports the
8052 name of the event received, as well as the name of the source.
8055 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8057 * libspi/registry.c :
8058 added more implementation for toolkit events.
8059 Fixed bug such that toolkit event registrations
8060 (via atk) use the whole event name string, not
8062 Removed a useless call to an ORBit_ method.
8063 * at-bridge/bridge.c :
8064 Removed unused local sbuf[] variable.
8066 We now register for Gtk:GtkWidget:button_press_event
8067 events as well as "focus:" events.
8069 Add some more API from Registry.idl that was missing,
8070 for keystroke listening, keystroke and mouse event
8071 synthesis, and enumeration of accessible desktops.
8073 2001-08-16 Michael Meeks <michael@ximian.com>
8075 * configure.in: use AM_GLIB_GNU_GETTEXT.
8077 * Makefile.am (SUBDIRS): kill intl.
8079 2001-08-15 Michael Meeks <michael@ximian.com>
8081 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8083 * configure.in: upd.
8085 * configure.in: depend on a recent bonobo-activation that
8086 will find our server files ...
8088 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8090 * libspi/accessible.c : accessible_new() :
8091 Now we add the Component interface via bonobo_object_add_interface,
8092 if the contained AtkObject implements AtkComponent.
8093 * libspi/accessible.h : now include "component.h"
8094 * libspi/component.h :
8095 * libspi/component.c : added files - implementation of
8096 bonobo wrapper object for Accessibility/Component
8097 * libspi/listener.c :
8098 Added test code to check for Accessibility/Component:1.0
8099 interface and report whether it is implemented by the
8101 * libspi/registry.c :
8102 Now we check for not only the hash of the whole event
8103 string before relaying the event, we also check the
8104 "minor" event string (without the detail string).
8105 This allows event listeners to be registered against
8106 all events of a certain major+minor type, or just
8107 against a specific major+minor+detail type.
8108 * libspi/accessible.c :
8109 Added implementations for Accessible:get_parent(),
8110 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8111 * libspi/registry.c :
8112 * libspi/listener.c :
8113 Replaced calls to Accessibility_Accessible_ref() and
8114 Accessibility_Accessible_unref() with
8115 calls to bonobo_object_dup_ref() and
8116 bonobo_object_release_unref(), so that the CORBA object
8117 is dup-ed and released when relayed, as well as the bonobo object.
8119 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8121 * libspi/Makefile.am,
8122 registryd/Makefile.am,
8123 at-bridge/Makefile.am.
8124 test/Makefile.am, configure.in:
8125 reverse previous changes.
8127 * /idl/Image.idl: fix typo.
8129 * test/Makefile.am: put DEBUG_FLAGS
8132 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8134 * test/app.c: use argv[0] instead of
8137 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8139 * libspi/Makefile.am,
8140 registryd/Makefile.am,
8141 at-bridge/Makefile.am.
8142 test/Makefile.am, configure.in:
8143 cleanup, replace individual LIBS/CFLAGS with
8144 AT_COMMON_{LIBS|CFLAGS}.
8148 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8150 * configure.in, libspi/Makefile.am:
8151 Change IDL path checking for bonobo-activation
8154 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8156 * registryd/registry.c : separated event listeners to use
8157 3 separate lists (focus, window, toolkit). Began testing
8158 event names against hashes before relaying events.
8159 * test/at.c : now register for events of type "focus:"
8160 * test/app.c : now generate events of type "focus:"
8161 * at-bridge/bridge.c : register with ATK for focus events,
8162 and we now relay those focus events to any "focus:" listeners.
8163 This now works with the bridge as a GTK_MODULE when running test/at.
8164 * libspi/registry.c :
8165 * libspi/listener.c :
8166 now we ref event sources before propagating, and unref on receipt.
8167 * libspi/registry.c :
8168 some changes to internal structs, to support event typestring hashes.
8169 * text/app.c : changed the way the appname is generated.
8170 * cspi : added directory that will hold the C bindings library for
8171 non-CORBA/bonobo-savvy clients.
8172 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8173 * idl/Component.idl : added in parameter to indicate coord system for
8174 geometry-related calls.
8175 * idl/Hyperlink.idl : added readonly n_links attribute
8176 * idl/Image.idl : changed methods to attributes.
8178 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8180 * at-bridge/Makefile.am: link against
8181 ../libspi/libspi.la instead of -lspi.
8183 * at-spi/test/app.c: include
8184 bonobo-activation.h. Use a default appname
8185 if one is not provided.
8187 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8189 * idl/Registry.idl : temporarily changed register_Application
8190 to oneway, to work around issue with initial registration
8192 * idl/Application.idl : changed attribute "id" from readonly
8193 to read-write, since it needs to be assigned by Registry.
8194 * registryd/registryd.c : added call to set application id
8196 * registryd/registry.c : changed de-registration procedure to
8197 use CORBA_Object_hash() to find matching object ref in application
8198 lists and listener lists.
8199 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8200 began distinguishing between event types (work in progress).
8202 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8205 * libspi/application.c:
8206 Added implementations for get/set id, get_toolkitName,
8208 * registryd/registryd.c :
8212 Converted from use of OAF to bonobo-activation.
8213 * libspi/desktop.h :
8214 * libspi/desktop.c :
8216 Removed references to atksimpleobject, since base atkobject
8217 implementation now provides functionality we need.
8218 * libspi/atksimpleobject.c :
8219 * libspi/atksimpleobject.h :
8224 * at-bridge/Makefile.am
8225 * at-bridge/bridge.c
8228 Added directory "bridge" and contents, and added dependencies
8229 in Makefile.am/configure.in.
8230 Initial checkin of "at-bridge".
8231 This code is a GTK_MODULE which automatically registers
8232 GTK+ apps with the accessibility registry, using an object
8233 reference to the root ATK object.
8235 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8237 * po/Makefile.in.in: Remove. Again. If this
8238 doesn't get autogenerated - you need to update
8241 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8243 * po/Makefile.in.in: Add. Again.
8245 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8247 * libspi/accessible.c : added support for 'description' property.
8248 * libspi/accessible.c
8250 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8251 (since the two are now equivalent in libbonobo)
8259 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8260 Bonobo::Unknown as does Accessibility::Accessible.
8261 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8262 interface with Bonobo::Stream, since it was redundant with it.
8263 (The Stream returned by a StreamableContext object is expected to
8264 implement only a subset of Bonobo::Stream)
8266 2001-07-28 Anders Carlsson <andersca@gnome.org>
8268 * libspi/accessible.c (accessible_object_finalize): Change
8269 g_free to g_object_unref since the AtkObject is a GObject.
8271 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8273 * idl/Accessibility.idl: add new IDL files
8276 * idl/Action.idl: Definitions of actionable UI object
8277 * idl/Component.idl: Definitions of UI component geometry, etc.
8278 * idl/Hyperlink.idl: Defs of hyperlink behavior
8279 * idl/Image.idl: Def of accessible image
8280 * idl/Selection.idl: Definition of UI object with selectable children
8281 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8282 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8283 * idl/Text.idl: Interface defs for UI elements with complex textual content
8284 * idl/Value.idl: Definition of UI element that is a value controller or display
8286 2001-07-27 Michael Meeks <michael@ximian.com>
8288 * po/Makefile.in.in: remove autogenerated file from CVS.
8290 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8293 * idl/Registry.idl: include guard.
8295 * idl/Accessibility.idl: Add, and include all the other IDL
8298 * idl/*.idl: remove mass of pragmas etc.
8300 2001-07-26 Michael Meeks <michael@ximian.com>
8302 * registryd/Makefile.am (registryd_SOURCES): remove
8305 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8307 * libspi/.cvsignore, registryd/.cvsignore,
8308 test/.cvsignore: updated.
8310 * po/Makefile.in.in: gettext update.
8312 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8314 * initial CVS checkin
8316 2001-06-29 Michael Meeks <michael@ximian.com>
8318 * configure.in: add AM_CONFIG_HEADER to gen config.h