1 2008-01-02 Li Yuan <li.yuan@sun.com>
3 Patch from Luke Yelavich <themuso@themuso.com>
4 * registryd/Accessibility_Registry.server.in.in:
5 Marks translatable strings in
6 registryd/Accessibility_Registry.server.in.in, so that intltool picks
9 2007-12-03 Li Yuan <li.yuan@sun.com>
11 * configure.in, README, NEWS:
14 2007-12-03 Li Yuan <li.yuan@sun.com>
16 * idl/Accessibility_Collection.idl:
17 * libspi/collection.c:
18 (impl_getMatchesFrom), (impl_getMatchesTo):
19 Fix build error in Solaris, for restrict is a keyword in SS cc.
21 2007-12-03 Li Yuan <li.yuan@sun.com>
23 * idl/Accessibility_Collection.idl:
24 * libspi/accessible.c: (spi_accessible_construct):
25 * libspi/collection.c: (spi_collection_interface_new),
26 (get_atkobject_from_servant), (get_collection_from_servant),
27 (impl_createMatchRule), (impl_freeMatchRule), (child_interface_p),
28 (match_states_all_p), (match_states_any_p), (match_states_none_p),
29 (match_states_lookup), (match_roles_all_p), (match_roles_any_p),
30 (match_roles_none_p), (match_roles_lookup),
31 (match_interfaces_all_p), (match_interfaces_any_p),
32 (match_interfaces_none_p), (match_interfaces_lookup),
33 (match_attributes_all_p), (match_attributes_any_p),
34 (match_attributes_none_p), (match_attributes_lookup), (traverse_p),
35 (sort_order_canonical), (query_exec), (_accessible_list_to_set),
36 (impl_getMatchesFrom), (impl_getMatchesTo), (impl_getMatches),
37 (spi_collection_class_init), (spi_collection_init):
38 * libspi/collection.h:
39 Bug #326516. Patch from Ariel. Enhance collection support.
41 2007-12-03 Li Yuan <li.yuan@sun.com>
43 * atk-bridge/Makefile.am:
45 Bug #493547. Add X_CFLAGS to INCLUDES to fix build error.
47 2007-11-12 Li Yuan <li.yuan@sun.com>
49 * libspi/accessible.c: (impl_accessibility_accessible_get_state),
50 (impl_accessibility_accessible_get_relation_set):
51 Fix for #446277. Decrease the ref count to 1.
53 2007-10-29 Li Yuan <li.yuan@sun.com>
55 * configure.in, README, NEWS:
58 2007-10-15 Li Yuan <li.yuan@sun.com>
60 * MAINTAINERS: add Willie Walker and Eitan Isaacson
63 2007-09-17 Li Yuan <li.yuan@sun.com>
65 * configure.in, README, NEWS:
68 2007-09-08 Li Yuan <li.yuan@sun.com>
70 * registryd/deviceeventcontroller.c:
71 (spi_key_event_matches_listener):
72 Bug #474796. Should not checkmask bit 14 when sond out
75 2007-08-20 Li Yuan <li.yuan@sun.com>
77 * libspi/base.c: (spi_base_construct):
78 Avoid unnecessary crash. Bug #467612.
80 2007-08-01 Li Yuan <li.yuan@sun.com>
82 * atk-bridge/bridge.c: (spi_atk_bridge_key_listener):
83 Fix a potential dead-lock issue. Bug #462412.
85 2007-07-09 Li Yuan <li.yuan@sun.com>
87 * configure.in, README, NEWS:
90 2007-07-09 Li Yuan <li.yuan@sun.com>
92 * libspi/accessible.c: (impl_accessibility_accessible_get_state):
93 Bug #446277. Control the ref_count to 1, so Orca can unref the
94 state_set and avoid the memory leak.
96 2007-06-26 Li Yuan <li.yuan@sun.com>
98 * atk-bridge/Makefile.am:
99 Bug #450897. Set logging domain.
100 * registryd/registry.c: (parse_event_type):
102 Handle the "document:" signal, set the type to
105 2007-06-04 Li Yuan <li.yuan@sun.com>
107 * configure.in, README, NEWS:
108 Uprev/release 1.19.3 for GNOME 2.19.3.
110 2007-05-30 Willie Walker <william.walker@sun.com>
112 * configure.in, Makefile.am, pyatspi/Makefile.am: Fix for bug
113 439436 to add pyatspi to autotools stuff so it gets installed as
114 part of a make install.
116 2007-05-17 Li Yuan <li.yuan@sun.com>
119 Bug #439057. Add the original PATH to PATH.
121 2007-04-23 Li Yuan <li.yuan@sun.com>
123 * configure.in, NEWS:
124 Uprev/release 1.19.1 for GNOME 2.19.1.
126 2007-04-18 Li Yuan <li.yuan@sun.com>
128 * pyatspi/__init__.py:
129 * pyatspi/accessible.py:
130 * pyatspi/constants.py:
132 * pyatspi/registry.py:
134 Bug #430938. Add some files to create the uniform Python
137 2007-04-12 Li Yuan <li.yuan@sun.com>
139 * atk-bridge/bridge.c: (spi_atk_bridge_get_registry),
140 (spi_atk_bridge_focus_tracker), (spi_atk_bridge_key_listener):
141 Fix #427836. Fix leak and unify the code style.
143 2007-04-12 Yi Jin <yi.jin@sun.com>
145 * atk-bridge/bridge.c:
146 (spi_atk_bridge_focus_tracker):
147 Bug #428007. Fix a memory leak.
149 2007-04-02 Ariel Rios <ariel@gnu.org>
151 Implement the Matchrule interface required for Collection.
157 * cspi/spi_accessible.c: (Accessible_isCollection),
158 (Accessible_isMatchRule), (Accessible_getCollection),
159 (Accessible_getMatchRule):
160 * cspi/spi_collection.c: new file.
161 * cspi/spi_matchrule.c: new file.
162 * idl/Accessibility.idl:
163 * idl/Accessibility_Collection.idl: new file.
165 * libspi/Makefile.am:
166 * libspi/collection.c: new file.
167 * libspi/collection.h: new file.
169 * libspi/matchrule.c: new file.
170 * libspi/matchrule.h: new file.
172 2007-03-29 Ariel Rios <ariel@gnu.org>
174 * cspi/spi.h (AccessibleRoleSet): bug #407600. Define RoleSet structure.
176 2007-03-22 Li Yuan <li.yuan@sun.com>
178 * atk-bridge/bridge.c: don't call threads_leave and enter if own the
179 main context. Fix for #329454.
181 2007-03-12 Li Yuan <li.yuan@sun.com>
183 * configure.in, NEWS: Uprev/release 1.18.0 for GNOME 2.18.0.
185 2007-03-02 Li Yuan <li.yuan@sun.com>
187 * atk-bridge/bridge.c
188 (spi_atk_bridge_register_application),
189 (deregister_application), (spi_atk_bridge_focus_tracker),
190 (spi_atk_emit_eventv), (post_init), (spi_atk_bridge_exit_func),
191 (gnome_accessibility_module_shutdown): Bug #329454. Add guard variable
192 to prevent calling threads_enter/leave during the init and shutdown.
194 2007-02-27 Li Yuan <li.yuan@sun.com>
197 (spi_re_entrant_list_delete_link):
198 Bug #412286. Reverse previous patch.
199 * configure.in, NEWS: Uprev/release 1.17.2.
201 2007-02-26 Li Yuan <li.yuan@sun.com>
203 * libspi/accessible.c:
204 (impl_accessibility_accessible_get_attributes),
205 (impl_accessibility_accessible_get_relation_set):
206 Bug #404584 and #401299. Return an empty object instead of return NULL.
207 * configure.in, NEWS: Uprev/release 1.17.1.
209 2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
211 * Makefile.am: Dist MAINTAINERS.
213 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
215 * atk-bridge/bridge.c: (spi_atk_bridge_init_event_type_consts),
216 (atk_bridge_init), (spi_atk_bridge_get_registry),
217 (spi_atk_bridge_exit_func), (spi_atk_bridge_init_base):
218 Fix some compiler warnings and plug a leak. Closes part of
221 2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
223 * cspi/bonobo/cspi-bonobo-listener.h:
224 * cspi/bonobo/cspi-bonobo.c: (cspi_init):
225 * cspi/spi_hypertext.c: (AccessibleHypertext_getLink):
226 * cspi/spi_main.c: (SPI_eventIsReady):
227 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_read):
228 * libspi/streamablecontent.c:
229 * libspi/util.c: (spi_re_entrant_list_delete_link):
230 * login-helper/login-helper.c:
231 * registryd/deviceeventcontroller.c:
232 (spi_controller_update_key_grabs), (isEvent):
233 * registryd/registry.c:
234 * test/key-listener-test.c: (simple_at_exit):
235 * test/login-helper-server-test.c: (test_set_wm_dock),
237 Fix a bunch of warnings from sparse:
238 - ANSIfication of function declarations
240 - Add some prototypes
241 - make some stuff static
243 2007-02-14 Li Yuan <li.yuan@sun.com>
245 * libspi/accessible.c:
246 (impl_accessibility_accessible_get_attributes):
247 Bug #404584. If there is no attributes, just return NULL.
249 2007-02-12 Li Yuan <li.yuan@sun.com>
251 * configure.in, NEWS: Uprev/release 1.17.0.
253 2007-02-12 Li Yuan <li.yuan@sun.com>
255 * atk-bridge/bridge.c:
256 (atk_bridge_init): bug #400709. we must emit events even if we are not
257 registered as a full-fledged app.
258 (gnome_accessibility_module_shutdown): bug #404592, unset misc when
259 application like openoffice shutdown. They need to unload gtk before
260 the is spi_atk_bridge_exit_func called.
262 2007-01-22 Li Yuan <li.yuan@sun.com>
264 * configure.in, NEWS: Uprev/release 1.7.16 for gnome 2.18.0 Beta 1.
266 2007-01-22 Li Yuan <li.yuan@sun.com>
268 * cspi/bonobo/cspi-bonobo.c:
269 (cspi_get_registry_ior), (cspi_init):
270 Bug #393010. Use REGISTRY IOR XAtom to get registryd.
272 2007-01-19 Li Yuan <li.yuan@sun.com>
274 * atk-bridge/bridge.c:
275 (atk_bridge_init), (spi_atk_bridge_register_application),
276 (deregister_application), (spi_atk_bridge_focus_tracker),
277 (spi_atk_emit_eventv):
278 Bug #329454. Use atk_misc_threads_enter/atk_misc_threads_leave
281 2007-01-08 Li Yuan <li.yuan@sun.com>
283 * configure.in, NEWS: Uprev/release 1.7.15 for gnome 2.17.5.
285 2007-01-08 Li Yuan <li.yuan@sun.com>
287 * registryd/registry-main.c:
288 (main): set registry ior only when register server successfully.
289 * atk-bridge/bridge.c:
290 (spi_atk_bridge_register_application), (spi_atk_emit_eventv):
291 Bug #372988, #381670. Fix memory leak.
293 2007-01-02 Bill Haneman <billh@gnome.org>
296 (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
297 appending default attributes to a text attribute set.
300 2006-12-28 Li Yuan <li.yuan@sun.com>
302 * atk-bridge/bridge.c:
303 (spi_atk_tidy_windows): init any again if call spi_atk_emit_eventv
304 the second time, because spi_atk_emit_eventv will free any. Bug
307 2006-12-15 Li Yuan <li.yuan@sun.com>
309 * configure.in, NEWS: Uprev/release 1.7.14 for gnome 2.17.4.
311 2006-12-14 Li Yuan <li.yuan@sun.com>
314 * atk-bridge/bridge.c: (spi_atk_emit_eventv),
315 (spi_atk_bridge_property_event_listener),
316 (spi_atk_bridge_signal_listener):
317 Free some CORBA objects to fix memory leak and crash.
319 2006-12-13 Li Yuan <li.yuan@sun.com>
321 Patch from Ariel Rios to fix #163132 and #377079.
322 * atk-bridge/bridge.c: (spi_atk_bridge_do_registration),
323 (spi_atk_bridge_get_registry_ior):
324 Use g_warning instead of g_error and g_critical to avoid crash.
326 2006-12-11 Bill Haneman <bill.haneman@sun.com>
329 (impl_getAttributeRun):Return an empty CORBA_seq instead of NULL,
330 if there are no non-default attributes defined at the current offset.
333 2006-12-04 Bill Haneman <bill.haneman@sun.com>
335 * idl/Accessibility_Role.idl: Fixed the documentation for
336 ROLE_FORM; bug #382271. Thanks to George Kraft for finding this.
338 2006-12-04 Bill Haneman <bill.haneman@sun.com>
340 * Added Li Yuan <li.yuan@sun.com> to MAINTAINERS.
342 2006-11-07 Bill Haneman <bill.haneman@sun.com>
344 Patches from Padraig O'Briain for bugs #361386 and #369377.
346 * registryd/registry.c:
347 (struct NotifyContext): Change the e_out
348 member from an Accessibility_Event struct to a pointer to
350 (notify_listeners_cb): Modify to use the new struct definition above.
351 Allows use of ORBit_copy_value instead of CORBA_any__copy.
353 * registryd/deviceeventcontroller.c:
354 (spi_dec_button_update_and_emit): Free the event's any_data
356 (spi_dec_mouse_check):Free the event details any struct
358 (spi_device_event_controller_forward_mouse_event): Free any.
359 (spi_device_event_controller_forward_key_event): Ditto.
361 2006-11-07 Bill Haneman <bill.haneman@sun.com>
363 * configure.in: Uprev/release 1.7.13 for gnome 2.17.2.
364 Don't require gtk+ and gail for building most of at-spi
367 * registryd/registry-main.c (main): We now get te value of display
368 using the env var DISPLAY rather than using the gdk_display_get_default
369 to avoid dependancy of gdk. Also, once the registry is started, we set
370 the ior of the registry as an X property.
371 (registry_set_ior): Set ior as the AT_SPI_IOR Root window property.
373 * atk-bridge/bridge.c (atk_bridge_init): We keep track whether
374 the registration was successfull.
375 (spi_atk_bridge_do_registration): This function now returns success
376 or not on activating the registry.
377 (spi_atk_bridge_get_registry_ior): Look whether the AT_SPI_IOR property
378 has been set in the X root window and return it if available.
379 (spi_atk_bridge_get_registry): We now get the registry using the IOR
380 saved as a X property rather than using the OAFID.
382 2006-10-01 Bill Haneman <bill.haneman@sun.com>
384 * configure.in: Uprev/release 1.7.12 for gnome 2.16.1.
386 2006-09-25 Bill Haneman <bill.haneman@sun.com>
388 * registryd/registry.c:
389 (desktop_remove_application): Don't pass a ref to the
390 dead application with the event, since it's probably
391 defunct and will cause SEGV if we try to unref,
392 extract app name, etc.
395 2006-09-20 Bill Haneman <bill.haneman@sun.com>
397 Patch from Neo Liu <nian.liu@sun.com>,
400 * atk-bridge/bridge.c:
401 (spi_atk_bridge_document_event_listener): New, for
404 2006-08-30 Bill Haneman <bill.haneman@sun.com>
407 Changed some parameter names so as not to
408 collide with class names - allows IDL to be compiled with
409 OMNIorb compiler. Thanks to Gary Cramblitt for this patch.
411 2006-08-22 Bill Haneman <bill.haneman@sun.com>
413 * atk-bridge/bridge.c:
414 (spi_atk_bridge_signal_listener):
415 Patch from Ginn Chen, assign detail1 in children-changed
416 so that the child object can be assigned to the Any when the
417 at-spi event is emitted. Bug #350552.
419 * libspi/application.c:
420 (spi_application_finalize): Remove g_print debug output.
423 2006-08-21 Bill Haneman <bill.haneman@sun.com>
425 * configure.in: Revved to AT-SPI 1.7.11.
427 * libspi/accessible.c:
428 (spi_accessible_new): Aggregate Hyperlink interface
429 if the GObject is an ATK_HYPERLINK_IMPL. See bug #352227.
431 * libspi/hyperlink.c:
432 (spi_hyperlink_new): Don't aggregate Action a second time if this
433 interface is created for an AtkHyperlinkImpl object (i.e. for a
434 child Accessible, as opposed to the Hyperlink instance from
436 (get_hyperlink_from_servant): Obtain the hyperlink from
437 atk_hyperlink_impl_get_hyperlink, if ATK_IS_HYPERLINK_IMPL.
439 Patch section from Ginn Chen...
441 * cspi/spi_accessible.c:
442 (_cspi_accessible_set_from_sequence):
443 Changed g_newa to g_new0 on Ginn Chen's suggestion.
445 * libspi/accessible.c:
446 (impl_getAttributes): Fixed to use the AtkAttribute struct properly.
447 (spi_accessible_new): Add the Document interface if present.
450 (impl_getAttributes): Fixed to use AtkAttribute properly.
453 (impl_getAttributes, impl_getDefaultAttributes):
454 (impl_getAttributeRun): Fixed to use AtkAttribute struct properly.
456 2006-08-17 Bill Haneman <bill.haneman@sun.com>
458 * cspi/spi-private.h, cspi/spi_accessible.c:
459 (_cspi_attribute_set_from_sequence): Renamed from
460 cspi_attribute_set_from_sequence, to suppress export.
463 (SPIRelationType): Fixed typo in PARENT_WINDOW_OF
464 inline docs, which was keeping the doc from appearing.
465 (SPIExceptionHandler): Doc this.
467 * cspi/spi_document.c:
468 Added inline gtk-docs cut-n-pasted from the doxygen
469 docs in the corresponding IDL files.
470 (AccessibleDocument_getAttributes): Fix the retval here.
472 * cspi/spi_streamablecontent.c:
473 Fixed some 'Since' tags that were accidentally doxygen-style.
476 (AccessibleTable_getRowColumnExtentsAtIndex): Cut and pasted
477 docs from the IDL file.
479 * docs/reference/cspi/at-spi-cspi-docs.sgml:
480 Added entities for Document and StreamableContent interfaces.
482 * docs/reference/cspi/at-spi-cspi-sections.txt:
483 Added some docs that were present inline but not getting
486 2006-07-31 Bill Haneman <bill.haneman@sun.com>
489 (impl_getRangeExtents): Use the atk_text_get_range_extents
490 API instead of looping over character bounds, now that
492 (impl_getBoundedRanges): Use atk_text_get_bounded_ranges.
493 (_spi_text_bounds_contain): Remove, not needed anymore.
494 (_spi_text_rect_union): Remove, not needed anymore.
496 2006-07-31 Bill Haneman <bill.haneman@sun.com>
498 * atk-bridge/bridge.c:
499 (spi_atk_emit_eventv): Fix the CORBA_free call which was
500 causing 64-bit troubles and memory leaks.
501 Special thanks to Alexander Larsson who finally seems to
502 have tracked down the problem, not just here but in
506 (spi_init_any_object): Make sure we copy the CORBA value
507 when initializing an object for passing as a CORBA_Any.
510 2006-07-21 Bill Haneman <billh@gnome.org>
512 * idl/Accessibility.idl:
513 Reverted pragma changes, this broke the build in some envs
514 including the Debian team's build and some tinderbox builds.
516 2006-07-19 Bill Haneman <billh@gnome.org> modifications to patch from
519 Revved to 1.7.10, and edited the Xevie check (bug #319994).
521 * idl/Accessibility.idl:
522 Reworked inclusion of Bonobo_Unknown.idl, to
523 avoid double-linking libs in the Bonobo environment.
524 Thanks to Michael Meeks for the workaround, see bug #313122.
526 * registryd/deviceeventcontroller.c:
527 (spi_controller_notify_keylisteners):
528 Set the SPI_NUMLOCK_MASK bit if the modifier
529 corresponding to the conceptual numlock state is set.
532 2006-07-18 Bill Haneman <billh@gnome.org> modifications to patch from
534 * idl/Accessibility_Selection.idl:
535 (deselectChild): New method.
537 * libspi/selection.c:
538 (impl_deselectChild): Implement the new IDL method.
541 (AccessibleSelection_deselectChild): Added new method.
543 * cspi/spi_selection.c:
544 (AccessibleSelection_deselectChild): New method implemented.
546 2006-07-13 Bill Haneman <billh@gnome.org> modifications to patch from
548 * cspi/bonobo/cspi-bonobo.c:
549 (cspi_init): Replace g_error with g_warning, prevent
550 SEGV if the registry cannot be activated. Bug #346393.
552 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
554 * po/LINGUAS: put LINGUAS where it belongs. Fixes i18n.
556 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
557 2006-07-12 Ariel Rios <arios@us.ibm.com>
561 * idl/Accessibility_Table.idl:
562 (getRowColumnExtentsAtIndex): New method for getting
563 selection status and extents in one API call.
566 (impl_getRowColumnExtentsAtIndex): Implementation of
568 (spi_table_class_init): Add above to epv.
572 (AccessibleTable_getRowColumnExtentsAtIndex): New
573 method, retrieves selection status and row/col extents
574 for a table cell in a single API call.
576 2006-07-12 Bill Haneman <billh@gnome.org> modifications to patch from
577 2006-07-12 Ariel Rios <arios@us.ibm.com>
579 * cspi/bonobo/cspi-bonobo.c: Remove warning adding <cspi/spi-private.h>
582 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
583 New bindings for new methods defined in idl and libspi.
586 (AccessibleText_getAttributeRun,AccessibleText_getDefaultAttributes):
587 Added prototype functions.
590 (impl_getAttributeRun, impl_getDefaultAttributeSet): New method implementation
592 (spi_text_class_init): Added previous methods.
595 (impl_getAttributeRun, impl_getDefaultAttributeSet): Added prototypes
596 * libspi/spi-private.h: Corrections.
598 2006-06-29 Bill Haneman <bill.haneman@sun.com>
600 Added Document interface (see bug #326520),
601 with work from Ariel Rios <arios@us.ibm.com>.
603 * configure.in: Bump to 1.7.8.
605 * libspi/Makefile.am: Added document.[ch] to sources
608 (SpiDocument, SpiDocumentClass):
609 New interface implementation.
610 (spi_document_get_type, spi_document_construct)
611 (spi_document_interface_new): New methods added.
612 (SPI_DOCUMENT_TYPE, SPI_DOCUMENT)
613 (SPI_DOCUMENT_CLASS, IS_DOCUMENT, IS_DOCUMENT_CLASS):
614 Added macros for SpiDocument
618 (spi_document_interface_new): Get a
619 new document interface. New.
620 (get_document_from_servant): Get an AtkDocument from servant New.
621 (impl_getLocale, impl_getAttributeValue, impl_getAttributes):
622 Implementation of methods defined on idl.
623 (spi_document_class_init, spi_document_init)
624 Init methods for SpiDocument. new
626 * idl/Accessibility.idl: Added Accessibility_Document.idl.
628 * cspi/Makefile.am: Added spi_document.c to sources.
630 * cspi/spi_document.c:
631 (AccessibleDocument_ref, AccessibleDocument_unref): Added.
632 (AccessibleDocument_getLocale, AccesibleDocument_getAttributeValue)
633 (AccessibleDocument_getAttributes): Bindings for methods defined
636 * cspi/spi_accessible.c:
637 (Accessible_isDocument, Accessible_getDocument) New.
639 (Accessible_isDocument, Accessible_getDocument)
640 (AccessibleDocument_ref, AccessibleDocument_unref)
641 (AccessibleDocument_getLocale, AccessibleDocument_getAttributeValue)
642 (AccessibleDocument_getAttributes): Bindings added.
644 * idl/Makefile.am: Added Accessibility_Document.idl to
647 2006-06-29 Bill Haneman <bill.haneman@sun.com>
649 * idl/Accessibility_Document.idl: New interface
650 for complex documents. First stage of fix for RFE
653 2006-06-27 Bill Haneman <bill.haneman@sun.com>
655 * libspi/streamablecontent.c:
656 (impl_content_stream_close):
657 Unref the GIOChannel on close.
659 2006-06-23 Bill Haneman <bill.haneman@sun.com>
661 * idl/Accessibility_Role.idl:
662 * libspi/accessiblerole.c:
663 * cspi/spi_accessible.c: Added ROLE_LINK,
664 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
665 Bug #345758 and bug #140635.
668 2006-06-22 Bill Haneman <bill.haneman@sun.com>
672 * idl/Accessibility_StreamableContent.idl:
673 Fix derivation of StreamableContent and ContentStream.
675 * cspi/spi_streamablecontent.c:
676 (accessible_content_stream_client_read):
677 Fix the datatype of the content stream used.
678 Interpret short reads as EOF, and stop trying to
679 read when we've fulfilled the request.
680 (AccessibleStreamableContent_getContentTypes):
681 Use g_strdup, not CORBA_string_dup, for the strings.
682 (AccessibleStreamableContent_open):
683 Correctly use the new getStream method for opening,
684 not the deprecated getContent method.
685 Use the object reference as the stream hash key.
686 Make note of the 'one stream per client per streamable'
687 limitation in the docs.
690 Add streamablecontent.h to the list of #includes.
692 * libspi/streamablecontent.c:
693 (impl_content_stream_read): Initialize the GError.
694 Allocate the incoming buffer if reading a fixed length of
695 data. Use g_memmove instead of memcpy.
696 (impl_accessibility_streamable_get_content_types):
697 Init typelist->_maximum. Only allocate the buffer if
698 there is a non-zero number of content types available.
699 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
701 * libspi/streamablecontent.h:
702 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
705 (SPI_IS_VALUE): Fix a typo in this macro too.
707 2006-06-16 Bill Haneman <bill.haneman@sun.com>
711 * idl/Accessibility_StreambleContent.idl:
712 Deprecate the Bonobo_Stream-based methods in favor of
713 a self-contained "ContentStream" interface. This should
714 allow us to remove BonoboStream dependencies entirely, since
715 there were no non-NIL implementations of the old methods anyway.
716 (ContentStream): New interface.
717 (ContentStream::SeekType): Enum.
718 (ContentStream::seek): New.
719 (ContentStream::read): New.
720 (ContentStream::close): New.
721 (getContent): Deprecate.
722 (getURI): New method, returns a URI pointing to the content, if available.
724 * libspi/streamablecontent.c:
725 (SpiContentStream): Internal object type definition used to
726 implement Accessibility::StreamableContent::ContentStream via
727 AtkStreamableContent's GIOChannel back-end.
728 (spi_content_stream_new, spi_content_stream_dispose): See above;
730 (impl_content_stream_seek, impl_content_stream_read):
731 (impl_content_stream_close): New, implementations of
733 (impl_accessibility_streamable_get_stream): Implement the
734 public method Accessibility::StreamableContent::getStream.
735 (impl_accessibility_streamable_get_uri): Implement the
736 public method Accessibility::StreamableContent::getURI.
738 * cspi/spi_streamablecontent.c:
739 (accessible_bonobo_stream_client_seek): Replaced by
740 (accessible_content_stream_client_seek).
741 (accessible_bonobo_stream_client_read): Replaced by
742 (accessible_content_stream_client_read).
743 (AccessibleStreamableContent_open):
744 (AccessibleStreamableContent_seek):
745 (AccessibleStreamableContent_read):
746 (AccessibleStreamableContent_close): Use the new 'getStream'
747 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
749 2006-06-15 Bill Haneman <bill.haneman@sun.com>
751 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
752 remove from other .idl files (except LoginHelper).
755 2006-06-14 Bill Haneman <bill.haneman@sun.com>
757 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
760 * configure.in, */Makefile.am: mingw patch, modified from
761 original patch by yselkowitz. Bug #314216.
763 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
764 for completeness. Bug #163111.
766 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
767 * libspi/util.c, registryd/registry-main.c:
768 Fix guint/char* casts.
769 Patch from chpe, bug #333883.
771 2006-06-12 Bill Haneman <bill.haneman@sun.com>
773 * configure.in: Require atk-1.12.0, to pick up
774 new API. (bug #344412).
776 * libspi-1.0-uninstalled.pc.in:
778 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
779 Fix for #341488 from Samual Thibault.
781 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
782 Thanks to Brian Pepple.
784 2006-06-09 Bill Haneman <bill.haneman@sun.com>
787 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
788 New, missing implementations of attribute reading methods
791 * cspi/spi.h, spi_value.c:
792 (AccessibleValue_getMinimumIncrement): New methods wrapping
793 the (formerly unimplemented) property from Value.idl.
796 (impl_get_minimumIncrement): Implementation for retrieving
797 the minimum valuator increment, (formerly unimplemented).
800 2006-06-09 Bill Haneman <bill.haneman@sun.com>
802 * idl/Accessibility_State.idl:
803 Added STATE_VISITED (bug #338369).
805 * cspi/spi_accessible.c:
806 (spi_state_to_corba) Fixed marshalling of new statetypes.
809 (spi_init_state_tables, impl_getStates):
810 Fixed conversion of new statetypes to/from ATK.
812 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
814 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
815 definitions/conversions for new roles from ATK.
817 * idl/Accessibility_Relation.idl:
819 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
820 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
821 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
823 * libspi/accessible.c: Fixed marshalling of new role types from
826 2006-04-17 Matthias Clasen <mclasen@redhat.com>
828 * revert my previous change
830 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
832 * configure.in: Remove obssolete no_NO locale
833 * po/no.po: And the translation.
835 2006-04-05 Matthias Clasen <mclasen@redhat.com>
837 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
838 memory-management error that caused crashes on x86_64.
841 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
843 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
845 2006-03-27 Bill Haneman <bill.haneman@sun.com>
847 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
848 to strip "cspi_*" from the symbol table.
850 * cspi/spi_streamablecontent.c:
851 (get_streams): Make this method static.
854 (_cspi_exception_throw): rename to cspi_exception_throw,
855 so we can strip it with the rest...
858 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
860 2006-03-27 Bill Haneman <bill.haneman@sun.com>
862 Add doxygen-generated IDL docs to tarball, and enable
863 doxygen during build/install when available. Bug #301345.
865 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
867 * docs/reference/Makefile.am: Add idl to SUBDIRS.
869 * docs/reference/idl/Makefile.am: Optionally use
870 doxygen to create docs.
872 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
874 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
876 2006-03-20 Bill Haneman <bill.haneman@sun.com>
879 (impl_get_selected_rows): Don't free the selection if it's
880 empty or has not been assigned; init it to NULL so you can tell.
881 Also, allow for zero selected rows.
882 (impl_getSelectedColumns): Ditto. Bug #319088.
884 2006-03-11 Vincent Untz <vuntz@gnome.org>
886 Leak fix for bug #334217.
888 * libspi/application.c: spi_application_toolkit_event_listener():
889 don't duplicate the string we pass as an argument to
890 spi_init_any_nil() since spi_init_any_nil() already does it
891 * registryd/deviceeventcontroller.c:
892 (spi_dec_button_update_and_emit): ditto
893 (spi_dec_mouse_check): ditto
894 (spi_dec_emit_modifier_event): ditto
895 (spi_device_event_controller_forward_mouse): ditto
896 * registryd/registry.c:
897 (desktop_add_application): ditto
898 (desktop_remove_application): ditto
900 2006-02-20 Bill Haneman <billh@gnome.org>
902 * configure.in: Rev to 1.7.6.
904 Leak fixes for bug #331924.
906 * atk-bridge/bridge.c:
907 (spi_atk_bridge_init_base): Don't dup the string, it's already
908 been dup-ed. Fixes a leak.
909 (spi_atk_emit_eventv): Move the CORBA_free call here,
910 instead of spi_atk_state_event_listener; fixes another leak.
911 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
912 notifying the registry; fixes another leak.
914 * registryd/registry.c:
915 (registry_flush_event_queue): Free the CORBA_any when
916 flushing the event, not just the string. Fixes another leak.
917 (registry_queue_event): Free the CORBA_any when dropping
918 events on the floor; fixes another leak.
921 (spi_init_any_object, spi_init_any_nil):
922 Always set _release to TRUE. Fixes another leak.
924 2006-02-20 Bill Haneman <billh@gnome.org>
926 * configure.in: Rev to 1.7.5.
927 Reinstate localization of this module. Thanks for Rodney
928 Dawes for fixing my patch.
930 * registryd/Makefile.am: Remove Accessibility_Registry.server
931 from dist, since it needs to be re-created at configure time.
934 2006-01-31 Bill Haneman <billh@gnome.org>
936 * configure.in: Rev to 1.7.4 (to include build fix below).
938 * idl/Makefile.am: Include Selector.idl in dist.
942 (cspi_internal_event_get_object): Handle case where
943 "object" isn't present, i.e. CORBA_TC_Object doesn't match
944 the EventDetails data.
945 (cspi_internal_event_get_text): Handle NULL string.
946 (cspi_internal_event_get_rect): Handle missing/empty rect
947 data, Accessibility_TC_RectBounds doesn't match any_data.
949 2006-01-30 Bill Haneman <billh@gnome.org>
953 * atk-bridge/bridge.c:
954 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
955 interface and use that when instantiating a new source
956 accessible. Better fix for bug #321814.
958 2006-01-27 Bill Haneman <billh@gnome.org>
960 * idl/Accessibility_Selector.idl: Added to the cvs repository.
962 * configure.in: Revved to 1.7.3.
964 2006-01-17 Bill Haneman <billh@gnome.org>
966 * configure.in: Revved to 1.7.2, re-dist to include docs.
968 2006-01-09 Bill Haneman <billh@gnome.org>
970 * configure.in: Removed po/Makefile.in inclusion, we do not need
973 * idl/Accessibility.idl: Improved documentation here, and for all
974 IDL in the 'GNOME::Accessibility' namespace.
976 * idl/Accessibility_Accessible.idl:
977 (LOCALE_TYPE): Added enum.
978 (AttributeSet): New, for returning multiple name/value attribute pairs.
979 (RoleSet): New, sequence of Roles, to be used in upcoming
981 (getAttributes): New API, allows retrieval of name/value pair
982 annotations for all kinds of Accessible objects. C.f.
983 Text:getAttributes, which is only for typographic/textual/semantic tags in
985 (getApplication): New, retrieves the host/containing Application
986 instance for an object (without having to walk up the whole tree).
988 * idl/Accessibility_Component.idl:
989 (getAlpha): New method, returns the alpha blending (aka 'opacity')
990 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
993 * idl/Accessibility_Event.idl:
994 (EventDetails): New struct definition, for encapsulating
995 commonly-queried information about emitted events. The use of
996 this structure in emitted events (in the 'any' member of
997 Accessibility_Event) should greatly reduce the number of
998 client-server roundtrips necessary.
1000 * idl/Accessibility_Image.idl:
1001 (imageLocale): New, a readonly attribute indicating the POSIX
1002 LC_MESSAGES locale of the image and associated Alt/descriptive
1005 * idl/Accessibility_Relation.idl:
1006 (RELATION_PARENT_WINDOW_OF): Include, as complement to
1009 * idl/Accessibility_Role.idl:
1010 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
1011 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
1012 complex document and form support.
1014 * idl/Accessibility_State.idl:
1015 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
1016 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
1017 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
1018 for support of complex documents and forms.
1020 * idl/Accessibility_StreamableContent.idl:
1021 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
1022 allow old bonobo-stream interfaces to be deprecated in the next
1025 * idl/Accessibility_Text.idl:
1026 (getAttributeValue): New method, allows query-by-name of single
1029 * libspi/accessible.c:
1030 Added support for new roles. Implemented new methods
1031 (impl_accessibility_accessible_get_application): New
1032 (impl_accessibility_accessible_get_attributes): New
1034 * libspi/component.c:
1035 (impl_accessibility_component_get_alpha): New.
1038 (impl_accessibility_image_get_locale): New.
1040 * libspi/relation.c: Added support for new relation type.
1042 * libspi/stateset.c: Added support for new state types.
1045 (impl_getAttributeValue): New.
1048 New prototypes for private methods
1050 spi_init_any_object, spi_init_any_string,
1053 * libspi/spi_event.c:
1054 Use EventDetails in the event emission methods.
1056 * cspi/spi-private.h:
1057 (cspi_role_from_spi_role): Expose this adapter method, since
1058 we need it in the bridge (see below).
1061 (AccessibleEvent_getSourceName):
1062 (AccessibleEvent_getSourceRole):
1063 (AccessibleEvent_getSourceApplication):
1064 (AccessibleEvent_getSourceDetails):
1065 New methods for interrogating/demarshalling
1066 event details (i.e. source's accessible name, role,
1069 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
1070 Make use of the new EventDetails struct in events, if present.
1071 (AccessibleEvent_getSourceName)
1072 (AccessibleEvent_getSourceRole)
1073 (AccessibleEvent_getSourceApplication)
1074 (AccessibleEvent_getSourceDetails): Implement the newly exposed
1076 (Accessible_getAttributes): New, wraps
1077 Accessibility_Accessible_getAttributes.
1078 (Accessible_getHostApplication): New, wraps
1079 Accessibility_Accessible_getApplication.
1082 (AccessibleImage_getImageLocale): New wrapper for
1083 Accessibility_Image_get_imageLocale.
1085 * cspi/spi_component.c:
1086 (AccessibleComponent_getAlpha): New wrapper for
1087 Accessibility_Component_getAlpha.
1089 * atk-bridge/bridge.c:
1090 Use new prototyped for init_any methods.
1091 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
1092 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
1093 (spi_atk_bridge_init_base): Wrappers
1094 for spi_init_any_* methods, due to refactor; include extended
1095 information in the Accessibility_EventDetails struct, for instance
1096 accessible-name, Role, and containing Application.
1098 * registryd/registry.c:
1099 Use new event emission (with EventDetails).
1101 * registryd/deviceeventcontroller.c:
1102 Use new event emission (with EventDetails).
1104 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
1106 * configure.in: Generate po/Makefile.in
1107 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
1108 * cspi/spi_streamablecontent.c:
1109 (accessible_bonobo_stream_client_seek),
1110 (AccessibleStreamableContent_seek): Remove unused vars.
1111 * libspi/application.c: Missing header.
1112 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
1113 * login-helper/login-helper.c: (login_helper_finalize),
1114 (login_helper_init): Remove unused stuff
1115 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
1116 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
1117 and surround some with #ifdef GRAB_BUTTON.
1118 * test/event-listener-test.c: (main), (report_event),
1119 (report_caret_event), (report_detail_event),
1120 (report_detail1_event), (report_bounds_event), (report_text_event),
1121 (report_text_selection_event),
1122 (report_active_descendant_changed_event),
1123 (report_children_changed_event), (report_name_changed_event),
1124 (report_description_changed_event), (report_parent_changed_event),
1125 (report_window_event), (report_table_summary_event),
1126 (report_table_header_event), (report_table_caption_event),
1127 (report_table_row_description_event),
1128 (report_table_column_description_event), (timing_test_event):
1129 Remove a bunch of unused variables and fix a slew of format specifiers
1130 * test/key-listener-test.c: (report_all_key_event): Format specifier
1131 * test/keypad-test.c: (print_key_event): Same
1132 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
1134 * test/screen-review-test.c: (main), (print_chunk_debug),
1135 (review_buffer_get_text_chunk), (debug_chunk_list),
1136 (string_guess_clip), (text_chunk_get_clipped_string),
1137 (text_chunk_list_to_string), (get_screen_review_line_at):
1138 Remove unused variables and fix format specifiers.
1139 * test/simple-at.c: (report_text_event): Format specifier fix.
1140 * test/stress-test.c: (main): Remove unused var.
1142 2005-12-29 Abel Cheung <maddog@linuxhall.org>
1144 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
1145 (yes I know that's useless)
1147 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
1149 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
1151 2005-11-17 Michael Meeks <michael.meeks@novell.com>
1153 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1154 urgh-fix embarassing typo.
1156 2005-11-16 Michael Meeks <michael.meeks@novell.com>
1158 * atk-bridge/bridge.c (spi_atk_emit_eventv):
1159 do a faster, less problematic _unref call on this local
1160 object, rather than a slower (potentially cross-thread
1161 complicated) CORBA call.
1163 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
1165 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
1166 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
1167 * registryd/deviceeventcontroller.c:
1168 (spi_controller_notify_mouselisteners),
1169 (impl_generate_keyboard_event):
1170 * test/screen-review-test.c: (chunk_bounds_within):
1171 * test/test-simple.c: (test_desktop): Remove some unused code
1172 and fix compiler warnings. Closes bug #320049.
1174 2005-10-27 Bill Haneman <bill.haneman@sun.com>
1176 * registryd/deviceeventcontroller.c:
1177 (spi_controller_notify_keylisteners): Check
1178 to make sure the event listener has requested 'preemptive'
1179 status before pre-empting an event.
1181 2005-08-29 Bill Haneman <bill.haneman@sun.com>
1183 * configure.in, README, NEWS: Release 1.6.5.
1185 2005-07-25 Matthias Clasen <mclasen@redhat.com>
1187 * test/window-listener-test.c: Fix a printf
1188 format error. (#169453)
1190 2005-07-15 Bill Haneman <bill.haneman@sun.com>
1192 * tests/test-simple.c:
1193 (key_listener_cb): Ensure that the keystring is dup'ed instead of
1194 relying on the old string from the key event hanging around after
1195 the event handler returns. Fixes broken 'make check'.
1197 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
1199 * Added Marathi (mr_IN) translations.
1201 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
1203 * cspi/bonobo/cspi-bonobo-listener.c:
1204 (cspi_event_list_remove_by_cb): Fix the build.
1206 2005-05-26 Michael Meeks <michael.meeks@novell.com>
1208 * cspi/bonobo/cspi-bonobo-listener.c
1209 (cspi_event_list_remove_by_cb): actually filter by callback.
1211 2005-05-25 Bill Haneman <bill.haneman@sun.com>
1213 * registryd/registry.c (remove_listener_cb):
1214 Make deregistration filter rules match the event emission rules.
1216 2005-05-25 Michael Meeks <michael.meeks@novell.com>
1218 * registryd/registry.c (remove_listener_cb),
1219 (impl_accessibility_registry_deregister_global_event_listener),
1220 (impl_accessibility_registry_deregister_global_event_listener_all):
1221 pass a closure to the remove callback to filter listeners more
1222 accurately on remove.
1224 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1226 * configure.in: Revved to 1.6.4.
1227 Remember to put quotes around XEVIE_LIBS assignment.
1228 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
1231 * tests/event-listener-test.c: Tweaked the tests - more detail
1232 from caret events, and some interrogation of AccessibleText APIs.
1233 Commented-out the bounds-changed events by default, since they can
1236 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
1238 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
1239 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
1240 Same here. Closes bug #167806
1242 2005-04-05 Bill Haneman <bill.haneman@sun.com>
1244 * atk-bridge/bridge.c:
1245 (spi_atk_bridge_signal_listener):
1246 Free the any._value if any._release is TRUE,
1247 since the ORB won't do it for us in this case
1248 [because this method is not a skel].
1249 Fix for bug #168679.
1251 2005-03-30 Steve Murphy <murf@e-tools.com>
1253 * configure.in: Added "rw" to ALL_LINGUAS.
1255 2005-03-29 Bill Haneman <bill.haneman@sun.com>
1257 * configure.in: Improved check for HAVE_XEVIE, to detect
1258 presence on XOrg, where -lXevie is a separate library.
1260 2005-03-08 Bill Haneman <bill.haneman@sun.com>
1262 * configure.in, NEWS, README: Revved to 1.6.3.
1264 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
1266 * configure.in: Added "xh" to ALL_LINGUAS.
1268 2005-02-07 Bill Haneman <bill.haneman@sun.com>
1270 * atk-bridge/bridge.c:
1271 (atk_bridge_init): Added missing NULL in g_strconcat(),
1272 also check for symlink before logging to
1273 insecure directory. Thanks to meissner@suse.de.
1275 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
1277 * tests/login-helper-server-test.c: Add return call to main
1278 function. Patch from Chris Lahey. Fixes bug #165129.
1280 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
1282 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
1284 2004-12-09 Bill Haneman <billh@gnome.org>
1286 * registryd/registry-main.c:
1287 Added #define <string.h> for strrchr. (bug 160862).
1288 Thanks to Vincent Berger for catching.
1290 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1292 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
1293 restart registry process if the registry process is found to have died
1294 and the current process is exiting.
1295 (spi_atk_bridge_exit_func): Do not attempt to deregister the
1296 application if the registry process has died.
1297 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
1298 does not return a registry object.
1299 (spi_atk_tidy_windows): Give up if the registry process has died.
1301 This fixes problems with hangs and crashes when logging out.
1303 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1305 * registryd/desktop.c: Add checking that we are not exiting before
1306 calling spi_desktop_remove_application in
1307 abnormal_application_termination. Fix for bug #152147.
1309 2004-12-02 Bill Haneman <billh@gnome.org>
1311 * configure.in, NEWS, README: Revved to 1.6.1.
1313 Patch from Padraig O'Briain <padraig.obriain@sun.com>
1314 * atk-bridge/bridge.c:
1315 (atk_bridge_init): Save the pid when we start, to detect forks.
1316 (spi_atk_bridge_exit_func): Don't call the cleanup routines
1317 if we're in a forked pid.
1319 2004-10-09 Bill Haneman <billh@gnome.org>
1321 * idl/Accessibility_LoginHelper.idl:
1322 Improved inline documentation.
1324 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
1326 * configure.in: Added gl (Galician) to ALL_LINGUAS
1328 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
1330 * libspi/accessible.c:
1331 (impl_accessibility_accessible_get_role_name),
1332 (impl_accessibility_accessible_get_local_role_name):
1333 NULL vs. 0 cleanups.
1334 * libspi/component.c:
1335 (impl_accessibility_component_get_accessible_at_point):
1337 * libspi/eventlistener.c: (spi_event_listener_new):
1339 * libspi/stateset.c: (impl_compare): More of the same
1340 * libspi/table.c: (impl_getRowDescription): Again.
1341 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
1342 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
1343 (impl_generate_keyboard_event): Same.
1344 * registryd/registry-main.c: (main): Same
1345 * test/event-listener-test.c: (test_exit): Same
1346 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
1347 * test/keysynth-test.c: (test_key_synthesis): Same
1348 * test/login-helper-server-test.c: (main): Fix warning.
1349 * test/screen-review-test.c: (test_exit): Fix include.
1350 * test/simple-at.c: (simple_at_exit), (_festival_init):
1353 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
1355 * configure.in, NEWS, README: Revved to 1.6.0.
1357 2004-09-12 Bill Haneman <bill.haneman@sun.com>
1359 * configure.in: Rev and re-dist, since the 1.5.4 tarball
1360 was missing the HTML docs.
1362 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1364 * configure.in: only cleanups:
1365 - better looking PKG_CHECK_MODULES() output,
1367 - declare in one common place required versions of other tools using
1370 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
1372 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
1373 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
1374 required ATK version accordingly.
1376 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1378 * cspi/bonobo/cspi-bonobo.c:
1379 (cspi_display_name): Fix C99ism.
1380 * atk-bridge/bridge.c:
1381 (spi_display_name): Fix C99ism.
1382 Patch from Jens Granseuer, jensgr@gmx.net.
1384 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
1386 * configure.in: Added "or" to ALL_LINGUAS.
1388 2004-08-20 Bill Haneman <bill.haneman@sun.com>
1390 * configure.in, NEWS, README: Revved to 1.5.4.
1392 * registryd/registry-main.c:
1393 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
1396 * cspi/bonobo/cspi-bonobo.c:
1397 (cspi_display_name): New convenience method, gets DISPLAY with
1398 screen number stripped, if AT_SPI_DISPLAY isn't already set.
1399 (cspi_init): Set the activation env value above before getting
1402 * atk-bridge/bridge.c:
1403 (spi_display_name): Create the AT_SPI_DISPLAY activation
1404 environment for an app, based on the DISPLAY environment with the
1405 screen number stripped off.
1406 (atk_bridge_init): Allow redirection of error messages to a log.
1407 (spi_atk_bridge_get_registry): Call
1408 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
1410 Fixes for bugs #149962, #136986, #144086.
1412 2004-08-16 Christian Rose <menthos@menthos.com>
1414 * configure.in: Added "bs" to ALL_LINGUAS.
1416 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
1418 * configure.in: Added nb to ALL_LINGUAS.
1420 2004-09-03 Bill Haneman <bill.haneman@sun.com>
1423 (SPI_init): Return error code '2' if the activated
1424 registry cannot be pinged. Fixes bug #147648.
1426 2004-07-28 Bill Haneman <bill.haneman@sun.com>
1428 * registryd/deviceeventcontroller.c:
1429 (spi_dec_init_mouse_listener): Don't do XGrabButton,
1430 rely on timer-poll instead, to avoid conflict with
1433 2004-07-20 Bill Haneman <bill.haneman@sun.com>
1435 * configure.in: Revved to 1.5.3.
1437 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
1439 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
1441 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
1443 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
1445 2004-06-11 Bill Haneman <bill.haneman@sun.com>
1447 * atk-bridge/bridge.c:
1448 (spi_atk_bridge_do_registration):
1449 Register with ATK for AtkComponent:bounds-changed events.
1450 (api_atk_bridge_signal_listener):
1451 Marshal the AtkRectangle info into the event notification
1452 for object:bounds-changed events.
1455 (spi_init_any_rect): New method, inits a corba struct of
1456 type Accessibility_BoundingBox from an AtkRectangle.
1458 * libspi/spi-private.h: Declared spi_init_any_rect (above).
1461 (SPIRect): New struct definition.
1462 (SPI_freeRect): New declaration.
1463 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
1466 (AccessibleBoundsChangedEvent_getNewBounds): New method,
1467 implemented. Gets the bounding box data from the CORBA_any
1468 associated with a bounds-changed event notification.
1469 (cspi_internal_event_get_rect): New, used internally by above method.
1472 (SPI_freeRect): Implemented this new method, for freeing
1475 * test/event-listener-test.c:
1476 (main, report_bounds_event):
1477 Added a test for object:bounds-changed events.
1479 2004-06-01 Bill Haneman <bill.haneman@sun.com>
1481 * test/login-helper-server-test.c:
1482 (main): Fix C99-ism. Thanks to Jens Granseuer.
1484 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
1486 * libloginhelper-1.0.pc.in:
1487 * idl/Accessibility_LoginHelper.idl:
1488 * login-helper/Makefile.am:
1489 * login-helper/login-helper.[ch]:
1490 * test/login-helper-client-test.c:
1491 * test/login-helper-server-test.c: Added files missing from CVS.
1492 Files obtained from at-spi-1.5.2 tarball.
1494 2004-05-27 Bill Haneman <bill.haneman@sun.com>
1496 * configure.in: Create login-helper/Makefile.
1497 Incremented micro version.
1499 * Makefile.am: Add login-helper subdir and pkgconfig data.
1501 * login-helper: New subdir.
1503 * libloginhelper-1.0.pc.in: New.
1505 * idl/Accessibility_LoginHelper.idl: New file, defines
1506 interface whereby authentication clients can identify agents which
1507 need access to services during the login process, e.g. screen lock
1510 * login-helper/Makefile.am : New.
1512 * login-helper/login-helper.[ch] : New, implementation of
1513 a LoginHelper base class. Services needing LoginHelper can subclass.
1515 * test/Makefile.am : Added test for login-helper, client and
1518 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
1519 Use proper prefix in #include files.
1521 * test/login-helper-client-test.c: New.
1523 * test/login-helper-server-test.c: New.
1525 2004-05-27 Alexander Shopov <ash@contact.bg>
1527 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1529 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
1531 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
1532 is positive. This should make it easier to detect inapprorpiate unref
1535 2004-05-11 James Henstridge <james@daa.com.au>
1537 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
1538 no-op and deprecated.
1540 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
1542 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
1544 2004-04-28 Bill Haneman <billh@gnome.org>
1546 * Makefile.am: Added --enable-gtk-doc to
1547 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
1549 2004-04-19 Bill Haneman <billh@gnome.org>
1551 * configure.in: Revved to 1.5.1.
1553 * registryd/deviceeventcontroller.c:
1555 (DEControllerPrivateData): Added fields for
1556 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
1557 (spi_dec_replace_map_keysym): New internal utility for
1558 replacing a keysym in the keymap - used to allow
1559 synthesis of individual characters which aren't in the
1561 (spi_dec_reset_reserved): New; resets the changed keysym value
1563 (keycode_for_keysym): We now try to deal with failed
1564 XKeysymToKeycode requests by changing a keymap value
1565 and returning a reserved keycode. We now take
1566 a DEController pointer as first arg.
1567 (spi_controller_register_with_devices): Call XkbGetMap with
1568 the XkbKeySymsMask. Find the highest keycode in the current
1569 keymap which doesn't have any grabs, and mark that one for
1570 temporary re-mapping when out-of-range KeySyms are synthesized.
1571 (dec_synth_keycode_press): Call XFlush after synthesizing the key
1574 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
1576 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
1578 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
1580 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
1582 2004-03-24 Bill Haneman <billh@gnome.org>
1585 (AccessibleTable_addRowSelection),
1586 (AccessibleTable_addColumnSelection),
1587 (AccessibleTable_removeRowSelection),
1588 (AccessibleTable_removeColumnSelection):
1589 Add declarations for spi wrappers which were
1590 inadvertantly omitted. Fixes bug #133413.
1593 Revved to 1.5.0 (unstable series for GNOME 2.7).
1595 2004-03-24 Bill Haneman <billh@gnome.org>
1597 * atk-bridge/bridge.c:
1598 Bracketed some debug output in
1599 conditionals, to avoid printing it in normal use.
1602 * libspi/hyperlink.c:
1603 Don't cast 'object' to ATK_OBJECT when constructing
1604 an AtkAction interface for a hyperlink.
1605 See discussion in bug #120659.
1607 * test/key-listener-test.c:
1608 (report_all_key_event): Send output to stderr,
1609 not stdout, for consistency with the rest of the test callbacks.
1612 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
1613 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
1614 Incremented to 1.4.1 (but didn't dist yet - I'm going to
1615 try incrementing the revision AFTER doing a dist, at least
1618 2004-03-22 Bill Haneman <billh@gnome.org>
1620 * configure.in: Revved to 1.4.0, libtool 9.14.9
1622 2004-03-17 Laszlo Peter <laca@sun.com>
1624 * libspi-1.0-uninstalled.pc.in: add idldir
1626 * cspi-1.0-uninstalled.pc.in: add idldir
1628 2004-03-16 Gareth Owen <gowen72@yahoo.com>
1630 * configure.in: Added "en_GB" to ALL_LINGUAS
1632 2004-03-15 Bill Haneman <billh@gnome.org>
1634 * configure.in: Revved to 1.3.16,
1637 2004-03-15 Laszlo Peter <laca@sun.com>
1639 * libspi-1.0-uninstalled.pc.in: new file
1641 * cspi-1.0-uninstalled.pc.in: new file
1643 * configure.in: add the new pc files to AC_OUTPUT
1645 * Makefile.am: add the new pc files to EXTRA_DIST
1647 2004-03-12 Bill Haneman <billh@gnome.org>
1649 * atk-bridge/bridge.c:
1650 (spi_atk_bridge_key_listener):
1651 Make sure to return consumed=FALSE if snoop
1652 event is not dispatched to listener.
1655 2004-03-01 Bill Haneman <billh@gnome.org>
1657 * configure.in: Revved to 1.3.15,
1660 2004-03-07 Danilo Segan <dsegan@gmx.net>
1662 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1664 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1666 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1668 2004-03-01 Bill Haneman <billh@gnome.org>
1670 * configure.in: Revved to 1.3.14.
1673 (SPI_exit): Removed "bye-bye" exit message.
1674 Moved "leak" report to happen before the
1675 iteration over the leaked refs list.
1676 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1678 2004-02-24 Bill Haneman <billh@gnome.org>
1680 * configure.in: Revved to 1.3.13.
1682 * docs/reference/cspi/Makefile.am:
1683 Correct typo that was breaking the docs build.
1685 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1687 * autogen.sh: Require version 1.7 of automake.
1689 * configure.in: call GTK_DOC_CHECK([1.0])
1691 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1693 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1695 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1697 * test/Makefile.am: Remove use of CFLAGS.
1699 This fixes bug #132987.
1701 2004-02-11 Bill Haneman <billh@gnome.org>
1703 * reverted most of Tomasz' patch below, since it was breaking
1704 builds (see bug #134058).
1706 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1708 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1709 correct pass "make dist" (empty .. because seems no sach types in
1710 header files with gtk-doc markups).
1711 * docs/reference/cspi/Makefile.am, configure.in:
1712 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1713 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1714 * Makefile.am: added:
1715 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1716 for force correct pass generate documentation on "make distcheck".
1717 * libspi/Makefile.am: fixes for automake >= 1.6.
1718 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1719 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1722 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1724 * docs/reference/cspi/Makefile.am (install-data-local): Install
1725 index.sgml since the doc autobuilder on widget.gnome.org looks for
1728 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1730 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1733 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1735 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1737 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1739 * test/simple-at.c: Fixed null string problems that cause core
1740 dumping problems on Solaris.
1742 2004-01-12 Bill Haneman <billh@gnome.org>
1744 * configure.in: Incremented version to 1.3.11.
1746 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1748 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1749 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1752 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1754 * configure.in: Added "fa" to ALL_LINGUAS.
1756 2003-12-20 Arafat Medini <lumina@silverpen.de>
1758 * configure.in: Added "ar" to ALL_LINGUAS
1760 2003-12-16 Bill Haneman <billh@gnome.org>
1762 * registryd/registry-main.c:
1764 Set the reg_env DISPLAY variable before registering the
1765 activated registry service. Fixes bug #129479.
1767 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1769 * configure.in: Added "id" in ALL_LINGUAS
1770 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1772 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1774 * registryd/deviceeventcontroller.c (global_filter_fn):
1775 When an event is consumed discard any XEvents were added to
1776 the queue while dealing with the the event. This can happen if
1777 processing of the event takes a long time. Call XUngrabKeyboard
1778 if an event was discarded. This fixes bug $124837.
1779 Only call wait_for_release_event for a KeyPress.
1780 Use local variable display instead of spi_get_display().
1781 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1784 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1786 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1787 Allow for mask to contain values other than NumLock mask.
1790 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1792 * registryd/devieceventcontroller.c:
1793 (wait_for_release_event): Change first parameter from GdkEvent to
1795 (global_filter_fn); Correct call to wait_for_release_event.
1799 2003-12-08 Bill Haneman <billh@gnome.org>
1803 * registryd/ucs2keysym.c: New file.
1805 * registryd/deviceeventcontroller.c:
1806 (dec_keysym_for_unichar): Remove old partial implementation and
1807 replace with call to ucs2keysym(), which is much more complete.
1808 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1813 2003-12-05 Bill Haneman <billh@gnome.org>
1815 * configure.in: Version 1.3.9.
1817 * docs/reference/cspi/tmpl/spi_registry.sgml:
1818 Added reference to libspi/keymasks.h to the
1819 description of Registry queries: AccessibleKeyMaskType.
1822 2003-12-04 Bill Haneman <billh@gnome.org>
1824 Fix for bug #121974.
1826 * idl/Accessibility_Application.idl:
1827 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1828 setlocale's LC_TYPEs.
1829 (Accessibility::Application::getLocale): New method.
1830 Allows clients to query the locale, by type, of an app.
1833 * cspi/spi_application.c:
1834 (AccessibleApplication_getLocale): New method, wraps IDL above.
1836 * libspi/application.c:
1837 (spi_application_class_init): Init epv entry for getLocale.
1838 (impl_accessibility_application_get_locale): Impl for above.
1840 * test/test-simple.c:
1841 (test_application): Added assertion for getLocale, i.e.
1842 that the string from AccessibleApplication_getLocale (app, type)
1843 is the same as that from setlocale (type, NULL);
1845 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1847 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1848 the keyboard on a timeout intil the key state goes from pressed to
1849 released. Fixes bug #111429.
1851 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1853 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1854 root object so that it is present when a context menu in an
1855 out-of-process applet is popped up.
1856 (spi_atk_bridge_do_registration): Create acceessible application root
1857 object only if it does not exist.
1859 This fixes bug #125834.
1861 2003-12-01 Bill Haneman <billh@gnome.org>
1863 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1866 Added enum for AccessibleStreamableContentSeekType.
1867 (AccessibleStreamableContent_freeContentTypeList): New.
1869 * cspi/spi_streamablecontent.c:
1870 (accessible_bonobo_stream_client_seek): New private method.
1871 (AccessibleStreamableContent_seek): Implemented this method,
1872 using Bonobo_Stream_seek.
1873 (AccessibleStreamableContent_freeContentTypeList): New method
1874 for freeing the return value from
1875 AccessibleStreamableContent_getContentTypes.
1876 (stream_cache_item_free): Replaces stream_release; stop leaks.
1877 (stream_release): removed.
1878 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1879 free the memory properly.
1881 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1883 Fix for bug #116009.
1885 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1887 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1889 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1891 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1893 2003-12-01 Bill Haneman <billh@gnome.org>
1895 Fix for bug/rfe #127463.
1897 * idl/Accessibility_Accessible.idl:
1898 (getLocalizedRoleName): New.
1899 (unimplemented4): Removed (replaced by above).
1901 * libspi/accessible.c:
1902 (impl_accessibility_accessible_get_local_role_name): New.
1903 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1907 (Accessible_getLocalizedRoleName): New.
1909 * cspi/spi_accessible.c:
1910 (Accessible_getLocalizedRoleName): New.
1912 2003-12-01 Bill Haneman <billh@gnome.org>
1914 Fix for bug #118581.
1915 * idl/Accessibility_Text.idl:
1916 (getDefaultAttributes): New.
1917 (unimplemented4): Removed (replaced by above method).
1920 (impl_getDefaultAttributes): New method.
1921 (spi_text_class_init):
1922 initialize the get_default_attributes slot in the epv.
1925 (AccessibleText_getDefaultAttributes): New prototype.
1928 (AccessibleText_getDefaultAttributes): New method.
1930 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1932 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1933 write beyond the end of the table. Fixes bug #120473.
1935 2003-09-30 Christian Rose <menthos@menthos.com>
1937 * configure.in: Added "eu" to ALL_LINGUAS.
1939 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1941 * configure.in: ALL_LINGUAS: Added no.
1943 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1945 * configure.in: Added lt to ALL_LINGUAS.
1947 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1949 * atk-bridge/bridge.c:
1950 (atk_bridge_init): Register event listeners always even for
1951 out-of-process applet.
1952 (spi_atk_bridge_toplevel_added): Remove call to
1953 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1954 (spi_atk_bridge_toplevelk_removed): Remove call to
1955 spi_atk_deregister_event_listenersa as the listeners are now always
1957 (spi_atk_bridge_register_application): Remove call to
1958 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1960 This fixes bug #120991.
1962 * libspi/table.c (impl_getColumnDescription): Correct typo,
1963 pointed out by Bolian.Yin@sun.com.
1965 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1967 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1969 2003-09-08 Bill Haneman <billh@gnome.org>
1971 * configure.in: Revved to 1.3.7.
1973 This is the GNOME 2.4.0 release of at-spi.
1975 * docs/reference/cspi/Makefile.am:
1976 Removed spurious inclusion of 'index.sgml' in the
1977 html directory; this was breaking make distcheck and
1978 also some other build environments.
1980 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1982 * registryd/registry.[ch}:
1983 Add queue_handler_id and focus_object to SpiRegistry data structure.
1984 (registry_flush_event_queue): If event being discarded is
1985 "state-change:focused" store object as focus_object.
1986 (registry_start_queue): Remove queue handler and focus object
1988 (registry_discard_event): New function which discards a focus event
1989 if we had stored focus object in the registry.
1990 (registry_queue_event): Add new check that is_queueing is set as this
1991 function is reentrant.
1992 (registry_filer_event): Add call to registry_discard_event.
1994 This resolves issues raised in bug #108664.
1996 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1998 * configure.in: Added "bn" to ALL_LINGUAS.
2000 2003-09-04 Bill Haneman <billh@gnome.org>
2002 * cspi/spi_event.c: Documentation improvements for
2003 (SPI_registerAccessibleKeylistener).
2005 * docs/reference/tmpl/spi_registry.sgml:
2006 Documentation improvements for SpiAccessibleKeylistenerCB.
2008 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
2010 * configure.in: Added "ro" to ALL_LINGUAS.
2013 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
2015 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
2016 not decremented to zero. Fixes bug #120725.
2018 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
2020 * configure.in: Added "ja" to ALL_LINGUAS.
2022 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
2024 * configure.in: Added "is" to ALL_LINGUAS.
2026 2003-08-22 Christian Rose <menthos@menthos.com>
2028 * configure.in: Added "nl" to ALL_LINGUAS.
2030 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2032 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
2033 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
2035 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
2037 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
2038 type for unspecified exception.
2039 * cspi_streamablecontect): Add include of string.h for memcpy.
2040 (stream_release): Correct call to bonobo_object_release_unref
2041 (stream_cache_item_free): Correct call to bonobo_object_release_unref
2042 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
2043 argument of _cspi_expection_throw.
2044 * libspi/hyperlink.c: Add include of libspi/action.h:
2045 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
2046 * libspi/streamablecontent.c: add include of libspi/component.h.
2047 * regisrtyd/deviceeventcontroller.c:
2048 (spi_dec_translate_mask): Removed unused variable priv.
2049 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
2050 * registryd/registry.c:
2051 (registry_filter_event): Remove unused variable queue_is-empty.
2052 (impl_registry_notify_event): Use correct modifier in fprintf call.
2054 This fixes compiler warnings reported in bug #120220.
2056 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
2058 * registryd/registryd.c: Remove this file.
2060 2003-08-17 Sanlig Badral <badral@openmn.org>
2062 * configure.in: Added mn to ALL_LINGUAS.
2064 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
2066 * configure.in: Added et to ALL_LINGUAS.
2068 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
2070 * test/event-listener-test.c: Change active-descendant to
2071 active-descendant-changed.
2073 2003-08-10 Sami Pesonen <sampeson@iki.fi>
2075 * configure.in: Added "fi" in ALL_LINGUAS.
2077 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
2079 * configure.in: Added "hi" in ALL_LINGUAS.
2081 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
2083 * configure.in: Revved to 1.3.6.
2087 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
2089 * registryd/deviceeventcontroller.c
2090 (spi_device_event_controller_object_finalize): Fix typo in previous
2093 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
2095 * registryd/deviceeventcontroller.c
2096 (spi_device_event_controller_object_finalize): Fix build on
2097 systems without XEvIE.
2099 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
2101 * acconfig.h, configure.in, registryd/Makefile.am,
2102 registryd/devicecontoller.[ch]: Add XEViE support.
2104 2003-08-06 Wang Jian <lark@linux.net.cn>
2106 * configure.in: Added "zh_CN" to ALL_LINGUAS.
2108 2003-08-06 Metin Amiroff<metin@karegen.com>
2110 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
2112 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
2114 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
2115 MODIFIER_ALT in correct place.
2117 This fixes part of bug #118114.
2119 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
2121 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
2123 2003-07-28 Changwoo Ryu <cwryu@debian.org>
2125 * configure.in: Added "ko" to ALL_LINGUAS.
2127 2003-07-28 Ole Laursen <olau@hardworking.dk>
2129 * configure.in: Added "da" to the commented out ALL_LINGUAS.
2131 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
2133 * configure.in: Added "sq" to ALL_LINGUAS.
2135 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
2137 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
2139 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2141 * configure.in: updated ALL_LINGUAS list
2143 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2145 * configure.in: Added Belarusian to ALL_LINGUAS.
2147 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
2149 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
2151 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
2152 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
2154 This fixes bug #116949.
2156 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
2158 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2159 Correct CSPI to SPI in function documentation.
2161 This fixes bug #118054.
2163 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2165 * configure.in: Added Russian to ALL_LINGUAS.
2167 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
2169 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
2171 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
2173 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
2175 2003-07-10 Joel Brich <joel.brich@laposte.net>
2177 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
2179 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2181 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
2183 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
2185 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
2186 resources allocated for AccessibleEvent. See cspi_event().
2188 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
2189 static variable streams to NULL.
2191 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2192 Update so that AcessibleEvent_ref will work.
2194 This fixes bug #116624.
2196 2003-07-06 Jordi Mallach <jordi@sindominio.net>
2198 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
2200 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
2202 * configure.in: Added "fr" (French) to ALL_LINGUAS.
2204 2003-07-02 Christian Neumair <chris@gnome-de.org>
2206 * configure.in: Added "de" (German) to ALL_LINGUAS.
2208 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
2210 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
2212 2003-07-01 Miloslav Trmac <mitr@volny.cz>
2214 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
2216 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
2218 * configure.in: Added "pl" to ALL_LINGUAS.
2220 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
2222 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
2224 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2227 (get_action_from_servant):
2228 Removed assertion that action is implemented on an AtkObject.
2230 * libspi/hyperlink.c:
2231 (spi_hyperlink_new):
2232 Aggregate AccessibleAction interface on the hyperlink object if
2233 the object implements AtkAction. (This convention is used in
2236 2003-06-30 Bill Haneman <bill.haneman@sun.com>
2238 * configure.in: Revved to 1.3.5.
2240 * registryd/Accessibility_Registry.server.in.in:
2241 Marked up appropriate strings for translation.
2243 * atk-bridge/bridge.c: Marked a couple of
2244 user-visible warnings for translation. Questionable
2245 whether they are really useful, but possibly so.
2248 2003-06-28 Christian Rose <menthos@menthos.com>
2250 * configure.in: Added "sv" to ALL_LINGUAS.
2252 2003-06-26 Bill Haneman <bill.haneman@sun.com>
2254 * registryd/registry.c:
2255 (spi_registry_object_finalize): Unref the deviceeventcontroller.
2256 (registry_defer_on_event): Defer focus: events, this is an
2257 improvement to the patch for bug #108664.
2259 * TODO: Update with 2.4/"Dev Complete" items.
2261 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
2263 * atk-bridge/bridge.c:
2264 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
2265 looks up signals once.
2266 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
2267 if doing registration.
2268 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
2269 when doing registration.
2271 This fixes bug #115014.
2273 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
2275 * atk-bridge/bridge.c:
2276 (atk_bridge_init): Add signal handler for children-changed:remove on
2277 root when in a BonoboComponent.
2278 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
2279 for first toplevel only other incrememt variable toplevels.
2280 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
2281 application and remove listeners.
2282 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
2284 (spi_atk_deregister_event_listeners): New function which removes
2286 (reinit_register_vars): New fuction which reinitializes variables.
2288 This fixes bug #111578.
2290 2003-06-13 Bill Haneman <bill.haneman@sun.com>
2292 * configure.in: version 1.3.4.
2294 * cspi/spi_accessible.c:
2295 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
2298 2003-06-13 Michael Meeks <michael@ximian.com>
2300 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
2302 * cspi/spi_main.c (cspi_peek_ev): impl.
2304 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
2306 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
2308 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
2310 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
2311 SPI_ROLE_AUTOCOMPLETE
2313 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
2315 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
2316 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
2318 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2320 * libspi/streamablecontent.h:
2321 * libspi/streamablecontent.c:
2322 New files, provide implementation/wrappers for
2323 Accessibility_StreamableContent.
2325 * cspi/spi_streamablecontent.c:
2326 Connected the C wrappers to the libspi C bindings.
2327 (AccessibleStreamableContent_close): New method.
2330 (AccessibleStreamableContent_close): New method, needed
2331 since we have an "open, [seek], read, close" model in cspi.
2333 2003-06-11 Bill Haneman <bill.haneman@sun.com>
2335 Fix for #108664; Padraig's revision of my original patch.
2337 * registryd/registry.h:
2338 Added event queue list, is_queuing, and exit_notify_timeout
2339 to the registry struct.
2341 * registryd/registry.c:
2342 (registry_init): Initialize new struct from registry.h.
2343 (impl_registry_notify_event):
2344 Filter events before notifying, in case some need to be
2346 (registry_filter_event): New,
2347 we defer certain incoming events (for instance
2348 window:deactivate) because we may wish to hide
2349 or reject them based on pending events. This is
2350 mostly a workaround for bug #108664.
2351 (registry_queue_event, registry_start_queue): New.
2352 (registry_defer_on_event): Test event to see if it
2354 (registry_reset_on_event): Returns TRUE if the
2355 event should cause a queue reset.
2356 (registry_discard_on_event): Returns TRUE if the event
2357 should cause the previous queue contents to be discarded.
2358 (registry_timeout_flush_queue): Flushes the pending event
2359 queue if no reset/discard-triggering events have come in
2360 within the timeout period.
2361 (registry_emit_event): New.
2362 (registry_clone_notify_context): New, used when queueing the
2363 event notify contexts.
2365 2003-06-10 Bill Haneman <bill.haneman@sun.com>
2367 * configure.in: Version revved to 1.3.2, lt 0.9.2
2368 Incremented ATK required version to 1.3.4.
2370 * cspi/spi_registry.c:
2371 (SPI_generateKeyEvent):
2372 We now pass the keystring along if it's non-null.
2374 * registryd/deviceeventcontroller.c:
2375 (keysym_mod_mask): New method, returns modifier mask
2376 required to generate a keysym from a given keycode.
2377 (dec_synth_keysym): New method.
2378 (dec_synth_keystring): New method.
2379 (dec_get_modifier_state): New method.
2380 (dec_lock_modifiers): New
2381 (dec_unlock_modifiers): New.
2382 (dec_keysym_for_unichar): New, rather brute-force
2383 conversion from UCS-4 to X KeySyms. Only works for
2384 Latin at the moment, with partial implementations for
2385 Greek, Hebrew, and (incomplete) Katakana.
2386 (impl_generate_keyboard_event): Now implement
2387 "KEYSTRING" synthesis and implement "KEYSYM"
2389 (keycode_from_keysym): Improved, passes a returned
2390 modmask value now if the corresponding param is non-NULL.
2392 Fixes bugs #92143 and #109776.
2395 * test/keysynth-test.c:
2396 New test program for key synthesis, to confirm fixes for
2400 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2402 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
2404 * cspi/spi_accessible.c (cspi_init_relation_type_table):
2405 Add line for RELATION_POPUP_FOR
2407 * docs/reference/cspi/tmpl/spi_relation.sgml:
2408 Add relation SPI_RELATION_POPUP_FOR
2410 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2411 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
2413 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
2415 * libspi/relation.c (spi_init_relation_type_table):
2416 Add line for RELATION_POPUP_FOR
2418 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
2420 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2421 there are still windows which have not been deleted and emit
2422 window:deactivate, if necessary and window:destroy events.
2423 This fixes bug #114370. The change on June 5th was not correct.
2425 2003-06-09 Bill Haneman <bill.haneman@sun.com>
2427 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
2430 (SPI_dupString): Allow dup-ing of a string such that it's safe to
2432 New methods for client exception handling and interception.
2433 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
2434 (SPI_exceptionHandlerPop): You guessed it...
2435 (SPI_getSourceType): Return the type of object which offended.
2436 (SPI_getExceptionCode): Return an enum code telling, possibly,
2437 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
2438 (SPIAccessibleException_getSource): get the source object for
2439 exceptions that come from Accessibles, if SPIExceptionSourceType is
2440 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
2441 (SPIException_getDescription): New, returns a string description of
2442 the problem. [Not yet a stable ABI, strings are not frozen]
2444 * cspi/spi-private.h:
2445 Added implementation details of opaque SPIException
2449 Implementations of above. Also
2450 (_cspi_exception_throw): new private method that
2451 dispatches exceptions to handlers, called from cspi-bonobo.c
2453 * cspi/bonobo/cspi-bonobo.c:
2454 (cspi_check_ev): call _cspi_exception_throw.
2455 Don't print a warning message if the exception has been
2456 handled by _cspi_exception_throw.
2458 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
2460 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
2461 there are still windows which have not been deleted and emit
2462 window:deactivate, if necessary and window:destroy events.
2463 This fixes bug #114370.
2465 2003-06-03 Bill Haneman <bill.haneman@sun.com>
2468 (cspi_accessible_is_a): Make non-fatal
2469 if the object reference is dead.
2471 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
2473 * cspi/spi_main.c: #include <stdio.h>
2474 * test/simple-at.c: ditto
2475 * test/event-listener-test.c: ditto
2476 * test/screen-review-test.c: ditto
2478 2003-05-30 Michael Meeks <michael@ximian.com>
2480 * test/test-simple.c (main): use CORBA_ORB_perform_work
2481 instead of an unnecessary linc_ call.
2483 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
2485 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
2486 Add SPI_STATE_INDETERMINATE.
2488 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
2491 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
2493 * libspi/stateset.c (init_state_type_tables): Add support for
2496 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
2498 * configure: Update versions of atk and gail required.
2499 This fixes bug #113268.
2501 2003-05-02 Bill Haneman <bill.haneman@sun.com>
2503 * configure.in: Revved micro version to 1.3.1 (because of build fix).
2505 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
2507 * libspi/Makefile.am:
2508 Ensure headers are generated before being used by c sources.
2510 2003-05-01 Bill Haneman <bill.haneman@sun.com>
2513 Simplified lt versioning rules.
2514 Incremented version to 1.3.0, to indicate that we're on the
2515 unstable branch now.
2517 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
2519 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
2520 Add MKDB_OPTIONS=--outtput-format=xml
2522 * docs/reference/cspi/at-spi-cspi-docs.sgml
2523 docs/reference/idl/at-spi-idl-docs.sgml:
2524 Convert to Docbook XML.
2526 This fixes bug #111793.
2528 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
2530 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
2531 AcccessibleKeyEventType, AccessibleKeyMaskType.
2533 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
2535 * cspi/state-types.h: Add documentation for AccessibleState.
2537 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
2538 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
2539 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
2540 AccessibleComponentLayer.
2542 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
2545 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
2547 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
2548 Accessible. Add description of AccessibleEvent,
2549 AccessibleEventListenerCB.
2551 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
2554 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
2555 documentation. Add description of AccessibleKeystrokeListenerCB,
2556 AccessibleKeyEventMask, AccessibleModifierMaskType,
2557 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
2558 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
2560 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
2563 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
2566 This fixes bug #104730.
2568 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
2570 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
2571 Set is_text field of Accessibility_DeviceEvent data structure.
2573 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
2574 is-text field of AccessibleDeviceEvent data structure.
2576 This addresses part of bug #108666.
2578 * registryd/devcieeventcontroller.c: Unset debug option.
2580 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
2582 * cspi/accessible.c:
2583 (cpi_initial_relation_type_table): New function which initializes
2584 mapping between Accessibility_RelationType and AccessibleRelationType.
2585 (cspi_relation_type_from_spi_relation_type): New function which
2586 translates an Accessibility_RelationType into an AccessibleRelationType.
2587 (AccessibleRelation_getRelationType): Use
2588 cpi_relation_type_get_spi_relation_type to return correct value.
2589 (spi_state_to_corba): Return correct type for default case.
2591 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
2592 Use Accessibility_EventType instead of Accessibility_KeyEventType.
2594 * cspi/cspi-bonobo-listener.c:
2595 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
2598 * libspi/accessible.c, libspi/action.c, libspi/application.c,
2599 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
2600 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
2601 libspi/image.c, libspi/listener.c, libspi/selection.c,
2602 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
2603 registryd/desktop.c, registryd/registry.c:
2604 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2606 * libspi/eventlistener.c
2607 Remove semicolon after BONOBO_TYPE_FUNC.
2609 * libspi/relation.c:
2610 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2611 (spi_init_relation_type_table): Initialize using correct type.
2613 * registryd/desktop.c:
2614 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
2615 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
2616 of Accessibility_KeyEventType.
2618 * test/key-listener-test.c (report_tab_key_event): Use fprintf
2621 * tests/simple-at.c, tests/screen-review-test.c:
2622 Add include for <strings.h>.
2624 * tests.stress-test.c:
2625 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
2627 These changes fix compiler warnings when using FORTE compiler on
2628 Solaris; fixes bug #107479.
2631 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2634 * configure.in: revved to 1.1.10
2636 * libspi/keymasks.h:
2637 (SPI_KEYMASK_NUMLOCK): Added.
2639 * registryd/deviceeventcontroller.c:
2640 (spi_key_event_matches_listener): AND with a smaller
2641 bitmask (as we should).
2642 (spi_dec_translate_mask):
2643 New method, sets the virtual NumLock modifier bit
2644 if numlock is on. Eventually it can handle other virtual
2645 modifier bits if needed, or other marshalling from
2646 at-spi modifier masks to platform (X) masks.
2647 (spi_dec_key_listener_new):
2648 Call spi_dec_translate_mask to set up virtual mod bits
2649 in the 'mask' field when creating a new listener struct.
2650 (spi_dec_emit_modifier_event):
2651 Set the virtual (i.e. NumLock) bits before emitting event.
2652 (spi_controller_register_with_devices):
2653 Query for the NumLock modifier 'physical' bit if Xkb is
2654 present, for use in above methods.
2658 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2660 * registryd/deviceeventcontroller.c:
2661 (spi_keystroke_from_x_key_event):
2662 Instead of checking to see if the keysym is
2663 printable, check the string from XLookupString
2664 if available, get the first unicode character from it,
2665 and call g_unichar_isprint to determine whether the
2666 is_text flag should be TRUE or FALSE.
2670 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2672 * atk-bridge/bridge.c: Add support for extended events
2673 * cspi/spi_event.c: Add documentation and implementation for
2675 * tests/event-listener-test.c: Add tests for extended events.
2677 This fixes bugs #100424 and #100426.
2679 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2681 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2682 of LT_CURRENT. This fixes bug #89350.
2684 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2686 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2687 number of signal parameter values before accessing them. This fixes
2690 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2692 * configure.in: Fixed duplicate inclusion of -lspi.
2693 * branched for gnome-2-2/HEAD.
2694 [created tag "gnome-2-2"]
2696 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2698 * configure.in: 1.1.9 release.
2701 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2703 [needed by GOK, to fix bugs 107985 and 107988]
2704 * registryd/deviceeventcontroller.c:
2705 (spi_dec_clear_unlatch_pending):
2706 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2707 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2708 (spi_dec_init_mouse_listener):Emit warning if mouse button
2710 (spi_device_event_controller_forward_mouse_event):
2711 Removed unnecessary parens from a conditional.
2712 (global_filter_fn):Added TODO comment.
2713 (impl_generate_keyboard_event):
2714 Cancel a pending relatch if a 'delatching' key was
2717 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2719 * atk-bridge/bridge.c:
2720 Change atk_signal_child_changed to atk_signal_children_changed.
2721 Reorganize code in spi_atk_bridge_signal_listener().
2723 * test/event-listener-test.c:
2724 Add children_changed_listener and report_children_changed_event()
2725 to test AccessibleChildEvent_getChildAccessible.
2727 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2729 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2730 g_strdup to CORBA_String_dup (bug #105291)
2732 * test/event-listener-test.c (report_text_event): Add call to
2735 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2737 * registryd/deviceeventcontroller.c:
2738 (spi_keystroke_from_x_key_event):
2739 Fix string and keysym return codes to match modifier state.
2742 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2744 * registryd/deviceeventcontroller.c:
2745 (spi_keystroke_from_x_key_event):
2746 Fix segv due to improper use of isprint(c). [bug #107254]
2748 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2751 (get_accessible_text_boundary_type):
2752 Move default return value to (new) default case in switch.
2753 (get_accessible_text_clip_type):
2754 Move default return value to (new) default case in switch.
2756 * libspi/application.c:
2757 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2758 Remove unused methods.
2759 (impl_accessibility_application_register_object_event_listener):
2760 Remove unused methods.
2763 Added #include of <math.h>.
2765 * registryd/deviceeventcontroller.c:
2766 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2767 we don't currently use this method.
2768 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2770 (impl_generate_key_event):
2771 Remove unused variables.
2772 (impl_generate_mouse_event):
2773 Initialize button to zero, just in case we get an invalid
2774 input. Added support for mouse buttons 4 and 5.
2775 (spi_device_event_controller_new):
2776 Removed unused variable declaration for 'private'.
2778 Added #include of <gdk/gdk.h>
2780 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2782 * configure.in: Update to work when X is not installed in expected
2783 location. Fixes bug #105836.
2785 * atk-bridge/bridge.c
2786 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2788 (spi_atk_register_event_listener): Add signal listener for
2790 (spi_atk_bridge_signal_listener): Event event when link-selected
2791 signal is emitted. (bug #104622)
2793 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2794 on returned string. (bug #105291)
2796 * test/event-listener-test.c: Add test for link-selected.
2798 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2800 * atk-bridge/Makefile.am: Correct typo in previous commit.
2802 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2804 * atk-bridge/Makefile.am: Allow for build directory to be different
2805 from source directory
2807 * registryd/Makefile.am: Allow for build directory to be different
2808 from source directory
2812 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2815 Fixed dependencies for libcspi so that libspi gets pulled in
2816 properly. Fixes 104741.
2820 Clean up inline docs a little.
2822 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2824 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2825 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2826 the AtkObject within an SpiDesktop.
2827 This addresses bug #101524.
2829 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2830 Remove call to gdk_init().
2832 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2833 so that Display is set when SpiDesktop is created.
2835 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2837 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2838 This fixes bug #102830.
2840 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2842 * test/test-simple.c: Update to take account of fact that GailButton
2843 now implements AtkText.
2844 (create_text_window): Set name on AtkObject for GtkEntry.
2845 (validate_accessible): Check accessible name before calling test_text().
2847 * libspi/Makefile.am: Fix problem with building outside of source
2848 directory. Bug #98120.
2850 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2851 typo in documentation comments. Bug #94275.
2853 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2855 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2857 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2860 Add includes to avoid compiler warnings on Solaris.
2861 (impl_getRangeExtents): Bug fix.
2863 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2865 Fix for 100944, [API addition approved by Gman and murrayc].
2872 * idl/Accessibility_Text.idl:
2873 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2874 (Text::getRangeExtents): New method for efficient
2875 bounds query of a text range.
2876 (Text::getBoundedRanges): New method for efficient
2877 clipping of text to bounding boxes.
2878 (unImplemented7, unImplemented8):
2879 Removed these padding methods to preserve bincompat.
2882 (impl_getRangeExtents): implementation of new IDL.
2883 (impl_getBoundedRanges): implementation of new IDL.
2884 (SpiTextRect): Internal use struct.
2885 (_spi_text_rect_union): internal method, calculates union of two
2886 SpiTextRect bounding rects.
2887 (_spi_text_range_seq_from_gslist): internal method, allows us
2888 to build our sequence efficiently as a gslist then convert it
2890 (_spi_bounds_contain): internal method, determines whether
2891 a text character is "in" or "out" of a clip rect according to
2892 values of TEXT_CLIP_TYPE.
2893 (spi_text_class_init): Initialize the new methods in the epv.
2896 (AccessibleTextClipType): New enum used by screen review api.
2897 (AccessibleTextRange): New struct used by screen review api.
2898 (AccessibleText_getRangeExtents):
2899 cspi binding for Accessibility_Text_getRangeExtents.
2900 (AccessibleText_getBoundedRanges):
2901 cspi binding for Accessibility_Text_getBoundedRanges.
2902 (AccessibleTextRange_freeRanges): convenience method.
2905 (AccessibleText_getRangeExtents):
2906 cspi binding for Accessibility_Text_getRangeExtents.
2907 (AccessibleText_getBoundedRanges):
2908 cspi binding for Accessibility_Text_getBoundedRanges.
2909 (AccessibleTextRange_freeRanges): convenience method.
2910 (get_accessible_text_clip_type): internal conversion method.
2911 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2913 * registryd/deviceeventcontroller.c:
2914 (spi_dec_mouse_check):
2915 Improved behavior for mouse:abs events
2916 [same granularity as mouse:rel events, and no
2917 events when mouse is idle].
2919 2002-12-16 Michael Meeks <michael@ximian.com>
2921 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2923 * libspi/stateset.c (state_spi_to_atk): split out
2924 ( fix several remote array bounds nasties )
2925 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2926 (impl_remove): make safe from array bounds issues.
2927 (spi_atk_state_from_spi_state): impl.
2929 * libspi/stateset.h (spi_state_set_cache_is_empty):
2930 add a set of wrapper defines to get layering right.
2932 * cspi/spi_accessible.c: update state set stuff to
2935 2002-12-14 Michael Meeks <michael@ximian.com>
2937 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2938 to avoid 2 roundtrips to the registry per key event
2939 (spi_atk_bridge_key_listener): upd.
2940 (deregister_application): release the dec.
2942 * registryd/registry.c (notify_listeners_cb):
2943 bin lots of re-enterant complexity - we no longer
2944 do a round-trip bonobo ref here, ensure that a single
2945 listener's exception failure won't poison all other
2947 (impl_registry_notify_event): bin obvious memory leak.
2949 2002-12-13 Michael Meeks <michael@ximian.com>
2951 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2952 init the ev so the error is meaningful.
2953 (spi_atk_bridge_key_listener): ditto.
2955 * cspi/spi_main.c (cspi_ev): init the ev so we start
2956 with a clean slate, otherwise the first exception
2957 kills us completely.
2959 * cspi/spi_text.c (get_accessible_text_boundary_type):
2960 add a fallthrough for no warnings.
2962 * cspi/spi_registry.c: prune unused warnings.
2964 * cspi/spi_main.c (cspi_object_take): fix
2965 mind-blowing brokenness ( by watching the compile
2968 * cspi/spi_accessible.c (Accessible_getStateSet):
2969 re-impl. to use an AtkStateSet.
2970 (spi_state_type_from_accessible_state),
2971 (init_state_table): bin these.
2973 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2975 (atk_state_set_from_accessibility_state_set): here.
2977 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2978 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2979 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2980 (AccessibleStateSet_add, AccessibleStateSet_remove),
2981 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2982 (AccessibleStateSet_isEmpty): re-write to use a local
2985 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2987 * configure.in: Revved to 1.1.7 (new keymask vals).
2989 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2991 * libspi/keymasks.h:
2992 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2994 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2997 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2998 to compare two CORBA_TypeCodes.
2999 (cspi_internal_event_add): Silence warning from FORTE compiler.
3001 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
3002 avoid implicit declaration of functions.
3004 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3006 * atk-bridge/bridge.c:
3007 (spi_atk_bridge_init_event_type_consts): Store signal id for
3008 active-descendant-changed signal.
3009 (spi_atk_register_event_listeners): Add signal listener for
3010 active-descendant-changed signal,
3011 (spi_atk_bridge_signal_listener): Move code in function
3012 spi_atk-signal_emit_event() into this function.
3013 Add support for active-descendant-changed
3014 Update support for child-changed signal.
3015 (spi_bridge_window_event_listener): Silence warning.
3017 * libspi/spi_private.[ch]:
3018 (spi_init_any_object): Change second parameter from CORBA_Object to
3020 Omit call to CORBA_Object_duplicate().
3021 Set CORBA_any's _value to CORBA_Object*.
3023 2002-12-06 Bill Haneman <bill.haneman@sun.com>
3029 (AccessibleEvent_ref, AccessibleEvent_unref):
3030 New methods, for persisting an event outside the emission context.
3031 Must be used if the new accessor methods are to be called
3032 outside of the event listener's callback.
3034 * cspi/bonobo/cspi-bonobo.c:
3035 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
3036 as second parameter instead of NULL, so we can call
3037 cspi_check_ev afterwards.
3040 (cspi_object_take): New internal method,
3041 converts a CORBA_Object reference to a hard ref on
3042 an Accessible if possible, returning NULL if the object
3043 reference is invalid or an Accessible * otherwise.
3046 (AccessibleEvent_ref):
3047 Increment the event's internal private refcount, and
3048 add the event's internal struct to an internal cache
3049 if it's not already there.
3050 (AccessibleEvent_unref):
3051 Decrement the event's refcount and remove it from
3052 the cspi event cache if refcount==0.
3053 (cspi_event_compare): New private method.
3054 Compares two event structs via their ids. Used
3056 (cspi_internal_event_lookup): New private method.
3057 (cspi_internal_event_check): New private method,
3058 a 0-order sanity check for events to make sure their
3059 private data is intact.
3060 (cspi_internal_event_add, cspi_internal_event_remove):
3061 New private methods for managiing the event cache.
3063 * cspi/bonobo/cspi-bonobo-listener.c:
3065 Initialize the new private data elements (id, magic, ref_count).
3067 * atk-bridge/bridge.c:
3068 (spi_atk_bridge_signal_listener):
3069 Fixed bug #100530, passing wrong params to emission func.
3071 * registryd/deviceeventcontroller.c:
3072 (spi_dec_button_update_and_emit):
3073 Fixed type in mask bit operations; fix for #99799.
3075 2002-12-02 Bill Haneman <bill.haneman@sun.com>
3077 Removed some of the more dangerous workarounds from
3078 previous commit; they are only needed by GOK, which
3079 in reality should be using another method to accomplish
3080 the goals. So on reconsideration some of the workarounds
3081 need to be reverted:
3083 * registryd/deviceeventcontroller.c:
3084 (spi_keycodes_contain, spi_dec_init_keycode_list):
3085 Removed these methods, used only by a nasty hack to try
3086 and detect whether a key synthesis should be allowed
3087 to reset the XKB latch state or not. This code was only
3088 required to work around an interaction between GOK,
3089 button events, and XKB.
3090 (impl_generate_key_event):
3091 Removed hack at end of key generation that tried to
3092 "do the right thing" if XKB latch keys were generated
3093 in the midst of button press/release pairs.
3096 Added a check for HAVE_XINPUT. Not normally used yet.
3098 2002-11-25 Bill Haneman <bill.haneman@sun.com>
3100 Workarounds and fixes for mouse event/XKB interaction.
3102 * registryd/deviceeventcontroller.c:
3103 (spi_keycodes_contain, spi_dec_init_keycode_list):
3104 New internal methods.
3105 (spi_dec_set_unlatch_pending):
3106 Split the method that tells XKB to expect an
3107 unlatch (and revert it) out of the rest of the
3108 event handling code. This method is called by the
3109 two mouse event handlers (the poll and the filter).
3110 (spi_dec_update_and_emit, spi_dec_mouse_check):
3111 New methods split from spi_dec_poll_mouse_moved.
3112 The second one is now called from inside the filterFn
3113 when an XKB delatch event is received, to determine
3114 whether to revert the delatch or not.
3115 (spi_poll_mouse_moved): Refactor; also we can now
3116 properly handle the case where multiple button states
3117 have changed between polling cycles and we didn't get
3118 notified due to another client's grab.
3120 Synchronize the server while handling an XKB notification.
3121 Ugly, but apparently necessary to avoid nasty races.
3122 Check the mouse state on receipt of an XKB latch change,
3123 to decide whether to revert the latch or not. (Latches are
3124 reverted if there is an immediately preceding mouse button
3125 event that a client has consumed, in which case we don't want
3126 the user to see the side-effect of the event).
3127 (spi_device_event_controller_forward_mouse_event):
3128 Check for modifier events and fire before resetting mouse_mask_state,
3129 prevents losing modifier events.
3131 (impl_generate_keyboard_event):
3132 If we've just generated a keyboard event for a non-shift key,
3133 we don't want to revert the pending XKB latch.
3134 Otherwise, check the modifier state (via a call to
3135 spi_dev_mouse_check) and set the relatch mask to
3136 that state before returning.
3138 2002-11-24 Bill Haneman <bill.haneman@sun.com>
3141 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
3144 * atk-bridge/bridge.c:
3145 (spi_atk_register_event_listeners):
3146 Don't re-register for ATK events if the registry has died
3147 and the app needs to re-register; the ATK listeners are in
3148 process and doing so will cause duplicate emission.
3150 * registryd/deviceeventcontroller.c:
3151 (spi_poll_mouse_moved):
3152 Reformat the source, detect and emit multiple button-change
3153 events (i.e. if multiple buttons have changed between poll
3155 Add code to detect mouse-down events even when the pointer
3156 is grabbed; workaround for GOK bug 98420.
3157 (spi_controller_register_with_devices):
3158 Call XTestGrabControl with 'impervious' flag set to True,
3159 allows us to synthesize events and query the pointer even during
3160 an active grab by another client.
3161 (spi_device_event_controller_forward_mouse_event):
3162 Set the mouse_mask_state to the mouse_button_state from
3163 the intercepted event, to synchronize the grab listener with
3166 2002-11-20 Bill Haneman <bill.haneman@sun.com>
3168 * cspi/spi_accessible.c:
3169 (AccessibleRole_getName):
3170 Added necessary strings for making this (deprecated)
3171 method work with the new role types.
3172 (init_role_table, role_table):
3173 Added definition of SPI_ROLE_APPLICATION.
3175 * libspi/spi-roletypes.h:
3176 Added SPI_ROLE_APPLICATION.
3178 * idl/Accessibility_Role.idl:
3179 Added ROLE_APPLICATION.
3181 * docs/reference/cspi/at-spi-cspi-decl.txt:
3182 Added SPI_ROLE_APPLICATION to docs.
3184 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
3186 * cspi/spi_accessible.c
3187 (cspi_init_role_table): Do not write beyond end of role_table.
3188 (Accessible_getRole): Use correct type for value returned by
3189 Accessibility_Accessible_getRole().
3191 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
3192 beyond end of role_table. (This fixes bug #98269)
3194 * libspi/application.c: Add include file spi-private.h for
3195 definition of spi_init_any_nil.
3197 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3201 * libspi/spi-private.h:
3202 Added DGB() macro, and extern int _dbg declaration.
3204 * registryd/registry.c:
3205 (definitions) storage for _dbg.
3206 (spi_registry_init):
3207 Get environment variable "AT_SPI_DEBUG".
3208 (spi_registry_set_debug):
3209 New method, to initialize _dbg value.
3210 (spi_listener_struct_new, spi_registry_object_finalize):
3211 (notify_listeners_cb):
3212 Changed fprintfs to use DBG and g_warning().
3214 * registryd/deviceeventcontroller.c:
3215 (_deregister_keygrab, spi_controller_register_device_listener):
3216 Changed debug/warning messages to use DBG macro.
3218 * libspi/listener.c:
3219 (impl_notify_event):
3220 Changed warning messages to use DBG macro and g_warning().
3222 * atk-bridge/bridge.c:
3223 (atk_bridge_init, spi_atk_bridge_get_registry):
3224 (spi_atk_bridge_exit_func):
3225 (spi_atk_bridge_property_event_listener):
3226 Changed status, warning, and error messages to use
3227 g_warning, g_message, and DBG macros.
3230 Read the state of the AT_SPI_DEBUG environment variable
3231 and set a local '_dbg' accordingly.
3233 2002-11-19 Bill Haneman <bill.haneman@sun.com>
3235 FIXES for 98836, 98842, other bugs.
3238 Revved to 1.1.4, interface-age=4, binary-age=4.
3240 * registryd/deviceeventcontroller.c:
3242 Fixed crasher bug in last_mouse_pos initialization.
3244 * registryd/registry.c:
3245 (desktop_add_application, desktop_remove_application):
3246 Added (and then commented out) some support for
3247 object context marshalling. [TODO]
3249 * atk-bridge/bridge.c:
3250 (spi_atk_bridge_event_context_create):
3251 Commented out object context creation until it can
3252 be properly tested and debugged.
3254 * registryd/registry.c:
3255 (impl_registry_notify_event):
3256 Fixed crasher bug, we were calling
3257 spi_re_entrant_list_foreach () with an empty list.
3259 2002-11-18 Bill Haneman <bill.haneman@sun.com>
3261 * idl/Accessibility_Action.idl:
3262 * idl/Accessibility_Component.idl:
3263 * idl/Accessibility_Desktop.idl:
3264 * idl/Accessibility_Event.idl:
3265 * idl/Accessibility_Hyperlink.idl:
3266 * idl/Accessibility_Image.idl:
3267 * idl/Accessibility_Relation.idl:
3268 * idl/Accessibility_Selection.idl:
3269 * idl/Accessibility_State.idl:
3270 * idl/Accessibility_Value.idl:
3271 Updated unimplemented slot count to minimum of
3272 four for all interfaces, for ABI freeze.
3274 * idl/Accessibility_EditableText.idl:
3275 * idl/Accessibility_Text.idl:
3276 Updated unimplemented slot count to six
3279 * idl/Accessibility_Registry.idl:
3280 Updated unimplemented slot count to six
3281 (also for DeviceEventController),
3284 * idl/Accessibility_Table.idl:
3285 Updated unimplemented slot count to eight,
3288 * idl/Accessibility_Event.idl:
3289 Added CORBA_any "any_data" member to Event struct.
3291 * idl/Accessibility_Event.idl:
3292 Added CORBA_any "any_data" member to Event struct.
3294 * atk-bridge/bridge.c:
3296 atk_signal_text_changed, atk_signal_child_changed,
3297 signal ids queried from gtype system.
3298 (AtkBridgeEventContextType): New enum.
3299 (AtkBridgeEventContextData): New struct.
3300 (AtkBridgeEventContext): New struct.
3301 (atk_bridge_init_event_type_consts):
3302 New method, initializes type contants for comparison
3303 prior to emit_eventv.
3304 (atk_bridge_event_context_init): New method,
3305 initializes a CORBA_any from an AtkBridgeEventContext.
3306 (atk_bridge_focus_tracker): Call spi_init_any_nil to
3307 initialize the event.any_data struct.
3308 (spi_atk_bridge_event_context_create): New method,
3309 creates an AtkBridgeEventContext from signal/event info.
3310 (spi_atk_bridge_event_context_free): New method.
3311 (spi_atk_emit_eventv): Changed to take an
3312 AtkBridgeEventContext parameter. We now initialize
3313 the event.any_data member prior to notifying the
3314 Registry, via the AtkBridgeEventContext.
3315 (spi_atk_bridge_property_event_listener):
3316 (spi_atk_bridge_state_event_listener):
3317 Match emit_eventv signature.
3318 (spi_atk_bridge_object_event_listener):
3319 Match emit_eventv signature, and create an
3320 event context from the event details.
3321 Free the event context afterwards.
3322 (spi_atk_bridge_window_event_listener):
3323 Create an event context, pass it to the
3327 (AccessibleEvent_getContextString):
3328 (AccessibleEvent_getContextObject):
3329 New methods, allow query of AccessibleEvent objects
3330 for more context details (via the "any_data" member
3331 of the Event struct, above).
3334 Definitions for AccessibleEvent_getContextString
3335 and AccessibleEvent_getContextObject.
3337 * cspi/spi_listener.h:
3338 (InternalEvent): New struct.
3341 (AccessibleEvent_getContextString):
3342 (AccessibleEvent_getContextObject):
3343 Implementations of new methods, for obtaining
3344 additional context information from some event types.
3346 * cspi/spi_registry.c:
3347 (SPI_registerGlobalEventListener):
3348 Added mention of active-descendant-changed event in docs.
3350 * cspi/cspi-bonobo-listener.c:
3352 Marshal the any into the AccessibleEvent via
3355 * libspi/spi-private.h:
3356 #include <orbit/orbit.h>
3358 (spi_init_any_string):
3359 (spi_init_any_object):
3360 New convenience function declarations.
3364 (spi_init_any_string):
3365 (spi_init_any_object):
3366 New convenience function implementations.
3368 * registryd/deviceeventcontroller.c:
3369 (spi_poll_dec_mouse_moved):
3370 (spi_device_event_controller_forward_mous_event):
3371 Initialize any_data member of event.
3372 (spi_deregister_controller_device_listener):
3373 Fix incorrect param pass which was preventing deregistration.
3375 * registryd/registry.c:
3376 (desktop_add_application):
3377 (desktop_remove_application):
3378 Add object data to event's any_data before dispatch.
3380 Fix for error messages from GAIL.
3382 * test/event-listener-test.c:
3383 Test new ContextString and "any_data" API:
3384 (report_text_event): New method query and output context string.
3385 (main): register a new text listener with report_text_event
3388 2002-11-19 Darren Kenny <darren.kenny@sun.com>
3390 Fixes for bugs 98127 and 97914.
3391 * cspi/spi-roletypes.h:
3392 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
3394 * cspi/spi-statetypes.h:
3395 Added SPI_STATE_MANAGES_DESCENDANTS
3397 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
3398 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
3399 * cspi/spi_accessible.c:
3400 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
3401 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
3402 Accessibility_STATE_MANAGES_DESCENDANTS
3403 * libspi/accessible.c:
3404 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
3405 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
3406 As requested by Bill, I also cleaned up the alignment.
3407 * libspi/relation.c:
3408 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
3409 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
3410 * libspi/stateset.c:
3411 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
3412 Accessibility_STATE_MANAGES_DESCENDANTS
3413 * docs/reference/cspi/tmpl/spi_accessible.sgml:
3414 Document changes reflecting modifications to roles.
3415 * docs/reference/cspi/tmpl/spi_relation.sgml:
3416 Document changes reflecting modifications to relations.
3417 * docs/reference/cspi/tmpl/spi_stateset.sgml:
3418 Document changes reflecting modifications to states.
3420 2002-11-17 Bill Haneman <bill.haneman@sun.com>
3423 Revved to 1.1.3, interface-age=3, binary-age=3.
3424 Added REBUILD macro.
3427 Removed accessx-gui from the tests, since we have a nice
3428 keyboard accessibility capplet now :-)
3430 * test/keysynth-demo.c:
3431 (increment_scan): removed do-nothing default: case,
3434 * test/visual-bell.c:
3435 (main) : removed do-nothing default: case,
3438 * cspi/spi_action.c:
3439 (AccessibleAction_getKeyBinding_):
3440 Documented keybinding string format.
3444 (AccessibleText_getAttributes):
3445 Documented the text attribute string format.
3446 It's changed to use semicolon delimiters also,
3447 to prevent clashes with CSS attributes, but the old
3448 trick of looking for ", " strings will still work
3449 (as unreliably as ever). Fix for bug related to 97916.
3452 Include <cspi/bonobo/cspi-bonobo-listener.h>
3453 Fixes build warning.
3454 (SPI_freeAccessibleKeySet):
3455 (AccessibleKeystrokeListener_addCallback):
3456 (AccessibleKeystrokeListener_removeCallback):
3457 Modify to use AccessibleDeviceListener API internally,
3458 instead of AccessibleKeystrokeListener.
3460 * idl/Accessibility_Event.idl:
3461 Added two more empty slots to EventListener (for a total of four).
3463 * idl/Accessibility_Accessible.idl:
3464 Added four empty slots to Accessible interface.
3466 2002-11-15 Bill Haneman <bill.haneman@sun.com>
3468 * idl/Accessibility_Registry.idl:
3469 (KeyEventType, EventType):
3470 Marked KeyEventType as deprecated; it duplicates
3471 functionality of EventType, which has been extended to
3472 include Mouse-button events.
3473 (KeyEventTypeSeq): defined in terms of EventType.
3474 (registerDeviceEventListener, deregisterDeviceEventListener):
3475 New methods, for managing listeners to device events,
3476 which potentially may consume them.
3479 Added definition for AccessibleDeviceListener.
3481 * cspi/spi-listener.h:
3482 (enum AccessibleDeviceEventType):
3483 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
3484 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
3485 for backwards compat.
3486 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
3487 and typedef'd AccessibleKeystroke to it for back-compat.
3488 (AccessibleDeviceListenerCB):
3489 New function prototype typedef.
3492 (AccessibleDeviceEventMask): New typedef.
3493 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
3494 (AccessibleKeyMaskType):
3495 Set equivalent to AccessibleModifierMaskType for back-compat.
3496 (SPI_createAccessibleKeystrokeListener):
3497 (AccessibleKeystrokeListener_unref):
3498 Deprecated in favor of equivalent (better-named) new API below..
3499 keystroke listeners are like all device listeners.
3500 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
3501 New API names for old features :-).
3502 (AccessibleDeviceListener_addCallback):
3503 (AccessibleDeviceListener_removeCallback):
3504 (SPI_registerDeviceEventListener):
3505 (SPI_deregisterDeviceEventListener):
3509 (SPI_createAccessibleKeystrokeListener):
3510 Use new preferred API, cspi_device_listener_new() and
3511 cspi_device_listener_add_cb().
3512 (AccessibleKeystrokeListener_removeCallback):
3513 Use new preferred API, cspi_device_listener_remove_cb().
3514 (AccessibleKeystrokeListener_unref):
3515 Use new preferred API, cspi_device_listener_unref().
3516 (SPI_createAccessibleDeviceListener):
3517 (AccessibleDeviceListener_addCallback):
3518 (AccessibleDeviceListener_removeCallback):
3519 Implementation of new API.
3521 * cspi/spi_registry.c:
3522 (SPI_registerDeviceEventListener):
3523 (SPI_deregisterDeviceEventListener):
3524 Implementation of new API. Fixed memory leak and removed need to
3525 allocate EventTypeSeq (thanks Michael for catching this).
3526 Squashed a wayward CORBA_exception_free that shouldn't get called.
3528 * cspi/bonobo/cspi-bonobo-listener.c:
3530 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
3531 (cspi_key_event): renamed to cspi_device_event().
3532 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
3533 Extended to handle mouse button events as well as key events.
3534 (CSpiKeystrokeListener):
3535 Class superceded by CSpiDeviceListener.
3536 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3537 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3539 * cspi/bonobo/cspi-bonobo-listener.h:
3540 (CSpiKeystrokeListener):
3541 Class superceded by CSpiDeviceListener.
3542 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
3543 These internal APIs changed to "*device_listener" from "*keystroke_listener".
3545 * libspi/Makefile.am:
3546 Replaced keystrokelistener.h and keystrokelistener.c
3547 with devicelistener.h and devicelistener.c; keystrokelisener.h
3548 stub retained for back-compat.
3550 * libspi/keystrokelistener.c:
3554 Replaced inclusion of keystrokelistener.h with devicelistener.h.
3556 * registryd/deviceeventcontroller.c:
3557 (DEControllerListener): Added Accessibility_EventTypeSeq member.
3558 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
3559 (DEControllerPrivateData): Added xkb settings data.
3560 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
3561 button release events (which can't be captured via XGrabButton).
3562 Don't dispatch via the 'normal' event mechanism if the device event was
3564 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
3565 Handle the typeseq data in its new location (see above).
3566 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
3567 New methods, for "generic" device listeners.
3568 (spi_controller_register_device_listener):
3569 Now handle mouse event listeners as well as key listeners.
3570 (spi_controller_notify_mouselisteners):
3571 New internal method.
3572 (spi_device_event_controller_forward_mouse_event):
3573 Now we notify mouse device listeners as well as generating the
3574 non-consumable "mouse:" events.
3576 We must check and restore the XKB
3577 modifier map if we consume the event, since the act of triggering
3578 a mouse event will normally reset the XKB latch. This is required for
3580 (spi_controller_register_with_devices):
3581 Load the XKB settings when registering, and register for XKB
3582 state notify events.
3583 (spi_key_eventtype_seq_contains_event):
3584 Renamed spi_eventtype_seq_contains_event, since it's used
3585 internally for all device event types now.
3586 (spi_key_event_matches_listener):
3587 Uses spi_eventtype_seq_contains_event now.
3588 (spi_device_event_controller_object_finalize):
3589 Free the private data and the XkbKeyboard struct.
3590 (impl_register_device_listener, impl_deregister_device_listener):
3591 Implementation of new IDL.
3592 (spi_deregister_controller_device_listener):
3593 New internal method.
3594 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
3595 More efficient implementation, we don't have to create a new
3596 XkbControls structure every time we query.
3597 (spi_device_event_controller_class_init):
3598 Initialize the epv entries for the new IDL. Assign the
3599 "spi-dec-private" quark.
3600 (spi_device_event_controller_init):
3601 Initialize the private data.
3602 (spi_device_event_controller_forward_key_event):
3603 Removed a bogus CORBA_exception_free() call.
3605 * registryd/deviceeventcontroller.h:
3606 Replaced inclusion of keystrokelistener.h with
3609 * test/event-listener-test.c:
3610 (report_mouse_event):
3613 Added mouse-event device listener.
3615 * test/test-simple.c:
3616 (create_test_window):
3617 Fixed regression (we were instantiating a GtkRange,
3618 which is now an abstract class). Also fixed to match
3619 existing AtkRole names, this seems to have changed in ATK
3620 awhile ago; too late now I think, and the new
3621 mechanism is at least elegant and consistent with the
3622 glib enum "nick" APIs.
3624 2002-11-15 Darren Kenny <darren.kenny@sun.com>
3626 * idl/Accessibility_Relation.idl:
3627 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
3628 RELATION_EMBEDS,RELATION_EMBEDDED_BY
3629 * idl/Accessibility_Role.idl:
3630 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
3631 * idl/Accessibility_State.idl:
3632 add STATE_MANAGES_DESCENDANTS
3633 * test/event-listener-test.c:
3634 Added a listener for active-descendant events.
3636 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
3638 * atk-bridge/bridge.c
3639 (atk_bridge_init): If application is Bonobo component wait until top
3640 level is added before registering
3641 (spi_atk_bridge_do_registration): New function which contains code,
3642 formerly in atk_bridge_init, to do application registration.
3643 (spi_atk_bridge_toplevel_added): Signal called when top level
3644 added to Bonobo component
3646 This fixes bug #83134.
3648 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
3650 * registryd/deviceeventcontroller.c
3651 Fixed compilation error caused by calling gettimeofday()
3654 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3659 Added template for HAVE_XKB.
3662 Changes to check for XKB, and to set the HAVE_XKB #define if it
3665 * libspi/listener.c:
3666 ()impl_notify_event): Make failure to get event source name
3669 * registryd/deviceeventcontroller.c:
3670 (#include): include X11/XKBlib.h.
3671 (DEControllerPrivateData) : New struct.
3672 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3674 (dec_synth_keycode_press) (dec_synth_keycode_release):
3675 New methods; split the key synthesis code into these methods.
3676 They check XKB settings before determining the "time" values to
3677 pass to Xtest; this fixes bug #95828.
3678 (impl_generate_keyboard_event): Changed to use methods above,
3679 instead of callng Xtest directly.
3680 (spi_device_event_controller_init): Initialize new privae struct s
3682 (spi_device_event_controllr_object_finalize):
3683 Free the (new) private data.
3685 * registryd/deviceeventcontroller.h:
3686 Add new gpointer to end of struct data.
3688 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3691 Incremented revision to 1.1.2, SONAME is still '.so', library
3692 extensions are ".so.0.0.2".
3694 * registryd/deviceeventcontroller.c:
3695 FIXES FOR #93592 and #95940.
3696 (statics): renamed mouse_button_state to mouse_mask_state,
3697 added key_modifier_mask.
3698 (spi_dec_poll_mouse_moved):
3699 Added key modifier checks, and emit "keyboard:modifiers"
3700 events when the key modifiers currently in use change.
3701 Also generate "mouse:abs" events periodically, even if the mouse
3702 is stationary (should we?).
3703 Alternatively we could generate "mouse:abs" events for either all
3704 mouse movements, or every 'nth' mouse movement, or at the
3705 beginning and end of every "active" mouse period.
3707 * test/event-listener-test.c:
3708 (main): Added listener for "keyboard:modifiers" events.
3710 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3712 * libspi/keymasks.h:
3713 Added key mask #defines for mouse buttons; e.g.
3714 SPI_KEYMASK_BUTTON1, etc.
3717 Incremented dependency on ATK to version 1.1.0. (This dependency
3718 is probably premature but will soon be real enough).
3720 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3722 * libspi/hyperlink.[ch]
3723 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3724 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3727 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3732 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3734 * registryd/deviceeventcontroller.c
3735 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3736 events to be ignored.
3737 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3738 keyboard_mode so that XAllowEvents() can be called.
3742 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3744 * cspi/spi-accessible.c: Correct names of roles returned by
3745 AccessibleRole_getName(). Fixes bug #95055.
3747 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3749 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3752 * registryd/registry.c
3753 (desktop_remove_application: Write diagnostic message to stderr for
3756 (impl_accessibility_registry_deregister_global_event_listener):
3757 Correct size of lists array. This addresses bug #94555).
3759 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3761 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3764 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3766 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3769 * registryd/registry.c (impl_registry_notify_event): Remove
3770 unnecessary call to parser_event_type().
3772 * docs/reference/cspi/tmpl/spi_component.sgml:
3773 Add reference to SPI_LAYER_WINDOW.
3775 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3777 * registryd/registry.c
3778 (desktop_add_application): Remove leak.
3779 (desktop_remove_application): Remove leak.
3780 (parser_event_type): Remove leak.
3782 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3784 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3785 bogus call to CORBA_string_dup(). Also removed unnecessary
3786 g_string_dup/g_free calls.
3788 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3790 * registryd/deviceeventcontroller.c:
3791 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3793 * test/event-listener-test.c:
3794 main: commented out three redundant listeners, to reduce output
3795 noise. (They still are potentially useful for testing).
3798 2002-09-13 Michael Meeks <michael@ximian.com>
3800 * Update all the copyrights to include Ximian.
3802 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3804 * cspi/spi.h: add SPI_LAYER_WINDOW.
3806 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3807 add Accessibility_LAYER_WINDOW case.
3809 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3811 * libspi/component.c: (impl_accessibility_component_get_layer):
3812 add ATK_LAYER_WINDOW case.
3814 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3816 * configure.in: incremented micro version.
3818 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3820 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3823 Clarified and reworded our commit policy.
3826 Started an API "todo" addition list for 2.2.
3829 (impl_getSelection):
3830 Free char pointer from atk_text_get_selection, which was being leaked.
3832 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3835 Small revision to author acknowledgement.
3837 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3839 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3840 If signal has detail add it to the type of the event.
3843 2002-08-12 Michael Meeks <michael@ximian.com>
3845 * test/test-simple.c (global_listener_cb): bin bogosity.
3846 (test_keylisteners): disable, still doesn't work reliably,
3847 certainly not on my system anyway.
3849 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3850 don't leak a reference on the DEC. This round-trip
3851 fetching of the DEC per keystroke sucks, it should be
3854 * cspi/spi-private.h,
3855 * cspi/cspi-lowlevel.h,
3856 * cspi/bonobo/cspi-bonobo-listener.[ch],
3857 * cspi/bonobo/cspi-bonobo.c: get the copyright
3858 notices better - there is still a large amount of
3859 work in at-spi falsely attributed solely to Sun.
3861 * cspi/spi_main.c (cspi_object_ref): kill bogus
3862 hash lookup, just increment the ref.
3863 (SPI_freeString): make explicit the fact that we
3864 handle NULL strings just fine.
3865 (report_leaked_ref): obey coding standards.
3866 (cspi_object_hash, cspi_object_equal): kill retval.
3867 (cspi_object_release): only release if not on loan.
3868 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3869 (cspi_object_borrow, cspi_object_return): impl.
3871 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3872 use cspi_object_borrow / return.
3874 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3876 * cspi/bonobo/cspi-bonobo-listener.c:
3878 Don't call cspi_oject_new() because this is creating a new Accessible
3879 every single time that an event is fired. This causes ATs like at-poke
3880 to nolonger recognise the source of the event and thus ignore it.
3881 Re-use the object from the cache, ref it and then unref it after the
3882 listeners have been called.
3884 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3886 * test/event-listener-test.c:
3887 Added command-line options to disable mouse events (m) and
3890 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3892 * configure.in: Update required versions of ATK, GTK+ and GAIL
3894 * cspi-1.0.pc.in: Add dependency for X include files
3897 * cspi/bonobo/Makefile.am:
3898 Add $(X_CFLAGS) so that X include files
3899 are picked up even if not in standard place (bug #71686)
3901 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3903 * registryd/deviceeventcontroller.c: fix for 84261
3904 (spi_dec_mouse_moved):
3905 Added test of mouse button mask, so that we can detect mouse
3906 button release. Unfortunately we can't otherwise detect mouse
3907 button release events without consuming the mouse press event,
3908 because of the way XGrabButton works. This means that our mouse
3909 release events have a latency dependent on the polling period
3910 while the mouse button is down. At least in this case we only
3911 have to poll while the button is down, and not at other times.
3912 If the button masks don't match with what the last press event
3913 reported, we report the appropriate button release event.
3914 (spi_dec_ungrab_mouse):
3915 New method (not yet called).
3916 (spi_device_event_controller_forward_mouse_event):
3917 New method, sends mouse press event from GdkFilter.
3918 (spi_dec_init_mouse_listener):
3919 Added code to call XGrabButton, redirecting mouse button events to
3920 the root window and our Gdk event loop.
3922 Added code to filter mouse button events, and reordered.
3924 * test/event-listener-test.c:
3926 Added registration for mouse events of type "mouse:button".
3928 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3930 * registryd/deviceeventcontroller.c: partial fix for 84261
3931 (spi_dec_poll_mouse_idle):
3932 New method, a timeout which checks to see if the mouse
3934 (spi_dec_poll_mouse_moving):
3935 A timeout to be called when mouse motion is underway.
3936 (spi_dec_poll_mouse_moved):
3937 A method which fires an event if the mouse has moved, and reports
3938 whether or not it did so.
3939 (spi_dec_init_mouse_listener):
3940 A method which sets up the timeouts above.
3941 (spi_device_event_controller_new):
3942 Now calls spi_dec_init_mouse_listener.
3944 * registryd/registry.c:
3945 (spi_registry_init):
3946 Now we initialize the device event controller when the registry is
3947 initialized, instead of waiting until a client has requested a key
3948 event notification; this is because we need the event controller
3949 for mouse events, but the mouse event registration API is a
3950 "registry" call and doesn't explicitly call the
3951 deviceeventcontroller.
3952 We now report mouse motion events with a 100 ms idle latency and
3953 a 20 ms granularity when motion is in progress.
3955 * test/event-listener-test.c:
3957 We now register the "detail listener" for events of type
3958 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3959 delivered only for the first mouse event received, and thereafter
3960 "mouse:abs" events are delivered.)
3962 * cspi/spi_registry.c:
3963 DOCS: Documented the above mouse event typestrings.
3965 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3967 Happy Summer Solstice...
3969 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3970 (spi_controller_notify_keylisteners):
3971 Changes to remove a listener from the listener list, freeing its
3972 open keygrabs, if a notification to that listener fails. This
3973 means that although a dead listener can continue to hold a passive
3974 keygrab, a maximum of one dispatch to such a listener can fail
3975 before the listener is removed from the list, thus the keygrab
3976 will be released on the next occurrence.
3977 As part of this fix:
3978 (spi_notify_keylisteners):
3979 Renamed to spi_controller_notify_keylisteners, as the controller
3980 instance must now be passed as an argument.
3981 The copied 'notify' GList is now a list of DEControllerKeyListener
3982 objects, since we need more than just the CORBA reference if a
3983 notify fails and we need to deregister the listener.
3984 (impl_notify_listeners_sync):
3985 (impl_notify_listeners_async):
3986 (spi_device_event_controller_forward_key_event):
3987 Modify use of notify_keylisteners in accordance with above
3989 (spi_deregister_controller_key_listener):
3990 New method introduced by refactoring, from
3991 impl_deregister_keystroke_listener.
3992 (impl_deregister_keystroke_listener):
3993 Call spi_deregister_controller_key_listener.
3994 (spi_key_listener_clone):
3995 New method to copy a key listner without doing a 'ref' on the
3996 remote object instance; used to create a notifier list.
3997 (spi_key_listener_data_free):
3998 New method, frees data without unreffing the source.
4000 (spi_key_listener_clone_free): new method.
4001 (spi_key_listener_free):
4002 refactored to call spi_key_listener_data_free.
4004 2002-06-20 Bill Haneman <bill.haneman@sun.com>
4006 * registryd/registry.c: [fix for bug 86048]
4007 (notify_listeners_cb):
4008 Clear CORBA system exceptions which occur when notifying
4009 listeners, before returning to the source of the original event,
4010 since the event source doesn't care if the relayed notify failed.
4011 In other words, don't complain to the atk-bridge if the registry
4012 could not notify all its listeners, that's no fault of the
4013 application and thus should not appear to be an error from the
4014 application's perspective.
4016 * cspi/spi_main.c: [fix for bug 85980]
4018 Replaced use of bonobo_object_dup_ref with call to the wrapper
4019 method, csou_dup_ref (); this silences a compiler warning and
4020 provided more portability.
4022 Ping the registry before return, and restart if necessary.
4024 * cspi/bonobo/cspi-bonobo.c:
4026 New internal method.
4028 Fixed this method to return an object reference, as it should have
4031 * cspi/cspi-lowlevel.h:
4032 Added internal definition for cspi_ping() and fixed
4033 return type of cspi_dup_ref().
4036 2002-06-19 Bill Haneman <bill.haneman@sun.com>
4038 * atk-bridge/bridge.c: [fix for bug 85305]
4039 (spi_atk_bridge_register_application):
4040 New method where the initial application registry calls have been
4041 moved; it allows an application to re-register in response to
4042 certain error conditions (such as a registry restart, see below).
4044 Moved some initialization code to the method
4045 spi_atk_bridge_get_registry, below.
4046 (spi_atk_bridge_get_registry):
4047 New, private accessor function for the Accessibility_Registry
4048 instance. If the registry has not been started before, or has
4049 died (as detected by failure of a CORBA exception), it is
4050 restarted before return, and spi_atk_bridge_register_application
4051 is called again to register with the new bridge instance.
4052 (spi_atk_emit_eventv):
4053 Set registry_died on error; use spi_atk_bridge_get_registry () to
4054 access the registry.
4056 * registryd/registry.c:
4057 (impl_accessibility_registry_register_global_event_listener):
4058 Set listener's event_type_quark to etype.minor instead of
4059 etype.major (fix for bug 84856).
4061 * test/event-listener-test.c:
4062 (report_detail_event):
4063 Change the output string so that user/tester can tell that the
4064 'detail listener' was called instead of the 'generic listener'.
4066 2002-06-18 Bill Haneman <bill.haneman@sun.com>
4068 Fixes for bugs 84900, 84908, 84897, 84898.
4073 Revved version to 1.1.0
4074 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
4075 version is going to HEAD which will be used for gnome-2-0-1 and later.)
4077 * idl/Accessibility_Registry.idl:
4078 (EventListener::notifyEvent):
4079 Removed 'oneway' directive after extensive consulation with
4080 ORBit2 team and others. This means also that unref() of the event
4081 source can and should be done synchronously after emission, rather
4082 than remotely in the client, after servicing the notify call on
4085 NOTE: This change speeds up listener performance considerably, but
4086 introduces new latency on the application side. We may want to
4087 add an event queue to the atk-bridge.
4089 * atk-bridge/bridge.c:
4090 (spi_atk_bridge_focus_tracker):
4091 Do a local unref() on the event source after emission.
4093 * registryd/registry.c:
4094 (desktop_remove_application):
4095 Do an unref() on the event source after emission.
4096 (desktop_add_application):
4097 Do an unref() on the event source after emission.
4098 (notify_listeners_cb):
4099 When relaying an event, don't automatically add the event source
4100 to the local object cache, just CORBA_dup it instead. Likewise,
4101 if this method reenters, release the ref rather than calling
4103 (impl_registry_notify_event):
4104 No longer call remote unref() on the event source after dispatch.
4106 * libspi/eventlistener.c:
4107 (impl_accessible_event_notify_event):
4108 Removed remote unref ()
4110 * cspi/bonobo/cspi-bonobo-listener.c:
4112 We now call cspi_object_new() instead of cspi_object_add() on
4113 receipt of an event; thus we only have an implicit object ref
4114 while the cspi_event method is being executed. If we need to keep
4115 a reference to the object, the listener must call ref() on the
4116 object. Thus also we don't need to call cspi_object_unref() after
4117 invoking the listener callbacks in this method.
4121 New internal API for creating a new cspi object, without adding it
4122 to the object cache.
4124 Now uses cspi_object_new() to create the cspi object instance.
4126 Now checks to see if the object is in the internal object cache,
4127 and adds it if necessary before incrementing its refcount (note
4128 that new objects are added with a refcount of 1).
4129 (report_leaked_ref):
4130 New method which gives some information on leaked object instances
4131 if leak detection is turned on.
4133 * test/event-listener-test.c:
4134 (timing_test_event):
4135 New method, used for testing event delivery timing for special
4136 events of type "object:test". It reports elapsed time and
4137 events/sec every 500 events.
4139 Added a new listener, 'test listener', to check timing of event
4140 receipt as noted above.
4142 Added some timing output here also, reports elapsed time every 100
4145 * test/stress-test.c:
4146 Emit events of type "object:test", for use with "event-listener-test".
4148 * test/test-simple.c:
4149 (global_listener_cb):
4150 Call Accessible_ref() on the event source before calling
4151 validate_accessible, since the validation process does pointer
4152 comparisons on the event source, meaning that the event source
4153 needs to be added to the local object cache first. Any use of
4154 such pointer comparisons between Accessible objects requires that
4155 the caller hold an explicit reference to those objects.
4156 We also must therefore call Accessible_unref() when leaving this method.
4158 2002-06-13 Bill Haneman <bill.haneman@sun.com>
4160 * registryd/deviceeventcontroller.c:
4161 (spi_controller_update_key_grabs):
4162 Fix for #84735, subsequent keygrab listeners not informed of
4163 registration failure.
4166 (spi_base_construct):
4167 Add an assertion on construct, to make sure the GObject passed in
4168 is really a GObject.
4170 Explicitly initialize object->gobj pointer to NULL;
4172 * cspi/bonobo/cspi-bonobo-listener.c:
4173 (cspi_object_add_ref):
4174 New method, can specify whether to dup-ref a bonobo object passed
4175 in if it's newly added to the object cache.
4177 Now calls cspi_object_add_ref with second param of "FALSE". This
4178 prevents us from doing a pointless dup-ref followed by
4179 release-unref for all those cases where the object is already in
4180 our object cache (fix for #85205).
4182 * atk-bridge/bridge.c:
4183 (spi_atk_bridge_idle_init):
4184 Removed this method, we don't need to initialize in an idle
4187 Changed to call spi_atk_register_event_listeners directly, not via an
4188 idle handler. (fix for #81139)
4189 (gnome_accessibility_module_shutdown):
4190 Removed conditional around deregistration of listeners, since we
4191 don't use the idle handler and thus have always registered when
4193 (spi_init_keystroke_from_atk_key_event):
4194 Changed references to Accessibility_KEY_PRESSED to
4195 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
4197 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4199 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
4204 * test/stress-test.c:
4207 (may have been an incomplete commit yesterday?)
4209 2002-06-12 Bill Haneman <bill.haneman@sun.com>
4212 Added target for new stress-test.
4214 * test/stress-test.c:
4215 New test, sends 1000 focus notifies in quick succession.
4217 * test/key-listener-test.c:
4218 Now we report whether a keylistener registration
4219 request succeeded or failed.
4221 * test/event-listener-test.c:
4222 Uncommented some listeners which are now implemented.
4225 2002-06-06 Bill Haneman <bill.haneman@sun.com>
4227 * registryd/deviceeventcontroller.c:
4228 (spi_controller_update_key_grabs):
4229 Fix for #82509, lack of failure notification when
4230 ALL_WINDOWS keygrabs fail due to XGrabKey
4231 failure: we synchronize the server when
4232 registering a passive grab, to make sure we get the
4233 error message before the call returns.
4235 2002-06-03 Bill Haneman <bill.haneman@sun.com>
4237 * test/test-simple.c:
4239 Removed #ifdef KEY_IMPL_WORKS guards.
4240 (test_keylisteners):
4241 Removed #ifdef KEY_IMPL_WORKS guards.
4242 Fixed bug which was causing a hang waiting for a
4243 "press" event (which was already overwritten by a "release"
4244 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
4246 Added code to set globals 'key_press_received' and
4247 'key_release_received'.
4250 Added section "1.1 API Proposed Additions" which
4251 lists API additions desired for at-spi-1.1 (only one so far).
4252 Updated TODO list a little.
4254 2002-06-02 Bill Haneman <bill.haneman@sun.com>
4256 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
4259 * configure.in: Revved to 1.0.0.
4261 * idl/Accessibility_Registry.idl:
4262 (registerKeystrokeListener):
4263 Added boolean return value.
4265 * registryd/registry.c:
4266 (notify_listeners_cb): Minor fix to debug output.
4268 * registryd/Accessibility_Registry.server.in.in:
4269 Revved version number in OAFIID to 1.0.
4271 * registryd/registryd.c:
4273 Use new OAFIID version.
4275 * cspi/bonobo/cspi-bonobo.c:
4277 Use new OAFIID version.
4283 * atk-bridge/bridge.c:
4285 Use new OAFIID version.
4287 * registryd/deviceeventcontroller.c:
4288 (impl_register_keystroke_listener):
4289 Added CORBA_boolean return value.
4290 (spi_controller_register_device_listener):
4291 Added gboolean return value.
4292 (spi_controller_register_global_keygrabs):
4293 Added gboolean return value.
4294 (spi_key_set_contains_key):
4295 Added implementation for many more control keys,
4296 for instance F1-F12, arrow keys, End, Home, Page_Up,
4298 [TODO: some still not implemented].
4300 * text/screen-review-test.c:
4301 (text_chunk_pad_string):
4302 New function: it provides mapping between coordinate
4303 positions of text chunks and character positions in the
4304 screen-review-line output string.
4305 (text_chunk_to_string):
4306 New function, calls text_chunk_pad_string with various
4307 pad/delimiter characters. Pushbuttons are delimited with
4308 square brackets, Frames with vertical 'pipe' lines, and
4309 other text with double quotes.
4310 (text_chunk_list_to_string):
4311 Calls new function text_chunk_to_string.
4312 (toplevel_composite):
4313 New function to composite layers CANVAS through
4314 POPUP in each toplevel (other layers are composited
4315 across toplevels, i.e. BACKGROUND and OVERLAY).
4316 (review_buffer_composite):
4317 Revise to use new methods.
4323 2002-05-31 Laszlo Peter <laca@sun.com>
4325 * configure.in: add the Xtst libdir to the runpath on Solaris,
4326 since it's not in the default library search path.
4328 2002-05-29 jacob berkman <jacob@ximian.com>
4330 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
4332 2002-05-29 Bill Haneman <bill.haneman@sun.com>
4334 * test/screen-review-test.c:
4335 (text_chunk_pad_string):
4336 Added method, which pads the string according to the
4337 text bounds of the chunk. It also takes a 3-character
4338 string as a param which indicates the characters to be
4339 used for start, padding, and end delimitation of the chunk.
4340 (text_chunk_to_string):
4341 Changed to use text_chunk_pad_string.
4343 * configure.in: Fixed bug in AC_OUTPUT that was
4344 causing path substitution in Accessibility_Registry.server
4347 2002-05-23 Bill Haneman <bill.haneman@sun.com>
4349 * text/screen-review-test.c:
4350 (guess_string_clip):
4351 New method which attempts a best-guess at clipping
4352 text from components (like Java labels) which don't
4353 actually implement AccessibleText. This inaccurate
4354 clip is based on the assumption that the label is
4355 justified left-and-right, and monospaced.
4356 (text_chunk_get_clipped_string):
4357 We now call guess_string_clip() for text-containing
4358 components that don't implement AccessibleText.
4360 * test/screen-review-test.c:
4361 (review_buffer_get_text_chunk):
4362 We now pull "name" from labels if they do not implement
4363 AccessibleText (i.e. for Java labels).
4364 (get_screen_review_line_at):
4365 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
4368 Replaceded AC_OUTPUT target
4369 registryd/Accessibility_Registry.server with
4370 registryd/Accessibility_Registry.server.in.
4372 * registryd/Accessibility_Registry.server.in:
4373 Removed (this is now a Makefile target).
4375 * registryd/Accessibility_Registry.server.in.in:
4376 Added (source for target above). We now use $(libexecdir) as
4377 prefix for the executable at-spi-registryd.
4379 * registry/Makefile.am:
4380 Now install at-spi-registryd into $(libexecdir), and build .server
4381 file with path (see above).
4383 2002-05-22 Bill Haneman <bill.haneman@sun.com>
4385 * test/screen-review-test.c:
4386 (text_chunk_get_clipped_string):
4387 We now check to see if words fall within clip bounds
4388 before resorting to character-by-character clip bounds testing.
4390 * TODO: Added a section for "2.2 Proposed API Additions".
4392 2002-05-21 Bill Haneman <bill.haneman@sun.com>
4394 * test/screen-review-test.c:
4396 Added a screen review benchmarking and test program to test
4399 * cspi/spi_accessible.c:
4401 Made some of the debug strings passed to cspi_check_ev a
4402 little more specific.
4404 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
4406 * test/screen-review-test.c: Fix crashes in debug statements
4408 2002-05-20 Bill Haneman <bill.haneman@sun.com>
4410 * test/screen-review-test.c: Added this file.
4412 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4414 * atk-bridge/bridge.c: changed "object:state-change" to
4415 "object:state-changed" to match docs.
4417 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
4419 * atk-bridge/bridge.c: Hooked up state-change event details.
4421 2002-05-11 Bill Haneman <bill.haneman@sun.com>
4423 * registryd/registry.c:
4424 Fixed quarking bug in event string parsing; now events with
4425 detail parameters get matched correctly to listeners.
4428 * util/idl/Magnifier.idl: remove.
4430 * util/*.[ch]: Remove.
4431 Magnification utilities and IDL are now in module gnome-mag.
4433 2002-05-10 Bill Haneman <bill.haneman@sun.com>
4435 * registryd/deviceeventcontroller.c:
4436 Fixed bug in grab key conversion which was causing keycode grabs
4437 to be converted to AnyKey grabs.
4440 updated NEWS file to reflect recent spin-off of gnome-mag.
4442 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
4444 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4445 busted AccessibleStateSet_compare. Removed redundant casts.
4447 * cspi/spi-action.c: Removed redundant casts.
4449 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
4451 * cspi/spi_component.c: Fixed typos and casting error.
4453 * cspi/spi_editabletext.c: Removed redundant casts.
4455 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
4457 * cspi/spi_hypertext.c: Eliminated redundant casts.
4459 * cspi/spi_image.c: Eliminated redundant casts.
4461 * cspi/spi_registry.c: Eliminated redundant casts.
4462 SPI_deregisterGlobalEventListenerAll () removed retval variable.
4463 * cspi/spi_selection.c: Removed redundant casts.
4464 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
4465 handling. Screen geometry and text offsets were being returned as 0
4466 on error which is technically valid-- changed these to return -1.
4467 Added marshaller for text boundary types to fix bug with boundary
4468 types being passed incorrectly to atk.
4470 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4473 * cspi/spi_registry.c:
4474 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
4475 which was uncovered by the recent key changes.
4477 2002-05-09 Bill Haneman <bill.haneman@sun.com>
4479 * test/event-listener-test.c:
4481 Added new test, "event-listener-test";
4482 this code does two things; it benchmarks traversal time
4483 for the accessible hierarchy for the first running accessible
4484 app, and it connects listeners for all supported event types.
4485 It is thus useful as an example event listener and for
4486 diagnostics/debugging of event generation.
4488 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4491 Removed unnecessary dependency on libutil.
4494 Revved micro version: 0.13.1
4496 2002-05-08 Bill Haneman <bill.haneman@sun.com>
4499 Removed util/Makefile from targets.
4502 Removed util subdir from SUBDIRS (temporarily,
4503 pending removal of magnifier-only code
4507 #ifdef-ed out magnifier dependencies, since
4508 magnifier IDL, headers, and binary now live in
4509 module gnome-mag and we don't want at-spi to depend
4510 on gnome-mag. A magnifier demo which can run alongside
4511 simple-at is forthcoming in the gnome-mag module.
4513 NOTE: Split magnifier binary, IDL, and magnification
4514 activation code from at-spi into module gnome-mag.
4516 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
4518 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
4519 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
4521 2002-05-03 Bill Haneman <bill.haneman@sun.com>
4524 Revved to version 0.13.0
4526 * idl/Accessibility_Registry.idl:
4527 Changed definition of KeySet from sequence of longs to sequence of
4528 KeyDefinitions, and added KeyDefinition struct.
4529 Required for fix to bug 80616.
4531 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
4532 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
4533 to use new definition (see above).
4535 * registryd/deviceeventcontroller.c: handle_keygrab(),
4536 spi_keyset_contains_key():
4537 Changed to make use of new struct; this allows matching based on
4538 string key-name, for instance "Tab". This also allows matching of
4539 composed characters, non-alphanumeric characters in a way that
4540 doesn't involve dependencies on X keysym codes directly, etc.
4542 * test/key-listener-test.c:
4543 Added test for Alt-Tab key using "string" specification of keyset,
4544 and modified one of the tests to use a keycode-based keyset.
4545 Thus this test both tests and demonstrates the creation and use of
4546 keysets of three forms: specified via keycode array,
4547 keysym array, and string array. (The string case only contains a
4548 single string, i.e. a string array of length 1).
4551 Turned on PRINT_TREE option by default. Also fixed a
4552 string-freeing bug in the PRINT_TREE code.
4553 Added a listener to window:minimize events.
4555 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4557 * atk-bridge/bridge.c:
4558 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
4559 for window:activate and window:deactiveate
4560 (atk_bridge_property_event_listener atk_bridge_signal_listener
4561 atk_bridge_window_event_listener) Tidy debug code
4563 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
4565 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4566 Fixed handling for NULL return value from ATK.
4568 * libspi/action.c libspi/component.c libspi/editabletext.
4569 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
4570 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
4571 Removed redundant casts.
4573 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
4574 Fixed off by one bug.
4576 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
4577 function not present in idl)
4579 2002-05-02 jacob berkman <jacob@ximian.com>
4581 * atk-bridge/Makefile.am: make atk-bridge a real module
4583 2002-04-26 Radek Doulik <rodo@ximian.com>
4585 * libspi/stateset.c (spi_init_state_type_tables): fix size of
4586 atk_state_types table
4588 2002-04-22 jacob berkman <jacob@ximian.com>
4591 * libspi/Makefile.am: add deps on the built files to help
4592 automake, and don't version the ORBit typelib
4594 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
4596 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
4597 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
4598 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
4599 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
4600 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
4601 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
4602 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
4603 libspi/accessible.h libspi/accessible.h libspi/base.h
4604 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
4605 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
4606 libspi/relation.h libspi/remoteobject.h libspi/selection.h
4607 libspi/spi-private.h libspi/statetset.h libspi/table.h
4608 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
4609 util/mag_client.h util/mag_control.c util/mag_image.c
4610 util/mag_image.h util/magnifier.c util/magnifier.h:
4611 Add missing file headers; standardize existing ones
4613 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
4615 * atk-bridge/bridge.c: Added window event support.
4617 2002-04-18 Michael Meeks <michael@ximian.com>
4619 * libspi/relation.c (impl_getNTargets): impl.
4620 (impl_getTarget): impl.
4622 * libspi/Makefile.am: fix stateset install.
4624 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4627 Started putting useful info in this file.
4629 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
4631 * atk-bridge/bridge.c:
4632 Propagate state-changed notifications to ATs
4634 * cspi/spi_registry.c: update docs to reflect actual behavior of
4635 state-change events.
4637 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4640 Incremented version to 0.12.1
4642 * util/mag_client.h:
4643 Add missing declaration for magnifier_exit,
4644 used by mag_control.c - Forte compiler didn't like
4645 the implicit redeclaration of the function :-(
4648 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4651 Revved version to 0.12 due to API change (see below).
4653 * cspi/spi-roletypes.h:
4654 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
4655 definition from the inline docs, and added docs
4656 for SPI_ROLE_LAST_DEFINED.
4659 * cspi/spi_streamablecontent.c:
4660 Added missing seek_type parameter to
4661 (so far unused) method,
4662 AccessibleStreamableContent_seek().
4663 [ RT approval JodyG. ]
4666 Fixed docs for SPI_createAccessibleKeystrokeListener.
4668 * cspi/spi_registry.c:
4669 Fixed docs for SPI_KEYSET_ALL_KEYS.
4671 * docs/reference/cspi/at-spi-cspi-sections.txt:
4672 Added a number of missing APIs to SECTIONS.
4674 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4676 * registryd/Makefile.am:
4678 * cspi/bonobo/Makefile.am:
4679 Add $(X_LIBS) to makefiles.
4681 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4684 Revved version to 0.11.
4686 * libspi/component.c:
4687 Added implementation for grabFocus.
4689 * idl/Accessibility_Component.idl
4690 (Accessibility_Component_grabFocus):
4691 Made this method return boolean to indicate success or failure, to
4692 be consistent with cspi and the corresponding ATK method.
4694 * idl/Accessibility_Selection.idl
4695 (Accessibility_Selection_selectAll) :
4696 Made these methods return boolean to indicate success or
4697 failure, to be consistent with cspi and the corresponding ATK methods.
4699 * idl/Accessibility_EditableText.idl
4700 (Accessibility_EditableText_setTextContents,
4701 Accessibility_EditableText_insertText,
4702 Accessibility_EditableText_cutText,
4703 Accessibility_EditableText_deleteText,
4704 Accessibility_EditableText_pasteText):
4705 Made these methods return boolean to indicate
4708 * cspi/spi_editabletext.c:
4709 Made these methods return booleans.
4711 * libspi/selection.c:
4712 * libspi/component.c:
4713 * libspi/editabletext.c:
4714 Connected the boolean returns from ATK
4715 to the server-side code referenced above.
4717 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4719 * idl/Accessibility_Table.idl: Added missing methods,
4720 Accessibility_Table_addRowSelection,
4721 Accessibility_Table_addColumnSelection,
4722 Accessibility_Table_removeRowSelection,
4723 Accessibility_Table_removeColumnSelection.
4726 Added C wrappers for above IDL:
4727 AccessibleTable_addRowSelection,
4728 AccessibleTable_addColumnSelection,
4729 AccessibleTable_removeRowSelection,
4730 AccessibleTable_removeColumnSelection.
4733 Added server-side implementation code for IDL above, connecting
4734 to pre-existing ATK api.
4736 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4738 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4740 * libspi/accessible.c: Added implementation fo
4741 Accessibility_Accessible_get_state.
4743 * libspi/libspi.h: Added stateset.h to the list of includes.
4745 * libspi/stateset.c: Fixed broken implementation.
4747 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4750 Added implementation code for Accessibility_Magnifier_exit ().
4752 * util/mag_control.c:
4753 Added test code for above method; you can
4754 now kill an existing magnifier via
4755 ./mag_control q, from the util directory.
4757 * test/key-listener-test.c:
4759 Added a new test, for our key listener API.
4761 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4763 * test/app.c, test/keysynth-demo.c:
4765 Replace use of snprintf with g_snprintf.
4766 (fix for bugzilla 78249)
4768 2002-03-27 Michael Meeks <michael@ximian.com>
4772 * util/Makefile.am (INCLUDES): fix.
4773 (DONT_DIST_SOURCE): don't distribute the
4776 * libspi/Makefile.am (dist-hook): ditto.
4778 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4780 * libspi/hypertext.c:
4781 Fix warnings when yelp is used with atk-bridge
4783 2002-03-21 Michael Meeks <michael@ximian.com>
4785 * libspi/application.c (spi_application_new):
4786 use spi_accessible_construct so we use the AtkObject
4789 2002-03-19 Michael Meeks <michael@ximian.com>
4791 * registryd/registry.c (desktop_remove_application),
4792 (desktop_add_application): clean coding style.
4794 * registryd/desktop.c (spi_desktop_remove_application),
4795 (spi_desktop_add_application): kill re-enterency hazards.
4796 (spi_desktop_dispose): remove bogus redundant cast
4797 obscuring bug; fix bug too.
4798 (spi_desktop_init): make the desktop object immortal.
4800 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4803 Added a #define-guarded tree-traversal step
4804 when enumerating the apps (diagnostic tool).
4806 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4808 * idl/Accessibility_Role.idl:
4809 Added ROLE_DRAWING_AREA which seemed to be missing from the
4812 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4814 * cspi/spi-roletypes.h cspi/spi_accessible.c
4815 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4818 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4819 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4820 AT when applications are added and removed from the desktop. This
4821 reverts the previous broken implementation using the backing
4822 AtkObject for the SpiDesktop.
4824 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4826 * registryd/desktop.c: emit the "children-changed::add" and
4827 "children-changed::remove" signals on the backing ATK object for
4828 the desktop so AT can tell when applications are started and shut
4831 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4833 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4835 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4837 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4839 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4841 * cspi/state-types.h: synched with IDL and ATK
4843 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4845 * libspi/accessible.c
4846 (impl_accessibility_accessible_get_child_at_index):
4847 Change return value for g_return_if_fail ()
4848 to CORBA_OBJECT_NIL instead of "0" (!)
4850 * registryd/Makefile.am:
4851 * registryd/Accessibility_Register.server.in:
4852 Changed name of executable, "registryd",
4853 to something more informative:
4856 2002-03-13 Michael Meeks <michael@ximian.com>
4858 * atk-bridge/bridge.c (atk_bridge_init): don't register
4859 if we're in a bonobo-component, rather than a bonobo app.
4861 2002-03-13 Michael Meeks <michael@ximian.com>
4863 * atk-bridge/bridge.c (gtk_module_init): split
4864 out body to (atk_bridge_init): here, since otherwise
4865 we get symbol conflicts and oddness when invoked
4866 from (gnome_accessibility_module_init): here (upd.)
4868 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4871 New file. Explicitly allow "build sheriff" putbacks provided
4872 they are tested on Solaris.
4874 * docs/reference/cspi/Makefile.am:
4875 Added '-' to the "cp" command for index.sgml.
4876 ("patch by thomasvs, soon coming to a GUADEC near you")
4879 Incremented version number (0.9.0) for new release.
4880 Changed macro that checks for popt, to better detect
4881 obsolete versions of popt.
4884 Added X_LIBS to AC_SUBST, for applications
4885 that call Xlib API directly.
4888 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4891 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4894 Fix regression caused by hard-coding major
4895 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4898 * test/test-simple.c (test_editable_text),
4899 (test_test): revert previous change (error was
4900 a regression in gail which is now fixed).
4902 2002-03-04 Michael Meeks <michael@ximian.com>
4904 * test/test-simple.c (test_editable_text),
4905 (test_text): pass G_MAXINT instead of '-1' for
4906 whole string - is this a good thing !?
4908 * cspi/spi_accessible.c
4909 (Accessible_getRelationSet): fix crasher bug
4910 overwriting the end of the array.
4912 * test/test-simple.c (validate_accessible): free,
4913 not g_free returned relation set.
4915 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4917 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4918 implemented stateset support
4920 * idl/Accessibility_State.idl: Made necessary changes to
4921 the IDL to support state sets.
4923 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4925 * registryd/deviceeventcontroller.c:
4926 Added implementation for generateMouseEvent.
4928 * cspi/spi_registry.c:
4929 Connected new implementation for generateMouseEvent
4932 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4935 Incremented revision (but no change in public API
4936 outside of 'utils', which are not installed public yet.)
4938 * libspi/component.c:
4939 Changed to use atk_component API for layers and
4940 mdi_zorder, instead of deprecated atk_object API.
4942 Magnification Utility Enhancements:
4945 Added implementation of createZoomRegion, clearAllZoomRegions,
4946 resizeZoomRegion. Added new commandline argument
4947 "--no-initial-region". Note that clearAllZoomRegions doesn't
4948 unmap the old '0' region as it should (yet), and the other
4949 methods only work when creating/resizing a single region,
4950 which is "region 0".
4951 (Code for multiple region support will be added later.)
4954 Now we raise the magnifier window each time it's refreshed;
4955 this will help keep it on top.
4957 * util/mag_client.h:
4958 Added simple wrappers for above, used by mag_control.
4959 For general use, it's recommended to use the bonobo magnifier
4960 control API directly instead of using these wrappers.
4963 Moved ZoomRegionData from magnifier.c to this file.
4965 * util/mag_control.c:
4966 Added some code to exercise new IDL implementations.
4968 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4970 * libspi/text.c: Provide implementation for getAttributes.
4972 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4975 Incremented revision.
4977 * test/test-simple.c:
4978 Replaced use of deprecated g_main_iteration with
4979 g_main_context_iteration.
4981 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4984 Incremented revision for desktop alpha 2.
4986 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4988 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4991 * test/simple-at.c: include netinet/in.h.
4993 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4995 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4996 use NULL, not CORBA_OBJECT_NIL.
4998 * libspi/accessible.c:
4999 (impl_accessibility_accessible_get_relation_set):
5000 allocate the sequence correctly.
5002 * libspi/remoteobject.h: kill spi_remote_object_new.
5004 * test/test-simple.c: (validate_accessible): add code
5005 to test relation sets, now all we need is to figure
5006 out how to excercise this code path :/
5008 2002-01-18 Michael Meeks <michael@ximian.com>
5010 * test/test-simple.c
5011 (key_listener_cb): consume the key.
5012 (test_keylisteners): update.
5013 (main): wait for any pending unrefs on events.
5015 * registryd/deviceeventcontroller.c
5016 (spi_controller_update_key_grabs): only re-issue the
5017 grab on a key release.
5018 (spi_device_event_controller_forward_key_event):
5019 refresh the keygrabs before we notify the listeners,
5020 to reduce the X ungrab / re-grab race.
5021 (spi_controller_register_with_devices): remove
5022 XSelectInput - we do that with the gdk_window_ call.
5023 (_spi_controller_device_error_handler): return a value.
5024 s/GDK_DISPLAY/spi_get_display/
5026 2002-01-17 Michael Meeks <michael@ximian.com>
5028 * registryd/deviceeventcontroller.c
5029 (_deregister_keygrab): don't blow out the later
5032 * test/test-simple.c (test_keylisteners): do a
5033 more intelligent validation.
5035 2002-01-14 Michael Meeks <michael@ximian.com>
5037 * atk-bridge/bridge.c
5038 (gnome_accessibility_module_init),
5039 (gnome_accessibility_module_shutdown): impl.
5040 (gtk_module_init): protect vs. double inits.
5041 (add_signal_listener): impl.
5042 (spi_atk_bridge_state_event_listener): kill
5043 (deregister_application): split out of
5044 (spi_atk_bridge_exit_func): here.
5046 2002-01-18 Bill Haneman <bill.haneman@sun.com>
5049 Added caret tracking when using magnifier, and
5050 now use text bounds for focus tracking of text elements, rather than
5051 the component bounds - this is helpful for short text fields in long
5052 table cells, at high magnification.
5054 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5056 * registryd/deviceeventcontroller.c:
5057 Regression fix for keylistener de-registration; global keygrabs
5058 were not being released when deregisterKeystrokeListener was
5059 called in cspi, since
5060 Accessibility_DeviceEventController_deregisterKeystrokeListener
5061 was called with a zero-length keyset. That is because the cspi
5062 method, SPI_deregisterKeystrokeListener, does not take a keyset
5063 parameter but instead should remove all the key grabs held be a
5065 The code in impl_deregister_keystroke_listener was changed to copy
5066 the keylist from the listener instance previously registered with
5067 the DeviceEventController before releasing the grabs.
5069 * registryd/registry.c:
5070 * registryd/deviceeventcontroller.c:
5071 * libspi/spi-private.h:
5073 Changed spelling of "re-enterant" to "re-entrant" globally.
5075 2002-01-16 Bill Haneman <bill.haneman@sun.com>
5077 * test/test-simple.c:
5078 Changed key listeners test - the test was slightly mis-using the
5079 (admittedly poorly documented) SPI_generateKeyboardEvent API.
5080 It now uses '=' as the key event listened to and generated,
5081 relying on a keysym match rather than assuming that keycode 33
5082 is always equal to keysym '!'.
5084 2002-01-15 Bill Haneman <bill.haneman@sun.com>
5087 Changed simple-at to use a specific keyset, rather than
5088 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
5089 manager, desktop, etc.
5091 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5093 * registryd/deviceeventcontroller.c:
5094 Replaced standard X error handler with a special handler that
5095 is non-fatal for failed keygrabs. This works around
5096 problems with keygrab clashes sometimes observed on
5098 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
5099 mouse handling code as yet).
5101 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5104 Incremented revision for desktop alpha release.
5107 Fixed a couple of the more glaring errors (still not
5110 2002-01-11 Michael Meeks <michael@ximian.com>
5112 * registryd/deviceeventcontroller.c
5113 (spi_device_event_controller_forward_key_event): kill
5114 XUngrabKey / XKeyGrab race.
5115 (spi_controller_grab_keyboard): rename to
5116 (spi_controller_update_key_grabs): this, and deal
5117 with incremental adding / removing grabs more
5119 (_register_keygrab): ensure we're not pending a remove.
5120 (spi_grab_mask_free): impl.
5121 (spi_controller_register_global_keygrabs): split out
5123 (handle_keygrab): impl.
5124 (_deregister_keygrab): impl.
5125 (spi_controller_deregister_global_keygrabs): impl.
5126 (spi_controller_update_key_grabs): re-issue the grab if
5127 we just recieved a notification.
5129 * test/test-simple.c (key_listener_cb): remove debug.
5131 * registryd/deviceeventcontroller.c
5132 (spi_controller_register_device_listener): after
5133 registering a global keygrab, actualy register it !
5134 don't wait for a timeout; doh !
5136 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
5137 to make it more readable / manipulable.
5138 s/grabmask/grab_mask/ s/refcount/ref_count/
5139 s/keyval/key_val/ s/modmask/mod_mask
5141 2002-01-08 Michael Meeks <michael@ximian.com>
5143 * registryd/deviceeventcontroller.c
5144 (spi_controller_register_with_devices): use gdk calls to
5146 (global_filter_fn): implement the filter.
5147 (spi_device_event_controller_check_key_event): rename to
5148 (spi_device_event_controller_forward_key_event): this & upd.
5149 (spi_get_display): replace with GDK_DISPLAY.
5151 * registryd/deviceeventcontroller.c
5152 (spi_controller_deregister_device_listener): unroll into
5153 (impl_deregister_keystroke_listener): here to simplify.
5154 (spi_controller_register_global_keygrabs): split cut and
5155 paste (!) out into (_register_keygrab): here, shorter & sweeter.
5156 (spi_controller_deregister_device_listener): remove.
5157 (impl_register_mouse_listener): remove, no mouse listener
5158 support in at-spi-1.0
5160 * registryd/registry.c
5161 (_device_event_controller_hook): kill.
5162 (spi_registry_init): upd.
5164 * registryd/deviceeventcontroller.c
5165 (spi_device_event_controller_class_init): upd.
5166 (spi_check_key_event): merge into.
5167 (spi_device_event_controller_check_key_event):
5168 here and kill strange static ev init, don't leak
5169 the x_event - nor dynamicaly allocate it.
5171 * registryd/registry-main.c (main): re-direct
5172 timeout to remove strange vtable mess.
5174 * registryd/deviceeventcontroller.c
5175 (remove_listener_cb): impl.
5176 (spi_controller_deregister_device_listener):
5177 fix re-enterancy hazard.
5179 2002-01-07 Michael Meeks <michael@ximian.com>
5181 * registryd/deviceeventcontroller.c
5182 (spi_device_event_controller_new): upd.
5183 (impl_notify_listeners_sync): upd. debug.
5184 (spi_notify_keylisteners): fix re-enterancy hazards,
5185 prettify, remove O(n*n) iteration.
5186 (spi_controller_grab_keyboard): fix iteration.
5187 (spi_check_key_event): re-format to suit coding style.
5188 Clean all the warnings - we're warning free.
5190 * registryd/deviceeventcontroller.h:
5191 * registryd/registry.h: make mutualy referential with
5192 typesafe forward references instead of (!) void pointer
5195 2002-01-11 Michael Meeks <michael@ximian.com>
5197 * cspi/spi_accessible.c (role_names): add a role name
5198 to sync this array with the enum; and make the regression
5201 2002-01-10 Michael Meeks <michael@ximian.com>
5203 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
5204 allow expansion of enumeration & kill warning.
5206 * test/test-simple.c (key_listener_cb): impl.
5207 (test_keylisteners): impl.
5209 * cspi/spi-listener.h: make listener signatures const
5210 on the provided (const) events.
5212 * test/keysynth-demo.c: upd. to const events.
5214 * test/simple-at.c: ditto.
5216 2002-01-11 Bill Haneman <bill.haneman@sun.com>
5219 Rev the version to 0.5 (the previous tarball was named 0.4,
5220 even though the micro number was 3), so we need to rev upwards
5221 again for beta2/"desktop-alpha"
5224 Checked in a demo script, which requires editing before use!
5225 Proceed with caution.
5228 Fixed typo in header which was redefining SPI_ACTION_CLASS.
5230 * cspi/spi_accessible.c:
5231 Add a couple of missing enum initializations, and fix some enum
5234 * cspi/spi_registry.c:
5235 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
5237 * docs/reference/cspi/at-spi-cspi-sections.txt:
5238 Remove/fix a couple of broken document references.
5241 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
5242 as Alt-Control to listen for commands, since on some systems
5243 Control-Alt may already be grabbed.
5245 2002-01-10 Bill Haneman <bill.haneman@sun.com>
5248 Update version number to 0.4 for Beta2.
5250 * libspi/accessible.c, libspi/accessible.h:
5251 Expose spi_accessible_construct, to enable libgail-gnome
5252 construction from spi_accessible subtype.
5254 * utils/magnifier.c:
5255 Workaround for bug in some non-gnome-compliant window managers
5256 which made magnifier resize improperly.
5258 2002-01-09 Bill Haneman <bill.haneman@sun.com>
5260 * libspi/accessible.c: (spi_accessible_new) :
5261 Move the test for SPI_IS_REMOTE_OBJECT to
5262 spi_accessible_new_return, fixing a bug and compile time warning.
5264 2002-01-08 Michael Meeks <michael@ximian.com>
5266 * registryd/registry.c (parse_event_type): remove strndup.
5268 * libspi/Makefile.am (libspi_la_SOURCES): remove
5269 sources already included in the headers section.
5271 * libspi/util.c: add.
5273 * libspi/spi-private.h: add.
5275 * registryd/registry.c: update to moved list iterators.
5277 2002-01-05 Michael Meeks <michael@ximian.com>
5279 * test/simple-at.c (main): upd. auto-module set to atk-bridge
5281 * test/test-simple.c (main): ditto.
5283 2002-01-04 Michael Meeks <michael@ximian.com>
5285 * libspi/accessible.c (spi_accessible_new): remove 2nd,
5286 redundant construct.
5288 * registryd/registry.c
5289 (get_listener_list): impl.
5290 (impl_accessibility_registry_register_global_event_listener):
5291 re-impl. to simplify using ~, remove dodgy const cast off.
5292 (parse_event_type): constify.
5293 (impl_accessibility_registry_deregister_global_event_listener_all):
5294 re-write, more efficiency and simplicity, kill re-enterancy
5296 (compare_listener_corbaref, compare_corba_objects),
5297 (compare_listener_quarks): define out.
5298 (impl_accessibility_registry_deregister_global_event_listener):
5299 re-write for effiency, and nail re-enterancy hazard.
5300 (impl_accessibility_registry_get_desktop_list): impl.
5301 (re_enterant_list_delete_link): impl.
5302 (re_enterant_list_foreach): impl.
5303 (remove_listener_cb): impl.
5304 (_registry_notify_listeners): kill.
5305 (notify_listeners_cb): impl.
5307 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
5308 (SPI_getDesktopList): impl.
5310 * test/test-simple.c (test_desktop): test the methods.
5312 2002-01-03 Michael Meeks <michael@ximian.com>
5314 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
5315 keystrings since we free them
5316 (SPI_freeAccessibleKeySet): in here.
5318 * libspi/accessible.c (spi_accessible_new): kill warning,
5319 wonder what is going on with the constructor here.
5321 2002-03-01 Bill Haneman <bill.haneman@sun.com>
5323 * libspi/accessible.c (spi_accessible_new ()) :
5324 Added check to see if AtkObject is an SpiRemoteObject before
5325 creating an SpiAccessible.
5327 2002-05-01 Bill Haneman <bill.haneman@sun.com>
5329 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
5330 Enable keygrabs using the Control modifier, now that they are
5331 working properly (they were previously disabled).
5334 Change the command keygrab for this demo to "Control+Alt", so as
5335 to conflict with fewer other key commands on the system; this
5336 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
5338 Removed a pointlessly-chatty keylistener for unshifted keys
5339 (shifted keys are still reported).
5341 2002-02-01 Bill Haneman <bill.haneman@sun.com>
5343 * libspi/remoteobject.h:
5344 * libspi/remoteobject.c:
5345 Added definitions for special AtkObject subtype, required for
5346 support of remote components (specifically, used by BonoboControl
5347 accessibility implementation).
5349 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
5351 * cspi/spi.h: synched relation types with ATK
5353 * cspi/spi_accessible.c: Added implementations of
5354 AcccessibleRelation_* methods
5356 * idl/Accessibility_Relation.idl: added getRelationTypeName
5357 method. Synched known relation types with ATK. Allowed for
5358 relation type extension with the RELATION_EXTENDED type.
5360 * libspi/relation.c: Provided implementations for
5361 AccessibleRelation methods.
5363 2002-01-01 Bill Haneman <bill.haneman@sun.com>
5365 API tweaks for today's API 'freeze'.
5368 Added placeholder functions to allow future compatible expansion
5369 of the IDL interfaces.
5371 * idl/Accessibility_Registry.idl:
5372 Changed generateKeyEvent to generateKeyboardEvent. Changed
5373 signature of this method to accept an optional keystring in
5374 parameter (for complex text input synthesis) and changed use of
5375 simple 'boolean' parameter in registerKeystrokeListener to a
5376 struct, EventListenerMode.
5378 * cspi/spi_accessible.c:
5380 * cspi/spi_streamablecontent.c:
5381 Added references to AccessibleStreamableContent interface, and
5382 definition and implementation of AccessibleStreamableContent
5385 * cspi/spi_registry.c:
5387 Changed generateKeyEvent API to generateKeyboardEvent,
5388 taking a new (optional) keystring parameter to support complex
5393 Renamed directory (to better reflect its actual purpose, bridging
5394 from at-spi to ATK). The .so module is also now named
5397 * idl/Accessibility_Hypertext.idl:
5398 * libspi/accessible.c:
5399 * libspi/hypertext.h:
5400 * libspi/hypertext.c:
5401 Changed Accessibility_Hypertext to *not* derive from
5404 * cspi/spi_registry.c:
5405 Added list of legal event type names for 'window' events, which
5406 completes the registry event API.
5408 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
5410 * at-bridge/bridge.c: Added registration for separate
5411 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
5412 signals. If either of the first two parameters to the generic
5413 bridge signal handler are ints, they are passed on as event
5414 details. This allows an AT to determine what text was inserted.
5416 2001-12-21 Bill Haneman <bill.haneman@sun.com>
5418 * registryd/deviceeventcontroller.c:
5419 Fixed regressions in generateKeyEvent caused by the removal of
5420 gdk_init from registryd; we now use pure X calls to connect to the
5421 display, which makes sense because deviceeventcontroller already
5422 uses a fair bit of X API (should eventually be migrated to a
5423 'portability layer').
5425 * registryd/desktop.c:
5426 Fixed minor regression in spi_desktop_init, changed the way the
5427 desktop name is being set to work with new spi_base API
5428 (gobject-based, rather than AtkObject-based).
5430 * registryd/Makefile.am:
5431 Minor revision of makefile to use XTST_LIBS variable rather than
5432 hard-wiring the Xtst LD_ADD element.
5434 * test/keysynth-demo.c:
5435 Tweaked an output message; added initialization of the
5436 'keystrings' member of the "switch listener" key_set.
5438 * libspi/relation.c:
5439 Squashed compile-time warning.
5441 * libspi/accessible.c:
5442 Cosmetic and formatting fixes, renamed a static method.
5444 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
5446 * libspi/accessible.c
5448 * libspi/application.c
5451 * libspi/component.c
5452 * libspi/editabletext.c
5453 * libspi/hyperlink.c
5454 * libspi/hypertext.c
5456 * libspi/selection.c
5460 * registryd/desktop.c:
5461 Changed SpiBase to contain a GObject pointer rather than an AtkObject
5463 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5465 * idl/Accessibility_Registry.idl:
5466 Added boolean member 'is_text' to DeviceEvent. This is for the
5467 use of key events, and helps prevent ambiguity between composed
5468 key strings and keysym names, since both may potentially be
5469 returned in the 'event_string' member.
5471 * at-bridge/bridge.c:
5472 * registryd/deviceeventcontroller.c:
5473 Use the 'is_text' member when notifying device event listeners.
5474 Knon issue: composed characters are not dealt with correctly by
5475 the global key listener implementation yet.
5477 2001-12-17 Bill Haneman <bill.haneman@sun.com>
5479 * at-bridge/bridge.c:
5480 Namespaced local static methods to spi_atk_bridge_* where
5481 previously named bridge_*, and spi_* elsewhere.
5483 * at-bridge/bridge.c:
5484 * cspi/bonobo/cspi-bonobo-listener.c:
5485 Added demarshalling/conversion for string member of
5486 Accessibility_DeviceEvent to AccessibleKeystroke.
5488 * registryd/deviceeventcontroller.c:
5489 Added code to fill the Accessibility_DeviceEvent key string value
5490 member for global key events (i.e. from XGrabKey), to match
5491 behavior of Accessibility_DeviceEvent from the toolkit key events
5492 from the bridge. Fixed timestamp in global key event notifications.
5495 Added printout of key event's string value to
5496 report_ordinary_key_event, for demo/debugging purposes.
5498 2001-12-15 Bill Haneman <bill.haneman@sun.com>
5500 * idl/Accessibility_Registry.idl:
5501 Removed Accessibility_KeyStroke structure in favor of generic
5502 Accessibility_DeviceEvent structure.
5503 Changed Accessibility_ControllerEventMask from a struct to an
5506 * at-bridge/bridge.c:
5507 Changed APIs to use DeviceEvent structure as above, and removed
5508 bogus casting between these event structures.
5510 * cspi/spi-listener.h:
5511 Added keystring member of AccessibleKeystroke structure, to enable
5512 matching on event "names" rather than only hardware codes and
5516 Added keystrings member of AccessibleKeySet struct, to allow
5517 matching on event names (as above).
5518 Added declarations for SPI_createAccessibleKeySet and
5519 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
5520 event modmasks directly as unsigned ints rather than structs with
5521 refcounts, in the DeviceEventController methods.
5523 * cspi/spi_registry.c:
5524 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
5526 * cspi/spi-roletypes.h:
5527 Added documentation of newly added SPI Roles.
5529 * cspi/bonobo/cspi-bonobo-listener.c:
5530 Changes in support of API changes above.
5532 * libspi/accessible.c:
5533 Converted APIs to use DeviceEvent structure (see IDL changes
5536 * registryd/deviceeventcontroller.c:
5537 Added DEControllerGrabMask structure to track keygrabs not only by
5538 modmask but by keyset as well; this allows us to do "global"
5539 (i.e. X) keygrabs on a per-key or keyset basis rather than always
5540 grabbing on AnyKey and then filtering after-the-fact.
5541 Bugfixes for event filtration mean that we don't get false matches
5542 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
5544 * registryd/deviceeventcontroller.c:
5545 Namespaced a number of static methods to use spi_ prefix. Major
5546 revision to internals of global (i.e. X) key grabs.
5548 * registryd/deviceeventcontroller.h:
5549 Removed keymask_list and added keygrabs_list to
5550 SpiDeviceEventController struct.
5553 Added use of SPI_createAccessibleKeySet API when creating a
5554 listener for only one key. Attach a listener to "shift spacebar
5555 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
5556 X key event names to SPI key event names, so that listeners are
5557 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
5559 * test/keysynth-demo.c:
5560 Changed (incorrect) use of X key event names (KeyPressed,
5561 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
5564 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5566 * libspi/accessible.c:
5567 Convert all AtkRole enumerations to Accessibility_Role enums when
5568 getting a role from an AtkObject.
5570 * cspi/spi_accessible.c:
5571 Complete the conversion of Accessibility_Role enums at runtime to
5572 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
5573 role enums correctly match those given in spi-roletypes.h.
5574 Re-synchronize the local names list for AccessibleRole_getName ().
5575 AccessibleRole_getName is now deprecated, since it duplicates the
5576 more reliable Accessible_getRoleName.
5577 Added some role types from Accessibility_Role.idl.
5579 * idl/Accessibility_Role.idl:
5580 Added some role types used by AtkRole.
5582 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5585 * cspi/spi_registry.c:
5587 * cspi/cspi-bonobo-listener.c:
5588 Namespaced all methods that did not begin with an "SPI_" or
5589 "Accessible" prefix to "SPI_".
5592 Homogenized internal function namespace to "cspi_" for statics.
5595 Patched tests to use the new CSPI API.
5597 * docs/reference/cspi/at-spi-cspi-sections.txt:
5598 Updated docs to reflect namespace changes, and added a number of
5599 methods to the documentation.
5601 * registryd/registry.c:
5602 Changed use of strings and string hashes in listener event
5603 matching and parse_event_string to use GQuark, which is guaranteed
5606 * registryd/registry.h:
5607 Squashed annoying warning.
5609 * idl/Accessibility_Role.idl:
5610 Extended range of available Accessibility_Role values.
5612 * cspi/spi_accessible.c:
5613 Re-ordered role names.
5615 2001-12-12 Bill Haneman <bill.haneman@sun.com>
5617 * idl/Accessibility_Value.idl:
5618 Revert use of union back to CORBA_double, since the double type is
5619 more efficient and can contain the other types without loss of
5622 * idl/Accessibility_Accessible.idl:
5623 Added method Accessibility:Accessible:getRoleName, to complement
5624 Accessibility:Accessible:getRole.
5626 * cspi/spi_accessible.c:
5628 Added C binding for above, Accessible_getRoleName (), and changed
5629 signature of Accessible_getRole () to return an AccessibleRole.
5631 * cspi/spi-roletypes.h:
5632 Changed AccessibleRole_getName to return a char * instead of a
5633 const char *. This method is now at least temporarily deprecated
5634 in favor of asking Accessibles for their RoleNames directly.
5637 Revert to match Accessibility_Value.idl;
5641 Change signature of AccessibleValue methods to use double rather
5645 * cspi/spi_accessible.c:
5646 Changed Accessible_getRole to return an AccessibleRole enum rather
5647 than a UTF-8 string. The UTF-8 string can still be obtained via
5648 AccessibleRole_getName ().
5650 * test/test-simple.c:
5651 Add test_action. Small fixup to match API change to Accessible_getRole.
5654 Bugfix for get_action_from_servant ().
5656 2001-12-11 Michael Meeks <michael@ximian.com>
5658 * libspi/libspi.h: remove registry.h and
5659 desktop.h, deviceeventcontroller.h
5661 * libspi/Makefile.am: remove registry.[ch],
5662 desktop.[ch], deviceeventcontroller.[ch]
5664 * registryd/Makefile.am: add registry.[ch],
5665 desktop.[ch], rename registryd.c to registry-main.c.
5666 add deviceeventcontroller.[ch]
5668 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5671 Replace setenv() call with putenv ().
5673 * libspi/component.c:
5674 Bugfix in AccessibleComponent_getExtents (),
5677 2001-12-11 Michael Meeks <michael@ximian.com>
5679 * libspi/image.c (impl_getImageExtents): impl.
5680 (spi_image_class_init): upd.
5683 (AccessibleImage_getImageDescription): fix daft bug
5686 * test/test-simple.c (global_listener_cb): update
5687 to only quit if not --poke
5688 (main): catch --poke.
5689 (validate_accessible): upd. dumping, call test_image
5692 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5695 * idl/Accessibility.idl: update all IDL includes.
5697 * idl/*.idl - rename to namespace - this sucks, blame
5698 mjs' bad decision for oafd.
5700 * test/test-simple.c (create_test_window): add more tests.
5701 (create_tree): split this out.
5702 (validate_accessible): bugfix.
5704 2001-12-11 Michael Meeks <michael@ximian.com>
5706 * cspi/bonobo/cspi-bonobo-listener.c:
5707 (cspi_kestroke_listener_unref),
5708 (cspi_event_listener_unref): impl. undoing previous
5709 homenous environment - for Bill.
5711 * cspi/spi_table.c (long_seq_to_array): use
5714 * cspi/spi_main.c: split out all bonoboish bits into
5717 * cspi/spi-impl.h: upd. typedefs.
5719 * cspi/spi_registry.c: update to lowlevel API,
5720 return booleans to indicate success in some places.
5722 * cspi/spi_event.c: update to lowlevel API.
5724 * cspi/bonobo/Makefile.am: add.
5726 * cspi/bonobo/cspi-lowlevel.h: add
5728 * cspi/bonobo/cspi-bonobo.c: add
5730 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5732 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5733 (SUBDIRS): add bonobo, link in the libs.
5735 * cspi/spi-util.c: kill this file.
5737 * TODO: merge in my bits.
5739 2001-12-11 Michael Meeks <michael@ximian.com>
5741 * test/test-simple.c (test_value, test_table, main):
5742 remove unused variables causing warnings.
5744 * configure.in: cleanup checks - require gail.
5746 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5749 Changed Value interface to use SValue (scalars) rather than
5750 assuming all values are floats. This allows floats, doubles,
5751 longs, shorts, and unsigned values to be manipulated.
5752 Introduced Accessibility:SValue union.
5755 Updated to use new API above, and to work correctly with GValues
5756 of different types in AtkValue.
5759 Updated to use new API above. cspi's API is as yet unchanged.
5762 Updated the Value revision action item.
5764 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5766 * test/test-simple.c:
5767 Added test_table (GtkTreeView widget in test window to follow).
5768 Un-commented test_value, added GtkRange widget.
5769 Added GtkTreeView widget with GtkListStore. It passes regression
5770 test but leaks one SPI object for some reason.
5773 Fixed bug in impl__set_currentValue.
5775 2001-12-10 Michael Meeks <michael@ximian.com>
5777 * cspi/spi_text.c: audit for exception handling,
5778 tolerating NULL object references safely etc.
5780 * cspi/spi_value.c: ditto.
5782 * cspi/spi_table.c (AccessibleTable_getSummary),
5783 (AccessibleTable_getAccessibleAt),
5784 (AccessibleTable_getRowHeader),
5785 (AccessibleTable_getColumnHeader),
5786 (AccessibleTable_getCaption): fix bugs hidden by
5788 (long_seq_to_array): impl.
5789 (AccessibleTable_getSelectedRows),
5790 (AccessibleTable_getSelectedColumns): use it.
5792 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5795 Added a TODO list (rough and short for now).
5797 * cspi/spi_hyperlink.c:
5798 * cspi/spi_hypertext.c:
5799 Fixed macro name typos, and remove use of obsolete macro in
5800 AccessibleHyperlink_getLink.
5802 * cspi/spi_action.c:
5803 * cspi/spi_accessible.c:
5804 * cspi/spi_application.c:
5805 * cspi/spi_component.c:
5806 * cspi/spi_selection.c:
5809 Documentation fixes (removed return values from ref/unref methods).
5811 2001-12-10 Michael Meeks <michael@ximian.com>
5813 * cspi/spi_action.c: audit for exception handling,
5814 tolerating NULL object references safely etc.
5816 * cspi/spi_accessible.c: ditto.
5818 * cspi/spi_component.c: ditto.
5820 * cspi/spi_editabletext.c: ditto.
5822 * cspi/spi_hyperlink.c: ditto.
5824 * cspi/spi_hypertext.c: ditto.
5826 * cspi/spi_image.c: ditto.
5828 * cspi/spi_selection.c: ditto.
5830 2001-12-10 Michael Meeks <michael@ximian.com>
5832 * configure.in: use cspi/libspi.pc.in instead.
5834 * Makefile.am (pkgconfig_DATA): upd. to match.
5836 * test/simple-at.c (report_focus_event): kill hacks around
5837 bad return values, use putenv not setenv
5839 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5840 fire ChildGone - I killed it.
5842 * libspi/component.c
5843 (impl_accessibility_component_get_extents): remove
5846 * idl/Accessible.idl: kill ChildGone exception.
5848 * cspi/*.[ch]: kill int return from ref / unref.
5850 * cspi/spi_main.c (cspi_object_add_check): fold into
5851 (cspi_object_add): here.
5853 * cspi/spi_component.c (AccessibleComponent_getExtents):
5854 handle exceptions elegantly.
5856 * cspi/spi-private.h (cspi_check_ev_return),
5857 (cspi_return_if_fail): impl.
5859 * cspi/spi_accessible.c: use extensively.
5860 (AccessibleStateSet_equals): add direct compare check.
5862 * cspi/spi_selection.c: tolerate NULL objs, and check
5863 exceptions before return.
5865 * cspi/spi-util.c (cspi_warn_ev): rename to
5866 (cspi_check_ev): this & don't pass ev in; no point.
5868 2001-12-10 Michael Meeks <michael@ximian.com>
5870 * test/test-simple.c: use putenv not setenv
5871 (get_environment_vars): more chatty if you're not using
5874 * test/simple-at.c: do the setenv so more people see the
5877 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5879 * libspi/registry.c:
5880 Changed check of CORBA_environment on notification to be a warning
5881 instead of an error for the moment, since we can recover from this
5882 error when caused by a queued notification from a dead app.
5885 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5886 used by all current implementors of AtkValue), and coerce to
5887 CORBA_float. (Proper general case fix may require change to Value.idl).
5889 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5893 * cspi/spi_accessible.c:
5894 Documentation fixes: added user_data params to documentation for
5895 listeners and callbacks.
5897 * cspi/spi_accessible.c:
5898 Changed AccessibleStateSet_compare to return a
5899 StateSet rather than return the difference set into a third parameter.
5902 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5905 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5906 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5910 Remove subdirectory po from SUBDIRS for now.
5912 * at-bridge/bridge.c:
5913 Beefed up a couple of debug printouts.
5914 One-line fix for signal notification name formatting.
5916 * libspi/accessible.c:
5917 Added assertion to spi_accessible_new ().
5919 * libspi/application.c:
5920 Put #ifdef qualifiers around a printf.
5923 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5925 * registryd/Makefile.am:
5927 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5928 INTLTOOL_SERVER_RULE macro.
5931 Added an event listener for several ATK signals, for
5932 testing and debugging. Removed a few g_warnings.
5933 Added test output if focussed item implements the Value interface.
5935 * test/test-simple.c:
5936 Added test_value () function (known not to pass at the moment, so
5937 not actually called yet.
5939 2001-12-08 Michael Meeks <michael@ximian.com>
5941 * at-bridge/bridge.c (bridge_focus_tracker),
5942 (emit_eventv): fix the same ref. leak.
5943 (register_atk_event_listeners): don't leak.
5945 * cspi/spi-listener-impl.c (cspi_event): more
5946 protection from client code.
5948 * test/test-simple.c (test_desktop): unref the app.
5950 * test/Makefile.am: upd. TESTS.
5952 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5954 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5956 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5958 * cspi/spi_registry.c: constify in strings.
5959 (deregisterGlobalEventListenerAll): don't release the ref.
5961 * cspi/spi.h: start removing redundant / conflicting
5962 gtkdoc comments, making the API readable at a glance :-)
5964 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5966 * test/keysynth-demo.c (keysynth_exit, main): upd.
5968 * test/simple-at.c (main, simple_at_exit): upd.
5970 * test/test-simple.c (unutterable_horror): kill.
5971 (utterable_normal_derefs): kill.
5972 (main): upd & do a setenv before gtk_init, so that we
5973 can use memprof - and to save the pain of remembering
5974 this, if we're running under memprof - don't exit.
5976 * cspi/spi_main.c (SPI_exit): return exit status
5978 (SPI_event_quit): impl.
5979 (SPI_event_main): simplify.
5980 (cspi_is_gnome_app): kill.
5981 (SPI_init): kill isGNOMEapp arg.
5983 * at-bridge/bridge.c (register_atk_event_listeners):
5984 re-instate the unref.
5985 (bridge_exit_func): don't re-activate the registry,
5986 protect vs. theoretical re-entry, use the
5987 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5988 assert a clean shutdown - for regression tests.
5990 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5992 * configure.in: Comment out dummy i18n support for now,
5993 otherwise it fails to build.
5994 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5995 EXTRA_DIST. They are missing in tarball.
5997 2001-12-07 Michael Meeks <michael@ximian.com>
5999 * util/magnifier.c: kill bonobo activation reg. race.
6001 * libspi/component.c
6002 (impl_accessibility_component_get_extents): make it match
6005 * libspi/registry.c (_registry_notify_listeners):
6006 re-remove X headers & reconcile conflicts.
6007 (spi_listener_struct_free): bad conflict resolve.
6008 (impl_accessibility_registry_register_application):
6009 more bad merging fixed.
6010 (impl_accessibility_registry_deregister_application): ditto.
6011 (spi_registry_new): ditto.
6012 (spi_registry_init): don't have an applications field.
6014 [ merge fixups2 branch to here ]
6015 2001-12-07 Michael Meeks <michael@ximian.com>
6017 * test/simple-at.c (report_focus_event),
6018 (report_focussed_accessible): remove g_warning debug.
6020 2001-12-07 Michael Meeks <michael@ximian.com>
6022 * test/test-simple.c (validate_tree): comment out some checks.
6023 (test_desktop): app now not registered idly - horay.
6025 2001-12-07 Michael Meeks <michael@ximian.com>
6027 * cspi/spi_registry.c
6028 (registerAccessibleKeystrokeListener): clean, stop it leaking
6029 great swathes of memory, and device event controller references.
6030 ensure we always pass valid sequences.
6031 (deregisterAccessibleKeystrokeListener): ditto.
6032 (generateKeyEvent): upd.
6034 * at-bridge/bridge.c (bridge_key_listener): handle
6035 registry dead exception gracefully.
6036 (bridge_focus_tracker, emit_eventv): free ev.
6038 * test/simple-at.c (report_focus_event): fix polarity.
6040 * libspi/application.c (notify_listeners): kill the ev
6041 argument, and make sure we init the ev we use.
6042 (spi_application_object_event_listener): split out a chunk
6043 (get_atk_object_ref): here & fixup.
6044 (reverse_lookup_name_for_toolkit_event): make const.
6045 (spi_application_toolkit_event_listener): fixup, kill leaks
6048 * at-bridge/bridge.c (register_atk_event_listeners):
6049 don't unref the noop object - causes grief.
6051 * libspi/registry.c: remove the X headers.
6052 turn off the debug churn.
6054 * libspi/accessible.c (spi_accessible_new_return): only
6055 release the ref if we are supposed to [doh]
6057 * test/simple-at.c (report_button_press, report_focus_event):
6058 guard vs. unexpected exit.
6060 * at-bridge/bridge.c (gtk_module_init): prune printf.
6061 (bridge_exit_func): fix app unref.
6063 * libspi/Makefile.am: don't install registry or desktop.h
6065 * libspi/*.h: update includes.
6067 * libspi/application.h: don't include ourself, or
6068 other redundant headers.
6070 2001-12-06 Michael Meeks <michael@ximian.com>
6072 * libspi/accessible.c
6073 (get_accessible_from_servant): impl.
6074 Upd. all CORBA impl.s to use it killing cut and paste.
6076 * cspi/spi_main.c (cspi_cleanup): guard vs. double
6078 (SPI_init): register atexit cleanup handler here.
6080 2001-12-06 Michael Meeks <michael@ximian.com>
6082 * at-bridge/bridge.c (gtk_module_init): g_error on
6083 activation exception
6085 2001-12-06 Michael Meeks <michael@ximian.com>
6087 * at-bridge/bridge.c (gtk_module_init): some sort of
6088 confusing merge clash - reverted.
6089 (bridge_idle_init): ditto.
6091 * test/test-simple.c (main, utterable_normal_derefs):
6092 merge from Bill - somehow not committed.
6094 2001-12-06 Michael Meeks <michael@ximian.com>
6096 * libspi/value.c (spi_value_class_init): upd.
6097 (spi_value_finalize): kill.
6099 * libspi/table.c (spi_table_finalize): kill.
6100 (spi_table_interface_new): upd.
6101 (spi_table_class_init): upd.
6102 (get_table_from_servant): impl.
6103 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6105 * libspi/selection.c (spi_selection_finalize): kill.
6106 (spi_selection_interface_new): upd.
6107 (spi_selection_class_init): upd.
6108 (get_selection_from_servant): impl.
6109 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6111 * libspi/relation.c (spi_relation_finalize): kill.
6112 (spi_relation_class_init, spi_relation_new): upd
6114 * libspi/image.c (spi_image_finalize): kill.
6115 (spi_image_class_init): upd.
6116 (spi_image_interface_new): upd.
6117 (get_image_from_servant): impl.
6118 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6120 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
6121 (spi_hyperlink_finalize): kill.
6122 (spi_hyperlink_new): upd.
6123 (get_hyperlink_from_servant): impl.
6124 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6126 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
6127 (spi_hypertext_finalize): kill.
6128 (spi_hypertext_class_init): upd.
6129 (get_hypertext_from_servant): impl.
6130 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6132 * libspi/editabletext.c (spi_editable_text_finalize): kill.
6133 (spi_editable_text_interface_new): upd.
6134 (get_editable_text_from_servant): impl.
6135 Upd. all CORBA impl.s to use it killing yet more cut and paste.
6137 * libspi/text.c (get_text_from_servant): impl.
6138 All impls - update to use it killing more cut and paste,
6139 also fix bad string returns on duff args ( a somewhat
6140 impossible case to handle - but hey ).
6141 (spi_text_construct): impl.
6142 (spi_text_interface_new): upd.
6143 (spi_text_object_finalize): kill.
6145 * libspi/component.c
6146 (accessibility_component_object_finalize): kill.
6147 (spi_component_class_init): upd.
6148 (get_component_from_servant): impl. helper to kill cut & paste.
6149 (impl_accessibility_component_contains):
6150 (impl_accessibility_component_get_accessible_at_point):
6151 (impl_accessibility_component_get_position):
6152 (impl_accessibility_component_get_extents):
6153 (impl_accessibility_component_get_mdi_z_order):
6154 (impl_accessibility_component_get_layer):
6155 (spi_component_interface_new): upd.
6157 * libspi/action.c (spi_action_finalize): kill.
6158 (spi_action_class_init): upd. inherit from SpiObject.
6159 (spi_action_interface_new): upd.
6160 (get_action_from_servant): impl. helper to reduce cut & paste.
6161 (impl_getKeyBinding, impl_getName, impl_doAction),
6162 (impl_getDescription): Use it everywhere.
6164 * cspi/spi_main.c (get_live_refs): a pointer hash.
6165 (spi_object_hash, spi_object_equal): comment out.
6166 There are issues with CORBA object hashing that need
6169 * libspi/application.c (spi_application_init),
6170 (spi_application_new): upd.
6172 * libspi/accessible.c (spi_accessible_object_finalize): kill.
6173 (spi_accessible_class_init): upd.
6174 s/accessible/object/ in epv methods.
6176 2001-12-05 Bill Haneman <bill.haneman@sun.com>
6178 * at-bridge/bridge.c:
6179 Reorder the bridge initialization into the bridge gtk_module_init,
6180 an immediate call to bridge_register_app, and an idle_add for
6181 register_atk_event_listeners (the only code that *must* wait until
6182 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
6183 the activation, creates the application's Accessible object, and
6184 queues the bridge_idle_init function. Restored call to
6185 Accessibility_Registry_deregisterApplication().
6186 Prior to making this call we obtain a new reference to the
6187 registry, which is a temporary hack that helps us handle apps that
6188 shut down the bonobo mainloop before we get there.
6190 * libspi/registry.c:
6191 Fix string leakage in debug block, and don't segv if a an app
6192 dies before its event notifications have been propagated.
6195 Modify cspi_check_ev() to call g_warning() rather than g_error(),
6196 as stopgap measure until we get proper exception handling when
6197 objects die during or before interrogation.
6201 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
6202 Also changed default value of is_gnome_app to TRUE.
6205 * test/keysynth-demo.c:
6206 Changed use of SPI_init and SPI_event_main to reflect API change above.
6209 Made report_focus_event check the warning value from getName
6210 before reporting on focussed accessible; simplifies handling of
6211 notifications from dead objects.
6213 * test/test-simple.c: (Changes not in this patch since source is
6216 2001-12-05 Michael Meeks <michael@ximian.com>
6218 * registryd/registryd.c (main): protect against
6219 bonobo-activation startup race condition.
6221 * cspi/spi_main.c (cspi_object_add_check): cope
6222 with the exception elegantly.
6224 * idl/Accessible.idl: decl. ChildGone
6226 * libspi/desktop.c (spi_desktop_dispose): impl.
6227 (spi_desktop_class_init): upd.
6228 (spi_desktop_add_application),
6229 (spi_desktop_remove_application),
6230 (abnormal_application_termination): impl.
6231 (impl_desktop_get_child_at_index): re-impl.
6234 (impl_accessibility_registry_deregister_application),
6235 (impl_accessibility_registry_register_application):
6236 kill excessive debug clutter.
6238 * test/test-simple.c (test_misc): test some NULL
6239 tolerance. (main): upd.
6241 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
6242 implements no interfaces - so let's not crash.
6244 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
6246 * libspi/accessible.c (spi_accessible_new_return): impl.
6247 helper to calm the cut and paste, to cope with
6248 NULL AtkObjects effectively and efficiently, and to kill
6249 the referencing bugs.
6251 * libspi/table.c (impl_getAccessibleAt),
6252 (impl_getRowHeader, impl_getColumnHeader): upd.
6254 * libspi/hyperlink.c (impl_getObject): upd.
6256 * libspi/accessible.c
6257 (impl_accessibility_accessible_get_child_at_index): upd.
6259 * libspi/component.c
6260 (impl_accessibility_component_get_accessible_at_point): upd.
6262 * test/test-simple.c (test_editable_text, test_text): impl.
6265 * cspi/spi_editabletext.c
6266 (AccessibleEditableText_insertText): constify.
6268 * test/test-simple.c (focus_me): make more robust.
6270 * libspi/accessible.c: remove some printfs in methods that
6271 we test and work fine, so we can get a clean tree dump.
6273 * test/test-simple.c (validate_accessible),
6274 (validate_tree): make tree dumping pretty too.
6276 * at-bridge/bridge.c (bridge_signal_listener): upd. so
6277 it builds without debug on.
6279 * test/test-simple.c (validate_accessible): fix the most
6282 * cspi/spi_main.c (spi_object_release): leave the nicely
6283 blanked memory around if in debug mode.
6285 * cspi/spi-listener-impl.c (cspi_event): use add_check.
6287 [committed to fixups2]
6288 2001-12-05 Michael Meeks <michael@ximian.com>
6290 * libspi/editabletext.c
6291 (spi_editable_text_class_init): g_type_class_peek_parent,
6292 not interface peek - so we finalize cleanly.
6294 * libspi/accessible.c (spi_accessible_new): kill debug.
6296 * test/test-simple.c (validate_accessible): fix ref.
6297 leak, print strings before freeing them; sigh, comment a
6298 chunk out due to strangeness.
6299 (validate_tree): unref the child after use.
6301 * cspi/spi_component.c (AccessibleComponent_getLayer):
6302 add missing break statement, switch on zlayer not the
6303 uninitialized retval.
6305 * cspi/spi_main.c (cspi_object_add): add assert, local ref
6306 before (possibly re-entering) remote unref.
6308 * test/simple-at.c (main): unref the desktop.
6310 * cspi/spi_accessible.c (cspi_accessible_is_a): move
6313 * cspi/spi_main.c (cspi_accessible_is_a): here to
6314 isolate bonobo API usage more.
6316 * libspi/registry.c (impl_accessibility_registry_register_application):
6317 prune bogus comment.
6319 2001-12-04 Michael Meeks <michael@ximian.com>
6321 * test/test-simple.c (validate_tree): upd.
6322 IndexInParent check to make it more lucid.
6323 (validate_accessible): dump the tree.
6325 * libspi/accessible.c (de_register_public_ref),
6326 (get_public_refs): impl.
6327 (spi_accessible_new): make more efficient & intuitive.
6328 Now IndexInParent check works.
6330 2001-12-04 Michael Meeks <michael@ximian.com>
6332 * cspi/spi-util.h: remove.
6334 * cspi/spi.h: move SPI_freeString here
6336 * libspi/component.c (impl_accessibility_component_get_layer):
6338 (impl_accessibility_component_get_mdi_z_order): ditto,
6339 return -1 on error - is this ok ?
6341 * test/test-simple.c (test_application): impl.
6343 * cspi/spi_accessible.c (Accessible_getApplication),
6344 (Accessible_isApplication): impl.
6346 * libspi/registry.c (spi_listener_struct_free): release
6347 the CORBA reference too.
6349 * libspi/accessible.c
6350 (impl_accessibility_accessible_get_parent): fix ref leak.
6352 * libspi/registry.c (spi_registry_new): make the registry
6353 immortal - we don't want it to go away ever.
6355 * libspi/application.c
6356 (spi_accessible_application_finalize): impl. cleanup.
6358 * cspi/spi_registry.c
6359 (deregisterGlobalEventListenerAll),
6360 (deregisterGlobalEventListener),
6361 (deregisterAccessibleKeystrokeListener): fix ref leak.
6363 * cspi/spi_main.c (SPI_init): remove redundant ref.
6365 * test/test-simple.c (unutterable_horror): impl. to force a
6370 (impl_accessibility_registry_deregister_application): release
6371 the application when we de-register it.
6373 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
6374 until we have the infastructure to get it right.
6376 2001-12-03 Michael Meeks <michael@ximian.com>
6378 * libspi/Makefile.am: only build eventlistener.[ch]
6380 * libspi/accessible.c
6381 (impl_accessibility_accessible_get_child_at_index): don't leak.
6383 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
6384 before we hit the idle handler.
6386 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
6387 debugging than exit.
6389 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
6391 * libspi/listener.c (impl_notify_event): check source
6392 not NIL before unref.
6394 * libspi/registry.c (impl_registry_notify_event): ditto.
6396 * libspi/eventlistener.c
6397 (impl_accessible_event_notify_event): unref the source.
6399 * libspi/accessibleeventlistener.c
6400 (impl_accessible_event_notify_event): unref the source.
6402 * idl/Event.idl: remove 'hash_id' attribute - of no
6405 * libspi/application.c (notify_listeners): upd list
6407 (spi_application_object_event_listener),
6408 (spi_application_toolkit_event_listener): upd to do correct
6412 (_registry_notify_listeners): update.
6413 (parse_event_type): this method also leaks like a sieve.
6414 (impl_accessibility_registry_deregister_global_event_listener):
6415 fix ETYPE_WINDOW case.
6417 * libspi/application.c
6418 (impl_accessibility_application_register_object_event_listener):
6421 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
6423 * libspi/hypertext.c (impl_getLink): ditto.
6425 * cspi/spi_main.c (cspi_object_add): remove
6426 bogus CORBA_Object_duplicate.
6428 * cspi/spi-listener-impl.c (cspi_event): dup/ref
6431 * cspi/spi_accessible.c
6432 (Accessible_getRelationSet): fix leak / referencing issue.
6434 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
6435 (cspi_object_add, cspi_object_unref): upd.
6436 (spi_object_release, get_live_refs): impl.
6437 (cspi_cleanup): simplify.
6439 * *.[ch]: s/boolean/SpiBoolean/
6441 * cspi/spi_accessible.c (role_names): actualy order so it
6442 corresponds with the enum !
6444 * test/test-simple.c (test_roles): check some role strings
6445 vs. enums to detect offset errors.
6447 2001-12-01 Michael Meeks <michael@ximian.com>
6449 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
6451 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
6453 (Accessible_getChildAtIndex): use cspi_add_check so we
6454 check the ev before using a (possibly) invalid value.
6456 * libspi/accessible.c
6457 (impl_accessibility_accessible_get_parent): don't segv
6460 * at-bridge/bridge.c (gtk_module_init): upd.
6461 (bridge_property_event_listener): don't leak strings
6463 (bridge_state_event_listener),
6464 (bridge_property_event_listener): don't use a static
6465 buffer in case of recursive event emission &
6466 re-enterancy - split out the swathe of cut and paste
6468 (emit_eventv): and fix 2 ref leaks here & comply to the
6470 (bridge_register_app): rename to
6471 (bridge_idle_init): this and kill arg parsing, split
6472 various inits & bonobo-activation registration to module
6473 init time, kill referencing error.
6474 (bridge_exit_func): fix the same leak.
6475 (bridge_focus_tracker): don't leak event structures
6477 (bridge_signal_listener): more leakage and cut & paste
6479 (bridge_key_listener): return the result - FIXME is
6480 this polarity correct ?
6481 (accessibility_keystroke_from_atk_key_event): rename
6482 (accessibility_init_keystroke_from_atk_key_event): and stop
6484 (gtk_module_init): return a value - not that it is checked by
6486 (bridge_key_listener): register my horror at casting between
6487 IDL defined structs.
6488 (bridge_get_registry): kill - not used.
6490 * cspi/spi_accessible.c (Accessible_getRole): make return const.
6492 * test/test-simple.c (test_roles): impl.
6493 (test_desktop, validate_accessible, validate_tree): impl.
6495 * cspi/spi_accessible.c (role_names): fixup bogus
6496 MAX_ROLES setup, make constants const for efficient linkage
6497 (AccessibleRole_getName): conform to coding style, make
6500 2001-11-30 Michael Meeks <michael@ximian.com>
6502 * cspi/spi.h: add missing prototype.
6504 * libspi/registry.c (spi_listener_struct_new): fix sig.
6506 * test/Makefile.am: add test-simple
6508 * test/test-simple.c: add
6510 * test/test.sh: add.
6512 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
6514 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
6515 do it straight - since otherwise we often get an activation race.
6517 [ work before Bill duplicated a chunk of it ... ]
6518 2001-11-30 Michael Meeks <michael@ximian.com>
6520 * libspi/keystrokelistener.c
6521 (spi_keystroke_listener_class_init): fixup arg
6524 * libspi/eventlistener.c
6525 (spi_event_listener_class_init): ditto.
6527 * tests/test.sh: add.
6529 * cspi/spi-listener-impl.h: update macros.
6531 * cspi/spi-listener-impl.c
6532 (cspi_event_listener_remove_callback): add
6533 correct pre-conditions.
6535 * cspi/spi_main.c (SPI_exit): guard vs. double
6536 exits, exit the mainloop nicely.
6537 (SPI_event_main): make more sense.
6538 (SPI_init): move the atexit evilness here so we
6539 always do it (yuck).
6540 (SPI_event_main): upd.
6542 * test/simple-at.c: update for listener changes.
6544 * registryd/registryd.c (main): prune kruft.
6546 * libspi/libspi.h: upd.
6548 * libspi/eventlistener.[ch]: rename broken macros.
6550 * libspi/accessibleeventlistener.[ch]: remove.
6552 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
6554 * test/test-simple.c: Add - automated tests.
6556 * cspi/spi-listener-impl.c (cspi_event),
6557 (cspi_key_event): add user_data to invoke.
6558 (cspi_keystroke_listener_finalize): impl.
6559 (cspi_keystroke_listener_class_init): upd.
6562 (createAccessibleEventListener),
6563 (AccessibleEventListener_addCallback),
6564 (createAccessibleKeystrokeListener),
6565 (AccessibleKeystrokeListener_addCallback): upd.
6567 * libspi/deviceeventcontroller.c
6568 (spi_device_event_controller_check_key_event): add public proto.
6571 (impl_accessibility_registry_deregister_global_event_listener):
6572 always init listeners.
6573 (_registry_notify_listeners): yes it is.
6575 * cspi/spi-listener-impl.c (cspi_key_event):
6577 (cspi_event_listener_finalize): impl.
6578 (cspi_event_listener_class_init): hook up.
6579 (event_handler_new, event_handler_free),
6580 (event_list_remove_by_callback): impl.
6581 (cspi_event_listener_remove_callback),
6582 (cspi_keystroke_listener_remove_callback),
6583 (cspi_keystroke_listener_add_callback),
6584 (cspi_event_listener_add_callback): upd.
6586 * libspi/keystrokelistener.c
6587 (keystroke_listener_object_finalize): kill
6588 (spi_keystroke_listener_class_init): upd.
6589 (spi_keystroke_listener_add_callback),
6590 (spi_keystroke_listener_remove_callback): kill,
6592 (impl_key_event): prune drasticaly.
6594 * libspi/eventlistener.c
6595 (spi_event_listener_add_callback),
6596 (spi_event_listener_remove_callback): kill, use
6598 (impl_accessible_event_notify_event): upd.
6599 (spi_event_listener_object_finalize): remove.
6601 * libspi/Makefile.am: use eventlistener.[ch]
6603 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6605 * libspi/registry.c (_registry_notify_listeners):
6606 Changed listener loop iteration to use preferred convention.
6607 Got rid of string memory leaks caused be calling g_strconcat
6608 inside function calls.
6610 * libspi/registry.c (parse_event_type):
6611 Stopped g_strconcat memory leaks, free the g_strsplit return,
6612 g_strdup the split pieces when used, etc.
6614 2001-12-04 Bill Haneman <bill.haneman@sun.com>
6617 Change method 'compare' to return a 'difference set' rather than
6618 taking a StateSet as an out parameter (more Java-friendly).
6620 * idl/Accessible.idl:
6621 Added CORBA struct 'BoundingBox', to faciliate API changes below:
6623 * idl/Component.idl:
6625 Changed methods 'getExtents' and 'getImageExtents' in these
6626 interfaces to return a BoundingBox structure.
6627 (getPosition and getSize are redundant and possibly should be
6628 removed, rather than creating a corresponding Point struct.)
6630 * cspi/spi_component.c:
6631 Modify implementation of getExtents to reflect the above IDL
6636 Add (missing) AccessibleImage_getExtents () API.
6638 * docs/reference/cspi/at-spi-cspi-sections.txt:
6639 Added AccessibleImage_getImageExtents () to docs.
6641 2001-12-03 Bill Haneman <bill.haneman@sun.com>
6643 * idl/Component.idl:
6644 Added two methods, getLayer () and getMDIZOrder (), to reflect
6645 the new ATK methods atk_object_get_layer and
6646 atk_object_get_mdi_z_order. (Which arguably should be part of the
6647 AtkComponent API and AtkObject). Also added an enum,
6648 ComponentLayer, for the first method's return value.
6650 * libspi/component.c:
6651 Added implementations for these methods.
6653 * cspi/spi_component.c:
6655 Added cspi binding methods for above,
6656 AccessibleComponent_getLayer() and
6657 AccessibleComponent_getMDIZOrder().
6658 Added cspi enum 'AccessibleComponentLayer'.
6660 * docs/reference/cspi/at-spi-cspi-sections.txt:
6661 Added above methods to docs.
6665 Changed typedef for 'boolean' type (and all references to it) to
6666 SPIBoolean, to avoid keyword clashes with C++.
6669 Changed usages of 'boolean' to SPIBoolean.
6671 * test/keysynth-demo.c:
6672 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6673 app), except where SPIBoolean is required by the callbacks API.
6675 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6677 * cspi/spi_registry.c:
6678 Removed obsolete X event loop for passive keygrabs (which now
6681 * registryd/registryd.c:
6682 Removed unnecessary call to gdk_init() [cruft]. This also allows
6683 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6686 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6688 * docs/reference/cspi:
6689 Included docs for SPI_freeString in generated documentation.
6692 Renamed spi_freeString to SPI_freeString, for consistency. Added
6693 documentation for this function.
6696 Renamed spi_freeString to SPI_freeString, for consistency.
6697 Removed obsolete method declaration string_from_corba_string.
6699 * test/keysynth-demo.c:
6700 Small tweak to comments.
6703 Stopped leaking the strings returned from CSPI.
6705 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6707 Merged Michael's branch (see his ChangeLog entries below).
6709 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6710 bridge is alive, release on exit.
6712 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6713 Fix type check macro.
6716 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6719 Added is_gnome_app static, and method cspi_is_gnome_app(),
6720 so we can call the appropriate shutdown routine at exit in SPI_exit.
6722 * cspi/spi_main.c (cspi_object_ref):
6723 Duplicate the corba object passed in, since we're keeping it around.
6725 * cspi/SPI_exit.c, cspi_cleanup:
6726 Moved the releasing of the live refs to its own function, so we
6727 can put it in g_atexit (). Call the appropriate shutdown API
6728 depending on whethe calling client is a gnome app or not
6729 (bonobo_main_quit or CORBA_ORB_shutdown).
6731 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6732 Unref the listener when this method is called, after
6733 deregistration. Updated the API docs to note this behavior.
6735 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6736 Bugfixes: Ref the bonobo object when returning a parent or child
6737 reference, or an AccessibleRelation. Generally made sure
6738 BonoboObject refcount is incremented whenever we return an
6741 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6742 Fixed typo/bug in signal declaration.
6744 * libspi/accessibleeventlistener.h:
6747 * libspi/application.c (spi_application_new):
6748 Fixed leak in initialization.
6751 Remembered to increment bonobo-object refcount when returning
6752 children (applications) from desktop object.
6753 Added (empty) finalize method.
6755 * libspi/deviceeventcontroller.c:
6756 Hold a ref to listeners inside DEControllerKeyListeners.
6757 Added dec_key_listener_free() method. Use prepend instead of
6758 append in key_listener list. Fixed some refcount madness and
6759 leaks in the listener registration/deregistration - deregistration
6760 now calls dec_key_listener_free() on listeners, and on the
6761 temporarily constructed dec_key_listener() used to perform the search/match.
6763 * libspi/hypertext.c (spi_hypertest_finalize):
6764 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6765 class. Also fixed spi_hypertext_interface_new() and
6766 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6768 * libspi/hypertext.h:
6769 Removed pointless and duplicate AtkObject pointer from
6772 * libspi/keystrokelistener.c:
6773 Fixed incorrect type of keystroke_listener_parent_class,
6774 renamed keystroke_listener_object_finalize to
6775 spi_keystroke_listener_object_finalize.
6776 Fixed typo in signal declaration
6777 (spi_keystroke_listener_class_init).
6779 * libspi/registry.c:
6780 Added funcsions spi_listener_struct_new() and
6781 spi_listener_struct_free() to help with memory management issues.
6782 We also now use these methods instead of gnew + poking stuff into
6783 the struct, and to decrement listener counts/free the listeners
6784 when deregistering them.
6785 Fix more refcount bugs in getDesktop() and
6786 getDeviceEventController().
6789 De-ref the desktop after enumerating the applications. Explicitly
6790 decrement the refcounts on the created listeners on exit (using
6791 _unref for keystroke listeners, and via the
6792 deregisterGlobalEventListenerAll command for other event
6795 2001-11-27 Michael Meeks <michael@ximian.com>
6797 * cspi/spi-listener.h: fixup enum.
6799 2001-11-27 Michael Meeks <michael@ximian.com>
6801 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6802 (cspi_keystroke_listener_new): Use the cspi variants.
6804 2001-11-26 Michael Meeks <michael@ximian.com>
6806 * test/keysynth-demo.c: fix 2 compile warnings, missing
6809 * test/simple-at.c (report_focussed_accessible),
6810 (report_focus_event, report_button_press),
6811 (check_property_change, is_command_key),
6812 (report_ordinary_key_event, report_command_key_event): upd.
6814 * util/mag_client.h: include pre-requisites.
6816 * libspi/accessibleeventlistener.c
6817 (spi_event_listener_object_finalize): free any lingering
6820 * libspi/keystrokelistener.c
6821 (keystroke_listener_object_finalize): ditto.
6823 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6824 callbacks, with cspi types.
6826 * cspi/spi_event.c (createAccessibleEventListener): chain to
6827 (AccessibleEventListener_addCallback): here.
6828 (createAccessibleKeystrokeListener): chain to
6829 (AccessibleKeystrokeListener_addCallback): here.
6831 * libspi/keystrokelistener.c
6832 (spi_keystroke_listener_class_init): add signal.
6833 (impl_key_event): emit the event.
6834 (boolean_handled_accumulator): impl.
6835 (marshal_BOOLEAN__POINTER): add, gack.
6837 * libspi/accessibleeventlistener.c
6838 (spi_event_listener_class_init): add signal.
6839 (impl_accessible_event_notify_event): emit the signal &
6840 make the loop efficient.
6841 (spi_event_listener_add_callback): prepend the callback.
6843 * libspi/accessibleeventlistener.h: add an 'event' signal,
6844 decl type on callback.
6846 * libspi/keystrokelistener.h: ditto.
6848 * cspi/spi-listener.h: make methods typesafe and
6849 make them use the new event typedefs.
6851 * test/simple-at.c (report_focussed_accessible):
6852 include mag_client.h
6853 Use *(void *)text_interface not the other thing.
6855 * configure.in: add gtk to registryd bits - since we use
6858 * util/magnifier.c: include libbonobo.h
6860 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6862 * test/keysynth-demo.c:
6863 Turned this into a simple scanning keyboard, to demonstrate the
6864 use of g_timeout_add () as a means of creating timers for
6865 scanning, and the use of GtkStyle for visually indicating when
6866 virtual keyboard elements are selected.
6868 keysynth-demo now listens to any keyboard keys with zero-valued
6869 keycodes (i.e. 'unused' keys) and interprets them as
6872 Reworked the shiftlatch code so that shift-down state isn't held
6873 for long periods (it's only synthesized immediately prior to
6874 the keysynth event it's modifying). Note that shiftlatch in this
6875 demo is a convenience, not intended to take the place of AccessX
6876 which is the better choice for getting 'sticky' modifier keys.
6878 * libspi/deviceeventcontroller.c:
6879 * at-bridge/bridge.c:
6880 * cspi/spi_registry.c:
6881 Removed some debug print stuff, and put other verbosity in #ifdef
6886 Implemented some more of the magnifier IDL for the simple
6887 magnifier: namely, getZoomRegionParams.
6888 Added mag_x and mag_y members to MagnifierData struct, aid of this
6890 Added GtkWindow::realize signal handler to magnifier, to keep it
6891 from receiving keyboard focus from the WM.
6893 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6895 * cspi/spi-private.h: my guess at what michael forgot
6896 before he ran off to NZ :-)
6898 2001-11-23 Michael Meeks <michael@ximian.com>
6900 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6901 comment out non existant method invoke so we link.
6903 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6904 use bonobo_exception_get_text for more friendly warnings.
6906 * cspi/spi.c (Obj_Add): move into spi_main & rename
6907 spi_object_add; kill spi.c
6909 * cspi/spi_registry.c
6910 (deregisterGlobalEventListener),
6911 (deregisterGlobalEventListenerAll),
6912 (registerGlobalEventListener): fix exception leaks.
6914 * cspi/spi_main.c (spi_exception): impl. helper, so we
6915 don't leak exceptions.
6917 * cspi/spi_selection.c
6918 (AccessibleSelection_deselectSelectedChild): return the
6921 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6922 (spi_registry): ditto.
6923 (SPI_init): guard against double inits.
6925 * cspi/*.c: use spi_ev (), and spi_registry () where
6926 appropriate - a temporary hack until we have something
6927 better. Use spi_object_add
6929 2001-11-22 Michael Meeks <michael@ximian.com>
6931 * cspi/Makefile.am: re organise, install the headers.
6933 * cspi/*.h: add G_BEGIN/END_DECLS
6935 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6938 Added non-preemptive keylistener for key events with no modifiers
6939 and shift-only modifier.
6941 * libspi/keystrokelistener.c:
6942 Removed some verbose diagnostics printout.
6944 * cspi/spi_registry.c:
6945 Fixed a bug that caused all key listeners to be registered as
6948 * libspi/deviceeventcontroller.c:
6949 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6950 for non-preemptive key masks.
6953 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6955 * docs/reference/idl/at-spi-idl-docs.sgml:
6956 * docs/reference/idl/at-spi-idl-sections.txt:
6957 * docs/reference/idl/at-spi-idl-overrides.txt:
6958 Added missing files.
6960 * docs/reference/Makefile.am:
6961 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6962 to scan the IDL files :-(
6967 Added .cvsignore files.
6969 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6971 * libspi/deviceeventcontroller.c:
6972 * libspi/keystrokelistener.c:
6974 * cspi/spi_registry.c:
6975 Added filters for KeySets, KeyEventSeq, and event types to key
6976 event dispatching, so listeners should only receive those events
6977 that they requested :-)
6979 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6984 * docs/reference:Makefile.am:
6985 * docs/reference/cspi:
6986 * docs/reference/cspi:Makefile.am:
6987 * docs/reference/cspi:tmpl:
6988 * docs/reference/cspi:tmpl:*.sgml:
6989 * docs/reference/idl:
6990 * docs/reference/idl:Makefile.am:
6991 * docs/reference/idl:at-spi-idl-sections.txt:
6992 * docs/reference/idl:at-spi-idl-docs.sgml:
6993 * docs/reference/idl:tmpl:
6994 * docs/reference/idl:tmpl:*.sgml:
6996 Restructured docs directory to allow separate 'reference' docs
6997 section, and forked idl and cspi docs. Added the sgml template
6998 files to CVS. Added the first sections/structural sgml for the
7001 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
7003 * configure.in, libspi/Makefile.am: find libXtst.
7005 2001-11-21 Michael Meeks <michael@ximian.com>
7007 * test/accessx-gui.c: s/spi_value/value/ - doh.
7009 * libspi/base.[ch]: add.
7011 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7013 * idl/Accessible.idl:
7014 * idl/Application.idl:
7017 Started gtk-doc cleanup on IDL.
7019 * libspi/deviceeventcontroller.c:
7020 Added and connected non-preemptive key notification from the
7021 toolkits (in addition to the pre-emptive support from XServer
7022 which we had before, but which causes 'focus flashing'). Filters
7023 are presently limited to key modifiers and global/non-global,
7024 KeySets are presently ignored, as are KeyEvent masks.
7026 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
7027 structs into the persistant structure rather than just storing
7028 pointers to things that might not persist across servant
7031 The XGrabKey call now does async keygrabs, because synchronous
7032 ones were deadlocking with GDK_event code in a very nasty way.
7034 Added boolean to internal method notify_keylisteners, to indicate
7035 whether the event came from the 'toolkit source' or the 'global
7036 (XServer) source' - this is used in the notification process to
7037 determine which listeners to send the event to.
7039 deviceeventcontroller.c is now warning-free.
7041 * libspi/registry.c:
7042 Fixed regression in application de-registration.
7043 Also fixed some really brain-dead weirdness having to do with
7044 event dispatching - event structs are now duplicated before being
7045 re-marshalled in the dispatch to listeners. This also fixes a
7046 Solaris build problem.
7049 2001-11-20 Michael Meeks <michael@ximian.com>
7052 (impl_accessibility_registry_deregister_global_event_listener):
7055 * libspi/deviceeventcontroller.c
7056 (spi_device_event_controller_check_key_event): return
7057 FALSE on no virtual method.
7059 * libspi/*..h: make includes work on a correctly pathed install.
7061 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
7063 * libspi/application.h: kill unused ( and whacked out )
7064 gboolean *spi_application_set_id (AtkObject *app, long id);
7066 2001-11-20 Michael Meeks <michael@ximian.com>
7068 * libspi/*.[ch]: further convert to bonobo's type func
7069 macros, remove redundnant casts etc.
7071 * libspi/text.c s/accessibility_text/spi_text/g,
7072 re-order to de-cruft.
7074 * libspi/hypertext.c: re-order to kill a huge slew
7075 of redundant forward decls.
7077 * libspi/relation.c: ditto.
7079 * libspi/image.c: ditto.
7081 * */.cvsignore: update
7083 2001-11-20 Michael Meeks <michael@ximian.com>
7085 * libspi/deviceeventcontroller.c
7086 (_controller_register_with_devices): use g_getenv,
7087 kill stdlib.h include.
7089 * libspi/keystrokelistener.c
7090 (spi_keystroke_listener_get_type): kill
7091 (spi_keystroke_listener_class_init),
7092 (spi_keystroke_listener_init): rename to this.
7094 * libspi/text.c (impl_getAttributes): fix warning / bug.
7096 * libspi/*.[ch]: more headers, includes and over commenting.
7098 2001-11-20 Michael Meeks <michael@ximian.com>
7100 * libspi/*.[ch]: fixup headers, includes and over commenting.
7102 * libspi/image.c (impl__get_imageDescription): const
7103 correctness warning fix. remove redundant casting.
7105 * libspi/table.c (impl_getRowDescription): ditto.
7106 (impl_getColumnDescription): ditto.
7108 * libspi/libspi.h: add.
7110 2001-11-19 Michael Meeks <michael@ximian.com>
7112 * libspi/editabletext.c (impl_setAttributes): fix warnings.
7114 * libspi/component.c (accessibility_component_get_type):
7115 rename to (spi_component_get_type): and macroify.
7116 (accessibility_component_init): rename to
7117 (spi_component_init): this
7118 (accessibility_component_class_init): rename to
7119 (spi_component_class_init): this
7121 * libspi/action.c (spi_action_get_type): kill, use the macro.
7123 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
7126 * libspi/application.c (spi_application_object_event_listener),
7127 (impl_accessibility_application_register_object_event_listener):
7128 warning fixes / const understanding updates.
7130 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
7133 2001-11-18 Bill Haneman <bill.haneman@sun.com>
7135 * libspi/spi_accessible.c: Added docs and C bindings for
7136 AccessibleStateSet. (No implementations yet). Documentation
7137 coverage for C bindings now 100%. Made docs for event listeners
7142 boolean notifyListenersSync (in DeviceEventListener listener,
7143 in DeviceEvent event);
7145 oneway void notifyListenersAsync (in DeviceEventListener listener,
7146 in DeviceEvent event);
7148 Added DeviceEventListener and DeviceEvent structs (may deprecate
7149 KeyStroke and KeystrokeListener in favor of this generic
7150 event/listener framework for devices).
7152 * libspi/deviceeventcontroller.c:
7154 Changed some key listener code to take masks, etc., and paved the
7155 way for integration of toolkit/non-preemptive key events. Changed
7156 signatures of some internal methods.
7158 * at-bridge/bridge.c:
7159 Fixed regression connecting to interface signals, apparently
7160 caused by GTK+ changes.
7162 Added an internal bridge_state_listener to deal with
7163 property-change:accessible-state signals.
7165 Changed the key_listeners GList to store structs (including masks,
7166 etc.) instead of just CORBA_Objects (required for full
7167 implementation of key listener API).
7169 Connected the bridge to all currently supported Atk signals.
7170 Events now supported:
7171 object:property-change
7172 object:property-change:accessible-name
7173 object:property-change:accessible-state
7174 object:property-change:accessible-description
7175 object:property-change:accessible-parent
7176 object:property-change:accessible-value
7177 object:property-change:accessible-role
7178 object:property-change:accessible-table-caption
7179 object:property-change:accessible-table-column-description
7180 object:property-change:accessible-table-column-header
7181 object:property-change:accessible-table-row-description
7182 object:property-change:accessible-table-row-header
7183 object:property-change:accessible-table-summary
7184 object:children-changed
7185 object:visible-data-changed
7186 object:selection-changed
7187 object:text-selection-changed
7189 object:text-caret-moved
7191 object:row-reordered
7193 object:column-inserted
7194 object:column-reordered
7195 object:column-deleted
7196 object:model-changed
7198 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7200 * libspi/hyperlink.c,h:
7201 Fixed some broken stuff in hyperlink.
7203 * libspi/relation.h:
7204 * libspi/relation.c:
7205 * cspi/spi_accessible.c:
7206 Initial implementations of AccessibleRelation methods, and docs.
7208 * libspi/accessible.c:
7209 Fixed a bug that caused SEGV if an accessible
7210 object's description is NULL, and a client
7211 requests it. An empty string is now returned.
7213 * cspi/spi_editabletext.c:
7214 * cspi/spi_hypertext.c:
7216 * cspi/spi_hyperlink.c:
7220 Doc coverage now 95%.
7222 2001-11-16 Bill Haneman <bill.haneman@sun.com>
7224 One last namespacing revision:
7225 * libspi/accessibleeventlistener.[ch]:
7226 Renamed SpiAccessibleEventListener to SpiEventListener,
7227 (no need for two namespaces ;-)
7229 And lots of documentation fixes:
7231 * docs/at-spi-docs.sgml:
7232 Fixed 'underscore vs. hyphen' bug that was preventing
7233 the gtk-doc API docs from being automatically generated.
7236 * cspi/spi-listener.h
7238 * cspi/spi_accessible.c
7240 * cspi/spi_application.c
7241 * cspi/spi_component.c
7242 * cspi/spi_editabletext.c
7244 * cspi/spi_hypertext.c
7246 * cspi/spi_registry.c
7247 * cspi/spi_selection.c
7251 * docs/at-spi-docs.sgml
7252 * docs/at-spi-sections.txt
7254 Added and fixed up gtk-doc documentation in cspi.
7256 Interfaces now (fully) documented (subject to revision and enhancement):
7258 Event Listener Support
7260 AccessibleApplication
7264 AccessibleEditableText
7271 AccessibleRelationSet
7276 2001-11-14 Bill Haneman <bill.haneman@sun.com>
7278 * at-bridge/bridge.c:
7279 Initial work for toolkit-level key snooper connection by bridge.
7284 New typedefs and fixes to support new namespacing, and cleaner
7285 separation of cspi bindings from libspi bonobo implementation.
7286 Removed inconsistent and extraneous Spi* namespace prefix that
7287 had crept into cspi headers.
7288 Lots of comment fixes that sed had missed.
7290 * cspi/spi-roletypes.h:
7291 * cspi/spi-statetypes.h:
7292 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
7293 to AccessibleRoleType.
7295 * libspi/accessibleeventlistener.h:
7296 Fixed minor namespacing weirdness.
7298 * libspi/deviceeventcontroller.c:
7299 Reordered some internal API for device listeners.
7300 Changed the key registry final boolean to 'is_system_global'
7301 rather than 'is_synchronous', which is more descriptive of its
7303 Added spi_device_event_controller_new().
7304 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
7306 * libspi/keystrokelistener.[ch]:
7307 Namespaced KeystrokeListener to SpiKeystrokeListener.
7308 Changed uses of keymasks to use SPI_ prefix, and did other
7311 * libspi/keymasks.h:
7312 Namespaced keymask constants with SPI_ prefix.
7314 * libspi/registry.c:
7315 Some warning fixes, and knock-on fixes from namespace changes.
7318 Added rules for accessx-gui test program.
7320 * test/accessx-gui.c:
7321 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
7322 utility. It doesn't actually use at-spi, but it's still cool and
7325 * test/keysynth-demo.c:
7329 Fixes so that these test clients work properly with the namespaced
7330 libraries. (Incompletely tested for technical reasons, fixes may follow)
7333 2001-11-13 Michael Meeks <michael@ximian.com>
7335 * libspi/application.c
7336 (impl_accessibility_application_get_version),
7337 (impl_accessibility_application_get_toolkit_name):
7339 (impl_accessibility_application_set_id),
7340 (impl_accessibility_application_get_id): remove
7341 redundant casting code.
7343 * libspi/action.c (impl_getDescription): fix warnings.
7345 * libspi/accessible.c
7346 (impl_accessibility_accessible_get_parent),
7347 (impl_accessibility_accessible_get_child_at_index),
7348 (impl_accessibility_accessible_get_state),
7349 (impl_accessibility_accessible_get_relation_set):
7350 warning fixes & include action.h
7352 2001-11-13 Michael Meeks <michael@ximian.com>
7354 * *.[ch] fix bits I screwed up:
7356 s/([^ \tb(\*\&\?\",])spi_/\1/g;
7357 s/([^ \tb(\*\&\?\",])Spi/\1/g;
7359 2001-11-13 Michael Meeks <michael@ximian.com>
7361 * *.[ch] Namespace libspi into spi_ and Spi.
7363 2001-13-11 Michael Meeks <michael@ximian.com>
7365 * Makefile.am: dist & install at-spi-1.0.pc
7367 * libspi/Makefile.am: install into at-spi-1.0
7369 * idl/Makefile.am (idldir): install into at-spi-1.0
7371 * at-spi-1.0.pc.in: add.
7373 * configure.in: build it.
7375 2001-11-12 Bill Haneman <bill.haneman@sun.com>
7377 * test/keysynth-demo.c:
7378 Use a 'realize' signal-handler to set the WM properties for
7379 the virtual keyboard, rather than making it a "POPUP" type
7380 override-redirect window (thanks to anders carlsson for that
7383 2001-11-11 Bill Haneman <bill.haneman@sun.com>
7386 * test/keysynth-demo.c:
7387 Added new test of key synthesis, which creates a simple
7388 (mouse-operated) onscreen keyboard. It inserts key events into
7389 the currently-focused window, thus it does not grab keyboard focus
7392 * cspi/spi_registry.c:
7393 Added C binding for AT-SPI generateKeyEvent.
7395 * libspi/deviceeventcontroller.c:
7396 Added call to XFilterEvent so that key listener works with XIM (we
7397 hope). Added event_synth_type to generateKeyEvent, so that we can
7398 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
7399 synthesize a press/release pair for KeySyms.
7401 2001-11-09 Bill Haneman <bill.haneman@sun.com>
7403 * libspi/Makefile.am:
7404 * registryd/Makefile.am:
7405 (temporary) hack to include libXtst in libspi and registryd.
7406 (Needed for keystroke synthesis, see below).
7409 Improved API for registerKeystrokeListener, in accordance with
7410 discussions with Gnopernicus team and X server research.
7412 * libspi/registry.c:
7413 * libspi/deviceeventcontroller.c:
7414 * libspi/accessible.c:
7415 * libspi/keystrokelistener.c:
7416 Changes and fixes to support keylisteners for potentially
7417 consumed key events (that is, 'passive grabs').
7418 Added implementation for generateKeyEvent() [untested].
7421 Changes to registerKeystrokeListener() API, as above.
7422 Added deregisterGlobalEventListenerAll(), and
7423 deregisterKeystrokeListener(), which are needed for clean exit of
7425 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
7426 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
7428 * cspi/spi_registry.c:
7429 Added implementations of function prototypes mentioned above.
7431 * registryd/registryd.c:
7432 Added the key listener event source as a g_timeout(), to allow
7433 receipt of key events that are not caught by GDK (since GDK
7434 doesn't support passive keygrabs, this was necessary).
7437 Changed to attach a keylistener to 'Alt' keys, and
7438 respond to the following keycommands: Alt-M (toggle magnifier);
7439 Alt-F (toggle speech); Alt-Q (quit).
7440 Added an exit routine to deregister the listeners, and a key
7441 listener that prints some key info to the console when a key
7442 matches the listener mask (and is thus received by the listener).
7444 * util/idl/Magnifier.idl:
7445 Changes to magnifier API to support multiple zoom regions,
7446 non-uniform scaling in x and y, markDirty, and a host of other
7447 features that would be useful to magnification.
7450 * util/mag_client.c:
7451 * util/mag_client.h:
7452 * util/mag_control.c:
7454 Source code changes to support the above IDL changes.
7457 As above, and also changes to use a (slower) generic conversion
7458 path for colormap conversions, since the fast RGB conversions have been
7459 reported to fail for 16-bit displays.
7461 2001-10-26 Michael Meeks <michael@ximian.com>
7463 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
7465 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
7467 * at-bridge/Makefile.am: fix LDFLAGS.
7469 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7471 * at-bridge/bridge.c:
7472 Re-worked listeners for toolkit events, now we have signal
7473 and property listeners. Added a private method
7474 register_atk_event_listeners(), which registers with the
7475 various atk and gtk signals we need to monitor in order to emit
7477 Added emission hook for AtkObject:property-change events, to
7478 support the 'property listeners'.
7479 Fixed some alloc()s of Accessibility_Event structs to use CORBA
7482 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
7483 which emit warnings and exit, respectively, if CORBA errors occur
7484 during remote calls, and we now use these methods to check most of
7485 our CORBA calls in the C bindings.
7487 * cspi/spi_accessible.c:
7488 Changed AccessibleSelection_refSelectedChild() to
7489 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
7490 now increment refcounts.
7492 * cspi/spi_component.c:
7493 Fixed some long pointer casts (dangerous!) to pass pointers to
7494 CORBA_longs of the proper type to the CORBA stubs, and copy the
7495 data into the longs that were passed into the C bindings code.
7497 * at-bridge/bridge.c:
7499 * libspi/accessible.c:
7500 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
7501 hyperlinks, AtkHyperlink is an object type.
7503 * libspi/application.c:
7504 Added various conversions to and from "generic" event types and
7505 atk-specific types; this is really part of the 'bridge'
7506 implementation but is valid for all AtkObject-based accessibility
7509 * libspi/editabletext.c:
7510 Fixed nasty bug wherein editable text's finalize method was
7511 unref'ing tha AtkObject reference that the text parent class was
7512 about to unref _again_. There was also a nasty inheritance bug
7513 that meant that the AccessibleEditableText class was corrupt.
7515 * libspi/selection.c:
7516 Provided implementations for some selection API that was broken.
7518 * idl/Application.idl:
7519 Added registerObjectEventListener () method.
7522 Fixed a number of return values that were Bonobo_Unknowns from
7523 bonobo_object_corba_objref(), which I
7524 forgot to dup before returning. Changed instances of
7525 bonobo_object_corba_objref (bonobo_object(o)) to
7526 BONOBO_OBJREF(o), for concision and clarity.
7528 2001-10-13 Louise Miller <louise.miller@sun.com>
7530 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
7531 idl/Event.idl, idl/Registry.idl
7532 Changed these files to include Bonobo_Unknown.idl instead
7535 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
7537 * libspi/component.c libspi/component.h:
7538 Fixed typo. Added assertions for object checks in
7539 AccessibleComponent code.
7541 2001-10-09 Bill Haneman <bill.haneman@sun.com>
7543 * idl/Accessible.idl:
7544 Added 'isEqual (Accessible *object)'
7545 method for Accessible. (Not Yet Implemented).
7548 Changed signature of registerKeystrokeListener() to
7549 take a KeySet and KeyEventSeq so that specific keys and event
7550 types could be requested for monitoring, and added a flag
7551 is_synchronous so that either synchronous or asynchronous
7552 notification could be requested. (However this is not all
7553 implemented yet). This also meant adding two new typedefs,
7554 KeyEventSeq and KeySet.
7557 Added two new relations, RELATION_TOOLTIP_FOR and
7558 RELATION_LEAFNODE_OF.
7561 Added new state, STATE_HAS_TOOLTIP.
7563 * libspi/text.c, editabletext.c:
7564 Added new assertions to all casts of bonobo-objects from
7565 CORBA servants, to prevent Text API calls on non-text objects.
7566 Changed suspect casts of int-pointer types, so that we
7567 always send a valid CORBA_long pointer to the CORBA APIs that use
7568 in/out long parameters. We then have to copy from the CORBA_long
7569 into the regular long or int for return to the C bindings, or
7570 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
7573 * libspi/deviceeventcontroller.c:
7574 Cleaned these sources up.
7576 Changed return type for getCharacterAtOffset to
7577 CORBA_unsigned_long, to allow for 32-bit characters.
7580 2001-10-08 Bill Haneman <bill.haneman@sun.com>
7584 Fixed 'make dist' so that distro compiles...
7585 * libspi/keymasks.h:
7587 * cspi/spi-listener.c:
7588 KeystrokeListenerCB now returns a boolean.
7590 Added KeyEventType struct, and KeyStroke.
7591 Also added createKeystrokeListener(),
7592 KeystrokeListener_addCallback(),
7593 KeystrokeListener_removeCallback(), and added a keymask to
7594 registerKeystrokeListener().
7595 * cspi/spi_accessible.c:
7596 Changed numerous return types for interfaces from
7597 AccessibleComponent to Accessible<InterfaceName>; this was
7598 probably a cut-and-paste error.
7600 Implementations of new KeystrokeListener api (from spi.h,
7603 Changes to key modifier mapping.
7604 Created ControllerEventMask struct.
7605 Made DeviceEventController derive from Bonobo::Unknown.
7607 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
7608 * libspi/deviceeventcontroller.c:
7609 Added a number of new internal (private) methods.
7610 * libspi/editabletext.c:
7611 * libspi/editabletext.h:
7612 Fixed a number of bugs related to the fact that
7613 editabletext inherits from text. Fixed the EditableText struct,
7614 the init() call, and use correct casts when calling Text methods
7615 from an EditableText object. Removed (duplicate) atko from the
7616 EditableText structure, we use the one in the parent Text
7617 structure via the casts mentioned above.
7618 * libspi/keystrokelistener.[ch]:
7619 * libspi/registry.c:
7620 Changes in support of keyboard handling (above).
7622 Keyboard handling, though partly functional, is still not
7623 recommended for at-spi client use as there is considerable
7624 work yet to be done.
7627 Changed some places where pointers to various int types
7628 are cast to be pointers to CORBA_long types and vice-versa:
7629 pointer casting is not safe so we pass pointers of the correct
7630 types and then cast the result before putting it into the target
7633 * libspi/text.h: minor typos corrected.
7635 We now speak not only the name of a Text element, but the
7636 first sentence of its content, when it receives focus.
7637 I also changed the text compression to 75% from 50%.
7638 * util/Accessibility_Util.server.in:
7639 Changed the default magnifier type to be a 3x vertical
7640 splitscreen magnifier (was previously a 2x horizontal one).
7642 2001-10-03 Bill Haneman <bill.haneman@sun.com>
7644 * libspi/keystrokelistener.h:
7645 * libspi/keystrokelistener.c:
7646 Initial functional implementations of KeystrokeListener.
7649 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
7651 Fixed string handling for NULL strings in libspi.
7652 Added spi_freeString to free strings returned by C bindings.
7654 2001-09-30 Bill Haneman <bill.haneman@sun.com>
7656 * libspi/keystrokelistener.h:
7657 * libspi/keystrokelistener.c:
7658 Began (no-op) implementations of KeystrokeListener
7660 * libspi/deviceeventcontroller.c:
7661 * libspi/deviceeventcontroller.h:
7662 Began creating implementations of DeviceEventController,
7663 to handle keystroke and mouse event listening and
7665 * libspi/accessible.c:
7666 Stubbed-in the implementations for
7667 Accessibility_Accessible_getState and
7668 Accessibility_Accessible_getRelationSet.
7669 * libspi/registry.c:
7670 Improved de-registration process and fixed some bugs,
7671 deregistration now works correctly.
7673 Added initialization of applications list (to NULL).
7675 Reduced speech compression from 0.5 to 0.7, for demo.
7676 Changed call to gdk_window_set_decorations()
7677 to gtk_window_set_decorated().
7678 * at-bridge/bridge.c:
7679 Bridge now deregisters when app exits, via
7680 registration of a cleanup function
7681 with the g_atexit() call.
7682 Required making 'app' static, renamed 'this_app'.
7683 Fixed broken use of bonobo_init, passing argv wrongly.
7685 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7689 Created a new directory for
7690 accessibility-related utilities, primarily for
7691 testing and demo purposes, but with possible
7698 Onscreen magnifier utility that
7699 is implemented as a bonobo service.
7701 * util/mag_client.c:
7702 * util/mag_client.h:
7703 Client-side support (simple C bindings)
7704 for Magnification service
7706 * util/mag_control.c:
7707 Client program example for
7708 Magnification service
7710 * util/Accessibility_Magnifier.server.in:
7711 Bonobo-activation file for the
7712 Magnification service.
7715 * util/idl/Magnifier.idl:
7716 IDL defining the bonobo Magnification
7720 Modifications to use the bonobo-activated magnifier
7721 above, in place of trying to connect to an existing
7722 magnifier that uses socket-listening IPC.
7724 If env variable MAGNIFIER is set, a magnifier service
7725 will be started if one does not exist.
7727 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7729 * at-bridge/bridge.c:
7730 applied patch from Marc to build and run
7731 against new glib and gtk+ (seemed like a change
7732 to bonobo_init signature was made ?)
7734 made festival-server support turned off by default.
7735 Added support for a simple magnifier (off by default)
7736 which will be added to a 'util' directory later.
7737 * at-bridge/Makefile.am:
7738 Changed "application.h" header from a 'source'
7739 to a 'dependency' of libat-bridge.
7741 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7750 Added interface implementation c files to list of
7751 includes so they are included in libcspi.
7754 Changed prototype of AccessibleAction_doAction to return a
7756 Changed prototype of AccessibleTable_getCaption to
7757 return an Accessible.
7758 Changed prototype of AccessibleTable_getSelectedRows
7759 and AccessibleTable_getSelectedColumns to
7760 return a long (returns the number of selected rows
7761 or columns respectively).
7762 Changed name of AccessibleText_refRunAttributes to
7763 AccessibleText_getAttributes.
7764 Changed prototype of AccessibleText_getCharacterExtents to
7765 return a void rather than a boolean.
7766 Added support for a AccessibleCoordType parameter
7767 specifying what type of coordinates are desired.
7768 Added an AccessibleCordType parameter to
7769 AccessibleText_getPointAtOffset.
7771 * cspi/spi_accessible.c:
7772 Added code to return the outstanding interfaces from
7773 Accessible_queryInterface.
7775 * cspi/spi_action.c:
7777 Corrected call to getNActions to call the c binding
7780 * cspi/spi_editabletext.c:
7782 Changed name from setRunAttributes to setAttributes.
7784 * cspi/spi_hyperlink.c:
7786 Changed call to getNAnchors to correctly call the c
7787 binding for an attribute.
7789 * cspi/spi_hypertext.c:
7791 Changed getImageDescription to correctly call the
7792 binding for an attribute.
7794 * cspi/spi_selection.c:
7795 Changed getNSelectedChildren to correctly call the c
7796 binding for the attribute.
7797 Changed refSelectedChild to getSelectedChild.
7801 Changed getCaption to return an Accessible.
7802 Fixed calls which retrieve attributes.
7803 Changed refAt to getAccessibleAt.
7804 Changed getNSelectedRows and getNSelectedColumns to
7808 Changed getCharacterExtents and getPointAtOffset to accept an
7809 AccessibleCoordType.
7811 Changed calls which retrieve attributes.
7812 Changed refRunAttributes to getAttributes.
7817 * idl/Hyperlink.idl:
7818 Changed n_anchors attribute to nAnchors to keep naming
7819 convention consistent.
7822 Made Table inherit from Bonobo::Unknown.
7823 Added nSelectedColumns and nSelectedRows attributes.
7826 Made Value inherit from Bonobo::Unknown.
7828 * libspi/hyperlink.c:
7829 Change for nAnchors attributte name change.
7831 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7839 Added interface implementation c files to list of
7840 includes so they are included in libcspi.
7843 Changed prototype of AccessibleAction_doAction to return a
7845 Changed prototype of AccessibleTable_getCaption to
7846 return an Accessible.
7847 Changed prototype of AccessibleTable_getSelectedRows
7848 and AccessibleTable_getSelectedColumns to
7849 return a long (returns the number of selected rows
7850 or columns respectively).
7851 Changed name of AccessibleText_refRunAttributes to
7852 AccessibleText_getAttributes.
7853 Changed prototype of AccessibleText_getCharacterExtents to
7854 return a void rather than a boolean.
7855 Added support for a AccessibleCoordType parameter
7856 specifying what type of coordinates are desired.
7857 Added an AccessibleCordType parameter to
7858 AccessibleText_getPointAtOffset.
7860 * cspi/spi_accessible.c:
7861 Added code to return the outstanding interfaces from
7862 Accessible_queryInterface.
7864 * cspi/spi_action.c:
7866 Corrected call to getNActions to call the c binding
7869 * cspi/spi_editabletext.c:
7871 Changed name from setRunAttributes to setAttributes.
7873 * cspi/spi_hyperlink.c:
7875 Changed call to getNAnchors to correctly call the c
7876 binding for an attribute.
7878 * cspi/spi_hypertext.c:
7880 Changed getImageDescription to correctly call the
7881 binding for an attribute.
7883 * cspi/spi_selection.c:
7884 Changed getNSelectedChildren to correctly call the c
7885 binding for the attribute.
7886 Changed refSelectedChild to getSelectedChild.
7890 Changed getCaption to return an Accessible.
7891 Fixed calls which retrieve attributes.
7892 Changed refAt to getAccessibleAt.
7893 Changed getNSelectedRows and getNSelectedColumns to
7897 Changed getCharacterExtents and getPointAtOffset to accept an
7898 AccessibleCoordType.
7900 Changed calls which retrieve attributes.
7901 Changed refRunAttributes to getAttributes.
7906 * idl/Hyperlink.idl:
7907 Changed n_anchors attribute to nAnchors to keep naming
7908 convention consistent.
7911 Made Table inherit from Bonobo::Unknown.
7912 Added nSelectedColumns and nSelectedRows attributes.
7915 Made Value inherit from Bonobo::Unknown.
7917 * libspi/hyperlink.c:
7918 Change for nAnchors attributte name change.
7921 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7923 implementations-- made server implementations own AtkObject pointers
7924 rather than their respective AtkInterrface pointers to fix
7925 refcounting. AtkHyperlink is still broken.
7927 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7928 * cspi/spi_accessible.c:
7929 Added method Accessible_Role_getName(),
7930 and requisite string array (role_names).
7931 Added conversion string_from_corba_strin() call
7932 to Accessible_getName and _getDescription.
7933 * libspi/accessible.c:
7934 Added implementation for Accessible_getRole()
7936 Added festival support, used if environment variable
7939 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7941 * at-bridge/bridge.c:
7942 Now allocate Accessibility_Event using
7943 Accessibility_Event__alloc() instead of g_new0().
7944 * libspi/accessibleeventlistener.c:
7945 Initialize AccessibleEventListener->callbacks to NULL.
7946 Fixed accessible__event_listener_init() param, changed to
7947 "AccessibleEventListener *" type.
7948 Changed a bonobo_object_release_unref() call to
7949 Accessibility_Accessible_unref().
7950 * libspi/listener.c:
7951 Changed Bonobo_Unknown_unref to (equivalent)
7952 Accessibility_Accessible_unref.
7953 * libspi/registry.c:
7954 Changed bonobo_object_release_unref to
7955 Accessibility_Accessible_unref.
7957 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7960 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7961 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7962 spi-util.c spi-util.h
7963 Implementations for C bindings to remaining accessibility
7966 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7969 changed return value of Action from void to boolean to
7970 bring in line with ATK.
7973 Changed getText funcions to return "out" start and end offsets.
7974 Changed getAttributes to take and offset and return the start
7975 and end offset of the attribute run.
7976 Changed getOffsetAtPoint and getCharacterExtents to take an
7977 enum describing whether coordinates are window or screen.
7980 libspi/action.c libspi/action.h libspi/editabletext.c
7981 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7982 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7983 libspi/image.h libspi/selection.c libspi/selection.h
7984 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7985 libspi/value.c libspi/value.h
7986 Added server implementations for outstanding ATK interfaces
7987 not yet implemented.
7989 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7992 Added (missing) getName() method.
7993 Made nActions an attribute.
7994 * idl/EditableText.idl:
7995 Changed order of params in setAttributes.
7996 * idl/Hyperlink.idl:
7997 Removed getAnchor, added getURI.
7999 Changed attributes to methods, for efficiency
8000 (so that getting extents can be done in one call)
8001 * idl/Selection.idl:
8002 Changed nSelectedChildren to attribute, and re-indented.
8003 * idl/Table.idl: changed nrows, ncolumns, caption, summary
8005 * idl/Text.idl: reformatted to match our coding style.
8006 (temporarily?) removed getRowColumnAtOffset().
8007 Changed text selection API to support multi-select and
8008 non-contiguous selections, as in ATK.
8009 * idl/Value.idl: changed some methods to attributes.
8011 2001-08-24 Mark McLoughlin <mark@skynet.ie>
8013 * libspi/listener.c(impl_notify_event):
8014 BonoboUnkown_unref the source instead
8015 of bonobo_object_release_unref - the ORB
8016 handles the releasing.
8018 * configure.in: require ORBit-2.3.94 for
8021 2001-08-21 Bill Haneman <bill.haneman@sun.com>
8023 Tagged CVS repository 'EA_1_0'.
8024 * README.EARLY_ACCESS:
8025 Alphabetized acknowledgements list, and
8027 Listed some known dependencies of at-spi.
8029 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8031 * docs/at-spi-docs.sgml:
8032 * docs/at-spi-sections.txt:
8033 * docs/at-spi-overrides.txt: (Added zero-length file)
8034 Documentation improvements - gtk-doc should build
8035 docs for all implemented C bindings now.
8038 * cspi/spi.c: (New file)
8039 * cspi/spi_event.c: (New file)
8040 * cspi/spi_registry.c: (New file)
8041 * cspi/spi_accessible.c: (New file)
8042 * cspi/spi_application.c: (New file)
8043 * cspi/spi_component.c: (New file)
8044 Split spi_main.c into six parts, and included them from
8045 "spi.c". This is a bit of a hack, probably temporary,
8046 but required by gtk-doc, apparently.
8048 2001-08-20 Bill Haneman <bill.haneman@sun.com>
8051 * docs/at-spi-docs.sgml:
8052 * docs/at-spi-sections.txt:
8054 Initial checkins/modifications for gtk-doc generation.
8057 Added (missing) interface query methods to Accessible's C binding.
8059 Added GenericInterface type definition.
8061 Added query for AccessibleComponent interface to focus event handler.
8062 Added printout of bounding box for focussed component.
8063 * libspi/component.c:
8064 Added partial implementation for AccessibleComponent to C binding.
8065 * idl/Application.idl:
8066 * libspi/registry.c:
8067 * libspi/listener.c:
8068 * libspi/application.c:
8069 * libspi/application.h:
8070 Changed "ID" attribute type from string to long.
8072 2001-08-19 Bill Haneman <bill.haneman@sun.com>
8076 Made method naming consistent: methods taking object args
8077 start with uppercase, other methods (except those using
8078 acronyms) start with lowercase. Underscores delimit between
8079 object names and method names:
8080 SPI_init() - uppercase since it starts with an acronym.
8081 getDesktopCount () - lowercase start since no object param0.
8082 Accessible_getName() - uppercase object type name, studlyCaps method
8086 Added gtk-doc documentation for all currently implemented
8087 methods in the C bindings API.
8089 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8091 * Makefile.am : changed build order to build test last.
8094 Changed "createEventListener" to "CreateEventListener".
8095 * libspi/accessibleeventlistener.c :
8096 Bugfix for addition of callbacks.
8097 * test/Makefile.am :
8098 * test/simple-at.c :
8099 Added new test that uses the C bindings API.
8101 * libspi/listener.c :
8102 * libspi/registry.c :
8103 * libspi/accessibleeventlistener.c :
8104 * at-bridge/bridge.c :
8105 Renamed member "target" of Accessibility_Event to "source",
8106 which is more descriptive.
8109 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8113 * cspi/Makefile.am :
8114 Added makefile support for at-spi/cspi directory.
8117 * cspi/spi-listener.h : (NEW FILE)
8118 Added support for/use of spi-listener.h.
8120 C bindings now build successfully, with no warnings.
8121 * libspi/accessibleeventlistener.h : (NEW FILE)
8122 * libspi/accessibleeventlistener.c : (NEW FILE)
8123 * libspi/Makefile.am :
8124 Added new object type "AccessibleEventListener"
8125 which inherits from Listener, and allows attachment
8126 of in-process callbacks (so that a client with a listening
8127 object instance can add functionality to the local
8128 implementation, dynamically).
8130 2001-08-18 Bill Haneman <bill.haneman@sun.com>
8132 * libspi/accessible.c:
8133 Add implementation for get_index_in_parent().
8135 Added #include of "spi-roletypes.h", and
8136 added enumerated type AccessibleCoordType.
8137 Added definition for KeystrokeListener (function type).
8140 * cspi/spi-statetypes.h :
8141 * cspi/spi-roletypes.h :
8143 Added these headers, used by spi.h.
8145 Added code (NOTE: not yet built by make).
8147 2001-08-18 Mark McLoughlin <mark@skynet.ie>
8149 * libspi/Makefile.am: generate imodule
8150 at the same time as other idl compiler
8153 2001-08-17 Bill Haneman <bill.haneman@sun.com>
8154 * libspi/registry.c :
8155 * libspi/application.c :
8156 * idl/Application.idl :
8157 Made registration with toolkit an application method,
8158 which is required since each app has its own toolkit static
8159 environment. Thus the bridge must register for
8160 notification of toolkit events from each application in turn.
8161 Toolkit notifications are now successfully registered for, and
8162 sent to the listening at client.
8164 Changed toolkit event string to use hyphens rather than underscores.
8165 * libspi/listener.c :
8166 listner now gives more info in debug mode - it reports the
8167 name of the event received, as well as the name of the source.
8170 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8172 * libspi/registry.c :
8173 added more implementation for toolkit events.
8174 Fixed bug such that toolkit event registrations
8175 (via atk) use the whole event name string, not
8177 Removed a useless call to an ORBit_ method.
8178 * at-bridge/bridge.c :
8179 Removed unused local sbuf[] variable.
8181 We now register for Gtk:GtkWidget:button_press_event
8182 events as well as "focus:" events.
8184 Add some more API from Registry.idl that was missing,
8185 for keystroke listening, keystroke and mouse event
8186 synthesis, and enumeration of accessible desktops.
8188 2001-08-16 Michael Meeks <michael@ximian.com>
8190 * configure.in: use AM_GLIB_GNU_GETTEXT.
8192 * Makefile.am (SUBDIRS): kill intl.
8194 2001-08-15 Michael Meeks <michael@ximian.com>
8196 * registryd/Makefile.am: s/oaf/server/ relocate info file.
8198 * configure.in: upd.
8200 * configure.in: depend on a recent bonobo-activation that
8201 will find our server files ...
8203 2001-08-16 Bill Haneman <bill.haneman@sun.com>
8205 * libspi/accessible.c : accessible_new() :
8206 Now we add the Component interface via bonobo_object_add_interface,
8207 if the contained AtkObject implements AtkComponent.
8208 * libspi/accessible.h : now include "component.h"
8209 * libspi/component.h :
8210 * libspi/component.c : added files - implementation of
8211 bonobo wrapper object for Accessibility/Component
8212 * libspi/listener.c :
8213 Added test code to check for Accessibility/Component:1.0
8214 interface and report whether it is implemented by the
8216 * libspi/registry.c :
8217 Now we check for not only the hash of the whole event
8218 string before relaying the event, we also check the
8219 "minor" event string (without the detail string).
8220 This allows event listeners to be registered against
8221 all events of a certain major+minor type, or just
8222 against a specific major+minor+detail type.
8223 * libspi/accessible.c :
8224 Added implementations for Accessible:get_parent(),
8225 Accessible:getChildCount(), and Accessible:getChildAtIndex().
8226 * libspi/registry.c :
8227 * libspi/listener.c :
8228 Replaced calls to Accessibility_Accessible_ref() and
8229 Accessibility_Accessible_unref() with
8230 calls to bonobo_object_dup_ref() and
8231 bonobo_object_release_unref(), so that the CORBA object
8232 is dup-ed and released when relayed, as well as the bonobo object.
8234 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8236 * libspi/Makefile.am,
8237 registryd/Makefile.am,
8238 at-bridge/Makefile.am.
8239 test/Makefile.am, configure.in:
8240 reverse previous changes.
8242 * /idl/Image.idl: fix typo.
8244 * test/Makefile.am: put DEBUG_FLAGS
8247 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8249 * test/app.c: use argv[0] instead of
8252 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8254 * libspi/Makefile.am,
8255 registryd/Makefile.am,
8256 at-bridge/Makefile.am.
8257 test/Makefile.am, configure.in:
8258 cleanup, replace individual LIBS/CFLAGS with
8259 AT_COMMON_{LIBS|CFLAGS}.
8263 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8265 * configure.in, libspi/Makefile.am:
8266 Change IDL path checking for bonobo-activation
8269 2001-08-15 Bill Haneman <bill.haneman@sun.com>
8271 * registryd/registry.c : separated event listeners to use
8272 3 separate lists (focus, window, toolkit). Began testing
8273 event names against hashes before relaying events.
8274 * test/at.c : now register for events of type "focus:"
8275 * test/app.c : now generate events of type "focus:"
8276 * at-bridge/bridge.c : register with ATK for focus events,
8277 and we now relay those focus events to any "focus:" listeners.
8278 This now works with the bridge as a GTK_MODULE when running test/at.
8279 * libspi/registry.c :
8280 * libspi/listener.c :
8281 now we ref event sources before propagating, and unref on receipt.
8282 * libspi/registry.c :
8283 some changes to internal structs, to support event typestring hashes.
8284 * text/app.c : changed the way the appname is generated.
8285 * cspi : added directory that will hold the C bindings library for
8286 non-CORBA/bonobo-savvy clients.
8287 * cspi/spi.h : header file that contains the function prototypes for the C binding.
8288 * idl/Component.idl : added in parameter to indicate coord system for
8289 geometry-related calls.
8290 * idl/Hyperlink.idl : added readonly n_links attribute
8291 * idl/Image.idl : changed methods to attributes.
8293 2001-08-15 Mark McLoughlin <mark@skynet.ie>
8295 * at-bridge/Makefile.am: link against
8296 ../libspi/libspi.la instead of -lspi.
8298 * at-spi/test/app.c: include
8299 bonobo-activation.h. Use a default appname
8300 if one is not provided.
8302 2001-08-14 Bill Haneman <bill.haneman@sun.com>
8304 * idl/Registry.idl : temporarily changed register_Application
8305 to oneway, to work around issue with initial registration
8307 * idl/Application.idl : changed attribute "id" from readonly
8308 to read-write, since it needs to be assigned by Registry.
8309 * registryd/registryd.c : added call to set application id
8311 * registryd/registry.c : changed de-registration procedure to
8312 use CORBA_Object_hash() to find matching object ref in application
8313 lists and listener lists.
8314 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
8315 began distinguishing between event types (work in progress).
8317 2001-08-13 Bill Haneman <bill.haneman@sun.com>
8320 * libspi/application.c:
8321 Added implementations for get/set id, get_toolkitName,
8323 * registryd/registryd.c :
8327 Converted from use of OAF to bonobo-activation.
8328 * libspi/desktop.h :
8329 * libspi/desktop.c :
8331 Removed references to atksimpleobject, since base atkobject
8332 implementation now provides functionality we need.
8333 * libspi/atksimpleobject.c :
8334 * libspi/atksimpleobject.h :
8339 * at-bridge/Makefile.am
8340 * at-bridge/bridge.c
8343 Added directory "bridge" and contents, and added dependencies
8344 in Makefile.am/configure.in.
8345 Initial checkin of "at-bridge".
8346 This code is a GTK_MODULE which automatically registers
8347 GTK+ apps with the accessibility registry, using an object
8348 reference to the root ATK object.
8350 2001-08-10 Mark McLoughlin <mark@skynet.ie>
8352 * po/Makefile.in.in: Remove. Again. If this
8353 doesn't get autogenerated - you need to update
8356 2001-08-07 Mark McLoughlin <mark@skynet.ie>
8358 * po/Makefile.in.in: Add. Again.
8360 2001-07-31 Bill Haneman <bill.haneman@sun.com>
8362 * libspi/accessible.c : added support for 'description' property.
8363 * libspi/accessible.c
8365 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
8366 (since the two are now equivalent in libbonobo)
8374 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
8375 Bonobo::Unknown as does Accessibility::Accessible.
8376 * idl/StreamableContent.idl : as above, and replaced internal InputStream
8377 interface with Bonobo::Stream, since it was redundant with it.
8378 (The Stream returned by a StreamableContext object is expected to
8379 implement only a subset of Bonobo::Stream)
8381 2001-07-28 Anders Carlsson <andersca@gnome.org>
8383 * libspi/accessible.c (accessible_object_finalize): Change
8384 g_free to g_object_unref since the AtkObject is a GObject.
8386 2001-07-30 Bill Haneman <bill.haneman@sun.com>
8388 * idl/Accessibility.idl: add new IDL files
8391 * idl/Action.idl: Definitions of actionable UI object
8392 * idl/Component.idl: Definitions of UI component geometry, etc.
8393 * idl/Hyperlink.idl: Defs of hyperlink behavior
8394 * idl/Image.idl: Def of accessible image
8395 * idl/Selection.idl: Definition of UI object with selectable children
8396 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
8397 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
8398 * idl/Text.idl: Interface defs for UI elements with complex textual content
8399 * idl/Value.idl: Definition of UI element that is a value controller or display
8401 2001-07-27 Michael Meeks <michael@ximian.com>
8403 * po/Makefile.in.in: remove autogenerated file from CVS.
8405 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
8408 * idl/Registry.idl: include guard.
8410 * idl/Accessibility.idl: Add, and include all the other IDL
8413 * idl/*.idl: remove mass of pragmas etc.
8415 2001-07-26 Michael Meeks <michael@ximian.com>
8417 * registryd/Makefile.am (registryd_SOURCES): remove
8420 2001-07-27 Mark McLoughlin <mark@skynet.ie>
8422 * libspi/.cvsignore, registryd/.cvsignore,
8423 test/.cvsignore: updated.
8425 * po/Makefile.in.in: gettext update.
8427 2001-07-25 Bill Haneman <bill.haneman@sun.com>
8429 * initial CVS checkin
8431 2001-06-29 Michael Meeks <michael@ximian.com>
8433 * configure.in: add AM_CONFIG_HEADER to gen config.h