1 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
3 * cspi/bonobo/cspi-bonobo-listener.c:
4 (cspi_event_list_remove_by_cb): Fix the build.
6 2005-05-26 Michael Meeks <michael.meeks@novell.com>
8 * cspi/bonobo/cspi-bonobo-listener.c
9 (cspi_event_list_remove_by_cb): actually filter by callback.
11 2005-05-25 Bill Haneman <bill.haneman@sun.com>
13 * registryd/registry.c (remove_listener_cb):
14 Make deregistration filter rules match the event emission rules.
16 2005-05-25 Michael Meeks <michael.meeks@novell.com>
18 * registryd/registry.c (remove_listener_cb),
19 (impl_accessibility_registry_deregister_global_event_listener),
20 (impl_accessibility_registry_deregister_global_event_listener_all):
21 pass a closure to the remove callback to filter listeners more
24 2005-04-05 Bill Haneman <bill.haneman@sun.com>
26 * configure.in: Revved to 1.6.4.
27 Remember to put quotes around XEVIE_LIBS assignment.
28 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
31 * tests/event-listener-test.c: Tweaked the tests - more detail
32 from caret events, and some interrogation of AccessibleText APIs.
33 Commented-out the bounds-changed events by default, since they can
36 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
38 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
39 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
40 Same here. Closes bug #167806
42 2005-04-05 Bill Haneman <bill.haneman@sun.com>
44 * atk-bridge/bridge.c:
45 (spi_atk_bridge_signal_listener):
46 Free the any._value if any._release is TRUE,
47 since the ORB won't do it for us in this case
48 [because this method is not a skel].
51 2005-03-30 Steve Murphy <murf@e-tools.com>
53 * configure.in: Added "rw" to ALL_LINGUAS.
55 2005-03-29 Bill Haneman <bill.haneman@sun.com>
57 * configure.in: Improved check for HAVE_XEVIE, to detect
58 presence on XOrg, where -lXevie is a separate library.
60 2005-03-08 Bill Haneman <bill.haneman@sun.com>
62 * configure.in, NEWS, README: Revved to 1.6.3.
64 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
66 * configure.in: Added "xh" to ALL_LINGUAS.
68 2005-02-07 Bill Haneman <bill.haneman@sun.com>
70 * atk-bridge/bridge.c:
71 (atk_bridge_init): Added missing NULL in g_strconcat(),
72 also check for symlink before logging to
73 insecure directory. Thanks to meissner@suse.de.
75 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
77 * tests/login-helper-server-test.c: Add return call to main
78 function. Patch from Chris Lahey. Fixes bug #165129.
80 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
82 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
84 2004-12-09 Bill Haneman <billh@gnome.org>
86 * registryd/registry-main.c:
87 Added #define <string.h> for strrchr. (bug 160862).
88 Thanks to Vincent Berger for catching.
90 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
92 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
93 restart registry process if the registry process is found to have died
94 and the current process is exiting.
95 (spi_atk_bridge_exit_func): Do not attempt to deregister the
96 application if the registry process has died.
97 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
98 does not return a registry object.
99 (spi_atk_tidy_windows): Give up if the registry process has died.
101 This fixes problems with hangs and crashes when logging out.
103 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
105 * registryd/desktop.c: Add checking that we are not exiting before
106 calling spi_desktop_remove_application in
107 abnormal_application_termination. Fix for bug #152147.
109 2004-12-02 Bill Haneman <billh@gnome.org>
111 * configure.in, NEWS, README: Revved to 1.6.1.
113 Patch from Padraig O'Briain <padraig.obriain@sun.com>
114 * atk-bridge/bridge.c:
115 (atk_bridge_init): Save the pid when we start, to detect forks.
116 (spi_atk_bridge_exit_func): Don't call the cleanup routines
117 if we're in a forked pid.
119 2004-10-09 Bill Haneman <billh@gnome.org>
121 * idl/Accessibility_LoginHelper.idl:
122 Improved inline documentation.
124 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
126 * configure.in: Added gl (Galician) to ALL_LINGUAS
128 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
130 * libspi/accessible.c:
131 (impl_accessibility_accessible_get_role_name),
132 (impl_accessibility_accessible_get_local_role_name):
134 * libspi/component.c:
135 (impl_accessibility_component_get_accessible_at_point):
137 * libspi/eventlistener.c: (spi_event_listener_new):
139 * libspi/stateset.c: (impl_compare): More of the same
140 * libspi/table.c: (impl_getRowDescription): Again.
141 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
142 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
143 (impl_generate_keyboard_event): Same.
144 * registryd/registry-main.c: (main): Same
145 * test/event-listener-test.c: (test_exit): Same
146 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
147 * test/keysynth-test.c: (test_key_synthesis): Same
148 * test/login-helper-server-test.c: (main): Fix warning.
149 * test/screen-review-test.c: (test_exit): Fix include.
150 * test/simple-at.c: (simple_at_exit), (_festival_init):
153 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
155 * configure.in, NEWS, README: Revved to 1.6.0.
157 2004-09-12 Bill Haneman <bill.haneman@sun.com>
159 * configure.in: Rev and re-dist, since the 1.5.4 tarball
160 was missing the HTML docs.
162 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
164 * configure.in: only cleanups:
165 - better looking PKG_CHECK_MODULES() output,
167 - declare in one common place required versions of other tools using
170 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
172 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
173 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
174 required ATK version accordingly.
176 2004-09-03 Bill Haneman <bill.haneman@sun.com>
178 * cspi/bonobo/cspi-bonobo.c:
179 (cspi_display_name): Fix C99ism.
180 * atk-bridge/bridge.c:
181 (spi_display_name): Fix C99ism.
182 Patch from Jens Granseuer, jensgr@gmx.net.
184 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
186 * configure.in: Added "or" to ALL_LINGUAS.
188 2004-08-20 Bill Haneman <bill.haneman@sun.com>
190 * configure.in, NEWS, README: Revved to 1.5.4.
192 * registryd/registry-main.c:
193 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
196 * cspi/bonobo/cspi-bonobo.c:
197 (cspi_display_name): New convenience method, gets DISPLAY with
198 screen number stripped, if AT_SPI_DISPLAY isn't already set.
199 (cspi_init): Set the activation env value above before getting
202 * atk-bridge/bridge.c:
203 (spi_display_name): Create the AT_SPI_DISPLAY activation
204 environment for an app, based on the DISPLAY environment with the
205 screen number stripped off.
206 (atk_bridge_init): Allow redirection of error messages to a log.
207 (spi_atk_bridge_get_registry): Call
208 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
210 Fixes for bugs #149962, #136986, #144086.
212 2004-08-16 Christian Rose <menthos@menthos.com>
214 * configure.in: Added "bs" to ALL_LINGUAS.
216 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
218 * configure.in: Added nb to ALL_LINGUAS.
220 2004-09-03 Bill Haneman <bill.haneman@sun.com>
223 (SPI_init): Return error code '2' if the activated
224 registry cannot be pinged. Fixes bug #147648.
226 2004-07-28 Bill Haneman <bill.haneman@sun.com>
228 * registryd/deviceeventcontroller.c:
229 (spi_dec_init_mouse_listener): Don't do XGrabButton,
230 rely on timer-poll instead, to avoid conflict with
233 2004-07-20 Bill Haneman <bill.haneman@sun.com>
235 * configure.in: Revved to 1.5.3.
237 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
239 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
241 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
243 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
245 2004-06-11 Bill Haneman <bill.haneman@sun.com>
247 * atk-bridge/bridge.c:
248 (spi_atk_bridge_do_registration):
249 Register with ATK for AtkComponent:bounds-changed events.
250 (api_atk_bridge_signal_listener):
251 Marshal the AtkRectangle info into the event notification
252 for object:bounds-changed events.
255 (spi_init_any_rect): New method, inits a corba struct of
256 type Accessibility_BoundingBox from an AtkRectangle.
258 * libspi/spi-private.h: Declared spi_init_any_rect (above).
261 (SPIRect): New struct definition.
262 (SPI_freeRect): New declaration.
263 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
266 (AccessibleBoundsChangedEvent_getNewBounds): New method,
267 implemented. Gets the bounding box data from the CORBA_any
268 associated with a bounds-changed event notification.
269 (cspi_internal_event_get_rect): New, used internally by above method.
272 (SPI_freeRect): Implemented this new method, for freeing
275 * test/event-listener-test.c:
276 (main, report_bounds_event):
277 Added a test for object:bounds-changed events.
279 2004-06-01 Bill Haneman <bill.haneman@sun.com>
281 * test/login-helper-server-test.c:
282 (main): Fix C99-ism. Thanks to Jens Granseuer.
284 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
286 * libloginhelper-1.0.pc.in:
287 * idl/Accessibility_LoginHelper.idl:
288 * login-helper/Makefile.am:
289 * login-helper/login-helper.[ch]:
290 * test/login-helper-client-test.c:
291 * test/login-helper-server-test.c: Added files missing from CVS.
292 Files obtained from at-spi-1.5.2 tarball.
294 2004-05-27 Bill Haneman <bill.haneman@sun.com>
296 * configure.in: Create login-helper/Makefile.
297 Incremented micro version.
299 * Makefile.am: Add login-helper subdir and pkgconfig data.
301 * login-helper: New subdir.
303 * libloginhelper-1.0.pc.in: New.
305 * idl/Accessibility_LoginHelper.idl: New file, defines
306 interface whereby authentication clients can identify agents which
307 need access to services during the login process, e.g. screen lock
310 * login-helper/Makefile.am : New.
312 * login-helper/login-helper.[ch] : New, implementation of
313 a LoginHelper base class. Services needing LoginHelper can subclass.
315 * test/Makefile.am : Added test for login-helper, client and
318 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
319 Use proper prefix in #include files.
321 * test/login-helper-client-test.c: New.
323 * test/login-helper-server-test.c: New.
325 2004-05-27 Alexander Shopov <ash@contact.bg>
327 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
329 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
331 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
332 is positive. This should make it easier to detect inapprorpiate unref
335 2004-05-11 James Henstridge <james@daa.com.au>
337 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
338 no-op and deprecated.
340 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
342 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
344 2004-04-28 Bill Haneman <billh@gnome.org>
346 * Makefile.am: Added --enable-gtk-doc to
347 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
349 2004-04-19 Bill Haneman <billh@gnome.org>
351 * configure.in: Revved to 1.5.1.
353 * registryd/deviceeventcontroller.c:
355 (DEControllerPrivateData): Added fields for
356 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
357 (spi_dec_replace_map_keysym): New internal utility for
358 replacing a keysym in the keymap - used to allow
359 synthesis of individual characters which aren't in the
361 (spi_dec_reset_reserved): New; resets the changed keysym value
363 (keycode_for_keysym): We now try to deal with failed
364 XKeysymToKeycode requests by changing a keymap value
365 and returning a reserved keycode. We now take
366 a DEController pointer as first arg.
367 (spi_controller_register_with_devices): Call XkbGetMap with
368 the XkbKeySymsMask. Find the highest keycode in the current
369 keymap which doesn't have any grabs, and mark that one for
370 temporary re-mapping when out-of-range KeySyms are synthesized.
371 (dec_synth_keycode_press): Call XFlush after synthesizing the key
374 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
376 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
378 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
380 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
382 2004-03-24 Bill Haneman <billh@gnome.org>
385 (AccessibleTable_addRowSelection),
386 (AccessibleTable_addColumnSelection),
387 (AccessibleTable_removeRowSelection),
388 (AccessibleTable_removeColumnSelection):
389 Add declarations for spi wrappers which were
390 inadvertantly omitted. Fixes bug #133413.
393 Revved to 1.5.0 (unstable series for GNOME 2.7).
395 2004-03-24 Bill Haneman <billh@gnome.org>
397 * atk-bridge/bridge.c:
398 Bracketed some debug output in
399 conditionals, to avoid printing it in normal use.
402 * libspi/hyperlink.c:
403 Don't cast 'object' to ATK_OBJECT when constructing
404 an AtkAction interface for a hyperlink.
405 See discussion in bug #120659.
407 * test/key-listener-test.c:
408 (report_all_key_event): Send output to stderr,
409 not stdout, for consistency with the rest of the test callbacks.
412 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
413 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
414 Incremented to 1.4.1 (but didn't dist yet - I'm going to
415 try incrementing the revision AFTER doing a dist, at least
418 2004-03-22 Bill Haneman <billh@gnome.org>
420 * configure.in: Revved to 1.4.0, libtool 9.14.9
422 2004-03-17 Laszlo Peter <laca@sun.com>
424 * libspi-1.0-uninstalled.pc.in: add idldir
426 * cspi-1.0-uninstalled.pc.in: add idldir
428 2004-03-16 Gareth Owen <gowen72@yahoo.com>
430 * configure.in: Added "en_GB" to ALL_LINGUAS
432 2004-03-15 Bill Haneman <billh@gnome.org>
434 * configure.in: Revved to 1.3.16,
437 2004-03-15 Laszlo Peter <laca@sun.com>
439 * libspi-1.0-uninstalled.pc.in: new file
441 * cspi-1.0-uninstalled.pc.in: new file
443 * configure.in: add the new pc files to AC_OUTPUT
445 * Makefile.am: add the new pc files to EXTRA_DIST
447 2004-03-12 Bill Haneman <billh@gnome.org>
449 * atk-bridge/bridge.c:
450 (spi_atk_bridge_key_listener):
451 Make sure to return consumed=FALSE if snoop
452 event is not dispatched to listener.
455 2004-03-01 Bill Haneman <billh@gnome.org>
457 * configure.in: Revved to 1.3.15,
460 2004-03-07 Danilo Segan <dsegan@gmx.net>
462 * configure.in: Added "sr@ije" to ALL_LINGUAS.
464 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
466 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
468 2004-03-01 Bill Haneman <billh@gnome.org>
470 * configure.in: Revved to 1.3.14.
473 (SPI_exit): Removed "bye-bye" exit message.
474 Moved "leak" report to happen before the
475 iteration over the leaked refs list.
476 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
478 2004-02-24 Bill Haneman <billh@gnome.org>
480 * configure.in: Revved to 1.3.13.
482 * docs/reference/cspi/Makefile.am:
483 Correct typo that was breaking the docs build.
485 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
487 * autogen.sh: Require version 1.7 of automake.
489 * configure.in: call GTK_DOC_CHECK([1.0])
491 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
493 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
495 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
497 * test/Makefile.am: Remove use of CFLAGS.
499 This fixes bug #132987.
501 2004-02-11 Bill Haneman <billh@gnome.org>
503 * reverted most of Tomasz' patch below, since it was breaking
504 builds (see bug #134058).
506 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
508 * docs/reference/cspi/at-spi-cspi.types: added empty file for
509 correct pass "make dist" (empty .. because seems no sach types in
510 header files with gtk-doc markups).
511 * docs/reference/cspi/Makefile.am, configure.in:
512 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
513 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
514 * Makefile.am: added:
515 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
516 for force correct pass generate documentation on "make distcheck".
517 * libspi/Makefile.am: fixes for automake >= 1.6.
518 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
519 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
522 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
524 * docs/reference/cspi/Makefile.am (install-data-local): Install
525 index.sgml since the doc autobuilder on widget.gnome.org looks for
528 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
530 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
533 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
535 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
537 2004-01-27 Brian Cameron <brian.cameron@sun.com>
539 * test/simple-at.c: Fixed null string problems that cause core
540 dumping problems on Solaris.
542 2004-01-12 Bill Haneman <billh@gnome.org>
544 * configure.in: Incremented version to 1.3.11.
546 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
548 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
549 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
552 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
554 * configure.in: Added "fa" to ALL_LINGUAS.
556 2003-12-20 Arafat Medini <lumina@silverpen.de>
558 * configure.in: Added "ar" to ALL_LINGUAS
560 2003-12-16 Bill Haneman <billh@gnome.org>
562 * registryd/registry-main.c:
564 Set the reg_env DISPLAY variable before registering the
565 activated registry service. Fixes bug #129479.
567 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
569 * configure.in: Added "id" in ALL_LINGUAS
570 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
572 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
574 * registryd/deviceeventcontroller.c (global_filter_fn):
575 When an event is consumed discard any XEvents were added to
576 the queue while dealing with the the event. This can happen if
577 processing of the event takes a long time. Call XUngrabKeyboard
578 if an event was discarded. This fixes bug $124837.
579 Only call wait_for_release_event for a KeyPress.
580 Use local variable display instead of spi_get_display().
581 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
584 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
586 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
587 Allow for mask to contain values other than NumLock mask.
590 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
592 * registryd/devieceventcontroller.c:
593 (wait_for_release_event): Change first parameter from GdkEvent to
595 (global_filter_fn); Correct call to wait_for_release_event.
599 2003-12-08 Bill Haneman <billh@gnome.org>
603 * registryd/ucs2keysym.c: New file.
605 * registryd/deviceeventcontroller.c:
606 (dec_keysym_for_unichar): Remove old partial implementation and
607 replace with call to ucs2keysym(), which is much more complete.
608 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
613 2003-12-05 Bill Haneman <billh@gnome.org>
615 * configure.in: Version 1.3.9.
617 * docs/reference/cspi/tmpl/spi_registry.sgml:
618 Added reference to libspi/keymasks.h to the
619 description of Registry queries: AccessibleKeyMaskType.
622 2003-12-04 Bill Haneman <billh@gnome.org>
626 * idl/Accessibility_Application.idl:
627 (Accessibility::LOCALE_TYPE): New enum, corresponds to
628 setlocale's LC_TYPEs.
629 (Accessibility::Application::getLocale): New method.
630 Allows clients to query the locale, by type, of an app.
633 * cspi/spi_application.c:
634 (AccessibleApplication_getLocale): New method, wraps IDL above.
636 * libspi/application.c:
637 (spi_application_class_init): Init epv entry for getLocale.
638 (impl_accessibility_application_get_locale): Impl for above.
640 * test/test-simple.c:
641 (test_application): Added assertion for getLocale, i.e.
642 that the string from AccessibleApplication_getLocale (app, type)
643 is the same as that from setlocale (type, NULL);
645 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
647 *registryd/deviceeventcontroller.c: Add an idle handler which polls
648 the keyboard on a timeout intil the key state goes from pressed to
649 released. Fixes bug #111429.
651 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
653 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
654 root object so that it is present when a context menu in an
655 out-of-process applet is popped up.
656 (spi_atk_bridge_do_registration): Create acceessible application root
657 object only if it does not exist.
659 This fixes bug #125834.
661 2003-12-01 Bill Haneman <billh@gnome.org>
663 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
666 Added enum for AccessibleStreamableContentSeekType.
667 (AccessibleStreamableContent_freeContentTypeList): New.
669 * cspi/spi_streamablecontent.c:
670 (accessible_bonobo_stream_client_seek): New private method.
671 (AccessibleStreamableContent_seek): Implemented this method,
672 using Bonobo_Stream_seek.
673 (AccessibleStreamableContent_freeContentTypeList): New method
674 for freeing the return value from
675 AccessibleStreamableContent_getContentTypes.
676 (stream_cache_item_free): Replaces stream_release; stop leaks.
677 (stream_release): removed.
678 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
679 free the memory properly.
681 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
685 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
687 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
689 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
691 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
693 2003-12-01 Bill Haneman <billh@gnome.org>
695 Fix for bug/rfe #127463.
697 * idl/Accessibility_Accessible.idl:
698 (getLocalizedRoleName): New.
699 (unimplemented4): Removed (replaced by above).
701 * libspi/accessible.c:
702 (impl_accessibility_accessible_get_local_role_name): New.
703 (spi_accessible_class_init): Add getLocalizedRoleName entry to
707 (Accessible_getLocalizedRoleName): New.
709 * cspi/spi_accessible.c:
710 (Accessible_getLocalizedRoleName): New.
712 2003-12-01 Bill Haneman <billh@gnome.org>
715 * idl/Accessibility_Text.idl:
716 (getDefaultAttributes): New.
717 (unimplemented4): Removed (replaced by above method).
720 (impl_getDefaultAttributes): New method.
721 (spi_text_class_init):
722 initialize the get_default_attributes slot in the epv.
725 (AccessibleText_getDefaultAttributes): New prototype.
728 (AccessibleText_getDefaultAttributes): New method.
730 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
732 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
733 write beyond the end of the table. Fixes bug #120473.
735 2003-09-30 Christian Rose <menthos@menthos.com>
737 * configure.in: Added "eu" to ALL_LINGUAS.
739 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
741 * configure.in: ALL_LINGUAS: Added no.
743 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
745 * configure.in: Added lt to ALL_LINGUAS.
747 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
749 * atk-bridge/bridge.c:
750 (atk_bridge_init): Register event listeners always even for
751 out-of-process applet.
752 (spi_atk_bridge_toplevel_added): Remove call to
753 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
754 (spi_atk_bridge_toplevelk_removed): Remove call to
755 spi_atk_deregister_event_listenersa as the listeners are now always
757 (spi_atk_bridge_register_application): Remove call to
758 spi_atk_register_event_listeners as it is not done in atk_bridge_init
760 This fixes bug #120991.
762 * libspi/table.c (impl_getColumnDescription): Correct typo,
763 pointed out by Bolian.Yin@sun.com.
765 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
767 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
769 2003-09-08 Bill Haneman <billh@gnome.org>
771 * configure.in: Revved to 1.3.7.
773 This is the GNOME 2.4.0 release of at-spi.
775 * docs/reference/cspi/Makefile.am:
776 Removed spurious inclusion of 'index.sgml' in the
777 html directory; this was breaking make distcheck and
778 also some other build environments.
780 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
782 * registryd/registry.[ch}:
783 Add queue_handler_id and focus_object to SpiRegistry data structure.
784 (registry_flush_event_queue): If event being discarded is
785 "state-change:focused" store object as focus_object.
786 (registry_start_queue): Remove queue handler and focus object
788 (registry_discard_event): New function which discards a focus event
789 if we had stored focus object in the registry.
790 (registry_queue_event): Add new check that is_queueing is set as this
791 function is reentrant.
792 (registry_filer_event): Add call to registry_discard_event.
794 This resolves issues raised in bug #108664.
796 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
798 * configure.in: Added "bn" to ALL_LINGUAS.
800 2003-09-04 Bill Haneman <billh@gnome.org>
802 * cspi/spi_event.c: Documentation improvements for
803 (SPI_registerAccessibleKeylistener).
805 * docs/reference/tmpl/spi_registry.sgml:
806 Documentation improvements for SpiAccessibleKeylistenerCB.
808 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
810 * configure.in: Added "ro" to ALL_LINGUAS.
813 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
815 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
816 not decremented to zero. Fixes bug #120725.
818 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
820 * configure.in: Added "ja" to ALL_LINGUAS.
822 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
824 * configure.in: Added "is" to ALL_LINGUAS.
826 2003-08-22 Christian Rose <menthos@menthos.com>
828 * configure.in: Added "nl" to ALL_LINGUAS.
830 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
832 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
833 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
835 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
837 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
838 type for unspecified exception.
839 * cspi_streamablecontect): Add include of string.h for memcpy.
840 (stream_release): Correct call to bonobo_object_release_unref
841 (stream_cache_item_free): Correct call to bonobo_object_release_unref
842 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
843 argument of _cspi_expection_throw.
844 * libspi/hyperlink.c: Add include of libspi/action.h:
845 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
846 * libspi/streamablecontent.c: add include of libspi/component.h.
847 * regisrtyd/deviceeventcontroller.c:
848 (spi_dec_translate_mask): Removed unused variable priv.
849 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
850 * registryd/registry.c:
851 (registry_filter_event): Remove unused variable queue_is-empty.
852 (impl_registry_notify_event): Use correct modifier in fprintf call.
854 This fixes compiler warnings reported in bug #120220.
856 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
858 * registryd/registryd.c: Remove this file.
860 2003-08-17 Sanlig Badral <badral@openmn.org>
862 * configure.in: Added mn to ALL_LINGUAS.
864 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
866 * configure.in: Added et to ALL_LINGUAS.
868 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
870 * test/event-listener-test.c: Change active-descendant to
871 active-descendant-changed.
873 2003-08-10 Sami Pesonen <sampeson@iki.fi>
875 * configure.in: Added "fi" in ALL_LINGUAS.
877 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
879 * configure.in: Added "hi" in ALL_LINGUAS.
881 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
883 * configure.in: Revved to 1.3.6.
887 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
889 * registryd/deviceeventcontroller.c
890 (spi_device_event_controller_object_finalize): Fix typo in previous
893 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
895 * registryd/deviceeventcontroller.c
896 (spi_device_event_controller_object_finalize): Fix build on
897 systems without XEvIE.
899 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
901 * acconfig.h, configure.in, registryd/Makefile.am,
902 registryd/devicecontoller.[ch]: Add XEViE support.
904 2003-08-06 Wang Jian <lark@linux.net.cn>
906 * configure.in: Added "zh_CN" to ALL_LINGUAS.
908 2003-08-06 Metin Amiroff<metin@karegen.com>
910 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
912 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
914 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
915 MODIFIER_ALT in correct place.
917 This fixes part of bug #118114.
919 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
921 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
923 2003-07-28 Changwoo Ryu <cwryu@debian.org>
925 * configure.in: Added "ko" to ALL_LINGUAS.
927 2003-07-28 Ole Laursen <olau@hardworking.dk>
929 * configure.in: Added "da" to the commented out ALL_LINGUAS.
931 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
933 * configure.in: Added "sq" to ALL_LINGUAS.
935 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
937 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
939 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
941 * configure.in: updated ALL_LINGUAS list
943 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
945 * configure.in: Added Belarusian to ALL_LINGUAS.
947 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
949 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
951 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
952 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
954 This fixes bug #116949.
956 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
958 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
959 Correct CSPI to SPI in function documentation.
961 This fixes bug #118054.
963 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
965 * configure.in: Added Russian to ALL_LINGUAS.
967 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
969 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
971 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
973 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
975 2003-07-10 Joel Brich <joel.brich@laposte.net>
977 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
979 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
981 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
983 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
985 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
986 resources allocated for AccessibleEvent. See cspi_event().
988 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
989 static variable streams to NULL.
991 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
992 Update so that AcessibleEvent_ref will work.
994 This fixes bug #116624.
996 2003-07-06 Jordi Mallach <jordi@sindominio.net>
998 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1000 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1002 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1004 2003-07-02 Christian Neumair <chris@gnome-de.org>
1006 * configure.in: Added "de" (German) to ALL_LINGUAS.
1008 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1010 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1012 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1014 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1016 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1018 * configure.in: Added "pl" to ALL_LINGUAS.
1020 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1022 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1024 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1027 (get_action_from_servant):
1028 Removed assertion that action is implemented on an AtkObject.
1030 * libspi/hyperlink.c:
1031 (spi_hyperlink_new):
1032 Aggregate AccessibleAction interface on the hyperlink object if
1033 the object implements AtkAction. (This convention is used in
1036 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1038 * configure.in: Revved to 1.3.5.
1040 * registryd/Accessibility_Registry.server.in.in:
1041 Marked up appropriate strings for translation.
1043 * atk-bridge/bridge.c: Marked a couple of
1044 user-visible warnings for translation. Questionable
1045 whether they are really useful, but possibly so.
1048 2003-06-28 Christian Rose <menthos@menthos.com>
1050 * configure.in: Added "sv" to ALL_LINGUAS.
1052 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1054 * registryd/registry.c:
1055 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1056 (registry_defer_on_event): Defer focus: events, this is an
1057 improvement to the patch for bug #108664.
1059 * TODO: Update with 2.4/"Dev Complete" items.
1061 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1063 * atk-bridge/bridge.c:
1064 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1065 looks up signals once.
1066 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1067 if doing registration.
1068 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1069 when doing registration.
1071 This fixes bug #115014.
1073 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1075 * atk-bridge/bridge.c:
1076 (atk_bridge_init): Add signal handler for children-changed:remove on
1077 root when in a BonoboComponent.
1078 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1079 for first toplevel only other incrememt variable toplevels.
1080 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1081 application and remove listeners.
1082 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1084 (spi_atk_deregister_event_listeners): New function which removes
1086 (reinit_register_vars): New fuction which reinitializes variables.
1088 This fixes bug #111578.
1090 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1092 * configure.in: version 1.3.4.
1094 * cspi/spi_accessible.c:
1095 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1098 2003-06-13 Michael Meeks <michael@ximian.com>
1100 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1102 * cspi/spi_main.c (cspi_peek_ev): impl.
1104 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1106 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1108 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1110 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1111 SPI_ROLE_AUTOCOMPLETE
1113 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1115 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1116 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1118 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1120 * libspi/streamablecontent.h:
1121 * libspi/streamablecontent.c:
1122 New files, provide implementation/wrappers for
1123 Accessibility_StreamableContent.
1125 * cspi/spi_streamablecontent.c:
1126 Connected the C wrappers to the libspi C bindings.
1127 (AccessibleStreamableContent_close): New method.
1130 (AccessibleStreamableContent_close): New method, needed
1131 since we have an "open, [seek], read, close" model in cspi.
1133 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1135 Fix for #108664; Padraig's revision of my original patch.
1137 * registryd/registry.h:
1138 Added event queue list, is_queuing, and exit_notify_timeout
1139 to the registry struct.
1141 * registryd/registry.c:
1142 (registry_init): Initialize new struct from registry.h.
1143 (impl_registry_notify_event):
1144 Filter events before notifying, in case some need to be
1146 (registry_filter_event): New,
1147 we defer certain incoming events (for instance
1148 window:deactivate) because we may wish to hide
1149 or reject them based on pending events. This is
1150 mostly a workaround for bug #108664.
1151 (registry_queue_event, registry_start_queue): New.
1152 (registry_defer_on_event): Test event to see if it
1154 (registry_reset_on_event): Returns TRUE if the
1155 event should cause a queue reset.
1156 (registry_discard_on_event): Returns TRUE if the event
1157 should cause the previous queue contents to be discarded.
1158 (registry_timeout_flush_queue): Flushes the pending event
1159 queue if no reset/discard-triggering events have come in
1160 within the timeout period.
1161 (registry_emit_event): New.
1162 (registry_clone_notify_context): New, used when queueing the
1163 event notify contexts.
1165 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1167 * configure.in: Version revved to 1.3.2, lt 0.9.2
1168 Incremented ATK required version to 1.3.4.
1170 * cspi/spi_registry.c:
1171 (SPI_generateKeyEvent):
1172 We now pass the keystring along if it's non-null.
1174 * registryd/deviceeventcontroller.c:
1175 (keysym_mod_mask): New method, returns modifier mask
1176 required to generate a keysym from a given keycode.
1177 (dec_synth_keysym): New method.
1178 (dec_synth_keystring): New method.
1179 (dec_get_modifier_state): New method.
1180 (dec_lock_modifiers): New
1181 (dec_unlock_modifiers): New.
1182 (dec_keysym_for_unichar): New, rather brute-force
1183 conversion from UCS-4 to X KeySyms. Only works for
1184 Latin at the moment, with partial implementations for
1185 Greek, Hebrew, and (incomplete) Katakana.
1186 (impl_generate_keyboard_event): Now implement
1187 "KEYSTRING" synthesis and implement "KEYSYM"
1189 (keycode_from_keysym): Improved, passes a returned
1190 modmask value now if the corresponding param is non-NULL.
1192 Fixes bugs #92143 and #109776.
1195 * test/keysynth-test.c:
1196 New test program for key synthesis, to confirm fixes for
1200 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1202 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1204 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1205 Add line for RELATION_POPUP_FOR
1207 * docs/reference/cspi/tmpl/spi_relation.sgml:
1208 Add relation SPI_RELATION_POPUP_FOR
1210 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1211 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1213 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1215 * libspi/relation.c (spi_init_relation_type_table):
1216 Add line for RELATION_POPUP_FOR
1218 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1220 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1221 there are still windows which have not been deleted and emit
1222 window:deactivate, if necessary and window:destroy events.
1223 This fixes bug #114370. The change on June 5th was not correct.
1225 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1227 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1230 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1232 New methods for client exception handling and interception.
1233 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1234 (SPI_exceptionHandlerPop): You guessed it...
1235 (SPI_getSourceType): Return the type of object which offended.
1236 (SPI_getExceptionCode): Return an enum code telling, possibly,
1237 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1238 (SPIAccessibleException_getSource): get the source object for
1239 exceptions that come from Accessibles, if SPIExceptionSourceType is
1240 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1241 (SPIException_getDescription): New, returns a string description of
1242 the problem. [Not yet a stable ABI, strings are not frozen]
1244 * cspi/spi-private.h:
1245 Added implementation details of opaque SPIException
1249 Implementations of above. Also
1250 (_cspi_exception_throw): new private method that
1251 dispatches exceptions to handlers, called from cspi-bonobo.c
1253 * cspi/bonobo/cspi-bonobo.c:
1254 (cspi_check_ev): call _cspi_exception_throw.
1255 Don't print a warning message if the exception has been
1256 handled by _cspi_exception_throw.
1258 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1260 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1261 there are still windows which have not been deleted and emit
1262 window:deactivate, if necessary and window:destroy events.
1263 This fixes bug #114370.
1265 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1268 (cspi_accessible_is_a): Make non-fatal
1269 if the object reference is dead.
1271 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1273 * cspi/spi_main.c: #include <stdio.h>
1274 * test/simple-at.c: ditto
1275 * test/event-listener-test.c: ditto
1276 * test/screen-review-test.c: ditto
1278 2003-05-30 Michael Meeks <michael@ximian.com>
1280 * test/test-simple.c (main): use CORBA_ORB_perform_work
1281 instead of an unnecessary linc_ call.
1283 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1285 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1286 Add SPI_STATE_INDETERMINATE.
1288 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1291 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1293 * libspi/stateset.c (init_state_type_tables): Add support for
1296 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1298 * configure: Update versions of atk and gail required.
1299 This fixes bug #113268.
1301 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1303 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1305 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1307 * libspi/Makefile.am:
1308 Ensure headers are generated before being used by c sources.
1310 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1313 Simplified lt versioning rules.
1314 Incremented version to 1.3.0, to indicate that we're on the
1315 unstable branch now.
1317 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1319 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1320 Add MKDB_OPTIONS=--outtput-format=xml
1322 * docs/reference/cspi/at-spi-cspi-docs.sgml
1323 docs/reference/idl/at-spi-idl-docs.sgml:
1324 Convert to Docbook XML.
1326 This fixes bug #111793.
1328 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1330 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1331 AcccessibleKeyEventType, AccessibleKeyMaskType.
1333 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1335 * cspi/state-types.h: Add documentation for AccessibleState.
1337 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1338 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1339 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1340 AccessibleComponentLayer.
1342 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1345 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1347 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1348 Accessible. Add description of AccessibleEvent,
1349 AccessibleEventListenerCB.
1351 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1354 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1355 documentation. Add description of AccessibleKeystrokeListenerCB,
1356 AccessibleKeyEventMask, AccessibleModifierMaskType,
1357 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1358 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1360 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1363 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1366 This fixes bug #104730.
1368 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1370 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1371 Set is_text field of Accessibility_DeviceEvent data structure.
1373 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1374 is-text field of AccessibleDeviceEvent data structure.
1376 This addresses part of bug #108666.
1378 * registryd/devcieeventcontroller.c: Unset debug option.
1380 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1382 * cspi/accessible.c:
1383 (cpi_initial_relation_type_table): New function which initializes
1384 mapping between Accessibility_RelationType and AccessibleRelationType.
1385 (cspi_relation_type_from_spi_relation_type): New function which
1386 translates an Accessibility_RelationType into an AccessibleRelationType.
1387 (AccessibleRelation_getRelationType): Use
1388 cpi_relation_type_get_spi_relation_type to return correct value.
1389 (spi_state_to_corba): Return correct type for default case.
1391 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1392 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1394 * cspi/cspi-bonobo-listener.c:
1395 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1398 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1399 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1400 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1401 libspi/image.c, libspi/listener.c, libspi/selection.c,
1402 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1403 registryd/desktop.c, registryd/registry.c:
1404 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1406 * libspi/eventlistener.c
1407 Remove semicolon after BONOBO_TYPE_FUNC.
1409 * libspi/relation.c:
1410 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1411 (spi_init_relation_type_table): Initialize using correct type.
1413 * registryd/desktop.c:
1414 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1415 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1416 of Accessibility_KeyEventType.
1418 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1421 * tests/simple-at.c, tests/screen-review-test.c:
1422 Add include for <strings.h>.
1424 * tests.stress-test.c:
1425 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1427 These changes fix compiler warnings when using FORTE compiler on
1428 Solaris; fixes bug #107479.
1431 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1434 * configure.in: revved to 1.1.10
1436 * libspi/keymasks.h:
1437 (SPI_KEYMASK_NUMLOCK): Added.
1439 * registryd/deviceeventcontroller.c:
1440 (spi_key_event_matches_listener): AND with a smaller
1441 bitmask (as we should).
1442 (spi_dec_translate_mask):
1443 New method, sets the virtual NumLock modifier bit
1444 if numlock is on. Eventually it can handle other virtual
1445 modifier bits if needed, or other marshalling from
1446 at-spi modifier masks to platform (X) masks.
1447 (spi_dec_key_listener_new):
1448 Call spi_dec_translate_mask to set up virtual mod bits
1449 in the 'mask' field when creating a new listener struct.
1450 (spi_dec_emit_modifier_event):
1451 Set the virtual (i.e. NumLock) bits before emitting event.
1452 (spi_controller_register_with_devices):
1453 Query for the NumLock modifier 'physical' bit if Xkb is
1454 present, for use in above methods.
1458 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1460 * registryd/deviceeventcontroller.c:
1461 (spi_keystroke_from_x_key_event):
1462 Instead of checking to see if the keysym is
1463 printable, check the string from XLookupString
1464 if available, get the first unicode character from it,
1465 and call g_unichar_isprint to determine whether the
1466 is_text flag should be TRUE or FALSE.
1470 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1472 * atk-bridge/bridge.c: Add support for extended events
1473 * cspi/spi_event.c: Add documentation and implementation for
1475 * tests/event-listener-test.c: Add tests for extended events.
1477 This fixes bugs #100424 and #100426.
1479 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1481 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1482 of LT_CURRENT. This fixes bug #89350.
1484 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1486 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1487 number of signal parameter values before accessing them. This fixes
1490 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1492 * configure.in: Fixed duplicate inclusion of -lspi.
1493 * branched for gnome-2-2/HEAD.
1494 [created tag "gnome-2-2"]
1496 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1498 * configure.in: 1.1.9 release.
1501 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1503 [needed by GOK, to fix bugs 107985 and 107988]
1504 * registryd/deviceeventcontroller.c:
1505 (spi_dec_clear_unlatch_pending):
1506 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1507 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1508 (spi_dec_init_mouse_listener):Emit warning if mouse button
1510 (spi_device_event_controller_forward_mouse_event):
1511 Removed unnecessary parens from a conditional.
1512 (global_filter_fn):Added TODO comment.
1513 (impl_generate_keyboard_event):
1514 Cancel a pending relatch if a 'delatching' key was
1517 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1519 * atk-bridge/bridge.c:
1520 Change atk_signal_child_changed to atk_signal_children_changed.
1521 Reorganize code in spi_atk_bridge_signal_listener().
1523 * test/event-listener-test.c:
1524 Add children_changed_listener and report_children_changed_event()
1525 to test AccessibleChildEvent_getChildAccessible.
1527 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1529 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1530 g_strdup to CORBA_String_dup (bug #105291)
1532 * test/event-listener-test.c (report_text_event): Add call to
1535 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1537 * registryd/deviceeventcontroller.c:
1538 (spi_keystroke_from_x_key_event):
1539 Fix string and keysym return codes to match modifier state.
1542 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1544 * registryd/deviceeventcontroller.c:
1545 (spi_keystroke_from_x_key_event):
1546 Fix segv due to improper use of isprint(c). [bug #107254]
1548 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1551 (get_accessible_text_boundary_type):
1552 Move default return value to (new) default case in switch.
1553 (get_accessible_text_clip_type):
1554 Move default return value to (new) default case in switch.
1556 * libspi/application.c:
1557 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1558 Remove unused methods.
1559 (impl_accessibility_application_register_object_event_listener):
1560 Remove unused methods.
1563 Added #include of <math.h>.
1565 * registryd/deviceeventcontroller.c:
1566 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1567 we don't currently use this method.
1568 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1570 (impl_generate_key_event):
1571 Remove unused variables.
1572 (impl_generate_mouse_event):
1573 Initialize button to zero, just in case we get an invalid
1574 input. Added support for mouse buttons 4 and 5.
1575 (spi_device_event_controller_new):
1576 Removed unused variable declaration for 'private'.
1578 Added #include of <gdk/gdk.h>
1580 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1582 * configure.in: Update to work when X is not installed in expected
1583 location. Fixes bug #105836.
1585 * atk-bridge/bridge.c
1586 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1588 (spi_atk_register_event_listener): Add signal listener for
1590 (spi_atk_bridge_signal_listener): Event event when link-selected
1591 signal is emitted. (bug #104622)
1593 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1594 on returned string. (bug #105291)
1596 * test/event-listener-test.c: Add test for link-selected.
1598 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1600 * atk-bridge/Makefile.am: Correct typo in previous commit.
1602 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1604 * atk-bridge/Makefile.am: Allow for build directory to be different
1605 from source directory
1607 * registryd/Makefile.am: Allow for build directory to be different
1608 from source directory
1612 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1615 Fixed dependencies for libcspi so that libspi gets pulled in
1616 properly. Fixes 104741.
1620 Clean up inline docs a little.
1622 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1624 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1625 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1626 the AtkObject within an SpiDesktop.
1627 This addresses bug #101524.
1629 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1630 Remove call to gdk_init().
1632 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1633 so that Display is set when SpiDesktop is created.
1635 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1637 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1638 This fixes bug #102830.
1640 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1642 * test/test-simple.c: Update to take account of fact that GailButton
1643 now implements AtkText.
1644 (create_text_window): Set name on AtkObject for GtkEntry.
1645 (validate_accessible): Check accessible name before calling test_text().
1647 * libspi/Makefile.am: Fix problem with building outside of source
1648 directory. Bug #98120.
1650 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1651 typo in documentation comments. Bug #94275.
1653 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1655 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1657 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1660 Add includes to avoid compiler warnings on Solaris.
1661 (impl_getRangeExtents): Bug fix.
1663 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1665 Fix for 100944, [API addition approved by Gman and murrayc].
1672 * idl/Accessibility_Text.idl:
1673 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1674 (Text::getRangeExtents): New method for efficient
1675 bounds query of a text range.
1676 (Text::getBoundedRanges): New method for efficient
1677 clipping of text to bounding boxes.
1678 (unImplemented7, unImplemented8):
1679 Removed these padding methods to preserve bincompat.
1682 (impl_getRangeExtents): implementation of new IDL.
1683 (impl_getBoundedRanges): implementation of new IDL.
1684 (SpiTextRect): Internal use struct.
1685 (_spi_text_rect_union): internal method, calculates union of two
1686 SpiTextRect bounding rects.
1687 (_spi_text_range_seq_from_gslist): internal method, allows us
1688 to build our sequence efficiently as a gslist then convert it
1690 (_spi_bounds_contain): internal method, determines whether
1691 a text character is "in" or "out" of a clip rect according to
1692 values of TEXT_CLIP_TYPE.
1693 (spi_text_class_init): Initialize the new methods in the epv.
1696 (AccessibleTextClipType): New enum used by screen review api.
1697 (AccessibleTextRange): New struct used by screen review api.
1698 (AccessibleText_getRangeExtents):
1699 cspi binding for Accessibility_Text_getRangeExtents.
1700 (AccessibleText_getBoundedRanges):
1701 cspi binding for Accessibility_Text_getBoundedRanges.
1702 (AccessibleTextRange_freeRanges): convenience method.
1705 (AccessibleText_getRangeExtents):
1706 cspi binding for Accessibility_Text_getRangeExtents.
1707 (AccessibleText_getBoundedRanges):
1708 cspi binding for Accessibility_Text_getBoundedRanges.
1709 (AccessibleTextRange_freeRanges): convenience method.
1710 (get_accessible_text_clip_type): internal conversion method.
1711 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1713 * registryd/deviceeventcontroller.c:
1714 (spi_dec_mouse_check):
1715 Improved behavior for mouse:abs events
1716 [same granularity as mouse:rel events, and no
1717 events when mouse is idle].
1719 2002-12-16 Michael Meeks <michael@ximian.com>
1721 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1723 * libspi/stateset.c (state_spi_to_atk): split out
1724 ( fix several remote array bounds nasties )
1725 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1726 (impl_remove): make safe from array bounds issues.
1727 (spi_atk_state_from_spi_state): impl.
1729 * libspi/stateset.h (spi_state_set_cache_is_empty):
1730 add a set of wrapper defines to get layering right.
1732 * cspi/spi_accessible.c: update state set stuff to
1735 2002-12-14 Michael Meeks <michael@ximian.com>
1737 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1738 to avoid 2 roundtrips to the registry per key event
1739 (spi_atk_bridge_key_listener): upd.
1740 (deregister_application): release the dec.
1742 * registryd/registry.c (notify_listeners_cb):
1743 bin lots of re-enterant complexity - we no longer
1744 do a round-trip bonobo ref here, ensure that a single
1745 listener's exception failure won't poison all other
1747 (impl_registry_notify_event): bin obvious memory leak.
1749 2002-12-13 Michael Meeks <michael@ximian.com>
1751 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1752 init the ev so the error is meaningful.
1753 (spi_atk_bridge_key_listener): ditto.
1755 * cspi/spi_main.c (cspi_ev): init the ev so we start
1756 with a clean slate, otherwise the first exception
1757 kills us completely.
1759 * cspi/spi_text.c (get_accessible_text_boundary_type):
1760 add a fallthrough for no warnings.
1762 * cspi/spi_registry.c: prune unused warnings.
1764 * cspi/spi_main.c (cspi_object_take): fix
1765 mind-blowing brokenness ( by watching the compile
1768 * cspi/spi_accessible.c (Accessible_getStateSet):
1769 re-impl. to use an AtkStateSet.
1770 (spi_state_type_from_accessible_state),
1771 (init_state_table): bin these.
1773 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1775 (atk_state_set_from_accessibility_state_set): here.
1777 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1778 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1779 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1780 (AccessibleStateSet_add, AccessibleStateSet_remove),
1781 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1782 (AccessibleStateSet_isEmpty): re-write to use a local
1785 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1787 * configure.in: Revved to 1.1.7 (new keymask vals).
1789 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1791 * libspi/keymasks.h:
1792 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1794 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1797 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1798 to compare two CORBA_TypeCodes.
1799 (cspi_internal_event_add): Silence warning from FORTE compiler.
1801 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1802 avoid implicit declaration of functions.
1804 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1806 * atk-bridge/bridge.c:
1807 (spi_atk_bridge_init_event_type_consts): Store signal id for
1808 active-descendant-changed signal.
1809 (spi_atk_register_event_listeners): Add signal listener for
1810 active-descendant-changed signal,
1811 (spi_atk_bridge_signal_listener): Move code in function
1812 spi_atk-signal_emit_event() into this function.
1813 Add support for active-descendant-changed
1814 Update support for child-changed signal.
1815 (spi_bridge_window_event_listener): Silence warning.
1817 * libspi/spi_private.[ch]:
1818 (spi_init_any_object): Change second parameter from CORBA_Object to
1820 Omit call to CORBA_Object_duplicate().
1821 Set CORBA_any's _value to CORBA_Object*.
1823 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1829 (AccessibleEvent_ref, AccessibleEvent_unref):
1830 New methods, for persisting an event outside the emission context.
1831 Must be used if the new accessor methods are to be called
1832 outside of the event listener's callback.
1834 * cspi/bonobo/cspi-bonobo.c:
1835 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1836 as second parameter instead of NULL, so we can call
1837 cspi_check_ev afterwards.
1840 (cspi_object_take): New internal method,
1841 converts a CORBA_Object reference to a hard ref on
1842 an Accessible if possible, returning NULL if the object
1843 reference is invalid or an Accessible * otherwise.
1846 (AccessibleEvent_ref):
1847 Increment the event's internal private refcount, and
1848 add the event's internal struct to an internal cache
1849 if it's not already there.
1850 (AccessibleEvent_unref):
1851 Decrement the event's refcount and remove it from
1852 the cspi event cache if refcount==0.
1853 (cspi_event_compare): New private method.
1854 Compares two event structs via their ids. Used
1856 (cspi_internal_event_lookup): New private method.
1857 (cspi_internal_event_check): New private method,
1858 a 0-order sanity check for events to make sure their
1859 private data is intact.
1860 (cspi_internal_event_add, cspi_internal_event_remove):
1861 New private methods for managiing the event cache.
1863 * cspi/bonobo/cspi-bonobo-listener.c:
1865 Initialize the new private data elements (id, magic, ref_count).
1867 * atk-bridge/bridge.c:
1868 (spi_atk_bridge_signal_listener):
1869 Fixed bug #100530, passing wrong params to emission func.
1871 * registryd/deviceeventcontroller.c:
1872 (spi_dec_button_update_and_emit):
1873 Fixed type in mask bit operations; fix for #99799.
1875 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1877 Removed some of the more dangerous workarounds from
1878 previous commit; they are only needed by GOK, which
1879 in reality should be using another method to accomplish
1880 the goals. So on reconsideration some of the workarounds
1881 need to be reverted:
1883 * registryd/deviceeventcontroller.c:
1884 (spi_keycodes_contain, spi_dec_init_keycode_list):
1885 Removed these methods, used only by a nasty hack to try
1886 and detect whether a key synthesis should be allowed
1887 to reset the XKB latch state or not. This code was only
1888 required to work around an interaction between GOK,
1889 button events, and XKB.
1890 (impl_generate_key_event):
1891 Removed hack at end of key generation that tried to
1892 "do the right thing" if XKB latch keys were generated
1893 in the midst of button press/release pairs.
1896 Added a check for HAVE_XINPUT. Not normally used yet.
1898 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1900 Workarounds and fixes for mouse event/XKB interaction.
1902 * registryd/deviceeventcontroller.c:
1903 (spi_keycodes_contain, spi_dec_init_keycode_list):
1904 New internal methods.
1905 (spi_dec_set_unlatch_pending):
1906 Split the method that tells XKB to expect an
1907 unlatch (and revert it) out of the rest of the
1908 event handling code. This method is called by the
1909 two mouse event handlers (the poll and the filter).
1910 (spi_dec_update_and_emit, spi_dec_mouse_check):
1911 New methods split from spi_dec_poll_mouse_moved.
1912 The second one is now called from inside the filterFn
1913 when an XKB delatch event is received, to determine
1914 whether to revert the delatch or not.
1915 (spi_poll_mouse_moved): Refactor; also we can now
1916 properly handle the case where multiple button states
1917 have changed between polling cycles and we didn't get
1918 notified due to another client's grab.
1920 Synchronize the server while handling an XKB notification.
1921 Ugly, but apparently necessary to avoid nasty races.
1922 Check the mouse state on receipt of an XKB latch change,
1923 to decide whether to revert the latch or not. (Latches are
1924 reverted if there is an immediately preceding mouse button
1925 event that a client has consumed, in which case we don't want
1926 the user to see the side-effect of the event).
1927 (spi_device_event_controller_forward_mouse_event):
1928 Check for modifier events and fire before resetting mouse_mask_state,
1929 prevents losing modifier events.
1931 (impl_generate_keyboard_event):
1932 If we've just generated a keyboard event for a non-shift key,
1933 we don't want to revert the pending XKB latch.
1934 Otherwise, check the modifier state (via a call to
1935 spi_dev_mouse_check) and set the relatch mask to
1936 that state before returning.
1938 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1941 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1944 * atk-bridge/bridge.c:
1945 (spi_atk_register_event_listeners):
1946 Don't re-register for ATK events if the registry has died
1947 and the app needs to re-register; the ATK listeners are in
1948 process and doing so will cause duplicate emission.
1950 * registryd/deviceeventcontroller.c:
1951 (spi_poll_mouse_moved):
1952 Reformat the source, detect and emit multiple button-change
1953 events (i.e. if multiple buttons have changed between poll
1955 Add code to detect mouse-down events even when the pointer
1956 is grabbed; workaround for GOK bug 98420.
1957 (spi_controller_register_with_devices):
1958 Call XTestGrabControl with 'impervious' flag set to True,
1959 allows us to synthesize events and query the pointer even during
1960 an active grab by another client.
1961 (spi_device_event_controller_forward_mouse_event):
1962 Set the mouse_mask_state to the mouse_button_state from
1963 the intercepted event, to synchronize the grab listener with
1966 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1968 * cspi/spi_accessible.c:
1969 (AccessibleRole_getName):
1970 Added necessary strings for making this (deprecated)
1971 method work with the new role types.
1972 (init_role_table, role_table):
1973 Added definition of SPI_ROLE_APPLICATION.
1975 * libspi/spi-roletypes.h:
1976 Added SPI_ROLE_APPLICATION.
1978 * idl/Accessibility_Role.idl:
1979 Added ROLE_APPLICATION.
1981 * docs/reference/cspi/at-spi-cspi-decl.txt:
1982 Added SPI_ROLE_APPLICATION to docs.
1984 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1986 * cspi/spi_accessible.c
1987 (cspi_init_role_table): Do not write beyond end of role_table.
1988 (Accessible_getRole): Use correct type for value returned by
1989 Accessibility_Accessible_getRole().
1991 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1992 beyond end of role_table. (This fixes bug #98269)
1994 * libspi/application.c: Add include file spi-private.h for
1995 definition of spi_init_any_nil.
1997 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2001 * libspi/spi-private.h:
2002 Added DGB() macro, and extern int _dbg declaration.
2004 * registryd/registry.c:
2005 (definitions) storage for _dbg.
2006 (spi_registry_init):
2007 Get environment variable "AT_SPI_DEBUG".
2008 (spi_registry_set_debug):
2009 New method, to initialize _dbg value.
2010 (spi_listener_struct_new, spi_registry_object_finalize):
2011 (notify_listeners_cb):
2012 Changed fprintfs to use DBG and g_warning().
2014 * registryd/deviceeventcontroller.c:
2015 (_deregister_keygrab, spi_controller_register_device_listener):
2016 Changed debug/warning messages to use DBG macro.
2018 * libspi/listener.c:
2019 (impl_notify_event):
2020 Changed warning messages to use DBG macro and g_warning().
2022 * atk-bridge/bridge.c:
2023 (atk_bridge_init, spi_atk_bridge_get_registry):
2024 (spi_atk_bridge_exit_func):
2025 (spi_atk_bridge_property_event_listener):
2026 Changed status, warning, and error messages to use
2027 g_warning, g_message, and DBG macros.
2030 Read the state of the AT_SPI_DEBUG environment variable
2031 and set a local '_dbg' accordingly.
2033 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2035 FIXES for 98836, 98842, other bugs.
2038 Revved to 1.1.4, interface-age=4, binary-age=4.
2040 * registryd/deviceeventcontroller.c:
2042 Fixed crasher bug in last_mouse_pos initialization.
2044 * registryd/registry.c:
2045 (desktop_add_application, desktop_remove_application):
2046 Added (and then commented out) some support for
2047 object context marshalling. [TODO]
2049 * atk-bridge/bridge.c:
2050 (spi_atk_bridge_event_context_create):
2051 Commented out object context creation until it can
2052 be properly tested and debugged.
2054 * registryd/registry.c:
2055 (impl_registry_notify_event):
2056 Fixed crasher bug, we were calling
2057 spi_re_entrant_list_foreach () with an empty list.
2059 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2061 * idl/Accessibility_Action.idl:
2062 * idl/Accessibility_Component.idl:
2063 * idl/Accessibility_Desktop.idl:
2064 * idl/Accessibility_Event.idl:
2065 * idl/Accessibility_Hyperlink.idl:
2066 * idl/Accessibility_Image.idl:
2067 * idl/Accessibility_Relation.idl:
2068 * idl/Accessibility_Selection.idl:
2069 * idl/Accessibility_State.idl:
2070 * idl/Accessibility_Value.idl:
2071 Updated unimplemented slot count to minimum of
2072 four for all interfaces, for ABI freeze.
2074 * idl/Accessibility_EditableText.idl:
2075 * idl/Accessibility_Text.idl:
2076 Updated unimplemented slot count to six
2079 * idl/Accessibility_Registry.idl:
2080 Updated unimplemented slot count to six
2081 (also for DeviceEventController),
2084 * idl/Accessibility_Table.idl:
2085 Updated unimplemented slot count to eight,
2088 * idl/Accessibility_Event.idl:
2089 Added CORBA_any "any_data" member to Event struct.
2091 * idl/Accessibility_Event.idl:
2092 Added CORBA_any "any_data" member to Event struct.
2094 * atk-bridge/bridge.c:
2096 atk_signal_text_changed, atk_signal_child_changed,
2097 signal ids queried from gtype system.
2098 (AtkBridgeEventContextType): New enum.
2099 (AtkBridgeEventContextData): New struct.
2100 (AtkBridgeEventContext): New struct.
2101 (atk_bridge_init_event_type_consts):
2102 New method, initializes type contants for comparison
2103 prior to emit_eventv.
2104 (atk_bridge_event_context_init): New method,
2105 initializes a CORBA_any from an AtkBridgeEventContext.
2106 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2107 initialize the event.any_data struct.
2108 (spi_atk_bridge_event_context_create): New method,
2109 creates an AtkBridgeEventContext from signal/event info.
2110 (spi_atk_bridge_event_context_free): New method.
2111 (spi_atk_emit_eventv): Changed to take an
2112 AtkBridgeEventContext parameter. We now initialize
2113 the event.any_data member prior to notifying the
2114 Registry, via the AtkBridgeEventContext.
2115 (spi_atk_bridge_property_event_listener):
2116 (spi_atk_bridge_state_event_listener):
2117 Match emit_eventv signature.
2118 (spi_atk_bridge_object_event_listener):
2119 Match emit_eventv signature, and create an
2120 event context from the event details.
2121 Free the event context afterwards.
2122 (spi_atk_bridge_window_event_listener):
2123 Create an event context, pass it to the
2127 (AccessibleEvent_getContextString):
2128 (AccessibleEvent_getContextObject):
2129 New methods, allow query of AccessibleEvent objects
2130 for more context details (via the "any_data" member
2131 of the Event struct, above).
2134 Definitions for AccessibleEvent_getContextString
2135 and AccessibleEvent_getContextObject.
2137 * cspi/spi_listener.h:
2138 (InternalEvent): New struct.
2141 (AccessibleEvent_getContextString):
2142 (AccessibleEvent_getContextObject):
2143 Implementations of new methods, for obtaining
2144 additional context information from some event types.
2146 * cspi/spi_registry.c:
2147 (SPI_registerGlobalEventListener):
2148 Added mention of active-descendant-changed event in docs.
2150 * cspi/cspi-bonobo-listener.c:
2152 Marshal the any into the AccessibleEvent via
2155 * libspi/spi-private.h:
2156 #include <orbit/orbit.h>
2158 (spi_init_any_string):
2159 (spi_init_any_object):
2160 New convenience function declarations.
2164 (spi_init_any_string):
2165 (spi_init_any_object):
2166 New convenience function implementations.
2168 * registryd/deviceeventcontroller.c:
2169 (spi_poll_dec_mouse_moved):
2170 (spi_device_event_controller_forward_mous_event):
2171 Initialize any_data member of event.
2172 (spi_deregister_controller_device_listener):
2173 Fix incorrect param pass which was preventing deregistration.
2175 * registryd/registry.c:
2176 (desktop_add_application):
2177 (desktop_remove_application):
2178 Add object data to event's any_data before dispatch.
2180 Fix for error messages from GAIL.
2182 * test/event-listener-test.c:
2183 Test new ContextString and "any_data" API:
2184 (report_text_event): New method query and output context string.
2185 (main): register a new text listener with report_text_event
2188 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2190 Fixes for bugs 98127 and 97914.
2191 * cspi/spi-roletypes.h:
2192 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2194 * cspi/spi-statetypes.h:
2195 Added SPI_STATE_MANAGES_DESCENDANTS
2197 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2198 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2199 * cspi/spi_accessible.c:
2200 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2201 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2202 Accessibility_STATE_MANAGES_DESCENDANTS
2203 * libspi/accessible.c:
2204 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2205 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2206 As requested by Bill, I also cleaned up the alignment.
2207 * libspi/relation.c:
2208 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2209 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2210 * libspi/stateset.c:
2211 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2212 Accessibility_STATE_MANAGES_DESCENDANTS
2213 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2214 Document changes reflecting modifications to roles.
2215 * docs/reference/cspi/tmpl/spi_relation.sgml:
2216 Document changes reflecting modifications to relations.
2217 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2218 Document changes reflecting modifications to states.
2220 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2223 Revved to 1.1.3, interface-age=3, binary-age=3.
2224 Added REBUILD macro.
2227 Removed accessx-gui from the tests, since we have a nice
2228 keyboard accessibility capplet now :-)
2230 * test/keysynth-demo.c:
2231 (increment_scan): removed do-nothing default: case,
2234 * test/visual-bell.c:
2235 (main) : removed do-nothing default: case,
2238 * cspi/spi_action.c:
2239 (AccessibleAction_getKeyBinding_):
2240 Documented keybinding string format.
2244 (AccessibleText_getAttributes):
2245 Documented the text attribute string format.
2246 It's changed to use semicolon delimiters also,
2247 to prevent clashes with CSS attributes, but the old
2248 trick of looking for ", " strings will still work
2249 (as unreliably as ever). Fix for bug related to 97916.
2252 Include <cspi/bonobo/cspi-bonobo-listener.h>
2253 Fixes build warning.
2254 (SPI_freeAccessibleKeySet):
2255 (AccessibleKeystrokeListener_addCallback):
2256 (AccessibleKeystrokeListener_removeCallback):
2257 Modify to use AccessibleDeviceListener API internally,
2258 instead of AccessibleKeystrokeListener.
2260 * idl/Accessibility_Event.idl:
2261 Added two more empty slots to EventListener (for a total of four).
2263 * idl/Accessibility_Accessible.idl:
2264 Added four empty slots to Accessible interface.
2266 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2268 * idl/Accessibility_Registry.idl:
2269 (KeyEventType, EventType):
2270 Marked KeyEventType as deprecated; it duplicates
2271 functionality of EventType, which has been extended to
2272 include Mouse-button events.
2273 (KeyEventTypeSeq): defined in terms of EventType.
2274 (registerDeviceEventListener, deregisterDeviceEventListener):
2275 New methods, for managing listeners to device events,
2276 which potentially may consume them.
2279 Added definition for AccessibleDeviceListener.
2281 * cspi/spi-listener.h:
2282 (enum AccessibleDeviceEventType):
2283 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2284 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2285 for backwards compat.
2286 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2287 and typedef'd AccessibleKeystroke to it for back-compat.
2288 (AccessibleDeviceListenerCB):
2289 New function prototype typedef.
2292 (AccessibleDeviceEventMask): New typedef.
2293 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2294 (AccessibleKeyMaskType):
2295 Set equivalent to AccessibleModifierMaskType for back-compat.
2296 (SPI_createAccessibleKeystrokeListener):
2297 (AccessibleKeystrokeListener_unref):
2298 Deprecated in favor of equivalent (better-named) new API below..
2299 keystroke listeners are like all device listeners.
2300 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2301 New API names for old features :-).
2302 (AccessibleDeviceListener_addCallback):
2303 (AccessibleDeviceListener_removeCallback):
2304 (SPI_registerDeviceEventListener):
2305 (SPI_deregisterDeviceEventListener):
2309 (SPI_createAccessibleKeystrokeListener):
2310 Use new preferred API, cspi_device_listener_new() and
2311 cspi_device_listener_add_cb().
2312 (AccessibleKeystrokeListener_removeCallback):
2313 Use new preferred API, cspi_device_listener_remove_cb().
2314 (AccessibleKeystrokeListener_unref):
2315 Use new preferred API, cspi_device_listener_unref().
2316 (SPI_createAccessibleDeviceListener):
2317 (AccessibleDeviceListener_addCallback):
2318 (AccessibleDeviceListener_removeCallback):
2319 Implementation of new API.
2321 * cspi/spi_registry.c:
2322 (SPI_registerDeviceEventListener):
2323 (SPI_deregisterDeviceEventListener):
2324 Implementation of new API. Fixed memory leak and removed need to
2325 allocate EventTypeSeq (thanks Michael for catching this).
2326 Squashed a wayward CORBA_exception_free that shouldn't get called.
2328 * cspi/bonobo/cspi-bonobo-listener.c:
2330 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2331 (cspi_key_event): renamed to cspi_device_event().
2332 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2333 Extended to handle mouse button events as well as key events.
2334 (CSpiKeystrokeListener):
2335 Class superceded by CSpiDeviceListener.
2336 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2337 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2339 * cspi/bonobo/cspi-bonobo-listener.h:
2340 (CSpiKeystrokeListener):
2341 Class superceded by CSpiDeviceListener.
2342 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2343 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2345 * libspi/Makefile.am:
2346 Replaced keystrokelistener.h and keystrokelistener.c
2347 with devicelistener.h and devicelistener.c; keystrokelisener.h
2348 stub retained for back-compat.
2350 * libspi/keystrokelistener.c:
2354 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2356 * registryd/deviceeventcontroller.c:
2357 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2358 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2359 (DEControllerPrivateData): Added xkb settings data.
2360 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2361 button release events (which can't be captured via XGrabButton).
2362 Don't dispatch via the 'normal' event mechanism if the device event was
2364 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2365 Handle the typeseq data in its new location (see above).
2366 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2367 New methods, for "generic" device listeners.
2368 (spi_controller_register_device_listener):
2369 Now handle mouse event listeners as well as key listeners.
2370 (spi_controller_notify_mouselisteners):
2371 New internal method.
2372 (spi_device_event_controller_forward_mouse_event):
2373 Now we notify mouse device listeners as well as generating the
2374 non-consumable "mouse:" events.
2376 We must check and restore the XKB
2377 modifier map if we consume the event, since the act of triggering
2378 a mouse event will normally reset the XKB latch. This is required for
2380 (spi_controller_register_with_devices):
2381 Load the XKB settings when registering, and register for XKB
2382 state notify events.
2383 (spi_key_eventtype_seq_contains_event):
2384 Renamed spi_eventtype_seq_contains_event, since it's used
2385 internally for all device event types now.
2386 (spi_key_event_matches_listener):
2387 Uses spi_eventtype_seq_contains_event now.
2388 (spi_device_event_controller_object_finalize):
2389 Free the private data and the XkbKeyboard struct.
2390 (impl_register_device_listener, impl_deregister_device_listener):
2391 Implementation of new IDL.
2392 (spi_deregister_controller_device_listener):
2393 New internal method.
2394 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2395 More efficient implementation, we don't have to create a new
2396 XkbControls structure every time we query.
2397 (spi_device_event_controller_class_init):
2398 Initialize the epv entries for the new IDL. Assign the
2399 "spi-dec-private" quark.
2400 (spi_device_event_controller_init):
2401 Initialize the private data.
2402 (spi_device_event_controller_forward_key_event):
2403 Removed a bogus CORBA_exception_free() call.
2405 * registryd/deviceeventcontroller.h:
2406 Replaced inclusion of keystrokelistener.h with
2409 * test/event-listener-test.c:
2410 (report_mouse_event):
2413 Added mouse-event device listener.
2415 * test/test-simple.c:
2416 (create_test_window):
2417 Fixed regression (we were instantiating a GtkRange,
2418 which is now an abstract class). Also fixed to match
2419 existing AtkRole names, this seems to have changed in ATK
2420 awhile ago; too late now I think, and the new
2421 mechanism is at least elegant and consistent with the
2422 glib enum "nick" APIs.
2424 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2426 * idl/Accessibility_Relation.idl:
2427 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2428 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2429 * idl/Accessibility_Role.idl:
2430 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2431 * idl/Accessibility_State.idl:
2432 add STATE_MANAGES_DESCENDANTS
2433 * test/event-listener-test.c:
2434 Added a listener for active-descendant events.
2436 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2438 * atk-bridge/bridge.c
2439 (atk_bridge_init): If application is Bonobo component wait until top
2440 level is added before registering
2441 (spi_atk_bridge_do_registration): New function which contains code,
2442 formerly in atk_bridge_init, to do application registration.
2443 (spi_atk_bridge_toplevel_added): Signal called when top level
2444 added to Bonobo component
2446 This fixes bug #83134.
2448 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2450 * registryd/deviceeventcontroller.c
2451 Fixed compilation error caused by calling gettimeofday()
2454 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2459 Added template for HAVE_XKB.
2462 Changes to check for XKB, and to set the HAVE_XKB #define if it
2465 * libspi/listener.c:
2466 ()impl_notify_event): Make failure to get event source name
2469 * registryd/deviceeventcontroller.c:
2470 (#include): include X11/XKBlib.h.
2471 (DEControllerPrivateData) : New struct.
2472 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2474 (dec_synth_keycode_press) (dec_synth_keycode_release):
2475 New methods; split the key synthesis code into these methods.
2476 They check XKB settings before determining the "time" values to
2477 pass to Xtest; this fixes bug #95828.
2478 (impl_generate_keyboard_event): Changed to use methods above,
2479 instead of callng Xtest directly.
2480 (spi_device_event_controller_init): Initialize new privae struct s
2482 (spi_device_event_controllr_object_finalize):
2483 Free the (new) private data.
2485 * registryd/deviceeventcontroller.h:
2486 Add new gpointer to end of struct data.
2488 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2491 Incremented revision to 1.1.2, SONAME is still '.so', library
2492 extensions are ".so.0.0.2".
2494 * registryd/deviceeventcontroller.c:
2495 FIXES FOR #93592 and #95940.
2496 (statics): renamed mouse_button_state to mouse_mask_state,
2497 added key_modifier_mask.
2498 (spi_dec_poll_mouse_moved):
2499 Added key modifier checks, and emit "keyboard:modifiers"
2500 events when the key modifiers currently in use change.
2501 Also generate "mouse:abs" events periodically, even if the mouse
2502 is stationary (should we?).
2503 Alternatively we could generate "mouse:abs" events for either all
2504 mouse movements, or every 'nth' mouse movement, or at the
2505 beginning and end of every "active" mouse period.
2507 * test/event-listener-test.c:
2508 (main): Added listener for "keyboard:modifiers" events.
2510 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2512 * libspi/keymasks.h:
2513 Added key mask #defines for mouse buttons; e.g.
2514 SPI_KEYMASK_BUTTON1, etc.
2517 Incremented dependency on ATK to version 1.1.0. (This dependency
2518 is probably premature but will soon be real enough).
2520 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2522 * libspi/hyperlink.[ch]
2523 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2524 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2527 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2532 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2534 * registryd/deviceeventcontroller.c
2535 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2536 events to be ignored.
2537 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2538 keyboard_mode so that XAllowEvents() can be called.
2542 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2544 * cspi/spi-accessible.c: Correct names of roles returned by
2545 AccessibleRole_getName(). Fixes bug #95055.
2547 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2549 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2552 * registryd/registry.c
2553 (desktop_remove_application: Write diagnostic message to stderr for
2556 (impl_accessibility_registry_deregister_global_event_listener):
2557 Correct size of lists array. This addresses bug #94555).
2559 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2561 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2564 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2566 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2569 * registryd/registry.c (impl_registry_notify_event): Remove
2570 unnecessary call to parser_event_type().
2572 * docs/reference/cspi/tmpl/spi_component.sgml:
2573 Add reference to SPI_LAYER_WINDOW.
2575 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2577 * registryd/registry.c
2578 (desktop_add_application): Remove leak.
2579 (desktop_remove_application): Remove leak.
2580 (parser_event_type): Remove leak.
2582 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2584 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2585 bogus call to CORBA_string_dup(). Also removed unnecessary
2586 g_string_dup/g_free calls.
2588 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2590 * registryd/deviceeventcontroller.c:
2591 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2593 * test/event-listener-test.c:
2594 main: commented out three redundant listeners, to reduce output
2595 noise. (They still are potentially useful for testing).
2598 2002-09-13 Michael Meeks <michael@ximian.com>
2600 * Update all the copyrights to include Ximian.
2602 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2604 * cspi/spi.h: add SPI_LAYER_WINDOW.
2606 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2607 add Accessibility_LAYER_WINDOW case.
2609 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2611 * libspi/component.c: (impl_accessibility_component_get_layer):
2612 add ATK_LAYER_WINDOW case.
2614 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2616 * configure.in: incremented micro version.
2618 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2620 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2623 Clarified and reworded our commit policy.
2626 Started an API "todo" addition list for 2.2.
2629 (impl_getSelection):
2630 Free char pointer from atk_text_get_selection, which was being leaked.
2632 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2635 Small revision to author acknowledgement.
2637 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2639 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2640 If signal has detail add it to the type of the event.
2643 2002-08-12 Michael Meeks <michael@ximian.com>
2645 * test/test-simple.c (global_listener_cb): bin bogosity.
2646 (test_keylisteners): disable, still doesn't work reliably,
2647 certainly not on my system anyway.
2649 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2650 don't leak a reference on the DEC. This round-trip
2651 fetching of the DEC per keystroke sucks, it should be
2654 * cspi/spi-private.h,
2655 * cspi/cspi-lowlevel.h,
2656 * cspi/bonobo/cspi-bonobo-listener.[ch],
2657 * cspi/bonobo/cspi-bonobo.c: get the copyright
2658 notices better - there is still a large amount of
2659 work in at-spi falsely attributed solely to Sun.
2661 * cspi/spi_main.c (cspi_object_ref): kill bogus
2662 hash lookup, just increment the ref.
2663 (SPI_freeString): make explicit the fact that we
2664 handle NULL strings just fine.
2665 (report_leaked_ref): obey coding standards.
2666 (cspi_object_hash, cspi_object_equal): kill retval.
2667 (cspi_object_release): only release if not on loan.
2668 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2669 (cspi_object_borrow, cspi_object_return): impl.
2671 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2672 use cspi_object_borrow / return.
2674 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2676 * cspi/bonobo/cspi-bonobo-listener.c:
2678 Don't call cspi_oject_new() because this is creating a new Accessible
2679 every single time that an event is fired. This causes ATs like at-poke
2680 to nolonger recognise the source of the event and thus ignore it.
2681 Re-use the object from the cache, ref it and then unref it after the
2682 listeners have been called.
2684 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2686 * test/event-listener-test.c:
2687 Added command-line options to disable mouse events (m) and
2690 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2692 * configure.in: Update required versions of ATK, GTK+ and GAIL
2694 * cspi-1.0.pc.in: Add dependency for X include files
2697 * cspi/bonobo/Makefile.am:
2698 Add $(X_CFLAGS) so that X include files
2699 are picked up even if not in standard place (bug #71686)
2701 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2703 * registryd/deviceeventcontroller.c: fix for 84261
2704 (spi_dec_mouse_moved):
2705 Added test of mouse button mask, so that we can detect mouse
2706 button release. Unfortunately we can't otherwise detect mouse
2707 button release events without consuming the mouse press event,
2708 because of the way XGrabButton works. This means that our mouse
2709 release events have a latency dependent on the polling period
2710 while the mouse button is down. At least in this case we only
2711 have to poll while the button is down, and not at other times.
2712 If the button masks don't match with what the last press event
2713 reported, we report the appropriate button release event.
2714 (spi_dec_ungrab_mouse):
2715 New method (not yet called).
2716 (spi_device_event_controller_forward_mouse_event):
2717 New method, sends mouse press event from GdkFilter.
2718 (spi_dec_init_mouse_listener):
2719 Added code to call XGrabButton, redirecting mouse button events to
2720 the root window and our Gdk event loop.
2722 Added code to filter mouse button events, and reordered.
2724 * test/event-listener-test.c:
2726 Added registration for mouse events of type "mouse:button".
2728 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2730 * registryd/deviceeventcontroller.c: partial fix for 84261
2731 (spi_dec_poll_mouse_idle):
2732 New method, a timeout which checks to see if the mouse
2734 (spi_dec_poll_mouse_moving):
2735 A timeout to be called when mouse motion is underway.
2736 (spi_dec_poll_mouse_moved):
2737 A method which fires an event if the mouse has moved, and reports
2738 whether or not it did so.
2739 (spi_dec_init_mouse_listener):
2740 A method which sets up the timeouts above.
2741 (spi_device_event_controller_new):
2742 Now calls spi_dec_init_mouse_listener.
2744 * registryd/registry.c:
2745 (spi_registry_init):
2746 Now we initialize the device event controller when the registry is
2747 initialized, instead of waiting until a client has requested a key
2748 event notification; this is because we need the event controller
2749 for mouse events, but the mouse event registration API is a
2750 "registry" call and doesn't explicitly call the
2751 deviceeventcontroller.
2752 We now report mouse motion events with a 100 ms idle latency and
2753 a 20 ms granularity when motion is in progress.
2755 * test/event-listener-test.c:
2757 We now register the "detail listener" for events of type
2758 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2759 delivered only for the first mouse event received, and thereafter
2760 "mouse:abs" events are delivered.)
2762 * cspi/spi_registry.c:
2763 DOCS: Documented the above mouse event typestrings.
2765 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2767 Happy Summer Solstice...
2769 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2770 (spi_controller_notify_keylisteners):
2771 Changes to remove a listener from the listener list, freeing its
2772 open keygrabs, if a notification to that listener fails. This
2773 means that although a dead listener can continue to hold a passive
2774 keygrab, a maximum of one dispatch to such a listener can fail
2775 before the listener is removed from the list, thus the keygrab
2776 will be released on the next occurrence.
2777 As part of this fix:
2778 (spi_notify_keylisteners):
2779 Renamed to spi_controller_notify_keylisteners, as the controller
2780 instance must now be passed as an argument.
2781 The copied 'notify' GList is now a list of DEControllerKeyListener
2782 objects, since we need more than just the CORBA reference if a
2783 notify fails and we need to deregister the listener.
2784 (impl_notify_listeners_sync):
2785 (impl_notify_listeners_async):
2786 (spi_device_event_controller_forward_key_event):
2787 Modify use of notify_keylisteners in accordance with above
2789 (spi_deregister_controller_key_listener):
2790 New method introduced by refactoring, from
2791 impl_deregister_keystroke_listener.
2792 (impl_deregister_keystroke_listener):
2793 Call spi_deregister_controller_key_listener.
2794 (spi_key_listener_clone):
2795 New method to copy a key listner without doing a 'ref' on the
2796 remote object instance; used to create a notifier list.
2797 (spi_key_listener_data_free):
2798 New method, frees data without unreffing the source.
2800 (spi_key_listener_clone_free): new method.
2801 (spi_key_listener_free):
2802 refactored to call spi_key_listener_data_free.
2804 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2806 * registryd/registry.c: [fix for bug 86048]
2807 (notify_listeners_cb):
2808 Clear CORBA system exceptions which occur when notifying
2809 listeners, before returning to the source of the original event,
2810 since the event source doesn't care if the relayed notify failed.
2811 In other words, don't complain to the atk-bridge if the registry
2812 could not notify all its listeners, that's no fault of the
2813 application and thus should not appear to be an error from the
2814 application's perspective.
2816 * cspi/spi_main.c: [fix for bug 85980]
2818 Replaced use of bonobo_object_dup_ref with call to the wrapper
2819 method, csou_dup_ref (); this silences a compiler warning and
2820 provided more portability.
2822 Ping the registry before return, and restart if necessary.
2824 * cspi/bonobo/cspi-bonobo.c:
2826 New internal method.
2828 Fixed this method to return an object reference, as it should have
2831 * cspi/cspi-lowlevel.h:
2832 Added internal definition for cspi_ping() and fixed
2833 return type of cspi_dup_ref().
2836 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2838 * atk-bridge/bridge.c: [fix for bug 85305]
2839 (spi_atk_bridge_register_application):
2840 New method where the initial application registry calls have been
2841 moved; it allows an application to re-register in response to
2842 certain error conditions (such as a registry restart, see below).
2844 Moved some initialization code to the method
2845 spi_atk_bridge_get_registry, below.
2846 (spi_atk_bridge_get_registry):
2847 New, private accessor function for the Accessibility_Registry
2848 instance. If the registry has not been started before, or has
2849 died (as detected by failure of a CORBA exception), it is
2850 restarted before return, and spi_atk_bridge_register_application
2851 is called again to register with the new bridge instance.
2852 (spi_atk_emit_eventv):
2853 Set registry_died on error; use spi_atk_bridge_get_registry () to
2854 access the registry.
2856 * registryd/registry.c:
2857 (impl_accessibility_registry_register_global_event_listener):
2858 Set listener's event_type_quark to etype.minor instead of
2859 etype.major (fix for bug 84856).
2861 * test/event-listener-test.c:
2862 (report_detail_event):
2863 Change the output string so that user/tester can tell that the
2864 'detail listener' was called instead of the 'generic listener'.
2866 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2868 Fixes for bugs 84900, 84908, 84897, 84898.
2873 Revved version to 1.1.0
2874 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2875 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2877 * idl/Accessibility_Registry.idl:
2878 (EventListener::notifyEvent):
2879 Removed 'oneway' directive after extensive consulation with
2880 ORBit2 team and others. This means also that unref() of the event
2881 source can and should be done synchronously after emission, rather
2882 than remotely in the client, after servicing the notify call on
2885 NOTE: This change speeds up listener performance considerably, but
2886 introduces new latency on the application side. We may want to
2887 add an event queue to the atk-bridge.
2889 * atk-bridge/bridge.c:
2890 (spi_atk_bridge_focus_tracker):
2891 Do a local unref() on the event source after emission.
2893 * registryd/registry.c:
2894 (desktop_remove_application):
2895 Do an unref() on the event source after emission.
2896 (desktop_add_application):
2897 Do an unref() on the event source after emission.
2898 (notify_listeners_cb):
2899 When relaying an event, don't automatically add the event source
2900 to the local object cache, just CORBA_dup it instead. Likewise,
2901 if this method reenters, release the ref rather than calling
2903 (impl_registry_notify_event):
2904 No longer call remote unref() on the event source after dispatch.
2906 * libspi/eventlistener.c:
2907 (impl_accessible_event_notify_event):
2908 Removed remote unref ()
2910 * cspi/bonobo/cspi-bonobo-listener.c:
2912 We now call cspi_object_new() instead of cspi_object_add() on
2913 receipt of an event; thus we only have an implicit object ref
2914 while the cspi_event method is being executed. If we need to keep
2915 a reference to the object, the listener must call ref() on the
2916 object. Thus also we don't need to call cspi_object_unref() after
2917 invoking the listener callbacks in this method.
2921 New internal API for creating a new cspi object, without adding it
2922 to the object cache.
2924 Now uses cspi_object_new() to create the cspi object instance.
2926 Now checks to see if the object is in the internal object cache,
2927 and adds it if necessary before incrementing its refcount (note
2928 that new objects are added with a refcount of 1).
2929 (report_leaked_ref):
2930 New method which gives some information on leaked object instances
2931 if leak detection is turned on.
2933 * test/event-listener-test.c:
2934 (timing_test_event):
2935 New method, used for testing event delivery timing for special
2936 events of type "object:test". It reports elapsed time and
2937 events/sec every 500 events.
2939 Added a new listener, 'test listener', to check timing of event
2940 receipt as noted above.
2942 Added some timing output here also, reports elapsed time every 100
2945 * test/stress-test.c:
2946 Emit events of type "object:test", for use with "event-listener-test".
2948 * test/test-simple.c:
2949 (global_listener_cb):
2950 Call Accessible_ref() on the event source before calling
2951 validate_accessible, since the validation process does pointer
2952 comparisons on the event source, meaning that the event source
2953 needs to be added to the local object cache first. Any use of
2954 such pointer comparisons between Accessible objects requires that
2955 the caller hold an explicit reference to those objects.
2956 We also must therefore call Accessible_unref() when leaving this method.
2958 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2960 * registryd/deviceeventcontroller.c:
2961 (spi_controller_update_key_grabs):
2962 Fix for #84735, subsequent keygrab listeners not informed of
2963 registration failure.
2966 (spi_base_construct):
2967 Add an assertion on construct, to make sure the GObject passed in
2968 is really a GObject.
2970 Explicitly initialize object->gobj pointer to NULL;
2972 * cspi/bonobo/cspi-bonobo-listener.c:
2973 (cspi_object_add_ref):
2974 New method, can specify whether to dup-ref a bonobo object passed
2975 in if it's newly added to the object cache.
2977 Now calls cspi_object_add_ref with second param of "FALSE". This
2978 prevents us from doing a pointless dup-ref followed by
2979 release-unref for all those cases where the object is already in
2980 our object cache (fix for #85205).
2982 * atk-bridge/bridge.c:
2983 (spi_atk_bridge_idle_init):
2984 Removed this method, we don't need to initialize in an idle
2987 Changed to call spi_atk_register_event_listeners directly, not via an
2988 idle handler. (fix for #81139)
2989 (gnome_accessibility_module_shutdown):
2990 Removed conditional around deregistration of listeners, since we
2991 don't use the idle handler and thus have always registered when
2993 (spi_init_keystroke_from_atk_key_event):
2994 Changed references to Accessibility_KEY_PRESSED to
2995 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2997 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2999 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3004 * test/stress-test.c:
3007 (may have been an incomplete commit yesterday?)
3009 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3012 Added target for new stress-test.
3014 * test/stress-test.c:
3015 New test, sends 1000 focus notifies in quick succession.
3017 * test/key-listener-test.c:
3018 Now we report whether a keylistener registration
3019 request succeeded or failed.
3021 * test/event-listener-test.c:
3022 Uncommented some listeners which are now implemented.
3025 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3027 * registryd/deviceeventcontroller.c:
3028 (spi_controller_update_key_grabs):
3029 Fix for #82509, lack of failure notification when
3030 ALL_WINDOWS keygrabs fail due to XGrabKey
3031 failure: we synchronize the server when
3032 registering a passive grab, to make sure we get the
3033 error message before the call returns.
3035 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3037 * test/test-simple.c:
3039 Removed #ifdef KEY_IMPL_WORKS guards.
3040 (test_keylisteners):
3041 Removed #ifdef KEY_IMPL_WORKS guards.
3042 Fixed bug which was causing a hang waiting for a
3043 "press" event (which was already overwritten by a "release"
3044 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3046 Added code to set globals 'key_press_received' and
3047 'key_release_received'.
3050 Added section "1.1 API Proposed Additions" which
3051 lists API additions desired for at-spi-1.1 (only one so far).
3052 Updated TODO list a little.
3054 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3056 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3059 * configure.in: Revved to 1.0.0.
3061 * idl/Accessibility_Registry.idl:
3062 (registerKeystrokeListener):
3063 Added boolean return value.
3065 * registryd/registry.c:
3066 (notify_listeners_cb): Minor fix to debug output.
3068 * registryd/Accessibility_Registry.server.in.in:
3069 Revved version number in OAFIID to 1.0.
3071 * registryd/registryd.c:
3073 Use new OAFIID version.
3075 * cspi/bonobo/cspi-bonobo.c:
3077 Use new OAFIID version.
3083 * atk-bridge/bridge.c:
3085 Use new OAFIID version.
3087 * registryd/deviceeventcontroller.c:
3088 (impl_register_keystroke_listener):
3089 Added CORBA_boolean return value.
3090 (spi_controller_register_device_listener):
3091 Added gboolean return value.
3092 (spi_controller_register_global_keygrabs):
3093 Added gboolean return value.
3094 (spi_key_set_contains_key):
3095 Added implementation for many more control keys,
3096 for instance F1-F12, arrow keys, End, Home, Page_Up,
3098 [TODO: some still not implemented].
3100 * text/screen-review-test.c:
3101 (text_chunk_pad_string):
3102 New function: it provides mapping between coordinate
3103 positions of text chunks and character positions in the
3104 screen-review-line output string.
3105 (text_chunk_to_string):
3106 New function, calls text_chunk_pad_string with various
3107 pad/delimiter characters. Pushbuttons are delimited with
3108 square brackets, Frames with vertical 'pipe' lines, and
3109 other text with double quotes.
3110 (text_chunk_list_to_string):
3111 Calls new function text_chunk_to_string.
3112 (toplevel_composite):
3113 New function to composite layers CANVAS through
3114 POPUP in each toplevel (other layers are composited
3115 across toplevels, i.e. BACKGROUND and OVERLAY).
3116 (review_buffer_composite):
3117 Revise to use new methods.
3123 2002-05-31 Laszlo Peter <laca@sun.com>
3125 * configure.in: add the Xtst libdir to the runpath on Solaris,
3126 since it's not in the default library search path.
3128 2002-05-29 jacob berkman <jacob@ximian.com>
3130 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3132 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3134 * test/screen-review-test.c:
3135 (text_chunk_pad_string):
3136 Added method, which pads the string according to the
3137 text bounds of the chunk. It also takes a 3-character
3138 string as a param which indicates the characters to be
3139 used for start, padding, and end delimitation of the chunk.
3140 (text_chunk_to_string):
3141 Changed to use text_chunk_pad_string.
3143 * configure.in: Fixed bug in AC_OUTPUT that was
3144 causing path substitution in Accessibility_Registry.server
3147 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3149 * text/screen-review-test.c:
3150 (guess_string_clip):
3151 New method which attempts a best-guess at clipping
3152 text from components (like Java labels) which don't
3153 actually implement AccessibleText. This inaccurate
3154 clip is based on the assumption that the label is
3155 justified left-and-right, and monospaced.
3156 (text_chunk_get_clipped_string):
3157 We now call guess_string_clip() for text-containing
3158 components that don't implement AccessibleText.
3160 * test/screen-review-test.c:
3161 (review_buffer_get_text_chunk):
3162 We now pull "name" from labels if they do not implement
3163 AccessibleText (i.e. for Java labels).
3164 (get_screen_review_line_at):
3165 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3168 Replaceded AC_OUTPUT target
3169 registryd/Accessibility_Registry.server with
3170 registryd/Accessibility_Registry.server.in.
3172 * registryd/Accessibility_Registry.server.in:
3173 Removed (this is now a Makefile target).
3175 * registryd/Accessibility_Registry.server.in.in:
3176 Added (source for target above). We now use $(libexecdir) as
3177 prefix for the executable at-spi-registryd.
3179 * registry/Makefile.am:
3180 Now install at-spi-registryd into $(libexecdir), and build .server
3181 file with path (see above).
3183 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3185 * test/screen-review-test.c:
3186 (text_chunk_get_clipped_string):
3187 We now check to see if words fall within clip bounds
3188 before resorting to character-by-character clip bounds testing.
3190 * TODO: Added a section for "2.2 Proposed API Additions".
3192 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3194 * test/screen-review-test.c:
3196 Added a screen review benchmarking and test program to test
3199 * cspi/spi_accessible.c:
3201 Made some of the debug strings passed to cspi_check_ev a
3202 little more specific.
3204 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3206 * test/screen-review-test.c: Fix crashes in debug statements
3208 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3210 * test/screen-review-test.c: Added this file.
3212 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3214 * atk-bridge/bridge.c: changed "object:state-change" to
3215 "object:state-changed" to match docs.
3217 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3219 * atk-bridge/bridge.c: Hooked up state-change event details.
3221 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3223 * registryd/registry.c:
3224 Fixed quarking bug in event string parsing; now events with
3225 detail parameters get matched correctly to listeners.
3228 * util/idl/Magnifier.idl: remove.
3230 * util/*.[ch]: Remove.
3231 Magnification utilities and IDL are now in module gnome-mag.
3233 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3235 * registryd/deviceeventcontroller.c:
3236 Fixed bug in grab key conversion which was causing keycode grabs
3237 to be converted to AnyKey grabs.
3240 updated NEWS file to reflect recent spin-off of gnome-mag.
3242 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3244 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3245 busted AccessibleStateSet_compare. Removed redundant casts.
3247 * cspi/spi-action.c: Removed redundant casts.
3249 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3251 * cspi/spi_component.c: Fixed typos and casting error.
3253 * cspi/spi_editabletext.c: Removed redundant casts.
3255 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3257 * cspi/spi_hypertext.c: Eliminated redundant casts.
3259 * cspi/spi_image.c: Eliminated redundant casts.
3261 * cspi/spi_registry.c: Eliminated redundant casts.
3262 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3263 * cspi/spi_selection.c: Removed redundant casts.
3264 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3265 handling. Screen geometry and text offsets were being returned as 0
3266 on error which is technically valid-- changed these to return -1.
3267 Added marshaller for text boundary types to fix bug with boundary
3268 types being passed incorrectly to atk.
3270 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3273 * cspi/spi_registry.c:
3274 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3275 which was uncovered by the recent key changes.
3277 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3279 * test/event-listener-test.c:
3281 Added new test, "event-listener-test";
3282 this code does two things; it benchmarks traversal time
3283 for the accessible hierarchy for the first running accessible
3284 app, and it connects listeners for all supported event types.
3285 It is thus useful as an example event listener and for
3286 diagnostics/debugging of event generation.
3288 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3291 Removed unnecessary dependency on libutil.
3294 Revved micro version: 0.13.1
3296 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3299 Removed util/Makefile from targets.
3302 Removed util subdir from SUBDIRS (temporarily,
3303 pending removal of magnifier-only code
3307 #ifdef-ed out magnifier dependencies, since
3308 magnifier IDL, headers, and binary now live in
3309 module gnome-mag and we don't want at-spi to depend
3310 on gnome-mag. A magnifier demo which can run alongside
3311 simple-at is forthcoming in the gnome-mag module.
3313 NOTE: Split magnifier binary, IDL, and magnification
3314 activation code from at-spi into module gnome-mag.
3316 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3318 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3319 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3321 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3324 Revved to version 0.13.0
3326 * idl/Accessibility_Registry.idl:
3327 Changed definition of KeySet from sequence of longs to sequence of
3328 KeyDefinitions, and added KeyDefinition struct.
3329 Required for fix to bug 80616.
3331 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3332 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3333 to use new definition (see above).
3335 * registryd/deviceeventcontroller.c: handle_keygrab(),
3336 spi_keyset_contains_key():
3337 Changed to make use of new struct; this allows matching based on
3338 string key-name, for instance "Tab". This also allows matching of
3339 composed characters, non-alphanumeric characters in a way that
3340 doesn't involve dependencies on X keysym codes directly, etc.
3342 * test/key-listener-test.c:
3343 Added test for Alt-Tab key using "string" specification of keyset,
3344 and modified one of the tests to use a keycode-based keyset.
3345 Thus this test both tests and demonstrates the creation and use of
3346 keysets of three forms: specified via keycode array,
3347 keysym array, and string array. (The string case only contains a
3348 single string, i.e. a string array of length 1).
3351 Turned on PRINT_TREE option by default. Also fixed a
3352 string-freeing bug in the PRINT_TREE code.
3353 Added a listener to window:minimize events.
3355 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3357 * atk-bridge/bridge.c:
3358 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3359 for window:activate and window:deactiveate
3360 (atk_bridge_property_event_listener atk_bridge_signal_listener
3361 atk_bridge_window_event_listener) Tidy debug code
3363 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3365 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3366 Fixed handling for NULL return value from ATK.
3368 * libspi/action.c libspi/component.c libspi/editabletext.
3369 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3370 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3371 Removed redundant casts.
3373 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3374 Fixed off by one bug.
3376 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3377 function not present in idl)
3379 2002-05-02 jacob berkman <jacob@ximian.com>
3381 * atk-bridge/Makefile.am: make atk-bridge a real module
3383 2002-04-26 Radek Doulik <rodo@ximian.com>
3385 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3386 atk_state_types table
3388 2002-04-22 jacob berkman <jacob@ximian.com>
3391 * libspi/Makefile.am: add deps on the built files to help
3392 automake, and don't version the ORBit typelib
3394 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3396 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3397 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3398 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3399 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3400 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3401 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3402 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3403 libspi/accessible.h libspi/accessible.h libspi/base.h
3404 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3405 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3406 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3407 libspi/spi-private.h libspi/statetset.h libspi/table.h
3408 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3409 util/mag_client.h util/mag_control.c util/mag_image.c
3410 util/mag_image.h util/magnifier.c util/magnifier.h:
3411 Add missing file headers; standardize existing ones
3413 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3415 * atk-bridge/bridge.c: Added window event support.
3417 2002-04-18 Michael Meeks <michael@ximian.com>
3419 * libspi/relation.c (impl_getNTargets): impl.
3420 (impl_getTarget): impl.
3422 * libspi/Makefile.am: fix stateset install.
3424 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3427 Started putting useful info in this file.
3429 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3431 * atk-bridge/bridge.c:
3432 Propagate state-changed notifications to ATs
3434 * cspi/spi_registry.c: update docs to reflect actual behavior of
3435 state-change events.
3437 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3440 Incremented version to 0.12.1
3442 * util/mag_client.h:
3443 Add missing declaration for magnifier_exit,
3444 used by mag_control.c - Forte compiler didn't like
3445 the implicit redeclaration of the function :-(
3448 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3451 Revved version to 0.12 due to API change (see below).
3453 * cspi/spi-roletypes.h:
3454 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3455 definition from the inline docs, and added docs
3456 for SPI_ROLE_LAST_DEFINED.
3459 * cspi/spi_streamablecontent.c:
3460 Added missing seek_type parameter to
3461 (so far unused) method,
3462 AccessibleStreamableContent_seek().
3463 [ RT approval JodyG. ]
3466 Fixed docs for SPI_createAccessibleKeystrokeListener.
3468 * cspi/spi_registry.c:
3469 Fixed docs for SPI_KEYSET_ALL_KEYS.
3471 * docs/reference/cspi/at-spi-cspi-sections.txt:
3472 Added a number of missing APIs to SECTIONS.
3474 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3476 * registryd/Makefile.am:
3478 * cspi/bonobo/Makefile.am:
3479 Add $(X_LIBS) to makefiles.
3481 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3484 Revved version to 0.11.
3486 * libspi/component.c:
3487 Added implementation for grabFocus.
3489 * idl/Accessibility_Component.idl
3490 (Accessibility_Component_grabFocus):
3491 Made this method return boolean to indicate success or failure, to
3492 be consistent with cspi and the corresponding ATK method.
3494 * idl/Accessibility_Selection.idl
3495 (Accessibility_Selection_selectAll) :
3496 Made these methods return boolean to indicate success or
3497 failure, to be consistent with cspi and the corresponding ATK methods.
3499 * idl/Accessibility_EditableText.idl
3500 (Accessibility_EditableText_setTextContents,
3501 Accessibility_EditableText_insertText,
3502 Accessibility_EditableText_cutText,
3503 Accessibility_EditableText_deleteText,
3504 Accessibility_EditableText_pasteText):
3505 Made these methods return boolean to indicate
3508 * cspi/spi_editabletext.c:
3509 Made these methods return booleans.
3511 * libspi/selection.c:
3512 * libspi/component.c:
3513 * libspi/editabletext.c:
3514 Connected the boolean returns from ATK
3515 to the server-side code referenced above.
3517 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3519 * idl/Accessibility_Table.idl: Added missing methods,
3520 Accessibility_Table_addRowSelection,
3521 Accessibility_Table_addColumnSelection,
3522 Accessibility_Table_removeRowSelection,
3523 Accessibility_Table_removeColumnSelection.
3526 Added C wrappers for above IDL:
3527 AccessibleTable_addRowSelection,
3528 AccessibleTable_addColumnSelection,
3529 AccessibleTable_removeRowSelection,
3530 AccessibleTable_removeColumnSelection.
3533 Added server-side implementation code for IDL above, connecting
3534 to pre-existing ATK api.
3536 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3538 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3540 * libspi/accessible.c: Added implementation fo
3541 Accessibility_Accessible_get_state.
3543 * libspi/libspi.h: Added stateset.h to the list of includes.
3545 * libspi/stateset.c: Fixed broken implementation.
3547 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3550 Added implementation code for Accessibility_Magnifier_exit ().
3552 * util/mag_control.c:
3553 Added test code for above method; you can
3554 now kill an existing magnifier via
3555 ./mag_control q, from the util directory.
3557 * test/key-listener-test.c:
3559 Added a new test, for our key listener API.
3561 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3563 * test/app.c, test/keysynth-demo.c:
3565 Replace use of snprintf with g_snprintf.
3566 (fix for bugzilla 78249)
3568 2002-03-27 Michael Meeks <michael@ximian.com>
3572 * util/Makefile.am (INCLUDES): fix.
3573 (DONT_DIST_SOURCE): don't distribute the
3576 * libspi/Makefile.am (dist-hook): ditto.
3578 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3580 * libspi/hypertext.c:
3581 Fix warnings when yelp is used with atk-bridge
3583 2002-03-21 Michael Meeks <michael@ximian.com>
3585 * libspi/application.c (spi_application_new):
3586 use spi_accessible_construct so we use the AtkObject
3589 2002-03-19 Michael Meeks <michael@ximian.com>
3591 * registryd/registry.c (desktop_remove_application),
3592 (desktop_add_application): clean coding style.
3594 * registryd/desktop.c (spi_desktop_remove_application),
3595 (spi_desktop_add_application): kill re-enterency hazards.
3596 (spi_desktop_dispose): remove bogus redundant cast
3597 obscuring bug; fix bug too.
3598 (spi_desktop_init): make the desktop object immortal.
3600 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3603 Added a #define-guarded tree-traversal step
3604 when enumerating the apps (diagnostic tool).
3606 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3608 * idl/Accessibility_Role.idl:
3609 Added ROLE_DRAWING_AREA which seemed to be missing from the
3612 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3614 * cspi/spi-roletypes.h cspi/spi_accessible.c
3615 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3618 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3619 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3620 AT when applications are added and removed from the desktop. This
3621 reverts the previous broken implementation using the backing
3622 AtkObject for the SpiDesktop.
3624 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3626 * registryd/desktop.c: emit the "children-changed::add" and
3627 "children-changed::remove" signals on the backing ATK object for
3628 the desktop so AT can tell when applications are started and shut
3631 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3633 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3635 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3637 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3639 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3641 * cspi/state-types.h: synched with IDL and ATK
3643 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3645 * libspi/accessible.c
3646 (impl_accessibility_accessible_get_child_at_index):
3647 Change return value for g_return_if_fail ()
3648 to CORBA_OBJECT_NIL instead of "0" (!)
3650 * registryd/Makefile.am:
3651 * registryd/Accessibility_Register.server.in:
3652 Changed name of executable, "registryd",
3653 to something more informative:
3656 2002-03-13 Michael Meeks <michael@ximian.com>
3658 * atk-bridge/bridge.c (atk_bridge_init): don't register
3659 if we're in a bonobo-component, rather than a bonobo app.
3661 2002-03-13 Michael Meeks <michael@ximian.com>
3663 * atk-bridge/bridge.c (gtk_module_init): split
3664 out body to (atk_bridge_init): here, since otherwise
3665 we get symbol conflicts and oddness when invoked
3666 from (gnome_accessibility_module_init): here (upd.)
3668 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3671 New file. Explicitly allow "build sheriff" putbacks provided
3672 they are tested on Solaris.
3674 * docs/reference/cspi/Makefile.am:
3675 Added '-' to the "cp" command for index.sgml.
3676 ("patch by thomasvs, soon coming to a GUADEC near you")
3679 Incremented version number (0.9.0) for new release.
3680 Changed macro that checks for popt, to better detect
3681 obsolete versions of popt.
3684 Added X_LIBS to AC_SUBST, for applications
3685 that call Xlib API directly.
3688 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3691 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3694 Fix regression caused by hard-coding major
3695 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3698 * test/test-simple.c (test_editable_text),
3699 (test_test): revert previous change (error was
3700 a regression in gail which is now fixed).
3702 2002-03-04 Michael Meeks <michael@ximian.com>
3704 * test/test-simple.c (test_editable_text),
3705 (test_text): pass G_MAXINT instead of '-1' for
3706 whole string - is this a good thing !?
3708 * cspi/spi_accessible.c
3709 (Accessible_getRelationSet): fix crasher bug
3710 overwriting the end of the array.
3712 * test/test-simple.c (validate_accessible): free,
3713 not g_free returned relation set.
3715 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3717 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3718 implemented stateset support
3720 * idl/Accessibility_State.idl: Made necessary changes to
3721 the IDL to support state sets.
3723 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3725 * registryd/deviceeventcontroller.c:
3726 Added implementation for generateMouseEvent.
3728 * cspi/spi_registry.c:
3729 Connected new implementation for generateMouseEvent
3732 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3735 Incremented revision (but no change in public API
3736 outside of 'utils', which are not installed public yet.)
3738 * libspi/component.c:
3739 Changed to use atk_component API for layers and
3740 mdi_zorder, instead of deprecated atk_object API.
3742 Magnification Utility Enhancements:
3745 Added implementation of createZoomRegion, clearAllZoomRegions,
3746 resizeZoomRegion. Added new commandline argument
3747 "--no-initial-region". Note that clearAllZoomRegions doesn't
3748 unmap the old '0' region as it should (yet), and the other
3749 methods only work when creating/resizing a single region,
3750 which is "region 0".
3751 (Code for multiple region support will be added later.)
3754 Now we raise the magnifier window each time it's refreshed;
3755 this will help keep it on top.
3757 * util/mag_client.h:
3758 Added simple wrappers for above, used by mag_control.
3759 For general use, it's recommended to use the bonobo magnifier
3760 control API directly instead of using these wrappers.
3763 Moved ZoomRegionData from magnifier.c to this file.
3765 * util/mag_control.c:
3766 Added some code to exercise new IDL implementations.
3768 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3770 * libspi/text.c: Provide implementation for getAttributes.
3772 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3775 Incremented revision.
3777 * test/test-simple.c:
3778 Replaced use of deprecated g_main_iteration with
3779 g_main_context_iteration.
3781 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3784 Incremented revision for desktop alpha 2.
3786 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3788 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3791 * test/simple-at.c: include netinet/in.h.
3793 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3795 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3796 use NULL, not CORBA_OBJECT_NIL.
3798 * libspi/accessible.c:
3799 (impl_accessibility_accessible_get_relation_set):
3800 allocate the sequence correctly.
3802 * libspi/remoteobject.h: kill spi_remote_object_new.
3804 * test/test-simple.c: (validate_accessible): add code
3805 to test relation sets, now all we need is to figure
3806 out how to excercise this code path :/
3808 2002-01-18 Michael Meeks <michael@ximian.com>
3810 * test/test-simple.c
3811 (key_listener_cb): consume the key.
3812 (test_keylisteners): update.
3813 (main): wait for any pending unrefs on events.
3815 * registryd/deviceeventcontroller.c
3816 (spi_controller_update_key_grabs): only re-issue the
3817 grab on a key release.
3818 (spi_device_event_controller_forward_key_event):
3819 refresh the keygrabs before we notify the listeners,
3820 to reduce the X ungrab / re-grab race.
3821 (spi_controller_register_with_devices): remove
3822 XSelectInput - we do that with the gdk_window_ call.
3823 (_spi_controller_device_error_handler): return a value.
3824 s/GDK_DISPLAY/spi_get_display/
3826 2002-01-17 Michael Meeks <michael@ximian.com>
3828 * registryd/deviceeventcontroller.c
3829 (_deregister_keygrab): don't blow out the later
3832 * test/test-simple.c (test_keylisteners): do a
3833 more intelligent validation.
3835 2002-01-14 Michael Meeks <michael@ximian.com>
3837 * atk-bridge/bridge.c
3838 (gnome_accessibility_module_init),
3839 (gnome_accessibility_module_shutdown): impl.
3840 (gtk_module_init): protect vs. double inits.
3841 (add_signal_listener): impl.
3842 (spi_atk_bridge_state_event_listener): kill
3843 (deregister_application): split out of
3844 (spi_atk_bridge_exit_func): here.
3846 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3849 Added caret tracking when using magnifier, and
3850 now use text bounds for focus tracking of text elements, rather than
3851 the component bounds - this is helpful for short text fields in long
3852 table cells, at high magnification.
3854 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3856 * registryd/deviceeventcontroller.c:
3857 Regression fix for keylistener de-registration; global keygrabs
3858 were not being released when deregisterKeystrokeListener was
3859 called in cspi, since
3860 Accessibility_DeviceEventController_deregisterKeystrokeListener
3861 was called with a zero-length keyset. That is because the cspi
3862 method, SPI_deregisterKeystrokeListener, does not take a keyset
3863 parameter but instead should remove all the key grabs held be a
3865 The code in impl_deregister_keystroke_listener was changed to copy
3866 the keylist from the listener instance previously registered with
3867 the DeviceEventController before releasing the grabs.
3869 * registryd/registry.c:
3870 * registryd/deviceeventcontroller.c:
3871 * libspi/spi-private.h:
3873 Changed spelling of "re-enterant" to "re-entrant" globally.
3875 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3877 * test/test-simple.c:
3878 Changed key listeners test - the test was slightly mis-using the
3879 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3880 It now uses '=' as the key event listened to and generated,
3881 relying on a keysym match rather than assuming that keycode 33
3882 is always equal to keysym '!'.
3884 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3887 Changed simple-at to use a specific keyset, rather than
3888 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3889 manager, desktop, etc.
3891 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3893 * registryd/deviceeventcontroller.c:
3894 Replaced standard X error handler with a special handler that
3895 is non-fatal for failed keygrabs. This works around
3896 problems with keygrab clashes sometimes observed on
3898 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3899 mouse handling code as yet).
3901 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3904 Incremented revision for desktop alpha release.
3907 Fixed a couple of the more glaring errors (still not
3910 2002-01-11 Michael Meeks <michael@ximian.com>
3912 * registryd/deviceeventcontroller.c
3913 (spi_device_event_controller_forward_key_event): kill
3914 XUngrabKey / XKeyGrab race.
3915 (spi_controller_grab_keyboard): rename to
3916 (spi_controller_update_key_grabs): this, and deal
3917 with incremental adding / removing grabs more
3919 (_register_keygrab): ensure we're not pending a remove.
3920 (spi_grab_mask_free): impl.
3921 (spi_controller_register_global_keygrabs): split out
3923 (handle_keygrab): impl.
3924 (_deregister_keygrab): impl.
3925 (spi_controller_deregister_global_keygrabs): impl.
3926 (spi_controller_update_key_grabs): re-issue the grab if
3927 we just recieved a notification.
3929 * test/test-simple.c (key_listener_cb): remove debug.
3931 * registryd/deviceeventcontroller.c
3932 (spi_controller_register_device_listener): after
3933 registering a global keygrab, actualy register it !
3934 don't wait for a timeout; doh !
3936 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3937 to make it more readable / manipulable.
3938 s/grabmask/grab_mask/ s/refcount/ref_count/
3939 s/keyval/key_val/ s/modmask/mod_mask
3941 2002-01-08 Michael Meeks <michael@ximian.com>
3943 * registryd/deviceeventcontroller.c
3944 (spi_controller_register_with_devices): use gdk calls to
3946 (global_filter_fn): implement the filter.
3947 (spi_device_event_controller_check_key_event): rename to
3948 (spi_device_event_controller_forward_key_event): this & upd.
3949 (spi_get_display): replace with GDK_DISPLAY.
3951 * registryd/deviceeventcontroller.c
3952 (spi_controller_deregister_device_listener): unroll into
3953 (impl_deregister_keystroke_listener): here to simplify.
3954 (spi_controller_register_global_keygrabs): split cut and
3955 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3956 (spi_controller_deregister_device_listener): remove.
3957 (impl_register_mouse_listener): remove, no mouse listener
3958 support in at-spi-1.0
3960 * registryd/registry.c
3961 (_device_event_controller_hook): kill.
3962 (spi_registry_init): upd.
3964 * registryd/deviceeventcontroller.c
3965 (spi_device_event_controller_class_init): upd.
3966 (spi_check_key_event): merge into.
3967 (spi_device_event_controller_check_key_event):
3968 here and kill strange static ev init, don't leak
3969 the x_event - nor dynamicaly allocate it.
3971 * registryd/registry-main.c (main): re-direct
3972 timeout to remove strange vtable mess.
3974 * registryd/deviceeventcontroller.c
3975 (remove_listener_cb): impl.
3976 (spi_controller_deregister_device_listener):
3977 fix re-enterancy hazard.
3979 2002-01-07 Michael Meeks <michael@ximian.com>
3981 * registryd/deviceeventcontroller.c
3982 (spi_device_event_controller_new): upd.
3983 (impl_notify_listeners_sync): upd. debug.
3984 (spi_notify_keylisteners): fix re-enterancy hazards,
3985 prettify, remove O(n*n) iteration.
3986 (spi_controller_grab_keyboard): fix iteration.
3987 (spi_check_key_event): re-format to suit coding style.
3988 Clean all the warnings - we're warning free.
3990 * registryd/deviceeventcontroller.h:
3991 * registryd/registry.h: make mutualy referential with
3992 typesafe forward references instead of (!) void pointer
3995 2002-01-11 Michael Meeks <michael@ximian.com>
3997 * cspi/spi_accessible.c (role_names): add a role name
3998 to sync this array with the enum; and make the regression
4001 2002-01-10 Michael Meeks <michael@ximian.com>
4003 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4004 allow expansion of enumeration & kill warning.
4006 * test/test-simple.c (key_listener_cb): impl.
4007 (test_keylisteners): impl.
4009 * cspi/spi-listener.h: make listener signatures const
4010 on the provided (const) events.
4012 * test/keysynth-demo.c: upd. to const events.
4014 * test/simple-at.c: ditto.
4016 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4019 Rev the version to 0.5 (the previous tarball was named 0.4,
4020 even though the micro number was 3), so we need to rev upwards
4021 again for beta2/"desktop-alpha"
4024 Checked in a demo script, which requires editing before use!
4025 Proceed with caution.
4028 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4030 * cspi/spi_accessible.c:
4031 Add a couple of missing enum initializations, and fix some enum
4034 * cspi/spi_registry.c:
4035 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4037 * docs/reference/cspi/at-spi-cspi-sections.txt:
4038 Remove/fix a couple of broken document references.
4041 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4042 as Alt-Control to listen for commands, since on some systems
4043 Control-Alt may already be grabbed.
4045 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4048 Update version number to 0.4 for Beta2.
4050 * libspi/accessible.c, libspi/accessible.h:
4051 Expose spi_accessible_construct, to enable libgail-gnome
4052 construction from spi_accessible subtype.
4054 * utils/magnifier.c:
4055 Workaround for bug in some non-gnome-compliant window managers
4056 which made magnifier resize improperly.
4058 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4060 * libspi/accessible.c: (spi_accessible_new) :
4061 Move the test for SPI_IS_REMOTE_OBJECT to
4062 spi_accessible_new_return, fixing a bug and compile time warning.
4064 2002-01-08 Michael Meeks <michael@ximian.com>
4066 * registryd/registry.c (parse_event_type): remove strndup.
4068 * libspi/Makefile.am (libspi_la_SOURCES): remove
4069 sources already included in the headers section.
4071 * libspi/util.c: add.
4073 * libspi/spi-private.h: add.
4075 * registryd/registry.c: update to moved list iterators.
4077 2002-01-05 Michael Meeks <michael@ximian.com>
4079 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4081 * test/test-simple.c (main): ditto.
4083 2002-01-04 Michael Meeks <michael@ximian.com>
4085 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4086 redundant construct.
4088 * registryd/registry.c
4089 (get_listener_list): impl.
4090 (impl_accessibility_registry_register_global_event_listener):
4091 re-impl. to simplify using ~, remove dodgy const cast off.
4092 (parse_event_type): constify.
4093 (impl_accessibility_registry_deregister_global_event_listener_all):
4094 re-write, more efficiency and simplicity, kill re-enterancy
4096 (compare_listener_corbaref, compare_corba_objects),
4097 (compare_listener_quarks): define out.
4098 (impl_accessibility_registry_deregister_global_event_listener):
4099 re-write for effiency, and nail re-enterancy hazard.
4100 (impl_accessibility_registry_get_desktop_list): impl.
4101 (re_enterant_list_delete_link): impl.
4102 (re_enterant_list_foreach): impl.
4103 (remove_listener_cb): impl.
4104 (_registry_notify_listeners): kill.
4105 (notify_listeners_cb): impl.
4107 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4108 (SPI_getDesktopList): impl.
4110 * test/test-simple.c (test_desktop): test the methods.
4112 2002-01-03 Michael Meeks <michael@ximian.com>
4114 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4115 keystrings since we free them
4116 (SPI_freeAccessibleKeySet): in here.
4118 * libspi/accessible.c (spi_accessible_new): kill warning,
4119 wonder what is going on with the constructor here.
4121 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4123 * libspi/accessible.c (spi_accessible_new ()) :
4124 Added check to see if AtkObject is an SpiRemoteObject before
4125 creating an SpiAccessible.
4127 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4129 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4130 Enable keygrabs using the Control modifier, now that they are
4131 working properly (they were previously disabled).
4134 Change the command keygrab for this demo to "Control+Alt", so as
4135 to conflict with fewer other key commands on the system; this
4136 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4138 Removed a pointlessly-chatty keylistener for unshifted keys
4139 (shifted keys are still reported).
4141 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4143 * libspi/remoteobject.h:
4144 * libspi/remoteobject.c:
4145 Added definitions for special AtkObject subtype, required for
4146 support of remote components (specifically, used by BonoboControl
4147 accessibility implementation).
4149 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4151 * cspi/spi.h: synched relation types with ATK
4153 * cspi/spi_accessible.c: Added implementations of
4154 AcccessibleRelation_* methods
4156 * idl/Accessibility_Relation.idl: added getRelationTypeName
4157 method. Synched known relation types with ATK. Allowed for
4158 relation type extension with the RELATION_EXTENDED type.
4160 * libspi/relation.c: Provided implementations for
4161 AccessibleRelation methods.
4163 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4165 API tweaks for today's API 'freeze'.
4168 Added placeholder functions to allow future compatible expansion
4169 of the IDL interfaces.
4171 * idl/Accessibility_Registry.idl:
4172 Changed generateKeyEvent to generateKeyboardEvent. Changed
4173 signature of this method to accept an optional keystring in
4174 parameter (for complex text input synthesis) and changed use of
4175 simple 'boolean' parameter in registerKeystrokeListener to a
4176 struct, EventListenerMode.
4178 * cspi/spi_accessible.c:
4180 * cspi/spi_streamablecontent.c:
4181 Added references to AccessibleStreamableContent interface, and
4182 definition and implementation of AccessibleStreamableContent
4185 * cspi/spi_registry.c:
4187 Changed generateKeyEvent API to generateKeyboardEvent,
4188 taking a new (optional) keystring parameter to support complex
4193 Renamed directory (to better reflect its actual purpose, bridging
4194 from at-spi to ATK). The .so module is also now named
4197 * idl/Accessibility_Hypertext.idl:
4198 * libspi/accessible.c:
4199 * libspi/hypertext.h:
4200 * libspi/hypertext.c:
4201 Changed Accessibility_Hypertext to *not* derive from
4204 * cspi/spi_registry.c:
4205 Added list of legal event type names for 'window' events, which
4206 completes the registry event API.
4208 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4210 * at-bridge/bridge.c: Added registration for separate
4211 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4212 signals. If either of the first two parameters to the generic
4213 bridge signal handler are ints, they are passed on as event
4214 details. This allows an AT to determine what text was inserted.
4216 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4218 * registryd/deviceeventcontroller.c:
4219 Fixed regressions in generateKeyEvent caused by the removal of
4220 gdk_init from registryd; we now use pure X calls to connect to the
4221 display, which makes sense because deviceeventcontroller already
4222 uses a fair bit of X API (should eventually be migrated to a
4223 'portability layer').
4225 * registryd/desktop.c:
4226 Fixed minor regression in spi_desktop_init, changed the way the
4227 desktop name is being set to work with new spi_base API
4228 (gobject-based, rather than AtkObject-based).
4230 * registryd/Makefile.am:
4231 Minor revision of makefile to use XTST_LIBS variable rather than
4232 hard-wiring the Xtst LD_ADD element.
4234 * test/keysynth-demo.c:
4235 Tweaked an output message; added initialization of the
4236 'keystrings' member of the "switch listener" key_set.
4238 * libspi/relation.c:
4239 Squashed compile-time warning.
4241 * libspi/accessible.c:
4242 Cosmetic and formatting fixes, renamed a static method.
4244 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4246 * libspi/accessible.c
4248 * libspi/application.c
4251 * libspi/component.c
4252 * libspi/editabletext.c
4253 * libspi/hyperlink.c
4254 * libspi/hypertext.c
4256 * libspi/selection.c
4260 * registryd/desktop.c:
4261 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4263 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4265 * idl/Accessibility_Registry.idl:
4266 Added boolean member 'is_text' to DeviceEvent. This is for the
4267 use of key events, and helps prevent ambiguity between composed
4268 key strings and keysym names, since both may potentially be
4269 returned in the 'event_string' member.
4271 * at-bridge/bridge.c:
4272 * registryd/deviceeventcontroller.c:
4273 Use the 'is_text' member when notifying device event listeners.
4274 Knon issue: composed characters are not dealt with correctly by
4275 the global key listener implementation yet.
4277 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4279 * at-bridge/bridge.c:
4280 Namespaced local static methods to spi_atk_bridge_* where
4281 previously named bridge_*, and spi_* elsewhere.
4283 * at-bridge/bridge.c:
4284 * cspi/bonobo/cspi-bonobo-listener.c:
4285 Added demarshalling/conversion for string member of
4286 Accessibility_DeviceEvent to AccessibleKeystroke.
4288 * registryd/deviceeventcontroller.c:
4289 Added code to fill the Accessibility_DeviceEvent key string value
4290 member for global key events (i.e. from XGrabKey), to match
4291 behavior of Accessibility_DeviceEvent from the toolkit key events
4292 from the bridge. Fixed timestamp in global key event notifications.
4295 Added printout of key event's string value to
4296 report_ordinary_key_event, for demo/debugging purposes.
4298 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4300 * idl/Accessibility_Registry.idl:
4301 Removed Accessibility_KeyStroke structure in favor of generic
4302 Accessibility_DeviceEvent structure.
4303 Changed Accessibility_ControllerEventMask from a struct to an
4306 * at-bridge/bridge.c:
4307 Changed APIs to use DeviceEvent structure as above, and removed
4308 bogus casting between these event structures.
4310 * cspi/spi-listener.h:
4311 Added keystring member of AccessibleKeystroke structure, to enable
4312 matching on event "names" rather than only hardware codes and
4316 Added keystrings member of AccessibleKeySet struct, to allow
4317 matching on event names (as above).
4318 Added declarations for SPI_createAccessibleKeySet and
4319 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4320 event modmasks directly as unsigned ints rather than structs with
4321 refcounts, in the DeviceEventController methods.
4323 * cspi/spi_registry.c:
4324 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4326 * cspi/spi-roletypes.h:
4327 Added documentation of newly added SPI Roles.
4329 * cspi/bonobo/cspi-bonobo-listener.c:
4330 Changes in support of API changes above.
4332 * libspi/accessible.c:
4333 Converted APIs to use DeviceEvent structure (see IDL changes
4336 * registryd/deviceeventcontroller.c:
4337 Added DEControllerGrabMask structure to track keygrabs not only by
4338 modmask but by keyset as well; this allows us to do "global"
4339 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4340 grabbing on AnyKey and then filtering after-the-fact.
4341 Bugfixes for event filtration mean that we don't get false matches
4342 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4344 * registryd/deviceeventcontroller.c:
4345 Namespaced a number of static methods to use spi_ prefix. Major
4346 revision to internals of global (i.e. X) key grabs.
4348 * registryd/deviceeventcontroller.h:
4349 Removed keymask_list and added keygrabs_list to
4350 SpiDeviceEventController struct.
4353 Added use of SPI_createAccessibleKeySet API when creating a
4354 listener for only one key. Attach a listener to "shift spacebar
4355 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4356 X key event names to SPI key event names, so that listeners are
4357 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4359 * test/keysynth-demo.c:
4360 Changed (incorrect) use of X key event names (KeyPressed,
4361 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4364 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4366 * libspi/accessible.c:
4367 Convert all AtkRole enumerations to Accessibility_Role enums when
4368 getting a role from an AtkObject.
4370 * cspi/spi_accessible.c:
4371 Complete the conversion of Accessibility_Role enums at runtime to
4372 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4373 role enums correctly match those given in spi-roletypes.h.
4374 Re-synchronize the local names list for AccessibleRole_getName ().
4375 AccessibleRole_getName is now deprecated, since it duplicates the
4376 more reliable Accessible_getRoleName.
4377 Added some role types from Accessibility_Role.idl.
4379 * idl/Accessibility_Role.idl:
4380 Added some role types used by AtkRole.
4382 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4385 * cspi/spi_registry.c:
4387 * cspi/cspi-bonobo-listener.c:
4388 Namespaced all methods that did not begin with an "SPI_" or
4389 "Accessible" prefix to "SPI_".
4392 Homogenized internal function namespace to "cspi_" for statics.
4395 Patched tests to use the new CSPI API.
4397 * docs/reference/cspi/at-spi-cspi-sections.txt:
4398 Updated docs to reflect namespace changes, and added a number of
4399 methods to the documentation.
4401 * registryd/registry.c:
4402 Changed use of strings and string hashes in listener event
4403 matching and parse_event_string to use GQuark, which is guaranteed
4406 * registryd/registry.h:
4407 Squashed annoying warning.
4409 * idl/Accessibility_Role.idl:
4410 Extended range of available Accessibility_Role values.
4412 * cspi/spi_accessible.c:
4413 Re-ordered role names.
4415 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4417 * idl/Accessibility_Value.idl:
4418 Revert use of union back to CORBA_double, since the double type is
4419 more efficient and can contain the other types without loss of
4422 * idl/Accessibility_Accessible.idl:
4423 Added method Accessibility:Accessible:getRoleName, to complement
4424 Accessibility:Accessible:getRole.
4426 * cspi/spi_accessible.c:
4428 Added C binding for above, Accessible_getRoleName (), and changed
4429 signature of Accessible_getRole () to return an AccessibleRole.
4431 * cspi/spi-roletypes.h:
4432 Changed AccessibleRole_getName to return a char * instead of a
4433 const char *. This method is now at least temporarily deprecated
4434 in favor of asking Accessibles for their RoleNames directly.
4437 Revert to match Accessibility_Value.idl;
4441 Change signature of AccessibleValue methods to use double rather
4445 * cspi/spi_accessible.c:
4446 Changed Accessible_getRole to return an AccessibleRole enum rather
4447 than a UTF-8 string. The UTF-8 string can still be obtained via
4448 AccessibleRole_getName ().
4450 * test/test-simple.c:
4451 Add test_action. Small fixup to match API change to Accessible_getRole.
4454 Bugfix for get_action_from_servant ().
4456 2001-12-11 Michael Meeks <michael@ximian.com>
4458 * libspi/libspi.h: remove registry.h and
4459 desktop.h, deviceeventcontroller.h
4461 * libspi/Makefile.am: remove registry.[ch],
4462 desktop.[ch], deviceeventcontroller.[ch]
4464 * registryd/Makefile.am: add registry.[ch],
4465 desktop.[ch], rename registryd.c to registry-main.c.
4466 add deviceeventcontroller.[ch]
4468 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4471 Replace setenv() call with putenv ().
4473 * libspi/component.c:
4474 Bugfix in AccessibleComponent_getExtents (),
4477 2001-12-11 Michael Meeks <michael@ximian.com>
4479 * libspi/image.c (impl_getImageExtents): impl.
4480 (spi_image_class_init): upd.
4483 (AccessibleImage_getImageDescription): fix daft bug
4486 * test/test-simple.c (global_listener_cb): update
4487 to only quit if not --poke
4488 (main): catch --poke.
4489 (validate_accessible): upd. dumping, call test_image
4492 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4495 * idl/Accessibility.idl: update all IDL includes.
4497 * idl/*.idl - rename to namespace - this sucks, blame
4498 mjs' bad decision for oafd.
4500 * test/test-simple.c (create_test_window): add more tests.
4501 (create_tree): split this out.
4502 (validate_accessible): bugfix.
4504 2001-12-11 Michael Meeks <michael@ximian.com>
4506 * cspi/bonobo/cspi-bonobo-listener.c:
4507 (cspi_kestroke_listener_unref),
4508 (cspi_event_listener_unref): impl. undoing previous
4509 homenous environment - for Bill.
4511 * cspi/spi_table.c (long_seq_to_array): use
4514 * cspi/spi_main.c: split out all bonoboish bits into
4517 * cspi/spi-impl.h: upd. typedefs.
4519 * cspi/spi_registry.c: update to lowlevel API,
4520 return booleans to indicate success in some places.
4522 * cspi/spi_event.c: update to lowlevel API.
4524 * cspi/bonobo/Makefile.am: add.
4526 * cspi/bonobo/cspi-lowlevel.h: add
4528 * cspi/bonobo/cspi-bonobo.c: add
4530 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4532 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4533 (SUBDIRS): add bonobo, link in the libs.
4535 * cspi/spi-util.c: kill this file.
4537 * TODO: merge in my bits.
4539 2001-12-11 Michael Meeks <michael@ximian.com>
4541 * test/test-simple.c (test_value, test_table, main):
4542 remove unused variables causing warnings.
4544 * configure.in: cleanup checks - require gail.
4546 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4549 Changed Value interface to use SValue (scalars) rather than
4550 assuming all values are floats. This allows floats, doubles,
4551 longs, shorts, and unsigned values to be manipulated.
4552 Introduced Accessibility:SValue union.
4555 Updated to use new API above, and to work correctly with GValues
4556 of different types in AtkValue.
4559 Updated to use new API above. cspi's API is as yet unchanged.
4562 Updated the Value revision action item.
4564 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4566 * test/test-simple.c:
4567 Added test_table (GtkTreeView widget in test window to follow).
4568 Un-commented test_value, added GtkRange widget.
4569 Added GtkTreeView widget with GtkListStore. It passes regression
4570 test but leaks one SPI object for some reason.
4573 Fixed bug in impl__set_currentValue.
4575 2001-12-10 Michael Meeks <michael@ximian.com>
4577 * cspi/spi_text.c: audit for exception handling,
4578 tolerating NULL object references safely etc.
4580 * cspi/spi_value.c: ditto.
4582 * cspi/spi_table.c (AccessibleTable_getSummary),
4583 (AccessibleTable_getAccessibleAt),
4584 (AccessibleTable_getRowHeader),
4585 (AccessibleTable_getColumnHeader),
4586 (AccessibleTable_getCaption): fix bugs hidden by
4588 (long_seq_to_array): impl.
4589 (AccessibleTable_getSelectedRows),
4590 (AccessibleTable_getSelectedColumns): use it.
4592 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4595 Added a TODO list (rough and short for now).
4597 * cspi/spi_hyperlink.c:
4598 * cspi/spi_hypertext.c:
4599 Fixed macro name typos, and remove use of obsolete macro in
4600 AccessibleHyperlink_getLink.
4602 * cspi/spi_action.c:
4603 * cspi/spi_accessible.c:
4604 * cspi/spi_application.c:
4605 * cspi/spi_component.c:
4606 * cspi/spi_selection.c:
4609 Documentation fixes (removed return values from ref/unref methods).
4611 2001-12-10 Michael Meeks <michael@ximian.com>
4613 * cspi/spi_action.c: audit for exception handling,
4614 tolerating NULL object references safely etc.
4616 * cspi/spi_accessible.c: ditto.
4618 * cspi/spi_component.c: ditto.
4620 * cspi/spi_editabletext.c: ditto.
4622 * cspi/spi_hyperlink.c: ditto.
4624 * cspi/spi_hypertext.c: ditto.
4626 * cspi/spi_image.c: ditto.
4628 * cspi/spi_selection.c: ditto.
4630 2001-12-10 Michael Meeks <michael@ximian.com>
4632 * configure.in: use cspi/libspi.pc.in instead.
4634 * Makefile.am (pkgconfig_DATA): upd. to match.
4636 * test/simple-at.c (report_focus_event): kill hacks around
4637 bad return values, use putenv not setenv
4639 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4640 fire ChildGone - I killed it.
4642 * libspi/component.c
4643 (impl_accessibility_component_get_extents): remove
4646 * idl/Accessible.idl: kill ChildGone exception.
4648 * cspi/*.[ch]: kill int return from ref / unref.
4650 * cspi/spi_main.c (cspi_object_add_check): fold into
4651 (cspi_object_add): here.
4653 * cspi/spi_component.c (AccessibleComponent_getExtents):
4654 handle exceptions elegantly.
4656 * cspi/spi-private.h (cspi_check_ev_return),
4657 (cspi_return_if_fail): impl.
4659 * cspi/spi_accessible.c: use extensively.
4660 (AccessibleStateSet_equals): add direct compare check.
4662 * cspi/spi_selection.c: tolerate NULL objs, and check
4663 exceptions before return.
4665 * cspi/spi-util.c (cspi_warn_ev): rename to
4666 (cspi_check_ev): this & don't pass ev in; no point.
4668 2001-12-10 Michael Meeks <michael@ximian.com>
4670 * test/test-simple.c: use putenv not setenv
4671 (get_environment_vars): more chatty if you're not using
4674 * test/simple-at.c: do the setenv so more people see the
4677 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4679 * libspi/registry.c:
4680 Changed check of CORBA_environment on notification to be a warning
4681 instead of an error for the moment, since we can recover from this
4682 error when caused by a queued notification from a dead app.
4685 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4686 used by all current implementors of AtkValue), and coerce to
4687 CORBA_float. (Proper general case fix may require change to Value.idl).
4689 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4693 * cspi/spi_accessible.c:
4694 Documentation fixes: added user_data params to documentation for
4695 listeners and callbacks.
4697 * cspi/spi_accessible.c:
4698 Changed AccessibleStateSet_compare to return a
4699 StateSet rather than return the difference set into a third parameter.
4702 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4705 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4706 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4710 Remove subdirectory po from SUBDIRS for now.
4712 * at-bridge/bridge.c:
4713 Beefed up a couple of debug printouts.
4714 One-line fix for signal notification name formatting.
4716 * libspi/accessible.c:
4717 Added assertion to spi_accessible_new ().
4719 * libspi/application.c:
4720 Put #ifdef qualifiers around a printf.
4723 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4725 * registryd/Makefile.am:
4727 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4728 INTLTOOL_SERVER_RULE macro.
4731 Added an event listener for several ATK signals, for
4732 testing and debugging. Removed a few g_warnings.
4733 Added test output if focussed item implements the Value interface.
4735 * test/test-simple.c:
4736 Added test_value () function (known not to pass at the moment, so
4737 not actually called yet.
4739 2001-12-08 Michael Meeks <michael@ximian.com>
4741 * at-bridge/bridge.c (bridge_focus_tracker),
4742 (emit_eventv): fix the same ref. leak.
4743 (register_atk_event_listeners): don't leak.
4745 * cspi/spi-listener-impl.c (cspi_event): more
4746 protection from client code.
4748 * test/test-simple.c (test_desktop): unref the app.
4750 * test/Makefile.am: upd. TESTS.
4752 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4754 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4756 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4758 * cspi/spi_registry.c: constify in strings.
4759 (deregisterGlobalEventListenerAll): don't release the ref.
4761 * cspi/spi.h: start removing redundant / conflicting
4762 gtkdoc comments, making the API readable at a glance :-)
4764 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4766 * test/keysynth-demo.c (keysynth_exit, main): upd.
4768 * test/simple-at.c (main, simple_at_exit): upd.
4770 * test/test-simple.c (unutterable_horror): kill.
4771 (utterable_normal_derefs): kill.
4772 (main): upd & do a setenv before gtk_init, so that we
4773 can use memprof - and to save the pain of remembering
4774 this, if we're running under memprof - don't exit.
4776 * cspi/spi_main.c (SPI_exit): return exit status
4778 (SPI_event_quit): impl.
4779 (SPI_event_main): simplify.
4780 (cspi_is_gnome_app): kill.
4781 (SPI_init): kill isGNOMEapp arg.
4783 * at-bridge/bridge.c (register_atk_event_listeners):
4784 re-instate the unref.
4785 (bridge_exit_func): don't re-activate the registry,
4786 protect vs. theoretical re-entry, use the
4787 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4788 assert a clean shutdown - for regression tests.
4790 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4792 * configure.in: Comment out dummy i18n support for now,
4793 otherwise it fails to build.
4794 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4795 EXTRA_DIST. They are missing in tarball.
4797 2001-12-07 Michael Meeks <michael@ximian.com>
4799 * util/magnifier.c: kill bonobo activation reg. race.
4801 * libspi/component.c
4802 (impl_accessibility_component_get_extents): make it match
4805 * libspi/registry.c (_registry_notify_listeners):
4806 re-remove X headers & reconcile conflicts.
4807 (spi_listener_struct_free): bad conflict resolve.
4808 (impl_accessibility_registry_register_application):
4809 more bad merging fixed.
4810 (impl_accessibility_registry_deregister_application): ditto.
4811 (spi_registry_new): ditto.
4812 (spi_registry_init): don't have an applications field.
4814 [ merge fixups2 branch to here ]
4815 2001-12-07 Michael Meeks <michael@ximian.com>
4817 * test/simple-at.c (report_focus_event),
4818 (report_focussed_accessible): remove g_warning debug.
4820 2001-12-07 Michael Meeks <michael@ximian.com>
4822 * test/test-simple.c (validate_tree): comment out some checks.
4823 (test_desktop): app now not registered idly - horay.
4825 2001-12-07 Michael Meeks <michael@ximian.com>
4827 * cspi/spi_registry.c
4828 (registerAccessibleKeystrokeListener): clean, stop it leaking
4829 great swathes of memory, and device event controller references.
4830 ensure we always pass valid sequences.
4831 (deregisterAccessibleKeystrokeListener): ditto.
4832 (generateKeyEvent): upd.
4834 * at-bridge/bridge.c (bridge_key_listener): handle
4835 registry dead exception gracefully.
4836 (bridge_focus_tracker, emit_eventv): free ev.
4838 * test/simple-at.c (report_focus_event): fix polarity.
4840 * libspi/application.c (notify_listeners): kill the ev
4841 argument, and make sure we init the ev we use.
4842 (spi_application_object_event_listener): split out a chunk
4843 (get_atk_object_ref): here & fixup.
4844 (reverse_lookup_name_for_toolkit_event): make const.
4845 (spi_application_toolkit_event_listener): fixup, kill leaks
4848 * at-bridge/bridge.c (register_atk_event_listeners):
4849 don't unref the noop object - causes grief.
4851 * libspi/registry.c: remove the X headers.
4852 turn off the debug churn.
4854 * libspi/accessible.c (spi_accessible_new_return): only
4855 release the ref if we are supposed to [doh]
4857 * test/simple-at.c (report_button_press, report_focus_event):
4858 guard vs. unexpected exit.
4860 * at-bridge/bridge.c (gtk_module_init): prune printf.
4861 (bridge_exit_func): fix app unref.
4863 * libspi/Makefile.am: don't install registry or desktop.h
4865 * libspi/*.h: update includes.
4867 * libspi/application.h: don't include ourself, or
4868 other redundant headers.
4870 2001-12-06 Michael Meeks <michael@ximian.com>
4872 * libspi/accessible.c
4873 (get_accessible_from_servant): impl.
4874 Upd. all CORBA impl.s to use it killing cut and paste.
4876 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4878 (SPI_init): register atexit cleanup handler here.
4880 2001-12-06 Michael Meeks <michael@ximian.com>
4882 * at-bridge/bridge.c (gtk_module_init): g_error on
4883 activation exception
4885 2001-12-06 Michael Meeks <michael@ximian.com>
4887 * at-bridge/bridge.c (gtk_module_init): some sort of
4888 confusing merge clash - reverted.
4889 (bridge_idle_init): ditto.
4891 * test/test-simple.c (main, utterable_normal_derefs):
4892 merge from Bill - somehow not committed.
4894 2001-12-06 Michael Meeks <michael@ximian.com>
4896 * libspi/value.c (spi_value_class_init): upd.
4897 (spi_value_finalize): kill.
4899 * libspi/table.c (spi_table_finalize): kill.
4900 (spi_table_interface_new): upd.
4901 (spi_table_class_init): upd.
4902 (get_table_from_servant): impl.
4903 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4905 * libspi/selection.c (spi_selection_finalize): kill.
4906 (spi_selection_interface_new): upd.
4907 (spi_selection_class_init): upd.
4908 (get_selection_from_servant): impl.
4909 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4911 * libspi/relation.c (spi_relation_finalize): kill.
4912 (spi_relation_class_init, spi_relation_new): upd
4914 * libspi/image.c (spi_image_finalize): kill.
4915 (spi_image_class_init): upd.
4916 (spi_image_interface_new): upd.
4917 (get_image_from_servant): impl.
4918 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4920 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4921 (spi_hyperlink_finalize): kill.
4922 (spi_hyperlink_new): upd.
4923 (get_hyperlink_from_servant): impl.
4924 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4926 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4927 (spi_hypertext_finalize): kill.
4928 (spi_hypertext_class_init): upd.
4929 (get_hypertext_from_servant): impl.
4930 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4932 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4933 (spi_editable_text_interface_new): upd.
4934 (get_editable_text_from_servant): impl.
4935 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4937 * libspi/text.c (get_text_from_servant): impl.
4938 All impls - update to use it killing more cut and paste,
4939 also fix bad string returns on duff args ( a somewhat
4940 impossible case to handle - but hey ).
4941 (spi_text_construct): impl.
4942 (spi_text_interface_new): upd.
4943 (spi_text_object_finalize): kill.
4945 * libspi/component.c
4946 (accessibility_component_object_finalize): kill.
4947 (spi_component_class_init): upd.
4948 (get_component_from_servant): impl. helper to kill cut & paste.
4949 (impl_accessibility_component_contains):
4950 (impl_accessibility_component_get_accessible_at_point):
4951 (impl_accessibility_component_get_position):
4952 (impl_accessibility_component_get_extents):
4953 (impl_accessibility_component_get_mdi_z_order):
4954 (impl_accessibility_component_get_layer):
4955 (spi_component_interface_new): upd.
4957 * libspi/action.c (spi_action_finalize): kill.
4958 (spi_action_class_init): upd. inherit from SpiObject.
4959 (spi_action_interface_new): upd.
4960 (get_action_from_servant): impl. helper to reduce cut & paste.
4961 (impl_getKeyBinding, impl_getName, impl_doAction),
4962 (impl_getDescription): Use it everywhere.
4964 * cspi/spi_main.c (get_live_refs): a pointer hash.
4965 (spi_object_hash, spi_object_equal): comment out.
4966 There are issues with CORBA object hashing that need
4969 * libspi/application.c (spi_application_init),
4970 (spi_application_new): upd.
4972 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4973 (spi_accessible_class_init): upd.
4974 s/accessible/object/ in epv methods.
4976 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4978 * at-bridge/bridge.c:
4979 Reorder the bridge initialization into the bridge gtk_module_init,
4980 an immediate call to bridge_register_app, and an idle_add for
4981 register_atk_event_listeners (the only code that *must* wait until
4982 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4983 the activation, creates the application's Accessible object, and
4984 queues the bridge_idle_init function. Restored call to
4985 Accessibility_Registry_deregisterApplication().
4986 Prior to making this call we obtain a new reference to the
4987 registry, which is a temporary hack that helps us handle apps that
4988 shut down the bonobo mainloop before we get there.
4990 * libspi/registry.c:
4991 Fix string leakage in debug block, and don't segv if a an app
4992 dies before its event notifications have been propagated.
4995 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4996 as stopgap measure until we get proper exception handling when
4997 objects die during or before interrogation.
5001 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5002 Also changed default value of is_gnome_app to TRUE.
5005 * test/keysynth-demo.c:
5006 Changed use of SPI_init and SPI_event_main to reflect API change above.
5009 Made report_focus_event check the warning value from getName
5010 before reporting on focussed accessible; simplifies handling of
5011 notifications from dead objects.
5013 * test/test-simple.c: (Changes not in this patch since source is
5016 2001-12-05 Michael Meeks <michael@ximian.com>
5018 * registryd/registryd.c (main): protect against
5019 bonobo-activation startup race condition.
5021 * cspi/spi_main.c (cspi_object_add_check): cope
5022 with the exception elegantly.
5024 * idl/Accessible.idl: decl. ChildGone
5026 * libspi/desktop.c (spi_desktop_dispose): impl.
5027 (spi_desktop_class_init): upd.
5028 (spi_desktop_add_application),
5029 (spi_desktop_remove_application),
5030 (abnormal_application_termination): impl.
5031 (impl_desktop_get_child_at_index): re-impl.
5034 (impl_accessibility_registry_deregister_application),
5035 (impl_accessibility_registry_register_application):
5036 kill excessive debug clutter.
5038 * test/test-simple.c (test_misc): test some NULL
5039 tolerance. (main): upd.
5041 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5042 implements no interfaces - so let's not crash.
5044 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5046 * libspi/accessible.c (spi_accessible_new_return): impl.
5047 helper to calm the cut and paste, to cope with
5048 NULL AtkObjects effectively and efficiently, and to kill
5049 the referencing bugs.
5051 * libspi/table.c (impl_getAccessibleAt),
5052 (impl_getRowHeader, impl_getColumnHeader): upd.
5054 * libspi/hyperlink.c (impl_getObject): upd.
5056 * libspi/accessible.c
5057 (impl_accessibility_accessible_get_child_at_index): upd.
5059 * libspi/component.c
5060 (impl_accessibility_component_get_accessible_at_point): upd.
5062 * test/test-simple.c (test_editable_text, test_text): impl.
5065 * cspi/spi_editabletext.c
5066 (AccessibleEditableText_insertText): constify.
5068 * test/test-simple.c (focus_me): make more robust.
5070 * libspi/accessible.c: remove some printfs in methods that
5071 we test and work fine, so we can get a clean tree dump.
5073 * test/test-simple.c (validate_accessible),
5074 (validate_tree): make tree dumping pretty too.
5076 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5077 it builds without debug on.
5079 * test/test-simple.c (validate_accessible): fix the most
5082 * cspi/spi_main.c (spi_object_release): leave the nicely
5083 blanked memory around if in debug mode.
5085 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5087 [committed to fixups2]
5088 2001-12-05 Michael Meeks <michael@ximian.com>
5090 * libspi/editabletext.c
5091 (spi_editable_text_class_init): g_type_class_peek_parent,
5092 not interface peek - so we finalize cleanly.
5094 * libspi/accessible.c (spi_accessible_new): kill debug.
5096 * test/test-simple.c (validate_accessible): fix ref.
5097 leak, print strings before freeing them; sigh, comment a
5098 chunk out due to strangeness.
5099 (validate_tree): unref the child after use.
5101 * cspi/spi_component.c (AccessibleComponent_getLayer):
5102 add missing break statement, switch on zlayer not the
5103 uninitialized retval.
5105 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5106 before (possibly re-entering) remote unref.
5108 * test/simple-at.c (main): unref the desktop.
5110 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5113 * cspi/spi_main.c (cspi_accessible_is_a): here to
5114 isolate bonobo API usage more.
5116 * libspi/registry.c (impl_accessibility_registry_register_application):
5117 prune bogus comment.
5119 2001-12-04 Michael Meeks <michael@ximian.com>
5121 * test/test-simple.c (validate_tree): upd.
5122 IndexInParent check to make it more lucid.
5123 (validate_accessible): dump the tree.
5125 * libspi/accessible.c (de_register_public_ref),
5126 (get_public_refs): impl.
5127 (spi_accessible_new): make more efficient & intuitive.
5128 Now IndexInParent check works.
5130 2001-12-04 Michael Meeks <michael@ximian.com>
5132 * cspi/spi-util.h: remove.
5134 * cspi/spi.h: move SPI_freeString here
5136 * libspi/component.c (impl_accessibility_component_get_layer):
5138 (impl_accessibility_component_get_mdi_z_order): ditto,
5139 return -1 on error - is this ok ?
5141 * test/test-simple.c (test_application): impl.
5143 * cspi/spi_accessible.c (Accessible_getApplication),
5144 (Accessible_isApplication): impl.
5146 * libspi/registry.c (spi_listener_struct_free): release
5147 the CORBA reference too.
5149 * libspi/accessible.c
5150 (impl_accessibility_accessible_get_parent): fix ref leak.
5152 * libspi/registry.c (spi_registry_new): make the registry
5153 immortal - we don't want it to go away ever.
5155 * libspi/application.c
5156 (spi_accessible_application_finalize): impl. cleanup.
5158 * cspi/spi_registry.c
5159 (deregisterGlobalEventListenerAll),
5160 (deregisterGlobalEventListener),
5161 (deregisterAccessibleKeystrokeListener): fix ref leak.
5163 * cspi/spi_main.c (SPI_init): remove redundant ref.
5165 * test/test-simple.c (unutterable_horror): impl. to force a
5170 (impl_accessibility_registry_deregister_application): release
5171 the application when we de-register it.
5173 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5174 until we have the infastructure to get it right.
5176 2001-12-03 Michael Meeks <michael@ximian.com>
5178 * libspi/Makefile.am: only build eventlistener.[ch]
5180 * libspi/accessible.c
5181 (impl_accessibility_accessible_get_child_at_index): don't leak.
5183 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5184 before we hit the idle handler.
5186 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5187 debugging than exit.
5189 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5191 * libspi/listener.c (impl_notify_event): check source
5192 not NIL before unref.
5194 * libspi/registry.c (impl_registry_notify_event): ditto.
5196 * libspi/eventlistener.c
5197 (impl_accessible_event_notify_event): unref the source.
5199 * libspi/accessibleeventlistener.c
5200 (impl_accessible_event_notify_event): unref the source.
5202 * idl/Event.idl: remove 'hash_id' attribute - of no
5205 * libspi/application.c (notify_listeners): upd list
5207 (spi_application_object_event_listener),
5208 (spi_application_toolkit_event_listener): upd to do correct
5212 (_registry_notify_listeners): update.
5213 (parse_event_type): this method also leaks like a sieve.
5214 (impl_accessibility_registry_deregister_global_event_listener):
5215 fix ETYPE_WINDOW case.
5217 * libspi/application.c
5218 (impl_accessibility_application_register_object_event_listener):
5221 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5223 * libspi/hypertext.c (impl_getLink): ditto.
5225 * cspi/spi_main.c (cspi_object_add): remove
5226 bogus CORBA_Object_duplicate.
5228 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5231 * cspi/spi_accessible.c
5232 (Accessible_getRelationSet): fix leak / referencing issue.
5234 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5235 (cspi_object_add, cspi_object_unref): upd.
5236 (spi_object_release, get_live_refs): impl.
5237 (cspi_cleanup): simplify.
5239 * *.[ch]: s/boolean/SpiBoolean/
5241 * cspi/spi_accessible.c (role_names): actualy order so it
5242 corresponds with the enum !
5244 * test/test-simple.c (test_roles): check some role strings
5245 vs. enums to detect offset errors.
5247 2001-12-01 Michael Meeks <michael@ximian.com>
5249 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5251 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5253 (Accessible_getChildAtIndex): use cspi_add_check so we
5254 check the ev before using a (possibly) invalid value.
5256 * libspi/accessible.c
5257 (impl_accessibility_accessible_get_parent): don't segv
5260 * at-bridge/bridge.c (gtk_module_init): upd.
5261 (bridge_property_event_listener): don't leak strings
5263 (bridge_state_event_listener),
5264 (bridge_property_event_listener): don't use a static
5265 buffer in case of recursive event emission &
5266 re-enterancy - split out the swathe of cut and paste
5268 (emit_eventv): and fix 2 ref leaks here & comply to the
5270 (bridge_register_app): rename to
5271 (bridge_idle_init): this and kill arg parsing, split
5272 various inits & bonobo-activation registration to module
5273 init time, kill referencing error.
5274 (bridge_exit_func): fix the same leak.
5275 (bridge_focus_tracker): don't leak event structures
5277 (bridge_signal_listener): more leakage and cut & paste
5279 (bridge_key_listener): return the result - FIXME is
5280 this polarity correct ?
5281 (accessibility_keystroke_from_atk_key_event): rename
5282 (accessibility_init_keystroke_from_atk_key_event): and stop
5284 (gtk_module_init): return a value - not that it is checked by
5286 (bridge_key_listener): register my horror at casting between
5287 IDL defined structs.
5288 (bridge_get_registry): kill - not used.
5290 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5292 * test/test-simple.c (test_roles): impl.
5293 (test_desktop, validate_accessible, validate_tree): impl.
5295 * cspi/spi_accessible.c (role_names): fixup bogus
5296 MAX_ROLES setup, make constants const for efficient linkage
5297 (AccessibleRole_getName): conform to coding style, make
5300 2001-11-30 Michael Meeks <michael@ximian.com>
5302 * cspi/spi.h: add missing prototype.
5304 * libspi/registry.c (spi_listener_struct_new): fix sig.
5306 * test/Makefile.am: add test-simple
5308 * test/test-simple.c: add
5310 * test/test.sh: add.
5312 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5314 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5315 do it straight - since otherwise we often get an activation race.
5317 [ work before Bill duplicated a chunk of it ... ]
5318 2001-11-30 Michael Meeks <michael@ximian.com>
5320 * libspi/keystrokelistener.c
5321 (spi_keystroke_listener_class_init): fixup arg
5324 * libspi/eventlistener.c
5325 (spi_event_listener_class_init): ditto.
5327 * tests/test.sh: add.
5329 * cspi/spi-listener-impl.h: update macros.
5331 * cspi/spi-listener-impl.c
5332 (cspi_event_listener_remove_callback): add
5333 correct pre-conditions.
5335 * cspi/spi_main.c (SPI_exit): guard vs. double
5336 exits, exit the mainloop nicely.
5337 (SPI_event_main): make more sense.
5338 (SPI_init): move the atexit evilness here so we
5339 always do it (yuck).
5340 (SPI_event_main): upd.
5342 * test/simple-at.c: update for listener changes.
5344 * registryd/registryd.c (main): prune kruft.
5346 * libspi/libspi.h: upd.
5348 * libspi/eventlistener.[ch]: rename broken macros.
5350 * libspi/accessibleeventlistener.[ch]: remove.
5352 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5354 * test/test-simple.c: Add - automated tests.
5356 * cspi/spi-listener-impl.c (cspi_event),
5357 (cspi_key_event): add user_data to invoke.
5358 (cspi_keystroke_listener_finalize): impl.
5359 (cspi_keystroke_listener_class_init): upd.
5362 (createAccessibleEventListener),
5363 (AccessibleEventListener_addCallback),
5364 (createAccessibleKeystrokeListener),
5365 (AccessibleKeystrokeListener_addCallback): upd.
5367 * libspi/deviceeventcontroller.c
5368 (spi_device_event_controller_check_key_event): add public proto.
5371 (impl_accessibility_registry_deregister_global_event_listener):
5372 always init listeners.
5373 (_registry_notify_listeners): yes it is.
5375 * cspi/spi-listener-impl.c (cspi_key_event):
5377 (cspi_event_listener_finalize): impl.
5378 (cspi_event_listener_class_init): hook up.
5379 (event_handler_new, event_handler_free),
5380 (event_list_remove_by_callback): impl.
5381 (cspi_event_listener_remove_callback),
5382 (cspi_keystroke_listener_remove_callback),
5383 (cspi_keystroke_listener_add_callback),
5384 (cspi_event_listener_add_callback): upd.
5386 * libspi/keystrokelistener.c
5387 (keystroke_listener_object_finalize): kill
5388 (spi_keystroke_listener_class_init): upd.
5389 (spi_keystroke_listener_add_callback),
5390 (spi_keystroke_listener_remove_callback): kill,
5392 (impl_key_event): prune drasticaly.
5394 * libspi/eventlistener.c
5395 (spi_event_listener_add_callback),
5396 (spi_event_listener_remove_callback): kill, use
5398 (impl_accessible_event_notify_event): upd.
5399 (spi_event_listener_object_finalize): remove.
5401 * libspi/Makefile.am: use eventlistener.[ch]
5403 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5405 * libspi/registry.c (_registry_notify_listeners):
5406 Changed listener loop iteration to use preferred convention.
5407 Got rid of string memory leaks caused be calling g_strconcat
5408 inside function calls.
5410 * libspi/registry.c (parse_event_type):
5411 Stopped g_strconcat memory leaks, free the g_strsplit return,
5412 g_strdup the split pieces when used, etc.
5414 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5417 Change method 'compare' to return a 'difference set' rather than
5418 taking a StateSet as an out parameter (more Java-friendly).
5420 * idl/Accessible.idl:
5421 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5423 * idl/Component.idl:
5425 Changed methods 'getExtents' and 'getImageExtents' in these
5426 interfaces to return a BoundingBox structure.
5427 (getPosition and getSize are redundant and possibly should be
5428 removed, rather than creating a corresponding Point struct.)
5430 * cspi/spi_component.c:
5431 Modify implementation of getExtents to reflect the above IDL
5436 Add (missing) AccessibleImage_getExtents () API.
5438 * docs/reference/cspi/at-spi-cspi-sections.txt:
5439 Added AccessibleImage_getImageExtents () to docs.
5441 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5443 * idl/Component.idl:
5444 Added two methods, getLayer () and getMDIZOrder (), to reflect
5445 the new ATK methods atk_object_get_layer and
5446 atk_object_get_mdi_z_order. (Which arguably should be part of the
5447 AtkComponent API and AtkObject). Also added an enum,
5448 ComponentLayer, for the first method's return value.
5450 * libspi/component.c:
5451 Added implementations for these methods.
5453 * cspi/spi_component.c:
5455 Added cspi binding methods for above,
5456 AccessibleComponent_getLayer() and
5457 AccessibleComponent_getMDIZOrder().
5458 Added cspi enum 'AccessibleComponentLayer'.
5460 * docs/reference/cspi/at-spi-cspi-sections.txt:
5461 Added above methods to docs.
5465 Changed typedef for 'boolean' type (and all references to it) to
5466 SPIBoolean, to avoid keyword clashes with C++.
5469 Changed usages of 'boolean' to SPIBoolean.
5471 * test/keysynth-demo.c:
5472 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5473 app), except where SPIBoolean is required by the callbacks API.
5475 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5477 * cspi/spi_registry.c:
5478 Removed obsolete X event loop for passive keygrabs (which now
5481 * registryd/registryd.c:
5482 Removed unnecessary call to gdk_init() [cruft]. This also allows
5483 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5486 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5488 * docs/reference/cspi:
5489 Included docs for SPI_freeString in generated documentation.
5492 Renamed spi_freeString to SPI_freeString, for consistency. Added
5493 documentation for this function.
5496 Renamed spi_freeString to SPI_freeString, for consistency.
5497 Removed obsolete method declaration string_from_corba_string.
5499 * test/keysynth-demo.c:
5500 Small tweak to comments.
5503 Stopped leaking the strings returned from CSPI.
5505 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5507 Merged Michael's branch (see his ChangeLog entries below).
5509 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5510 bridge is alive, release on exit.
5512 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5513 Fix type check macro.
5516 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5519 Added is_gnome_app static, and method cspi_is_gnome_app(),
5520 so we can call the appropriate shutdown routine at exit in SPI_exit.
5522 * cspi/spi_main.c (cspi_object_ref):
5523 Duplicate the corba object passed in, since we're keeping it around.
5525 * cspi/SPI_exit.c, cspi_cleanup:
5526 Moved the releasing of the live refs to its own function, so we
5527 can put it in g_atexit (). Call the appropriate shutdown API
5528 depending on whethe calling client is a gnome app or not
5529 (bonobo_main_quit or CORBA_ORB_shutdown).
5531 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5532 Unref the listener when this method is called, after
5533 deregistration. Updated the API docs to note this behavior.
5535 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5536 Bugfixes: Ref the bonobo object when returning a parent or child
5537 reference, or an AccessibleRelation. Generally made sure
5538 BonoboObject refcount is incremented whenever we return an
5541 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5542 Fixed typo/bug in signal declaration.
5544 * libspi/accessibleeventlistener.h:
5547 * libspi/application.c (spi_application_new):
5548 Fixed leak in initialization.
5551 Remembered to increment bonobo-object refcount when returning
5552 children (applications) from desktop object.
5553 Added (empty) finalize method.
5555 * libspi/deviceeventcontroller.c:
5556 Hold a ref to listeners inside DEControllerKeyListeners.
5557 Added dec_key_listener_free() method. Use prepend instead of
5558 append in key_listener list. Fixed some refcount madness and
5559 leaks in the listener registration/deregistration - deregistration
5560 now calls dec_key_listener_free() on listeners, and on the
5561 temporarily constructed dec_key_listener() used to perform the search/match.
5563 * libspi/hypertext.c (spi_hypertest_finalize):
5564 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5565 class. Also fixed spi_hypertext_interface_new() and
5566 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5568 * libspi/hypertext.h:
5569 Removed pointless and duplicate AtkObject pointer from
5572 * libspi/keystrokelistener.c:
5573 Fixed incorrect type of keystroke_listener_parent_class,
5574 renamed keystroke_listener_object_finalize to
5575 spi_keystroke_listener_object_finalize.
5576 Fixed typo in signal declaration
5577 (spi_keystroke_listener_class_init).
5579 * libspi/registry.c:
5580 Added funcsions spi_listener_struct_new() and
5581 spi_listener_struct_free() to help with memory management issues.
5582 We also now use these methods instead of gnew + poking stuff into
5583 the struct, and to decrement listener counts/free the listeners
5584 when deregistering them.
5585 Fix more refcount bugs in getDesktop() and
5586 getDeviceEventController().
5589 De-ref the desktop after enumerating the applications. Explicitly
5590 decrement the refcounts on the created listeners on exit (using
5591 _unref for keystroke listeners, and via the
5592 deregisterGlobalEventListenerAll command for other event
5595 2001-11-27 Michael Meeks <michael@ximian.com>
5597 * cspi/spi-listener.h: fixup enum.
5599 2001-11-27 Michael Meeks <michael@ximian.com>
5601 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5602 (cspi_keystroke_listener_new): Use the cspi variants.
5604 2001-11-26 Michael Meeks <michael@ximian.com>
5606 * test/keysynth-demo.c: fix 2 compile warnings, missing
5609 * test/simple-at.c (report_focussed_accessible),
5610 (report_focus_event, report_button_press),
5611 (check_property_change, is_command_key),
5612 (report_ordinary_key_event, report_command_key_event): upd.
5614 * util/mag_client.h: include pre-requisites.
5616 * libspi/accessibleeventlistener.c
5617 (spi_event_listener_object_finalize): free any lingering
5620 * libspi/keystrokelistener.c
5621 (keystroke_listener_object_finalize): ditto.
5623 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5624 callbacks, with cspi types.
5626 * cspi/spi_event.c (createAccessibleEventListener): chain to
5627 (AccessibleEventListener_addCallback): here.
5628 (createAccessibleKeystrokeListener): chain to
5629 (AccessibleKeystrokeListener_addCallback): here.
5631 * libspi/keystrokelistener.c
5632 (spi_keystroke_listener_class_init): add signal.
5633 (impl_key_event): emit the event.
5634 (boolean_handled_accumulator): impl.
5635 (marshal_BOOLEAN__POINTER): add, gack.
5637 * libspi/accessibleeventlistener.c
5638 (spi_event_listener_class_init): add signal.
5639 (impl_accessible_event_notify_event): emit the signal &
5640 make the loop efficient.
5641 (spi_event_listener_add_callback): prepend the callback.
5643 * libspi/accessibleeventlistener.h: add an 'event' signal,
5644 decl type on callback.
5646 * libspi/keystrokelistener.h: ditto.
5648 * cspi/spi-listener.h: make methods typesafe and
5649 make them use the new event typedefs.
5651 * test/simple-at.c (report_focussed_accessible):
5652 include mag_client.h
5653 Use *(void *)text_interface not the other thing.
5655 * configure.in: add gtk to registryd bits - since we use
5658 * util/magnifier.c: include libbonobo.h
5660 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5662 * test/keysynth-demo.c:
5663 Turned this into a simple scanning keyboard, to demonstrate the
5664 use of g_timeout_add () as a means of creating timers for
5665 scanning, and the use of GtkStyle for visually indicating when
5666 virtual keyboard elements are selected.
5668 keysynth-demo now listens to any keyboard keys with zero-valued
5669 keycodes (i.e. 'unused' keys) and interprets them as
5672 Reworked the shiftlatch code so that shift-down state isn't held
5673 for long periods (it's only synthesized immediately prior to
5674 the keysynth event it's modifying). Note that shiftlatch in this
5675 demo is a convenience, not intended to take the place of AccessX
5676 which is the better choice for getting 'sticky' modifier keys.
5678 * libspi/deviceeventcontroller.c:
5679 * at-bridge/bridge.c:
5680 * cspi/spi_registry.c:
5681 Removed some debug print stuff, and put other verbosity in #ifdef
5686 Implemented some more of the magnifier IDL for the simple
5687 magnifier: namely, getZoomRegionParams.
5688 Added mag_x and mag_y members to MagnifierData struct, aid of this
5690 Added GtkWindow::realize signal handler to magnifier, to keep it
5691 from receiving keyboard focus from the WM.
5693 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5695 * cspi/spi-private.h: my guess at what michael forgot
5696 before he ran off to NZ :-)
5698 2001-11-23 Michael Meeks <michael@ximian.com>
5700 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5701 comment out non existant method invoke so we link.
5703 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5704 use bonobo_exception_get_text for more friendly warnings.
5706 * cspi/spi.c (Obj_Add): move into spi_main & rename
5707 spi_object_add; kill spi.c
5709 * cspi/spi_registry.c
5710 (deregisterGlobalEventListener),
5711 (deregisterGlobalEventListenerAll),
5712 (registerGlobalEventListener): fix exception leaks.
5714 * cspi/spi_main.c (spi_exception): impl. helper, so we
5715 don't leak exceptions.
5717 * cspi/spi_selection.c
5718 (AccessibleSelection_deselectSelectedChild): return the
5721 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5722 (spi_registry): ditto.
5723 (SPI_init): guard against double inits.
5725 * cspi/*.c: use spi_ev (), and spi_registry () where
5726 appropriate - a temporary hack until we have something
5727 better. Use spi_object_add
5729 2001-11-22 Michael Meeks <michael@ximian.com>
5731 * cspi/Makefile.am: re organise, install the headers.
5733 * cspi/*.h: add G_BEGIN/END_DECLS
5735 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5738 Added non-preemptive keylistener for key events with no modifiers
5739 and shift-only modifier.
5741 * libspi/keystrokelistener.c:
5742 Removed some verbose diagnostics printout.
5744 * cspi/spi_registry.c:
5745 Fixed a bug that caused all key listeners to be registered as
5748 * libspi/deviceeventcontroller.c:
5749 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5750 for non-preemptive key masks.
5753 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5755 * docs/reference/idl/at-spi-idl-docs.sgml:
5756 * docs/reference/idl/at-spi-idl-sections.txt:
5757 * docs/reference/idl/at-spi-idl-overrides.txt:
5758 Added missing files.
5760 * docs/reference/Makefile.am:
5761 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5762 to scan the IDL files :-(
5767 Added .cvsignore files.
5769 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5771 * libspi/deviceeventcontroller.c:
5772 * libspi/keystrokelistener.c:
5774 * cspi/spi_registry.c:
5775 Added filters for KeySets, KeyEventSeq, and event types to key
5776 event dispatching, so listeners should only receive those events
5777 that they requested :-)
5779 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5784 * docs/reference:Makefile.am:
5785 * docs/reference/cspi:
5786 * docs/reference/cspi:Makefile.am:
5787 * docs/reference/cspi:tmpl:
5788 * docs/reference/cspi:tmpl:*.sgml:
5789 * docs/reference/idl:
5790 * docs/reference/idl:Makefile.am:
5791 * docs/reference/idl:at-spi-idl-sections.txt:
5792 * docs/reference/idl:at-spi-idl-docs.sgml:
5793 * docs/reference/idl:tmpl:
5794 * docs/reference/idl:tmpl:*.sgml:
5796 Restructured docs directory to allow separate 'reference' docs
5797 section, and forked idl and cspi docs. Added the sgml template
5798 files to CVS. Added the first sections/structural sgml for the
5801 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5803 * configure.in, libspi/Makefile.am: find libXtst.
5805 2001-11-21 Michael Meeks <michael@ximian.com>
5807 * test/accessx-gui.c: s/spi_value/value/ - doh.
5809 * libspi/base.[ch]: add.
5811 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5813 * idl/Accessible.idl:
5814 * idl/Application.idl:
5817 Started gtk-doc cleanup on IDL.
5819 * libspi/deviceeventcontroller.c:
5820 Added and connected non-preemptive key notification from the
5821 toolkits (in addition to the pre-emptive support from XServer
5822 which we had before, but which causes 'focus flashing'). Filters
5823 are presently limited to key modifiers and global/non-global,
5824 KeySets are presently ignored, as are KeyEvent masks.
5826 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5827 structs into the persistant structure rather than just storing
5828 pointers to things that might not persist across servant
5831 The XGrabKey call now does async keygrabs, because synchronous
5832 ones were deadlocking with GDK_event code in a very nasty way.
5834 Added boolean to internal method notify_keylisteners, to indicate
5835 whether the event came from the 'toolkit source' or the 'global
5836 (XServer) source' - this is used in the notification process to
5837 determine which listeners to send the event to.
5839 deviceeventcontroller.c is now warning-free.
5841 * libspi/registry.c:
5842 Fixed regression in application de-registration.
5843 Also fixed some really brain-dead weirdness having to do with
5844 event dispatching - event structs are now duplicated before being
5845 re-marshalled in the dispatch to listeners. This also fixes a
5846 Solaris build problem.
5849 2001-11-20 Michael Meeks <michael@ximian.com>
5852 (impl_accessibility_registry_deregister_global_event_listener):
5855 * libspi/deviceeventcontroller.c
5856 (spi_device_event_controller_check_key_event): return
5857 FALSE on no virtual method.
5859 * libspi/*..h: make includes work on a correctly pathed install.
5861 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5863 * libspi/application.h: kill unused ( and whacked out )
5864 gboolean *spi_application_set_id (AtkObject *app, long id);
5866 2001-11-20 Michael Meeks <michael@ximian.com>
5868 * libspi/*.[ch]: further convert to bonobo's type func
5869 macros, remove redundnant casts etc.
5871 * libspi/text.c s/accessibility_text/spi_text/g,
5872 re-order to de-cruft.
5874 * libspi/hypertext.c: re-order to kill a huge slew
5875 of redundant forward decls.
5877 * libspi/relation.c: ditto.
5879 * libspi/image.c: ditto.
5881 * */.cvsignore: update
5883 2001-11-20 Michael Meeks <michael@ximian.com>
5885 * libspi/deviceeventcontroller.c
5886 (_controller_register_with_devices): use g_getenv,
5887 kill stdlib.h include.
5889 * libspi/keystrokelistener.c
5890 (spi_keystroke_listener_get_type): kill
5891 (spi_keystroke_listener_class_init),
5892 (spi_keystroke_listener_init): rename to this.
5894 * libspi/text.c (impl_getAttributes): fix warning / bug.
5896 * libspi/*.[ch]: more headers, includes and over commenting.
5898 2001-11-20 Michael Meeks <michael@ximian.com>
5900 * libspi/*.[ch]: fixup headers, includes and over commenting.
5902 * libspi/image.c (impl__get_imageDescription): const
5903 correctness warning fix. remove redundant casting.
5905 * libspi/table.c (impl_getRowDescription): ditto.
5906 (impl_getColumnDescription): ditto.
5908 * libspi/libspi.h: add.
5910 2001-11-19 Michael Meeks <michael@ximian.com>
5912 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5914 * libspi/component.c (accessibility_component_get_type):
5915 rename to (spi_component_get_type): and macroify.
5916 (accessibility_component_init): rename to
5917 (spi_component_init): this
5918 (accessibility_component_class_init): rename to
5919 (spi_component_class_init): this
5921 * libspi/action.c (spi_action_get_type): kill, use the macro.
5923 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5926 * libspi/application.c (spi_application_object_event_listener),
5927 (impl_accessibility_application_register_object_event_listener):
5928 warning fixes / const understanding updates.
5930 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5933 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5935 * libspi/spi_accessible.c: Added docs and C bindings for
5936 AccessibleStateSet. (No implementations yet). Documentation
5937 coverage for C bindings now 100%. Made docs for event listeners
5942 boolean notifyListenersSync (in DeviceEventListener listener,
5943 in DeviceEvent event);
5945 oneway void notifyListenersAsync (in DeviceEventListener listener,
5946 in DeviceEvent event);
5948 Added DeviceEventListener and DeviceEvent structs (may deprecate
5949 KeyStroke and KeystrokeListener in favor of this generic
5950 event/listener framework for devices).
5952 * libspi/deviceeventcontroller.c:
5954 Changed some key listener code to take masks, etc., and paved the
5955 way for integration of toolkit/non-preemptive key events. Changed
5956 signatures of some internal methods.
5958 * at-bridge/bridge.c:
5959 Fixed regression connecting to interface signals, apparently
5960 caused by GTK+ changes.
5962 Added an internal bridge_state_listener to deal with
5963 property-change:accessible-state signals.
5965 Changed the key_listeners GList to store structs (including masks,
5966 etc.) instead of just CORBA_Objects (required for full
5967 implementation of key listener API).
5969 Connected the bridge to all currently supported Atk signals.
5970 Events now supported:
5971 object:property-change
5972 object:property-change:accessible-name
5973 object:property-change:accessible-state
5974 object:property-change:accessible-description
5975 object:property-change:accessible-parent
5976 object:property-change:accessible-value
5977 object:property-change:accessible-role
5978 object:property-change:accessible-table-caption
5979 object:property-change:accessible-table-column-description
5980 object:property-change:accessible-table-column-header
5981 object:property-change:accessible-table-row-description
5982 object:property-change:accessible-table-row-header
5983 object:property-change:accessible-table-summary
5984 object:children-changed
5985 object:visible-data-changed
5986 object:selection-changed
5987 object:text-selection-changed
5989 object:text-caret-moved
5991 object:row-reordered
5993 object:column-inserted
5994 object:column-reordered
5995 object:column-deleted
5996 object:model-changed
5998 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6000 * libspi/hyperlink.c,h:
6001 Fixed some broken stuff in hyperlink.
6003 * libspi/relation.h:
6004 * libspi/relation.c:
6005 * cspi/spi_accessible.c:
6006 Initial implementations of AccessibleRelation methods, and docs.
6008 * libspi/accessible.c:
6009 Fixed a bug that caused SEGV if an accessible
6010 object's description is NULL, and a client
6011 requests it. An empty string is now returned.
6013 * cspi/spi_editabletext.c:
6014 * cspi/spi_hypertext.c:
6016 * cspi/spi_hyperlink.c:
6020 Doc coverage now 95%.
6022 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6024 One last namespacing revision:
6025 * libspi/accessibleeventlistener.[ch]:
6026 Renamed SpiAccessibleEventListener to SpiEventListener,
6027 (no need for two namespaces ;-)
6029 And lots of documentation fixes:
6031 * docs/at-spi-docs.sgml:
6032 Fixed 'underscore vs. hyphen' bug that was preventing
6033 the gtk-doc API docs from being automatically generated.
6036 * cspi/spi-listener.h
6038 * cspi/spi_accessible.c
6040 * cspi/spi_application.c
6041 * cspi/spi_component.c
6042 * cspi/spi_editabletext.c
6044 * cspi/spi_hypertext.c
6046 * cspi/spi_registry.c
6047 * cspi/spi_selection.c
6051 * docs/at-spi-docs.sgml
6052 * docs/at-spi-sections.txt
6054 Added and fixed up gtk-doc documentation in cspi.
6056 Interfaces now (fully) documented (subject to revision and enhancement):
6058 Event Listener Support
6060 AccessibleApplication
6064 AccessibleEditableText
6071 AccessibleRelationSet
6076 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6078 * at-bridge/bridge.c:
6079 Initial work for toolkit-level key snooper connection by bridge.
6084 New typedefs and fixes to support new namespacing, and cleaner
6085 separation of cspi bindings from libspi bonobo implementation.
6086 Removed inconsistent and extraneous Spi* namespace prefix that
6087 had crept into cspi headers.
6088 Lots of comment fixes that sed had missed.
6090 * cspi/spi-roletypes.h:
6091 * cspi/spi-statetypes.h:
6092 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6093 to AccessibleRoleType.
6095 * libspi/accessibleeventlistener.h:
6096 Fixed minor namespacing weirdness.
6098 * libspi/deviceeventcontroller.c:
6099 Reordered some internal API for device listeners.
6100 Changed the key registry final boolean to 'is_system_global'
6101 rather than 'is_synchronous', which is more descriptive of its
6103 Added spi_device_event_controller_new().
6104 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6106 * libspi/keystrokelistener.[ch]:
6107 Namespaced KeystrokeListener to SpiKeystrokeListener.
6108 Changed uses of keymasks to use SPI_ prefix, and did other
6111 * libspi/keymasks.h:
6112 Namespaced keymask constants with SPI_ prefix.
6114 * libspi/registry.c:
6115 Some warning fixes, and knock-on fixes from namespace changes.
6118 Added rules for accessx-gui test program.
6120 * test/accessx-gui.c:
6121 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6122 utility. It doesn't actually use at-spi, but it's still cool and
6125 * test/keysynth-demo.c:
6129 Fixes so that these test clients work properly with the namespaced
6130 libraries. (Incompletely tested for technical reasons, fixes may follow)
6133 2001-11-13 Michael Meeks <michael@ximian.com>
6135 * libspi/application.c
6136 (impl_accessibility_application_get_version),
6137 (impl_accessibility_application_get_toolkit_name):
6139 (impl_accessibility_application_set_id),
6140 (impl_accessibility_application_get_id): remove
6141 redundant casting code.
6143 * libspi/action.c (impl_getDescription): fix warnings.
6145 * libspi/accessible.c
6146 (impl_accessibility_accessible_get_parent),
6147 (impl_accessibility_accessible_get_child_at_index),
6148 (impl_accessibility_accessible_get_state),
6149 (impl_accessibility_accessible_get_relation_set):
6150 warning fixes & include action.h
6152 2001-11-13 Michael Meeks <michael@ximian.com>
6154 * *.[ch] fix bits I screwed up:
6156 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6157 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6159 2001-11-13 Michael Meeks <michael@ximian.com>
6161 * *.[ch] Namespace libspi into spi_ and Spi.
6163 2001-13-11 Michael Meeks <michael@ximian.com>
6165 * Makefile.am: dist & install at-spi-1.0.pc
6167 * libspi/Makefile.am: install into at-spi-1.0
6169 * idl/Makefile.am (idldir): install into at-spi-1.0
6171 * at-spi-1.0.pc.in: add.
6173 * configure.in: build it.
6175 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6177 * test/keysynth-demo.c:
6178 Use a 'realize' signal-handler to set the WM properties for
6179 the virtual keyboard, rather than making it a "POPUP" type
6180 override-redirect window (thanks to anders carlsson for that
6183 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6186 * test/keysynth-demo.c:
6187 Added new test of key synthesis, which creates a simple
6188 (mouse-operated) onscreen keyboard. It inserts key events into
6189 the currently-focused window, thus it does not grab keyboard focus
6192 * cspi/spi_registry.c:
6193 Added C binding for AT-SPI generateKeyEvent.
6195 * libspi/deviceeventcontroller.c:
6196 Added call to XFilterEvent so that key listener works with XIM (we
6197 hope). Added event_synth_type to generateKeyEvent, so that we can
6198 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6199 synthesize a press/release pair for KeySyms.
6201 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6203 * libspi/Makefile.am:
6204 * registryd/Makefile.am:
6205 (temporary) hack to include libXtst in libspi and registryd.
6206 (Needed for keystroke synthesis, see below).
6209 Improved API for registerKeystrokeListener, in accordance with
6210 discussions with Gnopernicus team and X server research.
6212 * libspi/registry.c:
6213 * libspi/deviceeventcontroller.c:
6214 * libspi/accessible.c:
6215 * libspi/keystrokelistener.c:
6216 Changes and fixes to support keylisteners for potentially
6217 consumed key events (that is, 'passive grabs').
6218 Added implementation for generateKeyEvent() [untested].
6221 Changes to registerKeystrokeListener() API, as above.
6222 Added deregisterGlobalEventListenerAll(), and
6223 deregisterKeystrokeListener(), which are needed for clean exit of
6225 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6226 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6228 * cspi/spi_registry.c:
6229 Added implementations of function prototypes mentioned above.
6231 * registryd/registryd.c:
6232 Added the key listener event source as a g_timeout(), to allow
6233 receipt of key events that are not caught by GDK (since GDK
6234 doesn't support passive keygrabs, this was necessary).
6237 Changed to attach a keylistener to 'Alt' keys, and
6238 respond to the following keycommands: Alt-M (toggle magnifier);
6239 Alt-F (toggle speech); Alt-Q (quit).
6240 Added an exit routine to deregister the listeners, and a key
6241 listener that prints some key info to the console when a key
6242 matches the listener mask (and is thus received by the listener).
6244 * util/idl/Magnifier.idl:
6245 Changes to magnifier API to support multiple zoom regions,
6246 non-uniform scaling in x and y, markDirty, and a host of other
6247 features that would be useful to magnification.
6250 * util/mag_client.c:
6251 * util/mag_client.h:
6252 * util/mag_control.c:
6254 Source code changes to support the above IDL changes.
6257 As above, and also changes to use a (slower) generic conversion
6258 path for colormap conversions, since the fast RGB conversions have been
6259 reported to fail for 16-bit displays.
6261 2001-10-26 Michael Meeks <michael@ximian.com>
6263 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6265 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6267 * at-bridge/Makefile.am: fix LDFLAGS.
6269 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6271 * at-bridge/bridge.c:
6272 Re-worked listeners for toolkit events, now we have signal
6273 and property listeners. Added a private method
6274 register_atk_event_listeners(), which registers with the
6275 various atk and gtk signals we need to monitor in order to emit
6277 Added emission hook for AtkObject:property-change events, to
6278 support the 'property listeners'.
6279 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6282 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6283 which emit warnings and exit, respectively, if CORBA errors occur
6284 during remote calls, and we now use these methods to check most of
6285 our CORBA calls in the C bindings.
6287 * cspi/spi_accessible.c:
6288 Changed AccessibleSelection_refSelectedChild() to
6289 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6290 now increment refcounts.
6292 * cspi/spi_component.c:
6293 Fixed some long pointer casts (dangerous!) to pass pointers to
6294 CORBA_longs of the proper type to the CORBA stubs, and copy the
6295 data into the longs that were passed into the C bindings code.
6297 * at-bridge/bridge.c:
6299 * libspi/accessible.c:
6300 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6301 hyperlinks, AtkHyperlink is an object type.
6303 * libspi/application.c:
6304 Added various conversions to and from "generic" event types and
6305 atk-specific types; this is really part of the 'bridge'
6306 implementation but is valid for all AtkObject-based accessibility
6309 * libspi/editabletext.c:
6310 Fixed nasty bug wherein editable text's finalize method was
6311 unref'ing tha AtkObject reference that the text parent class was
6312 about to unref _again_. There was also a nasty inheritance bug
6313 that meant that the AccessibleEditableText class was corrupt.
6315 * libspi/selection.c:
6316 Provided implementations for some selection API that was broken.
6318 * idl/Application.idl:
6319 Added registerObjectEventListener () method.
6322 Fixed a number of return values that were Bonobo_Unknowns from
6323 bonobo_object_corba_objref(), which I
6324 forgot to dup before returning. Changed instances of
6325 bonobo_object_corba_objref (bonobo_object(o)) to
6326 BONOBO_OBJREF(o), for concision and clarity.
6328 2001-10-13 Louise Miller <louise.miller@sun.com>
6330 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6331 idl/Event.idl, idl/Registry.idl
6332 Changed these files to include Bonobo_Unknown.idl instead
6335 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6337 * libspi/component.c libspi/component.h:
6338 Fixed typo. Added assertions for object checks in
6339 AccessibleComponent code.
6341 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6343 * idl/Accessible.idl:
6344 Added 'isEqual (Accessible *object)'
6345 method for Accessible. (Not Yet Implemented).
6348 Changed signature of registerKeystrokeListener() to
6349 take a KeySet and KeyEventSeq so that specific keys and event
6350 types could be requested for monitoring, and added a flag
6351 is_synchronous so that either synchronous or asynchronous
6352 notification could be requested. (However this is not all
6353 implemented yet). This also meant adding two new typedefs,
6354 KeyEventSeq and KeySet.
6357 Added two new relations, RELATION_TOOLTIP_FOR and
6358 RELATION_LEAFNODE_OF.
6361 Added new state, STATE_HAS_TOOLTIP.
6363 * libspi/text.c, editabletext.c:
6364 Added new assertions to all casts of bonobo-objects from
6365 CORBA servants, to prevent Text API calls on non-text objects.
6366 Changed suspect casts of int-pointer types, so that we
6367 always send a valid CORBA_long pointer to the CORBA APIs that use
6368 in/out long parameters. We then have to copy from the CORBA_long
6369 into the regular long or int for return to the C bindings, or
6370 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6373 * libspi/deviceeventcontroller.c:
6374 Cleaned these sources up.
6376 Changed return type for getCharacterAtOffset to
6377 CORBA_unsigned_long, to allow for 32-bit characters.
6380 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6384 Fixed 'make dist' so that distro compiles...
6385 * libspi/keymasks.h:
6387 * cspi/spi-listener.c:
6388 KeystrokeListenerCB now returns a boolean.
6390 Added KeyEventType struct, and KeyStroke.
6391 Also added createKeystrokeListener(),
6392 KeystrokeListener_addCallback(),
6393 KeystrokeListener_removeCallback(), and added a keymask to
6394 registerKeystrokeListener().
6395 * cspi/spi_accessible.c:
6396 Changed numerous return types for interfaces from
6397 AccessibleComponent to Accessible<InterfaceName>; this was
6398 probably a cut-and-paste error.
6400 Implementations of new KeystrokeListener api (from spi.h,
6403 Changes to key modifier mapping.
6404 Created ControllerEventMask struct.
6405 Made DeviceEventController derive from Bonobo::Unknown.
6407 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6408 * libspi/deviceeventcontroller.c:
6409 Added a number of new internal (private) methods.
6410 * libspi/editabletext.c:
6411 * libspi/editabletext.h:
6412 Fixed a number of bugs related to the fact that
6413 editabletext inherits from text. Fixed the EditableText struct,
6414 the init() call, and use correct casts when calling Text methods
6415 from an EditableText object. Removed (duplicate) atko from the
6416 EditableText structure, we use the one in the parent Text
6417 structure via the casts mentioned above.
6418 * libspi/keystrokelistener.[ch]:
6419 * libspi/registry.c:
6420 Changes in support of keyboard handling (above).
6422 Keyboard handling, though partly functional, is still not
6423 recommended for at-spi client use as there is considerable
6424 work yet to be done.
6427 Changed some places where pointers to various int types
6428 are cast to be pointers to CORBA_long types and vice-versa:
6429 pointer casting is not safe so we pass pointers of the correct
6430 types and then cast the result before putting it into the target
6433 * libspi/text.h: minor typos corrected.
6435 We now speak not only the name of a Text element, but the
6436 first sentence of its content, when it receives focus.
6437 I also changed the text compression to 75% from 50%.
6438 * util/Accessibility_Util.server.in:
6439 Changed the default magnifier type to be a 3x vertical
6440 splitscreen magnifier (was previously a 2x horizontal one).
6442 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6444 * libspi/keystrokelistener.h:
6445 * libspi/keystrokelistener.c:
6446 Initial functional implementations of KeystrokeListener.
6449 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6451 Fixed string handling for NULL strings in libspi.
6452 Added spi_freeString to free strings returned by C bindings.
6454 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6456 * libspi/keystrokelistener.h:
6457 * libspi/keystrokelistener.c:
6458 Began (no-op) implementations of KeystrokeListener
6460 * libspi/deviceeventcontroller.c:
6461 * libspi/deviceeventcontroller.h:
6462 Began creating implementations of DeviceEventController,
6463 to handle keystroke and mouse event listening and
6465 * libspi/accessible.c:
6466 Stubbed-in the implementations for
6467 Accessibility_Accessible_getState and
6468 Accessibility_Accessible_getRelationSet.
6469 * libspi/registry.c:
6470 Improved de-registration process and fixed some bugs,
6471 deregistration now works correctly.
6473 Added initialization of applications list (to NULL).
6475 Reduced speech compression from 0.5 to 0.7, for demo.
6476 Changed call to gdk_window_set_decorations()
6477 to gtk_window_set_decorated().
6478 * at-bridge/bridge.c:
6479 Bridge now deregisters when app exits, via
6480 registration of a cleanup function
6481 with the g_atexit() call.
6482 Required making 'app' static, renamed 'this_app'.
6483 Fixed broken use of bonobo_init, passing argv wrongly.
6485 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6489 Created a new directory for
6490 accessibility-related utilities, primarily for
6491 testing and demo purposes, but with possible
6498 Onscreen magnifier utility that
6499 is implemented as a bonobo service.
6501 * util/mag_client.c:
6502 * util/mag_client.h:
6503 Client-side support (simple C bindings)
6504 for Magnification service
6506 * util/mag_control.c:
6507 Client program example for
6508 Magnification service
6510 * util/Accessibility_Magnifier.server.in:
6511 Bonobo-activation file for the
6512 Magnification service.
6515 * util/idl/Magnifier.idl:
6516 IDL defining the bonobo Magnification
6520 Modifications to use the bonobo-activated magnifier
6521 above, in place of trying to connect to an existing
6522 magnifier that uses socket-listening IPC.
6524 If env variable MAGNIFIER is set, a magnifier service
6525 will be started if one does not exist.
6527 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6529 * at-bridge/bridge.c:
6530 applied patch from Marc to build and run
6531 against new glib and gtk+ (seemed like a change
6532 to bonobo_init signature was made ?)
6534 made festival-server support turned off by default.
6535 Added support for a simple magnifier (off by default)
6536 which will be added to a 'util' directory later.
6537 * at-bridge/Makefile.am:
6538 Changed "application.h" header from a 'source'
6539 to a 'dependency' of libat-bridge.
6541 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6550 Added interface implementation c files to list of
6551 includes so they are included in libcspi.
6554 Changed prototype of AccessibleAction_doAction to return a
6556 Changed prototype of AccessibleTable_getCaption to
6557 return an Accessible.
6558 Changed prototype of AccessibleTable_getSelectedRows
6559 and AccessibleTable_getSelectedColumns to
6560 return a long (returns the number of selected rows
6561 or columns respectively).
6562 Changed name of AccessibleText_refRunAttributes to
6563 AccessibleText_getAttributes.
6564 Changed prototype of AccessibleText_getCharacterExtents to
6565 return a void rather than a boolean.
6566 Added support for a AccessibleCoordType parameter
6567 specifying what type of coordinates are desired.
6568 Added an AccessibleCordType parameter to
6569 AccessibleText_getPointAtOffset.
6571 * cspi/spi_accessible.c:
6572 Added code to return the outstanding interfaces from
6573 Accessible_queryInterface.
6575 * cspi/spi_action.c:
6577 Corrected call to getNActions to call the c binding
6580 * cspi/spi_editabletext.c:
6582 Changed name from setRunAttributes to setAttributes.
6584 * cspi/spi_hyperlink.c:
6586 Changed call to getNAnchors to correctly call the c
6587 binding for an attribute.
6589 * cspi/spi_hypertext.c:
6591 Changed getImageDescription to correctly call the
6592 binding for an attribute.
6594 * cspi/spi_selection.c:
6595 Changed getNSelectedChildren to correctly call the c
6596 binding for the attribute.
6597 Changed refSelectedChild to getSelectedChild.
6601 Changed getCaption to return an Accessible.
6602 Fixed calls which retrieve attributes.
6603 Changed refAt to getAccessibleAt.
6604 Changed getNSelectedRows and getNSelectedColumns to
6608 Changed getCharacterExtents and getPointAtOffset to accept an
6609 AccessibleCoordType.
6611 Changed calls which retrieve attributes.
6612 Changed refRunAttributes to getAttributes.
6617 * idl/Hyperlink.idl:
6618 Changed n_anchors attribute to nAnchors to keep naming
6619 convention consistent.
6622 Made Table inherit from Bonobo::Unknown.
6623 Added nSelectedColumns and nSelectedRows attributes.
6626 Made Value inherit from Bonobo::Unknown.
6628 * libspi/hyperlink.c:
6629 Change for nAnchors attributte name change.
6631 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6639 Added interface implementation c files to list of
6640 includes so they are included in libcspi.
6643 Changed prototype of AccessibleAction_doAction to return a
6645 Changed prototype of AccessibleTable_getCaption to
6646 return an Accessible.
6647 Changed prototype of AccessibleTable_getSelectedRows
6648 and AccessibleTable_getSelectedColumns to
6649 return a long (returns the number of selected rows
6650 or columns respectively).
6651 Changed name of AccessibleText_refRunAttributes to
6652 AccessibleText_getAttributes.
6653 Changed prototype of AccessibleText_getCharacterExtents to
6654 return a void rather than a boolean.
6655 Added support for a AccessibleCoordType parameter
6656 specifying what type of coordinates are desired.
6657 Added an AccessibleCordType parameter to
6658 AccessibleText_getPointAtOffset.
6660 * cspi/spi_accessible.c:
6661 Added code to return the outstanding interfaces from
6662 Accessible_queryInterface.
6664 * cspi/spi_action.c:
6666 Corrected call to getNActions to call the c binding
6669 * cspi/spi_editabletext.c:
6671 Changed name from setRunAttributes to setAttributes.
6673 * cspi/spi_hyperlink.c:
6675 Changed call to getNAnchors to correctly call the c
6676 binding for an attribute.
6678 * cspi/spi_hypertext.c:
6680 Changed getImageDescription to correctly call the
6681 binding for an attribute.
6683 * cspi/spi_selection.c:
6684 Changed getNSelectedChildren to correctly call the c
6685 binding for the attribute.
6686 Changed refSelectedChild to getSelectedChild.
6690 Changed getCaption to return an Accessible.
6691 Fixed calls which retrieve attributes.
6692 Changed refAt to getAccessibleAt.
6693 Changed getNSelectedRows and getNSelectedColumns to
6697 Changed getCharacterExtents and getPointAtOffset to accept an
6698 AccessibleCoordType.
6700 Changed calls which retrieve attributes.
6701 Changed refRunAttributes to getAttributes.
6706 * idl/Hyperlink.idl:
6707 Changed n_anchors attribute to nAnchors to keep naming
6708 convention consistent.
6711 Made Table inherit from Bonobo::Unknown.
6712 Added nSelectedColumns and nSelectedRows attributes.
6715 Made Value inherit from Bonobo::Unknown.
6717 * libspi/hyperlink.c:
6718 Change for nAnchors attributte name change.
6721 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6723 implementations-- made server implementations own AtkObject pointers
6724 rather than their respective AtkInterrface pointers to fix
6725 refcounting. AtkHyperlink is still broken.
6727 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6728 * cspi/spi_accessible.c:
6729 Added method Accessible_Role_getName(),
6730 and requisite string array (role_names).
6731 Added conversion string_from_corba_strin() call
6732 to Accessible_getName and _getDescription.
6733 * libspi/accessible.c:
6734 Added implementation for Accessible_getRole()
6736 Added festival support, used if environment variable
6739 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6741 * at-bridge/bridge.c:
6742 Now allocate Accessibility_Event using
6743 Accessibility_Event__alloc() instead of g_new0().
6744 * libspi/accessibleeventlistener.c:
6745 Initialize AccessibleEventListener->callbacks to NULL.
6746 Fixed accessible__event_listener_init() param, changed to
6747 "AccessibleEventListener *" type.
6748 Changed a bonobo_object_release_unref() call to
6749 Accessibility_Accessible_unref().
6750 * libspi/listener.c:
6751 Changed Bonobo_Unknown_unref to (equivalent)
6752 Accessibility_Accessible_unref.
6753 * libspi/registry.c:
6754 Changed bonobo_object_release_unref to
6755 Accessibility_Accessible_unref.
6757 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6760 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6761 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6762 spi-util.c spi-util.h
6763 Implementations for C bindings to remaining accessibility
6766 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6769 changed return value of Action from void to boolean to
6770 bring in line with ATK.
6773 Changed getText funcions to return "out" start and end offsets.
6774 Changed getAttributes to take and offset and return the start
6775 and end offset of the attribute run.
6776 Changed getOffsetAtPoint and getCharacterExtents to take an
6777 enum describing whether coordinates are window or screen.
6780 libspi/action.c libspi/action.h libspi/editabletext.c
6781 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6782 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6783 libspi/image.h libspi/selection.c libspi/selection.h
6784 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6785 libspi/value.c libspi/value.h
6786 Added server implementations for outstanding ATK interfaces
6787 not yet implemented.
6789 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6792 Added (missing) getName() method.
6793 Made nActions an attribute.
6794 * idl/EditableText.idl:
6795 Changed order of params in setAttributes.
6796 * idl/Hyperlink.idl:
6797 Removed getAnchor, added getURI.
6799 Changed attributes to methods, for efficiency
6800 (so that getting extents can be done in one call)
6801 * idl/Selection.idl:
6802 Changed nSelectedChildren to attribute, and re-indented.
6803 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6805 * idl/Text.idl: reformatted to match our coding style.
6806 (temporarily?) removed getRowColumnAtOffset().
6807 Changed text selection API to support multi-select and
6808 non-contiguous selections, as in ATK.
6809 * idl/Value.idl: changed some methods to attributes.
6811 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6813 * libspi/listener.c(impl_notify_event):
6814 BonoboUnkown_unref the source instead
6815 of bonobo_object_release_unref - the ORB
6816 handles the releasing.
6818 * configure.in: require ORBit-2.3.94 for
6821 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6823 Tagged CVS repository 'EA_1_0'.
6824 * README.EARLY_ACCESS:
6825 Alphabetized acknowledgements list, and
6827 Listed some known dependencies of at-spi.
6829 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6831 * docs/at-spi-docs.sgml:
6832 * docs/at-spi-sections.txt:
6833 * docs/at-spi-overrides.txt: (Added zero-length file)
6834 Documentation improvements - gtk-doc should build
6835 docs for all implemented C bindings now.
6838 * cspi/spi.c: (New file)
6839 * cspi/spi_event.c: (New file)
6840 * cspi/spi_registry.c: (New file)
6841 * cspi/spi_accessible.c: (New file)
6842 * cspi/spi_application.c: (New file)
6843 * cspi/spi_component.c: (New file)
6844 Split spi_main.c into six parts, and included them from
6845 "spi.c". This is a bit of a hack, probably temporary,
6846 but required by gtk-doc, apparently.
6848 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6851 * docs/at-spi-docs.sgml:
6852 * docs/at-spi-sections.txt:
6854 Initial checkins/modifications for gtk-doc generation.
6857 Added (missing) interface query methods to Accessible's C binding.
6859 Added GenericInterface type definition.
6861 Added query for AccessibleComponent interface to focus event handler.
6862 Added printout of bounding box for focussed component.
6863 * libspi/component.c:
6864 Added partial implementation for AccessibleComponent to C binding.
6865 * idl/Application.idl:
6866 * libspi/registry.c:
6867 * libspi/listener.c:
6868 * libspi/application.c:
6869 * libspi/application.h:
6870 Changed "ID" attribute type from string to long.
6872 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6876 Made method naming consistent: methods taking object args
6877 start with uppercase, other methods (except those using
6878 acronyms) start with lowercase. Underscores delimit between
6879 object names and method names:
6880 SPI_init() - uppercase since it starts with an acronym.
6881 getDesktopCount () - lowercase start since no object param0.
6882 Accessible_getName() - uppercase object type name, studlyCaps method
6886 Added gtk-doc documentation for all currently implemented
6887 methods in the C bindings API.
6889 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6891 * Makefile.am : changed build order to build test last.
6894 Changed "createEventListener" to "CreateEventListener".
6895 * libspi/accessibleeventlistener.c :
6896 Bugfix for addition of callbacks.
6897 * test/Makefile.am :
6898 * test/simple-at.c :
6899 Added new test that uses the C bindings API.
6901 * libspi/listener.c :
6902 * libspi/registry.c :
6903 * libspi/accessibleeventlistener.c :
6904 * at-bridge/bridge.c :
6905 Renamed member "target" of Accessibility_Event to "source",
6906 which is more descriptive.
6909 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6913 * cspi/Makefile.am :
6914 Added makefile support for at-spi/cspi directory.
6917 * cspi/spi-listener.h : (NEW FILE)
6918 Added support for/use of spi-listener.h.
6920 C bindings now build successfully, with no warnings.
6921 * libspi/accessibleeventlistener.h : (NEW FILE)
6922 * libspi/accessibleeventlistener.c : (NEW FILE)
6923 * libspi/Makefile.am :
6924 Added new object type "AccessibleEventListener"
6925 which inherits from Listener, and allows attachment
6926 of in-process callbacks (so that a client with a listening
6927 object instance can add functionality to the local
6928 implementation, dynamically).
6930 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6932 * libspi/accessible.c:
6933 Add implementation for get_index_in_parent().
6935 Added #include of "spi-roletypes.h", and
6936 added enumerated type AccessibleCoordType.
6937 Added definition for KeystrokeListener (function type).
6940 * cspi/spi-statetypes.h :
6941 * cspi/spi-roletypes.h :
6943 Added these headers, used by spi.h.
6945 Added code (NOTE: not yet built by make).
6947 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6949 * libspi/Makefile.am: generate imodule
6950 at the same time as other idl compiler
6953 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6954 * libspi/registry.c :
6955 * libspi/application.c :
6956 * idl/Application.idl :
6957 Made registration with toolkit an application method,
6958 which is required since each app has its own toolkit static
6959 environment. Thus the bridge must register for
6960 notification of toolkit events from each application in turn.
6961 Toolkit notifications are now successfully registered for, and
6962 sent to the listening at client.
6964 Changed toolkit event string to use hyphens rather than underscores.
6965 * libspi/listener.c :
6966 listner now gives more info in debug mode - it reports the
6967 name of the event received, as well as the name of the source.
6970 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6972 * libspi/registry.c :
6973 added more implementation for toolkit events.
6974 Fixed bug such that toolkit event registrations
6975 (via atk) use the whole event name string, not
6977 Removed a useless call to an ORBit_ method.
6978 * at-bridge/bridge.c :
6979 Removed unused local sbuf[] variable.
6981 We now register for Gtk:GtkWidget:button_press_event
6982 events as well as "focus:" events.
6984 Add some more API from Registry.idl that was missing,
6985 for keystroke listening, keystroke and mouse event
6986 synthesis, and enumeration of accessible desktops.
6988 2001-08-16 Michael Meeks <michael@ximian.com>
6990 * configure.in: use AM_GLIB_GNU_GETTEXT.
6992 * Makefile.am (SUBDIRS): kill intl.
6994 2001-08-15 Michael Meeks <michael@ximian.com>
6996 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6998 * configure.in: upd.
7000 * configure.in: depend on a recent bonobo-activation that
7001 will find our server files ...
7003 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7005 * libspi/accessible.c : accessible_new() :
7006 Now we add the Component interface via bonobo_object_add_interface,
7007 if the contained AtkObject implements AtkComponent.
7008 * libspi/accessible.h : now include "component.h"
7009 * libspi/component.h :
7010 * libspi/component.c : added files - implementation of
7011 bonobo wrapper object for Accessibility/Component
7012 * libspi/listener.c :
7013 Added test code to check for Accessibility/Component:1.0
7014 interface and report whether it is implemented by the
7016 * libspi/registry.c :
7017 Now we check for not only the hash of the whole event
7018 string before relaying the event, we also check the
7019 "minor" event string (without the detail string).
7020 This allows event listeners to be registered against
7021 all events of a certain major+minor type, or just
7022 against a specific major+minor+detail type.
7023 * libspi/accessible.c :
7024 Added implementations for Accessible:get_parent(),
7025 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7026 * libspi/registry.c :
7027 * libspi/listener.c :
7028 Replaced calls to Accessibility_Accessible_ref() and
7029 Accessibility_Accessible_unref() with
7030 calls to bonobo_object_dup_ref() and
7031 bonobo_object_release_unref(), so that the CORBA object
7032 is dup-ed and released when relayed, as well as the bonobo object.
7034 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7036 * libspi/Makefile.am,
7037 registryd/Makefile.am,
7038 at-bridge/Makefile.am.
7039 test/Makefile.am, configure.in:
7040 reverse previous changes.
7042 * /idl/Image.idl: fix typo.
7044 * test/Makefile.am: put DEBUG_FLAGS
7047 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7049 * test/app.c: use argv[0] instead of
7052 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7054 * libspi/Makefile.am,
7055 registryd/Makefile.am,
7056 at-bridge/Makefile.am.
7057 test/Makefile.am, configure.in:
7058 cleanup, replace individual LIBS/CFLAGS with
7059 AT_COMMON_{LIBS|CFLAGS}.
7063 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7065 * configure.in, libspi/Makefile.am:
7066 Change IDL path checking for bonobo-activation
7069 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7071 * registryd/registry.c : separated event listeners to use
7072 3 separate lists (focus, window, toolkit). Began testing
7073 event names against hashes before relaying events.
7074 * test/at.c : now register for events of type "focus:"
7075 * test/app.c : now generate events of type "focus:"
7076 * at-bridge/bridge.c : register with ATK for focus events,
7077 and we now relay those focus events to any "focus:" listeners.
7078 This now works with the bridge as a GTK_MODULE when running test/at.
7079 * libspi/registry.c :
7080 * libspi/listener.c :
7081 now we ref event sources before propagating, and unref on receipt.
7082 * libspi/registry.c :
7083 some changes to internal structs, to support event typestring hashes.
7084 * text/app.c : changed the way the appname is generated.
7085 * cspi : added directory that will hold the C bindings library for
7086 non-CORBA/bonobo-savvy clients.
7087 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7088 * idl/Component.idl : added in parameter to indicate coord system for
7089 geometry-related calls.
7090 * idl/Hyperlink.idl : added readonly n_links attribute
7091 * idl/Image.idl : changed methods to attributes.
7093 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7095 * at-bridge/Makefile.am: link against
7096 ../libspi/libspi.la instead of -lspi.
7098 * at-spi/test/app.c: include
7099 bonobo-activation.h. Use a default appname
7100 if one is not provided.
7102 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7104 * idl/Registry.idl : temporarily changed register_Application
7105 to oneway, to work around issue with initial registration
7107 * idl/Application.idl : changed attribute "id" from readonly
7108 to read-write, since it needs to be assigned by Registry.
7109 * registryd/registryd.c : added call to set application id
7111 * registryd/registry.c : changed de-registration procedure to
7112 use CORBA_Object_hash() to find matching object ref in application
7113 lists and listener lists.
7114 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7115 began distinguishing between event types (work in progress).
7117 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7120 * libspi/application.c:
7121 Added implementations for get/set id, get_toolkitName,
7123 * registryd/registryd.c :
7127 Converted from use of OAF to bonobo-activation.
7128 * libspi/desktop.h :
7129 * libspi/desktop.c :
7131 Removed references to atksimpleobject, since base atkobject
7132 implementation now provides functionality we need.
7133 * libspi/atksimpleobject.c :
7134 * libspi/atksimpleobject.h :
7139 * at-bridge/Makefile.am
7140 * at-bridge/bridge.c
7143 Added directory "bridge" and contents, and added dependencies
7144 in Makefile.am/configure.in.
7145 Initial checkin of "at-bridge".
7146 This code is a GTK_MODULE which automatically registers
7147 GTK+ apps with the accessibility registry, using an object
7148 reference to the root ATK object.
7150 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7152 * po/Makefile.in.in: Remove. Again. If this
7153 doesn't get autogenerated - you need to update
7156 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7158 * po/Makefile.in.in: Add. Again.
7160 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7162 * libspi/accessible.c : added support for 'description' property.
7163 * libspi/accessible.c
7165 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7166 (since the two are now equivalent in libbonobo)
7174 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7175 Bonobo::Unknown as does Accessibility::Accessible.
7176 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7177 interface with Bonobo::Stream, since it was redundant with it.
7178 (The Stream returned by a StreamableContext object is expected to
7179 implement only a subset of Bonobo::Stream)
7181 2001-07-28 Anders Carlsson <andersca@gnome.org>
7183 * libspi/accessible.c (accessible_object_finalize): Change
7184 g_free to g_object_unref since the AtkObject is a GObject.
7186 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7188 * idl/Accessibility.idl: add new IDL files
7191 * idl/Action.idl: Definitions of actionable UI object
7192 * idl/Component.idl: Definitions of UI component geometry, etc.
7193 * idl/Hyperlink.idl: Defs of hyperlink behavior
7194 * idl/Image.idl: Def of accessible image
7195 * idl/Selection.idl: Definition of UI object with selectable children
7196 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7197 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7198 * idl/Text.idl: Interface defs for UI elements with complex textual content
7199 * idl/Value.idl: Definition of UI element that is a value controller or display
7201 2001-07-27 Michael Meeks <michael@ximian.com>
7203 * po/Makefile.in.in: remove autogenerated file from CVS.
7205 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7208 * idl/Registry.idl: include guard.
7210 * idl/Accessibility.idl: Add, and include all the other IDL
7213 * idl/*.idl: remove mass of pragmas etc.
7215 2001-07-26 Michael Meeks <michael@ximian.com>
7217 * registryd/Makefile.am (registryd_SOURCES): remove
7220 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7222 * libspi/.cvsignore, registryd/.cvsignore,
7223 test/.cvsignore: updated.
7225 * po/Makefile.in.in: gettext update.
7227 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7229 * initial CVS checkin
7231 2001-06-29 Michael Meeks <michael@ximian.com>
7233 * configure.in: add AM_CONFIG_HEADER to gen config.h