1 2007-08-20 Li Yuan <li.yuan@sun.com>
3 * libspi/base.c: (spi_base_construct):
4 Avoid unnecessary crash. Bug #467612.
6 2007-08-01 Li Yuan <li.yuan@sun.com>
8 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
9 Fix a potential dead-lock issue. Bug #462412.
11 2007-07-09 Li Yuan <li.yuan@sun.com>
13 * configure.in, README, NEWS:
16 2007-07-09 Li Yuan <li.yuan@sun.com>
18 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
19 Bug #446277. Control the ref_count to 1, so Orca can unref the
20 state_set and avoid the memory leak.
22 2007-06-26 Li Yuan <li.yuan@sun.com>
24 * atk-bridge/Makefile.am:
25 Bug #450897. Set logging domain.
26 * registryd/registry.c: (parse_event_type):
28 Handle the "document:" signal, set the type to
31 2007-06-04 Li Yuan <li.yuan@sun.com>
33 * configure.in, README, NEWS:
34 Uprev/release 1.19.3 for GNOME 2.19.3.
36 2007-05-30 Willie Walker <william.walker@sun.com>
38 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
39 439436 to add pyatspi to autotools stuff so it gets installed as
40 part of a make install.
42 2007-05-17 Li Yuan <li.yuan@sun.com>
45 Bug #439057. Add the original PATH to PATH.
47 2007-04-23 Li Yuan <li.yuan@sun.com>
50 Uprev/release 1.19.1 for GNOME 2.19.1.
52 2007-04-18 Li Yuan <li.yuan@sun.com>
54 * pyatspi/__init__.py:
55 * pyatspi/accessible.py:
56 * pyatspi/constants.py:
58 * pyatspi/registry.py:
60 Bug #430938. Add some files to create the uniform Python
63 2007-04-12 Li Yuan <li.yuan@sun.com>
65 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
66 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
67 Fix #427836. Fix leak and unify the code style.
69 2007-04-12 Yi Jin <yi.jin@sun.com>
71 * atk-bridge/bridge.c:
72 (spi_atk_bridge_focus_tracker):
73 Bug #428007. Fix a memory leak.
75 2007-04-02 Ariel Rios <ariel@gnu.org>
77 Implement the Matchrule interface required for Collection.
83 * cspi/spi_accessible.c: (Accessible_isCollection),
84 (Accessible_isMatchRule), (Accessible_getCollection),
85 (Accessible_getMatchRule):
86 * cspi/spi_collection.c: new file.
87 * cspi/spi_matchrule.c: new file.
88 * idl/Accessibility.idl:
89 * idl/Accessibility_Collection.idl: new file.
92 * libspi/collection.c: new file.
93 * libspi/collection.h: new file.
95 * libspi/matchrule.c: new file.
96 * libspi/matchrule.h: new file.
98 2007-03-29 Ariel Rios <ariel@gnu.org>
100 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
102 2007-03-22 Li Yuan <li.yuan@sun.com>
104 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
105 main context. Fix for #329454.
107 2007-03-12 Li Yuan <li.yuan@sun.com>
109 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
111 2007-03-02 Li Yuan <li.yuan@sun.com>
113 * atk-bridge/bridge.c
114 (spi_atk_bridge_register_application),
115 (deregister_application), (spi_atk_bridge_focus_tracker),
116 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
117 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
118 to prevent calling threads_enter/leave during the init and shutdown.
120 2007-02-27 Li Yuan <li.yuan@sun.com>
123 (spi_re_entrant_list_delete_link):
124 Bug #412286. Reverse previous patch.
125 * configure.in, NEWS: Uprev/release 1.17.2.
127 2007-02-26 Li Yuan <li.yuan@sun.com>
129 * libspi/accessible.c:
130 (impl_accessibility_accessible_get_attributes),
131 (impl_accessibility_accessible_get_relation_set):
132 Bug #404584 and #401299. Return an empty object instead of return NULL.
133 * configure.in, NEWS: Uprev/release 1.17.1.
135 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
137 * Makefile.am: Dist MAINTAINERS.
139 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
141 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
142 (atk_bridge_init), (spi_atk_bridge_get_registry),
143 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
144 Fix some compiler warnings and plug a leak. Closes part of
147 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
149 * cspi/bonobo/cspi-bonobo-listener.h:
150 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
151 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
152 * cspi/spi_main.c: (SPI_eventIsReady):
153 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
154 * libspi/streamablecontent.c:
155 * libspi/util.c: (spi_re_entrant_list_delete_link):
156 * login-helper/login-helper.c:
157 * registryd/deviceeventcontroller.c:
158 (spi_controller_update_key_grabs), (isEvent):
159 * registryd/registry.c:
160 * test/key-listener-test.c: (simple_at_exit):
161 * test/login-helper-server-test.c: (test_set_wm_dock),
163 Fix a bunch of warnings from sparse:
164 - ANSIfication of function declarations
166 - Add some prototypes
167 - make some stuff static
169 2007-02-14 Li Yuan <li.yuan@sun.com>
171 * libspi/accessible.c:
172 (impl_accessibility_accessible_get_attributes):
173 Bug #404584. If there is no attributes, just return NULL.
175 2007-02-12 Li Yuan <li.yuan@sun.com>
177 * configure.in, NEWS: Uprev/release 1.17.0.
179 2007-02-12 Li Yuan <li.yuan@sun.com>
181 * atk-bridge/bridge.c:
182 (atk_bridge_init): bug #400709. we must emit events even if we are not
183 registered as a full-fledged app.
184 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
185 application like openoffice shutdown. They need to unload gtk before
186 the is spi_atk_bridge_exit_func called.
188 2007-01-22 Li Yuan <li.yuan@sun.com>
190 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
192 2007-01-22 Li Yuan <li.yuan@sun.com>
194 * cspi/bonobo/cspi-bonobo.c:
195 (cspi_get_registry_ior), (cspi_init):
196 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
198 2007-01-19 Li Yuan <li.yuan@sun.com>
200 * atk-bridge/bridge.c:
201 (atk_bridge_init), (spi_atk_bridge_register_application),
202 (deregister_application), (spi_atk_bridge_focus_tracker),
203 (spi_atk_emit_eventv):
204 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
207 2007-01-08 Li Yuan <li.yuan@sun.com>
209 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
211 2007-01-08 Li Yuan <li.yuan@sun.com>
213 * registryd/registry-main.c:
214 (main): set registry ior only when register server successfully.
215 * atk-bridge/bridge.c:
216 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
217 Bug #372988, #381670. Fix memory leak.
219 2007-01-02 Bill Haneman <billh@gnome.org>
222 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
223 appending default attributes to a text attribute set.
226 2006-12-28 Li Yuan <li.yuan@sun.com>
228 * atk-bridge/bridge.c:
229 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
230 the second time, because spi_atk_emit_eventv will free any. Bug
233 2006-12-15 Li Yuan <li.yuan@sun.com>
235 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
237 2006-12-14 Li Yuan <li.yuan@sun.com>
240 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
241 (spi_atk_bridge_property_event_listener),
242 (spi_atk_bridge_signal_listener):
243 Free some CORBA objects to fix memory leak and crash.
245 2006-12-13 Li Yuan <li.yuan@sun.com>
247 Patch from Ariel Rios to fix #163132 and #377079.
248 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
249 (spi_atk_bridge_get_registry_ior):
250 Use g_warning instead of g_error and g_critical to avoid crash.
252 2006-12-11 Bill Haneman <bill.haneman@sun.com>
255 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
256 if there are no non-default attributes defined at the current offset.
259 2006-12-04 Bill Haneman <bill.haneman@sun.com>
261 * idl/Accessibility_Role.idl: Fixed the documentation for
262 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
264 2006-12-04 Bill Haneman <bill.haneman@sun.com>
266 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
268 2006-11-07 Bill Haneman <bill.haneman@sun.com>
270 Patches from Padraig O'Briain for bugs #361386 and #369377.
272 * registryd/registry.c:
273 (struct NotifyContext): Change the e_out
274 member from an Accessibility_Event struct to a pointer to
276 (notify_listeners_cb): Modify to use the new struct definition above.
277 Allows use of ORBit_copy_value instead of CORBA_any__copy.
279 * registryd/deviceeventcontroller.c:
280 (spi_dec_button_update_and_emit): Free the event's any_data
282 (spi_dec_mouse_check):Free the event details any struct
284 (spi_device_event_controller_forward_mouse_event): Free any.
285 (spi_device_event_controller_forward_key_event): Ditto.
287 2006-11-07 Bill Haneman <bill.haneman@sun.com>
289 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
290 Don't require gtk+ and gail for building most of at-spi
293 * registryd/registry-main.c (main): We now get te value of display
294 using the env var DISPLAY rather than using the gdk_display_get_default
295 to avoid dependancy of gdk. Also, once the registry is started, we set
296 the ior of the registry as an X property.
297 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
299 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
300 the registration was successfull.
301 (spi_atk_bridge_do_registration): This function now returns success
302 or not on activating the registry.
303 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
304 has been set in the X root window and return it if available.
305 (spi_atk_bridge_get_registry): We now get the registry using the IOR
306 saved as a X property rather than using the OAFID.
308 2006-10-01 Bill Haneman <bill.haneman@sun.com>
310 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
312 2006-09-25 Bill Haneman <bill.haneman@sun.com>
314 * registryd/registry.c:
315 (desktop_remove_application): Don't pass a ref to the
316 dead application with the event, since it's probably
317 defunct and will cause SEGV if we try to unref,
318 extract app name, etc.
321 2006-09-20 Bill Haneman <bill.haneman@sun.com>
323 Patch from Neo Liu <nian.liu@sun.com>,
326 * atk-bridge/bridge.c:
327 (spi_atk_bridge_document_event_listener): New, for
330 2006-08-30 Bill Haneman <bill.haneman@sun.com>
333 Changed some parameter names so as not to
334 collide with class names - allows IDL to be compiled with
335 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
337 2006-08-22 Bill Haneman <bill.haneman@sun.com>
339 * atk-bridge/bridge.c:
340 (spi_atk_bridge_signal_listener):
341 Patch from Ginn Chen, assign detail1 in children-changed
342 so that the child object can be assigned to the Any when the
343 at-spi event is emitted. Bug #350552.
345 * libspi/application.c:
346 (spi_application_finalize): Remove g_print debug output.
349 2006-08-21 Bill Haneman <bill.haneman@sun.com>
351 * configure.in: Revved to AT-SPI 1.7.11.
353 * libspi/accessible.c:
354 (spi_accessible_new): Aggregate Hyperlink interface
355 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
357 * libspi/hyperlink.c:
358 (spi_hyperlink_new): Don't aggregate Action a second time if this
359 interface is created for an AtkHyperlinkImpl object (i.e. for a
360 child Accessible, as opposed to the Hyperlink instance from
362 (get_hyperlink_from_servant): Obtain the hyperlink from
363 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
365 Patch section from Ginn Chen...
367 * cspi/spi_accessible.c:
368 (_cspi_accessible_set_from_sequence):
369 Changed g_newa to g_new0 on Ginn Chen's suggestion.
371 * libspi/accessible.c:
372 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
373 (spi_accessible_new): Add the Document interface if present.
376 (impl_getAttributes): Fixed to use AtkAttribute properly.
379 (impl_getAttributes, impl_getDefaultAttributes):
380 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
382 2006-08-17 Bill Haneman <bill.haneman@sun.com>
384 * cspi/spi-private.h, cspi/spi_accessible.c:
385 (_cspi_attribute_set_from_sequence): Renamed from
386 cspi_attribute_set_from_sequence, to suppress export.
389 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
390 inline docs, which was keeping the doc from appearing.
391 (SPIExceptionHandler): Doc this.
393 * cspi/spi_document.c:
394 Added inline gtk-docs cut-n-pasted from the doxygen
395 docs in the corresponding IDL files.
396 (AccessibleDocument_getAttributes): Fix the retval here.
398 * cspi/spi_streamablecontent.c:
399 Fixed some 'Since' tags that were accidentally doxygen-style.
402 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
403 docs from the IDL file.
405 * docs/reference/cspi/at-spi-cspi-docs.sgml:
406 Added entities for Document and StreamableContent interfaces.
408 * docs/reference/cspi/at-spi-cspi-sections.txt:
409 Added some docs that were present inline but not getting
412 2006-07-31 Bill Haneman <bill.haneman@sun.com>
415 (impl_getRangeExtents): Use the atk_text_get_range_extents
416 API instead of looping over character bounds, now that
418 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
419 (_spi_text_bounds_contain): Remove, not needed anymore.
420 (_spi_text_rect_union): Remove, not needed anymore.
422 2006-07-31 Bill Haneman <bill.haneman@sun.com>
424 * atk-bridge/bridge.c:
425 (spi_atk_emit_eventv): Fix the CORBA_free call which was
426 causing 64-bit troubles and memory leaks.
427 Special thanks to Alexander Larsson who finally seems to
428 have tracked down the problem, not just here but in
432 (spi_init_any_object): Make sure we copy the CORBA value
433 when initializing an object for passing as a CORBA_Any.
436 2006-07-21 Bill Haneman <billh@gnome.org>
438 * idl/Accessibility.idl:
439 Reverted pragma changes, this broke the build in some envs
440 including the Debian team's build and some tinderbox builds.
442 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
445 Revved to 1.7.10, and edited the Xevie check (bug #319994).
447 * idl/Accessibility.idl:
448 Reworked inclusion of Bonobo_Unknown.idl, to
449 avoid double-linking libs in the Bonobo environment.
450 Thanks to Michael Meeks for the workaround, see bug #313122.
452 * registryd/deviceeventcontroller.c:
453 (spi_controller_notify_keylisteners):
454 Set the SPI_NUMLOCK_MASK bit if the modifier
455 corresponding to the conceptual numlock state is set.
458 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
460 * idl/Accessibility_Selection.idl:
461 (deselectChild): New method.
463 * libspi/selection.c:
464 (impl_deselectChild): Implement the new IDL method.
467 (AccessibleSelection_deselectChild): Added new method.
469 * cspi/spi_selection.c:
470 (AccessibleSelection_deselectChild): New method implemented.
472 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
474 * cspi/bonobo/cspi-bonobo.c:
475 (cspi_init): Replace g_error with g_warning, prevent
476 SEGV if the registry cannot be activated. Bug #346393.
478 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
480 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
482 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
483 2006-07-12 Ariel Rios <arios@us.ibm.com>
487 * idl/Accessibility_Table.idl:
488 (getRowColumnExtentsAtIndex): New method for getting
489 selection status and extents in one API call.
492 (impl_getRowColumnExtentsAtIndex): Implementation of
494 (spi_table_class_init): Add above to epv.
498 (AccessibleTable_getRowColumnExtentsAtIndex): New
499 method, retrieves selection status and row/col extents
500 for a table cell in a single API call.
502 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
503 2006-07-12 Ariel Rios <arios@us.ibm.com>
505 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
508 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
509 New bindings for new methods defined in idl and libspi.
512 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
513 Added prototype functions.
516 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
518 (spi_text_class_init): Added previous methods.
521 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
522 * libspi/spi-private.h: Corrections.
524 2006-06-29 Bill Haneman <bill.haneman@sun.com>
526 Added Document interface (see bug #326520),
527 with work from Ariel Rios <arios@us.ibm.com>.
529 * configure.in: Bump to 1.7.8.
531 * libspi/Makefile.am: Added document.[ch] to sources
534 (SpiDocument, SpiDocumentClass):
535 New interface implementation.
536 (spi_document_get_type, spi_document_construct)
537 (spi_document_interface_new): New methods added.
538 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
539 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
540 Added macros for SpiDocument
544 (spi_document_interface_new): Get a
545 new document interface. New.
546 (get_document_from_servant): Get an AtkDocument from servant New.
547 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
548 Implementation of methods defined on idl.
549 (spi_document_class_init, spi_document_init)
550 Init methods for SpiDocument. new
552 * idl/Accessibility.idl: Added Accessibility_Document.idl.
554 * cspi/Makefile.am: Added spi_document.c to sources.
556 * cspi/spi_document.c:
557 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
558 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
559 (AccessibleDocument_getAttributes): Bindings for methods defined
562 * cspi/spi_accessible.c:
563 (Accessible_isDocument, Accessible_getDocument) New.
565 (Accessible_isDocument, Accessible_getDocument)
566 (AccessibleDocument_ref, AccessibleDocument_unref)
567 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
568 (AccessibleDocument_getAttributes): Bindings added.
570 * idl/Makefile.am: Added Accessibility_Document.idl to
573 2006-06-29 Bill Haneman <bill.haneman@sun.com>
575 * idl/Accessibility_Document.idl: New interface
576 for complex documents. First stage of fix for RFE
579 2006-06-27 Bill Haneman <bill.haneman@sun.com>
581 * libspi/streamablecontent.c:
582 (impl_content_stream_close):
583 Unref the GIOChannel on close.
585 2006-06-23 Bill Haneman <bill.haneman@sun.com>
587 * idl/Accessibility_Role.idl:
588 * libspi/accessiblerole.c:
589 * cspi/spi_accessible.c: Added ROLE_LINK,
590 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
591 Bug #345758 and bug #140635.
594 2006-06-22 Bill Haneman <bill.haneman@sun.com>
598 * idl/Accessibility_StreamableContent.idl:
599 Fix derivation of StreamableContent and ContentStream.
601 * cspi/spi_streamablecontent.c:
602 (accessible_content_stream_client_read):
603 Fix the datatype of the content stream used.
604 Interpret short reads as EOF, and stop trying to
605 read when we've fulfilled the request.
606 (AccessibleStreamableContent_getContentTypes):
607 Use g_strdup, not CORBA_string_dup, for the strings.
608 (AccessibleStreamableContent_open):
609 Correctly use the new getStream method for opening,
610 not the deprecated getContent method.
611 Use the object reference as the stream hash key.
612 Make note of the 'one stream per client per streamable'
613 limitation in the docs.
616 Add streamablecontent.h to the list of #includes.
618 * libspi/streamablecontent.c:
619 (impl_content_stream_read): Initialize the GError.
620 Allocate the incoming buffer if reading a fixed length of
621 data. Use g_memmove instead of memcpy.
622 (impl_accessibility_streamable_get_content_types):
623 Init typelist->_maximum. Only allocate the buffer if
624 there is a non-zero number of content types available.
625 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
627 * libspi/streamablecontent.h:
628 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
631 (SPI_IS_VALUE): Fix a typo in this macro too.
633 2006-06-16 Bill Haneman <bill.haneman@sun.com>
637 * idl/Accessibility_StreambleContent.idl:
638 Deprecate the Bonobo_Stream-based methods in favor of
639 a self-contained "ContentStream" interface. This should
640 allow us to remove BonoboStream dependencies entirely, since
641 there were no non-NIL implementations of the old methods anyway.
642 (ContentStream): New interface.
643 (ContentStream::SeekType): Enum.
644 (ContentStream::seek): New.
645 (ContentStream::read): New.
646 (ContentStream::close): New.
647 (getContent): Deprecate.
648 (getURI): New method, returns a URI pointing to the content, if available.
650 * libspi/streamablecontent.c:
651 (SpiContentStream): Internal object type definition used to
652 implement Accessibility::StreamableContent::ContentStream via
653 AtkStreamableContent's GIOChannel back-end.
654 (spi_content_stream_new, spi_content_stream_dispose): See above;
656 (impl_content_stream_seek, impl_content_stream_read):
657 (impl_content_stream_close): New, implementations of
659 (impl_accessibility_streamable_get_stream): Implement the
660 public method Accessibility::StreamableContent::getStream.
661 (impl_accessibility_streamable_get_uri): Implement the
662 public method Accessibility::StreamableContent::getURI.
664 * cspi/spi_streamablecontent.c:
665 (accessible_bonobo_stream_client_seek): Replaced by
666 (accessible_content_stream_client_seek).
667 (accessible_bonobo_stream_client_read): Replaced by
668 (accessible_content_stream_client_read).
669 (AccessibleStreamableContent_open):
670 (AccessibleStreamableContent_seek):
671 (AccessibleStreamableContent_read):
672 (AccessibleStreamableContent_close): Use the new 'getStream'
673 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
675 2006-06-15 Bill Haneman <bill.haneman@sun.com>
677 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
678 remove from other .idl files (except LoginHelper).
681 2006-06-14 Bill Haneman <bill.haneman@sun.com>
683 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
686 * configure.in, */Makefile.am: mingw patch, modified from
687 original patch by yselkowitz. Bug #314216.
689 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
690 for completeness. Bug #163111.
692 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
693 * libspi/util.c, registryd/registry-main.c:
694 Fix guint/char* casts.
695 Patch from chpe, bug #333883.
697 2006-06-12 Bill Haneman <bill.haneman@sun.com>
699 * configure.in: Require atk-1.12.0, to pick up
700 new API. (bug #344412).
702 * libspi-1.0-uninstalled.pc.in:
704 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
705 Fix for #341488 from Samual Thibault.
707 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
708 Thanks to Brian Pepple.
710 2006-06-09 Bill Haneman <bill.haneman@sun.com>
713 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
714 New, missing implementations of attribute reading methods
717 * cspi/spi.h, spi_value.c:
718 (AccessibleValue_getMinimumIncrement): New methods wrapping
719 the (formerly unimplemented) property from Value.idl.
722 (impl_get_minimumIncrement): Implementation for retrieving
723 the minimum valuator increment, (formerly unimplemented).
726 2006-06-09 Bill Haneman <bill.haneman@sun.com>
728 * idl/Accessibility_State.idl:
729 Added STATE_VISITED (bug #338369).
731 * cspi/spi_accessible.c:
732 (spi_state_to_corba) Fixed marshalling of new statetypes.
735 (spi_init_state_tables, impl_getStates):
736 Fixed conversion of new statetypes to/from ATK.
738 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
740 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
741 definitions/conversions for new roles from ATK.
743 * idl/Accessibility_Relation.idl:
745 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
746 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
747 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
749 * libspi/accessible.c: Fixed marshalling of new role types from
752 2006-04-17 Matthias Clasen <mclasen@redhat.com>
754 * revert my previous change
756 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
758 * configure.in: Remove obssolete no_NO locale
759 * po/no.po: And the translation.
761 2006-04-05 Matthias Clasen <mclasen@redhat.com>
763 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
764 memory-management error that caused crashes on x86_64.
767 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
769 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
771 2006-03-27 Bill Haneman <bill.haneman@sun.com>
773 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
774 to strip "cspi_*" from the symbol table.
776 * cspi/spi_streamablecontent.c:
777 (get_streams): Make this method static.
780 (_cspi_exception_throw): rename to cspi_exception_throw,
781 so we can strip it with the rest...
784 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
786 2006-03-27 Bill Haneman <bill.haneman@sun.com>
788 Add doxygen-generated IDL docs to tarball, and enable
789 doxygen during build/install when available. Bug #301345.
791 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
793 * docs/reference/Makefile.am: Add idl to SUBDIRS.
795 * docs/reference/idl/Makefile.am: Optionally use
796 doxygen to create docs.
798 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
800 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
802 2006-03-20 Bill Haneman <bill.haneman@sun.com>
805 (impl_get_selected_rows): Don't free the selection if it's
806 empty or has not been assigned; init it to NULL so you can tell.
807 Also, allow for zero selected rows.
808 (impl_getSelectedColumns): Ditto. Bug #319088.
810 2006-03-11 Vincent Untz <vuntz@gnome.org>
812 Leak fix for bug #334217.
814 * libspi/application.c: spi_application_toolkit_event_listener():
815 don't duplicate the string we pass as an argument to
816 spi_init_any_nil() since spi_init_any_nil() already does it
817 * registryd/deviceeventcontroller.c:
818 (spi_dec_button_update_and_emit): ditto
819 (spi_dec_mouse_check): ditto
820 (spi_dec_emit_modifier_event): ditto
821 (spi_device_event_controller_forward_mouse): ditto
822 * registryd/registry.c:
823 (desktop_add_application): ditto
824 (desktop_remove_application): ditto
826 2006-02-20 Bill Haneman <billh@gnome.org>
828 * configure.in: Rev to 1.7.6.
830 Leak fixes for bug #331924.
832 * atk-bridge/bridge.c:
833 (spi_atk_bridge_init_base): Don't dup the string, it's already
834 been dup-ed. Fixes a leak.
835 (spi_atk_emit_eventv): Move the CORBA_free call here,
836 instead of spi_atk_state_event_listener; fixes another leak.
837 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
838 notifying the registry; fixes another leak.
840 * registryd/registry.c:
841 (registry_flush_event_queue): Free the CORBA_any when
842 flushing the event, not just the string. Fixes another leak.
843 (registry_queue_event): Free the CORBA_any when dropping
844 events on the floor; fixes another leak.
847 (spi_init_any_object, spi_init_any_nil):
848 Always set _release to TRUE. Fixes another leak.
850 2006-02-20 Bill Haneman <billh@gnome.org>
852 * configure.in: Rev to 1.7.5.
853 Reinstate localization of this module. Thanks for Rodney
854 Dawes for fixing my patch.
856 * registryd/Makefile.am: Remove Accessibility_Registry.server
857 from dist, since it needs to be re-created at configure time.
860 2006-01-31 Bill Haneman <billh@gnome.org>
862 * configure.in: Rev to 1.7.4 (to include build fix below).
864 * idl/Makefile.am: Include Selector.idl in dist.
868 (cspi_internal_event_get_object): Handle case where
869 "object" isn't present, i.e. CORBA_TC_Object doesn't match
870 the EventDetails data.
871 (cspi_internal_event_get_text): Handle NULL string.
872 (cspi_internal_event_get_rect): Handle missing/empty rect
873 data, Accessibility_TC_RectBounds doesn't match any_data.
875 2006-01-30 Bill Haneman <billh@gnome.org>
879 * atk-bridge/bridge.c:
880 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
881 interface and use that when instantiating a new source
882 accessible. Better fix for bug #321814.
884 2006-01-27 Bill Haneman <billh@gnome.org>
886 * idl/Accessibility_Selector.idl: Added to the cvs repository.
888 * configure.in: Revved to 1.7.3.
890 2006-01-17 Bill Haneman <billh@gnome.org>
892 * configure.in: Revved to 1.7.2, re-dist to include docs.
894 2006-01-09 Bill Haneman <billh@gnome.org>
896 * configure.in: Removed po/Makefile.in inclusion, we do not need
899 * idl/Accessibility.idl: Improved documentation here, and for all
900 IDL in the 'GNOME::Accessibility' namespace.
902 * idl/Accessibility_Accessible.idl:
903 (LOCALE_TYPE): Added enum.
904 (AttributeSet): New, for returning multiple name/value attribute pairs.
905 (RoleSet): New, sequence of Roles, to be used in upcoming
907 (getAttributes): New API, allows retrieval of name/value pair
908 annotations for all kinds of Accessible objects. C.f.
909 Text:getAttributes, which is only for typographic/textual/semantic tags in
911 (getApplication): New, retrieves the host/containing Application
912 instance for an object (without having to walk up the whole tree).
914 * idl/Accessibility_Component.idl:
915 (getAlpha): New method, returns the alpha blending (aka 'opacity')
916 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
919 * idl/Accessibility_Event.idl:
920 (EventDetails): New struct definition, for encapsulating
921 commonly-queried information about emitted events. The use of
922 this structure in emitted events (in the 'any' member of
923 Accessibility_Event) should greatly reduce the number of
924 client-server roundtrips necessary.
926 * idl/Accessibility_Image.idl:
927 (imageLocale): New, a readonly attribute indicating the POSIX
928 LC_MESSAGES locale of the image and associated Alt/descriptive
931 * idl/Accessibility_Relation.idl:
932 (RELATION_PARENT_WINDOW_OF): Include, as complement to
935 * idl/Accessibility_Role.idl:
936 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
937 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
938 complex document and form support.
940 * idl/Accessibility_State.idl:
941 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
942 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
943 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
944 for support of complex documents and forms.
946 * idl/Accessibility_StreamableContent.idl:
947 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
948 allow old bonobo-stream interfaces to be deprecated in the next
951 * idl/Accessibility_Text.idl:
952 (getAttributeValue): New method, allows query-by-name of single
955 * libspi/accessible.c:
956 Added support for new roles. Implemented new methods
957 (impl_accessibility_accessible_get_application): New
958 (impl_accessibility_accessible_get_attributes): New
960 * libspi/component.c:
961 (impl_accessibility_component_get_alpha): New.
964 (impl_accessibility_image_get_locale): New.
966 * libspi/relation.c: Added support for new relation type.
968 * libspi/stateset.c: Added support for new state types.
971 (impl_getAttributeValue): New.
974 New prototypes for private methods
976 spi_init_any_object, spi_init_any_string,
979 * libspi/spi_event.c:
980 Use EventDetails in the event emission methods.
982 * cspi/spi-private.h:
983 (cspi_role_from_spi_role): Expose this adapter method, since
984 we need it in the bridge (see below).
987 (AccessibleEvent_getSourceName):
988 (AccessibleEvent_getSourceRole):
989 (AccessibleEvent_getSourceApplication):
990 (AccessibleEvent_getSourceDetails):
991 New methods for interrogating/demarshalling
992 event details (i.e. source's accessible name, role,
995 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
996 Make use of the new EventDetails struct in events, if present.
997 (AccessibleEvent_getSourceName)
998 (AccessibleEvent_getSourceRole)
999 (AccessibleEvent_getSourceApplication)
1000 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1002 (Accessible_getAttributes): New, wraps
1003 Accessibility_Accessible_getAttributes.
1004 (Accessible_getHostApplication): New, wraps
1005 Accessibility_Accessible_getApplication.
1008 (AccessibleImage_getImageLocale): New wrapper for
1009 Accessibility_Image_get_imageLocale.
1011 * cspi/spi_component.c:
1012 (AccessibleComponent_getAlpha): New wrapper for
1013 Accessibility_Component_getAlpha.
1015 * atk-bridge/bridge.c:
1016 Use new prototyped for init_any methods.
1017 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1018 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1019 (spi_atk_bridge_init_base): Wrappers
1020 for spi_init_any_* methods, due to refactor; include extended
1021 information in the Accessibility_EventDetails struct, for instance
1022 accessible-name, Role, and containing Application.
1024 * registryd/registry.c:
1025 Use new event emission (with EventDetails).
1027 * registryd/deviceeventcontroller.c:
1028 Use new event emission (with EventDetails).
1030 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1032 * configure.in: Generate po/Makefile.in
1033 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1034 * cspi/spi_streamablecontent.c:
1035 (accessible_bonobo_stream_client_seek),
1036 (AccessibleStreamableContent_seek): Remove unused vars.
1037 * libspi/application.c: Missing header.
1038 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1039 * login-helper/login-helper.c: (login_helper_finalize),
1040 (login_helper_init): Remove unused stuff
1041 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1042 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1043 and surround some with #ifdef GRAB_BUTTON.
1044 * test/event-listener-test.c: (main), (report_event),
1045 (report_caret_event), (report_detail_event),
1046 (report_detail1_event), (report_bounds_event), (report_text_event),
1047 (report_text_selection_event),
1048 (report_active_descendant_changed_event),
1049 (report_children_changed_event), (report_name_changed_event),
1050 (report_description_changed_event), (report_parent_changed_event),
1051 (report_window_event), (report_table_summary_event),
1052 (report_table_header_event), (report_table_caption_event),
1053 (report_table_row_description_event),
1054 (report_table_column_description_event), (timing_test_event):
1055 Remove a bunch of unused variables and fix a slew of format specifiers
1056 * test/key-listener-test.c: (report_all_key_event): Format specifier
1057 * test/keypad-test.c: (print_key_event): Same
1058 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1060 * test/screen-review-test.c: (main), (print_chunk_debug),
1061 (review_buffer_get_text_chunk), (debug_chunk_list),
1062 (string_guess_clip), (text_chunk_get_clipped_string),
1063 (text_chunk_list_to_string), (get_screen_review_line_at):
1064 Remove unused variables and fix format specifiers.
1065 * test/simple-at.c: (report_text_event): Format specifier fix.
1066 * test/stress-test.c: (main): Remove unused var.
1068 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1070 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1071 (yes I know that's useless)
1073 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1075 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1077 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1079 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1080 urgh-fix embarassing typo.
1082 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1084 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1085 do a faster, less problematic _unref call on this local
1086 object, rather than a slower (potentially cross-thread
1087 complicated) CORBA call.
1089 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1091 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1092 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1093 * registryd/deviceeventcontroller.c:
1094 (spi_controller_notify_mouselisteners),
1095 (impl_generate_keyboard_event):
1096 * test/screen-review-test.c: (chunk_bounds_within):
1097 * test/test-simple.c: (test_desktop): Remove some unused code
1098 and fix compiler warnings. Closes bug #320049.
1100 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1102 * registryd/deviceeventcontroller.c:
1103 (spi_controller_notify_keylisteners): Check
1104 to make sure the event listener has requested 'preemptive'
1105 status before pre-empting an event.
1107 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1109 * configure.in, README, NEWS: Release 1.6.5.
1111 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1113 * test/window-listener-test.c: Fix a printf
1114 format error. (#169453)
1116 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1118 * tests/test-simple.c:
1119 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1120 relying on the old string from the key event hanging around after
1121 the event handler returns. Fixes broken 'make check'.
1123 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1125 * Added Marathi (mr_IN) translations.
1127 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1129 * cspi/bonobo/cspi-bonobo-listener.c:
1130 (cspi_event_list_remove_by_cb): Fix the build.
1132 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1134 * cspi/bonobo/cspi-bonobo-listener.c
1135 (cspi_event_list_remove_by_cb): actually filter by callback.
1137 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1139 * registryd/registry.c (remove_listener_cb):
1140 Make deregistration filter rules match the event emission rules.
1142 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1144 * registryd/registry.c (remove_listener_cb),
1145 (impl_accessibility_registry_deregister_global_event_listener),
1146 (impl_accessibility_registry_deregister_global_event_listener_all):
1147 pass a closure to the remove callback to filter listeners more
1148 accurately on remove.
1150 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1152 * configure.in: Revved to 1.6.4.
1153 Remember to put quotes around XEVIE_LIBS assignment.
1154 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1157 * tests/event-listener-test.c: Tweaked the tests - more detail
1158 from caret events, and some interrogation of AccessibleText APIs.
1159 Commented-out the bounds-changed events by default, since they can
1162 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1164 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1165 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1166 Same here. Closes bug #167806
1168 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1170 * atk-bridge/bridge.c:
1171 (spi_atk_bridge_signal_listener):
1172 Free the any._value if any._release is TRUE,
1173 since the ORB won't do it for us in this case
1174 [because this method is not a skel].
1175 Fix for bug #168679.
1177 2005-03-30 Steve Murphy <murf@e-tools.com>
1179 * configure.in: Added "rw" to ALL_LINGUAS.
1181 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1183 * configure.in: Improved check for HAVE_XEVIE, to detect
1184 presence on XOrg, where -lXevie is a separate library.
1186 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1188 * configure.in, NEWS, README: Revved to 1.6.3.
1190 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1192 * configure.in: Added "xh" to ALL_LINGUAS.
1194 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1196 * atk-bridge/bridge.c:
1197 (atk_bridge_init): Added missing NULL in g_strconcat(),
1198 also check for symlink before logging to
1199 insecure directory. Thanks to meissner@suse.de.
1201 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1203 * tests/login-helper-server-test.c: Add return call to main
1204 function. Patch from Chris Lahey. Fixes bug #165129.
1206 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1208 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1210 2004-12-09 Bill Haneman <billh@gnome.org>
1212 * registryd/registry-main.c:
1213 Added #define <string.h> for strrchr. (bug 160862).
1214 Thanks to Vincent Berger for catching.
1216 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1218 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1219 restart registry process if the registry process is found to have died
1220 and the current process is exiting.
1221 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1222 application if the registry process has died.
1223 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1224 does not return a registry object.
1225 (spi_atk_tidy_windows): Give up if the registry process has died.
1227 This fixes problems with hangs and crashes when logging out.
1229 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1231 * registryd/desktop.c: Add checking that we are not exiting before
1232 calling spi_desktop_remove_application in
1233 abnormal_application_termination. Fix for bug #152147.
1235 2004-12-02 Bill Haneman <billh@gnome.org>
1237 * configure.in, NEWS, README: Revved to 1.6.1.
1239 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1240 * atk-bridge/bridge.c:
1241 (atk_bridge_init): Save the pid when we start, to detect forks.
1242 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1243 if we're in a forked pid.
1245 2004-10-09 Bill Haneman <billh@gnome.org>
1247 * idl/Accessibility_LoginHelper.idl:
1248 Improved inline documentation.
1250 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1252 * configure.in: Added gl (Galician) to ALL_LINGUAS
1254 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1256 * libspi/accessible.c:
1257 (impl_accessibility_accessible_get_role_name),
1258 (impl_accessibility_accessible_get_local_role_name):
1259 NULL vs. 0 cleanups.
1260 * libspi/component.c:
1261 (impl_accessibility_component_get_accessible_at_point):
1263 * libspi/eventlistener.c: (spi_event_listener_new):
1265 * libspi/stateset.c: (impl_compare): More of the same
1266 * libspi/table.c: (impl_getRowDescription): Again.
1267 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1268 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1269 (impl_generate_keyboard_event): Same.
1270 * registryd/registry-main.c: (main): Same
1271 * test/event-listener-test.c: (test_exit): Same
1272 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1273 * test/keysynth-test.c: (test_key_synthesis): Same
1274 * test/login-helper-server-test.c: (main): Fix warning.
1275 * test/screen-review-test.c: (test_exit): Fix include.
1276 * test/simple-at.c: (simple_at_exit), (_festival_init):
1279 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1281 * configure.in, NEWS, README: Revved to 1.6.0.
1283 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1285 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1286 was missing the HTML docs.
1288 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1290 * configure.in: only cleanups:
1291 - better looking PKG_CHECK_MODULES() output,
1293 - declare in one common place required versions of other tools using
1296 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1298 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1299 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1300 required ATK version accordingly.
1302 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1304 * cspi/bonobo/cspi-bonobo.c:
1305 (cspi_display_name): Fix C99ism.
1306 * atk-bridge/bridge.c:
1307 (spi_display_name): Fix C99ism.
1308 Patch from Jens Granseuer, jensgr@gmx.net.
1310 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1312 * configure.in: Added "or" to ALL_LINGUAS.
1314 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1316 * configure.in, NEWS, README: Revved to 1.5.4.
1318 * registryd/registry-main.c:
1319 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1322 * cspi/bonobo/cspi-bonobo.c:
1323 (cspi_display_name): New convenience method, gets DISPLAY with
1324 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1325 (cspi_init): Set the activation env value above before getting
1328 * atk-bridge/bridge.c:
1329 (spi_display_name): Create the AT_SPI_DISPLAY activation
1330 environment for an app, based on the DISPLAY environment with the
1331 screen number stripped off.
1332 (atk_bridge_init): Allow redirection of error messages to a log.
1333 (spi_atk_bridge_get_registry): Call
1334 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1336 Fixes for bugs #149962, #136986, #144086.
1338 2004-08-16 Christian Rose <menthos@menthos.com>
1340 * configure.in: Added "bs" to ALL_LINGUAS.
1342 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1344 * configure.in: Added nb to ALL_LINGUAS.
1346 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1349 (SPI_init): Return error code '2' if the activated
1350 registry cannot be pinged. Fixes bug #147648.
1352 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1354 * registryd/deviceeventcontroller.c:
1355 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1356 rely on timer-poll instead, to avoid conflict with
1359 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1361 * configure.in: Revved to 1.5.3.
1363 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1365 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1367 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1369 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1371 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1373 * atk-bridge/bridge.c:
1374 (spi_atk_bridge_do_registration):
1375 Register with ATK for AtkComponent:bounds-changed events.
1376 (api_atk_bridge_signal_listener):
1377 Marshal the AtkRectangle info into the event notification
1378 for object:bounds-changed events.
1381 (spi_init_any_rect): New method, inits a corba struct of
1382 type Accessibility_BoundingBox from an AtkRectangle.
1384 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1387 (SPIRect): New struct definition.
1388 (SPI_freeRect): New declaration.
1389 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1392 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1393 implemented. Gets the bounding box data from the CORBA_any
1394 associated with a bounds-changed event notification.
1395 (cspi_internal_event_get_rect): New, used internally by above method.
1398 (SPI_freeRect): Implemented this new method, for freeing
1401 * test/event-listener-test.c:
1402 (main, report_bounds_event):
1403 Added a test for object:bounds-changed events.
1405 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1407 * test/login-helper-server-test.c:
1408 (main): Fix C99-ism. Thanks to Jens Granseuer.
1410 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1412 * libloginhelper-1.0.pc.in:
1413 * idl/Accessibility_LoginHelper.idl:
1414 * login-helper/Makefile.am:
1415 * login-helper/login-helper.[ch]:
1416 * test/login-helper-client-test.c:
1417 * test/login-helper-server-test.c: Added files missing from CVS.
1418 Files obtained from at-spi-1.5.2 tarball.
1420 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1422 * configure.in: Create login-helper/Makefile.
1423 Incremented micro version.
1425 * Makefile.am: Add login-helper subdir and pkgconfig data.
1427 * login-helper: New subdir.
1429 * libloginhelper-1.0.pc.in: New.
1431 * idl/Accessibility_LoginHelper.idl: New file, defines
1432 interface whereby authentication clients can identify agents which
1433 need access to services during the login process, e.g. screen lock
1436 * login-helper/Makefile.am : New.
1438 * login-helper/login-helper.[ch] : New, implementation of
1439 a LoginHelper base class. Services needing LoginHelper can subclass.
1441 * test/Makefile.am : Added test for login-helper, client and
1444 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1445 Use proper prefix in #include files.
1447 * test/login-helper-client-test.c: New.
1449 * test/login-helper-server-test.c: New.
1451 2004-05-27 Alexander Shopov <ash@contact.bg>
1453 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1455 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1457 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1458 is positive. This should make it easier to detect inapprorpiate unref
1461 2004-05-11 James Henstridge <james@daa.com.au>
1463 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1464 no-op and deprecated.
1466 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1468 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1470 2004-04-28 Bill Haneman <billh@gnome.org>
1472 * Makefile.am: Added --enable-gtk-doc to
1473 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1475 2004-04-19 Bill Haneman <billh@gnome.org>
1477 * configure.in: Revved to 1.5.1.
1479 * registryd/deviceeventcontroller.c:
1481 (DEControllerPrivateData): Added fields for
1482 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1483 (spi_dec_replace_map_keysym): New internal utility for
1484 replacing a keysym in the keymap - used to allow
1485 synthesis of individual characters which aren't in the
1487 (spi_dec_reset_reserved): New; resets the changed keysym value
1489 (keycode_for_keysym): We now try to deal with failed
1490 XKeysymToKeycode requests by changing a keymap value
1491 and returning a reserved keycode. We now take
1492 a DEController pointer as first arg.
1493 (spi_controller_register_with_devices): Call XkbGetMap with
1494 the XkbKeySymsMask. Find the highest keycode in the current
1495 keymap which doesn't have any grabs, and mark that one for
1496 temporary re-mapping when out-of-range KeySyms are synthesized.
1497 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1500 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1502 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1504 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1506 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1508 2004-03-24 Bill Haneman <billh@gnome.org>
1511 (AccessibleTable_addRowSelection),
1512 (AccessibleTable_addColumnSelection),
1513 (AccessibleTable_removeRowSelection),
1514 (AccessibleTable_removeColumnSelection):
1515 Add declarations for spi wrappers which were
1516 inadvertantly omitted. Fixes bug #133413.
1519 Revved to 1.5.0 (unstable series for GNOME 2.7).
1521 2004-03-24 Bill Haneman <billh@gnome.org>
1523 * atk-bridge/bridge.c:
1524 Bracketed some debug output in
1525 conditionals, to avoid printing it in normal use.
1528 * libspi/hyperlink.c:
1529 Don't cast 'object' to ATK_OBJECT when constructing
1530 an AtkAction interface for a hyperlink.
1531 See discussion in bug #120659.
1533 * test/key-listener-test.c:
1534 (report_all_key_event): Send output to stderr,
1535 not stdout, for consistency with the rest of the test callbacks.
1538 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1539 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1540 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1541 try incrementing the revision AFTER doing a dist, at least
1544 2004-03-22 Bill Haneman <billh@gnome.org>
1546 * configure.in: Revved to 1.4.0, libtool 9.14.9
1548 2004-03-17 Laszlo Peter <laca@sun.com>
1550 * libspi-1.0-uninstalled.pc.in: add idldir
1552 * cspi-1.0-uninstalled.pc.in: add idldir
1554 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1556 * configure.in: Added "en_GB" to ALL_LINGUAS
1558 2004-03-15 Bill Haneman <billh@gnome.org>
1560 * configure.in: Revved to 1.3.16,
1563 2004-03-15 Laszlo Peter <laca@sun.com>
1565 * libspi-1.0-uninstalled.pc.in: new file
1567 * cspi-1.0-uninstalled.pc.in: new file
1569 * configure.in: add the new pc files to AC_OUTPUT
1571 * Makefile.am: add the new pc files to EXTRA_DIST
1573 2004-03-12 Bill Haneman <billh@gnome.org>
1575 * atk-bridge/bridge.c:
1576 (spi_atk_bridge_key_listener):
1577 Make sure to return consumed=FALSE if snoop
1578 event is not dispatched to listener.
1581 2004-03-01 Bill Haneman <billh@gnome.org>
1583 * configure.in: Revved to 1.3.15,
1586 2004-03-07 Danilo Segan <dsegan@gmx.net>
1588 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1590 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1592 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1594 2004-03-01 Bill Haneman <billh@gnome.org>
1596 * configure.in: Revved to 1.3.14.
1599 (SPI_exit): Removed "bye-bye" exit message.
1600 Moved "leak" report to happen before the
1601 iteration over the leaked refs list.
1602 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1604 2004-02-24 Bill Haneman <billh@gnome.org>
1606 * configure.in: Revved to 1.3.13.
1608 * docs/reference/cspi/Makefile.am:
1609 Correct typo that was breaking the docs build.
1611 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1613 * autogen.sh: Require version 1.7 of automake.
1615 * configure.in: call GTK_DOC_CHECK([1.0])
1617 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1619 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1621 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1623 * test/Makefile.am: Remove use of CFLAGS.
1625 This fixes bug #132987.
1627 2004-02-11 Bill Haneman <billh@gnome.org>
1629 * reverted most of Tomasz' patch below, since it was breaking
1630 builds (see bug #134058).
1632 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1634 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1635 correct pass "make dist" (empty .. because seems no sach types in
1636 header files with gtk-doc markups).
1637 * docs/reference/cspi/Makefile.am, configure.in:
1638 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1639 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1640 * Makefile.am: added:
1641 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1642 for force correct pass generate documentation on "make distcheck".
1643 * libspi/Makefile.am: fixes for automake >= 1.6.
1644 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1645 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1648 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1650 * docs/reference/cspi/Makefile.am (install-data-local): Install
1651 index.sgml since the doc autobuilder on widget.gnome.org looks for
1654 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1656 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1659 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1661 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1663 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1665 * test/simple-at.c: Fixed null string problems that cause core
1666 dumping problems on Solaris.
1668 2004-01-12 Bill Haneman <billh@gnome.org>
1670 * configure.in: Incremented version to 1.3.11.
1672 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1674 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1675 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1678 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1680 * configure.in: Added "fa" to ALL_LINGUAS.
1682 2003-12-20 Arafat Medini <lumina@silverpen.de>
1684 * configure.in: Added "ar" to ALL_LINGUAS
1686 2003-12-16 Bill Haneman <billh@gnome.org>
1688 * registryd/registry-main.c:
1690 Set the reg_env DISPLAY variable before registering the
1691 activated registry service. Fixes bug #129479.
1693 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1695 * configure.in: Added "id" in ALL_LINGUAS
1696 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1698 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1700 * registryd/deviceeventcontroller.c (global_filter_fn):
1701 When an event is consumed discard any XEvents were added to
1702 the queue while dealing with the the event. This can happen if
1703 processing of the event takes a long time. Call XUngrabKeyboard
1704 if an event was discarded. This fixes bug $124837.
1705 Only call wait_for_release_event for a KeyPress.
1706 Use local variable display instead of spi_get_display().
1707 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1710 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1712 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1713 Allow for mask to contain values other than NumLock mask.
1716 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1718 * registryd/devieceventcontroller.c:
1719 (wait_for_release_event): Change first parameter from GdkEvent to
1721 (global_filter_fn); Correct call to wait_for_release_event.
1725 2003-12-08 Bill Haneman <billh@gnome.org>
1729 * registryd/ucs2keysym.c: New file.
1731 * registryd/deviceeventcontroller.c:
1732 (dec_keysym_for_unichar): Remove old partial implementation and
1733 replace with call to ucs2keysym(), which is much more complete.
1734 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1739 2003-12-05 Bill Haneman <billh@gnome.org>
1741 * configure.in: Version 1.3.9.
1743 * docs/reference/cspi/tmpl/spi_registry.sgml:
1744 Added reference to libspi/keymasks.h to the
1745 description of Registry queries: AccessibleKeyMaskType.
1748 2003-12-04 Bill Haneman <billh@gnome.org>
1750 Fix for bug #121974.
1752 * idl/Accessibility_Application.idl:
1753 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1754 setlocale's LC_TYPEs.
1755 (Accessibility::Application::getLocale): New method.
1756 Allows clients to query the locale, by type, of an app.
1759 * cspi/spi_application.c:
1760 (AccessibleApplication_getLocale): New method, wraps IDL above.
1762 * libspi/application.c:
1763 (spi_application_class_init): Init epv entry for getLocale.
1764 (impl_accessibility_application_get_locale): Impl for above.
1766 * test/test-simple.c:
1767 (test_application): Added assertion for getLocale, i.e.
1768 that the string from AccessibleApplication_getLocale (app, type)
1769 is the same as that from setlocale (type, NULL);
1771 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1773 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1774 the keyboard on a timeout intil the key state goes from pressed to
1775 released. Fixes bug #111429.
1777 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1779 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1780 root object so that it is present when a context menu in an
1781 out-of-process applet is popped up.
1782 (spi_atk_bridge_do_registration): Create acceessible application root
1783 object only if it does not exist.
1785 This fixes bug #125834.
1787 2003-12-01 Bill Haneman <billh@gnome.org>
1789 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1792 Added enum for AccessibleStreamableContentSeekType.
1793 (AccessibleStreamableContent_freeContentTypeList): New.
1795 * cspi/spi_streamablecontent.c:
1796 (accessible_bonobo_stream_client_seek): New private method.
1797 (AccessibleStreamableContent_seek): Implemented this method,
1798 using Bonobo_Stream_seek.
1799 (AccessibleStreamableContent_freeContentTypeList): New method
1800 for freeing the return value from
1801 AccessibleStreamableContent_getContentTypes.
1802 (stream_cache_item_free): Replaces stream_release; stop leaks.
1803 (stream_release): removed.
1804 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1805 free the memory properly.
1807 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1809 Fix for bug #116009.
1811 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1813 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1815 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1817 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1819 2003-12-01 Bill Haneman <billh@gnome.org>
1821 Fix for bug/rfe #127463.
1823 * idl/Accessibility_Accessible.idl:
1824 (getLocalizedRoleName): New.
1825 (unimplemented4): Removed (replaced by above).
1827 * libspi/accessible.c:
1828 (impl_accessibility_accessible_get_local_role_name): New.
1829 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1833 (Accessible_getLocalizedRoleName): New.
1835 * cspi/spi_accessible.c:
1836 (Accessible_getLocalizedRoleName): New.
1838 2003-12-01 Bill Haneman <billh@gnome.org>
1840 Fix for bug #118581.
1841 * idl/Accessibility_Text.idl:
1842 (getDefaultAttributes): New.
1843 (unimplemented4): Removed (replaced by above method).
1846 (impl_getDefaultAttributes): New method.
1847 (spi_text_class_init):
1848 initialize the get_default_attributes slot in the epv.
1851 (AccessibleText_getDefaultAttributes): New prototype.
1854 (AccessibleText_getDefaultAttributes): New method.
1856 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1858 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1859 write beyond the end of the table. Fixes bug #120473.
1861 2003-09-30 Christian Rose <menthos@menthos.com>
1863 * configure.in: Added "eu" to ALL_LINGUAS.
1865 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1867 * configure.in: ALL_LINGUAS: Added no.
1869 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1871 * configure.in: Added lt to ALL_LINGUAS.
1873 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1875 * atk-bridge/bridge.c:
1876 (atk_bridge_init): Register event listeners always even for
1877 out-of-process applet.
1878 (spi_atk_bridge_toplevel_added): Remove call to
1879 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1880 (spi_atk_bridge_toplevelk_removed): Remove call to
1881 spi_atk_deregister_event_listenersa as the listeners are now always
1883 (spi_atk_bridge_register_application): Remove call to
1884 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1886 This fixes bug #120991.
1888 * libspi/table.c (impl_getColumnDescription): Correct typo,
1889 pointed out by Bolian.Yin@sun.com.
1891 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1893 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1895 2003-09-08 Bill Haneman <billh@gnome.org>
1897 * configure.in: Revved to 1.3.7.
1899 This is the GNOME 2.4.0 release of at-spi.
1901 * docs/reference/cspi/Makefile.am:
1902 Removed spurious inclusion of 'index.sgml' in the
1903 html directory; this was breaking make distcheck and
1904 also some other build environments.
1906 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1908 * registryd/registry.[ch}:
1909 Add queue_handler_id and focus_object to SpiRegistry data structure.
1910 (registry_flush_event_queue): If event being discarded is
1911 "state-change:focused" store object as focus_object.
1912 (registry_start_queue): Remove queue handler and focus object
1914 (registry_discard_event): New function which discards a focus event
1915 if we had stored focus object in the registry.
1916 (registry_queue_event): Add new check that is_queueing is set as this
1917 function is reentrant.
1918 (registry_filer_event): Add call to registry_discard_event.
1920 This resolves issues raised in bug #108664.
1922 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1924 * configure.in: Added "bn" to ALL_LINGUAS.
1926 2003-09-04 Bill Haneman <billh@gnome.org>
1928 * cspi/spi_event.c: Documentation improvements for
1929 (SPI_registerAccessibleKeylistener).
1931 * docs/reference/tmpl/spi_registry.sgml:
1932 Documentation improvements for SpiAccessibleKeylistenerCB.
1934 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1936 * configure.in: Added "ro" to ALL_LINGUAS.
1939 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1941 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1942 not decremented to zero. Fixes bug #120725.
1944 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1946 * configure.in: Added "ja" to ALL_LINGUAS.
1948 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1950 * configure.in: Added "is" to ALL_LINGUAS.
1952 2003-08-22 Christian Rose <menthos@menthos.com>
1954 * configure.in: Added "nl" to ALL_LINGUAS.
1956 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1958 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1959 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1961 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1963 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1964 type for unspecified exception.
1965 * cspi_streamablecontect): Add include of string.h for memcpy.
1966 (stream_release): Correct call to bonobo_object_release_unref
1967 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1968 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1969 argument of _cspi_expection_throw.
1970 * libspi/hyperlink.c: Add include of libspi/action.h:
1971 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1972 * libspi/streamablecontent.c: add include of libspi/component.h.
1973 * regisrtyd/deviceeventcontroller.c:
1974 (spi_dec_translate_mask): Removed unused variable priv.
1975 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1976 * registryd/registry.c:
1977 (registry_filter_event): Remove unused variable queue_is-empty.
1978 (impl_registry_notify_event): Use correct modifier in fprintf call.
1980 This fixes compiler warnings reported in bug #120220.
1982 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1984 * registryd/registryd.c: Remove this file.
1986 2003-08-17 Sanlig Badral <badral@openmn.org>
1988 * configure.in: Added mn to ALL_LINGUAS.
1990 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1992 * configure.in: Added et to ALL_LINGUAS.
1994 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1996 * test/event-listener-test.c: Change active-descendant to
1997 active-descendant-changed.
1999 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2001 * configure.in: Added "fi" in ALL_LINGUAS.
2003 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2005 * configure.in: Added "hi" in ALL_LINGUAS.
2007 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2009 * configure.in: Revved to 1.3.6.
2013 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2015 * registryd/deviceeventcontroller.c
2016 (spi_device_event_controller_object_finalize): Fix typo in previous
2019 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2021 * registryd/deviceeventcontroller.c
2022 (spi_device_event_controller_object_finalize): Fix build on
2023 systems without XEvIE.
2025 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2027 * acconfig.h, configure.in, registryd/Makefile.am,
2028 registryd/devicecontoller.[ch]: Add XEViE support.
2030 2003-08-06 Wang Jian <lark@linux.net.cn>
2032 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2034 2003-08-06 Metin Amiroff<metin@karegen.com>
2036 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2038 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2040 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2041 MODIFIER_ALT in correct place.
2043 This fixes part of bug #118114.
2045 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2047 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2049 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2051 * configure.in: Added "ko" to ALL_LINGUAS.
2053 2003-07-28 Ole Laursen <olau@hardworking.dk>
2055 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2057 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2059 * configure.in: Added "sq" to ALL_LINGUAS.
2061 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2063 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2065 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2067 * configure.in: updated ALL_LINGUAS list
2069 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2071 * configure.in: Added Belarusian to ALL_LINGUAS.
2073 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2075 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2077 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2078 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2080 This fixes bug #116949.
2082 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2084 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2085 Correct CSPI to SPI in function documentation.
2087 This fixes bug #118054.
2089 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2091 * configure.in: Added Russian to ALL_LINGUAS.
2093 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2095 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2097 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2099 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2101 2003-07-10 Joel Brich <joel.brich@laposte.net>
2103 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2105 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2107 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2109 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2111 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2112 resources allocated for AccessibleEvent. See cspi_event().
2114 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2115 static variable streams to NULL.
2117 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2118 Update so that AcessibleEvent_ref will work.
2120 This fixes bug #116624.
2122 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2124 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2126 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2128 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2130 2003-07-02 Christian Neumair <chris@gnome-de.org>
2132 * configure.in: Added "de" (German) to ALL_LINGUAS.
2134 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2136 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2138 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2140 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2142 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2144 * configure.in: Added "pl" to ALL_LINGUAS.
2146 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2148 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2150 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2153 (get_action_from_servant):
2154 Removed assertion that action is implemented on an AtkObject.
2156 * libspi/hyperlink.c:
2157 (spi_hyperlink_new):
2158 Aggregate AccessibleAction interface on the hyperlink object if
2159 the object implements AtkAction. (This convention is used in
2162 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2164 * configure.in: Revved to 1.3.5.
2166 * registryd/Accessibility_Registry.server.in.in:
2167 Marked up appropriate strings for translation.
2169 * atk-bridge/bridge.c: Marked a couple of
2170 user-visible warnings for translation. Questionable
2171 whether they are really useful, but possibly so.
2174 2003-06-28 Christian Rose <menthos@menthos.com>
2176 * configure.in: Added "sv" to ALL_LINGUAS.
2178 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2180 * registryd/registry.c:
2181 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2182 (registry_defer_on_event): Defer focus: events, this is an
2183 improvement to the patch for bug #108664.
2185 * TODO: Update with 2.4/"Dev Complete" items.
2187 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2189 * atk-bridge/bridge.c:
2190 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2191 looks up signals once.
2192 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2193 if doing registration.
2194 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2195 when doing registration.
2197 This fixes bug #115014.
2199 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2201 * atk-bridge/bridge.c:
2202 (atk_bridge_init): Add signal handler for children-changed:remove on
2203 root when in a BonoboComponent.
2204 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2205 for first toplevel only other incrememt variable toplevels.
2206 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2207 application and remove listeners.
2208 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2210 (spi_atk_deregister_event_listeners): New function which removes
2212 (reinit_register_vars): New fuction which reinitializes variables.
2214 This fixes bug #111578.
2216 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2218 * configure.in: version 1.3.4.
2220 * cspi/spi_accessible.c:
2221 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2224 2003-06-13 Michael Meeks <michael@ximian.com>
2226 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2228 * cspi/spi_main.c (cspi_peek_ev): impl.
2230 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2232 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2234 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2236 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2237 SPI_ROLE_AUTOCOMPLETE
2239 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2241 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2242 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2244 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2246 * libspi/streamablecontent.h:
2247 * libspi/streamablecontent.c:
2248 New files, provide implementation/wrappers for
2249 Accessibility_StreamableContent.
2251 * cspi/spi_streamablecontent.c:
2252 Connected the C wrappers to the libspi C bindings.
2253 (AccessibleStreamableContent_close): New method.
2256 (AccessibleStreamableContent_close): New method, needed
2257 since we have an "open, [seek], read, close" model in cspi.
2259 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2261 Fix for #108664; Padraig's revision of my original patch.
2263 * registryd/registry.h:
2264 Added event queue list, is_queuing, and exit_notify_timeout
2265 to the registry struct.
2267 * registryd/registry.c:
2268 (registry_init): Initialize new struct from registry.h.
2269 (impl_registry_notify_event):
2270 Filter events before notifying, in case some need to be
2272 (registry_filter_event): New,
2273 we defer certain incoming events (for instance
2274 window:deactivate) because we may wish to hide
2275 or reject them based on pending events. This is
2276 mostly a workaround for bug #108664.
2277 (registry_queue_event, registry_start_queue): New.
2278 (registry_defer_on_event): Test event to see if it
2280 (registry_reset_on_event): Returns TRUE if the
2281 event should cause a queue reset.
2282 (registry_discard_on_event): Returns TRUE if the event
2283 should cause the previous queue contents to be discarded.
2284 (registry_timeout_flush_queue): Flushes the pending event
2285 queue if no reset/discard-triggering events have come in
2286 within the timeout period.
2287 (registry_emit_event): New.
2288 (registry_clone_notify_context): New, used when queueing the
2289 event notify contexts.
2291 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2293 * configure.in: Version revved to 1.3.2, lt 0.9.2
2294 Incremented ATK required version to 1.3.4.
2296 * cspi/spi_registry.c:
2297 (SPI_generateKeyEvent):
2298 We now pass the keystring along if it's non-null.
2300 * registryd/deviceeventcontroller.c:
2301 (keysym_mod_mask): New method, returns modifier mask
2302 required to generate a keysym from a given keycode.
2303 (dec_synth_keysym): New method.
2304 (dec_synth_keystring): New method.
2305 (dec_get_modifier_state): New method.
2306 (dec_lock_modifiers): New
2307 (dec_unlock_modifiers): New.
2308 (dec_keysym_for_unichar): New, rather brute-force
2309 conversion from UCS-4 to X KeySyms. Only works for
2310 Latin at the moment, with partial implementations for
2311 Greek, Hebrew, and (incomplete) Katakana.
2312 (impl_generate_keyboard_event): Now implement
2313 "KEYSTRING" synthesis and implement "KEYSYM"
2315 (keycode_from_keysym): Improved, passes a returned
2316 modmask value now if the corresponding param is non-NULL.
2318 Fixes bugs #92143 and #109776.
2321 * test/keysynth-test.c:
2322 New test program for key synthesis, to confirm fixes for
2326 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2328 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2330 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2331 Add line for RELATION_POPUP_FOR
2333 * docs/reference/cspi/tmpl/spi_relation.sgml:
2334 Add relation SPI_RELATION_POPUP_FOR
2336 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2337 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2339 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2341 * libspi/relation.c (spi_init_relation_type_table):
2342 Add line for RELATION_POPUP_FOR
2344 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2346 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2347 there are still windows which have not been deleted and emit
2348 window:deactivate, if necessary and window:destroy events.
2349 This fixes bug #114370. The change on June 5th was not correct.
2351 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2353 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2356 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2358 New methods for client exception handling and interception.
2359 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2360 (SPI_exceptionHandlerPop): You guessed it...
2361 (SPI_getSourceType): Return the type of object which offended.
2362 (SPI_getExceptionCode): Return an enum code telling, possibly,
2363 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2364 (SPIAccessibleException_getSource): get the source object for
2365 exceptions that come from Accessibles, if SPIExceptionSourceType is
2366 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2367 (SPIException_getDescription): New, returns a string description of
2368 the problem. [Not yet a stable ABI, strings are not frozen]
2370 * cspi/spi-private.h:
2371 Added implementation details of opaque SPIException
2375 Implementations of above. Also
2376 (_cspi_exception_throw): new private method that
2377 dispatches exceptions to handlers, called from cspi-bonobo.c
2379 * cspi/bonobo/cspi-bonobo.c:
2380 (cspi_check_ev): call _cspi_exception_throw.
2381 Don't print a warning message if the exception has been
2382 handled by _cspi_exception_throw.
2384 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2386 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2387 there are still windows which have not been deleted and emit
2388 window:deactivate, if necessary and window:destroy events.
2389 This fixes bug #114370.
2391 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2394 (cspi_accessible_is_a): Make non-fatal
2395 if the object reference is dead.
2397 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2399 * cspi/spi_main.c: #include <stdio.h>
2400 * test/simple-at.c: ditto
2401 * test/event-listener-test.c: ditto
2402 * test/screen-review-test.c: ditto
2404 2003-05-30 Michael Meeks <michael@ximian.com>
2406 * test/test-simple.c (main): use CORBA_ORB_perform_work
2407 instead of an unnecessary linc_ call.
2409 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2411 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2412 Add SPI_STATE_INDETERMINATE.
2414 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2417 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2419 * libspi/stateset.c (init_state_type_tables): Add support for
2422 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2424 * configure: Update versions of atk and gail required.
2425 This fixes bug #113268.
2427 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2429 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2431 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2433 * libspi/Makefile.am:
2434 Ensure headers are generated before being used by c sources.
2436 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2439 Simplified lt versioning rules.
2440 Incremented version to 1.3.0, to indicate that we're on the
2441 unstable branch now.
2443 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2445 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2446 Add MKDB_OPTIONS=--outtput-format=xml
2448 * docs/reference/cspi/at-spi-cspi-docs.sgml
2449 docs/reference/idl/at-spi-idl-docs.sgml:
2450 Convert to Docbook XML.
2452 This fixes bug #111793.
2454 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2456 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2457 AcccessibleKeyEventType, AccessibleKeyMaskType.
2459 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2461 * cspi/state-types.h: Add documentation for AccessibleState.
2463 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2464 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2465 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2466 AccessibleComponentLayer.
2468 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2471 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2473 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2474 Accessible. Add description of AccessibleEvent,
2475 AccessibleEventListenerCB.
2477 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2480 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2481 documentation. Add description of AccessibleKeystrokeListenerCB,
2482 AccessibleKeyEventMask, AccessibleModifierMaskType,
2483 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2484 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2486 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2489 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2492 This fixes bug #104730.
2494 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2496 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2497 Set is_text field of Accessibility_DeviceEvent data structure.
2499 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2500 is-text field of AccessibleDeviceEvent data structure.
2502 This addresses part of bug #108666.
2504 * registryd/devcieeventcontroller.c: Unset debug option.
2506 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2508 * cspi/accessible.c:
2509 (cpi_initial_relation_type_table): New function which initializes
2510 mapping between Accessibility_RelationType and AccessibleRelationType.
2511 (cspi_relation_type_from_spi_relation_type): New function which
2512 translates an Accessibility_RelationType into an AccessibleRelationType.
2513 (AccessibleRelation_getRelationType): Use
2514 cpi_relation_type_get_spi_relation_type to return correct value.
2515 (spi_state_to_corba): Return correct type for default case.
2517 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2518 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2520 * cspi/cspi-bonobo-listener.c:
2521 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2524 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2525 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2526 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2527 libspi/image.c, libspi/listener.c, libspi/selection.c,
2528 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2529 registryd/desktop.c, registryd/registry.c:
2530 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2532 * libspi/eventlistener.c
2533 Remove semicolon after BONOBO_TYPE_FUNC.
2535 * libspi/relation.c:
2536 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2537 (spi_init_relation_type_table): Initialize using correct type.
2539 * registryd/desktop.c:
2540 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2541 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2542 of Accessibility_KeyEventType.
2544 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2547 * tests/simple-at.c, tests/screen-review-test.c:
2548 Add include for <strings.h>.
2550 * tests.stress-test.c:
2551 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2553 These changes fix compiler warnings when using FORTE compiler on
2554 Solaris; fixes bug #107479.
2557 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2560 * configure.in: revved to 1.1.10
2562 * libspi/keymasks.h:
2563 (SPI_KEYMASK_NUMLOCK): Added.
2565 * registryd/deviceeventcontroller.c:
2566 (spi_key_event_matches_listener): AND with a smaller
2567 bitmask (as we should).
2568 (spi_dec_translate_mask):
2569 New method, sets the virtual NumLock modifier bit
2570 if numlock is on. Eventually it can handle other virtual
2571 modifier bits if needed, or other marshalling from
2572 at-spi modifier masks to platform (X) masks.
2573 (spi_dec_key_listener_new):
2574 Call spi_dec_translate_mask to set up virtual mod bits
2575 in the 'mask' field when creating a new listener struct.
2576 (spi_dec_emit_modifier_event):
2577 Set the virtual (i.e. NumLock) bits before emitting event.
2578 (spi_controller_register_with_devices):
2579 Query for the NumLock modifier 'physical' bit if Xkb is
2580 present, for use in above methods.
2584 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2586 * registryd/deviceeventcontroller.c:
2587 (spi_keystroke_from_x_key_event):
2588 Instead of checking to see if the keysym is
2589 printable, check the string from XLookupString
2590 if available, get the first unicode character from it,
2591 and call g_unichar_isprint to determine whether the
2592 is_text flag should be TRUE or FALSE.
2596 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2598 * atk-bridge/bridge.c: Add support for extended events
2599 * cspi/spi_event.c: Add documentation and implementation for
2601 * tests/event-listener-test.c: Add tests for extended events.
2603 This fixes bugs #100424 and #100426.
2605 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2607 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2608 of LT_CURRENT. This fixes bug #89350.
2610 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2612 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2613 number of signal parameter values before accessing them. This fixes
2616 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2618 * configure.in: Fixed duplicate inclusion of -lspi.
2619 * branched for gnome-2-2/HEAD.
2620 [created tag "gnome-2-2"]
2622 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2624 * configure.in: 1.1.9 release.
2627 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2629 [needed by GOK, to fix bugs 107985 and 107988]
2630 * registryd/deviceeventcontroller.c:
2631 (spi_dec_clear_unlatch_pending):
2632 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2633 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2634 (spi_dec_init_mouse_listener):Emit warning if mouse button
2636 (spi_device_event_controller_forward_mouse_event):
2637 Removed unnecessary parens from a conditional.
2638 (global_filter_fn):Added TODO comment.
2639 (impl_generate_keyboard_event):
2640 Cancel a pending relatch if a 'delatching' key was
2643 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2645 * atk-bridge/bridge.c:
2646 Change atk_signal_child_changed to atk_signal_children_changed.
2647 Reorganize code in spi_atk_bridge_signal_listener().
2649 * test/event-listener-test.c:
2650 Add children_changed_listener and report_children_changed_event()
2651 to test AccessibleChildEvent_getChildAccessible.
2653 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2655 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2656 g_strdup to CORBA_String_dup (bug #105291)
2658 * test/event-listener-test.c (report_text_event): Add call to
2661 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2663 * registryd/deviceeventcontroller.c:
2664 (spi_keystroke_from_x_key_event):
2665 Fix string and keysym return codes to match modifier state.
2668 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2670 * registryd/deviceeventcontroller.c:
2671 (spi_keystroke_from_x_key_event):
2672 Fix segv due to improper use of isprint(c). [bug #107254]
2674 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2677 (get_accessible_text_boundary_type):
2678 Move default return value to (new) default case in switch.
2679 (get_accessible_text_clip_type):
2680 Move default return value to (new) default case in switch.
2682 * libspi/application.c:
2683 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2684 Remove unused methods.
2685 (impl_accessibility_application_register_object_event_listener):
2686 Remove unused methods.
2689 Added #include of <math.h>.
2691 * registryd/deviceeventcontroller.c:
2692 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2693 we don't currently use this method.
2694 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2696 (impl_generate_key_event):
2697 Remove unused variables.
2698 (impl_generate_mouse_event):
2699 Initialize button to zero, just in case we get an invalid
2700 input. Added support for mouse buttons 4 and 5.
2701 (spi_device_event_controller_new):
2702 Removed unused variable declaration for 'private'.
2704 Added #include of <gdk/gdk.h>
2706 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2708 * configure.in: Update to work when X is not installed in expected
2709 location. Fixes bug #105836.
2711 * atk-bridge/bridge.c
2712 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2714 (spi_atk_register_event_listener): Add signal listener for
2716 (spi_atk_bridge_signal_listener): Event event when link-selected
2717 signal is emitted. (bug #104622)
2719 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2720 on returned string. (bug #105291)
2722 * test/event-listener-test.c: Add test for link-selected.
2724 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2726 * atk-bridge/Makefile.am: Correct typo in previous commit.
2728 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2730 * atk-bridge/Makefile.am: Allow for build directory to be different
2731 from source directory
2733 * registryd/Makefile.am: Allow for build directory to be different
2734 from source directory
2738 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2741 Fixed dependencies for libcspi so that libspi gets pulled in
2742 properly. Fixes 104741.
2746 Clean up inline docs a little.
2748 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2750 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2751 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2752 the AtkObject within an SpiDesktop.
2753 This addresses bug #101524.
2755 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2756 Remove call to gdk_init().
2758 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2759 so that Display is set when SpiDesktop is created.
2761 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2763 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2764 This fixes bug #102830.
2766 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2768 * test/test-simple.c: Update to take account of fact that GailButton
2769 now implements AtkText.
2770 (create_text_window): Set name on AtkObject for GtkEntry.
2771 (validate_accessible): Check accessible name before calling test_text().
2773 * libspi/Makefile.am: Fix problem with building outside of source
2774 directory. Bug #98120.
2776 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2777 typo in documentation comments. Bug #94275.
2779 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2781 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2783 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2786 Add includes to avoid compiler warnings on Solaris.
2787 (impl_getRangeExtents): Bug fix.
2789 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2791 Fix for 100944, [API addition approved by Gman and murrayc].
2798 * idl/Accessibility_Text.idl:
2799 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2800 (Text::getRangeExtents): New method for efficient
2801 bounds query of a text range.
2802 (Text::getBoundedRanges): New method for efficient
2803 clipping of text to bounding boxes.
2804 (unImplemented7, unImplemented8):
2805 Removed these padding methods to preserve bincompat.
2808 (impl_getRangeExtents): implementation of new IDL.
2809 (impl_getBoundedRanges): implementation of new IDL.
2810 (SpiTextRect): Internal use struct.
2811 (_spi_text_rect_union): internal method, calculates union of two
2812 SpiTextRect bounding rects.
2813 (_spi_text_range_seq_from_gslist): internal method, allows us
2814 to build our sequence efficiently as a gslist then convert it
2816 (_spi_bounds_contain): internal method, determines whether
2817 a text character is "in" or "out" of a clip rect according to
2818 values of TEXT_CLIP_TYPE.
2819 (spi_text_class_init): Initialize the new methods in the epv.
2822 (AccessibleTextClipType): New enum used by screen review api.
2823 (AccessibleTextRange): New struct used by screen review api.
2824 (AccessibleText_getRangeExtents):
2825 cspi binding for Accessibility_Text_getRangeExtents.
2826 (AccessibleText_getBoundedRanges):
2827 cspi binding for Accessibility_Text_getBoundedRanges.
2828 (AccessibleTextRange_freeRanges): convenience method.
2831 (AccessibleText_getRangeExtents):
2832 cspi binding for Accessibility_Text_getRangeExtents.
2833 (AccessibleText_getBoundedRanges):
2834 cspi binding for Accessibility_Text_getBoundedRanges.
2835 (AccessibleTextRange_freeRanges): convenience method.
2836 (get_accessible_text_clip_type): internal conversion method.
2837 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2839 * registryd/deviceeventcontroller.c:
2840 (spi_dec_mouse_check):
2841 Improved behavior for mouse:abs events
2842 [same granularity as mouse:rel events, and no
2843 events when mouse is idle].
2845 2002-12-16 Michael Meeks <michael@ximian.com>
2847 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2849 * libspi/stateset.c (state_spi_to_atk): split out
2850 ( fix several remote array bounds nasties )
2851 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2852 (impl_remove): make safe from array bounds issues.
2853 (spi_atk_state_from_spi_state): impl.
2855 * libspi/stateset.h (spi_state_set_cache_is_empty):
2856 add a set of wrapper defines to get layering right.
2858 * cspi/spi_accessible.c: update state set stuff to
2861 2002-12-14 Michael Meeks <michael@ximian.com>
2863 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2864 to avoid 2 roundtrips to the registry per key event
2865 (spi_atk_bridge_key_listener): upd.
2866 (deregister_application): release the dec.
2868 * registryd/registry.c (notify_listeners_cb):
2869 bin lots of re-enterant complexity - we no longer
2870 do a round-trip bonobo ref here, ensure that a single
2871 listener's exception failure won't poison all other
2873 (impl_registry_notify_event): bin obvious memory leak.
2875 2002-12-13 Michael Meeks <michael@ximian.com>
2877 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2878 init the ev so the error is meaningful.
2879 (spi_atk_bridge_key_listener): ditto.
2881 * cspi/spi_main.c (cspi_ev): init the ev so we start
2882 with a clean slate, otherwise the first exception
2883 kills us completely.
2885 * cspi/spi_text.c (get_accessible_text_boundary_type):
2886 add a fallthrough for no warnings.
2888 * cspi/spi_registry.c: prune unused warnings.
2890 * cspi/spi_main.c (cspi_object_take): fix
2891 mind-blowing brokenness ( by watching the compile
2894 * cspi/spi_accessible.c (Accessible_getStateSet):
2895 re-impl. to use an AtkStateSet.
2896 (spi_state_type_from_accessible_state),
2897 (init_state_table): bin these.
2899 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2901 (atk_state_set_from_accessibility_state_set): here.
2903 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2904 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2905 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2906 (AccessibleStateSet_add, AccessibleStateSet_remove),
2907 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2908 (AccessibleStateSet_isEmpty): re-write to use a local
2911 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2913 * configure.in: Revved to 1.1.7 (new keymask vals).
2915 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2917 * libspi/keymasks.h:
2918 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2920 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2923 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2924 to compare two CORBA_TypeCodes.
2925 (cspi_internal_event_add): Silence warning from FORTE compiler.
2927 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2928 avoid implicit declaration of functions.
2930 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2932 * atk-bridge/bridge.c:
2933 (spi_atk_bridge_init_event_type_consts): Store signal id for
2934 active-descendant-changed signal.
2935 (spi_atk_register_event_listeners): Add signal listener for
2936 active-descendant-changed signal,
2937 (spi_atk_bridge_signal_listener): Move code in function
2938 spi_atk-signal_emit_event() into this function.
2939 Add support for active-descendant-changed
2940 Update support for child-changed signal.
2941 (spi_bridge_window_event_listener): Silence warning.
2943 * libspi/spi_private.[ch]:
2944 (spi_init_any_object): Change second parameter from CORBA_Object to
2946 Omit call to CORBA_Object_duplicate().
2947 Set CORBA_any's _value to CORBA_Object*.
2949 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2955 (AccessibleEvent_ref, AccessibleEvent_unref):
2956 New methods, for persisting an event outside the emission context.
2957 Must be used if the new accessor methods are to be called
2958 outside of the event listener's callback.
2960 * cspi/bonobo/cspi-bonobo.c:
2961 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2962 as second parameter instead of NULL, so we can call
2963 cspi_check_ev afterwards.
2966 (cspi_object_take): New internal method,
2967 converts a CORBA_Object reference to a hard ref on
2968 an Accessible if possible, returning NULL if the object
2969 reference is invalid or an Accessible * otherwise.
2972 (AccessibleEvent_ref):
2973 Increment the event's internal private refcount, and
2974 add the event's internal struct to an internal cache
2975 if it's not already there.
2976 (AccessibleEvent_unref):
2977 Decrement the event's refcount and remove it from
2978 the cspi event cache if refcount==0.
2979 (cspi_event_compare): New private method.
2980 Compares two event structs via their ids. Used
2982 (cspi_internal_event_lookup): New private method.
2983 (cspi_internal_event_check): New private method,
2984 a 0-order sanity check for events to make sure their
2985 private data is intact.
2986 (cspi_internal_event_add, cspi_internal_event_remove):
2987 New private methods for managiing the event cache.
2989 * cspi/bonobo/cspi-bonobo-listener.c:
2991 Initialize the new private data elements (id, magic, ref_count).
2993 * atk-bridge/bridge.c:
2994 (spi_atk_bridge_signal_listener):
2995 Fixed bug #100530, passing wrong params to emission func.
2997 * registryd/deviceeventcontroller.c:
2998 (spi_dec_button_update_and_emit):
2999 Fixed type in mask bit operations; fix for #99799.
3001 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3003 Removed some of the more dangerous workarounds from
3004 previous commit; they are only needed by GOK, which
3005 in reality should be using another method to accomplish
3006 the goals. So on reconsideration some of the workarounds
3007 need to be reverted:
3009 * registryd/deviceeventcontroller.c:
3010 (spi_keycodes_contain, spi_dec_init_keycode_list):
3011 Removed these methods, used only by a nasty hack to try
3012 and detect whether a key synthesis should be allowed
3013 to reset the XKB latch state or not. This code was only
3014 required to work around an interaction between GOK,
3015 button events, and XKB.
3016 (impl_generate_key_event):
3017 Removed hack at end of key generation that tried to
3018 "do the right thing" if XKB latch keys were generated
3019 in the midst of button press/release pairs.
3022 Added a check for HAVE_XINPUT. Not normally used yet.
3024 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3026 Workarounds and fixes for mouse event/XKB interaction.
3028 * registryd/deviceeventcontroller.c:
3029 (spi_keycodes_contain, spi_dec_init_keycode_list):
3030 New internal methods.
3031 (spi_dec_set_unlatch_pending):
3032 Split the method that tells XKB to expect an
3033 unlatch (and revert it) out of the rest of the
3034 event handling code. This method is called by the
3035 two mouse event handlers (the poll and the filter).
3036 (spi_dec_update_and_emit, spi_dec_mouse_check):
3037 New methods split from spi_dec_poll_mouse_moved.
3038 The second one is now called from inside the filterFn
3039 when an XKB delatch event is received, to determine
3040 whether to revert the delatch or not.
3041 (spi_poll_mouse_moved): Refactor; also we can now
3042 properly handle the case where multiple button states
3043 have changed between polling cycles and we didn't get
3044 notified due to another client's grab.
3046 Synchronize the server while handling an XKB notification.
3047 Ugly, but apparently necessary to avoid nasty races.
3048 Check the mouse state on receipt of an XKB latch change,
3049 to decide whether to revert the latch or not. (Latches are
3050 reverted if there is an immediately preceding mouse button
3051 event that a client has consumed, in which case we don't want
3052 the user to see the side-effect of the event).
3053 (spi_device_event_controller_forward_mouse_event):
3054 Check for modifier events and fire before resetting mouse_mask_state,
3055 prevents losing modifier events.
3057 (impl_generate_keyboard_event):
3058 If we've just generated a keyboard event for a non-shift key,
3059 we don't want to revert the pending XKB latch.
3060 Otherwise, check the modifier state (via a call to
3061 spi_dev_mouse_check) and set the relatch mask to
3062 that state before returning.
3064 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3067 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3070 * atk-bridge/bridge.c:
3071 (spi_atk_register_event_listeners):
3072 Don't re-register for ATK events if the registry has died
3073 and the app needs to re-register; the ATK listeners are in
3074 process and doing so will cause duplicate emission.
3076 * registryd/deviceeventcontroller.c:
3077 (spi_poll_mouse_moved):
3078 Reformat the source, detect and emit multiple button-change
3079 events (i.e. if multiple buttons have changed between poll
3081 Add code to detect mouse-down events even when the pointer
3082 is grabbed; workaround for GOK bug 98420.
3083 (spi_controller_register_with_devices):
3084 Call XTestGrabControl with 'impervious' flag set to True,
3085 allows us to synthesize events and query the pointer even during
3086 an active grab by another client.
3087 (spi_device_event_controller_forward_mouse_event):
3088 Set the mouse_mask_state to the mouse_button_state from
3089 the intercepted event, to synchronize the grab listener with
3092 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3094 * cspi/spi_accessible.c:
3095 (AccessibleRole_getName):
3096 Added necessary strings for making this (deprecated)
3097 method work with the new role types.
3098 (init_role_table, role_table):
3099 Added definition of SPI_ROLE_APPLICATION.
3101 * libspi/spi-roletypes.h:
3102 Added SPI_ROLE_APPLICATION.
3104 * idl/Accessibility_Role.idl:
3105 Added ROLE_APPLICATION.
3107 * docs/reference/cspi/at-spi-cspi-decl.txt:
3108 Added SPI_ROLE_APPLICATION to docs.
3110 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3112 * cspi/spi_accessible.c
3113 (cspi_init_role_table): Do not write beyond end of role_table.
3114 (Accessible_getRole): Use correct type for value returned by
3115 Accessibility_Accessible_getRole().
3117 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3118 beyond end of role_table. (This fixes bug #98269)
3120 * libspi/application.c: Add include file spi-private.h for
3121 definition of spi_init_any_nil.
3123 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3127 * libspi/spi-private.h:
3128 Added DGB() macro, and extern int _dbg declaration.
3130 * registryd/registry.c:
3131 (definitions) storage for _dbg.
3132 (spi_registry_init):
3133 Get environment variable "AT_SPI_DEBUG".
3134 (spi_registry_set_debug):
3135 New method, to initialize _dbg value.
3136 (spi_listener_struct_new, spi_registry_object_finalize):
3137 (notify_listeners_cb):
3138 Changed fprintfs to use DBG and g_warning().
3140 * registryd/deviceeventcontroller.c:
3141 (_deregister_keygrab, spi_controller_register_device_listener):
3142 Changed debug/warning messages to use DBG macro.
3144 * libspi/listener.c:
3145 (impl_notify_event):
3146 Changed warning messages to use DBG macro and g_warning().
3148 * atk-bridge/bridge.c:
3149 (atk_bridge_init, spi_atk_bridge_get_registry):
3150 (spi_atk_bridge_exit_func):
3151 (spi_atk_bridge_property_event_listener):
3152 Changed status, warning, and error messages to use
3153 g_warning, g_message, and DBG macros.
3156 Read the state of the AT_SPI_DEBUG environment variable
3157 and set a local '_dbg' accordingly.
3159 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3161 FIXES for 98836, 98842, other bugs.
3164 Revved to 1.1.4, interface-age=4, binary-age=4.
3166 * registryd/deviceeventcontroller.c:
3168 Fixed crasher bug in last_mouse_pos initialization.
3170 * registryd/registry.c:
3171 (desktop_add_application, desktop_remove_application):
3172 Added (and then commented out) some support for
3173 object context marshalling. [TODO]
3175 * atk-bridge/bridge.c:
3176 (spi_atk_bridge_event_context_create):
3177 Commented out object context creation until it can
3178 be properly tested and debugged.
3180 * registryd/registry.c:
3181 (impl_registry_notify_event):
3182 Fixed crasher bug, we were calling
3183 spi_re_entrant_list_foreach () with an empty list.
3185 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3187 * idl/Accessibility_Action.idl:
3188 * idl/Accessibility_Component.idl:
3189 * idl/Accessibility_Desktop.idl:
3190 * idl/Accessibility_Event.idl:
3191 * idl/Accessibility_Hyperlink.idl:
3192 * idl/Accessibility_Image.idl:
3193 * idl/Accessibility_Relation.idl:
3194 * idl/Accessibility_Selection.idl:
3195 * idl/Accessibility_State.idl:
3196 * idl/Accessibility_Value.idl:
3197 Updated unimplemented slot count to minimum of
3198 four for all interfaces, for ABI freeze.
3200 * idl/Accessibility_EditableText.idl:
3201 * idl/Accessibility_Text.idl:
3202 Updated unimplemented slot count to six
3205 * idl/Accessibility_Registry.idl:
3206 Updated unimplemented slot count to six
3207 (also for DeviceEventController),
3210 * idl/Accessibility_Table.idl:
3211 Updated unimplemented slot count to eight,
3214 * idl/Accessibility_Event.idl:
3215 Added CORBA_any "any_data" member to Event struct.
3217 * idl/Accessibility_Event.idl:
3218 Added CORBA_any "any_data" member to Event struct.
3220 * atk-bridge/bridge.c:
3222 atk_signal_text_changed, atk_signal_child_changed,
3223 signal ids queried from gtype system.
3224 (AtkBridgeEventContextType): New enum.
3225 (AtkBridgeEventContextData): New struct.
3226 (AtkBridgeEventContext): New struct.
3227 (atk_bridge_init_event_type_consts):
3228 New method, initializes type contants for comparison
3229 prior to emit_eventv.
3230 (atk_bridge_event_context_init): New method,
3231 initializes a CORBA_any from an AtkBridgeEventContext.
3232 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3233 initialize the event.any_data struct.
3234 (spi_atk_bridge_event_context_create): New method,
3235 creates an AtkBridgeEventContext from signal/event info.
3236 (spi_atk_bridge_event_context_free): New method.
3237 (spi_atk_emit_eventv): Changed to take an
3238 AtkBridgeEventContext parameter. We now initialize
3239 the event.any_data member prior to notifying the
3240 Registry, via the AtkBridgeEventContext.
3241 (spi_atk_bridge_property_event_listener):
3242 (spi_atk_bridge_state_event_listener):
3243 Match emit_eventv signature.
3244 (spi_atk_bridge_object_event_listener):
3245 Match emit_eventv signature, and create an
3246 event context from the event details.
3247 Free the event context afterwards.
3248 (spi_atk_bridge_window_event_listener):
3249 Create an event context, pass it to the
3253 (AccessibleEvent_getContextString):
3254 (AccessibleEvent_getContextObject):
3255 New methods, allow query of AccessibleEvent objects
3256 for more context details (via the "any_data" member
3257 of the Event struct, above).
3260 Definitions for AccessibleEvent_getContextString
3261 and AccessibleEvent_getContextObject.
3263 * cspi/spi_listener.h:
3264 (InternalEvent): New struct.
3267 (AccessibleEvent_getContextString):
3268 (AccessibleEvent_getContextObject):
3269 Implementations of new methods, for obtaining
3270 additional context information from some event types.
3272 * cspi/spi_registry.c:
3273 (SPI_registerGlobalEventListener):
3274 Added mention of active-descendant-changed event in docs.
3276 * cspi/cspi-bonobo-listener.c:
3278 Marshal the any into the AccessibleEvent via
3281 * libspi/spi-private.h:
3282 #include <orbit/orbit.h>
3284 (spi_init_any_string):
3285 (spi_init_any_object):
3286 New convenience function declarations.
3290 (spi_init_any_string):
3291 (spi_init_any_object):
3292 New convenience function implementations.
3294 * registryd/deviceeventcontroller.c:
3295 (spi_poll_dec_mouse_moved):
3296 (spi_device_event_controller_forward_mous_event):
3297 Initialize any_data member of event.
3298 (spi_deregister_controller_device_listener):
3299 Fix incorrect param pass which was preventing deregistration.
3301 * registryd/registry.c:
3302 (desktop_add_application):
3303 (desktop_remove_application):
3304 Add object data to event's any_data before dispatch.
3306 Fix for error messages from GAIL.
3308 * test/event-listener-test.c:
3309 Test new ContextString and "any_data" API:
3310 (report_text_event): New method query and output context string.
3311 (main): register a new text listener with report_text_event
3314 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3316 Fixes for bugs 98127 and 97914.
3317 * cspi/spi-roletypes.h:
3318 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3320 * cspi/spi-statetypes.h:
3321 Added SPI_STATE_MANAGES_DESCENDANTS
3323 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3324 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3325 * cspi/spi_accessible.c:
3326 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3327 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3328 Accessibility_STATE_MANAGES_DESCENDANTS
3329 * libspi/accessible.c:
3330 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3331 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3332 As requested by Bill, I also cleaned up the alignment.
3333 * libspi/relation.c:
3334 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3335 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3336 * libspi/stateset.c:
3337 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3338 Accessibility_STATE_MANAGES_DESCENDANTS
3339 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3340 Document changes reflecting modifications to roles.
3341 * docs/reference/cspi/tmpl/spi_relation.sgml:
3342 Document changes reflecting modifications to relations.
3343 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3344 Document changes reflecting modifications to states.
3346 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3349 Revved to 1.1.3, interface-age=3, binary-age=3.
3350 Added REBUILD macro.
3353 Removed accessx-gui from the tests, since we have a nice
3354 keyboard accessibility capplet now :-)
3356 * test/keysynth-demo.c:
3357 (increment_scan): removed do-nothing default: case,
3360 * test/visual-bell.c:
3361 (main) : removed do-nothing default: case,
3364 * cspi/spi_action.c:
3365 (AccessibleAction_getKeyBinding_):
3366 Documented keybinding string format.
3370 (AccessibleText_getAttributes):
3371 Documented the text attribute string format.
3372 It's changed to use semicolon delimiters also,
3373 to prevent clashes with CSS attributes, but the old
3374 trick of looking for ", " strings will still work
3375 (as unreliably as ever). Fix for bug related to 97916.
3378 Include <cspi/bonobo/cspi-bonobo-listener.h>
3379 Fixes build warning.
3380 (SPI_freeAccessibleKeySet):
3381 (AccessibleKeystrokeListener_addCallback):
3382 (AccessibleKeystrokeListener_removeCallback):
3383 Modify to use AccessibleDeviceListener API internally,
3384 instead of AccessibleKeystrokeListener.
3386 * idl/Accessibility_Event.idl:
3387 Added two more empty slots to EventListener (for a total of four).
3389 * idl/Accessibility_Accessible.idl:
3390 Added four empty slots to Accessible interface.
3392 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3394 * idl/Accessibility_Registry.idl:
3395 (KeyEventType, EventType):
3396 Marked KeyEventType as deprecated; it duplicates
3397 functionality of EventType, which has been extended to
3398 include Mouse-button events.
3399 (KeyEventTypeSeq): defined in terms of EventType.
3400 (registerDeviceEventListener, deregisterDeviceEventListener):
3401 New methods, for managing listeners to device events,
3402 which potentially may consume them.
3405 Added definition for AccessibleDeviceListener.
3407 * cspi/spi-listener.h:
3408 (enum AccessibleDeviceEventType):
3409 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3410 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3411 for backwards compat.
3412 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3413 and typedef'd AccessibleKeystroke to it for back-compat.
3414 (AccessibleDeviceListenerCB):
3415 New function prototype typedef.
3418 (AccessibleDeviceEventMask): New typedef.
3419 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3420 (AccessibleKeyMaskType):
3421 Set equivalent to AccessibleModifierMaskType for back-compat.
3422 (SPI_createAccessibleKeystrokeListener):
3423 (AccessibleKeystrokeListener_unref):
3424 Deprecated in favor of equivalent (better-named) new API below..
3425 keystroke listeners are like all device listeners.
3426 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3427 New API names for old features :-).
3428 (AccessibleDeviceListener_addCallback):
3429 (AccessibleDeviceListener_removeCallback):
3430 (SPI_registerDeviceEventListener):
3431 (SPI_deregisterDeviceEventListener):
3435 (SPI_createAccessibleKeystrokeListener):
3436 Use new preferred API, cspi_device_listener_new() and
3437 cspi_device_listener_add_cb().
3438 (AccessibleKeystrokeListener_removeCallback):
3439 Use new preferred API, cspi_device_listener_remove_cb().
3440 (AccessibleKeystrokeListener_unref):
3441 Use new preferred API, cspi_device_listener_unref().
3442 (SPI_createAccessibleDeviceListener):
3443 (AccessibleDeviceListener_addCallback):
3444 (AccessibleDeviceListener_removeCallback):
3445 Implementation of new API.
3447 * cspi/spi_registry.c:
3448 (SPI_registerDeviceEventListener):
3449 (SPI_deregisterDeviceEventListener):
3450 Implementation of new API. Fixed memory leak and removed need to
3451 allocate EventTypeSeq (thanks Michael for catching this).
3452 Squashed a wayward CORBA_exception_free that shouldn't get called.
3454 * cspi/bonobo/cspi-bonobo-listener.c:
3456 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3457 (cspi_key_event): renamed to cspi_device_event().
3458 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3459 Extended to handle mouse button events as well as key events.
3460 (CSpiKeystrokeListener):
3461 Class superceded by CSpiDeviceListener.
3462 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3463 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3465 * cspi/bonobo/cspi-bonobo-listener.h:
3466 (CSpiKeystrokeListener):
3467 Class superceded by CSpiDeviceListener.
3468 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3469 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3471 * libspi/Makefile.am:
3472 Replaced keystrokelistener.h and keystrokelistener.c
3473 with devicelistener.h and devicelistener.c; keystrokelisener.h
3474 stub retained for back-compat.
3476 * libspi/keystrokelistener.c:
3480 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3482 * registryd/deviceeventcontroller.c:
3483 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3484 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3485 (DEControllerPrivateData): Added xkb settings data.
3486 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3487 button release events (which can't be captured via XGrabButton).
3488 Don't dispatch via the 'normal' event mechanism if the device event was
3490 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3491 Handle the typeseq data in its new location (see above).
3492 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3493 New methods, for "generic" device listeners.
3494 (spi_controller_register_device_listener):
3495 Now handle mouse event listeners as well as key listeners.
3496 (spi_controller_notify_mouselisteners):
3497 New internal method.
3498 (spi_device_event_controller_forward_mouse_event):
3499 Now we notify mouse device listeners as well as generating the
3500 non-consumable "mouse:" events.
3502 We must check and restore the XKB
3503 modifier map if we consume the event, since the act of triggering
3504 a mouse event will normally reset the XKB latch. This is required for
3506 (spi_controller_register_with_devices):
3507 Load the XKB settings when registering, and register for XKB
3508 state notify events.
3509 (spi_key_eventtype_seq_contains_event):
3510 Renamed spi_eventtype_seq_contains_event, since it's used
3511 internally for all device event types now.
3512 (spi_key_event_matches_listener):
3513 Uses spi_eventtype_seq_contains_event now.
3514 (spi_device_event_controller_object_finalize):
3515 Free the private data and the XkbKeyboard struct.
3516 (impl_register_device_listener, impl_deregister_device_listener):
3517 Implementation of new IDL.
3518 (spi_deregister_controller_device_listener):
3519 New internal method.
3520 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3521 More efficient implementation, we don't have to create a new
3522 XkbControls structure every time we query.
3523 (spi_device_event_controller_class_init):
3524 Initialize the epv entries for the new IDL. Assign the
3525 "spi-dec-private" quark.
3526 (spi_device_event_controller_init):
3527 Initialize the private data.
3528 (spi_device_event_controller_forward_key_event):
3529 Removed a bogus CORBA_exception_free() call.
3531 * registryd/deviceeventcontroller.h:
3532 Replaced inclusion of keystrokelistener.h with
3535 * test/event-listener-test.c:
3536 (report_mouse_event):
3539 Added mouse-event device listener.
3541 * test/test-simple.c:
3542 (create_test_window):
3543 Fixed regression (we were instantiating a GtkRange,
3544 which is now an abstract class). Also fixed to match
3545 existing AtkRole names, this seems to have changed in ATK
3546 awhile ago; too late now I think, and the new
3547 mechanism is at least elegant and consistent with the
3548 glib enum "nick" APIs.
3550 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3552 * idl/Accessibility_Relation.idl:
3553 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3554 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3555 * idl/Accessibility_Role.idl:
3556 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3557 * idl/Accessibility_State.idl:
3558 add STATE_MANAGES_DESCENDANTS
3559 * test/event-listener-test.c:
3560 Added a listener for active-descendant events.
3562 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3564 * atk-bridge/bridge.c
3565 (atk_bridge_init): If application is Bonobo component wait until top
3566 level is added before registering
3567 (spi_atk_bridge_do_registration): New function which contains code,
3568 formerly in atk_bridge_init, to do application registration.
3569 (spi_atk_bridge_toplevel_added): Signal called when top level
3570 added to Bonobo component
3572 This fixes bug #83134.
3574 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3576 * registryd/deviceeventcontroller.c
3577 Fixed compilation error caused by calling gettimeofday()
3580 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3585 Added template for HAVE_XKB.
3588 Changes to check for XKB, and to set the HAVE_XKB #define if it
3591 * libspi/listener.c:
3592 ()impl_notify_event): Make failure to get event source name
3595 * registryd/deviceeventcontroller.c:
3596 (#include): include X11/XKBlib.h.
3597 (DEControllerPrivateData) : New struct.
3598 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3600 (dec_synth_keycode_press) (dec_synth_keycode_release):
3601 New methods; split the key synthesis code into these methods.
3602 They check XKB settings before determining the "time" values to
3603 pass to Xtest; this fixes bug #95828.
3604 (impl_generate_keyboard_event): Changed to use methods above,
3605 instead of callng Xtest directly.
3606 (spi_device_event_controller_init): Initialize new privae struct s
3608 (spi_device_event_controllr_object_finalize):
3609 Free the (new) private data.
3611 * registryd/deviceeventcontroller.h:
3612 Add new gpointer to end of struct data.
3614 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3617 Incremented revision to 1.1.2, SONAME is still '.so', library
3618 extensions are ".so.0.0.2".
3620 * registryd/deviceeventcontroller.c:
3621 FIXES FOR #93592 and #95940.
3622 (statics): renamed mouse_button_state to mouse_mask_state,
3623 added key_modifier_mask.
3624 (spi_dec_poll_mouse_moved):
3625 Added key modifier checks, and emit "keyboard:modifiers"
3626 events when the key modifiers currently in use change.
3627 Also generate "mouse:abs" events periodically, even if the mouse
3628 is stationary (should we?).
3629 Alternatively we could generate "mouse:abs" events for either all
3630 mouse movements, or every 'nth' mouse movement, or at the
3631 beginning and end of every "active" mouse period.
3633 * test/event-listener-test.c:
3634 (main): Added listener for "keyboard:modifiers" events.
3636 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3638 * libspi/keymasks.h:
3639 Added key mask #defines for mouse buttons; e.g.
3640 SPI_KEYMASK_BUTTON1, etc.
3643 Incremented dependency on ATK to version 1.1.0. (This dependency
3644 is probably premature but will soon be real enough).
3646 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3648 * libspi/hyperlink.[ch]
3649 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3650 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3653 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3658 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3660 * registryd/deviceeventcontroller.c
3661 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3662 events to be ignored.
3663 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3664 keyboard_mode so that XAllowEvents() can be called.
3668 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3670 * cspi/spi-accessible.c: Correct names of roles returned by
3671 AccessibleRole_getName(). Fixes bug #95055.
3673 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3675 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3678 * registryd/registry.c
3679 (desktop_remove_application: Write diagnostic message to stderr for
3682 (impl_accessibility_registry_deregister_global_event_listener):
3683 Correct size of lists array. This addresses bug #94555).
3685 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3687 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3690 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3692 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3695 * registryd/registry.c (impl_registry_notify_event): Remove
3696 unnecessary call to parser_event_type().
3698 * docs/reference/cspi/tmpl/spi_component.sgml:
3699 Add reference to SPI_LAYER_WINDOW.
3701 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3703 * registryd/registry.c
3704 (desktop_add_application): Remove leak.
3705 (desktop_remove_application): Remove leak.
3706 (parser_event_type): Remove leak.
3708 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3710 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3711 bogus call to CORBA_string_dup(). Also removed unnecessary
3712 g_string_dup/g_free calls.
3714 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3716 * registryd/deviceeventcontroller.c:
3717 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3719 * test/event-listener-test.c:
3720 main: commented out three redundant listeners, to reduce output
3721 noise. (They still are potentially useful for testing).
3724 2002-09-13 Michael Meeks <michael@ximian.com>
3726 * Update all the copyrights to include Ximian.
3728 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3730 * cspi/spi.h: add SPI_LAYER_WINDOW.
3732 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3733 add Accessibility_LAYER_WINDOW case.
3735 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3737 * libspi/component.c: (impl_accessibility_component_get_layer):
3738 add ATK_LAYER_WINDOW case.
3740 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3742 * configure.in: incremented micro version.
3744 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3746 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3749 Clarified and reworded our commit policy.
3752 Started an API "todo" addition list for 2.2.
3755 (impl_getSelection):
3756 Free char pointer from atk_text_get_selection, which was being leaked.
3758 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3761 Small revision to author acknowledgement.
3763 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3765 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3766 If signal has detail add it to the type of the event.
3769 2002-08-12 Michael Meeks <michael@ximian.com>
3771 * test/test-simple.c (global_listener_cb): bin bogosity.
3772 (test_keylisteners): disable, still doesn't work reliably,
3773 certainly not on my system anyway.
3775 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3776 don't leak a reference on the DEC. This round-trip
3777 fetching of the DEC per keystroke sucks, it should be
3780 * cspi/spi-private.h,
3781 * cspi/cspi-lowlevel.h,
3782 * cspi/bonobo/cspi-bonobo-listener.[ch],
3783 * cspi/bonobo/cspi-bonobo.c: get the copyright
3784 notices better - there is still a large amount of
3785 work in at-spi falsely attributed solely to Sun.
3787 * cspi/spi_main.c (cspi_object_ref): kill bogus
3788 hash lookup, just increment the ref.
3789 (SPI_freeString): make explicit the fact that we
3790 handle NULL strings just fine.
3791 (report_leaked_ref): obey coding standards.
3792 (cspi_object_hash, cspi_object_equal): kill retval.
3793 (cspi_object_release): only release if not on loan.
3794 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3795 (cspi_object_borrow, cspi_object_return): impl.
3797 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3798 use cspi_object_borrow / return.
3800 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3802 * cspi/bonobo/cspi-bonobo-listener.c:
3804 Don't call cspi_oject_new() because this is creating a new Accessible
3805 every single time that an event is fired. This causes ATs like at-poke
3806 to nolonger recognise the source of the event and thus ignore it.
3807 Re-use the object from the cache, ref it and then unref it after the
3808 listeners have been called.
3810 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3812 * test/event-listener-test.c:
3813 Added command-line options to disable mouse events (m) and
3816 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3818 * configure.in: Update required versions of ATK, GTK+ and GAIL
3820 * cspi-1.0.pc.in: Add dependency for X include files
3823 * cspi/bonobo/Makefile.am:
3824 Add $(X_CFLAGS) so that X include files
3825 are picked up even if not in standard place (bug #71686)
3827 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3829 * registryd/deviceeventcontroller.c: fix for 84261
3830 (spi_dec_mouse_moved):
3831 Added test of mouse button mask, so that we can detect mouse
3832 button release. Unfortunately we can't otherwise detect mouse
3833 button release events without consuming the mouse press event,
3834 because of the way XGrabButton works. This means that our mouse
3835 release events have a latency dependent on the polling period
3836 while the mouse button is down. At least in this case we only
3837 have to poll while the button is down, and not at other times.
3838 If the button masks don't match with what the last press event
3839 reported, we report the appropriate button release event.
3840 (spi_dec_ungrab_mouse):
3841 New method (not yet called).
3842 (spi_device_event_controller_forward_mouse_event):
3843 New method, sends mouse press event from GdkFilter.
3844 (spi_dec_init_mouse_listener):
3845 Added code to call XGrabButton, redirecting mouse button events to
3846 the root window and our Gdk event loop.
3848 Added code to filter mouse button events, and reordered.
3850 * test/event-listener-test.c:
3852 Added registration for mouse events of type "mouse:button".
3854 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3856 * registryd/deviceeventcontroller.c: partial fix for 84261
3857 (spi_dec_poll_mouse_idle):
3858 New method, a timeout which checks to see if the mouse
3860 (spi_dec_poll_mouse_moving):
3861 A timeout to be called when mouse motion is underway.
3862 (spi_dec_poll_mouse_moved):
3863 A method which fires an event if the mouse has moved, and reports
3864 whether or not it did so.
3865 (spi_dec_init_mouse_listener):
3866 A method which sets up the timeouts above.
3867 (spi_device_event_controller_new):
3868 Now calls spi_dec_init_mouse_listener.
3870 * registryd/registry.c:
3871 (spi_registry_init):
3872 Now we initialize the device event controller when the registry is
3873 initialized, instead of waiting until a client has requested a key
3874 event notification; this is because we need the event controller
3875 for mouse events, but the mouse event registration API is a
3876 "registry" call and doesn't explicitly call the
3877 deviceeventcontroller.
3878 We now report mouse motion events with a 100 ms idle latency and
3879 a 20 ms granularity when motion is in progress.
3881 * test/event-listener-test.c:
3883 We now register the "detail listener" for events of type
3884 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3885 delivered only for the first mouse event received, and thereafter
3886 "mouse:abs" events are delivered.)
3888 * cspi/spi_registry.c:
3889 DOCS: Documented the above mouse event typestrings.
3891 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3893 Happy Summer Solstice...
3895 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3896 (spi_controller_notify_keylisteners):
3897 Changes to remove a listener from the listener list, freeing its
3898 open keygrabs, if a notification to that listener fails. This
3899 means that although a dead listener can continue to hold a passive
3900 keygrab, a maximum of one dispatch to such a listener can fail
3901 before the listener is removed from the list, thus the keygrab
3902 will be released on the next occurrence.
3903 As part of this fix:
3904 (spi_notify_keylisteners):
3905 Renamed to spi_controller_notify_keylisteners, as the controller
3906 instance must now be passed as an argument.
3907 The copied 'notify' GList is now a list of DEControllerKeyListener
3908 objects, since we need more than just the CORBA reference if a
3909 notify fails and we need to deregister the listener.
3910 (impl_notify_listeners_sync):
3911 (impl_notify_listeners_async):
3912 (spi_device_event_controller_forward_key_event):
3913 Modify use of notify_keylisteners in accordance with above
3915 (spi_deregister_controller_key_listener):
3916 New method introduced by refactoring, from
3917 impl_deregister_keystroke_listener.
3918 (impl_deregister_keystroke_listener):
3919 Call spi_deregister_controller_key_listener.
3920 (spi_key_listener_clone):
3921 New method to copy a key listner without doing a 'ref' on the
3922 remote object instance; used to create a notifier list.
3923 (spi_key_listener_data_free):
3924 New method, frees data without unreffing the source.
3926 (spi_key_listener_clone_free): new method.
3927 (spi_key_listener_free):
3928 refactored to call spi_key_listener_data_free.
3930 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3932 * registryd/registry.c: [fix for bug 86048]
3933 (notify_listeners_cb):
3934 Clear CORBA system exceptions which occur when notifying
3935 listeners, before returning to the source of the original event,
3936 since the event source doesn't care if the relayed notify failed.
3937 In other words, don't complain to the atk-bridge if the registry
3938 could not notify all its listeners, that's no fault of the
3939 application and thus should not appear to be an error from the
3940 application's perspective.
3942 * cspi/spi_main.c: [fix for bug 85980]
3944 Replaced use of bonobo_object_dup_ref with call to the wrapper
3945 method, csou_dup_ref (); this silences a compiler warning and
3946 provided more portability.
3948 Ping the registry before return, and restart if necessary.
3950 * cspi/bonobo/cspi-bonobo.c:
3952 New internal method.
3954 Fixed this method to return an object reference, as it should have
3957 * cspi/cspi-lowlevel.h:
3958 Added internal definition for cspi_ping() and fixed
3959 return type of cspi_dup_ref().
3962 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3964 * atk-bridge/bridge.c: [fix for bug 85305]
3965 (spi_atk_bridge_register_application):
3966 New method where the initial application registry calls have been
3967 moved; it allows an application to re-register in response to
3968 certain error conditions (such as a registry restart, see below).
3970 Moved some initialization code to the method
3971 spi_atk_bridge_get_registry, below.
3972 (spi_atk_bridge_get_registry):
3973 New, private accessor function for the Accessibility_Registry
3974 instance. If the registry has not been started before, or has
3975 died (as detected by failure of a CORBA exception), it is
3976 restarted before return, and spi_atk_bridge_register_application
3977 is called again to register with the new bridge instance.
3978 (spi_atk_emit_eventv):
3979 Set registry_died on error; use spi_atk_bridge_get_registry () to
3980 access the registry.
3982 * registryd/registry.c:
3983 (impl_accessibility_registry_register_global_event_listener):
3984 Set listener's event_type_quark to etype.minor instead of
3985 etype.major (fix for bug 84856).
3987 * test/event-listener-test.c:
3988 (report_detail_event):
3989 Change the output string so that user/tester can tell that the
3990 'detail listener' was called instead of the 'generic listener'.
3992 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3994 Fixes for bugs 84900, 84908, 84897, 84898.
3999 Revved version to 1.1.0
4000 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4001 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4003 * idl/Accessibility_Registry.idl:
4004 (EventListener::notifyEvent):
4005 Removed 'oneway' directive after extensive consulation with
4006 ORBit2 team and others. This means also that unref() of the event
4007 source can and should be done synchronously after emission, rather
4008 than remotely in the client, after servicing the notify call on
4011 NOTE: This change speeds up listener performance considerably, but
4012 introduces new latency on the application side. We may want to
4013 add an event queue to the atk-bridge.
4015 * atk-bridge/bridge.c:
4016 (spi_atk_bridge_focus_tracker):
4017 Do a local unref() on the event source after emission.
4019 * registryd/registry.c:
4020 (desktop_remove_application):
4021 Do an unref() on the event source after emission.
4022 (desktop_add_application):
4023 Do an unref() on the event source after emission.
4024 (notify_listeners_cb):
4025 When relaying an event, don't automatically add the event source
4026 to the local object cache, just CORBA_dup it instead. Likewise,
4027 if this method reenters, release the ref rather than calling
4029 (impl_registry_notify_event):
4030 No longer call remote unref() on the event source after dispatch.
4032 * libspi/eventlistener.c:
4033 (impl_accessible_event_notify_event):
4034 Removed remote unref ()
4036 * cspi/bonobo/cspi-bonobo-listener.c:
4038 We now call cspi_object_new() instead of cspi_object_add() on
4039 receipt of an event; thus we only have an implicit object ref
4040 while the cspi_event method is being executed. If we need to keep
4041 a reference to the object, the listener must call ref() on the
4042 object. Thus also we don't need to call cspi_object_unref() after
4043 invoking the listener callbacks in this method.
4047 New internal API for creating a new cspi object, without adding it
4048 to the object cache.
4050 Now uses cspi_object_new() to create the cspi object instance.
4052 Now checks to see if the object is in the internal object cache,
4053 and adds it if necessary before incrementing its refcount (note
4054 that new objects are added with a refcount of 1).
4055 (report_leaked_ref):
4056 New method which gives some information on leaked object instances
4057 if leak detection is turned on.
4059 * test/event-listener-test.c:
4060 (timing_test_event):
4061 New method, used for testing event delivery timing for special
4062 events of type "object:test". It reports elapsed time and
4063 events/sec every 500 events.
4065 Added a new listener, 'test listener', to check timing of event
4066 receipt as noted above.
4068 Added some timing output here also, reports elapsed time every 100
4071 * test/stress-test.c:
4072 Emit events of type "object:test", for use with "event-listener-test".
4074 * test/test-simple.c:
4075 (global_listener_cb):
4076 Call Accessible_ref() on the event source before calling
4077 validate_accessible, since the validation process does pointer
4078 comparisons on the event source, meaning that the event source
4079 needs to be added to the local object cache first. Any use of
4080 such pointer comparisons between Accessible objects requires that
4081 the caller hold an explicit reference to those objects.
4082 We also must therefore call Accessible_unref() when leaving this method.
4084 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4086 * registryd/deviceeventcontroller.c:
4087 (spi_controller_update_key_grabs):
4088 Fix for #84735, subsequent keygrab listeners not informed of
4089 registration failure.
4092 (spi_base_construct):
4093 Add an assertion on construct, to make sure the GObject passed in
4094 is really a GObject.
4096 Explicitly initialize object->gobj pointer to NULL;
4098 * cspi/bonobo/cspi-bonobo-listener.c:
4099 (cspi_object_add_ref):
4100 New method, can specify whether to dup-ref a bonobo object passed
4101 in if it's newly added to the object cache.
4103 Now calls cspi_object_add_ref with second param of "FALSE". This
4104 prevents us from doing a pointless dup-ref followed by
4105 release-unref for all those cases where the object is already in
4106 our object cache (fix for #85205).
4108 * atk-bridge/bridge.c:
4109 (spi_atk_bridge_idle_init):
4110 Removed this method, we don't need to initialize in an idle
4113 Changed to call spi_atk_register_event_listeners directly, not via an
4114 idle handler. (fix for #81139)
4115 (gnome_accessibility_module_shutdown):
4116 Removed conditional around deregistration of listeners, since we
4117 don't use the idle handler and thus have always registered when
4119 (spi_init_keystroke_from_atk_key_event):
4120 Changed references to Accessibility_KEY_PRESSED to
4121 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4123 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4125 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4130 * test/stress-test.c:
4133 (may have been an incomplete commit yesterday?)
4135 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4138 Added target for new stress-test.
4140 * test/stress-test.c:
4141 New test, sends 1000 focus notifies in quick succession.
4143 * test/key-listener-test.c:
4144 Now we report whether a keylistener registration
4145 request succeeded or failed.
4147 * test/event-listener-test.c:
4148 Uncommented some listeners which are now implemented.
4151 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4153 * registryd/deviceeventcontroller.c:
4154 (spi_controller_update_key_grabs):
4155 Fix for #82509, lack of failure notification when
4156 ALL_WINDOWS keygrabs fail due to XGrabKey
4157 failure: we synchronize the server when
4158 registering a passive grab, to make sure we get the
4159 error message before the call returns.
4161 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4163 * test/test-simple.c:
4165 Removed #ifdef KEY_IMPL_WORKS guards.
4166 (test_keylisteners):
4167 Removed #ifdef KEY_IMPL_WORKS guards.
4168 Fixed bug which was causing a hang waiting for a
4169 "press" event (which was already overwritten by a "release"
4170 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4172 Added code to set globals 'key_press_received' and
4173 'key_release_received'.
4176 Added section "1.1 API Proposed Additions" which
4177 lists API additions desired for at-spi-1.1 (only one so far).
4178 Updated TODO list a little.
4180 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4182 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4185 * configure.in: Revved to 1.0.0.
4187 * idl/Accessibility_Registry.idl:
4188 (registerKeystrokeListener):
4189 Added boolean return value.
4191 * registryd/registry.c:
4192 (notify_listeners_cb): Minor fix to debug output.
4194 * registryd/Accessibility_Registry.server.in.in:
4195 Revved version number in OAFIID to 1.0.
4197 * registryd/registryd.c:
4199 Use new OAFIID version.
4201 * cspi/bonobo/cspi-bonobo.c:
4203 Use new OAFIID version.
4209 * atk-bridge/bridge.c:
4211 Use new OAFIID version.
4213 * registryd/deviceeventcontroller.c:
4214 (impl_register_keystroke_listener):
4215 Added CORBA_boolean return value.
4216 (spi_controller_register_device_listener):
4217 Added gboolean return value.
4218 (spi_controller_register_global_keygrabs):
4219 Added gboolean return value.
4220 (spi_key_set_contains_key):
4221 Added implementation for many more control keys,
4222 for instance F1-F12, arrow keys, End, Home, Page_Up,
4224 [TODO: some still not implemented].
4226 * text/screen-review-test.c:
4227 (text_chunk_pad_string):
4228 New function: it provides mapping between coordinate
4229 positions of text chunks and character positions in the
4230 screen-review-line output string.
4231 (text_chunk_to_string):
4232 New function, calls text_chunk_pad_string with various
4233 pad/delimiter characters. Pushbuttons are delimited with
4234 square brackets, Frames with vertical 'pipe' lines, and
4235 other text with double quotes.
4236 (text_chunk_list_to_string):
4237 Calls new function text_chunk_to_string.
4238 (toplevel_composite):
4239 New function to composite layers CANVAS through
4240 POPUP in each toplevel (other layers are composited
4241 across toplevels, i.e. BACKGROUND and OVERLAY).
4242 (review_buffer_composite):
4243 Revise to use new methods.
4249 2002-05-31 Laszlo Peter <laca@sun.com>
4251 * configure.in: add the Xtst libdir to the runpath on Solaris,
4252 since it's not in the default library search path.
4254 2002-05-29 jacob berkman <jacob@ximian.com>
4256 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4258 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4260 * test/screen-review-test.c:
4261 (text_chunk_pad_string):
4262 Added method, which pads the string according to the
4263 text bounds of the chunk. It also takes a 3-character
4264 string as a param which indicates the characters to be
4265 used for start, padding, and end delimitation of the chunk.
4266 (text_chunk_to_string):
4267 Changed to use text_chunk_pad_string.
4269 * configure.in: Fixed bug in AC_OUTPUT that was
4270 causing path substitution in Accessibility_Registry.server
4273 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4275 * text/screen-review-test.c:
4276 (guess_string_clip):
4277 New method which attempts a best-guess at clipping
4278 text from components (like Java labels) which don't
4279 actually implement AccessibleText. This inaccurate
4280 clip is based on the assumption that the label is
4281 justified left-and-right, and monospaced.
4282 (text_chunk_get_clipped_string):
4283 We now call guess_string_clip() for text-containing
4284 components that don't implement AccessibleText.
4286 * test/screen-review-test.c:
4287 (review_buffer_get_text_chunk):
4288 We now pull "name" from labels if they do not implement
4289 AccessibleText (i.e. for Java labels).
4290 (get_screen_review_line_at):
4291 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4294 Replaceded AC_OUTPUT target
4295 registryd/Accessibility_Registry.server with
4296 registryd/Accessibility_Registry.server.in.
4298 * registryd/Accessibility_Registry.server.in:
4299 Removed (this is now a Makefile target).
4301 * registryd/Accessibility_Registry.server.in.in:
4302 Added (source for target above). We now use $(libexecdir) as
4303 prefix for the executable at-spi-registryd.
4305 * registry/Makefile.am:
4306 Now install at-spi-registryd into $(libexecdir), and build .server
4307 file with path (see above).
4309 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4311 * test/screen-review-test.c:
4312 (text_chunk_get_clipped_string):
4313 We now check to see if words fall within clip bounds
4314 before resorting to character-by-character clip bounds testing.
4316 * TODO: Added a section for "2.2 Proposed API Additions".
4318 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4320 * test/screen-review-test.c:
4322 Added a screen review benchmarking and test program to test
4325 * cspi/spi_accessible.c:
4327 Made some of the debug strings passed to cspi_check_ev a
4328 little more specific.
4330 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4332 * test/screen-review-test.c: Fix crashes in debug statements
4334 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4336 * test/screen-review-test.c: Added this file.
4338 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4340 * atk-bridge/bridge.c: changed "object:state-change" to
4341 "object:state-changed" to match docs.
4343 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4345 * atk-bridge/bridge.c: Hooked up state-change event details.
4347 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4349 * registryd/registry.c:
4350 Fixed quarking bug in event string parsing; now events with
4351 detail parameters get matched correctly to listeners.
4354 * util/idl/Magnifier.idl: remove.
4356 * util/*.[ch]: Remove.
4357 Magnification utilities and IDL are now in module gnome-mag.
4359 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4361 * registryd/deviceeventcontroller.c:
4362 Fixed bug in grab key conversion which was causing keycode grabs
4363 to be converted to AnyKey grabs.
4366 updated NEWS file to reflect recent spin-off of gnome-mag.
4368 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4370 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4371 busted AccessibleStateSet_compare. Removed redundant casts.
4373 * cspi/spi-action.c: Removed redundant casts.
4375 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4377 * cspi/spi_component.c: Fixed typos and casting error.
4379 * cspi/spi_editabletext.c: Removed redundant casts.
4381 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4383 * cspi/spi_hypertext.c: Eliminated redundant casts.
4385 * cspi/spi_image.c: Eliminated redundant casts.
4387 * cspi/spi_registry.c: Eliminated redundant casts.
4388 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4389 * cspi/spi_selection.c: Removed redundant casts.
4390 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4391 handling. Screen geometry and text offsets were being returned as 0
4392 on error which is technically valid-- changed these to return -1.
4393 Added marshaller for text boundary types to fix bug with boundary
4394 types being passed incorrectly to atk.
4396 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4399 * cspi/spi_registry.c:
4400 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4401 which was uncovered by the recent key changes.
4403 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4405 * test/event-listener-test.c:
4407 Added new test, "event-listener-test";
4408 this code does two things; it benchmarks traversal time
4409 for the accessible hierarchy for the first running accessible
4410 app, and it connects listeners for all supported event types.
4411 It is thus useful as an example event listener and for
4412 diagnostics/debugging of event generation.
4414 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4417 Removed unnecessary dependency on libutil.
4420 Revved micro version: 0.13.1
4422 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4425 Removed util/Makefile from targets.
4428 Removed util subdir from SUBDIRS (temporarily,
4429 pending removal of magnifier-only code
4433 #ifdef-ed out magnifier dependencies, since
4434 magnifier IDL, headers, and binary now live in
4435 module gnome-mag and we don't want at-spi to depend
4436 on gnome-mag. A magnifier demo which can run alongside
4437 simple-at is forthcoming in the gnome-mag module.
4439 NOTE: Split magnifier binary, IDL, and magnification
4440 activation code from at-spi into module gnome-mag.
4442 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4444 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4445 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4447 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4450 Revved to version 0.13.0
4452 * idl/Accessibility_Registry.idl:
4453 Changed definition of KeySet from sequence of longs to sequence of
4454 KeyDefinitions, and added KeyDefinition struct.
4455 Required for fix to bug 80616.
4457 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4458 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4459 to use new definition (see above).
4461 * registryd/deviceeventcontroller.c: handle_keygrab(),
4462 spi_keyset_contains_key():
4463 Changed to make use of new struct; this allows matching based on
4464 string key-name, for instance "Tab". This also allows matching of
4465 composed characters, non-alphanumeric characters in a way that
4466 doesn't involve dependencies on X keysym codes directly, etc.
4468 * test/key-listener-test.c:
4469 Added test for Alt-Tab key using "string" specification of keyset,
4470 and modified one of the tests to use a keycode-based keyset.
4471 Thus this test both tests and demonstrates the creation and use of
4472 keysets of three forms: specified via keycode array,
4473 keysym array, and string array. (The string case only contains a
4474 single string, i.e. a string array of length 1).
4477 Turned on PRINT_TREE option by default. Also fixed a
4478 string-freeing bug in the PRINT_TREE code.
4479 Added a listener to window:minimize events.
4481 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4483 * atk-bridge/bridge.c:
4484 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4485 for window:activate and window:deactiveate
4486 (atk_bridge_property_event_listener atk_bridge_signal_listener
4487 atk_bridge_window_event_listener) Tidy debug code
4489 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4491 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4492 Fixed handling for NULL return value from ATK.
4494 * libspi/action.c libspi/component.c libspi/editabletext.
4495 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4496 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4497 Removed redundant casts.
4499 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4500 Fixed off by one bug.
4502 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4503 function not present in idl)
4505 2002-05-02 jacob berkman <jacob@ximian.com>
4507 * atk-bridge/Makefile.am: make atk-bridge a real module
4509 2002-04-26 Radek Doulik <rodo@ximian.com>
4511 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4512 atk_state_types table
4514 2002-04-22 jacob berkman <jacob@ximian.com>
4517 * libspi/Makefile.am: add deps on the built files to help
4518 automake, and don't version the ORBit typelib
4520 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4522 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4523 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4524 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4525 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4526 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4527 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4528 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4529 libspi/accessible.h libspi/accessible.h libspi/base.h
4530 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4531 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4532 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4533 libspi/spi-private.h libspi/statetset.h libspi/table.h
4534 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4535 util/mag_client.h util/mag_control.c util/mag_image.c
4536 util/mag_image.h util/magnifier.c util/magnifier.h:
4537 Add missing file headers; standardize existing ones
4539 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4541 * atk-bridge/bridge.c: Added window event support.
4543 2002-04-18 Michael Meeks <michael@ximian.com>
4545 * libspi/relation.c (impl_getNTargets): impl.
4546 (impl_getTarget): impl.
4548 * libspi/Makefile.am: fix stateset install.
4550 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4553 Started putting useful info in this file.
4555 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4557 * atk-bridge/bridge.c:
4558 Propagate state-changed notifications to ATs
4560 * cspi/spi_registry.c: update docs to reflect actual behavior of
4561 state-change events.
4563 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4566 Incremented version to 0.12.1
4568 * util/mag_client.h:
4569 Add missing declaration for magnifier_exit,
4570 used by mag_control.c - Forte compiler didn't like
4571 the implicit redeclaration of the function :-(
4574 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4577 Revved version to 0.12 due to API change (see below).
4579 * cspi/spi-roletypes.h:
4580 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4581 definition from the inline docs, and added docs
4582 for SPI_ROLE_LAST_DEFINED.
4585 * cspi/spi_streamablecontent.c:
4586 Added missing seek_type parameter to
4587 (so far unused) method,
4588 AccessibleStreamableContent_seek().
4589 [ RT approval JodyG. ]
4592 Fixed docs for SPI_createAccessibleKeystrokeListener.
4594 * cspi/spi_registry.c:
4595 Fixed docs for SPI_KEYSET_ALL_KEYS.
4597 * docs/reference/cspi/at-spi-cspi-sections.txt:
4598 Added a number of missing APIs to SECTIONS.
4600 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4602 * registryd/Makefile.am:
4604 * cspi/bonobo/Makefile.am:
4605 Add $(X_LIBS) to makefiles.
4607 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4610 Revved version to 0.11.
4612 * libspi/component.c:
4613 Added implementation for grabFocus.
4615 * idl/Accessibility_Component.idl
4616 (Accessibility_Component_grabFocus):
4617 Made this method return boolean to indicate success or failure, to
4618 be consistent with cspi and the corresponding ATK method.
4620 * idl/Accessibility_Selection.idl
4621 (Accessibility_Selection_selectAll) :
4622 Made these methods return boolean to indicate success or
4623 failure, to be consistent with cspi and the corresponding ATK methods.
4625 * idl/Accessibility_EditableText.idl
4626 (Accessibility_EditableText_setTextContents,
4627 Accessibility_EditableText_insertText,
4628 Accessibility_EditableText_cutText,
4629 Accessibility_EditableText_deleteText,
4630 Accessibility_EditableText_pasteText):
4631 Made these methods return boolean to indicate
4634 * cspi/spi_editabletext.c:
4635 Made these methods return booleans.
4637 * libspi/selection.c:
4638 * libspi/component.c:
4639 * libspi/editabletext.c:
4640 Connected the boolean returns from ATK
4641 to the server-side code referenced above.
4643 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4645 * idl/Accessibility_Table.idl: Added missing methods,
4646 Accessibility_Table_addRowSelection,
4647 Accessibility_Table_addColumnSelection,
4648 Accessibility_Table_removeRowSelection,
4649 Accessibility_Table_removeColumnSelection.
4652 Added C wrappers for above IDL:
4653 AccessibleTable_addRowSelection,
4654 AccessibleTable_addColumnSelection,
4655 AccessibleTable_removeRowSelection,
4656 AccessibleTable_removeColumnSelection.
4659 Added server-side implementation code for IDL above, connecting
4660 to pre-existing ATK api.
4662 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4664 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4666 * libspi/accessible.c: Added implementation fo
4667 Accessibility_Accessible_get_state.
4669 * libspi/libspi.h: Added stateset.h to the list of includes.
4671 * libspi/stateset.c: Fixed broken implementation.
4673 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4676 Added implementation code for Accessibility_Magnifier_exit ().
4678 * util/mag_control.c:
4679 Added test code for above method; you can
4680 now kill an existing magnifier via
4681 ./mag_control q, from the util directory.
4683 * test/key-listener-test.c:
4685 Added a new test, for our key listener API.
4687 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4689 * test/app.c, test/keysynth-demo.c:
4691 Replace use of snprintf with g_snprintf.
4692 (fix for bugzilla 78249)
4694 2002-03-27 Michael Meeks <michael@ximian.com>
4698 * util/Makefile.am (INCLUDES): fix.
4699 (DONT_DIST_SOURCE): don't distribute the
4702 * libspi/Makefile.am (dist-hook): ditto.
4704 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4706 * libspi/hypertext.c:
4707 Fix warnings when yelp is used with atk-bridge
4709 2002-03-21 Michael Meeks <michael@ximian.com>
4711 * libspi/application.c (spi_application_new):
4712 use spi_accessible_construct so we use the AtkObject
4715 2002-03-19 Michael Meeks <michael@ximian.com>
4717 * registryd/registry.c (desktop_remove_application),
4718 (desktop_add_application): clean coding style.
4720 * registryd/desktop.c (spi_desktop_remove_application),
4721 (spi_desktop_add_application): kill re-enterency hazards.
4722 (spi_desktop_dispose): remove bogus redundant cast
4723 obscuring bug; fix bug too.
4724 (spi_desktop_init): make the desktop object immortal.
4726 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4729 Added a #define-guarded tree-traversal step
4730 when enumerating the apps (diagnostic tool).
4732 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4734 * idl/Accessibility_Role.idl:
4735 Added ROLE_DRAWING_AREA which seemed to be missing from the
4738 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4740 * cspi/spi-roletypes.h cspi/spi_accessible.c
4741 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4744 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4745 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4746 AT when applications are added and removed from the desktop. This
4747 reverts the previous broken implementation using the backing
4748 AtkObject for the SpiDesktop.
4750 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4752 * registryd/desktop.c: emit the "children-changed::add" and
4753 "children-changed::remove" signals on the backing ATK object for
4754 the desktop so AT can tell when applications are started and shut
4757 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4759 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4761 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4763 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4765 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4767 * cspi/state-types.h: synched with IDL and ATK
4769 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4771 * libspi/accessible.c
4772 (impl_accessibility_accessible_get_child_at_index):
4773 Change return value for g_return_if_fail ()
4774 to CORBA_OBJECT_NIL instead of "0" (!)
4776 * registryd/Makefile.am:
4777 * registryd/Accessibility_Register.server.in:
4778 Changed name of executable, "registryd",
4779 to something more informative:
4782 2002-03-13 Michael Meeks <michael@ximian.com>
4784 * atk-bridge/bridge.c (atk_bridge_init): don't register
4785 if we're in a bonobo-component, rather than a bonobo app.
4787 2002-03-13 Michael Meeks <michael@ximian.com>
4789 * atk-bridge/bridge.c (gtk_module_init): split
4790 out body to (atk_bridge_init): here, since otherwise
4791 we get symbol conflicts and oddness when invoked
4792 from (gnome_accessibility_module_init): here (upd.)
4794 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4797 New file. Explicitly allow "build sheriff" putbacks provided
4798 they are tested on Solaris.
4800 * docs/reference/cspi/Makefile.am:
4801 Added '-' to the "cp" command for index.sgml.
4802 ("patch by thomasvs, soon coming to a GUADEC near you")
4805 Incremented version number (0.9.0) for new release.
4806 Changed macro that checks for popt, to better detect
4807 obsolete versions of popt.
4810 Added X_LIBS to AC_SUBST, for applications
4811 that call Xlib API directly.
4814 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4817 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4820 Fix regression caused by hard-coding major
4821 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4824 * test/test-simple.c (test_editable_text),
4825 (test_test): revert previous change (error was
4826 a regression in gail which is now fixed).
4828 2002-03-04 Michael Meeks <michael@ximian.com>
4830 * test/test-simple.c (test_editable_text),
4831 (test_text): pass G_MAXINT instead of '-1' for
4832 whole string - is this a good thing !?
4834 * cspi/spi_accessible.c
4835 (Accessible_getRelationSet): fix crasher bug
4836 overwriting the end of the array.
4838 * test/test-simple.c (validate_accessible): free,
4839 not g_free returned relation set.
4841 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4843 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4844 implemented stateset support
4846 * idl/Accessibility_State.idl: Made necessary changes to
4847 the IDL to support state sets.
4849 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4851 * registryd/deviceeventcontroller.c:
4852 Added implementation for generateMouseEvent.
4854 * cspi/spi_registry.c:
4855 Connected new implementation for generateMouseEvent
4858 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4861 Incremented revision (but no change in public API
4862 outside of 'utils', which are not installed public yet.)
4864 * libspi/component.c:
4865 Changed to use atk_component API for layers and
4866 mdi_zorder, instead of deprecated atk_object API.
4868 Magnification Utility Enhancements:
4871 Added implementation of createZoomRegion, clearAllZoomRegions,
4872 resizeZoomRegion. Added new commandline argument
4873 "--no-initial-region". Note that clearAllZoomRegions doesn't
4874 unmap the old '0' region as it should (yet), and the other
4875 methods only work when creating/resizing a single region,
4876 which is "region 0".
4877 (Code for multiple region support will be added later.)
4880 Now we raise the magnifier window each time it's refreshed;
4881 this will help keep it on top.
4883 * util/mag_client.h:
4884 Added simple wrappers for above, used by mag_control.
4885 For general use, it's recommended to use the bonobo magnifier
4886 control API directly instead of using these wrappers.
4889 Moved ZoomRegionData from magnifier.c to this file.
4891 * util/mag_control.c:
4892 Added some code to exercise new IDL implementations.
4894 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4896 * libspi/text.c: Provide implementation for getAttributes.
4898 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4901 Incremented revision.
4903 * test/test-simple.c:
4904 Replaced use of deprecated g_main_iteration with
4905 g_main_context_iteration.
4907 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4910 Incremented revision for desktop alpha 2.
4912 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4914 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4917 * test/simple-at.c: include netinet/in.h.
4919 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4921 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4922 use NULL, not CORBA_OBJECT_NIL.
4924 * libspi/accessible.c:
4925 (impl_accessibility_accessible_get_relation_set):
4926 allocate the sequence correctly.
4928 * libspi/remoteobject.h: kill spi_remote_object_new.
4930 * test/test-simple.c: (validate_accessible): add code
4931 to test relation sets, now all we need is to figure
4932 out how to excercise this code path :/
4934 2002-01-18 Michael Meeks <michael@ximian.com>
4936 * test/test-simple.c
4937 (key_listener_cb): consume the key.
4938 (test_keylisteners): update.
4939 (main): wait for any pending unrefs on events.
4941 * registryd/deviceeventcontroller.c
4942 (spi_controller_update_key_grabs): only re-issue the
4943 grab on a key release.
4944 (spi_device_event_controller_forward_key_event):
4945 refresh the keygrabs before we notify the listeners,
4946 to reduce the X ungrab / re-grab race.
4947 (spi_controller_register_with_devices): remove
4948 XSelectInput - we do that with the gdk_window_ call.
4949 (_spi_controller_device_error_handler): return a value.
4950 s/GDK_DISPLAY/spi_get_display/
4952 2002-01-17 Michael Meeks <michael@ximian.com>
4954 * registryd/deviceeventcontroller.c
4955 (_deregister_keygrab): don't blow out the later
4958 * test/test-simple.c (test_keylisteners): do a
4959 more intelligent validation.
4961 2002-01-14 Michael Meeks <michael@ximian.com>
4963 * atk-bridge/bridge.c
4964 (gnome_accessibility_module_init),
4965 (gnome_accessibility_module_shutdown): impl.
4966 (gtk_module_init): protect vs. double inits.
4967 (add_signal_listener): impl.
4968 (spi_atk_bridge_state_event_listener): kill
4969 (deregister_application): split out of
4970 (spi_atk_bridge_exit_func): here.
4972 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4975 Added caret tracking when using magnifier, and
4976 now use text bounds for focus tracking of text elements, rather than
4977 the component bounds - this is helpful for short text fields in long
4978 table cells, at high magnification.
4980 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4982 * registryd/deviceeventcontroller.c:
4983 Regression fix for keylistener de-registration; global keygrabs
4984 were not being released when deregisterKeystrokeListener was
4985 called in cspi, since
4986 Accessibility_DeviceEventController_deregisterKeystrokeListener
4987 was called with a zero-length keyset. That is because the cspi
4988 method, SPI_deregisterKeystrokeListener, does not take a keyset
4989 parameter but instead should remove all the key grabs held be a
4991 The code in impl_deregister_keystroke_listener was changed to copy
4992 the keylist from the listener instance previously registered with
4993 the DeviceEventController before releasing the grabs.
4995 * registryd/registry.c:
4996 * registryd/deviceeventcontroller.c:
4997 * libspi/spi-private.h:
4999 Changed spelling of "re-enterant" to "re-entrant" globally.
5001 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5003 * test/test-simple.c:
5004 Changed key listeners test - the test was slightly mis-using the
5005 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5006 It now uses '=' as the key event listened to and generated,
5007 relying on a keysym match rather than assuming that keycode 33
5008 is always equal to keysym '!'.
5010 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5013 Changed simple-at to use a specific keyset, rather than
5014 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5015 manager, desktop, etc.
5017 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5019 * registryd/deviceeventcontroller.c:
5020 Replaced standard X error handler with a special handler that
5021 is non-fatal for failed keygrabs. This works around
5022 problems with keygrab clashes sometimes observed on
5024 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5025 mouse handling code as yet).
5027 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5030 Incremented revision for desktop alpha release.
5033 Fixed a couple of the more glaring errors (still not
5036 2002-01-11 Michael Meeks <michael@ximian.com>
5038 * registryd/deviceeventcontroller.c
5039 (spi_device_event_controller_forward_key_event): kill
5040 XUngrabKey / XKeyGrab race.
5041 (spi_controller_grab_keyboard): rename to
5042 (spi_controller_update_key_grabs): this, and deal
5043 with incremental adding / removing grabs more
5045 (_register_keygrab): ensure we're not pending a remove.
5046 (spi_grab_mask_free): impl.
5047 (spi_controller_register_global_keygrabs): split out
5049 (handle_keygrab): impl.
5050 (_deregister_keygrab): impl.
5051 (spi_controller_deregister_global_keygrabs): impl.
5052 (spi_controller_update_key_grabs): re-issue the grab if
5053 we just recieved a notification.
5055 * test/test-simple.c (key_listener_cb): remove debug.
5057 * registryd/deviceeventcontroller.c
5058 (spi_controller_register_device_listener): after
5059 registering a global keygrab, actualy register it !
5060 don't wait for a timeout; doh !
5062 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5063 to make it more readable / manipulable.
5064 s/grabmask/grab_mask/ s/refcount/ref_count/
5065 s/keyval/key_val/ s/modmask/mod_mask
5067 2002-01-08 Michael Meeks <michael@ximian.com>
5069 * registryd/deviceeventcontroller.c
5070 (spi_controller_register_with_devices): use gdk calls to
5072 (global_filter_fn): implement the filter.
5073 (spi_device_event_controller_check_key_event): rename to
5074 (spi_device_event_controller_forward_key_event): this & upd.
5075 (spi_get_display): replace with GDK_DISPLAY.
5077 * registryd/deviceeventcontroller.c
5078 (spi_controller_deregister_device_listener): unroll into
5079 (impl_deregister_keystroke_listener): here to simplify.
5080 (spi_controller_register_global_keygrabs): split cut and
5081 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5082 (spi_controller_deregister_device_listener): remove.
5083 (impl_register_mouse_listener): remove, no mouse listener
5084 support in at-spi-1.0
5086 * registryd/registry.c
5087 (_device_event_controller_hook): kill.
5088 (spi_registry_init): upd.
5090 * registryd/deviceeventcontroller.c
5091 (spi_device_event_controller_class_init): upd.
5092 (spi_check_key_event): merge into.
5093 (spi_device_event_controller_check_key_event):
5094 here and kill strange static ev init, don't leak
5095 the x_event - nor dynamicaly allocate it.
5097 * registryd/registry-main.c (main): re-direct
5098 timeout to remove strange vtable mess.
5100 * registryd/deviceeventcontroller.c
5101 (remove_listener_cb): impl.
5102 (spi_controller_deregister_device_listener):
5103 fix re-enterancy hazard.
5105 2002-01-07 Michael Meeks <michael@ximian.com>
5107 * registryd/deviceeventcontroller.c
5108 (spi_device_event_controller_new): upd.
5109 (impl_notify_listeners_sync): upd. debug.
5110 (spi_notify_keylisteners): fix re-enterancy hazards,
5111 prettify, remove O(n*n) iteration.
5112 (spi_controller_grab_keyboard): fix iteration.
5113 (spi_check_key_event): re-format to suit coding style.
5114 Clean all the warnings - we're warning free.
5116 * registryd/deviceeventcontroller.h:
5117 * registryd/registry.h: make mutualy referential with
5118 typesafe forward references instead of (!) void pointer
5121 2002-01-11 Michael Meeks <michael@ximian.com>
5123 * cspi/spi_accessible.c (role_names): add a role name
5124 to sync this array with the enum; and make the regression
5127 2002-01-10 Michael Meeks <michael@ximian.com>
5129 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5130 allow expansion of enumeration & kill warning.
5132 * test/test-simple.c (key_listener_cb): impl.
5133 (test_keylisteners): impl.
5135 * cspi/spi-listener.h: make listener signatures const
5136 on the provided (const) events.
5138 * test/keysynth-demo.c: upd. to const events.
5140 * test/simple-at.c: ditto.
5142 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5145 Rev the version to 0.5 (the previous tarball was named 0.4,
5146 even though the micro number was 3), so we need to rev upwards
5147 again for beta2/"desktop-alpha"
5150 Checked in a demo script, which requires editing before use!
5151 Proceed with caution.
5154 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5156 * cspi/spi_accessible.c:
5157 Add a couple of missing enum initializations, and fix some enum
5160 * cspi/spi_registry.c:
5161 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5163 * docs/reference/cspi/at-spi-cspi-sections.txt:
5164 Remove/fix a couple of broken document references.
5167 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5168 as Alt-Control to listen for commands, since on some systems
5169 Control-Alt may already be grabbed.
5171 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5174 Update version number to 0.4 for Beta2.
5176 * libspi/accessible.c, libspi/accessible.h:
5177 Expose spi_accessible_construct, to enable libgail-gnome
5178 construction from spi_accessible subtype.
5180 * utils/magnifier.c:
5181 Workaround for bug in some non-gnome-compliant window managers
5182 which made magnifier resize improperly.
5184 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5186 * libspi/accessible.c: (spi_accessible_new) :
5187 Move the test for SPI_IS_REMOTE_OBJECT to
5188 spi_accessible_new_return, fixing a bug and compile time warning.
5190 2002-01-08 Michael Meeks <michael@ximian.com>
5192 * registryd/registry.c (parse_event_type): remove strndup.
5194 * libspi/Makefile.am (libspi_la_SOURCES): remove
5195 sources already included in the headers section.
5197 * libspi/util.c: add.
5199 * libspi/spi-private.h: add.
5201 * registryd/registry.c: update to moved list iterators.
5203 2002-01-05 Michael Meeks <michael@ximian.com>
5205 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5207 * test/test-simple.c (main): ditto.
5209 2002-01-04 Michael Meeks <michael@ximian.com>
5211 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5212 redundant construct.
5214 * registryd/registry.c
5215 (get_listener_list): impl.
5216 (impl_accessibility_registry_register_global_event_listener):
5217 re-impl. to simplify using ~, remove dodgy const cast off.
5218 (parse_event_type): constify.
5219 (impl_accessibility_registry_deregister_global_event_listener_all):
5220 re-write, more efficiency and simplicity, kill re-enterancy
5222 (compare_listener_corbaref, compare_corba_objects),
5223 (compare_listener_quarks): define out.
5224 (impl_accessibility_registry_deregister_global_event_listener):
5225 re-write for effiency, and nail re-enterancy hazard.
5226 (impl_accessibility_registry_get_desktop_list): impl.
5227 (re_enterant_list_delete_link): impl.
5228 (re_enterant_list_foreach): impl.
5229 (remove_listener_cb): impl.
5230 (_registry_notify_listeners): kill.
5231 (notify_listeners_cb): impl.
5233 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5234 (SPI_getDesktopList): impl.
5236 * test/test-simple.c (test_desktop): test the methods.
5238 2002-01-03 Michael Meeks <michael@ximian.com>
5240 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5241 keystrings since we free them
5242 (SPI_freeAccessibleKeySet): in here.
5244 * libspi/accessible.c (spi_accessible_new): kill warning,
5245 wonder what is going on with the constructor here.
5247 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5249 * libspi/accessible.c (spi_accessible_new ()) :
5250 Added check to see if AtkObject is an SpiRemoteObject before
5251 creating an SpiAccessible.
5253 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5255 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5256 Enable keygrabs using the Control modifier, now that they are
5257 working properly (they were previously disabled).
5260 Change the command keygrab for this demo to "Control+Alt", so as
5261 to conflict with fewer other key commands on the system; this
5262 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5264 Removed a pointlessly-chatty keylistener for unshifted keys
5265 (shifted keys are still reported).
5267 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5269 * libspi/remoteobject.h:
5270 * libspi/remoteobject.c:
5271 Added definitions for special AtkObject subtype, required for
5272 support of remote components (specifically, used by BonoboControl
5273 accessibility implementation).
5275 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5277 * cspi/spi.h: synched relation types with ATK
5279 * cspi/spi_accessible.c: Added implementations of
5280 AcccessibleRelation_* methods
5282 * idl/Accessibility_Relation.idl: added getRelationTypeName
5283 method. Synched known relation types with ATK. Allowed for
5284 relation type extension with the RELATION_EXTENDED type.
5286 * libspi/relation.c: Provided implementations for
5287 AccessibleRelation methods.
5289 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5291 API tweaks for today's API 'freeze'.
5294 Added placeholder functions to allow future compatible expansion
5295 of the IDL interfaces.
5297 * idl/Accessibility_Registry.idl:
5298 Changed generateKeyEvent to generateKeyboardEvent. Changed
5299 signature of this method to accept an optional keystring in
5300 parameter (for complex text input synthesis) and changed use of
5301 simple 'boolean' parameter in registerKeystrokeListener to a
5302 struct, EventListenerMode.
5304 * cspi/spi_accessible.c:
5306 * cspi/spi_streamablecontent.c:
5307 Added references to AccessibleStreamableContent interface, and
5308 definition and implementation of AccessibleStreamableContent
5311 * cspi/spi_registry.c:
5313 Changed generateKeyEvent API to generateKeyboardEvent,
5314 taking a new (optional) keystring parameter to support complex
5319 Renamed directory (to better reflect its actual purpose, bridging
5320 from at-spi to ATK). The .so module is also now named
5323 * idl/Accessibility_Hypertext.idl:
5324 * libspi/accessible.c:
5325 * libspi/hypertext.h:
5326 * libspi/hypertext.c:
5327 Changed Accessibility_Hypertext to *not* derive from
5330 * cspi/spi_registry.c:
5331 Added list of legal event type names for 'window' events, which
5332 completes the registry event API.
5334 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5336 * at-bridge/bridge.c: Added registration for separate
5337 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5338 signals. If either of the first two parameters to the generic
5339 bridge signal handler are ints, they are passed on as event
5340 details. This allows an AT to determine what text was inserted.
5342 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5344 * registryd/deviceeventcontroller.c:
5345 Fixed regressions in generateKeyEvent caused by the removal of
5346 gdk_init from registryd; we now use pure X calls to connect to the
5347 display, which makes sense because deviceeventcontroller already
5348 uses a fair bit of X API (should eventually be migrated to a
5349 'portability layer').
5351 * registryd/desktop.c:
5352 Fixed minor regression in spi_desktop_init, changed the way the
5353 desktop name is being set to work with new spi_base API
5354 (gobject-based, rather than AtkObject-based).
5356 * registryd/Makefile.am:
5357 Minor revision of makefile to use XTST_LIBS variable rather than
5358 hard-wiring the Xtst LD_ADD element.
5360 * test/keysynth-demo.c:
5361 Tweaked an output message; added initialization of the
5362 'keystrings' member of the "switch listener" key_set.
5364 * libspi/relation.c:
5365 Squashed compile-time warning.
5367 * libspi/accessible.c:
5368 Cosmetic and formatting fixes, renamed a static method.
5370 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5372 * libspi/accessible.c
5374 * libspi/application.c
5377 * libspi/component.c
5378 * libspi/editabletext.c
5379 * libspi/hyperlink.c
5380 * libspi/hypertext.c
5382 * libspi/selection.c
5386 * registryd/desktop.c:
5387 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5389 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5391 * idl/Accessibility_Registry.idl:
5392 Added boolean member 'is_text' to DeviceEvent. This is for the
5393 use of key events, and helps prevent ambiguity between composed
5394 key strings and keysym names, since both may potentially be
5395 returned in the 'event_string' member.
5397 * at-bridge/bridge.c:
5398 * registryd/deviceeventcontroller.c:
5399 Use the 'is_text' member when notifying device event listeners.
5400 Knon issue: composed characters are not dealt with correctly by
5401 the global key listener implementation yet.
5403 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5405 * at-bridge/bridge.c:
5406 Namespaced local static methods to spi_atk_bridge_* where
5407 previously named bridge_*, and spi_* elsewhere.
5409 * at-bridge/bridge.c:
5410 * cspi/bonobo/cspi-bonobo-listener.c:
5411 Added demarshalling/conversion for string member of
5412 Accessibility_DeviceEvent to AccessibleKeystroke.
5414 * registryd/deviceeventcontroller.c:
5415 Added code to fill the Accessibility_DeviceEvent key string value
5416 member for global key events (i.e. from XGrabKey), to match
5417 behavior of Accessibility_DeviceEvent from the toolkit key events
5418 from the bridge. Fixed timestamp in global key event notifications.
5421 Added printout of key event's string value to
5422 report_ordinary_key_event, for demo/debugging purposes.
5424 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5426 * idl/Accessibility_Registry.idl:
5427 Removed Accessibility_KeyStroke structure in favor of generic
5428 Accessibility_DeviceEvent structure.
5429 Changed Accessibility_ControllerEventMask from a struct to an
5432 * at-bridge/bridge.c:
5433 Changed APIs to use DeviceEvent structure as above, and removed
5434 bogus casting between these event structures.
5436 * cspi/spi-listener.h:
5437 Added keystring member of AccessibleKeystroke structure, to enable
5438 matching on event "names" rather than only hardware codes and
5442 Added keystrings member of AccessibleKeySet struct, to allow
5443 matching on event names (as above).
5444 Added declarations for SPI_createAccessibleKeySet and
5445 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5446 event modmasks directly as unsigned ints rather than structs with
5447 refcounts, in the DeviceEventController methods.
5449 * cspi/spi_registry.c:
5450 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5452 * cspi/spi-roletypes.h:
5453 Added documentation of newly added SPI Roles.
5455 * cspi/bonobo/cspi-bonobo-listener.c:
5456 Changes in support of API changes above.
5458 * libspi/accessible.c:
5459 Converted APIs to use DeviceEvent structure (see IDL changes
5462 * registryd/deviceeventcontroller.c:
5463 Added DEControllerGrabMask structure to track keygrabs not only by
5464 modmask but by keyset as well; this allows us to do "global"
5465 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5466 grabbing on AnyKey and then filtering after-the-fact.
5467 Bugfixes for event filtration mean that we don't get false matches
5468 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5470 * registryd/deviceeventcontroller.c:
5471 Namespaced a number of static methods to use spi_ prefix. Major
5472 revision to internals of global (i.e. X) key grabs.
5474 * registryd/deviceeventcontroller.h:
5475 Removed keymask_list and added keygrabs_list to
5476 SpiDeviceEventController struct.
5479 Added use of SPI_createAccessibleKeySet API when creating a
5480 listener for only one key. Attach a listener to "shift spacebar
5481 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5482 X key event names to SPI key event names, so that listeners are
5483 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5485 * test/keysynth-demo.c:
5486 Changed (incorrect) use of X key event names (KeyPressed,
5487 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5490 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5492 * libspi/accessible.c:
5493 Convert all AtkRole enumerations to Accessibility_Role enums when
5494 getting a role from an AtkObject.
5496 * cspi/spi_accessible.c:
5497 Complete the conversion of Accessibility_Role enums at runtime to
5498 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5499 role enums correctly match those given in spi-roletypes.h.
5500 Re-synchronize the local names list for AccessibleRole_getName ().
5501 AccessibleRole_getName is now deprecated, since it duplicates the
5502 more reliable Accessible_getRoleName.
5503 Added some role types from Accessibility_Role.idl.
5505 * idl/Accessibility_Role.idl:
5506 Added some role types used by AtkRole.
5508 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5511 * cspi/spi_registry.c:
5513 * cspi/cspi-bonobo-listener.c:
5514 Namespaced all methods that did not begin with an "SPI_" or
5515 "Accessible" prefix to "SPI_".
5518 Homogenized internal function namespace to "cspi_" for statics.
5521 Patched tests to use the new CSPI API.
5523 * docs/reference/cspi/at-spi-cspi-sections.txt:
5524 Updated docs to reflect namespace changes, and added a number of
5525 methods to the documentation.
5527 * registryd/registry.c:
5528 Changed use of strings and string hashes in listener event
5529 matching and parse_event_string to use GQuark, which is guaranteed
5532 * registryd/registry.h:
5533 Squashed annoying warning.
5535 * idl/Accessibility_Role.idl:
5536 Extended range of available Accessibility_Role values.
5538 * cspi/spi_accessible.c:
5539 Re-ordered role names.
5541 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5543 * idl/Accessibility_Value.idl:
5544 Revert use of union back to CORBA_double, since the double type is
5545 more efficient and can contain the other types without loss of
5548 * idl/Accessibility_Accessible.idl:
5549 Added method Accessibility:Accessible:getRoleName, to complement
5550 Accessibility:Accessible:getRole.
5552 * cspi/spi_accessible.c:
5554 Added C binding for above, Accessible_getRoleName (), and changed
5555 signature of Accessible_getRole () to return an AccessibleRole.
5557 * cspi/spi-roletypes.h:
5558 Changed AccessibleRole_getName to return a char * instead of a
5559 const char *. This method is now at least temporarily deprecated
5560 in favor of asking Accessibles for their RoleNames directly.
5563 Revert to match Accessibility_Value.idl;
5567 Change signature of AccessibleValue methods to use double rather
5571 * cspi/spi_accessible.c:
5572 Changed Accessible_getRole to return an AccessibleRole enum rather
5573 than a UTF-8 string. The UTF-8 string can still be obtained via
5574 AccessibleRole_getName ().
5576 * test/test-simple.c:
5577 Add test_action. Small fixup to match API change to Accessible_getRole.
5580 Bugfix for get_action_from_servant ().
5582 2001-12-11 Michael Meeks <michael@ximian.com>
5584 * libspi/libspi.h: remove registry.h and
5585 desktop.h, deviceeventcontroller.h
5587 * libspi/Makefile.am: remove registry.[ch],
5588 desktop.[ch], deviceeventcontroller.[ch]
5590 * registryd/Makefile.am: add registry.[ch],
5591 desktop.[ch], rename registryd.c to registry-main.c.
5592 add deviceeventcontroller.[ch]
5594 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5597 Replace setenv() call with putenv ().
5599 * libspi/component.c:
5600 Bugfix in AccessibleComponent_getExtents (),
5603 2001-12-11 Michael Meeks <michael@ximian.com>
5605 * libspi/image.c (impl_getImageExtents): impl.
5606 (spi_image_class_init): upd.
5609 (AccessibleImage_getImageDescription): fix daft bug
5612 * test/test-simple.c (global_listener_cb): update
5613 to only quit if not --poke
5614 (main): catch --poke.
5615 (validate_accessible): upd. dumping, call test_image
5618 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5621 * idl/Accessibility.idl: update all IDL includes.
5623 * idl/*.idl - rename to namespace - this sucks, blame
5624 mjs' bad decision for oafd.
5626 * test/test-simple.c (create_test_window): add more tests.
5627 (create_tree): split this out.
5628 (validate_accessible): bugfix.
5630 2001-12-11 Michael Meeks <michael@ximian.com>
5632 * cspi/bonobo/cspi-bonobo-listener.c:
5633 (cspi_kestroke_listener_unref),
5634 (cspi_event_listener_unref): impl. undoing previous
5635 homenous environment - for Bill.
5637 * cspi/spi_table.c (long_seq_to_array): use
5640 * cspi/spi_main.c: split out all bonoboish bits into
5643 * cspi/spi-impl.h: upd. typedefs.
5645 * cspi/spi_registry.c: update to lowlevel API,
5646 return booleans to indicate success in some places.
5648 * cspi/spi_event.c: update to lowlevel API.
5650 * cspi/bonobo/Makefile.am: add.
5652 * cspi/bonobo/cspi-lowlevel.h: add
5654 * cspi/bonobo/cspi-bonobo.c: add
5656 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5658 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5659 (SUBDIRS): add bonobo, link in the libs.
5661 * cspi/spi-util.c: kill this file.
5663 * TODO: merge in my bits.
5665 2001-12-11 Michael Meeks <michael@ximian.com>
5667 * test/test-simple.c (test_value, test_table, main):
5668 remove unused variables causing warnings.
5670 * configure.in: cleanup checks - require gail.
5672 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5675 Changed Value interface to use SValue (scalars) rather than
5676 assuming all values are floats. This allows floats, doubles,
5677 longs, shorts, and unsigned values to be manipulated.
5678 Introduced Accessibility:SValue union.
5681 Updated to use new API above, and to work correctly with GValues
5682 of different types in AtkValue.
5685 Updated to use new API above. cspi's API is as yet unchanged.
5688 Updated the Value revision action item.
5690 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5692 * test/test-simple.c:
5693 Added test_table (GtkTreeView widget in test window to follow).
5694 Un-commented test_value, added GtkRange widget.
5695 Added GtkTreeView widget with GtkListStore. It passes regression
5696 test but leaks one SPI object for some reason.
5699 Fixed bug in impl__set_currentValue.
5701 2001-12-10 Michael Meeks <michael@ximian.com>
5703 * cspi/spi_text.c: audit for exception handling,
5704 tolerating NULL object references safely etc.
5706 * cspi/spi_value.c: ditto.
5708 * cspi/spi_table.c (AccessibleTable_getSummary),
5709 (AccessibleTable_getAccessibleAt),
5710 (AccessibleTable_getRowHeader),
5711 (AccessibleTable_getColumnHeader),
5712 (AccessibleTable_getCaption): fix bugs hidden by
5714 (long_seq_to_array): impl.
5715 (AccessibleTable_getSelectedRows),
5716 (AccessibleTable_getSelectedColumns): use it.
5718 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5721 Added a TODO list (rough and short for now).
5723 * cspi/spi_hyperlink.c:
5724 * cspi/spi_hypertext.c:
5725 Fixed macro name typos, and remove use of obsolete macro in
5726 AccessibleHyperlink_getLink.
5728 * cspi/spi_action.c:
5729 * cspi/spi_accessible.c:
5730 * cspi/spi_application.c:
5731 * cspi/spi_component.c:
5732 * cspi/spi_selection.c:
5735 Documentation fixes (removed return values from ref/unref methods).
5737 2001-12-10 Michael Meeks <michael@ximian.com>
5739 * cspi/spi_action.c: audit for exception handling,
5740 tolerating NULL object references safely etc.
5742 * cspi/spi_accessible.c: ditto.
5744 * cspi/spi_component.c: ditto.
5746 * cspi/spi_editabletext.c: ditto.
5748 * cspi/spi_hyperlink.c: ditto.
5750 * cspi/spi_hypertext.c: ditto.
5752 * cspi/spi_image.c: ditto.
5754 * cspi/spi_selection.c: ditto.
5756 2001-12-10 Michael Meeks <michael@ximian.com>
5758 * configure.in: use cspi/libspi.pc.in instead.
5760 * Makefile.am (pkgconfig_DATA): upd. to match.
5762 * test/simple-at.c (report_focus_event): kill hacks around
5763 bad return values, use putenv not setenv
5765 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5766 fire ChildGone - I killed it.
5768 * libspi/component.c
5769 (impl_accessibility_component_get_extents): remove
5772 * idl/Accessible.idl: kill ChildGone exception.
5774 * cspi/*.[ch]: kill int return from ref / unref.
5776 * cspi/spi_main.c (cspi_object_add_check): fold into
5777 (cspi_object_add): here.
5779 * cspi/spi_component.c (AccessibleComponent_getExtents):
5780 handle exceptions elegantly.
5782 * cspi/spi-private.h (cspi_check_ev_return),
5783 (cspi_return_if_fail): impl.
5785 * cspi/spi_accessible.c: use extensively.
5786 (AccessibleStateSet_equals): add direct compare check.
5788 * cspi/spi_selection.c: tolerate NULL objs, and check
5789 exceptions before return.
5791 * cspi/spi-util.c (cspi_warn_ev): rename to
5792 (cspi_check_ev): this & don't pass ev in; no point.
5794 2001-12-10 Michael Meeks <michael@ximian.com>
5796 * test/test-simple.c: use putenv not setenv
5797 (get_environment_vars): more chatty if you're not using
5800 * test/simple-at.c: do the setenv so more people see the
5803 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5805 * libspi/registry.c:
5806 Changed check of CORBA_environment on notification to be a warning
5807 instead of an error for the moment, since we can recover from this
5808 error when caused by a queued notification from a dead app.
5811 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5812 used by all current implementors of AtkValue), and coerce to
5813 CORBA_float. (Proper general case fix may require change to Value.idl).
5815 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5819 * cspi/spi_accessible.c:
5820 Documentation fixes: added user_data params to documentation for
5821 listeners and callbacks.
5823 * cspi/spi_accessible.c:
5824 Changed AccessibleStateSet_compare to return a
5825 StateSet rather than return the difference set into a third parameter.
5828 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5831 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5832 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5836 Remove subdirectory po from SUBDIRS for now.
5838 * at-bridge/bridge.c:
5839 Beefed up a couple of debug printouts.
5840 One-line fix for signal notification name formatting.
5842 * libspi/accessible.c:
5843 Added assertion to spi_accessible_new ().
5845 * libspi/application.c:
5846 Put #ifdef qualifiers around a printf.
5849 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5851 * registryd/Makefile.am:
5853 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5854 INTLTOOL_SERVER_RULE macro.
5857 Added an event listener for several ATK signals, for
5858 testing and debugging. Removed a few g_warnings.
5859 Added test output if focussed item implements the Value interface.
5861 * test/test-simple.c:
5862 Added test_value () function (known not to pass at the moment, so
5863 not actually called yet.
5865 2001-12-08 Michael Meeks <michael@ximian.com>
5867 * at-bridge/bridge.c (bridge_focus_tracker),
5868 (emit_eventv): fix the same ref. leak.
5869 (register_atk_event_listeners): don't leak.
5871 * cspi/spi-listener-impl.c (cspi_event): more
5872 protection from client code.
5874 * test/test-simple.c (test_desktop): unref the app.
5876 * test/Makefile.am: upd. TESTS.
5878 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5880 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5882 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5884 * cspi/spi_registry.c: constify in strings.
5885 (deregisterGlobalEventListenerAll): don't release the ref.
5887 * cspi/spi.h: start removing redundant / conflicting
5888 gtkdoc comments, making the API readable at a glance :-)
5890 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5892 * test/keysynth-demo.c (keysynth_exit, main): upd.
5894 * test/simple-at.c (main, simple_at_exit): upd.
5896 * test/test-simple.c (unutterable_horror): kill.
5897 (utterable_normal_derefs): kill.
5898 (main): upd & do a setenv before gtk_init, so that we
5899 can use memprof - and to save the pain of remembering
5900 this, if we're running under memprof - don't exit.
5902 * cspi/spi_main.c (SPI_exit): return exit status
5904 (SPI_event_quit): impl.
5905 (SPI_event_main): simplify.
5906 (cspi_is_gnome_app): kill.
5907 (SPI_init): kill isGNOMEapp arg.
5909 * at-bridge/bridge.c (register_atk_event_listeners):
5910 re-instate the unref.
5911 (bridge_exit_func): don't re-activate the registry,
5912 protect vs. theoretical re-entry, use the
5913 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5914 assert a clean shutdown - for regression tests.
5916 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5918 * configure.in: Comment out dummy i18n support for now,
5919 otherwise it fails to build.
5920 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5921 EXTRA_DIST. They are missing in tarball.
5923 2001-12-07 Michael Meeks <michael@ximian.com>
5925 * util/magnifier.c: kill bonobo activation reg. race.
5927 * libspi/component.c
5928 (impl_accessibility_component_get_extents): make it match
5931 * libspi/registry.c (_registry_notify_listeners):
5932 re-remove X headers & reconcile conflicts.
5933 (spi_listener_struct_free): bad conflict resolve.
5934 (impl_accessibility_registry_register_application):
5935 more bad merging fixed.
5936 (impl_accessibility_registry_deregister_application): ditto.
5937 (spi_registry_new): ditto.
5938 (spi_registry_init): don't have an applications field.
5940 [ merge fixups2 branch to here ]
5941 2001-12-07 Michael Meeks <michael@ximian.com>
5943 * test/simple-at.c (report_focus_event),
5944 (report_focussed_accessible): remove g_warning debug.
5946 2001-12-07 Michael Meeks <michael@ximian.com>
5948 * test/test-simple.c (validate_tree): comment out some checks.
5949 (test_desktop): app now not registered idly - horay.
5951 2001-12-07 Michael Meeks <michael@ximian.com>
5953 * cspi/spi_registry.c
5954 (registerAccessibleKeystrokeListener): clean, stop it leaking
5955 great swathes of memory, and device event controller references.
5956 ensure we always pass valid sequences.
5957 (deregisterAccessibleKeystrokeListener): ditto.
5958 (generateKeyEvent): upd.
5960 * at-bridge/bridge.c (bridge_key_listener): handle
5961 registry dead exception gracefully.
5962 (bridge_focus_tracker, emit_eventv): free ev.
5964 * test/simple-at.c (report_focus_event): fix polarity.
5966 * libspi/application.c (notify_listeners): kill the ev
5967 argument, and make sure we init the ev we use.
5968 (spi_application_object_event_listener): split out a chunk
5969 (get_atk_object_ref): here & fixup.
5970 (reverse_lookup_name_for_toolkit_event): make const.
5971 (spi_application_toolkit_event_listener): fixup, kill leaks
5974 * at-bridge/bridge.c (register_atk_event_listeners):
5975 don't unref the noop object - causes grief.
5977 * libspi/registry.c: remove the X headers.
5978 turn off the debug churn.
5980 * libspi/accessible.c (spi_accessible_new_return): only
5981 release the ref if we are supposed to [doh]
5983 * test/simple-at.c (report_button_press, report_focus_event):
5984 guard vs. unexpected exit.
5986 * at-bridge/bridge.c (gtk_module_init): prune printf.
5987 (bridge_exit_func): fix app unref.
5989 * libspi/Makefile.am: don't install registry or desktop.h
5991 * libspi/*.h: update includes.
5993 * libspi/application.h: don't include ourself, or
5994 other redundant headers.
5996 2001-12-06 Michael Meeks <michael@ximian.com>
5998 * libspi/accessible.c
5999 (get_accessible_from_servant): impl.
6000 Upd. all CORBA impl.s to use it killing cut and paste.
6002 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6004 (SPI_init): register atexit cleanup handler here.
6006 2001-12-06 Michael Meeks <michael@ximian.com>
6008 * at-bridge/bridge.c (gtk_module_init): g_error on
6009 activation exception
6011 2001-12-06 Michael Meeks <michael@ximian.com>
6013 * at-bridge/bridge.c (gtk_module_init): some sort of
6014 confusing merge clash - reverted.
6015 (bridge_idle_init): ditto.
6017 * test/test-simple.c (main, utterable_normal_derefs):
6018 merge from Bill - somehow not committed.
6020 2001-12-06 Michael Meeks <michael@ximian.com>
6022 * libspi/value.c (spi_value_class_init): upd.
6023 (spi_value_finalize): kill.
6025 * libspi/table.c (spi_table_finalize): kill.
6026 (spi_table_interface_new): upd.
6027 (spi_table_class_init): upd.
6028 (get_table_from_servant): impl.
6029 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6031 * libspi/selection.c (spi_selection_finalize): kill.
6032 (spi_selection_interface_new): upd.
6033 (spi_selection_class_init): upd.
6034 (get_selection_from_servant): impl.
6035 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6037 * libspi/relation.c (spi_relation_finalize): kill.
6038 (spi_relation_class_init, spi_relation_new): upd
6040 * libspi/image.c (spi_image_finalize): kill.
6041 (spi_image_class_init): upd.
6042 (spi_image_interface_new): upd.
6043 (get_image_from_servant): impl.
6044 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6046 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6047 (spi_hyperlink_finalize): kill.
6048 (spi_hyperlink_new): upd.
6049 (get_hyperlink_from_servant): impl.
6050 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6052 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6053 (spi_hypertext_finalize): kill.
6054 (spi_hypertext_class_init): upd.
6055 (get_hypertext_from_servant): impl.
6056 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6058 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6059 (spi_editable_text_interface_new): upd.
6060 (get_editable_text_from_servant): impl.
6061 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6063 * libspi/text.c (get_text_from_servant): impl.
6064 All impls - update to use it killing more cut and paste,
6065 also fix bad string returns on duff args ( a somewhat
6066 impossible case to handle - but hey ).
6067 (spi_text_construct): impl.
6068 (spi_text_interface_new): upd.
6069 (spi_text_object_finalize): kill.
6071 * libspi/component.c
6072 (accessibility_component_object_finalize): kill.
6073 (spi_component_class_init): upd.
6074 (get_component_from_servant): impl. helper to kill cut & paste.
6075 (impl_accessibility_component_contains):
6076 (impl_accessibility_component_get_accessible_at_point):
6077 (impl_accessibility_component_get_position):
6078 (impl_accessibility_component_get_extents):
6079 (impl_accessibility_component_get_mdi_z_order):
6080 (impl_accessibility_component_get_layer):
6081 (spi_component_interface_new): upd.
6083 * libspi/action.c (spi_action_finalize): kill.
6084 (spi_action_class_init): upd. inherit from SpiObject.
6085 (spi_action_interface_new): upd.
6086 (get_action_from_servant): impl. helper to reduce cut & paste.
6087 (impl_getKeyBinding, impl_getName, impl_doAction),
6088 (impl_getDescription): Use it everywhere.
6090 * cspi/spi_main.c (get_live_refs): a pointer hash.
6091 (spi_object_hash, spi_object_equal): comment out.
6092 There are issues with CORBA object hashing that need
6095 * libspi/application.c (spi_application_init),
6096 (spi_application_new): upd.
6098 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6099 (spi_accessible_class_init): upd.
6100 s/accessible/object/ in epv methods.
6102 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6104 * at-bridge/bridge.c:
6105 Reorder the bridge initialization into the bridge gtk_module_init,
6106 an immediate call to bridge_register_app, and an idle_add for
6107 register_atk_event_listeners (the only code that *must* wait until
6108 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6109 the activation, creates the application's Accessible object, and
6110 queues the bridge_idle_init function. Restored call to
6111 Accessibility_Registry_deregisterApplication().
6112 Prior to making this call we obtain a new reference to the
6113 registry, which is a temporary hack that helps us handle apps that
6114 shut down the bonobo mainloop before we get there.
6116 * libspi/registry.c:
6117 Fix string leakage in debug block, and don't segv if a an app
6118 dies before its event notifications have been propagated.
6121 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6122 as stopgap measure until we get proper exception handling when
6123 objects die during or before interrogation.
6127 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6128 Also changed default value of is_gnome_app to TRUE.
6131 * test/keysynth-demo.c:
6132 Changed use of SPI_init and SPI_event_main to reflect API change above.
6135 Made report_focus_event check the warning value from getName
6136 before reporting on focussed accessible; simplifies handling of
6137 notifications from dead objects.
6139 * test/test-simple.c: (Changes not in this patch since source is
6142 2001-12-05 Michael Meeks <michael@ximian.com>
6144 * registryd/registryd.c (main): protect against
6145 bonobo-activation startup race condition.
6147 * cspi/spi_main.c (cspi_object_add_check): cope
6148 with the exception elegantly.
6150 * idl/Accessible.idl: decl. ChildGone
6152 * libspi/desktop.c (spi_desktop_dispose): impl.
6153 (spi_desktop_class_init): upd.
6154 (spi_desktop_add_application),
6155 (spi_desktop_remove_application),
6156 (abnormal_application_termination): impl.
6157 (impl_desktop_get_child_at_index): re-impl.
6160 (impl_accessibility_registry_deregister_application),
6161 (impl_accessibility_registry_register_application):
6162 kill excessive debug clutter.
6164 * test/test-simple.c (test_misc): test some NULL
6165 tolerance. (main): upd.
6167 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6168 implements no interfaces - so let's not crash.
6170 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6172 * libspi/accessible.c (spi_accessible_new_return): impl.
6173 helper to calm the cut and paste, to cope with
6174 NULL AtkObjects effectively and efficiently, and to kill
6175 the referencing bugs.
6177 * libspi/table.c (impl_getAccessibleAt),
6178 (impl_getRowHeader, impl_getColumnHeader): upd.
6180 * libspi/hyperlink.c (impl_getObject): upd.
6182 * libspi/accessible.c
6183 (impl_accessibility_accessible_get_child_at_index): upd.
6185 * libspi/component.c
6186 (impl_accessibility_component_get_accessible_at_point): upd.
6188 * test/test-simple.c (test_editable_text, test_text): impl.
6191 * cspi/spi_editabletext.c
6192 (AccessibleEditableText_insertText): constify.
6194 * test/test-simple.c (focus_me): make more robust.
6196 * libspi/accessible.c: remove some printfs in methods that
6197 we test and work fine, so we can get a clean tree dump.
6199 * test/test-simple.c (validate_accessible),
6200 (validate_tree): make tree dumping pretty too.
6202 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6203 it builds without debug on.
6205 * test/test-simple.c (validate_accessible): fix the most
6208 * cspi/spi_main.c (spi_object_release): leave the nicely
6209 blanked memory around if in debug mode.
6211 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6213 [committed to fixups2]
6214 2001-12-05 Michael Meeks <michael@ximian.com>
6216 * libspi/editabletext.c
6217 (spi_editable_text_class_init): g_type_class_peek_parent,
6218 not interface peek - so we finalize cleanly.
6220 * libspi/accessible.c (spi_accessible_new): kill debug.
6222 * test/test-simple.c (validate_accessible): fix ref.
6223 leak, print strings before freeing them; sigh, comment a
6224 chunk out due to strangeness.
6225 (validate_tree): unref the child after use.
6227 * cspi/spi_component.c (AccessibleComponent_getLayer):
6228 add missing break statement, switch on zlayer not the
6229 uninitialized retval.
6231 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6232 before (possibly re-entering) remote unref.
6234 * test/simple-at.c (main): unref the desktop.
6236 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6239 * cspi/spi_main.c (cspi_accessible_is_a): here to
6240 isolate bonobo API usage more.
6242 * libspi/registry.c (impl_accessibility_registry_register_application):
6243 prune bogus comment.
6245 2001-12-04 Michael Meeks <michael@ximian.com>
6247 * test/test-simple.c (validate_tree): upd.
6248 IndexInParent check to make it more lucid.
6249 (validate_accessible): dump the tree.
6251 * libspi/accessible.c (de_register_public_ref),
6252 (get_public_refs): impl.
6253 (spi_accessible_new): make more efficient & intuitive.
6254 Now IndexInParent check works.
6256 2001-12-04 Michael Meeks <michael@ximian.com>
6258 * cspi/spi-util.h: remove.
6260 * cspi/spi.h: move SPI_freeString here
6262 * libspi/component.c (impl_accessibility_component_get_layer):
6264 (impl_accessibility_component_get_mdi_z_order): ditto,
6265 return -1 on error - is this ok ?
6267 * test/test-simple.c (test_application): impl.
6269 * cspi/spi_accessible.c (Accessible_getApplication),
6270 (Accessible_isApplication): impl.
6272 * libspi/registry.c (spi_listener_struct_free): release
6273 the CORBA reference too.
6275 * libspi/accessible.c
6276 (impl_accessibility_accessible_get_parent): fix ref leak.
6278 * libspi/registry.c (spi_registry_new): make the registry
6279 immortal - we don't want it to go away ever.
6281 * libspi/application.c
6282 (spi_accessible_application_finalize): impl. cleanup.
6284 * cspi/spi_registry.c
6285 (deregisterGlobalEventListenerAll),
6286 (deregisterGlobalEventListener),
6287 (deregisterAccessibleKeystrokeListener): fix ref leak.
6289 * cspi/spi_main.c (SPI_init): remove redundant ref.
6291 * test/test-simple.c (unutterable_horror): impl. to force a
6296 (impl_accessibility_registry_deregister_application): release
6297 the application when we de-register it.
6299 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6300 until we have the infastructure to get it right.
6302 2001-12-03 Michael Meeks <michael@ximian.com>
6304 * libspi/Makefile.am: only build eventlistener.[ch]
6306 * libspi/accessible.c
6307 (impl_accessibility_accessible_get_child_at_index): don't leak.
6309 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6310 before we hit the idle handler.
6312 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6313 debugging than exit.
6315 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6317 * libspi/listener.c (impl_notify_event): check source
6318 not NIL before unref.
6320 * libspi/registry.c (impl_registry_notify_event): ditto.
6322 * libspi/eventlistener.c
6323 (impl_accessible_event_notify_event): unref the source.
6325 * libspi/accessibleeventlistener.c
6326 (impl_accessible_event_notify_event): unref the source.
6328 * idl/Event.idl: remove 'hash_id' attribute - of no
6331 * libspi/application.c (notify_listeners): upd list
6333 (spi_application_object_event_listener),
6334 (spi_application_toolkit_event_listener): upd to do correct
6338 (_registry_notify_listeners): update.
6339 (parse_event_type): this method also leaks like a sieve.
6340 (impl_accessibility_registry_deregister_global_event_listener):
6341 fix ETYPE_WINDOW case.
6343 * libspi/application.c
6344 (impl_accessibility_application_register_object_event_listener):
6347 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6349 * libspi/hypertext.c (impl_getLink): ditto.
6351 * cspi/spi_main.c (cspi_object_add): remove
6352 bogus CORBA_Object_duplicate.
6354 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6357 * cspi/spi_accessible.c
6358 (Accessible_getRelationSet): fix leak / referencing issue.
6360 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6361 (cspi_object_add, cspi_object_unref): upd.
6362 (spi_object_release, get_live_refs): impl.
6363 (cspi_cleanup): simplify.
6365 * *.[ch]: s/boolean/SpiBoolean/
6367 * cspi/spi_accessible.c (role_names): actualy order so it
6368 corresponds with the enum !
6370 * test/test-simple.c (test_roles): check some role strings
6371 vs. enums to detect offset errors.
6373 2001-12-01 Michael Meeks <michael@ximian.com>
6375 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6377 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6379 (Accessible_getChildAtIndex): use cspi_add_check so we
6380 check the ev before using a (possibly) invalid value.
6382 * libspi/accessible.c
6383 (impl_accessibility_accessible_get_parent): don't segv
6386 * at-bridge/bridge.c (gtk_module_init): upd.
6387 (bridge_property_event_listener): don't leak strings
6389 (bridge_state_event_listener),
6390 (bridge_property_event_listener): don't use a static
6391 buffer in case of recursive event emission &
6392 re-enterancy - split out the swathe of cut and paste
6394 (emit_eventv): and fix 2 ref leaks here & comply to the
6396 (bridge_register_app): rename to
6397 (bridge_idle_init): this and kill arg parsing, split
6398 various inits & bonobo-activation registration to module
6399 init time, kill referencing error.
6400 (bridge_exit_func): fix the same leak.
6401 (bridge_focus_tracker): don't leak event structures
6403 (bridge_signal_listener): more leakage and cut & paste
6405 (bridge_key_listener): return the result - FIXME is
6406 this polarity correct ?
6407 (accessibility_keystroke_from_atk_key_event): rename
6408 (accessibility_init_keystroke_from_atk_key_event): and stop
6410 (gtk_module_init): return a value - not that it is checked by
6412 (bridge_key_listener): register my horror at casting between
6413 IDL defined structs.
6414 (bridge_get_registry): kill - not used.
6416 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6418 * test/test-simple.c (test_roles): impl.
6419 (test_desktop, validate_accessible, validate_tree): impl.
6421 * cspi/spi_accessible.c (role_names): fixup bogus
6422 MAX_ROLES setup, make constants const for efficient linkage
6423 (AccessibleRole_getName): conform to coding style, make
6426 2001-11-30 Michael Meeks <michael@ximian.com>
6428 * cspi/spi.h: add missing prototype.
6430 * libspi/registry.c (spi_listener_struct_new): fix sig.
6432 * test/Makefile.am: add test-simple
6434 * test/test-simple.c: add
6436 * test/test.sh: add.
6438 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6440 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6441 do it straight - since otherwise we often get an activation race.
6443 [ work before Bill duplicated a chunk of it ... ]
6444 2001-11-30 Michael Meeks <michael@ximian.com>
6446 * libspi/keystrokelistener.c
6447 (spi_keystroke_listener_class_init): fixup arg
6450 * libspi/eventlistener.c
6451 (spi_event_listener_class_init): ditto.
6453 * tests/test.sh: add.
6455 * cspi/spi-listener-impl.h: update macros.
6457 * cspi/spi-listener-impl.c
6458 (cspi_event_listener_remove_callback): add
6459 correct pre-conditions.
6461 * cspi/spi_main.c (SPI_exit): guard vs. double
6462 exits, exit the mainloop nicely.
6463 (SPI_event_main): make more sense.
6464 (SPI_init): move the atexit evilness here so we
6465 always do it (yuck).
6466 (SPI_event_main): upd.
6468 * test/simple-at.c: update for listener changes.
6470 * registryd/registryd.c (main): prune kruft.
6472 * libspi/libspi.h: upd.
6474 * libspi/eventlistener.[ch]: rename broken macros.
6476 * libspi/accessibleeventlistener.[ch]: remove.
6478 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6480 * test/test-simple.c: Add - automated tests.
6482 * cspi/spi-listener-impl.c (cspi_event),
6483 (cspi_key_event): add user_data to invoke.
6484 (cspi_keystroke_listener_finalize): impl.
6485 (cspi_keystroke_listener_class_init): upd.
6488 (createAccessibleEventListener),
6489 (AccessibleEventListener_addCallback),
6490 (createAccessibleKeystrokeListener),
6491 (AccessibleKeystrokeListener_addCallback): upd.
6493 * libspi/deviceeventcontroller.c
6494 (spi_device_event_controller_check_key_event): add public proto.
6497 (impl_accessibility_registry_deregister_global_event_listener):
6498 always init listeners.
6499 (_registry_notify_listeners): yes it is.
6501 * cspi/spi-listener-impl.c (cspi_key_event):
6503 (cspi_event_listener_finalize): impl.
6504 (cspi_event_listener_class_init): hook up.
6505 (event_handler_new, event_handler_free),
6506 (event_list_remove_by_callback): impl.
6507 (cspi_event_listener_remove_callback),
6508 (cspi_keystroke_listener_remove_callback),
6509 (cspi_keystroke_listener_add_callback),
6510 (cspi_event_listener_add_callback): upd.
6512 * libspi/keystrokelistener.c
6513 (keystroke_listener_object_finalize): kill
6514 (spi_keystroke_listener_class_init): upd.
6515 (spi_keystroke_listener_add_callback),
6516 (spi_keystroke_listener_remove_callback): kill,
6518 (impl_key_event): prune drasticaly.
6520 * libspi/eventlistener.c
6521 (spi_event_listener_add_callback),
6522 (spi_event_listener_remove_callback): kill, use
6524 (impl_accessible_event_notify_event): upd.
6525 (spi_event_listener_object_finalize): remove.
6527 * libspi/Makefile.am: use eventlistener.[ch]
6529 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6531 * libspi/registry.c (_registry_notify_listeners):
6532 Changed listener loop iteration to use preferred convention.
6533 Got rid of string memory leaks caused be calling g_strconcat
6534 inside function calls.
6536 * libspi/registry.c (parse_event_type):
6537 Stopped g_strconcat memory leaks, free the g_strsplit return,
6538 g_strdup the split pieces when used, etc.
6540 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6543 Change method 'compare' to return a 'difference set' rather than
6544 taking a StateSet as an out parameter (more Java-friendly).
6546 * idl/Accessible.idl:
6547 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6549 * idl/Component.idl:
6551 Changed methods 'getExtents' and 'getImageExtents' in these
6552 interfaces to return a BoundingBox structure.
6553 (getPosition and getSize are redundant and possibly should be
6554 removed, rather than creating a corresponding Point struct.)
6556 * cspi/spi_component.c:
6557 Modify implementation of getExtents to reflect the above IDL
6562 Add (missing) AccessibleImage_getExtents () API.
6564 * docs/reference/cspi/at-spi-cspi-sections.txt:
6565 Added AccessibleImage_getImageExtents () to docs.
6567 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6569 * idl/Component.idl:
6570 Added two methods, getLayer () and getMDIZOrder (), to reflect
6571 the new ATK methods atk_object_get_layer and
6572 atk_object_get_mdi_z_order. (Which arguably should be part of the
6573 AtkComponent API and AtkObject). Also added an enum,
6574 ComponentLayer, for the first method's return value.
6576 * libspi/component.c:
6577 Added implementations for these methods.
6579 * cspi/spi_component.c:
6581 Added cspi binding methods for above,
6582 AccessibleComponent_getLayer() and
6583 AccessibleComponent_getMDIZOrder().
6584 Added cspi enum 'AccessibleComponentLayer'.
6586 * docs/reference/cspi/at-spi-cspi-sections.txt:
6587 Added above methods to docs.
6591 Changed typedef for 'boolean' type (and all references to it) to
6592 SPIBoolean, to avoid keyword clashes with C++.
6595 Changed usages of 'boolean' to SPIBoolean.
6597 * test/keysynth-demo.c:
6598 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6599 app), except where SPIBoolean is required by the callbacks API.
6601 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6603 * cspi/spi_registry.c:
6604 Removed obsolete X event loop for passive keygrabs (which now
6607 * registryd/registryd.c:
6608 Removed unnecessary call to gdk_init() [cruft]. This also allows
6609 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6612 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6614 * docs/reference/cspi:
6615 Included docs for SPI_freeString in generated documentation.
6618 Renamed spi_freeString to SPI_freeString, for consistency. Added
6619 documentation for this function.
6622 Renamed spi_freeString to SPI_freeString, for consistency.
6623 Removed obsolete method declaration string_from_corba_string.
6625 * test/keysynth-demo.c:
6626 Small tweak to comments.
6629 Stopped leaking the strings returned from CSPI.
6631 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6633 Merged Michael's branch (see his ChangeLog entries below).
6635 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6636 bridge is alive, release on exit.
6638 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6639 Fix type check macro.
6642 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6645 Added is_gnome_app static, and method cspi_is_gnome_app(),
6646 so we can call the appropriate shutdown routine at exit in SPI_exit.
6648 * cspi/spi_main.c (cspi_object_ref):
6649 Duplicate the corba object passed in, since we're keeping it around.
6651 * cspi/SPI_exit.c, cspi_cleanup:
6652 Moved the releasing of the live refs to its own function, so we
6653 can put it in g_atexit (). Call the appropriate shutdown API
6654 depending on whethe calling client is a gnome app or not
6655 (bonobo_main_quit or CORBA_ORB_shutdown).
6657 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6658 Unref the listener when this method is called, after
6659 deregistration. Updated the API docs to note this behavior.
6661 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6662 Bugfixes: Ref the bonobo object when returning a parent or child
6663 reference, or an AccessibleRelation. Generally made sure
6664 BonoboObject refcount is incremented whenever we return an
6667 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6668 Fixed typo/bug in signal declaration.
6670 * libspi/accessibleeventlistener.h:
6673 * libspi/application.c (spi_application_new):
6674 Fixed leak in initialization.
6677 Remembered to increment bonobo-object refcount when returning
6678 children (applications) from desktop object.
6679 Added (empty) finalize method.
6681 * libspi/deviceeventcontroller.c:
6682 Hold a ref to listeners inside DEControllerKeyListeners.
6683 Added dec_key_listener_free() method. Use prepend instead of
6684 append in key_listener list. Fixed some refcount madness and
6685 leaks in the listener registration/deregistration - deregistration
6686 now calls dec_key_listener_free() on listeners, and on the
6687 temporarily constructed dec_key_listener() used to perform the search/match.
6689 * libspi/hypertext.c (spi_hypertest_finalize):
6690 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6691 class. Also fixed spi_hypertext_interface_new() and
6692 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6694 * libspi/hypertext.h:
6695 Removed pointless and duplicate AtkObject pointer from
6698 * libspi/keystrokelistener.c:
6699 Fixed incorrect type of keystroke_listener_parent_class,
6700 renamed keystroke_listener_object_finalize to
6701 spi_keystroke_listener_object_finalize.
6702 Fixed typo in signal declaration
6703 (spi_keystroke_listener_class_init).
6705 * libspi/registry.c:
6706 Added funcsions spi_listener_struct_new() and
6707 spi_listener_struct_free() to help with memory management issues.
6708 We also now use these methods instead of gnew + poking stuff into
6709 the struct, and to decrement listener counts/free the listeners
6710 when deregistering them.
6711 Fix more refcount bugs in getDesktop() and
6712 getDeviceEventController().
6715 De-ref the desktop after enumerating the applications. Explicitly
6716 decrement the refcounts on the created listeners on exit (using
6717 _unref for keystroke listeners, and via the
6718 deregisterGlobalEventListenerAll command for other event
6721 2001-11-27 Michael Meeks <michael@ximian.com>
6723 * cspi/spi-listener.h: fixup enum.
6725 2001-11-27 Michael Meeks <michael@ximian.com>
6727 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6728 (cspi_keystroke_listener_new): Use the cspi variants.
6730 2001-11-26 Michael Meeks <michael@ximian.com>
6732 * test/keysynth-demo.c: fix 2 compile warnings, missing
6735 * test/simple-at.c (report_focussed_accessible),
6736 (report_focus_event, report_button_press),
6737 (check_property_change, is_command_key),
6738 (report_ordinary_key_event, report_command_key_event): upd.
6740 * util/mag_client.h: include pre-requisites.
6742 * libspi/accessibleeventlistener.c
6743 (spi_event_listener_object_finalize): free any lingering
6746 * libspi/keystrokelistener.c
6747 (keystroke_listener_object_finalize): ditto.
6749 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6750 callbacks, with cspi types.
6752 * cspi/spi_event.c (createAccessibleEventListener): chain to
6753 (AccessibleEventListener_addCallback): here.
6754 (createAccessibleKeystrokeListener): chain to
6755 (AccessibleKeystrokeListener_addCallback): here.
6757 * libspi/keystrokelistener.c
6758 (spi_keystroke_listener_class_init): add signal.
6759 (impl_key_event): emit the event.
6760 (boolean_handled_accumulator): impl.
6761 (marshal_BOOLEAN__POINTER): add, gack.
6763 * libspi/accessibleeventlistener.c
6764 (spi_event_listener_class_init): add signal.
6765 (impl_accessible_event_notify_event): emit the signal &
6766 make the loop efficient.
6767 (spi_event_listener_add_callback): prepend the callback.
6769 * libspi/accessibleeventlistener.h: add an 'event' signal,
6770 decl type on callback.
6772 * libspi/keystrokelistener.h: ditto.
6774 * cspi/spi-listener.h: make methods typesafe and
6775 make them use the new event typedefs.
6777 * test/simple-at.c (report_focussed_accessible):
6778 include mag_client.h
6779 Use *(void *)text_interface not the other thing.
6781 * configure.in: add gtk to registryd bits - since we use
6784 * util/magnifier.c: include libbonobo.h
6786 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6788 * test/keysynth-demo.c:
6789 Turned this into a simple scanning keyboard, to demonstrate the
6790 use of g_timeout_add () as a means of creating timers for
6791 scanning, and the use of GtkStyle for visually indicating when
6792 virtual keyboard elements are selected.
6794 keysynth-demo now listens to any keyboard keys with zero-valued
6795 keycodes (i.e. 'unused' keys) and interprets them as
6798 Reworked the shiftlatch code so that shift-down state isn't held
6799 for long periods (it's only synthesized immediately prior to
6800 the keysynth event it's modifying). Note that shiftlatch in this
6801 demo is a convenience, not intended to take the place of AccessX
6802 which is the better choice for getting 'sticky' modifier keys.
6804 * libspi/deviceeventcontroller.c:
6805 * at-bridge/bridge.c:
6806 * cspi/spi_registry.c:
6807 Removed some debug print stuff, and put other verbosity in #ifdef
6812 Implemented some more of the magnifier IDL for the simple
6813 magnifier: namely, getZoomRegionParams.
6814 Added mag_x and mag_y members to MagnifierData struct, aid of this
6816 Added GtkWindow::realize signal handler to magnifier, to keep it
6817 from receiving keyboard focus from the WM.
6819 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6821 * cspi/spi-private.h: my guess at what michael forgot
6822 before he ran off to NZ :-)
6824 2001-11-23 Michael Meeks <michael@ximian.com>
6826 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6827 comment out non existant method invoke so we link.
6829 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6830 use bonobo_exception_get_text for more friendly warnings.
6832 * cspi/spi.c (Obj_Add): move into spi_main & rename
6833 spi_object_add; kill spi.c
6835 * cspi/spi_registry.c
6836 (deregisterGlobalEventListener),
6837 (deregisterGlobalEventListenerAll),
6838 (registerGlobalEventListener): fix exception leaks.
6840 * cspi/spi_main.c (spi_exception): impl. helper, so we
6841 don't leak exceptions.
6843 * cspi/spi_selection.c
6844 (AccessibleSelection_deselectSelectedChild): return the
6847 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6848 (spi_registry): ditto.
6849 (SPI_init): guard against double inits.
6851 * cspi/*.c: use spi_ev (), and spi_registry () where
6852 appropriate - a temporary hack until we have something
6853 better. Use spi_object_add
6855 2001-11-22 Michael Meeks <michael@ximian.com>
6857 * cspi/Makefile.am: re organise, install the headers.
6859 * cspi/*.h: add G_BEGIN/END_DECLS
6861 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6864 Added non-preemptive keylistener for key events with no modifiers
6865 and shift-only modifier.
6867 * libspi/keystrokelistener.c:
6868 Removed some verbose diagnostics printout.
6870 * cspi/spi_registry.c:
6871 Fixed a bug that caused all key listeners to be registered as
6874 * libspi/deviceeventcontroller.c:
6875 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6876 for non-preemptive key masks.
6879 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6881 * docs/reference/idl/at-spi-idl-docs.sgml:
6882 * docs/reference/idl/at-spi-idl-sections.txt:
6883 * docs/reference/idl/at-spi-idl-overrides.txt:
6884 Added missing files.
6886 * docs/reference/Makefile.am:
6887 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6888 to scan the IDL files :-(
6893 Added .cvsignore files.
6895 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6897 * libspi/deviceeventcontroller.c:
6898 * libspi/keystrokelistener.c:
6900 * cspi/spi_registry.c:
6901 Added filters for KeySets, KeyEventSeq, and event types to key
6902 event dispatching, so listeners should only receive those events
6903 that they requested :-)
6905 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6910 * docs/reference:Makefile.am:
6911 * docs/reference/cspi:
6912 * docs/reference/cspi:Makefile.am:
6913 * docs/reference/cspi:tmpl:
6914 * docs/reference/cspi:tmpl:*.sgml:
6915 * docs/reference/idl:
6916 * docs/reference/idl:Makefile.am:
6917 * docs/reference/idl:at-spi-idl-sections.txt:
6918 * docs/reference/idl:at-spi-idl-docs.sgml:
6919 * docs/reference/idl:tmpl:
6920 * docs/reference/idl:tmpl:*.sgml:
6922 Restructured docs directory to allow separate 'reference' docs
6923 section, and forked idl and cspi docs. Added the sgml template
6924 files to CVS. Added the first sections/structural sgml for the
6927 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6929 * configure.in, libspi/Makefile.am: find libXtst.
6931 2001-11-21 Michael Meeks <michael@ximian.com>
6933 * test/accessx-gui.c: s/spi_value/value/ - doh.
6935 * libspi/base.[ch]: add.
6937 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6939 * idl/Accessible.idl:
6940 * idl/Application.idl:
6943 Started gtk-doc cleanup on IDL.
6945 * libspi/deviceeventcontroller.c:
6946 Added and connected non-preemptive key notification from the
6947 toolkits (in addition to the pre-emptive support from XServer
6948 which we had before, but which causes 'focus flashing'). Filters
6949 are presently limited to key modifiers and global/non-global,
6950 KeySets are presently ignored, as are KeyEvent masks.
6952 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6953 structs into the persistant structure rather than just storing
6954 pointers to things that might not persist across servant
6957 The XGrabKey call now does async keygrabs, because synchronous
6958 ones were deadlocking with GDK_event code in a very nasty way.
6960 Added boolean to internal method notify_keylisteners, to indicate
6961 whether the event came from the 'toolkit source' or the 'global
6962 (XServer) source' - this is used in the notification process to
6963 determine which listeners to send the event to.
6965 deviceeventcontroller.c is now warning-free.
6967 * libspi/registry.c:
6968 Fixed regression in application de-registration.
6969 Also fixed some really brain-dead weirdness having to do with
6970 event dispatching - event structs are now duplicated before being
6971 re-marshalled in the dispatch to listeners. This also fixes a
6972 Solaris build problem.
6975 2001-11-20 Michael Meeks <michael@ximian.com>
6978 (impl_accessibility_registry_deregister_global_event_listener):
6981 * libspi/deviceeventcontroller.c
6982 (spi_device_event_controller_check_key_event): return
6983 FALSE on no virtual method.
6985 * libspi/*..h: make includes work on a correctly pathed install.
6987 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6989 * libspi/application.h: kill unused ( and whacked out )
6990 gboolean *spi_application_set_id (AtkObject *app, long id);
6992 2001-11-20 Michael Meeks <michael@ximian.com>
6994 * libspi/*.[ch]: further convert to bonobo's type func
6995 macros, remove redundnant casts etc.
6997 * libspi/text.c s/accessibility_text/spi_text/g,
6998 re-order to de-cruft.
7000 * libspi/hypertext.c: re-order to kill a huge slew
7001 of redundant forward decls.
7003 * libspi/relation.c: ditto.
7005 * libspi/image.c: ditto.
7007 * */.cvsignore: update
7009 2001-11-20 Michael Meeks <michael@ximian.com>
7011 * libspi/deviceeventcontroller.c
7012 (_controller_register_with_devices): use g_getenv,
7013 kill stdlib.h include.
7015 * libspi/keystrokelistener.c
7016 (spi_keystroke_listener_get_type): kill
7017 (spi_keystroke_listener_class_init),
7018 (spi_keystroke_listener_init): rename to this.
7020 * libspi/text.c (impl_getAttributes): fix warning / bug.
7022 * libspi/*.[ch]: more headers, includes and over commenting.
7024 2001-11-20 Michael Meeks <michael@ximian.com>
7026 * libspi/*.[ch]: fixup headers, includes and over commenting.
7028 * libspi/image.c (impl__get_imageDescription): const
7029 correctness warning fix. remove redundant casting.
7031 * libspi/table.c (impl_getRowDescription): ditto.
7032 (impl_getColumnDescription): ditto.
7034 * libspi/libspi.h: add.
7036 2001-11-19 Michael Meeks <michael@ximian.com>
7038 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7040 * libspi/component.c (accessibility_component_get_type):
7041 rename to (spi_component_get_type): and macroify.
7042 (accessibility_component_init): rename to
7043 (spi_component_init): this
7044 (accessibility_component_class_init): rename to
7045 (spi_component_class_init): this
7047 * libspi/action.c (spi_action_get_type): kill, use the macro.
7049 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7052 * libspi/application.c (spi_application_object_event_listener),
7053 (impl_accessibility_application_register_object_event_listener):
7054 warning fixes / const understanding updates.
7056 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7059 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7061 * libspi/spi_accessible.c: Added docs and C bindings for
7062 AccessibleStateSet. (No implementations yet). Documentation
7063 coverage for C bindings now 100%. Made docs for event listeners
7068 boolean notifyListenersSync (in DeviceEventListener listener,
7069 in DeviceEvent event);
7071 oneway void notifyListenersAsync (in DeviceEventListener listener,
7072 in DeviceEvent event);
7074 Added DeviceEventListener and DeviceEvent structs (may deprecate
7075 KeyStroke and KeystrokeListener in favor of this generic
7076 event/listener framework for devices).
7078 * libspi/deviceeventcontroller.c:
7080 Changed some key listener code to take masks, etc., and paved the
7081 way for integration of toolkit/non-preemptive key events. Changed
7082 signatures of some internal methods.
7084 * at-bridge/bridge.c:
7085 Fixed regression connecting to interface signals, apparently
7086 caused by GTK+ changes.
7088 Added an internal bridge_state_listener to deal with
7089 property-change:accessible-state signals.
7091 Changed the key_listeners GList to store structs (including masks,
7092 etc.) instead of just CORBA_Objects (required for full
7093 implementation of key listener API).
7095 Connected the bridge to all currently supported Atk signals.
7096 Events now supported:
7097 object:property-change
7098 object:property-change:accessible-name
7099 object:property-change:accessible-state
7100 object:property-change:accessible-description
7101 object:property-change:accessible-parent
7102 object:property-change:accessible-value
7103 object:property-change:accessible-role
7104 object:property-change:accessible-table-caption
7105 object:property-change:accessible-table-column-description
7106 object:property-change:accessible-table-column-header
7107 object:property-change:accessible-table-row-description
7108 object:property-change:accessible-table-row-header
7109 object:property-change:accessible-table-summary
7110 object:children-changed
7111 object:visible-data-changed
7112 object:selection-changed
7113 object:text-selection-changed
7115 object:text-caret-moved
7117 object:row-reordered
7119 object:column-inserted
7120 object:column-reordered
7121 object:column-deleted
7122 object:model-changed
7124 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7126 * libspi/hyperlink.c,h:
7127 Fixed some broken stuff in hyperlink.
7129 * libspi/relation.h:
7130 * libspi/relation.c:
7131 * cspi/spi_accessible.c:
7132 Initial implementations of AccessibleRelation methods, and docs.
7134 * libspi/accessible.c:
7135 Fixed a bug that caused SEGV if an accessible
7136 object's description is NULL, and a client
7137 requests it. An empty string is now returned.
7139 * cspi/spi_editabletext.c:
7140 * cspi/spi_hypertext.c:
7142 * cspi/spi_hyperlink.c:
7146 Doc coverage now 95%.
7148 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7150 One last namespacing revision:
7151 * libspi/accessibleeventlistener.[ch]:
7152 Renamed SpiAccessibleEventListener to SpiEventListener,
7153 (no need for two namespaces ;-)
7155 And lots of documentation fixes:
7157 * docs/at-spi-docs.sgml:
7158 Fixed 'underscore vs. hyphen' bug that was preventing
7159 the gtk-doc API docs from being automatically generated.
7162 * cspi/spi-listener.h
7164 * cspi/spi_accessible.c
7166 * cspi/spi_application.c
7167 * cspi/spi_component.c
7168 * cspi/spi_editabletext.c
7170 * cspi/spi_hypertext.c
7172 * cspi/spi_registry.c
7173 * cspi/spi_selection.c
7177 * docs/at-spi-docs.sgml
7178 * docs/at-spi-sections.txt
7180 Added and fixed up gtk-doc documentation in cspi.
7182 Interfaces now (fully) documented (subject to revision and enhancement):
7184 Event Listener Support
7186 AccessibleApplication
7190 AccessibleEditableText
7197 AccessibleRelationSet
7202 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7204 * at-bridge/bridge.c:
7205 Initial work for toolkit-level key snooper connection by bridge.
7210 New typedefs and fixes to support new namespacing, and cleaner
7211 separation of cspi bindings from libspi bonobo implementation.
7212 Removed inconsistent and extraneous Spi* namespace prefix that
7213 had crept into cspi headers.
7214 Lots of comment fixes that sed had missed.
7216 * cspi/spi-roletypes.h:
7217 * cspi/spi-statetypes.h:
7218 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7219 to AccessibleRoleType.
7221 * libspi/accessibleeventlistener.h:
7222 Fixed minor namespacing weirdness.
7224 * libspi/deviceeventcontroller.c:
7225 Reordered some internal API for device listeners.
7226 Changed the key registry final boolean to 'is_system_global'
7227 rather than 'is_synchronous', which is more descriptive of its
7229 Added spi_device_event_controller_new().
7230 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7232 * libspi/keystrokelistener.[ch]:
7233 Namespaced KeystrokeListener to SpiKeystrokeListener.
7234 Changed uses of keymasks to use SPI_ prefix, and did other
7237 * libspi/keymasks.h:
7238 Namespaced keymask constants with SPI_ prefix.
7240 * libspi/registry.c:
7241 Some warning fixes, and knock-on fixes from namespace changes.
7244 Added rules for accessx-gui test program.
7246 * test/accessx-gui.c:
7247 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7248 utility. It doesn't actually use at-spi, but it's still cool and
7251 * test/keysynth-demo.c:
7255 Fixes so that these test clients work properly with the namespaced
7256 libraries. (Incompletely tested for technical reasons, fixes may follow)
7259 2001-11-13 Michael Meeks <michael@ximian.com>
7261 * libspi/application.c
7262 (impl_accessibility_application_get_version),
7263 (impl_accessibility_application_get_toolkit_name):
7265 (impl_accessibility_application_set_id),
7266 (impl_accessibility_application_get_id): remove
7267 redundant casting code.
7269 * libspi/action.c (impl_getDescription): fix warnings.
7271 * libspi/accessible.c
7272 (impl_accessibility_accessible_get_parent),
7273 (impl_accessibility_accessible_get_child_at_index),
7274 (impl_accessibility_accessible_get_state),
7275 (impl_accessibility_accessible_get_relation_set):
7276 warning fixes & include action.h
7278 2001-11-13 Michael Meeks <michael@ximian.com>
7280 * *.[ch] fix bits I screwed up:
7282 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7283 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7285 2001-11-13 Michael Meeks <michael@ximian.com>
7287 * *.[ch] Namespace libspi into spi_ and Spi.
7289 2001-13-11 Michael Meeks <michael@ximian.com>
7291 * Makefile.am: dist & install at-spi-1.0.pc
7293 * libspi/Makefile.am: install into at-spi-1.0
7295 * idl/Makefile.am (idldir): install into at-spi-1.0
7297 * at-spi-1.0.pc.in: add.
7299 * configure.in: build it.
7301 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7303 * test/keysynth-demo.c:
7304 Use a 'realize' signal-handler to set the WM properties for
7305 the virtual keyboard, rather than making it a "POPUP" type
7306 override-redirect window (thanks to anders carlsson for that
7309 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7312 * test/keysynth-demo.c:
7313 Added new test of key synthesis, which creates a simple
7314 (mouse-operated) onscreen keyboard. It inserts key events into
7315 the currently-focused window, thus it does not grab keyboard focus
7318 * cspi/spi_registry.c:
7319 Added C binding for AT-SPI generateKeyEvent.
7321 * libspi/deviceeventcontroller.c:
7322 Added call to XFilterEvent so that key listener works with XIM (we
7323 hope). Added event_synth_type to generateKeyEvent, so that we can
7324 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7325 synthesize a press/release pair for KeySyms.
7327 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7329 * libspi/Makefile.am:
7330 * registryd/Makefile.am:
7331 (temporary) hack to include libXtst in libspi and registryd.
7332 (Needed for keystroke synthesis, see below).
7335 Improved API for registerKeystrokeListener, in accordance with
7336 discussions with Gnopernicus team and X server research.
7338 * libspi/registry.c:
7339 * libspi/deviceeventcontroller.c:
7340 * libspi/accessible.c:
7341 * libspi/keystrokelistener.c:
7342 Changes and fixes to support keylisteners for potentially
7343 consumed key events (that is, 'passive grabs').
7344 Added implementation for generateKeyEvent() [untested].
7347 Changes to registerKeystrokeListener() API, as above.
7348 Added deregisterGlobalEventListenerAll(), and
7349 deregisterKeystrokeListener(), which are needed for clean exit of
7351 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7352 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7354 * cspi/spi_registry.c:
7355 Added implementations of function prototypes mentioned above.
7357 * registryd/registryd.c:
7358 Added the key listener event source as a g_timeout(), to allow
7359 receipt of key events that are not caught by GDK (since GDK
7360 doesn't support passive keygrabs, this was necessary).
7363 Changed to attach a keylistener to 'Alt' keys, and
7364 respond to the following keycommands: Alt-M (toggle magnifier);
7365 Alt-F (toggle speech); Alt-Q (quit).
7366 Added an exit routine to deregister the listeners, and a key
7367 listener that prints some key info to the console when a key
7368 matches the listener mask (and is thus received by the listener).
7370 * util/idl/Magnifier.idl:
7371 Changes to magnifier API to support multiple zoom regions,
7372 non-uniform scaling in x and y, markDirty, and a host of other
7373 features that would be useful to magnification.
7376 * util/mag_client.c:
7377 * util/mag_client.h:
7378 * util/mag_control.c:
7380 Source code changes to support the above IDL changes.
7383 As above, and also changes to use a (slower) generic conversion
7384 path for colormap conversions, since the fast RGB conversions have been
7385 reported to fail for 16-bit displays.
7387 2001-10-26 Michael Meeks <michael@ximian.com>
7389 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7391 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7393 * at-bridge/Makefile.am: fix LDFLAGS.
7395 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7397 * at-bridge/bridge.c:
7398 Re-worked listeners for toolkit events, now we have signal
7399 and property listeners. Added a private method
7400 register_atk_event_listeners(), which registers with the
7401 various atk and gtk signals we need to monitor in order to emit
7403 Added emission hook for AtkObject:property-change events, to
7404 support the 'property listeners'.
7405 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7408 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7409 which emit warnings and exit, respectively, if CORBA errors occur
7410 during remote calls, and we now use these methods to check most of
7411 our CORBA calls in the C bindings.
7413 * cspi/spi_accessible.c:
7414 Changed AccessibleSelection_refSelectedChild() to
7415 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7416 now increment refcounts.
7418 * cspi/spi_component.c:
7419 Fixed some long pointer casts (dangerous!) to pass pointers to
7420 CORBA_longs of the proper type to the CORBA stubs, and copy the
7421 data into the longs that were passed into the C bindings code.
7423 * at-bridge/bridge.c:
7425 * libspi/accessible.c:
7426 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7427 hyperlinks, AtkHyperlink is an object type.
7429 * libspi/application.c:
7430 Added various conversions to and from "generic" event types and
7431 atk-specific types; this is really part of the 'bridge'
7432 implementation but is valid for all AtkObject-based accessibility
7435 * libspi/editabletext.c:
7436 Fixed nasty bug wherein editable text's finalize method was
7437 unref'ing tha AtkObject reference that the text parent class was
7438 about to unref _again_. There was also a nasty inheritance bug
7439 that meant that the AccessibleEditableText class was corrupt.
7441 * libspi/selection.c:
7442 Provided implementations for some selection API that was broken.
7444 * idl/Application.idl:
7445 Added registerObjectEventListener () method.
7448 Fixed a number of return values that were Bonobo_Unknowns from
7449 bonobo_object_corba_objref(), which I
7450 forgot to dup before returning. Changed instances of
7451 bonobo_object_corba_objref (bonobo_object(o)) to
7452 BONOBO_OBJREF(o), for concision and clarity.
7454 2001-10-13 Louise Miller <louise.miller@sun.com>
7456 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7457 idl/Event.idl, idl/Registry.idl
7458 Changed these files to include Bonobo_Unknown.idl instead
7461 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7463 * libspi/component.c libspi/component.h:
7464 Fixed typo. Added assertions for object checks in
7465 AccessibleComponent code.
7467 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7469 * idl/Accessible.idl:
7470 Added 'isEqual (Accessible *object)'
7471 method for Accessible. (Not Yet Implemented).
7474 Changed signature of registerKeystrokeListener() to
7475 take a KeySet and KeyEventSeq so that specific keys and event
7476 types could be requested for monitoring, and added a flag
7477 is_synchronous so that either synchronous or asynchronous
7478 notification could be requested. (However this is not all
7479 implemented yet). This also meant adding two new typedefs,
7480 KeyEventSeq and KeySet.
7483 Added two new relations, RELATION_TOOLTIP_FOR and
7484 RELATION_LEAFNODE_OF.
7487 Added new state, STATE_HAS_TOOLTIP.
7489 * libspi/text.c, editabletext.c:
7490 Added new assertions to all casts of bonobo-objects from
7491 CORBA servants, to prevent Text API calls on non-text objects.
7492 Changed suspect casts of int-pointer types, so that we
7493 always send a valid CORBA_long pointer to the CORBA APIs that use
7494 in/out long parameters. We then have to copy from the CORBA_long
7495 into the regular long or int for return to the C bindings, or
7496 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7499 * libspi/deviceeventcontroller.c:
7500 Cleaned these sources up.
7502 Changed return type for getCharacterAtOffset to
7503 CORBA_unsigned_long, to allow for 32-bit characters.
7506 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7510 Fixed 'make dist' so that distro compiles...
7511 * libspi/keymasks.h:
7513 * cspi/spi-listener.c:
7514 KeystrokeListenerCB now returns a boolean.
7516 Added KeyEventType struct, and KeyStroke.
7517 Also added createKeystrokeListener(),
7518 KeystrokeListener_addCallback(),
7519 KeystrokeListener_removeCallback(), and added a keymask to
7520 registerKeystrokeListener().
7521 * cspi/spi_accessible.c:
7522 Changed numerous return types for interfaces from
7523 AccessibleComponent to Accessible<InterfaceName>; this was
7524 probably a cut-and-paste error.
7526 Implementations of new KeystrokeListener api (from spi.h,
7529 Changes to key modifier mapping.
7530 Created ControllerEventMask struct.
7531 Made DeviceEventController derive from Bonobo::Unknown.
7533 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7534 * libspi/deviceeventcontroller.c:
7535 Added a number of new internal (private) methods.
7536 * libspi/editabletext.c:
7537 * libspi/editabletext.h:
7538 Fixed a number of bugs related to the fact that
7539 editabletext inherits from text. Fixed the EditableText struct,
7540 the init() call, and use correct casts when calling Text methods
7541 from an EditableText object. Removed (duplicate) atko from the
7542 EditableText structure, we use the one in the parent Text
7543 structure via the casts mentioned above.
7544 * libspi/keystrokelistener.[ch]:
7545 * libspi/registry.c:
7546 Changes in support of keyboard handling (above).
7548 Keyboard handling, though partly functional, is still not
7549 recommended for at-spi client use as there is considerable
7550 work yet to be done.
7553 Changed some places where pointers to various int types
7554 are cast to be pointers to CORBA_long types and vice-versa:
7555 pointer casting is not safe so we pass pointers of the correct
7556 types and then cast the result before putting it into the target
7559 * libspi/text.h: minor typos corrected.
7561 We now speak not only the name of a Text element, but the
7562 first sentence of its content, when it receives focus.
7563 I also changed the text compression to 75% from 50%.
7564 * util/Accessibility_Util.server.in:
7565 Changed the default magnifier type to be a 3x vertical
7566 splitscreen magnifier (was previously a 2x horizontal one).
7568 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7570 * libspi/keystrokelistener.h:
7571 * libspi/keystrokelistener.c:
7572 Initial functional implementations of KeystrokeListener.
7575 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7577 Fixed string handling for NULL strings in libspi.
7578 Added spi_freeString to free strings returned by C bindings.
7580 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7582 * libspi/keystrokelistener.h:
7583 * libspi/keystrokelistener.c:
7584 Began (no-op) implementations of KeystrokeListener
7586 * libspi/deviceeventcontroller.c:
7587 * libspi/deviceeventcontroller.h:
7588 Began creating implementations of DeviceEventController,
7589 to handle keystroke and mouse event listening and
7591 * libspi/accessible.c:
7592 Stubbed-in the implementations for
7593 Accessibility_Accessible_getState and
7594 Accessibility_Accessible_getRelationSet.
7595 * libspi/registry.c:
7596 Improved de-registration process and fixed some bugs,
7597 deregistration now works correctly.
7599 Added initialization of applications list (to NULL).
7601 Reduced speech compression from 0.5 to 0.7, for demo.
7602 Changed call to gdk_window_set_decorations()
7603 to gtk_window_set_decorated().
7604 * at-bridge/bridge.c:
7605 Bridge now deregisters when app exits, via
7606 registration of a cleanup function
7607 with the g_atexit() call.
7608 Required making 'app' static, renamed 'this_app'.
7609 Fixed broken use of bonobo_init, passing argv wrongly.
7611 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7615 Created a new directory for
7616 accessibility-related utilities, primarily for
7617 testing and demo purposes, but with possible
7624 Onscreen magnifier utility that
7625 is implemented as a bonobo service.
7627 * util/mag_client.c:
7628 * util/mag_client.h:
7629 Client-side support (simple C bindings)
7630 for Magnification service
7632 * util/mag_control.c:
7633 Client program example for
7634 Magnification service
7636 * util/Accessibility_Magnifier.server.in:
7637 Bonobo-activation file for the
7638 Magnification service.
7641 * util/idl/Magnifier.idl:
7642 IDL defining the bonobo Magnification
7646 Modifications to use the bonobo-activated magnifier
7647 above, in place of trying to connect to an existing
7648 magnifier that uses socket-listening IPC.
7650 If env variable MAGNIFIER is set, a magnifier service
7651 will be started if one does not exist.
7653 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7655 * at-bridge/bridge.c:
7656 applied patch from Marc to build and run
7657 against new glib and gtk+ (seemed like a change
7658 to bonobo_init signature was made ?)
7660 made festival-server support turned off by default.
7661 Added support for a simple magnifier (off by default)
7662 which will be added to a 'util' directory later.
7663 * at-bridge/Makefile.am:
7664 Changed "application.h" header from a 'source'
7665 to a 'dependency' of libat-bridge.
7667 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7676 Added interface implementation c files to list of
7677 includes so they are included in libcspi.
7680 Changed prototype of AccessibleAction_doAction to return a
7682 Changed prototype of AccessibleTable_getCaption to
7683 return an Accessible.
7684 Changed prototype of AccessibleTable_getSelectedRows
7685 and AccessibleTable_getSelectedColumns to
7686 return a long (returns the number of selected rows
7687 or columns respectively).
7688 Changed name of AccessibleText_refRunAttributes to
7689 AccessibleText_getAttributes.
7690 Changed prototype of AccessibleText_getCharacterExtents to
7691 return a void rather than a boolean.
7692 Added support for a AccessibleCoordType parameter
7693 specifying what type of coordinates are desired.
7694 Added an AccessibleCordType parameter to
7695 AccessibleText_getPointAtOffset.
7697 * cspi/spi_accessible.c:
7698 Added code to return the outstanding interfaces from
7699 Accessible_queryInterface.
7701 * cspi/spi_action.c:
7703 Corrected call to getNActions to call the c binding
7706 * cspi/spi_editabletext.c:
7708 Changed name from setRunAttributes to setAttributes.
7710 * cspi/spi_hyperlink.c:
7712 Changed call to getNAnchors to correctly call the c
7713 binding for an attribute.
7715 * cspi/spi_hypertext.c:
7717 Changed getImageDescription to correctly call the
7718 binding for an attribute.
7720 * cspi/spi_selection.c:
7721 Changed getNSelectedChildren to correctly call the c
7722 binding for the attribute.
7723 Changed refSelectedChild to getSelectedChild.
7727 Changed getCaption to return an Accessible.
7728 Fixed calls which retrieve attributes.
7729 Changed refAt to getAccessibleAt.
7730 Changed getNSelectedRows and getNSelectedColumns to
7734 Changed getCharacterExtents and getPointAtOffset to accept an
7735 AccessibleCoordType.
7737 Changed calls which retrieve attributes.
7738 Changed refRunAttributes to getAttributes.
7743 * idl/Hyperlink.idl:
7744 Changed n_anchors attribute to nAnchors to keep naming
7745 convention consistent.
7748 Made Table inherit from Bonobo::Unknown.
7749 Added nSelectedColumns and nSelectedRows attributes.
7752 Made Value inherit from Bonobo::Unknown.
7754 * libspi/hyperlink.c:
7755 Change for nAnchors attributte name change.
7757 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7765 Added interface implementation c files to list of
7766 includes so they are included in libcspi.
7769 Changed prototype of AccessibleAction_doAction to return a
7771 Changed prototype of AccessibleTable_getCaption to
7772 return an Accessible.
7773 Changed prototype of AccessibleTable_getSelectedRows
7774 and AccessibleTable_getSelectedColumns to
7775 return a long (returns the number of selected rows
7776 or columns respectively).
7777 Changed name of AccessibleText_refRunAttributes to
7778 AccessibleText_getAttributes.
7779 Changed prototype of AccessibleText_getCharacterExtents to
7780 return a void rather than a boolean.
7781 Added support for a AccessibleCoordType parameter
7782 specifying what type of coordinates are desired.
7783 Added an AccessibleCordType parameter to
7784 AccessibleText_getPointAtOffset.
7786 * cspi/spi_accessible.c:
7787 Added code to return the outstanding interfaces from
7788 Accessible_queryInterface.
7790 * cspi/spi_action.c:
7792 Corrected call to getNActions to call the c binding
7795 * cspi/spi_editabletext.c:
7797 Changed name from setRunAttributes to setAttributes.
7799 * cspi/spi_hyperlink.c:
7801 Changed call to getNAnchors to correctly call the c
7802 binding for an attribute.
7804 * cspi/spi_hypertext.c:
7806 Changed getImageDescription to correctly call the
7807 binding for an attribute.
7809 * cspi/spi_selection.c:
7810 Changed getNSelectedChildren to correctly call the c
7811 binding for the attribute.
7812 Changed refSelectedChild to getSelectedChild.
7816 Changed getCaption to return an Accessible.
7817 Fixed calls which retrieve attributes.
7818 Changed refAt to getAccessibleAt.
7819 Changed getNSelectedRows and getNSelectedColumns to
7823 Changed getCharacterExtents and getPointAtOffset to accept an
7824 AccessibleCoordType.
7826 Changed calls which retrieve attributes.
7827 Changed refRunAttributes to getAttributes.
7832 * idl/Hyperlink.idl:
7833 Changed n_anchors attribute to nAnchors to keep naming
7834 convention consistent.
7837 Made Table inherit from Bonobo::Unknown.
7838 Added nSelectedColumns and nSelectedRows attributes.
7841 Made Value inherit from Bonobo::Unknown.
7843 * libspi/hyperlink.c:
7844 Change for nAnchors attributte name change.
7847 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7849 implementations-- made server implementations own AtkObject pointers
7850 rather than their respective AtkInterrface pointers to fix
7851 refcounting. AtkHyperlink is still broken.
7853 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7854 * cspi/spi_accessible.c:
7855 Added method Accessible_Role_getName(),
7856 and requisite string array (role_names).
7857 Added conversion string_from_corba_strin() call
7858 to Accessible_getName and _getDescription.
7859 * libspi/accessible.c:
7860 Added implementation for Accessible_getRole()
7862 Added festival support, used if environment variable
7865 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7867 * at-bridge/bridge.c:
7868 Now allocate Accessibility_Event using
7869 Accessibility_Event__alloc() instead of g_new0().
7870 * libspi/accessibleeventlistener.c:
7871 Initialize AccessibleEventListener->callbacks to NULL.
7872 Fixed accessible__event_listener_init() param, changed to
7873 "AccessibleEventListener *" type.
7874 Changed a bonobo_object_release_unref() call to
7875 Accessibility_Accessible_unref().
7876 * libspi/listener.c:
7877 Changed Bonobo_Unknown_unref to (equivalent)
7878 Accessibility_Accessible_unref.
7879 * libspi/registry.c:
7880 Changed bonobo_object_release_unref to
7881 Accessibility_Accessible_unref.
7883 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7886 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7887 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7888 spi-util.c spi-util.h
7889 Implementations for C bindings to remaining accessibility
7892 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7895 changed return value of Action from void to boolean to
7896 bring in line with ATK.
7899 Changed getText funcions to return "out" start and end offsets.
7900 Changed getAttributes to take and offset and return the start
7901 and end offset of the attribute run.
7902 Changed getOffsetAtPoint and getCharacterExtents to take an
7903 enum describing whether coordinates are window or screen.
7906 libspi/action.c libspi/action.h libspi/editabletext.c
7907 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7908 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7909 libspi/image.h libspi/selection.c libspi/selection.h
7910 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7911 libspi/value.c libspi/value.h
7912 Added server implementations for outstanding ATK interfaces
7913 not yet implemented.
7915 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7918 Added (missing) getName() method.
7919 Made nActions an attribute.
7920 * idl/EditableText.idl:
7921 Changed order of params in setAttributes.
7922 * idl/Hyperlink.idl:
7923 Removed getAnchor, added getURI.
7925 Changed attributes to methods, for efficiency
7926 (so that getting extents can be done in one call)
7927 * idl/Selection.idl:
7928 Changed nSelectedChildren to attribute, and re-indented.
7929 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7931 * idl/Text.idl: reformatted to match our coding style.
7932 (temporarily?) removed getRowColumnAtOffset().
7933 Changed text selection API to support multi-select and
7934 non-contiguous selections, as in ATK.
7935 * idl/Value.idl: changed some methods to attributes.
7937 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7939 * libspi/listener.c(impl_notify_event):
7940 BonoboUnkown_unref the source instead
7941 of bonobo_object_release_unref - the ORB
7942 handles the releasing.
7944 * configure.in: require ORBit-2.3.94 for
7947 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7949 Tagged CVS repository 'EA_1_0'.
7950 * README.EARLY_ACCESS:
7951 Alphabetized acknowledgements list, and
7953 Listed some known dependencies of at-spi.
7955 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7957 * docs/at-spi-docs.sgml:
7958 * docs/at-spi-sections.txt:
7959 * docs/at-spi-overrides.txt: (Added zero-length file)
7960 Documentation improvements - gtk-doc should build
7961 docs for all implemented C bindings now.
7964 * cspi/spi.c: (New file)
7965 * cspi/spi_event.c: (New file)
7966 * cspi/spi_registry.c: (New file)
7967 * cspi/spi_accessible.c: (New file)
7968 * cspi/spi_application.c: (New file)
7969 * cspi/spi_component.c: (New file)
7970 Split spi_main.c into six parts, and included them from
7971 "spi.c". This is a bit of a hack, probably temporary,
7972 but required by gtk-doc, apparently.
7974 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7977 * docs/at-spi-docs.sgml:
7978 * docs/at-spi-sections.txt:
7980 Initial checkins/modifications for gtk-doc generation.
7983 Added (missing) interface query methods to Accessible's C binding.
7985 Added GenericInterface type definition.
7987 Added query for AccessibleComponent interface to focus event handler.
7988 Added printout of bounding box for focussed component.
7989 * libspi/component.c:
7990 Added partial implementation for AccessibleComponent to C binding.
7991 * idl/Application.idl:
7992 * libspi/registry.c:
7993 * libspi/listener.c:
7994 * libspi/application.c:
7995 * libspi/application.h:
7996 Changed "ID" attribute type from string to long.
7998 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8002 Made method naming consistent: methods taking object args
8003 start with uppercase, other methods (except those using
8004 acronyms) start with lowercase. Underscores delimit between
8005 object names and method names:
8006 SPI_init() - uppercase since it starts with an acronym.
8007 getDesktopCount () - lowercase start since no object param0.
8008 Accessible_getName() - uppercase object type name, studlyCaps method
8012 Added gtk-doc documentation for all currently implemented
8013 methods in the C bindings API.
8015 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8017 * Makefile.am : changed build order to build test last.
8020 Changed "createEventListener" to "CreateEventListener".
8021 * libspi/accessibleeventlistener.c :
8022 Bugfix for addition of callbacks.
8023 * test/Makefile.am :
8024 * test/simple-at.c :
8025 Added new test that uses the C bindings API.
8027 * libspi/listener.c :
8028 * libspi/registry.c :
8029 * libspi/accessibleeventlistener.c :
8030 * at-bridge/bridge.c :
8031 Renamed member "target" of Accessibility_Event to "source",
8032 which is more descriptive.
8035 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8039 * cspi/Makefile.am :
8040 Added makefile support for at-spi/cspi directory.
8043 * cspi/spi-listener.h : (NEW FILE)
8044 Added support for/use of spi-listener.h.
8046 C bindings now build successfully, with no warnings.
8047 * libspi/accessibleeventlistener.h : (NEW FILE)
8048 * libspi/accessibleeventlistener.c : (NEW FILE)
8049 * libspi/Makefile.am :
8050 Added new object type "AccessibleEventListener"
8051 which inherits from Listener, and allows attachment
8052 of in-process callbacks (so that a client with a listening
8053 object instance can add functionality to the local
8054 implementation, dynamically).
8056 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8058 * libspi/accessible.c:
8059 Add implementation for get_index_in_parent().
8061 Added #include of "spi-roletypes.h", and
8062 added enumerated type AccessibleCoordType.
8063 Added definition for KeystrokeListener (function type).
8066 * cspi/spi-statetypes.h :
8067 * cspi/spi-roletypes.h :
8069 Added these headers, used by spi.h.
8071 Added code (NOTE: not yet built by make).
8073 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8075 * libspi/Makefile.am: generate imodule
8076 at the same time as other idl compiler
8079 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8080 * libspi/registry.c :
8081 * libspi/application.c :
8082 * idl/Application.idl :
8083 Made registration with toolkit an application method,
8084 which is required since each app has its own toolkit static
8085 environment. Thus the bridge must register for
8086 notification of toolkit events from each application in turn.
8087 Toolkit notifications are now successfully registered for, and
8088 sent to the listening at client.
8090 Changed toolkit event string to use hyphens rather than underscores.
8091 * libspi/listener.c :
8092 listner now gives more info in debug mode - it reports the
8093 name of the event received, as well as the name of the source.
8096 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8098 * libspi/registry.c :
8099 added more implementation for toolkit events.
8100 Fixed bug such that toolkit event registrations
8101 (via atk) use the whole event name string, not
8103 Removed a useless call to an ORBit_ method.
8104 * at-bridge/bridge.c :
8105 Removed unused local sbuf[] variable.
8107 We now register for Gtk:GtkWidget:button_press_event
8108 events as well as "focus:" events.
8110 Add some more API from Registry.idl that was missing,
8111 for keystroke listening, keystroke and mouse event
8112 synthesis, and enumeration of accessible desktops.
8114 2001-08-16 Michael Meeks <michael@ximian.com>
8116 * configure.in: use AM_GLIB_GNU_GETTEXT.
8118 * Makefile.am (SUBDIRS): kill intl.
8120 2001-08-15 Michael Meeks <michael@ximian.com>
8122 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8124 * configure.in: upd.
8126 * configure.in: depend on a recent bonobo-activation that
8127 will find our server files ...
8129 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8131 * libspi/accessible.c : accessible_new() :
8132 Now we add the Component interface via bonobo_object_add_interface,
8133 if the contained AtkObject implements AtkComponent.
8134 * libspi/accessible.h : now include "component.h"
8135 * libspi/component.h :
8136 * libspi/component.c : added files - implementation of
8137 bonobo wrapper object for Accessibility/Component
8138 * libspi/listener.c :
8139 Added test code to check for Accessibility/Component:1.0
8140 interface and report whether it is implemented by the
8142 * libspi/registry.c :
8143 Now we check for not only the hash of the whole event
8144 string before relaying the event, we also check the
8145 "minor" event string (without the detail string).
8146 This allows event listeners to be registered against
8147 all events of a certain major+minor type, or just
8148 against a specific major+minor+detail type.
8149 * libspi/accessible.c :
8150 Added implementations for Accessible:get_parent(),
8151 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8152 * libspi/registry.c :
8153 * libspi/listener.c :
8154 Replaced calls to Accessibility_Accessible_ref() and
8155 Accessibility_Accessible_unref() with
8156 calls to bonobo_object_dup_ref() and
8157 bonobo_object_release_unref(), so that the CORBA object
8158 is dup-ed and released when relayed, as well as the bonobo object.
8160 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8162 * libspi/Makefile.am,
8163 registryd/Makefile.am,
8164 at-bridge/Makefile.am.
8165 test/Makefile.am, configure.in:
8166 reverse previous changes.
8168 * /idl/Image.idl: fix typo.
8170 * test/Makefile.am: put DEBUG_FLAGS
8173 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8175 * test/app.c: use argv[0] instead of
8178 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8180 * libspi/Makefile.am,
8181 registryd/Makefile.am,
8182 at-bridge/Makefile.am.
8183 test/Makefile.am, configure.in:
8184 cleanup, replace individual LIBS/CFLAGS with
8185 AT_COMMON_{LIBS|CFLAGS}.
8189 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8191 * configure.in, libspi/Makefile.am:
8192 Change IDL path checking for bonobo-activation
8195 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8197 * registryd/registry.c : separated event listeners to use
8198 3 separate lists (focus, window, toolkit). Began testing
8199 event names against hashes before relaying events.
8200 * test/at.c : now register for events of type "focus:"
8201 * test/app.c : now generate events of type "focus:"
8202 * at-bridge/bridge.c : register with ATK for focus events,
8203 and we now relay those focus events to any "focus:" listeners.
8204 This now works with the bridge as a GTK_MODULE when running test/at.
8205 * libspi/registry.c :
8206 * libspi/listener.c :
8207 now we ref event sources before propagating, and unref on receipt.
8208 * libspi/registry.c :
8209 some changes to internal structs, to support event typestring hashes.
8210 * text/app.c : changed the way the appname is generated.
8211 * cspi : added directory that will hold the C bindings library for
8212 non-CORBA/bonobo-savvy clients.
8213 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8214 * idl/Component.idl : added in parameter to indicate coord system for
8215 geometry-related calls.
8216 * idl/Hyperlink.idl : added readonly n_links attribute
8217 * idl/Image.idl : changed methods to attributes.
8219 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8221 * at-bridge/Makefile.am: link against
8222 ../libspi/libspi.la instead of -lspi.
8224 * at-spi/test/app.c: include
8225 bonobo-activation.h. Use a default appname
8226 if one is not provided.
8228 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8230 * idl/Registry.idl : temporarily changed register_Application
8231 to oneway, to work around issue with initial registration
8233 * idl/Application.idl : changed attribute "id" from readonly
8234 to read-write, since it needs to be assigned by Registry.
8235 * registryd/registryd.c : added call to set application id
8237 * registryd/registry.c : changed de-registration procedure to
8238 use CORBA_Object_hash() to find matching object ref in application
8239 lists and listener lists.
8240 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8241 began distinguishing between event types (work in progress).
8243 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8246 * libspi/application.c:
8247 Added implementations for get/set id, get_toolkitName,
8249 * registryd/registryd.c :
8253 Converted from use of OAF to bonobo-activation.
8254 * libspi/desktop.h :
8255 * libspi/desktop.c :
8257 Removed references to atksimpleobject, since base atkobject
8258 implementation now provides functionality we need.
8259 * libspi/atksimpleobject.c :
8260 * libspi/atksimpleobject.h :
8265 * at-bridge/Makefile.am
8266 * at-bridge/bridge.c
8269 Added directory "bridge" and contents, and added dependencies
8270 in Makefile.am/configure.in.
8271 Initial checkin of "at-bridge".
8272 This code is a GTK_MODULE which automatically registers
8273 GTK+ apps with the accessibility registry, using an object
8274 reference to the root ATK object.
8276 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8278 * po/Makefile.in.in: Remove. Again. If this
8279 doesn't get autogenerated - you need to update
8282 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8284 * po/Makefile.in.in: Add. Again.
8286 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8288 * libspi/accessible.c : added support for 'description' property.
8289 * libspi/accessible.c
8291 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8292 (since the two are now equivalent in libbonobo)
8300 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8301 Bonobo::Unknown as does Accessibility::Accessible.
8302 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8303 interface with Bonobo::Stream, since it was redundant with it.
8304 (The Stream returned by a StreamableContext object is expected to
8305 implement only a subset of Bonobo::Stream)
8307 2001-07-28 Anders Carlsson <andersca@gnome.org>
8309 * libspi/accessible.c (accessible_object_finalize): Change
8310 g_free to g_object_unref since the AtkObject is a GObject.
8312 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8314 * idl/Accessibility.idl: add new IDL files
8317 * idl/Action.idl: Definitions of actionable UI object
8318 * idl/Component.idl: Definitions of UI component geometry, etc.
8319 * idl/Hyperlink.idl: Defs of hyperlink behavior
8320 * idl/Image.idl: Def of accessible image
8321 * idl/Selection.idl: Definition of UI object with selectable children
8322 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8323 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8324 * idl/Text.idl: Interface defs for UI elements with complex textual content
8325 * idl/Value.idl: Definition of UI element that is a value controller or display
8327 2001-07-27 Michael Meeks <michael@ximian.com>
8329 * po/Makefile.in.in: remove autogenerated file from CVS.
8331 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8334 * idl/Registry.idl: include guard.
8336 * idl/Accessibility.idl: Add, and include all the other IDL
8339 * idl/*.idl: remove mass of pragmas etc.
8341 2001-07-26 Michael Meeks <michael@ximian.com>
8343 * registryd/Makefile.am (registryd_SOURCES): remove
8346 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8348 * libspi/.cvsignore, registryd/.cvsignore,
8349 test/.cvsignore: updated.
8351 * po/Makefile.in.in: gettext update.
8353 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8355 * initial CVS checkin
8357 2001-06-29 Michael Meeks <michael@ximian.com>
8359 * configure.in: add AM_CONFIG_HEADER to gen config.h