1 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
3 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
4 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
5 Same here. Closes bug #167806
7 2005-04-05 Bill Haneman <bill.haneman@sun.com>
10 (spi_atk_bridge_signal_listener):
11 Free the any._value if any._release is TRUE,
12 since the ORB won't do it for us in this case
13 [because this method is not a skel].
16 2005-03-30 Steve Murphy <murf@e-tools.com>
18 * configure.in: Added "rw" to ALL_LINGUAS.
20 2005-03-29 Bill Haneman <bill.haneman@sun.com>
22 * configure.in: Improved check for HAVE_XEVIE, to detect
23 presence on XOrg, where -lXevie is a separate library.
25 2005-03-08 Bill Haneman <bill.haneman@sun.com>
27 * configure.in, NEWS, README: Revved to 1.6.3.
29 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
31 * configure.in: Added "xh" to ALL_LINGUAS.
33 2005-02-07 Bill Haneman <bill.haneman@sun.com>
35 * atk-bridge/bridge.c:
36 (atk_bridge_init): Added missing NULL in g_strconcat(),
37 also check for symlink before logging to
38 insecure directory. Thanks to meissner@suse.de.
40 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
42 * tests/login-helper-server-test.c: Add return call to main
43 function. Patch from Chris Lahey. Fixes bug #165129.
45 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
47 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
49 2004-12-09 Bill Haneman <billh@gnome.org>
51 * registryd/registry-main.c:
52 Added #define <string.h> for strrchr. (bug 160862).
53 Thanks to Vincent Berger for catching.
55 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
57 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
58 restart registry process if the registry process is found to have died
59 and the current process is exiting.
60 (spi_atk_bridge_exit_func): Do not attempt to deregister the
61 application if the registry process has died.
62 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
63 does not return a registry object.
64 (spi_atk_tidy_windows): Give up if the registry process has died.
66 This fixes problems with hangs and crashes when logging out.
68 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
70 * registryd/desktop.c: Add checking that we are not exiting before
71 calling spi_desktop_remove_application in
72 abnormal_application_termination. Fix for bug #152147.
74 2004-12-02 Bill Haneman <billh@gnome.org>
76 * configure.in, NEWS, README: Revved to 1.6.1.
78 Patch from Padraig O'Briain <padraig.obriain@sun.com>
79 * atk-bridge/bridge.c:
80 (atk_bridge_init): Save the pid when we start, to detect forks.
81 (spi_atk_bridge_exit_func): Don't call the cleanup routines
82 if we're in a forked pid.
84 2004-10-09 Bill Haneman <billh@gnome.org>
86 * idl/Accessibility_LoginHelper.idl:
87 Improved inline documentation.
89 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
91 * configure.in: Added gl (Galician) to ALL_LINGUAS
93 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
95 * libspi/accessible.c:
96 (impl_accessibility_accessible_get_role_name),
97 (impl_accessibility_accessible_get_local_role_name):
100 (impl_accessibility_component_get_accessible_at_point):
102 * libspi/eventlistener.c: (spi_event_listener_new):
104 * libspi/stateset.c: (impl_compare): More of the same
105 * libspi/table.c: (impl_getRowDescription): Again.
106 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
107 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
108 (impl_generate_keyboard_event): Same.
109 * registryd/registry-main.c: (main): Same
110 * test/event-listener-test.c: (test_exit): Same
111 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
112 * test/keysynth-test.c: (test_key_synthesis): Same
113 * test/login-helper-server-test.c: (main): Fix warning.
114 * test/screen-review-test.c: (test_exit): Fix include.
115 * test/simple-at.c: (simple_at_exit), (_festival_init):
118 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
120 * configure.in, NEWS, README: Revved to 1.6.0.
122 2004-09-12 Bill Haneman <bill.haneman@sun.com>
124 * configure.in: Rev and re-dist, since the 1.5.4 tarball
125 was missing the HTML docs.
127 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
129 * configure.in: only cleanups:
130 - better looking PKG_CHECK_MODULES() output,
132 - declare in one common place required versions of other tools using
135 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
137 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
138 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
139 required ATK version accordingly.
141 2004-09-03 Bill Haneman <bill.haneman@sun.com>
143 * cspi/bonobo/cspi-bonobo.c:
144 (cspi_display_name): Fix C99ism.
145 * atk-bridge/bridge.c:
146 (spi_display_name): Fix C99ism.
147 Patch from Jens Granseuer, jensgr@gmx.net.
149 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
151 * configure.in: Added "or" to ALL_LINGUAS.
153 2004-08-20 Bill Haneman <bill.haneman@sun.com>
155 * configure.in, NEWS, README: Revved to 1.5.4.
157 * registryd/registry-main.c:
158 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
161 * cspi/bonobo/cspi-bonobo.c:
162 (cspi_display_name): New convenience method, gets DISPLAY with
163 screen number stripped, if AT_SPI_DISPLAY isn't already set.
164 (cspi_init): Set the activation env value above before getting
167 * atk-bridge/bridge.c:
168 (spi_display_name): Create the AT_SPI_DISPLAY activation
169 environment for an app, based on the DISPLAY environment with the
170 screen number stripped off.
171 (atk_bridge_init): Allow redirection of error messages to a log.
172 (spi_atk_bridge_get_registry): Call
173 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
175 Fixes for bugs #149962, #136986, #144086.
177 2004-08-16 Christian Rose <menthos@menthos.com>
179 * configure.in: Added "bs" to ALL_LINGUAS.
181 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
183 * configure.in: Added nb to ALL_LINGUAS.
185 2004-09-03 Bill Haneman <bill.haneman@sun.com>
188 (SPI_init): Return error code '2' if the activated
189 registry cannot be pinged. Fixes bug #147648.
191 2004-07-28 Bill Haneman <bill.haneman@sun.com>
193 * registryd/deviceeventcontroller.c:
194 (spi_dec_init_mouse_listener): Don't do XGrabButton,
195 rely on timer-poll instead, to avoid conflict with
198 2004-07-20 Bill Haneman <bill.haneman@sun.com>
200 * configure.in: Revved to 1.5.3.
202 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
204 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
206 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
208 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
210 2004-06-11 Bill Haneman <bill.haneman@sun.com>
212 * atk-bridge/bridge.c:
213 (spi_atk_bridge_do_registration):
214 Register with ATK for AtkComponent:bounds-changed events.
215 (api_atk_bridge_signal_listener):
216 Marshal the AtkRectangle info into the event notification
217 for object:bounds-changed events.
220 (spi_init_any_rect): New method, inits a corba struct of
221 type Accessibility_BoundingBox from an AtkRectangle.
223 * libspi/spi-private.h: Declared spi_init_any_rect (above).
226 (SPIRect): New struct definition.
227 (SPI_freeRect): New declaration.
228 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
231 (AccessibleBoundsChangedEvent_getNewBounds): New method,
232 implemented. Gets the bounding box data from the CORBA_any
233 associated with a bounds-changed event notification.
234 (cspi_internal_event_get_rect): New, used internally by above method.
237 (SPI_freeRect): Implemented this new method, for freeing
240 * test/event-listener-test.c:
241 (main, report_bounds_event):
242 Added a test for object:bounds-changed events.
244 2004-06-01 Bill Haneman <bill.haneman@sun.com>
246 * test/login-helper-server-test.c:
247 (main): Fix C99-ism. Thanks to Jens Granseuer.
249 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
251 * libloginhelper-1.0.pc.in:
252 * idl/Accessibility_LoginHelper.idl:
253 * login-helper/Makefile.am:
254 * login-helper/login-helper.[ch]:
255 * test/login-helper-client-test.c:
256 * test/login-helper-server-test.c: Added files missing from CVS.
257 Files obtained from at-spi-1.5.2 tarball.
259 2004-05-27 Bill Haneman <bill.haneman@sun.com>
261 * configure.in: Create login-helper/Makefile.
262 Incremented micro version.
264 * Makefile.am: Add login-helper subdir and pkgconfig data.
266 * login-helper: New subdir.
268 * libloginhelper-1.0.pc.in: New.
270 * idl/Accessibility_LoginHelper.idl: New file, defines
271 interface whereby authentication clients can identify agents which
272 need access to services during the login process, e.g. screen lock
275 * login-helper/Makefile.am : New.
277 * login-helper/login-helper.[ch] : New, implementation of
278 a LoginHelper base class. Services needing LoginHelper can subclass.
280 * test/Makefile.am : Added test for login-helper, client and
283 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
284 Use proper prefix in #include files.
286 * test/login-helper-client-test.c: New.
288 * test/login-helper-server-test.c: New.
290 2004-05-27 Alexander Shopov <ash@contact.bg>
292 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
294 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
296 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
297 is positive. This should make it easier to detect inapprorpiate unref
300 2004-05-11 James Henstridge <james@daa.com.au>
302 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
303 no-op and deprecated.
305 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
307 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
309 2004-04-28 Bill Haneman <billh@gnome.org>
311 * Makefile.am: Added --enable-gtk-doc to
312 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
314 2004-04-19 Bill Haneman <billh@gnome.org>
316 * configure.in: Revved to 1.5.1.
318 * registryd/deviceeventcontroller.c:
320 (DEControllerPrivateData): Added fields for
321 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
322 (spi_dec_replace_map_keysym): New internal utility for
323 replacing a keysym in the keymap - used to allow
324 synthesis of individual characters which aren't in the
326 (spi_dec_reset_reserved): New; resets the changed keysym value
328 (keycode_for_keysym): We now try to deal with failed
329 XKeysymToKeycode requests by changing a keymap value
330 and returning a reserved keycode. We now take
331 a DEController pointer as first arg.
332 (spi_controller_register_with_devices): Call XkbGetMap with
333 the XkbKeySymsMask. Find the highest keycode in the current
334 keymap which doesn't have any grabs, and mark that one for
335 temporary re-mapping when out-of-range KeySyms are synthesized.
336 (dec_synth_keycode_press): Call XFlush after synthesizing the key
339 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
341 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
343 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
345 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
347 2004-03-24 Bill Haneman <billh@gnome.org>
350 (AccessibleTable_addRowSelection),
351 (AccessibleTable_addColumnSelection),
352 (AccessibleTable_removeRowSelection),
353 (AccessibleTable_removeColumnSelection):
354 Add declarations for spi wrappers which were
355 inadvertantly omitted. Fixes bug #133413.
358 Revved to 1.5.0 (unstable series for GNOME 2.7).
360 2004-03-24 Bill Haneman <billh@gnome.org>
362 * atk-bridge/bridge.c:
363 Bracketed some debug output in
364 conditionals, to avoid printing it in normal use.
367 * libspi/hyperlink.c:
368 Don't cast 'object' to ATK_OBJECT when constructing
369 an AtkAction interface for a hyperlink.
370 See discussion in bug #120659.
372 * test/key-listener-test.c:
373 (report_all_key_event): Send output to stderr,
374 not stdout, for consistency with the rest of the test callbacks.
377 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
378 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
379 Incremented to 1.4.1 (but didn't dist yet - I'm going to
380 try incrementing the revision AFTER doing a dist, at least
383 2004-03-22 Bill Haneman <billh@gnome.org>
385 * configure.in: Revved to 1.4.0, libtool 9.14.9
387 2004-03-17 Laszlo Peter <laca@sun.com>
389 * libspi-1.0-uninstalled.pc.in: add idldir
391 * cspi-1.0-uninstalled.pc.in: add idldir
393 2004-03-16 Gareth Owen <gowen72@yahoo.com>
395 * configure.in: Added "en_GB" to ALL_LINGUAS
397 2004-03-15 Bill Haneman <billh@gnome.org>
399 * configure.in: Revved to 1.3.16,
402 2004-03-15 Laszlo Peter <laca@sun.com>
404 * libspi-1.0-uninstalled.pc.in: new file
406 * cspi-1.0-uninstalled.pc.in: new file
408 * configure.in: add the new pc files to AC_OUTPUT
410 * Makefile.am: add the new pc files to EXTRA_DIST
412 2004-03-12 Bill Haneman <billh@gnome.org>
414 * atk-bridge/bridge.c:
415 (spi_atk_bridge_key_listener):
416 Make sure to return consumed=FALSE if snoop
417 event is not dispatched to listener.
420 2004-03-01 Bill Haneman <billh@gnome.org>
422 * configure.in: Revved to 1.3.15,
425 2004-03-07 Danilo Segan <dsegan@gmx.net>
427 * configure.in: Added "sr@ije" to ALL_LINGUAS.
429 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
431 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
433 2004-03-01 Bill Haneman <billh@gnome.org>
435 * configure.in: Revved to 1.3.14.
438 (SPI_exit): Removed "bye-bye" exit message.
439 Moved "leak" report to happen before the
440 iteration over the leaked refs list.
441 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
443 2004-02-24 Bill Haneman <billh@gnome.org>
445 * configure.in: Revved to 1.3.13.
447 * docs/reference/cspi/Makefile.am:
448 Correct typo that was breaking the docs build.
450 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
452 * autogen.sh: Require version 1.7 of automake.
454 * configure.in: call GTK_DOC_CHECK([1.0])
456 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
458 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
460 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
462 * test/Makefile.am: Remove use of CFLAGS.
464 This fixes bug #132987.
466 2004-02-11 Bill Haneman <billh@gnome.org>
468 * reverted most of Tomasz' patch below, since it was breaking
469 builds (see bug #134058).
471 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
473 * docs/reference/cspi/at-spi-cspi.types: added empty file for
474 correct pass "make dist" (empty .. because seems no sach types in
475 header files with gtk-doc markups).
476 * docs/reference/cspi/Makefile.am, configure.in:
477 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
478 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
479 * Makefile.am: added:
480 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
481 for force correct pass generate documentation on "make distcheck".
482 * libspi/Makefile.am: fixes for automake >= 1.6.
483 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
484 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
487 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
489 * docs/reference/cspi/Makefile.am (install-data-local): Install
490 index.sgml since the doc autobuilder on widget.gnome.org looks for
493 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
495 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
498 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
500 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
502 2004-01-27 Brian Cameron <brian.cameron@sun.com>
504 * test/simple-at.c: Fixed null string problems that cause core
505 dumping problems on Solaris.
507 2004-01-12 Bill Haneman <billh@gnome.org>
509 * configure.in: Incremented version to 1.3.11.
511 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
513 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
514 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
517 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
519 * configure.in: Added "fa" to ALL_LINGUAS.
521 2003-12-20 Arafat Medini <lumina@silverpen.de>
523 * configure.in: Added "ar" to ALL_LINGUAS
525 2003-12-16 Bill Haneman <billh@gnome.org>
527 * registryd/registry-main.c:
529 Set the reg_env DISPLAY variable before registering the
530 activated registry service. Fixes bug #129479.
532 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
534 * configure.in: Added "id" in ALL_LINGUAS
535 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
537 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
539 * registryd/deviceeventcontroller.c (global_filter_fn):
540 When an event is consumed discard any XEvents were added to
541 the queue while dealing with the the event. This can happen if
542 processing of the event takes a long time. Call XUngrabKeyboard
543 if an event was discarded. This fixes bug $124837.
544 Only call wait_for_release_event for a KeyPress.
545 Use local variable display instead of spi_get_display().
546 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
549 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
551 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
552 Allow for mask to contain values other than NumLock mask.
555 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
557 * registryd/devieceventcontroller.c:
558 (wait_for_release_event): Change first parameter from GdkEvent to
560 (global_filter_fn); Correct call to wait_for_release_event.
564 2003-12-08 Bill Haneman <billh@gnome.org>
568 * registryd/ucs2keysym.c: New file.
570 * registryd/deviceeventcontroller.c:
571 (dec_keysym_for_unichar): Remove old partial implementation and
572 replace with call to ucs2keysym(), which is much more complete.
573 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
578 2003-12-05 Bill Haneman <billh@gnome.org>
580 * configure.in: Version 1.3.9.
582 * docs/reference/cspi/tmpl/spi_registry.sgml:
583 Added reference to libspi/keymasks.h to the
584 description of Registry queries: AccessibleKeyMaskType.
587 2003-12-04 Bill Haneman <billh@gnome.org>
591 * idl/Accessibility_Application.idl:
592 (Accessibility::LOCALE_TYPE): New enum, corresponds to
593 setlocale's LC_TYPEs.
594 (Accessibility::Application::getLocale): New method.
595 Allows clients to query the locale, by type, of an app.
598 * cspi/spi_application.c:
599 (AccessibleApplication_getLocale): New method, wraps IDL above.
601 * libspi/application.c:
602 (spi_application_class_init): Init epv entry for getLocale.
603 (impl_accessibility_application_get_locale): Impl for above.
605 * test/test-simple.c:
606 (test_application): Added assertion for getLocale, i.e.
607 that the string from AccessibleApplication_getLocale (app, type)
608 is the same as that from setlocale (type, NULL);
610 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
612 *registryd/deviceeventcontroller.c: Add an idle handler which polls
613 the keyboard on a timeout intil the key state goes from pressed to
614 released. Fixes bug #111429.
616 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
618 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
619 root object so that it is present when a context menu in an
620 out-of-process applet is popped up.
621 (spi_atk_bridge_do_registration): Create acceessible application root
622 object only if it does not exist.
624 This fixes bug #125834.
626 2003-12-01 Bill Haneman <billh@gnome.org>
628 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
631 Added enum for AccessibleStreamableContentSeekType.
632 (AccessibleStreamableContent_freeContentTypeList): New.
634 * cspi/spi_streamablecontent.c:
635 (accessible_bonobo_stream_client_seek): New private method.
636 (AccessibleStreamableContent_seek): Implemented this method,
637 using Bonobo_Stream_seek.
638 (AccessibleStreamableContent_freeContentTypeList): New method
639 for freeing the return value from
640 AccessibleStreamableContent_getContentTypes.
641 (stream_cache_item_free): Replaces stream_release; stop leaks.
642 (stream_release): removed.
643 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
644 free the memory properly.
646 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
650 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
652 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
654 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
656 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
658 2003-12-01 Bill Haneman <billh@gnome.org>
660 Fix for bug/rfe #127463.
662 * idl/Accessibility_Accessible.idl:
663 (getLocalizedRoleName): New.
664 (unimplemented4): Removed (replaced by above).
666 * libspi/accessible.c:
667 (impl_accessibility_accessible_get_local_role_name): New.
668 (spi_accessible_class_init): Add getLocalizedRoleName entry to
672 (Accessible_getLocalizedRoleName): New.
674 * cspi/spi_accessible.c:
675 (Accessible_getLocalizedRoleName): New.
677 2003-12-01 Bill Haneman <billh@gnome.org>
680 * idl/Accessibility_Text.idl:
681 (getDefaultAttributes): New.
682 (unimplemented4): Removed (replaced by above method).
685 (impl_getDefaultAttributes): New method.
686 (spi_text_class_init):
687 initialize the get_default_attributes slot in the epv.
690 (AccessibleText_getDefaultAttributes): New prototype.
693 (AccessibleText_getDefaultAttributes): New method.
695 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
697 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
698 write beyond the end of the table. Fixes bug #120473.
700 2003-09-30 Christian Rose <menthos@menthos.com>
702 * configure.in: Added "eu" to ALL_LINGUAS.
704 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
706 * configure.in: ALL_LINGUAS: Added no.
708 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
710 * configure.in: Added lt to ALL_LINGUAS.
712 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
714 * atk-bridge/bridge.c:
715 (atk_bridge_init): Register event listeners always even for
716 out-of-process applet.
717 (spi_atk_bridge_toplevel_added): Remove call to
718 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
719 (spi_atk_bridge_toplevelk_removed): Remove call to
720 spi_atk_deregister_event_listenersa as the listeners are now always
722 (spi_atk_bridge_register_application): Remove call to
723 spi_atk_register_event_listeners as it is not done in atk_bridge_init
725 This fixes bug #120991.
727 * libspi/table.c (impl_getColumnDescription): Correct typo,
728 pointed out by Bolian.Yin@sun.com.
730 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
732 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
734 2003-09-08 Bill Haneman <billh@gnome.org>
736 * configure.in: Revved to 1.3.7.
738 This is the GNOME 2.4.0 release of at-spi.
740 * docs/reference/cspi/Makefile.am:
741 Removed spurious inclusion of 'index.sgml' in the
742 html directory; this was breaking make distcheck and
743 also some other build environments.
745 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
747 * registryd/registry.[ch}:
748 Add queue_handler_id and focus_object to SpiRegistry data structure.
749 (registry_flush_event_queue): If event being discarded is
750 "state-change:focused" store object as focus_object.
751 (registry_start_queue): Remove queue handler and focus object
753 (registry_discard_event): New function which discards a focus event
754 if we had stored focus object in the registry.
755 (registry_queue_event): Add new check that is_queueing is set as this
756 function is reentrant.
757 (registry_filer_event): Add call to registry_discard_event.
759 This resolves issues raised in bug #108664.
761 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
763 * configure.in: Added "bn" to ALL_LINGUAS.
765 2003-09-04 Bill Haneman <billh@gnome.org>
767 * cspi/spi_event.c: Documentation improvements for
768 (SPI_registerAccessibleKeylistener).
770 * docs/reference/tmpl/spi_registry.sgml:
771 Documentation improvements for SpiAccessibleKeylistenerCB.
773 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
775 * configure.in: Added "ro" to ALL_LINGUAS.
778 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
780 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
781 not decremented to zero. Fixes bug #120725.
783 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
785 * configure.in: Added "ja" to ALL_LINGUAS.
787 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
789 * configure.in: Added "is" to ALL_LINGUAS.
791 2003-08-22 Christian Rose <menthos@menthos.com>
793 * configure.in: Added "nl" to ALL_LINGUAS.
795 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
797 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
798 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
800 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
802 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
803 type for unspecified exception.
804 * cspi_streamablecontect): Add include of string.h for memcpy.
805 (stream_release): Correct call to bonobo_object_release_unref
806 (stream_cache_item_free): Correct call to bonobo_object_release_unref
807 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
808 argument of _cspi_expection_throw.
809 * libspi/hyperlink.c: Add include of libspi/action.h:
810 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
811 * libspi/streamablecontent.c: add include of libspi/component.h.
812 * regisrtyd/deviceeventcontroller.c:
813 (spi_dec_translate_mask): Removed unused variable priv.
814 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
815 * registryd/registry.c:
816 (registry_filter_event): Remove unused variable queue_is-empty.
817 (impl_registry_notify_event): Use correct modifier in fprintf call.
819 This fixes compiler warnings reported in bug #120220.
821 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
823 * registryd/registryd.c: Remove this file.
825 2003-08-17 Sanlig Badral <badral@openmn.org>
827 * configure.in: Added mn to ALL_LINGUAS.
829 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
831 * configure.in: Added et to ALL_LINGUAS.
833 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
835 * test/event-listener-test.c: Change active-descendant to
836 active-descendant-changed.
838 2003-08-10 Sami Pesonen <sampeson@iki.fi>
840 * configure.in: Added "fi" in ALL_LINGUAS.
842 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
844 * configure.in: Added "hi" in ALL_LINGUAS.
846 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
848 * configure.in: Revved to 1.3.6.
852 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
854 * registryd/deviceeventcontroller.c
855 (spi_device_event_controller_object_finalize): Fix typo in previous
858 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
860 * registryd/deviceeventcontroller.c
861 (spi_device_event_controller_object_finalize): Fix build on
862 systems without XEvIE.
864 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
866 * acconfig.h, configure.in, registryd/Makefile.am,
867 registryd/devicecontoller.[ch]: Add XEViE support.
869 2003-08-06 Wang Jian <lark@linux.net.cn>
871 * configure.in: Added "zh_CN" to ALL_LINGUAS.
873 2003-08-06 Metin Amiroff<metin@karegen.com>
875 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
877 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
879 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
880 MODIFIER_ALT in correct place.
882 This fixes part of bug #118114.
884 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
886 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
888 2003-07-28 Changwoo Ryu <cwryu@debian.org>
890 * configure.in: Added "ko" to ALL_LINGUAS.
892 2003-07-28 Ole Laursen <olau@hardworking.dk>
894 * configure.in: Added "da" to the commented out ALL_LINGUAS.
896 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
898 * configure.in: Added "sq" to ALL_LINGUAS.
900 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
902 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
904 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
906 * configure.in: updated ALL_LINGUAS list
908 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
910 * configure.in: Added Belarusian to ALL_LINGUAS.
912 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
914 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
916 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
917 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
919 This fixes bug #116949.
921 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
923 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
924 Correct CSPI to SPI in function documentation.
926 This fixes bug #118054.
928 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
930 * configure.in: Added Russian to ALL_LINGUAS.
932 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
934 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
936 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
938 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
940 2003-07-10 Joel Brich <joel.brich@laposte.net>
942 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
944 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
946 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
948 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
950 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
951 resources allocated for AccessibleEvent. See cspi_event().
953 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
954 static variable streams to NULL.
956 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
957 Update so that AcessibleEvent_ref will work.
959 This fixes bug #116624.
961 2003-07-06 Jordi Mallach <jordi@sindominio.net>
963 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
965 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
967 * configure.in: Added "fr" (French) to ALL_LINGUAS.
969 2003-07-02 Christian Neumair <chris@gnome-de.org>
971 * configure.in: Added "de" (German) to ALL_LINGUAS.
973 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
975 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
977 2003-07-01 Miloslav Trmac <mitr@volny.cz>
979 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
981 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
983 * configure.in: Added "pl" to ALL_LINGUAS.
985 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
987 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
989 2003-06-30 Bill Haneman <bill.haneman@sun.com>
992 (get_action_from_servant):
993 Removed assertion that action is implemented on an AtkObject.
995 * libspi/hyperlink.c:
997 Aggregate AccessibleAction interface on the hyperlink object if
998 the object implements AtkAction. (This convention is used in
1001 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1003 * configure.in: Revved to 1.3.5.
1005 * registryd/Accessibility_Registry.server.in.in:
1006 Marked up appropriate strings for translation.
1008 * atk-bridge/bridge.c: Marked a couple of
1009 user-visible warnings for translation. Questionable
1010 whether they are really useful, but possibly so.
1013 2003-06-28 Christian Rose <menthos@menthos.com>
1015 * configure.in: Added "sv" to ALL_LINGUAS.
1017 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1019 * registryd/registry.c:
1020 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1021 (registry_defer_on_event): Defer focus: events, this is an
1022 improvement to the patch for bug #108664.
1024 * TODO: Update with 2.4/"Dev Complete" items.
1026 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1028 * atk-bridge/bridge.c:
1029 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1030 looks up signals once.
1031 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1032 if doing registration.
1033 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1034 when doing registration.
1036 This fixes bug #115014.
1038 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1040 * atk-bridge/bridge.c:
1041 (atk_bridge_init): Add signal handler for children-changed:remove on
1042 root when in a BonoboComponent.
1043 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1044 for first toplevel only other incrememt variable toplevels.
1045 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1046 application and remove listeners.
1047 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1049 (spi_atk_deregister_event_listeners): New function which removes
1051 (reinit_register_vars): New fuction which reinitializes variables.
1053 This fixes bug #111578.
1055 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1057 * configure.in: version 1.3.4.
1059 * cspi/spi_accessible.c:
1060 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1063 2003-06-13 Michael Meeks <michael@ximian.com>
1065 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1067 * cspi/spi_main.c (cspi_peek_ev): impl.
1069 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1071 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1073 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1075 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1076 SPI_ROLE_AUTOCOMPLETE
1078 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1080 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1081 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1083 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1085 * libspi/streamablecontent.h:
1086 * libspi/streamablecontent.c:
1087 New files, provide implementation/wrappers for
1088 Accessibility_StreamableContent.
1090 * cspi/spi_streamablecontent.c:
1091 Connected the C wrappers to the libspi C bindings.
1092 (AccessibleStreamableContent_close): New method.
1095 (AccessibleStreamableContent_close): New method, needed
1096 since we have an "open, [seek], read, close" model in cspi.
1098 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1100 Fix for #108664; Padraig's revision of my original patch.
1102 * registryd/registry.h:
1103 Added event queue list, is_queuing, and exit_notify_timeout
1104 to the registry struct.
1106 * registryd/registry.c:
1107 (registry_init): Initialize new struct from registry.h.
1108 (impl_registry_notify_event):
1109 Filter events before notifying, in case some need to be
1111 (registry_filter_event): New,
1112 we defer certain incoming events (for instance
1113 window:deactivate) because we may wish to hide
1114 or reject them based on pending events. This is
1115 mostly a workaround for bug #108664.
1116 (registry_queue_event, registry_start_queue): New.
1117 (registry_defer_on_event): Test event to see if it
1119 (registry_reset_on_event): Returns TRUE if the
1120 event should cause a queue reset.
1121 (registry_discard_on_event): Returns TRUE if the event
1122 should cause the previous queue contents to be discarded.
1123 (registry_timeout_flush_queue): Flushes the pending event
1124 queue if no reset/discard-triggering events have come in
1125 within the timeout period.
1126 (registry_emit_event): New.
1127 (registry_clone_notify_context): New, used when queueing the
1128 event notify contexts.
1130 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1132 * configure.in: Version revved to 1.3.2, lt 0.9.2
1133 Incremented ATK required version to 1.3.4.
1135 * cspi/spi_registry.c:
1136 (SPI_generateKeyEvent):
1137 We now pass the keystring along if it's non-null.
1139 * registryd/deviceeventcontroller.c:
1140 (keysym_mod_mask): New method, returns modifier mask
1141 required to generate a keysym from a given keycode.
1142 (dec_synth_keysym): New method.
1143 (dec_synth_keystring): New method.
1144 (dec_get_modifier_state): New method.
1145 (dec_lock_modifiers): New
1146 (dec_unlock_modifiers): New.
1147 (dec_keysym_for_unichar): New, rather brute-force
1148 conversion from UCS-4 to X KeySyms. Only works for
1149 Latin at the moment, with partial implementations for
1150 Greek, Hebrew, and (incomplete) Katakana.
1151 (impl_generate_keyboard_event): Now implement
1152 "KEYSTRING" synthesis and implement "KEYSYM"
1154 (keycode_from_keysym): Improved, passes a returned
1155 modmask value now if the corresponding param is non-NULL.
1157 Fixes bugs #92143 and #109776.
1160 * test/keysynth-test.c:
1161 New test program for key synthesis, to confirm fixes for
1165 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1167 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1169 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1170 Add line for RELATION_POPUP_FOR
1172 * docs/reference/cspi/tmpl/spi_relation.sgml:
1173 Add relation SPI_RELATION_POPUP_FOR
1175 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1176 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1178 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1180 * libspi/relation.c (spi_init_relation_type_table):
1181 Add line for RELATION_POPUP_FOR
1183 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1185 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1186 there are still windows which have not been deleted and emit
1187 window:deactivate, if necessary and window:destroy events.
1188 This fixes bug #114370. The change on June 5th was not correct.
1190 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1192 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1195 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1197 New methods for client exception handling and interception.
1198 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1199 (SPI_exceptionHandlerPop): You guessed it...
1200 (SPI_getSourceType): Return the type of object which offended.
1201 (SPI_getExceptionCode): Return an enum code telling, possibly,
1202 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1203 (SPIAccessibleException_getSource): get the source object for
1204 exceptions that come from Accessibles, if SPIExceptionSourceType is
1205 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1206 (SPIException_getDescription): New, returns a string description of
1207 the problem. [Not yet a stable ABI, strings are not frozen]
1209 * cspi/spi-private.h:
1210 Added implementation details of opaque SPIException
1214 Implementations of above. Also
1215 (_cspi_exception_throw): new private method that
1216 dispatches exceptions to handlers, called from cspi-bonobo.c
1218 * cspi/bonobo/cspi-bonobo.c:
1219 (cspi_check_ev): call _cspi_exception_throw.
1220 Don't print a warning message if the exception has been
1221 handled by _cspi_exception_throw.
1223 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1225 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1226 there are still windows which have not been deleted and emit
1227 window:deactivate, if necessary and window:destroy events.
1228 This fixes bug #114370.
1230 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1233 (cspi_accessible_is_a): Make non-fatal
1234 if the object reference is dead.
1236 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1238 * cspi/spi_main.c: #include <stdio.h>
1239 * test/simple-at.c: ditto
1240 * test/event-listener-test.c: ditto
1241 * test/screen-review-test.c: ditto
1243 2003-05-30 Michael Meeks <michael@ximian.com>
1245 * test/test-simple.c (main): use CORBA_ORB_perform_work
1246 instead of an unnecessary linc_ call.
1248 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1250 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1251 Add SPI_STATE_INDETERMINATE.
1253 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1256 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1258 * libspi/stateset.c (init_state_type_tables): Add support for
1261 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1263 * configure: Update versions of atk and gail required.
1264 This fixes bug #113268.
1266 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1268 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1270 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1272 * libspi/Makefile.am:
1273 Ensure headers are generated before being used by c sources.
1275 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1278 Simplified lt versioning rules.
1279 Incremented version to 1.3.0, to indicate that we're on the
1280 unstable branch now.
1282 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1284 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1285 Add MKDB_OPTIONS=--outtput-format=xml
1287 * docs/reference/cspi/at-spi-cspi-docs.sgml
1288 docs/reference/idl/at-spi-idl-docs.sgml:
1289 Convert to Docbook XML.
1291 This fixes bug #111793.
1293 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1295 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1296 AcccessibleKeyEventType, AccessibleKeyMaskType.
1298 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1300 * cspi/state-types.h: Add documentation for AccessibleState.
1302 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1303 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1304 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1305 AccessibleComponentLayer.
1307 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1310 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1312 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1313 Accessible. Add description of AccessibleEvent,
1314 AccessibleEventListenerCB.
1316 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1319 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1320 documentation. Add description of AccessibleKeystrokeListenerCB,
1321 AccessibleKeyEventMask, AccessibleModifierMaskType,
1322 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1323 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1325 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1328 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1331 This fixes bug #104730.
1333 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1335 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1336 Set is_text field of Accessibility_DeviceEvent data structure.
1338 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1339 is-text field of AccessibleDeviceEvent data structure.
1341 This addresses part of bug #108666.
1343 * registryd/devcieeventcontroller.c: Unset debug option.
1345 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1347 * cspi/accessible.c:
1348 (cpi_initial_relation_type_table): New function which initializes
1349 mapping between Accessibility_RelationType and AccessibleRelationType.
1350 (cspi_relation_type_from_spi_relation_type): New function which
1351 translates an Accessibility_RelationType into an AccessibleRelationType.
1352 (AccessibleRelation_getRelationType): Use
1353 cpi_relation_type_get_spi_relation_type to return correct value.
1354 (spi_state_to_corba): Return correct type for default case.
1356 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1357 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1359 * cspi/cspi-bonobo-listener.c:
1360 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1363 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1364 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1365 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1366 libspi/image.c, libspi/listener.c, libspi/selection.c,
1367 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1368 registryd/desktop.c, registryd/registry.c:
1369 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1371 * libspi/eventlistener.c
1372 Remove semicolon after BONOBO_TYPE_FUNC.
1374 * libspi/relation.c:
1375 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1376 (spi_init_relation_type_table): Initialize using correct type.
1378 * registryd/desktop.c:
1379 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1380 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1381 of Accessibility_KeyEventType.
1383 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1386 * tests/simple-at.c, tests/screen-review-test.c:
1387 Add include for <strings.h>.
1389 * tests.stress-test.c:
1390 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1392 These changes fix compiler warnings when using FORTE compiler on
1393 Solaris; fixes bug #107479.
1396 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1399 * configure.in: revved to 1.1.10
1401 * libspi/keymasks.h:
1402 (SPI_KEYMASK_NUMLOCK): Added.
1404 * registryd/deviceeventcontroller.c:
1405 (spi_key_event_matches_listener): AND with a smaller
1406 bitmask (as we should).
1407 (spi_dec_translate_mask):
1408 New method, sets the virtual NumLock modifier bit
1409 if numlock is on. Eventually it can handle other virtual
1410 modifier bits if needed, or other marshalling from
1411 at-spi modifier masks to platform (X) masks.
1412 (spi_dec_key_listener_new):
1413 Call spi_dec_translate_mask to set up virtual mod bits
1414 in the 'mask' field when creating a new listener struct.
1415 (spi_dec_emit_modifier_event):
1416 Set the virtual (i.e. NumLock) bits before emitting event.
1417 (spi_controller_register_with_devices):
1418 Query for the NumLock modifier 'physical' bit if Xkb is
1419 present, for use in above methods.
1423 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1425 * registryd/deviceeventcontroller.c:
1426 (spi_keystroke_from_x_key_event):
1427 Instead of checking to see if the keysym is
1428 printable, check the string from XLookupString
1429 if available, get the first unicode character from it,
1430 and call g_unichar_isprint to determine whether the
1431 is_text flag should be TRUE or FALSE.
1435 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1437 * atk-bridge/bridge.c: Add support for extended events
1438 * cspi/spi_event.c: Add documentation and implementation for
1440 * tests/event-listener-test.c: Add tests for extended events.
1442 This fixes bugs #100424 and #100426.
1444 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1446 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1447 of LT_CURRENT. This fixes bug #89350.
1449 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1451 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1452 number of signal parameter values before accessing them. This fixes
1455 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1457 * configure.in: Fixed duplicate inclusion of -lspi.
1458 * branched for gnome-2-2/HEAD.
1459 [created tag "gnome-2-2"]
1461 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1463 * configure.in: 1.1.9 release.
1466 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1468 [needed by GOK, to fix bugs 107985 and 107988]
1469 * registryd/deviceeventcontroller.c:
1470 (spi_dec_clear_unlatch_pending):
1471 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1472 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1473 (spi_dec_init_mouse_listener):Emit warning if mouse button
1475 (spi_device_event_controller_forward_mouse_event):
1476 Removed unnecessary parens from a conditional.
1477 (global_filter_fn):Added TODO comment.
1478 (impl_generate_keyboard_event):
1479 Cancel a pending relatch if a 'delatching' key was
1482 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1484 * atk-bridge/bridge.c:
1485 Change atk_signal_child_changed to atk_signal_children_changed.
1486 Reorganize code in spi_atk_bridge_signal_listener().
1488 * test/event-listener-test.c:
1489 Add children_changed_listener and report_children_changed_event()
1490 to test AccessibleChildEvent_getChildAccessible.
1492 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1494 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1495 g_strdup to CORBA_String_dup (bug #105291)
1497 * test/event-listener-test.c (report_text_event): Add call to
1500 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1502 * registryd/deviceeventcontroller.c:
1503 (spi_keystroke_from_x_key_event):
1504 Fix string and keysym return codes to match modifier state.
1507 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1509 * registryd/deviceeventcontroller.c:
1510 (spi_keystroke_from_x_key_event):
1511 Fix segv due to improper use of isprint(c). [bug #107254]
1513 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1516 (get_accessible_text_boundary_type):
1517 Move default return value to (new) default case in switch.
1518 (get_accessible_text_clip_type):
1519 Move default return value to (new) default case in switch.
1521 * libspi/application.c:
1522 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1523 Remove unused methods.
1524 (impl_accessibility_application_register_object_event_listener):
1525 Remove unused methods.
1528 Added #include of <math.h>.
1530 * registryd/deviceeventcontroller.c:
1531 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1532 we don't currently use this method.
1533 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1535 (impl_generate_key_event):
1536 Remove unused variables.
1537 (impl_generate_mouse_event):
1538 Initialize button to zero, just in case we get an invalid
1539 input. Added support for mouse buttons 4 and 5.
1540 (spi_device_event_controller_new):
1541 Removed unused variable declaration for 'private'.
1543 Added #include of <gdk/gdk.h>
1545 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1547 * configure.in: Update to work when X is not installed in expected
1548 location. Fixes bug #105836.
1550 * atk-bridge/bridge.c
1551 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1553 (spi_atk_register_event_listener): Add signal listener for
1555 (spi_atk_bridge_signal_listener): Event event when link-selected
1556 signal is emitted. (bug #104622)
1558 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1559 on returned string. (bug #105291)
1561 * test/event-listener-test.c: Add test for link-selected.
1563 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1565 * atk-bridge/Makefile.am: Correct typo in previous commit.
1567 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1569 * atk-bridge/Makefile.am: Allow for build directory to be different
1570 from source directory
1572 * registryd/Makefile.am: Allow for build directory to be different
1573 from source directory
1577 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1580 Fixed dependencies for libcspi so that libspi gets pulled in
1581 properly. Fixes 104741.
1585 Clean up inline docs a little.
1587 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1589 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1590 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1591 the AtkObject within an SpiDesktop.
1592 This addresses bug #101524.
1594 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1595 Remove call to gdk_init().
1597 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1598 so that Display is set when SpiDesktop is created.
1600 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1602 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1603 This fixes bug #102830.
1605 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1607 * test/test-simple.c: Update to take account of fact that GailButton
1608 now implements AtkText.
1609 (create_text_window): Set name on AtkObject for GtkEntry.
1610 (validate_accessible): Check accessible name before calling test_text().
1612 * libspi/Makefile.am: Fix problem with building outside of source
1613 directory. Bug #98120.
1615 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1616 typo in documentation comments. Bug #94275.
1618 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1620 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1622 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1625 Add includes to avoid compiler warnings on Solaris.
1626 (impl_getRangeExtents): Bug fix.
1628 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1630 Fix for 100944, [API addition approved by Gman and murrayc].
1637 * idl/Accessibility_Text.idl:
1638 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1639 (Text::getRangeExtents): New method for efficient
1640 bounds query of a text range.
1641 (Text::getBoundedRanges): New method for efficient
1642 clipping of text to bounding boxes.
1643 (unImplemented7, unImplemented8):
1644 Removed these padding methods to preserve bincompat.
1647 (impl_getRangeExtents): implementation of new IDL.
1648 (impl_getBoundedRanges): implementation of new IDL.
1649 (SpiTextRect): Internal use struct.
1650 (_spi_text_rect_union): internal method, calculates union of two
1651 SpiTextRect bounding rects.
1652 (_spi_text_range_seq_from_gslist): internal method, allows us
1653 to build our sequence efficiently as a gslist then convert it
1655 (_spi_bounds_contain): internal method, determines whether
1656 a text character is "in" or "out" of a clip rect according to
1657 values of TEXT_CLIP_TYPE.
1658 (spi_text_class_init): Initialize the new methods in the epv.
1661 (AccessibleTextClipType): New enum used by screen review api.
1662 (AccessibleTextRange): New struct used by screen review api.
1663 (AccessibleText_getRangeExtents):
1664 cspi binding for Accessibility_Text_getRangeExtents.
1665 (AccessibleText_getBoundedRanges):
1666 cspi binding for Accessibility_Text_getBoundedRanges.
1667 (AccessibleTextRange_freeRanges): convenience method.
1670 (AccessibleText_getRangeExtents):
1671 cspi binding for Accessibility_Text_getRangeExtents.
1672 (AccessibleText_getBoundedRanges):
1673 cspi binding for Accessibility_Text_getBoundedRanges.
1674 (AccessibleTextRange_freeRanges): convenience method.
1675 (get_accessible_text_clip_type): internal conversion method.
1676 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1678 * registryd/deviceeventcontroller.c:
1679 (spi_dec_mouse_check):
1680 Improved behavior for mouse:abs events
1681 [same granularity as mouse:rel events, and no
1682 events when mouse is idle].
1684 2002-12-16 Michael Meeks <michael@ximian.com>
1686 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1688 * libspi/stateset.c (state_spi_to_atk): split out
1689 ( fix several remote array bounds nasties )
1690 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1691 (impl_remove): make safe from array bounds issues.
1692 (spi_atk_state_from_spi_state): impl.
1694 * libspi/stateset.h (spi_state_set_cache_is_empty):
1695 add a set of wrapper defines to get layering right.
1697 * cspi/spi_accessible.c: update state set stuff to
1700 2002-12-14 Michael Meeks <michael@ximian.com>
1702 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1703 to avoid 2 roundtrips to the registry per key event
1704 (spi_atk_bridge_key_listener): upd.
1705 (deregister_application): release the dec.
1707 * registryd/registry.c (notify_listeners_cb):
1708 bin lots of re-enterant complexity - we no longer
1709 do a round-trip bonobo ref here, ensure that a single
1710 listener's exception failure won't poison all other
1712 (impl_registry_notify_event): bin obvious memory leak.
1714 2002-12-13 Michael Meeks <michael@ximian.com>
1716 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1717 init the ev so the error is meaningful.
1718 (spi_atk_bridge_key_listener): ditto.
1720 * cspi/spi_main.c (cspi_ev): init the ev so we start
1721 with a clean slate, otherwise the first exception
1722 kills us completely.
1724 * cspi/spi_text.c (get_accessible_text_boundary_type):
1725 add a fallthrough for no warnings.
1727 * cspi/spi_registry.c: prune unused warnings.
1729 * cspi/spi_main.c (cspi_object_take): fix
1730 mind-blowing brokenness ( by watching the compile
1733 * cspi/spi_accessible.c (Accessible_getStateSet):
1734 re-impl. to use an AtkStateSet.
1735 (spi_state_type_from_accessible_state),
1736 (init_state_table): bin these.
1738 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1740 (atk_state_set_from_accessibility_state_set): here.
1742 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1743 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1744 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1745 (AccessibleStateSet_add, AccessibleStateSet_remove),
1746 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1747 (AccessibleStateSet_isEmpty): re-write to use a local
1750 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1752 * configure.in: Revved to 1.1.7 (new keymask vals).
1754 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1756 * libspi/keymasks.h:
1757 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1759 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1762 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1763 to compare two CORBA_TypeCodes.
1764 (cspi_internal_event_add): Silence warning from FORTE compiler.
1766 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1767 avoid implicit declaration of functions.
1769 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1771 * atk-bridge/bridge.c:
1772 (spi_atk_bridge_init_event_type_consts): Store signal id for
1773 active-descendant-changed signal.
1774 (spi_atk_register_event_listeners): Add signal listener for
1775 active-descendant-changed signal,
1776 (spi_atk_bridge_signal_listener): Move code in function
1777 spi_atk-signal_emit_event() into this function.
1778 Add support for active-descendant-changed
1779 Update support for child-changed signal.
1780 (spi_bridge_window_event_listener): Silence warning.
1782 * libspi/spi_private.[ch]:
1783 (spi_init_any_object): Change second parameter from CORBA_Object to
1785 Omit call to CORBA_Object_duplicate().
1786 Set CORBA_any's _value to CORBA_Object*.
1788 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1794 (AccessibleEvent_ref, AccessibleEvent_unref):
1795 New methods, for persisting an event outside the emission context.
1796 Must be used if the new accessor methods are to be called
1797 outside of the event listener's callback.
1799 * cspi/bonobo/cspi-bonobo.c:
1800 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1801 as second parameter instead of NULL, so we can call
1802 cspi_check_ev afterwards.
1805 (cspi_object_take): New internal method,
1806 converts a CORBA_Object reference to a hard ref on
1807 an Accessible if possible, returning NULL if the object
1808 reference is invalid or an Accessible * otherwise.
1811 (AccessibleEvent_ref):
1812 Increment the event's internal private refcount, and
1813 add the event's internal struct to an internal cache
1814 if it's not already there.
1815 (AccessibleEvent_unref):
1816 Decrement the event's refcount and remove it from
1817 the cspi event cache if refcount==0.
1818 (cspi_event_compare): New private method.
1819 Compares two event structs via their ids. Used
1821 (cspi_internal_event_lookup): New private method.
1822 (cspi_internal_event_check): New private method,
1823 a 0-order sanity check for events to make sure their
1824 private data is intact.
1825 (cspi_internal_event_add, cspi_internal_event_remove):
1826 New private methods for managiing the event cache.
1828 * cspi/bonobo/cspi-bonobo-listener.c:
1830 Initialize the new private data elements (id, magic, ref_count).
1832 * atk-bridge/bridge.c:
1833 (spi_atk_bridge_signal_listener):
1834 Fixed bug #100530, passing wrong params to emission func.
1836 * registryd/deviceeventcontroller.c:
1837 (spi_dec_button_update_and_emit):
1838 Fixed type in mask bit operations; fix for #99799.
1840 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1842 Removed some of the more dangerous workarounds from
1843 previous commit; they are only needed by GOK, which
1844 in reality should be using another method to accomplish
1845 the goals. So on reconsideration some of the workarounds
1846 need to be reverted:
1848 * registryd/deviceeventcontroller.c:
1849 (spi_keycodes_contain, spi_dec_init_keycode_list):
1850 Removed these methods, used only by a nasty hack to try
1851 and detect whether a key synthesis should be allowed
1852 to reset the XKB latch state or not. This code was only
1853 required to work around an interaction between GOK,
1854 button events, and XKB.
1855 (impl_generate_key_event):
1856 Removed hack at end of key generation that tried to
1857 "do the right thing" if XKB latch keys were generated
1858 in the midst of button press/release pairs.
1861 Added a check for HAVE_XINPUT. Not normally used yet.
1863 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1865 Workarounds and fixes for mouse event/XKB interaction.
1867 * registryd/deviceeventcontroller.c:
1868 (spi_keycodes_contain, spi_dec_init_keycode_list):
1869 New internal methods.
1870 (spi_dec_set_unlatch_pending):
1871 Split the method that tells XKB to expect an
1872 unlatch (and revert it) out of the rest of the
1873 event handling code. This method is called by the
1874 two mouse event handlers (the poll and the filter).
1875 (spi_dec_update_and_emit, spi_dec_mouse_check):
1876 New methods split from spi_dec_poll_mouse_moved.
1877 The second one is now called from inside the filterFn
1878 when an XKB delatch event is received, to determine
1879 whether to revert the delatch or not.
1880 (spi_poll_mouse_moved): Refactor; also we can now
1881 properly handle the case where multiple button states
1882 have changed between polling cycles and we didn't get
1883 notified due to another client's grab.
1885 Synchronize the server while handling an XKB notification.
1886 Ugly, but apparently necessary to avoid nasty races.
1887 Check the mouse state on receipt of an XKB latch change,
1888 to decide whether to revert the latch or not. (Latches are
1889 reverted if there is an immediately preceding mouse button
1890 event that a client has consumed, in which case we don't want
1891 the user to see the side-effect of the event).
1892 (spi_device_event_controller_forward_mouse_event):
1893 Check for modifier events and fire before resetting mouse_mask_state,
1894 prevents losing modifier events.
1896 (impl_generate_keyboard_event):
1897 If we've just generated a keyboard event for a non-shift key,
1898 we don't want to revert the pending XKB latch.
1899 Otherwise, check the modifier state (via a call to
1900 spi_dev_mouse_check) and set the relatch mask to
1901 that state before returning.
1903 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1906 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1909 * atk-bridge/bridge.c:
1910 (spi_atk_register_event_listeners):
1911 Don't re-register for ATK events if the registry has died
1912 and the app needs to re-register; the ATK listeners are in
1913 process and doing so will cause duplicate emission.
1915 * registryd/deviceeventcontroller.c:
1916 (spi_poll_mouse_moved):
1917 Reformat the source, detect and emit multiple button-change
1918 events (i.e. if multiple buttons have changed between poll
1920 Add code to detect mouse-down events even when the pointer
1921 is grabbed; workaround for GOK bug 98420.
1922 (spi_controller_register_with_devices):
1923 Call XTestGrabControl with 'impervious' flag set to True,
1924 allows us to synthesize events and query the pointer even during
1925 an active grab by another client.
1926 (spi_device_event_controller_forward_mouse_event):
1927 Set the mouse_mask_state to the mouse_button_state from
1928 the intercepted event, to synchronize the grab listener with
1931 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1933 * cspi/spi_accessible.c:
1934 (AccessibleRole_getName):
1935 Added necessary strings for making this (deprecated)
1936 method work with the new role types.
1937 (init_role_table, role_table):
1938 Added definition of SPI_ROLE_APPLICATION.
1940 * libspi/spi-roletypes.h:
1941 Added SPI_ROLE_APPLICATION.
1943 * idl/Accessibility_Role.idl:
1944 Added ROLE_APPLICATION.
1946 * docs/reference/cspi/at-spi-cspi-decl.txt:
1947 Added SPI_ROLE_APPLICATION to docs.
1949 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1951 * cspi/spi_accessible.c
1952 (cspi_init_role_table): Do not write beyond end of role_table.
1953 (Accessible_getRole): Use correct type for value returned by
1954 Accessibility_Accessible_getRole().
1956 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1957 beyond end of role_table. (This fixes bug #98269)
1959 * libspi/application.c: Add include file spi-private.h for
1960 definition of spi_init_any_nil.
1962 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1966 * libspi/spi-private.h:
1967 Added DGB() macro, and extern int _dbg declaration.
1969 * registryd/registry.c:
1970 (definitions) storage for _dbg.
1971 (spi_registry_init):
1972 Get environment variable "AT_SPI_DEBUG".
1973 (spi_registry_set_debug):
1974 New method, to initialize _dbg value.
1975 (spi_listener_struct_new, spi_registry_object_finalize):
1976 (notify_listeners_cb):
1977 Changed fprintfs to use DBG and g_warning().
1979 * registryd/deviceeventcontroller.c:
1980 (_deregister_keygrab, spi_controller_register_device_listener):
1981 Changed debug/warning messages to use DBG macro.
1983 * libspi/listener.c:
1984 (impl_notify_event):
1985 Changed warning messages to use DBG macro and g_warning().
1987 * atk-bridge/bridge.c:
1988 (atk_bridge_init, spi_atk_bridge_get_registry):
1989 (spi_atk_bridge_exit_func):
1990 (spi_atk_bridge_property_event_listener):
1991 Changed status, warning, and error messages to use
1992 g_warning, g_message, and DBG macros.
1995 Read the state of the AT_SPI_DEBUG environment variable
1996 and set a local '_dbg' accordingly.
1998 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2000 FIXES for 98836, 98842, other bugs.
2003 Revved to 1.1.4, interface-age=4, binary-age=4.
2005 * registryd/deviceeventcontroller.c:
2007 Fixed crasher bug in last_mouse_pos initialization.
2009 * registryd/registry.c:
2010 (desktop_add_application, desktop_remove_application):
2011 Added (and then commented out) some support for
2012 object context marshalling. [TODO]
2014 * atk-bridge/bridge.c:
2015 (spi_atk_bridge_event_context_create):
2016 Commented out object context creation until it can
2017 be properly tested and debugged.
2019 * registryd/registry.c:
2020 (impl_registry_notify_event):
2021 Fixed crasher bug, we were calling
2022 spi_re_entrant_list_foreach () with an empty list.
2024 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2026 * idl/Accessibility_Action.idl:
2027 * idl/Accessibility_Component.idl:
2028 * idl/Accessibility_Desktop.idl:
2029 * idl/Accessibility_Event.idl:
2030 * idl/Accessibility_Hyperlink.idl:
2031 * idl/Accessibility_Image.idl:
2032 * idl/Accessibility_Relation.idl:
2033 * idl/Accessibility_Selection.idl:
2034 * idl/Accessibility_State.idl:
2035 * idl/Accessibility_Value.idl:
2036 Updated unimplemented slot count to minimum of
2037 four for all interfaces, for ABI freeze.
2039 * idl/Accessibility_EditableText.idl:
2040 * idl/Accessibility_Text.idl:
2041 Updated unimplemented slot count to six
2044 * idl/Accessibility_Registry.idl:
2045 Updated unimplemented slot count to six
2046 (also for DeviceEventController),
2049 * idl/Accessibility_Table.idl:
2050 Updated unimplemented slot count to eight,
2053 * idl/Accessibility_Event.idl:
2054 Added CORBA_any "any_data" member to Event struct.
2056 * idl/Accessibility_Event.idl:
2057 Added CORBA_any "any_data" member to Event struct.
2059 * atk-bridge/bridge.c:
2061 atk_signal_text_changed, atk_signal_child_changed,
2062 signal ids queried from gtype system.
2063 (AtkBridgeEventContextType): New enum.
2064 (AtkBridgeEventContextData): New struct.
2065 (AtkBridgeEventContext): New struct.
2066 (atk_bridge_init_event_type_consts):
2067 New method, initializes type contants for comparison
2068 prior to emit_eventv.
2069 (atk_bridge_event_context_init): New method,
2070 initializes a CORBA_any from an AtkBridgeEventContext.
2071 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2072 initialize the event.any_data struct.
2073 (spi_atk_bridge_event_context_create): New method,
2074 creates an AtkBridgeEventContext from signal/event info.
2075 (spi_atk_bridge_event_context_free): New method.
2076 (spi_atk_emit_eventv): Changed to take an
2077 AtkBridgeEventContext parameter. We now initialize
2078 the event.any_data member prior to notifying the
2079 Registry, via the AtkBridgeEventContext.
2080 (spi_atk_bridge_property_event_listener):
2081 (spi_atk_bridge_state_event_listener):
2082 Match emit_eventv signature.
2083 (spi_atk_bridge_object_event_listener):
2084 Match emit_eventv signature, and create an
2085 event context from the event details.
2086 Free the event context afterwards.
2087 (spi_atk_bridge_window_event_listener):
2088 Create an event context, pass it to the
2092 (AccessibleEvent_getContextString):
2093 (AccessibleEvent_getContextObject):
2094 New methods, allow query of AccessibleEvent objects
2095 for more context details (via the "any_data" member
2096 of the Event struct, above).
2099 Definitions for AccessibleEvent_getContextString
2100 and AccessibleEvent_getContextObject.
2102 * cspi/spi_listener.h:
2103 (InternalEvent): New struct.
2106 (AccessibleEvent_getContextString):
2107 (AccessibleEvent_getContextObject):
2108 Implementations of new methods, for obtaining
2109 additional context information from some event types.
2111 * cspi/spi_registry.c:
2112 (SPI_registerGlobalEventListener):
2113 Added mention of active-descendant-changed event in docs.
2115 * cspi/cspi-bonobo-listener.c:
2117 Marshal the any into the AccessibleEvent via
2120 * libspi/spi-private.h:
2121 #include <orbit/orbit.h>
2123 (spi_init_any_string):
2124 (spi_init_any_object):
2125 New convenience function declarations.
2129 (spi_init_any_string):
2130 (spi_init_any_object):
2131 New convenience function implementations.
2133 * registryd/deviceeventcontroller.c:
2134 (spi_poll_dec_mouse_moved):
2135 (spi_device_event_controller_forward_mous_event):
2136 Initialize any_data member of event.
2137 (spi_deregister_controller_device_listener):
2138 Fix incorrect param pass which was preventing deregistration.
2140 * registryd/registry.c:
2141 (desktop_add_application):
2142 (desktop_remove_application):
2143 Add object data to event's any_data before dispatch.
2145 Fix for error messages from GAIL.
2147 * test/event-listener-test.c:
2148 Test new ContextString and "any_data" API:
2149 (report_text_event): New method query and output context string.
2150 (main): register a new text listener with report_text_event
2153 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2155 Fixes for bugs 98127 and 97914.
2156 * cspi/spi-roletypes.h:
2157 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2159 * cspi/spi-statetypes.h:
2160 Added SPI_STATE_MANAGES_DESCENDANTS
2162 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2163 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2164 * cspi/spi_accessible.c:
2165 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2166 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2167 Accessibility_STATE_MANAGES_DESCENDANTS
2168 * libspi/accessible.c:
2169 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2170 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2171 As requested by Bill, I also cleaned up the alignment.
2172 * libspi/relation.c:
2173 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2174 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2175 * libspi/stateset.c:
2176 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2177 Accessibility_STATE_MANAGES_DESCENDANTS
2178 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2179 Document changes reflecting modifications to roles.
2180 * docs/reference/cspi/tmpl/spi_relation.sgml:
2181 Document changes reflecting modifications to relations.
2182 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2183 Document changes reflecting modifications to states.
2185 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2188 Revved to 1.1.3, interface-age=3, binary-age=3.
2189 Added REBUILD macro.
2192 Removed accessx-gui from the tests, since we have a nice
2193 keyboard accessibility capplet now :-)
2195 * test/keysynth-demo.c:
2196 (increment_scan): removed do-nothing default: case,
2199 * test/visual-bell.c:
2200 (main) : removed do-nothing default: case,
2203 * cspi/spi_action.c:
2204 (AccessibleAction_getKeyBinding_):
2205 Documented keybinding string format.
2209 (AccessibleText_getAttributes):
2210 Documented the text attribute string format.
2211 It's changed to use semicolon delimiters also,
2212 to prevent clashes with CSS attributes, but the old
2213 trick of looking for ", " strings will still work
2214 (as unreliably as ever). Fix for bug related to 97916.
2217 Include <cspi/bonobo/cspi-bonobo-listener.h>
2218 Fixes build warning.
2219 (SPI_freeAccessibleKeySet):
2220 (AccessibleKeystrokeListener_addCallback):
2221 (AccessibleKeystrokeListener_removeCallback):
2222 Modify to use AccessibleDeviceListener API internally,
2223 instead of AccessibleKeystrokeListener.
2225 * idl/Accessibility_Event.idl:
2226 Added two more empty slots to EventListener (for a total of four).
2228 * idl/Accessibility_Accessible.idl:
2229 Added four empty slots to Accessible interface.
2231 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2233 * idl/Accessibility_Registry.idl:
2234 (KeyEventType, EventType):
2235 Marked KeyEventType as deprecated; it duplicates
2236 functionality of EventType, which has been extended to
2237 include Mouse-button events.
2238 (KeyEventTypeSeq): defined in terms of EventType.
2239 (registerDeviceEventListener, deregisterDeviceEventListener):
2240 New methods, for managing listeners to device events,
2241 which potentially may consume them.
2244 Added definition for AccessibleDeviceListener.
2246 * cspi/spi-listener.h:
2247 (enum AccessibleDeviceEventType):
2248 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2249 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2250 for backwards compat.
2251 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2252 and typedef'd AccessibleKeystroke to it for back-compat.
2253 (AccessibleDeviceListenerCB):
2254 New function prototype typedef.
2257 (AccessibleDeviceEventMask): New typedef.
2258 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2259 (AccessibleKeyMaskType):
2260 Set equivalent to AccessibleModifierMaskType for back-compat.
2261 (SPI_createAccessibleKeystrokeListener):
2262 (AccessibleKeystrokeListener_unref):
2263 Deprecated in favor of equivalent (better-named) new API below..
2264 keystroke listeners are like all device listeners.
2265 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2266 New API names for old features :-).
2267 (AccessibleDeviceListener_addCallback):
2268 (AccessibleDeviceListener_removeCallback):
2269 (SPI_registerDeviceEventListener):
2270 (SPI_deregisterDeviceEventListener):
2274 (SPI_createAccessibleKeystrokeListener):
2275 Use new preferred API, cspi_device_listener_new() and
2276 cspi_device_listener_add_cb().
2277 (AccessibleKeystrokeListener_removeCallback):
2278 Use new preferred API, cspi_device_listener_remove_cb().
2279 (AccessibleKeystrokeListener_unref):
2280 Use new preferred API, cspi_device_listener_unref().
2281 (SPI_createAccessibleDeviceListener):
2282 (AccessibleDeviceListener_addCallback):
2283 (AccessibleDeviceListener_removeCallback):
2284 Implementation of new API.
2286 * cspi/spi_registry.c:
2287 (SPI_registerDeviceEventListener):
2288 (SPI_deregisterDeviceEventListener):
2289 Implementation of new API. Fixed memory leak and removed need to
2290 allocate EventTypeSeq (thanks Michael for catching this).
2291 Squashed a wayward CORBA_exception_free that shouldn't get called.
2293 * cspi/bonobo/cspi-bonobo-listener.c:
2295 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2296 (cspi_key_event): renamed to cspi_device_event().
2297 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2298 Extended to handle mouse button events as well as key events.
2299 (CSpiKeystrokeListener):
2300 Class superceded by CSpiDeviceListener.
2301 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2302 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2304 * cspi/bonobo/cspi-bonobo-listener.h:
2305 (CSpiKeystrokeListener):
2306 Class superceded by CSpiDeviceListener.
2307 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2308 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2310 * libspi/Makefile.am:
2311 Replaced keystrokelistener.h and keystrokelistener.c
2312 with devicelistener.h and devicelistener.c; keystrokelisener.h
2313 stub retained for back-compat.
2315 * libspi/keystrokelistener.c:
2319 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2321 * registryd/deviceeventcontroller.c:
2322 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2323 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2324 (DEControllerPrivateData): Added xkb settings data.
2325 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2326 button release events (which can't be captured via XGrabButton).
2327 Don't dispatch via the 'normal' event mechanism if the device event was
2329 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2330 Handle the typeseq data in its new location (see above).
2331 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2332 New methods, for "generic" device listeners.
2333 (spi_controller_register_device_listener):
2334 Now handle mouse event listeners as well as key listeners.
2335 (spi_controller_notify_mouselisteners):
2336 New internal method.
2337 (spi_device_event_controller_forward_mouse_event):
2338 Now we notify mouse device listeners as well as generating the
2339 non-consumable "mouse:" events.
2341 We must check and restore the XKB
2342 modifier map if we consume the event, since the act of triggering
2343 a mouse event will normally reset the XKB latch. This is required for
2345 (spi_controller_register_with_devices):
2346 Load the XKB settings when registering, and register for XKB
2347 state notify events.
2348 (spi_key_eventtype_seq_contains_event):
2349 Renamed spi_eventtype_seq_contains_event, since it's used
2350 internally for all device event types now.
2351 (spi_key_event_matches_listener):
2352 Uses spi_eventtype_seq_contains_event now.
2353 (spi_device_event_controller_object_finalize):
2354 Free the private data and the XkbKeyboard struct.
2355 (impl_register_device_listener, impl_deregister_device_listener):
2356 Implementation of new IDL.
2357 (spi_deregister_controller_device_listener):
2358 New internal method.
2359 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2360 More efficient implementation, we don't have to create a new
2361 XkbControls structure every time we query.
2362 (spi_device_event_controller_class_init):
2363 Initialize the epv entries for the new IDL. Assign the
2364 "spi-dec-private" quark.
2365 (spi_device_event_controller_init):
2366 Initialize the private data.
2367 (spi_device_event_controller_forward_key_event):
2368 Removed a bogus CORBA_exception_free() call.
2370 * registryd/deviceeventcontroller.h:
2371 Replaced inclusion of keystrokelistener.h with
2374 * test/event-listener-test.c:
2375 (report_mouse_event):
2378 Added mouse-event device listener.
2380 * test/test-simple.c:
2381 (create_test_window):
2382 Fixed regression (we were instantiating a GtkRange,
2383 which is now an abstract class). Also fixed to match
2384 existing AtkRole names, this seems to have changed in ATK
2385 awhile ago; too late now I think, and the new
2386 mechanism is at least elegant and consistent with the
2387 glib enum "nick" APIs.
2389 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2391 * idl/Accessibility_Relation.idl:
2392 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2393 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2394 * idl/Accessibility_Role.idl:
2395 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2396 * idl/Accessibility_State.idl:
2397 add STATE_MANAGES_DESCENDANTS
2398 * test/event-listener-test.c:
2399 Added a listener for active-descendant events.
2401 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2403 * atk-bridge/bridge.c
2404 (atk_bridge_init): If application is Bonobo component wait until top
2405 level is added before registering
2406 (spi_atk_bridge_do_registration): New function which contains code,
2407 formerly in atk_bridge_init, to do application registration.
2408 (spi_atk_bridge_toplevel_added): Signal called when top level
2409 added to Bonobo component
2411 This fixes bug #83134.
2413 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2415 * registryd/deviceeventcontroller.c
2416 Fixed compilation error caused by calling gettimeofday()
2419 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2424 Added template for HAVE_XKB.
2427 Changes to check for XKB, and to set the HAVE_XKB #define if it
2430 * libspi/listener.c:
2431 ()impl_notify_event): Make failure to get event source name
2434 * registryd/deviceeventcontroller.c:
2435 (#include): include X11/XKBlib.h.
2436 (DEControllerPrivateData) : New struct.
2437 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2439 (dec_synth_keycode_press) (dec_synth_keycode_release):
2440 New methods; split the key synthesis code into these methods.
2441 They check XKB settings before determining the "time" values to
2442 pass to Xtest; this fixes bug #95828.
2443 (impl_generate_keyboard_event): Changed to use methods above,
2444 instead of callng Xtest directly.
2445 (spi_device_event_controller_init): Initialize new privae struct s
2447 (spi_device_event_controllr_object_finalize):
2448 Free the (new) private data.
2450 * registryd/deviceeventcontroller.h:
2451 Add new gpointer to end of struct data.
2453 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2456 Incremented revision to 1.1.2, SONAME is still '.so', library
2457 extensions are ".so.0.0.2".
2459 * registryd/deviceeventcontroller.c:
2460 FIXES FOR #93592 and #95940.
2461 (statics): renamed mouse_button_state to mouse_mask_state,
2462 added key_modifier_mask.
2463 (spi_dec_poll_mouse_moved):
2464 Added key modifier checks, and emit "keyboard:modifiers"
2465 events when the key modifiers currently in use change.
2466 Also generate "mouse:abs" events periodically, even if the mouse
2467 is stationary (should we?).
2468 Alternatively we could generate "mouse:abs" events for either all
2469 mouse movements, or every 'nth' mouse movement, or at the
2470 beginning and end of every "active" mouse period.
2472 * test/event-listener-test.c:
2473 (main): Added listener for "keyboard:modifiers" events.
2475 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2477 * libspi/keymasks.h:
2478 Added key mask #defines for mouse buttons; e.g.
2479 SPI_KEYMASK_BUTTON1, etc.
2482 Incremented dependency on ATK to version 1.1.0. (This dependency
2483 is probably premature but will soon be real enough).
2485 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2487 * libspi/hyperlink.[ch]
2488 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2489 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2492 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2497 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2499 * registryd/deviceeventcontroller.c
2500 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2501 events to be ignored.
2502 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2503 keyboard_mode so that XAllowEvents() can be called.
2507 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2509 * cspi/spi-accessible.c: Correct names of roles returned by
2510 AccessibleRole_getName(). Fixes bug #95055.
2512 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2514 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2517 * registryd/registry.c
2518 (desktop_remove_application: Write diagnostic message to stderr for
2521 (impl_accessibility_registry_deregister_global_event_listener):
2522 Correct size of lists array. This addresses bug #94555).
2524 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2526 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2529 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2531 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2534 * registryd/registry.c (impl_registry_notify_event): Remove
2535 unnecessary call to parser_event_type().
2537 * docs/reference/cspi/tmpl/spi_component.sgml:
2538 Add reference to SPI_LAYER_WINDOW.
2540 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2542 * registryd/registry.c
2543 (desktop_add_application): Remove leak.
2544 (desktop_remove_application): Remove leak.
2545 (parser_event_type): Remove leak.
2547 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2549 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2550 bogus call to CORBA_string_dup(). Also removed unnecessary
2551 g_string_dup/g_free calls.
2553 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2555 * registryd/deviceeventcontroller.c:
2556 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2558 * test/event-listener-test.c:
2559 main: commented out three redundant listeners, to reduce output
2560 noise. (They still are potentially useful for testing).
2563 2002-09-13 Michael Meeks <michael@ximian.com>
2565 * Update all the copyrights to include Ximian.
2567 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2569 * cspi/spi.h: add SPI_LAYER_WINDOW.
2571 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2572 add Accessibility_LAYER_WINDOW case.
2574 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2576 * libspi/component.c: (impl_accessibility_component_get_layer):
2577 add ATK_LAYER_WINDOW case.
2579 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2581 * configure.in: incremented micro version.
2583 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2585 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2588 Clarified and reworded our commit policy.
2591 Started an API "todo" addition list for 2.2.
2594 (impl_getSelection):
2595 Free char pointer from atk_text_get_selection, which was being leaked.
2597 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2600 Small revision to author acknowledgement.
2602 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2604 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2605 If signal has detail add it to the type of the event.
2608 2002-08-12 Michael Meeks <michael@ximian.com>
2610 * test/test-simple.c (global_listener_cb): bin bogosity.
2611 (test_keylisteners): disable, still doesn't work reliably,
2612 certainly not on my system anyway.
2614 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2615 don't leak a reference on the DEC. This round-trip
2616 fetching of the DEC per keystroke sucks, it should be
2619 * cspi/spi-private.h,
2620 * cspi/cspi-lowlevel.h,
2621 * cspi/bonobo/cspi-bonobo-listener.[ch],
2622 * cspi/bonobo/cspi-bonobo.c: get the copyright
2623 notices better - there is still a large amount of
2624 work in at-spi falsely attributed solely to Sun.
2626 * cspi/spi_main.c (cspi_object_ref): kill bogus
2627 hash lookup, just increment the ref.
2628 (SPI_freeString): make explicit the fact that we
2629 handle NULL strings just fine.
2630 (report_leaked_ref): obey coding standards.
2631 (cspi_object_hash, cspi_object_equal): kill retval.
2632 (cspi_object_release): only release if not on loan.
2633 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2634 (cspi_object_borrow, cspi_object_return): impl.
2636 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2637 use cspi_object_borrow / return.
2639 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2641 * cspi/bonobo/cspi-bonobo-listener.c:
2643 Don't call cspi_oject_new() because this is creating a new Accessible
2644 every single time that an event is fired. This causes ATs like at-poke
2645 to nolonger recognise the source of the event and thus ignore it.
2646 Re-use the object from the cache, ref it and then unref it after the
2647 listeners have been called.
2649 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2651 * test/event-listener-test.c:
2652 Added command-line options to disable mouse events (m) and
2655 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2657 * configure.in: Update required versions of ATK, GTK+ and GAIL
2659 * cspi-1.0.pc.in: Add dependency for X include files
2662 * cspi/bonobo/Makefile.am:
2663 Add $(X_CFLAGS) so that X include files
2664 are picked up even if not in standard place (bug #71686)
2666 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2668 * registryd/deviceeventcontroller.c: fix for 84261
2669 (spi_dec_mouse_moved):
2670 Added test of mouse button mask, so that we can detect mouse
2671 button release. Unfortunately we can't otherwise detect mouse
2672 button release events without consuming the mouse press event,
2673 because of the way XGrabButton works. This means that our mouse
2674 release events have a latency dependent on the polling period
2675 while the mouse button is down. At least in this case we only
2676 have to poll while the button is down, and not at other times.
2677 If the button masks don't match with what the last press event
2678 reported, we report the appropriate button release event.
2679 (spi_dec_ungrab_mouse):
2680 New method (not yet called).
2681 (spi_device_event_controller_forward_mouse_event):
2682 New method, sends mouse press event from GdkFilter.
2683 (spi_dec_init_mouse_listener):
2684 Added code to call XGrabButton, redirecting mouse button events to
2685 the root window and our Gdk event loop.
2687 Added code to filter mouse button events, and reordered.
2689 * test/event-listener-test.c:
2691 Added registration for mouse events of type "mouse:button".
2693 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2695 * registryd/deviceeventcontroller.c: partial fix for 84261
2696 (spi_dec_poll_mouse_idle):
2697 New method, a timeout which checks to see if the mouse
2699 (spi_dec_poll_mouse_moving):
2700 A timeout to be called when mouse motion is underway.
2701 (spi_dec_poll_mouse_moved):
2702 A method which fires an event if the mouse has moved, and reports
2703 whether or not it did so.
2704 (spi_dec_init_mouse_listener):
2705 A method which sets up the timeouts above.
2706 (spi_device_event_controller_new):
2707 Now calls spi_dec_init_mouse_listener.
2709 * registryd/registry.c:
2710 (spi_registry_init):
2711 Now we initialize the device event controller when the registry is
2712 initialized, instead of waiting until a client has requested a key
2713 event notification; this is because we need the event controller
2714 for mouse events, but the mouse event registration API is a
2715 "registry" call and doesn't explicitly call the
2716 deviceeventcontroller.
2717 We now report mouse motion events with a 100 ms idle latency and
2718 a 20 ms granularity when motion is in progress.
2720 * test/event-listener-test.c:
2722 We now register the "detail listener" for events of type
2723 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2724 delivered only for the first mouse event received, and thereafter
2725 "mouse:abs" events are delivered.)
2727 * cspi/spi_registry.c:
2728 DOCS: Documented the above mouse event typestrings.
2730 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2732 Happy Summer Solstice...
2734 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2735 (spi_controller_notify_keylisteners):
2736 Changes to remove a listener from the listener list, freeing its
2737 open keygrabs, if a notification to that listener fails. This
2738 means that although a dead listener can continue to hold a passive
2739 keygrab, a maximum of one dispatch to such a listener can fail
2740 before the listener is removed from the list, thus the keygrab
2741 will be released on the next occurrence.
2742 As part of this fix:
2743 (spi_notify_keylisteners):
2744 Renamed to spi_controller_notify_keylisteners, as the controller
2745 instance must now be passed as an argument.
2746 The copied 'notify' GList is now a list of DEControllerKeyListener
2747 objects, since we need more than just the CORBA reference if a
2748 notify fails and we need to deregister the listener.
2749 (impl_notify_listeners_sync):
2750 (impl_notify_listeners_async):
2751 (spi_device_event_controller_forward_key_event):
2752 Modify use of notify_keylisteners in accordance with above
2754 (spi_deregister_controller_key_listener):
2755 New method introduced by refactoring, from
2756 impl_deregister_keystroke_listener.
2757 (impl_deregister_keystroke_listener):
2758 Call spi_deregister_controller_key_listener.
2759 (spi_key_listener_clone):
2760 New method to copy a key listner without doing a 'ref' on the
2761 remote object instance; used to create a notifier list.
2762 (spi_key_listener_data_free):
2763 New method, frees data without unreffing the source.
2765 (spi_key_listener_clone_free): new method.
2766 (spi_key_listener_free):
2767 refactored to call spi_key_listener_data_free.
2769 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2771 * registryd/registry.c: [fix for bug 86048]
2772 (notify_listeners_cb):
2773 Clear CORBA system exceptions which occur when notifying
2774 listeners, before returning to the source of the original event,
2775 since the event source doesn't care if the relayed notify failed.
2776 In other words, don't complain to the atk-bridge if the registry
2777 could not notify all its listeners, that's no fault of the
2778 application and thus should not appear to be an error from the
2779 application's perspective.
2781 * cspi/spi_main.c: [fix for bug 85980]
2783 Replaced use of bonobo_object_dup_ref with call to the wrapper
2784 method, csou_dup_ref (); this silences a compiler warning and
2785 provided more portability.
2787 Ping the registry before return, and restart if necessary.
2789 * cspi/bonobo/cspi-bonobo.c:
2791 New internal method.
2793 Fixed this method to return an object reference, as it should have
2796 * cspi/cspi-lowlevel.h:
2797 Added internal definition for cspi_ping() and fixed
2798 return type of cspi_dup_ref().
2801 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2803 * atk-bridge/bridge.c: [fix for bug 85305]
2804 (spi_atk_bridge_register_application):
2805 New method where the initial application registry calls have been
2806 moved; it allows an application to re-register in response to
2807 certain error conditions (such as a registry restart, see below).
2809 Moved some initialization code to the method
2810 spi_atk_bridge_get_registry, below.
2811 (spi_atk_bridge_get_registry):
2812 New, private accessor function for the Accessibility_Registry
2813 instance. If the registry has not been started before, or has
2814 died (as detected by failure of a CORBA exception), it is
2815 restarted before return, and spi_atk_bridge_register_application
2816 is called again to register with the new bridge instance.
2817 (spi_atk_emit_eventv):
2818 Set registry_died on error; use spi_atk_bridge_get_registry () to
2819 access the registry.
2821 * registryd/registry.c:
2822 (impl_accessibility_registry_register_global_event_listener):
2823 Set listener's event_type_quark to etype.minor instead of
2824 etype.major (fix for bug 84856).
2826 * test/event-listener-test.c:
2827 (report_detail_event):
2828 Change the output string so that user/tester can tell that the
2829 'detail listener' was called instead of the 'generic listener'.
2831 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2833 Fixes for bugs 84900, 84908, 84897, 84898.
2838 Revved version to 1.1.0
2839 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2840 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2842 * idl/Accessibility_Registry.idl:
2843 (EventListener::notifyEvent):
2844 Removed 'oneway' directive after extensive consulation with
2845 ORBit2 team and others. This means also that unref() of the event
2846 source can and should be done synchronously after emission, rather
2847 than remotely in the client, after servicing the notify call on
2850 NOTE: This change speeds up listener performance considerably, but
2851 introduces new latency on the application side. We may want to
2852 add an event queue to the atk-bridge.
2854 * atk-bridge/bridge.c:
2855 (spi_atk_bridge_focus_tracker):
2856 Do a local unref() on the event source after emission.
2858 * registryd/registry.c:
2859 (desktop_remove_application):
2860 Do an unref() on the event source after emission.
2861 (desktop_add_application):
2862 Do an unref() on the event source after emission.
2863 (notify_listeners_cb):
2864 When relaying an event, don't automatically add the event source
2865 to the local object cache, just CORBA_dup it instead. Likewise,
2866 if this method reenters, release the ref rather than calling
2868 (impl_registry_notify_event):
2869 No longer call remote unref() on the event source after dispatch.
2871 * libspi/eventlistener.c:
2872 (impl_accessible_event_notify_event):
2873 Removed remote unref ()
2875 * cspi/bonobo/cspi-bonobo-listener.c:
2877 We now call cspi_object_new() instead of cspi_object_add() on
2878 receipt of an event; thus we only have an implicit object ref
2879 while the cspi_event method is being executed. If we need to keep
2880 a reference to the object, the listener must call ref() on the
2881 object. Thus also we don't need to call cspi_object_unref() after
2882 invoking the listener callbacks in this method.
2886 New internal API for creating a new cspi object, without adding it
2887 to the object cache.
2889 Now uses cspi_object_new() to create the cspi object instance.
2891 Now checks to see if the object is in the internal object cache,
2892 and adds it if necessary before incrementing its refcount (note
2893 that new objects are added with a refcount of 1).
2894 (report_leaked_ref):
2895 New method which gives some information on leaked object instances
2896 if leak detection is turned on.
2898 * test/event-listener-test.c:
2899 (timing_test_event):
2900 New method, used for testing event delivery timing for special
2901 events of type "object:test". It reports elapsed time and
2902 events/sec every 500 events.
2904 Added a new listener, 'test listener', to check timing of event
2905 receipt as noted above.
2907 Added some timing output here also, reports elapsed time every 100
2910 * test/stress-test.c:
2911 Emit events of type "object:test", for use with "event-listener-test".
2913 * test/test-simple.c:
2914 (global_listener_cb):
2915 Call Accessible_ref() on the event source before calling
2916 validate_accessible, since the validation process does pointer
2917 comparisons on the event source, meaning that the event source
2918 needs to be added to the local object cache first. Any use of
2919 such pointer comparisons between Accessible objects requires that
2920 the caller hold an explicit reference to those objects.
2921 We also must therefore call Accessible_unref() when leaving this method.
2923 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2925 * registryd/deviceeventcontroller.c:
2926 (spi_controller_update_key_grabs):
2927 Fix for #84735, subsequent keygrab listeners not informed of
2928 registration failure.
2931 (spi_base_construct):
2932 Add an assertion on construct, to make sure the GObject passed in
2933 is really a GObject.
2935 Explicitly initialize object->gobj pointer to NULL;
2937 * cspi/bonobo/cspi-bonobo-listener.c:
2938 (cspi_object_add_ref):
2939 New method, can specify whether to dup-ref a bonobo object passed
2940 in if it's newly added to the object cache.
2942 Now calls cspi_object_add_ref with second param of "FALSE". This
2943 prevents us from doing a pointless dup-ref followed by
2944 release-unref for all those cases where the object is already in
2945 our object cache (fix for #85205).
2947 * atk-bridge/bridge.c:
2948 (spi_atk_bridge_idle_init):
2949 Removed this method, we don't need to initialize in an idle
2952 Changed to call spi_atk_register_event_listeners directly, not via an
2953 idle handler. (fix for #81139)
2954 (gnome_accessibility_module_shutdown):
2955 Removed conditional around deregistration of listeners, since we
2956 don't use the idle handler and thus have always registered when
2958 (spi_init_keystroke_from_atk_key_event):
2959 Changed references to Accessibility_KEY_PRESSED to
2960 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2962 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2964 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2969 * test/stress-test.c:
2972 (may have been an incomplete commit yesterday?)
2974 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2977 Added target for new stress-test.
2979 * test/stress-test.c:
2980 New test, sends 1000 focus notifies in quick succession.
2982 * test/key-listener-test.c:
2983 Now we report whether a keylistener registration
2984 request succeeded or failed.
2986 * test/event-listener-test.c:
2987 Uncommented some listeners which are now implemented.
2990 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2992 * registryd/deviceeventcontroller.c:
2993 (spi_controller_update_key_grabs):
2994 Fix for #82509, lack of failure notification when
2995 ALL_WINDOWS keygrabs fail due to XGrabKey
2996 failure: we synchronize the server when
2997 registering a passive grab, to make sure we get the
2998 error message before the call returns.
3000 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3002 * test/test-simple.c:
3004 Removed #ifdef KEY_IMPL_WORKS guards.
3005 (test_keylisteners):
3006 Removed #ifdef KEY_IMPL_WORKS guards.
3007 Fixed bug which was causing a hang waiting for a
3008 "press" event (which was already overwritten by a "release"
3009 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3011 Added code to set globals 'key_press_received' and
3012 'key_release_received'.
3015 Added section "1.1 API Proposed Additions" which
3016 lists API additions desired for at-spi-1.1 (only one so far).
3017 Updated TODO list a little.
3019 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3021 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3024 * configure.in: Revved to 1.0.0.
3026 * idl/Accessibility_Registry.idl:
3027 (registerKeystrokeListener):
3028 Added boolean return value.
3030 * registryd/registry.c:
3031 (notify_listeners_cb): Minor fix to debug output.
3033 * registryd/Accessibility_Registry.server.in.in:
3034 Revved version number in OAFIID to 1.0.
3036 * registryd/registryd.c:
3038 Use new OAFIID version.
3040 * cspi/bonobo/cspi-bonobo.c:
3042 Use new OAFIID version.
3048 * atk-bridge/bridge.c:
3050 Use new OAFIID version.
3052 * registryd/deviceeventcontroller.c:
3053 (impl_register_keystroke_listener):
3054 Added CORBA_boolean return value.
3055 (spi_controller_register_device_listener):
3056 Added gboolean return value.
3057 (spi_controller_register_global_keygrabs):
3058 Added gboolean return value.
3059 (spi_key_set_contains_key):
3060 Added implementation for many more control keys,
3061 for instance F1-F12, arrow keys, End, Home, Page_Up,
3063 [TODO: some still not implemented].
3065 * text/screen-review-test.c:
3066 (text_chunk_pad_string):
3067 New function: it provides mapping between coordinate
3068 positions of text chunks and character positions in the
3069 screen-review-line output string.
3070 (text_chunk_to_string):
3071 New function, calls text_chunk_pad_string with various
3072 pad/delimiter characters. Pushbuttons are delimited with
3073 square brackets, Frames with vertical 'pipe' lines, and
3074 other text with double quotes.
3075 (text_chunk_list_to_string):
3076 Calls new function text_chunk_to_string.
3077 (toplevel_composite):
3078 New function to composite layers CANVAS through
3079 POPUP in each toplevel (other layers are composited
3080 across toplevels, i.e. BACKGROUND and OVERLAY).
3081 (review_buffer_composite):
3082 Revise to use new methods.
3088 2002-05-31 Laszlo Peter <laca@sun.com>
3090 * configure.in: add the Xtst libdir to the runpath on Solaris,
3091 since it's not in the default library search path.
3093 2002-05-29 jacob berkman <jacob@ximian.com>
3095 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3097 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3099 * test/screen-review-test.c:
3100 (text_chunk_pad_string):
3101 Added method, which pads the string according to the
3102 text bounds of the chunk. It also takes a 3-character
3103 string as a param which indicates the characters to be
3104 used for start, padding, and end delimitation of the chunk.
3105 (text_chunk_to_string):
3106 Changed to use text_chunk_pad_string.
3108 * configure.in: Fixed bug in AC_OUTPUT that was
3109 causing path substitution in Accessibility_Registry.server
3112 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3114 * text/screen-review-test.c:
3115 (guess_string_clip):
3116 New method which attempts a best-guess at clipping
3117 text from components (like Java labels) which don't
3118 actually implement AccessibleText. This inaccurate
3119 clip is based on the assumption that the label is
3120 justified left-and-right, and monospaced.
3121 (text_chunk_get_clipped_string):
3122 We now call guess_string_clip() for text-containing
3123 components that don't implement AccessibleText.
3125 * test/screen-review-test.c:
3126 (review_buffer_get_text_chunk):
3127 We now pull "name" from labels if they do not implement
3128 AccessibleText (i.e. for Java labels).
3129 (get_screen_review_line_at):
3130 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3133 Replaceded AC_OUTPUT target
3134 registryd/Accessibility_Registry.server with
3135 registryd/Accessibility_Registry.server.in.
3137 * registryd/Accessibility_Registry.server.in:
3138 Removed (this is now a Makefile target).
3140 * registryd/Accessibility_Registry.server.in.in:
3141 Added (source for target above). We now use $(libexecdir) as
3142 prefix for the executable at-spi-registryd.
3144 * registry/Makefile.am:
3145 Now install at-spi-registryd into $(libexecdir), and build .server
3146 file with path (see above).
3148 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3150 * test/screen-review-test.c:
3151 (text_chunk_get_clipped_string):
3152 We now check to see if words fall within clip bounds
3153 before resorting to character-by-character clip bounds testing.
3155 * TODO: Added a section for "2.2 Proposed API Additions".
3157 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3159 * test/screen-review-test.c:
3161 Added a screen review benchmarking and test program to test
3164 * cspi/spi_accessible.c:
3166 Made some of the debug strings passed to cspi_check_ev a
3167 little more specific.
3169 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3171 * test/screen-review-test.c: Fix crashes in debug statements
3173 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3175 * test/screen-review-test.c: Added this file.
3177 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3179 * atk-bridge/bridge.c: changed "object:state-change" to
3180 "object:state-changed" to match docs.
3182 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3184 * atk-bridge/bridge.c: Hooked up state-change event details.
3186 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3188 * registryd/registry.c:
3189 Fixed quarking bug in event string parsing; now events with
3190 detail parameters get matched correctly to listeners.
3193 * util/idl/Magnifier.idl: remove.
3195 * util/*.[ch]: Remove.
3196 Magnification utilities and IDL are now in module gnome-mag.
3198 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3200 * registryd/deviceeventcontroller.c:
3201 Fixed bug in grab key conversion which was causing keycode grabs
3202 to be converted to AnyKey grabs.
3205 updated NEWS file to reflect recent spin-off of gnome-mag.
3207 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3209 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3210 busted AccessibleStateSet_compare. Removed redundant casts.
3212 * cspi/spi-action.c: Removed redundant casts.
3214 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3216 * cspi/spi_component.c: Fixed typos and casting error.
3218 * cspi/spi_editabletext.c: Removed redundant casts.
3220 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3222 * cspi/spi_hypertext.c: Eliminated redundant casts.
3224 * cspi/spi_image.c: Eliminated redundant casts.
3226 * cspi/spi_registry.c: Eliminated redundant casts.
3227 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3228 * cspi/spi_selection.c: Removed redundant casts.
3229 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3230 handling. Screen geometry and text offsets were being returned as 0
3231 on error which is technically valid-- changed these to return -1.
3232 Added marshaller for text boundary types to fix bug with boundary
3233 types being passed incorrectly to atk.
3235 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3238 * cspi/spi_registry.c:
3239 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3240 which was uncovered by the recent key changes.
3242 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3244 * test/event-listener-test.c:
3246 Added new test, "event-listener-test";
3247 this code does two things; it benchmarks traversal time
3248 for the accessible hierarchy for the first running accessible
3249 app, and it connects listeners for all supported event types.
3250 It is thus useful as an example event listener and for
3251 diagnostics/debugging of event generation.
3253 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3256 Removed unnecessary dependency on libutil.
3259 Revved micro version: 0.13.1
3261 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3264 Removed util/Makefile from targets.
3267 Removed util subdir from SUBDIRS (temporarily,
3268 pending removal of magnifier-only code
3272 #ifdef-ed out magnifier dependencies, since
3273 magnifier IDL, headers, and binary now live in
3274 module gnome-mag and we don't want at-spi to depend
3275 on gnome-mag. A magnifier demo which can run alongside
3276 simple-at is forthcoming in the gnome-mag module.
3278 NOTE: Split magnifier binary, IDL, and magnification
3279 activation code from at-spi into module gnome-mag.
3281 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3283 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3284 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3286 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3289 Revved to version 0.13.0
3291 * idl/Accessibility_Registry.idl:
3292 Changed definition of KeySet from sequence of longs to sequence of
3293 KeyDefinitions, and added KeyDefinition struct.
3294 Required for fix to bug 80616.
3296 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3297 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3298 to use new definition (see above).
3300 * registryd/deviceeventcontroller.c: handle_keygrab(),
3301 spi_keyset_contains_key():
3302 Changed to make use of new struct; this allows matching based on
3303 string key-name, for instance "Tab". This also allows matching of
3304 composed characters, non-alphanumeric characters in a way that
3305 doesn't involve dependencies on X keysym codes directly, etc.
3307 * test/key-listener-test.c:
3308 Added test for Alt-Tab key using "string" specification of keyset,
3309 and modified one of the tests to use a keycode-based keyset.
3310 Thus this test both tests and demonstrates the creation and use of
3311 keysets of three forms: specified via keycode array,
3312 keysym array, and string array. (The string case only contains a
3313 single string, i.e. a string array of length 1).
3316 Turned on PRINT_TREE option by default. Also fixed a
3317 string-freeing bug in the PRINT_TREE code.
3318 Added a listener to window:minimize events.
3320 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3322 * atk-bridge/bridge.c:
3323 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3324 for window:activate and window:deactiveate
3325 (atk_bridge_property_event_listener atk_bridge_signal_listener
3326 atk_bridge_window_event_listener) Tidy debug code
3328 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3330 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3331 Fixed handling for NULL return value from ATK.
3333 * libspi/action.c libspi/component.c libspi/editabletext.
3334 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3335 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3336 Removed redundant casts.
3338 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3339 Fixed off by one bug.
3341 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3342 function not present in idl)
3344 2002-05-02 jacob berkman <jacob@ximian.com>
3346 * atk-bridge/Makefile.am: make atk-bridge a real module
3348 2002-04-26 Radek Doulik <rodo@ximian.com>
3350 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3351 atk_state_types table
3353 2002-04-22 jacob berkman <jacob@ximian.com>
3356 * libspi/Makefile.am: add deps on the built files to help
3357 automake, and don't version the ORBit typelib
3359 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3361 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3362 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3363 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3364 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3365 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3366 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3367 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3368 libspi/accessible.h libspi/accessible.h libspi/base.h
3369 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3370 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3371 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3372 libspi/spi-private.h libspi/statetset.h libspi/table.h
3373 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3374 util/mag_client.h util/mag_control.c util/mag_image.c
3375 util/mag_image.h util/magnifier.c util/magnifier.h:
3376 Add missing file headers; standardize existing ones
3378 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3380 * atk-bridge/bridge.c: Added window event support.
3382 2002-04-18 Michael Meeks <michael@ximian.com>
3384 * libspi/relation.c (impl_getNTargets): impl.
3385 (impl_getTarget): impl.
3387 * libspi/Makefile.am: fix stateset install.
3389 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3392 Started putting useful info in this file.
3394 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3396 * atk-bridge/bridge.c:
3397 Propagate state-changed notifications to ATs
3399 * cspi/spi_registry.c: update docs to reflect actual behavior of
3400 state-change events.
3402 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3405 Incremented version to 0.12.1
3407 * util/mag_client.h:
3408 Add missing declaration for magnifier_exit,
3409 used by mag_control.c - Forte compiler didn't like
3410 the implicit redeclaration of the function :-(
3413 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3416 Revved version to 0.12 due to API change (see below).
3418 * cspi/spi-roletypes.h:
3419 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3420 definition from the inline docs, and added docs
3421 for SPI_ROLE_LAST_DEFINED.
3424 * cspi/spi_streamablecontent.c:
3425 Added missing seek_type parameter to
3426 (so far unused) method,
3427 AccessibleStreamableContent_seek().
3428 [ RT approval JodyG. ]
3431 Fixed docs for SPI_createAccessibleKeystrokeListener.
3433 * cspi/spi_registry.c:
3434 Fixed docs for SPI_KEYSET_ALL_KEYS.
3436 * docs/reference/cspi/at-spi-cspi-sections.txt:
3437 Added a number of missing APIs to SECTIONS.
3439 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3441 * registryd/Makefile.am:
3443 * cspi/bonobo/Makefile.am:
3444 Add $(X_LIBS) to makefiles.
3446 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3449 Revved version to 0.11.
3451 * libspi/component.c:
3452 Added implementation for grabFocus.
3454 * idl/Accessibility_Component.idl
3455 (Accessibility_Component_grabFocus):
3456 Made this method return boolean to indicate success or failure, to
3457 be consistent with cspi and the corresponding ATK method.
3459 * idl/Accessibility_Selection.idl
3460 (Accessibility_Selection_selectAll) :
3461 Made these methods return boolean to indicate success or
3462 failure, to be consistent with cspi and the corresponding ATK methods.
3464 * idl/Accessibility_EditableText.idl
3465 (Accessibility_EditableText_setTextContents,
3466 Accessibility_EditableText_insertText,
3467 Accessibility_EditableText_cutText,
3468 Accessibility_EditableText_deleteText,
3469 Accessibility_EditableText_pasteText):
3470 Made these methods return boolean to indicate
3473 * cspi/spi_editabletext.c:
3474 Made these methods return booleans.
3476 * libspi/selection.c:
3477 * libspi/component.c:
3478 * libspi/editabletext.c:
3479 Connected the boolean returns from ATK
3480 to the server-side code referenced above.
3482 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3484 * idl/Accessibility_Table.idl: Added missing methods,
3485 Accessibility_Table_addRowSelection,
3486 Accessibility_Table_addColumnSelection,
3487 Accessibility_Table_removeRowSelection,
3488 Accessibility_Table_removeColumnSelection.
3491 Added C wrappers for above IDL:
3492 AccessibleTable_addRowSelection,
3493 AccessibleTable_addColumnSelection,
3494 AccessibleTable_removeRowSelection,
3495 AccessibleTable_removeColumnSelection.
3498 Added server-side implementation code for IDL above, connecting
3499 to pre-existing ATK api.
3501 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3503 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3505 * libspi/accessible.c: Added implementation fo
3506 Accessibility_Accessible_get_state.
3508 * libspi/libspi.h: Added stateset.h to the list of includes.
3510 * libspi/stateset.c: Fixed broken implementation.
3512 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3515 Added implementation code for Accessibility_Magnifier_exit ().
3517 * util/mag_control.c:
3518 Added test code for above method; you can
3519 now kill an existing magnifier via
3520 ./mag_control q, from the util directory.
3522 * test/key-listener-test.c:
3524 Added a new test, for our key listener API.
3526 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3528 * test/app.c, test/keysynth-demo.c:
3530 Replace use of snprintf with g_snprintf.
3531 (fix for bugzilla 78249)
3533 2002-03-27 Michael Meeks <michael@ximian.com>
3537 * util/Makefile.am (INCLUDES): fix.
3538 (DONT_DIST_SOURCE): don't distribute the
3541 * libspi/Makefile.am (dist-hook): ditto.
3543 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3545 * libspi/hypertext.c:
3546 Fix warnings when yelp is used with atk-bridge
3548 2002-03-21 Michael Meeks <michael@ximian.com>
3550 * libspi/application.c (spi_application_new):
3551 use spi_accessible_construct so we use the AtkObject
3554 2002-03-19 Michael Meeks <michael@ximian.com>
3556 * registryd/registry.c (desktop_remove_application),
3557 (desktop_add_application): clean coding style.
3559 * registryd/desktop.c (spi_desktop_remove_application),
3560 (spi_desktop_add_application): kill re-enterency hazards.
3561 (spi_desktop_dispose): remove bogus redundant cast
3562 obscuring bug; fix bug too.
3563 (spi_desktop_init): make the desktop object immortal.
3565 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3568 Added a #define-guarded tree-traversal step
3569 when enumerating the apps (diagnostic tool).
3571 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3573 * idl/Accessibility_Role.idl:
3574 Added ROLE_DRAWING_AREA which seemed to be missing from the
3577 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3579 * cspi/spi-roletypes.h cspi/spi_accessible.c
3580 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3583 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3584 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3585 AT when applications are added and removed from the desktop. This
3586 reverts the previous broken implementation using the backing
3587 AtkObject for the SpiDesktop.
3589 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3591 * registryd/desktop.c: emit the "children-changed::add" and
3592 "children-changed::remove" signals on the backing ATK object for
3593 the desktop so AT can tell when applications are started and shut
3596 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3598 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3600 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3602 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3604 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3606 * cspi/state-types.h: synched with IDL and ATK
3608 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3610 * libspi/accessible.c
3611 (impl_accessibility_accessible_get_child_at_index):
3612 Change return value for g_return_if_fail ()
3613 to CORBA_OBJECT_NIL instead of "0" (!)
3615 * registryd/Makefile.am:
3616 * registryd/Accessibility_Register.server.in:
3617 Changed name of executable, "registryd",
3618 to something more informative:
3621 2002-03-13 Michael Meeks <michael@ximian.com>
3623 * atk-bridge/bridge.c (atk_bridge_init): don't register
3624 if we're in a bonobo-component, rather than a bonobo app.
3626 2002-03-13 Michael Meeks <michael@ximian.com>
3628 * atk-bridge/bridge.c (gtk_module_init): split
3629 out body to (atk_bridge_init): here, since otherwise
3630 we get symbol conflicts and oddness when invoked
3631 from (gnome_accessibility_module_init): here (upd.)
3633 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3636 New file. Explicitly allow "build sheriff" putbacks provided
3637 they are tested on Solaris.
3639 * docs/reference/cspi/Makefile.am:
3640 Added '-' to the "cp" command for index.sgml.
3641 ("patch by thomasvs, soon coming to a GUADEC near you")
3644 Incremented version number (0.9.0) for new release.
3645 Changed macro that checks for popt, to better detect
3646 obsolete versions of popt.
3649 Added X_LIBS to AC_SUBST, for applications
3650 that call Xlib API directly.
3653 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3656 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3659 Fix regression caused by hard-coding major
3660 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3663 * test/test-simple.c (test_editable_text),
3664 (test_test): revert previous change (error was
3665 a regression in gail which is now fixed).
3667 2002-03-04 Michael Meeks <michael@ximian.com>
3669 * test/test-simple.c (test_editable_text),
3670 (test_text): pass G_MAXINT instead of '-1' for
3671 whole string - is this a good thing !?
3673 * cspi/spi_accessible.c
3674 (Accessible_getRelationSet): fix crasher bug
3675 overwriting the end of the array.
3677 * test/test-simple.c (validate_accessible): free,
3678 not g_free returned relation set.
3680 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3682 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3683 implemented stateset support
3685 * idl/Accessibility_State.idl: Made necessary changes to
3686 the IDL to support state sets.
3688 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3690 * registryd/deviceeventcontroller.c:
3691 Added implementation for generateMouseEvent.
3693 * cspi/spi_registry.c:
3694 Connected new implementation for generateMouseEvent
3697 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3700 Incremented revision (but no change in public API
3701 outside of 'utils', which are not installed public yet.)
3703 * libspi/component.c:
3704 Changed to use atk_component API for layers and
3705 mdi_zorder, instead of deprecated atk_object API.
3707 Magnification Utility Enhancements:
3710 Added implementation of createZoomRegion, clearAllZoomRegions,
3711 resizeZoomRegion. Added new commandline argument
3712 "--no-initial-region". Note that clearAllZoomRegions doesn't
3713 unmap the old '0' region as it should (yet), and the other
3714 methods only work when creating/resizing a single region,
3715 which is "region 0".
3716 (Code for multiple region support will be added later.)
3719 Now we raise the magnifier window each time it's refreshed;
3720 this will help keep it on top.
3722 * util/mag_client.h:
3723 Added simple wrappers for above, used by mag_control.
3724 For general use, it's recommended to use the bonobo magnifier
3725 control API directly instead of using these wrappers.
3728 Moved ZoomRegionData from magnifier.c to this file.
3730 * util/mag_control.c:
3731 Added some code to exercise new IDL implementations.
3733 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3735 * libspi/text.c: Provide implementation for getAttributes.
3737 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3740 Incremented revision.
3742 * test/test-simple.c:
3743 Replaced use of deprecated g_main_iteration with
3744 g_main_context_iteration.
3746 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3749 Incremented revision for desktop alpha 2.
3751 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3753 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3756 * test/simple-at.c: include netinet/in.h.
3758 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3760 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3761 use NULL, not CORBA_OBJECT_NIL.
3763 * libspi/accessible.c:
3764 (impl_accessibility_accessible_get_relation_set):
3765 allocate the sequence correctly.
3767 * libspi/remoteobject.h: kill spi_remote_object_new.
3769 * test/test-simple.c: (validate_accessible): add code
3770 to test relation sets, now all we need is to figure
3771 out how to excercise this code path :/
3773 2002-01-18 Michael Meeks <michael@ximian.com>
3775 * test/test-simple.c
3776 (key_listener_cb): consume the key.
3777 (test_keylisteners): update.
3778 (main): wait for any pending unrefs on events.
3780 * registryd/deviceeventcontroller.c
3781 (spi_controller_update_key_grabs): only re-issue the
3782 grab on a key release.
3783 (spi_device_event_controller_forward_key_event):
3784 refresh the keygrabs before we notify the listeners,
3785 to reduce the X ungrab / re-grab race.
3786 (spi_controller_register_with_devices): remove
3787 XSelectInput - we do that with the gdk_window_ call.
3788 (_spi_controller_device_error_handler): return a value.
3789 s/GDK_DISPLAY/spi_get_display/
3791 2002-01-17 Michael Meeks <michael@ximian.com>
3793 * registryd/deviceeventcontroller.c
3794 (_deregister_keygrab): don't blow out the later
3797 * test/test-simple.c (test_keylisteners): do a
3798 more intelligent validation.
3800 2002-01-14 Michael Meeks <michael@ximian.com>
3802 * atk-bridge/bridge.c
3803 (gnome_accessibility_module_init),
3804 (gnome_accessibility_module_shutdown): impl.
3805 (gtk_module_init): protect vs. double inits.
3806 (add_signal_listener): impl.
3807 (spi_atk_bridge_state_event_listener): kill
3808 (deregister_application): split out of
3809 (spi_atk_bridge_exit_func): here.
3811 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3814 Added caret tracking when using magnifier, and
3815 now use text bounds for focus tracking of text elements, rather than
3816 the component bounds - this is helpful for short text fields in long
3817 table cells, at high magnification.
3819 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3821 * registryd/deviceeventcontroller.c:
3822 Regression fix for keylistener de-registration; global keygrabs
3823 were not being released when deregisterKeystrokeListener was
3824 called in cspi, since
3825 Accessibility_DeviceEventController_deregisterKeystrokeListener
3826 was called with a zero-length keyset. That is because the cspi
3827 method, SPI_deregisterKeystrokeListener, does not take a keyset
3828 parameter but instead should remove all the key grabs held be a
3830 The code in impl_deregister_keystroke_listener was changed to copy
3831 the keylist from the listener instance previously registered with
3832 the DeviceEventController before releasing the grabs.
3834 * registryd/registry.c:
3835 * registryd/deviceeventcontroller.c:
3836 * libspi/spi-private.h:
3838 Changed spelling of "re-enterant" to "re-entrant" globally.
3840 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3842 * test/test-simple.c:
3843 Changed key listeners test - the test was slightly mis-using the
3844 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3845 It now uses '=' as the key event listened to and generated,
3846 relying on a keysym match rather than assuming that keycode 33
3847 is always equal to keysym '!'.
3849 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3852 Changed simple-at to use a specific keyset, rather than
3853 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3854 manager, desktop, etc.
3856 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3858 * registryd/deviceeventcontroller.c:
3859 Replaced standard X error handler with a special handler that
3860 is non-fatal for failed keygrabs. This works around
3861 problems with keygrab clashes sometimes observed on
3863 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3864 mouse handling code as yet).
3866 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3869 Incremented revision for desktop alpha release.
3872 Fixed a couple of the more glaring errors (still not
3875 2002-01-11 Michael Meeks <michael@ximian.com>
3877 * registryd/deviceeventcontroller.c
3878 (spi_device_event_controller_forward_key_event): kill
3879 XUngrabKey / XKeyGrab race.
3880 (spi_controller_grab_keyboard): rename to
3881 (spi_controller_update_key_grabs): this, and deal
3882 with incremental adding / removing grabs more
3884 (_register_keygrab): ensure we're not pending a remove.
3885 (spi_grab_mask_free): impl.
3886 (spi_controller_register_global_keygrabs): split out
3888 (handle_keygrab): impl.
3889 (_deregister_keygrab): impl.
3890 (spi_controller_deregister_global_keygrabs): impl.
3891 (spi_controller_update_key_grabs): re-issue the grab if
3892 we just recieved a notification.
3894 * test/test-simple.c (key_listener_cb): remove debug.
3896 * registryd/deviceeventcontroller.c
3897 (spi_controller_register_device_listener): after
3898 registering a global keygrab, actualy register it !
3899 don't wait for a timeout; doh !
3901 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3902 to make it more readable / manipulable.
3903 s/grabmask/grab_mask/ s/refcount/ref_count/
3904 s/keyval/key_val/ s/modmask/mod_mask
3906 2002-01-08 Michael Meeks <michael@ximian.com>
3908 * registryd/deviceeventcontroller.c
3909 (spi_controller_register_with_devices): use gdk calls to
3911 (global_filter_fn): implement the filter.
3912 (spi_device_event_controller_check_key_event): rename to
3913 (spi_device_event_controller_forward_key_event): this & upd.
3914 (spi_get_display): replace with GDK_DISPLAY.
3916 * registryd/deviceeventcontroller.c
3917 (spi_controller_deregister_device_listener): unroll into
3918 (impl_deregister_keystroke_listener): here to simplify.
3919 (spi_controller_register_global_keygrabs): split cut and
3920 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3921 (spi_controller_deregister_device_listener): remove.
3922 (impl_register_mouse_listener): remove, no mouse listener
3923 support in at-spi-1.0
3925 * registryd/registry.c
3926 (_device_event_controller_hook): kill.
3927 (spi_registry_init): upd.
3929 * registryd/deviceeventcontroller.c
3930 (spi_device_event_controller_class_init): upd.
3931 (spi_check_key_event): merge into.
3932 (spi_device_event_controller_check_key_event):
3933 here and kill strange static ev init, don't leak
3934 the x_event - nor dynamicaly allocate it.
3936 * registryd/registry-main.c (main): re-direct
3937 timeout to remove strange vtable mess.
3939 * registryd/deviceeventcontroller.c
3940 (remove_listener_cb): impl.
3941 (spi_controller_deregister_device_listener):
3942 fix re-enterancy hazard.
3944 2002-01-07 Michael Meeks <michael@ximian.com>
3946 * registryd/deviceeventcontroller.c
3947 (spi_device_event_controller_new): upd.
3948 (impl_notify_listeners_sync): upd. debug.
3949 (spi_notify_keylisteners): fix re-enterancy hazards,
3950 prettify, remove O(n*n) iteration.
3951 (spi_controller_grab_keyboard): fix iteration.
3952 (spi_check_key_event): re-format to suit coding style.
3953 Clean all the warnings - we're warning free.
3955 * registryd/deviceeventcontroller.h:
3956 * registryd/registry.h: make mutualy referential with
3957 typesafe forward references instead of (!) void pointer
3960 2002-01-11 Michael Meeks <michael@ximian.com>
3962 * cspi/spi_accessible.c (role_names): add a role name
3963 to sync this array with the enum; and make the regression
3966 2002-01-10 Michael Meeks <michael@ximian.com>
3968 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3969 allow expansion of enumeration & kill warning.
3971 * test/test-simple.c (key_listener_cb): impl.
3972 (test_keylisteners): impl.
3974 * cspi/spi-listener.h: make listener signatures const
3975 on the provided (const) events.
3977 * test/keysynth-demo.c: upd. to const events.
3979 * test/simple-at.c: ditto.
3981 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3984 Rev the version to 0.5 (the previous tarball was named 0.4,
3985 even though the micro number was 3), so we need to rev upwards
3986 again for beta2/"desktop-alpha"
3989 Checked in a demo script, which requires editing before use!
3990 Proceed with caution.
3993 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3995 * cspi/spi_accessible.c:
3996 Add a couple of missing enum initializations, and fix some enum
3999 * cspi/spi_registry.c:
4000 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4002 * docs/reference/cspi/at-spi-cspi-sections.txt:
4003 Remove/fix a couple of broken document references.
4006 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4007 as Alt-Control to listen for commands, since on some systems
4008 Control-Alt may already be grabbed.
4010 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4013 Update version number to 0.4 for Beta2.
4015 * libspi/accessible.c, libspi/accessible.h:
4016 Expose spi_accessible_construct, to enable libgail-gnome
4017 construction from spi_accessible subtype.
4019 * utils/magnifier.c:
4020 Workaround for bug in some non-gnome-compliant window managers
4021 which made magnifier resize improperly.
4023 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4025 * libspi/accessible.c: (spi_accessible_new) :
4026 Move the test for SPI_IS_REMOTE_OBJECT to
4027 spi_accessible_new_return, fixing a bug and compile time warning.
4029 2002-01-08 Michael Meeks <michael@ximian.com>
4031 * registryd/registry.c (parse_event_type): remove strndup.
4033 * libspi/Makefile.am (libspi_la_SOURCES): remove
4034 sources already included in the headers section.
4036 * libspi/util.c: add.
4038 * libspi/spi-private.h: add.
4040 * registryd/registry.c: update to moved list iterators.
4042 2002-01-05 Michael Meeks <michael@ximian.com>
4044 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4046 * test/test-simple.c (main): ditto.
4048 2002-01-04 Michael Meeks <michael@ximian.com>
4050 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4051 redundant construct.
4053 * registryd/registry.c
4054 (get_listener_list): impl.
4055 (impl_accessibility_registry_register_global_event_listener):
4056 re-impl. to simplify using ~, remove dodgy const cast off.
4057 (parse_event_type): constify.
4058 (impl_accessibility_registry_deregister_global_event_listener_all):
4059 re-write, more efficiency and simplicity, kill re-enterancy
4061 (compare_listener_corbaref, compare_corba_objects),
4062 (compare_listener_quarks): define out.
4063 (impl_accessibility_registry_deregister_global_event_listener):
4064 re-write for effiency, and nail re-enterancy hazard.
4065 (impl_accessibility_registry_get_desktop_list): impl.
4066 (re_enterant_list_delete_link): impl.
4067 (re_enterant_list_foreach): impl.
4068 (remove_listener_cb): impl.
4069 (_registry_notify_listeners): kill.
4070 (notify_listeners_cb): impl.
4072 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4073 (SPI_getDesktopList): impl.
4075 * test/test-simple.c (test_desktop): test the methods.
4077 2002-01-03 Michael Meeks <michael@ximian.com>
4079 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4080 keystrings since we free them
4081 (SPI_freeAccessibleKeySet): in here.
4083 * libspi/accessible.c (spi_accessible_new): kill warning,
4084 wonder what is going on with the constructor here.
4086 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4088 * libspi/accessible.c (spi_accessible_new ()) :
4089 Added check to see if AtkObject is an SpiRemoteObject before
4090 creating an SpiAccessible.
4092 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4094 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4095 Enable keygrabs using the Control modifier, now that they are
4096 working properly (they were previously disabled).
4099 Change the command keygrab for this demo to "Control+Alt", so as
4100 to conflict with fewer other key commands on the system; this
4101 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4103 Removed a pointlessly-chatty keylistener for unshifted keys
4104 (shifted keys are still reported).
4106 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4108 * libspi/remoteobject.h:
4109 * libspi/remoteobject.c:
4110 Added definitions for special AtkObject subtype, required for
4111 support of remote components (specifically, used by BonoboControl
4112 accessibility implementation).
4114 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4116 * cspi/spi.h: synched relation types with ATK
4118 * cspi/spi_accessible.c: Added implementations of
4119 AcccessibleRelation_* methods
4121 * idl/Accessibility_Relation.idl: added getRelationTypeName
4122 method. Synched known relation types with ATK. Allowed for
4123 relation type extension with the RELATION_EXTENDED type.
4125 * libspi/relation.c: Provided implementations for
4126 AccessibleRelation methods.
4128 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4130 API tweaks for today's API 'freeze'.
4133 Added placeholder functions to allow future compatible expansion
4134 of the IDL interfaces.
4136 * idl/Accessibility_Registry.idl:
4137 Changed generateKeyEvent to generateKeyboardEvent. Changed
4138 signature of this method to accept an optional keystring in
4139 parameter (for complex text input synthesis) and changed use of
4140 simple 'boolean' parameter in registerKeystrokeListener to a
4141 struct, EventListenerMode.
4143 * cspi/spi_accessible.c:
4145 * cspi/spi_streamablecontent.c:
4146 Added references to AccessibleStreamableContent interface, and
4147 definition and implementation of AccessibleStreamableContent
4150 * cspi/spi_registry.c:
4152 Changed generateKeyEvent API to generateKeyboardEvent,
4153 taking a new (optional) keystring parameter to support complex
4158 Renamed directory (to better reflect its actual purpose, bridging
4159 from at-spi to ATK). The .so module is also now named
4162 * idl/Accessibility_Hypertext.idl:
4163 * libspi/accessible.c:
4164 * libspi/hypertext.h:
4165 * libspi/hypertext.c:
4166 Changed Accessibility_Hypertext to *not* derive from
4169 * cspi/spi_registry.c:
4170 Added list of legal event type names for 'window' events, which
4171 completes the registry event API.
4173 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4175 * at-bridge/bridge.c: Added registration for separate
4176 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4177 signals. If either of the first two parameters to the generic
4178 bridge signal handler are ints, they are passed on as event
4179 details. This allows an AT to determine what text was inserted.
4181 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4183 * registryd/deviceeventcontroller.c:
4184 Fixed regressions in generateKeyEvent caused by the removal of
4185 gdk_init from registryd; we now use pure X calls to connect to the
4186 display, which makes sense because deviceeventcontroller already
4187 uses a fair bit of X API (should eventually be migrated to a
4188 'portability layer').
4190 * registryd/desktop.c:
4191 Fixed minor regression in spi_desktop_init, changed the way the
4192 desktop name is being set to work with new spi_base API
4193 (gobject-based, rather than AtkObject-based).
4195 * registryd/Makefile.am:
4196 Minor revision of makefile to use XTST_LIBS variable rather than
4197 hard-wiring the Xtst LD_ADD element.
4199 * test/keysynth-demo.c:
4200 Tweaked an output message; added initialization of the
4201 'keystrings' member of the "switch listener" key_set.
4203 * libspi/relation.c:
4204 Squashed compile-time warning.
4206 * libspi/accessible.c:
4207 Cosmetic and formatting fixes, renamed a static method.
4209 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4211 * libspi/accessible.c
4213 * libspi/application.c
4216 * libspi/component.c
4217 * libspi/editabletext.c
4218 * libspi/hyperlink.c
4219 * libspi/hypertext.c
4221 * libspi/selection.c
4225 * registryd/desktop.c:
4226 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4228 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4230 * idl/Accessibility_Registry.idl:
4231 Added boolean member 'is_text' to DeviceEvent. This is for the
4232 use of key events, and helps prevent ambiguity between composed
4233 key strings and keysym names, since both may potentially be
4234 returned in the 'event_string' member.
4236 * at-bridge/bridge.c:
4237 * registryd/deviceeventcontroller.c:
4238 Use the 'is_text' member when notifying device event listeners.
4239 Knon issue: composed characters are not dealt with correctly by
4240 the global key listener implementation yet.
4242 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4244 * at-bridge/bridge.c:
4245 Namespaced local static methods to spi_atk_bridge_* where
4246 previously named bridge_*, and spi_* elsewhere.
4248 * at-bridge/bridge.c:
4249 * cspi/bonobo/cspi-bonobo-listener.c:
4250 Added demarshalling/conversion for string member of
4251 Accessibility_DeviceEvent to AccessibleKeystroke.
4253 * registryd/deviceeventcontroller.c:
4254 Added code to fill the Accessibility_DeviceEvent key string value
4255 member for global key events (i.e. from XGrabKey), to match
4256 behavior of Accessibility_DeviceEvent from the toolkit key events
4257 from the bridge. Fixed timestamp in global key event notifications.
4260 Added printout of key event's string value to
4261 report_ordinary_key_event, for demo/debugging purposes.
4263 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4265 * idl/Accessibility_Registry.idl:
4266 Removed Accessibility_KeyStroke structure in favor of generic
4267 Accessibility_DeviceEvent structure.
4268 Changed Accessibility_ControllerEventMask from a struct to an
4271 * at-bridge/bridge.c:
4272 Changed APIs to use DeviceEvent structure as above, and removed
4273 bogus casting between these event structures.
4275 * cspi/spi-listener.h:
4276 Added keystring member of AccessibleKeystroke structure, to enable
4277 matching on event "names" rather than only hardware codes and
4281 Added keystrings member of AccessibleKeySet struct, to allow
4282 matching on event names (as above).
4283 Added declarations for SPI_createAccessibleKeySet and
4284 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4285 event modmasks directly as unsigned ints rather than structs with
4286 refcounts, in the DeviceEventController methods.
4288 * cspi/spi_registry.c:
4289 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4291 * cspi/spi-roletypes.h:
4292 Added documentation of newly added SPI Roles.
4294 * cspi/bonobo/cspi-bonobo-listener.c:
4295 Changes in support of API changes above.
4297 * libspi/accessible.c:
4298 Converted APIs to use DeviceEvent structure (see IDL changes
4301 * registryd/deviceeventcontroller.c:
4302 Added DEControllerGrabMask structure to track keygrabs not only by
4303 modmask but by keyset as well; this allows us to do "global"
4304 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4305 grabbing on AnyKey and then filtering after-the-fact.
4306 Bugfixes for event filtration mean that we don't get false matches
4307 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4309 * registryd/deviceeventcontroller.c:
4310 Namespaced a number of static methods to use spi_ prefix. Major
4311 revision to internals of global (i.e. X) key grabs.
4313 * registryd/deviceeventcontroller.h:
4314 Removed keymask_list and added keygrabs_list to
4315 SpiDeviceEventController struct.
4318 Added use of SPI_createAccessibleKeySet API when creating a
4319 listener for only one key. Attach a listener to "shift spacebar
4320 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4321 X key event names to SPI key event names, so that listeners are
4322 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4324 * test/keysynth-demo.c:
4325 Changed (incorrect) use of X key event names (KeyPressed,
4326 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4329 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4331 * libspi/accessible.c:
4332 Convert all AtkRole enumerations to Accessibility_Role enums when
4333 getting a role from an AtkObject.
4335 * cspi/spi_accessible.c:
4336 Complete the conversion of Accessibility_Role enums at runtime to
4337 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4338 role enums correctly match those given in spi-roletypes.h.
4339 Re-synchronize the local names list for AccessibleRole_getName ().
4340 AccessibleRole_getName is now deprecated, since it duplicates the
4341 more reliable Accessible_getRoleName.
4342 Added some role types from Accessibility_Role.idl.
4344 * idl/Accessibility_Role.idl:
4345 Added some role types used by AtkRole.
4347 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4350 * cspi/spi_registry.c:
4352 * cspi/cspi-bonobo-listener.c:
4353 Namespaced all methods that did not begin with an "SPI_" or
4354 "Accessible" prefix to "SPI_".
4357 Homogenized internal function namespace to "cspi_" for statics.
4360 Patched tests to use the new CSPI API.
4362 * docs/reference/cspi/at-spi-cspi-sections.txt:
4363 Updated docs to reflect namespace changes, and added a number of
4364 methods to the documentation.
4366 * registryd/registry.c:
4367 Changed use of strings and string hashes in listener event
4368 matching and parse_event_string to use GQuark, which is guaranteed
4371 * registryd/registry.h:
4372 Squashed annoying warning.
4374 * idl/Accessibility_Role.idl:
4375 Extended range of available Accessibility_Role values.
4377 * cspi/spi_accessible.c:
4378 Re-ordered role names.
4380 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4382 * idl/Accessibility_Value.idl:
4383 Revert use of union back to CORBA_double, since the double type is
4384 more efficient and can contain the other types without loss of
4387 * idl/Accessibility_Accessible.idl:
4388 Added method Accessibility:Accessible:getRoleName, to complement
4389 Accessibility:Accessible:getRole.
4391 * cspi/spi_accessible.c:
4393 Added C binding for above, Accessible_getRoleName (), and changed
4394 signature of Accessible_getRole () to return an AccessibleRole.
4396 * cspi/spi-roletypes.h:
4397 Changed AccessibleRole_getName to return a char * instead of a
4398 const char *. This method is now at least temporarily deprecated
4399 in favor of asking Accessibles for their RoleNames directly.
4402 Revert to match Accessibility_Value.idl;
4406 Change signature of AccessibleValue methods to use double rather
4410 * cspi/spi_accessible.c:
4411 Changed Accessible_getRole to return an AccessibleRole enum rather
4412 than a UTF-8 string. The UTF-8 string can still be obtained via
4413 AccessibleRole_getName ().
4415 * test/test-simple.c:
4416 Add test_action. Small fixup to match API change to Accessible_getRole.
4419 Bugfix for get_action_from_servant ().
4421 2001-12-11 Michael Meeks <michael@ximian.com>
4423 * libspi/libspi.h: remove registry.h and
4424 desktop.h, deviceeventcontroller.h
4426 * libspi/Makefile.am: remove registry.[ch],
4427 desktop.[ch], deviceeventcontroller.[ch]
4429 * registryd/Makefile.am: add registry.[ch],
4430 desktop.[ch], rename registryd.c to registry-main.c.
4431 add deviceeventcontroller.[ch]
4433 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4436 Replace setenv() call with putenv ().
4438 * libspi/component.c:
4439 Bugfix in AccessibleComponent_getExtents (),
4442 2001-12-11 Michael Meeks <michael@ximian.com>
4444 * libspi/image.c (impl_getImageExtents): impl.
4445 (spi_image_class_init): upd.
4448 (AccessibleImage_getImageDescription): fix daft bug
4451 * test/test-simple.c (global_listener_cb): update
4452 to only quit if not --poke
4453 (main): catch --poke.
4454 (validate_accessible): upd. dumping, call test_image
4457 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4460 * idl/Accessibility.idl: update all IDL includes.
4462 * idl/*.idl - rename to namespace - this sucks, blame
4463 mjs' bad decision for oafd.
4465 * test/test-simple.c (create_test_window): add more tests.
4466 (create_tree): split this out.
4467 (validate_accessible): bugfix.
4469 2001-12-11 Michael Meeks <michael@ximian.com>
4471 * cspi/bonobo/cspi-bonobo-listener.c:
4472 (cspi_kestroke_listener_unref),
4473 (cspi_event_listener_unref): impl. undoing previous
4474 homenous environment - for Bill.
4476 * cspi/spi_table.c (long_seq_to_array): use
4479 * cspi/spi_main.c: split out all bonoboish bits into
4482 * cspi/spi-impl.h: upd. typedefs.
4484 * cspi/spi_registry.c: update to lowlevel API,
4485 return booleans to indicate success in some places.
4487 * cspi/spi_event.c: update to lowlevel API.
4489 * cspi/bonobo/Makefile.am: add.
4491 * cspi/bonobo/cspi-lowlevel.h: add
4493 * cspi/bonobo/cspi-bonobo.c: add
4495 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4497 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4498 (SUBDIRS): add bonobo, link in the libs.
4500 * cspi/spi-util.c: kill this file.
4502 * TODO: merge in my bits.
4504 2001-12-11 Michael Meeks <michael@ximian.com>
4506 * test/test-simple.c (test_value, test_table, main):
4507 remove unused variables causing warnings.
4509 * configure.in: cleanup checks - require gail.
4511 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4514 Changed Value interface to use SValue (scalars) rather than
4515 assuming all values are floats. This allows floats, doubles,
4516 longs, shorts, and unsigned values to be manipulated.
4517 Introduced Accessibility:SValue union.
4520 Updated to use new API above, and to work correctly with GValues
4521 of different types in AtkValue.
4524 Updated to use new API above. cspi's API is as yet unchanged.
4527 Updated the Value revision action item.
4529 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4531 * test/test-simple.c:
4532 Added test_table (GtkTreeView widget in test window to follow).
4533 Un-commented test_value, added GtkRange widget.
4534 Added GtkTreeView widget with GtkListStore. It passes regression
4535 test but leaks one SPI object for some reason.
4538 Fixed bug in impl__set_currentValue.
4540 2001-12-10 Michael Meeks <michael@ximian.com>
4542 * cspi/spi_text.c: audit for exception handling,
4543 tolerating NULL object references safely etc.
4545 * cspi/spi_value.c: ditto.
4547 * cspi/spi_table.c (AccessibleTable_getSummary),
4548 (AccessibleTable_getAccessibleAt),
4549 (AccessibleTable_getRowHeader),
4550 (AccessibleTable_getColumnHeader),
4551 (AccessibleTable_getCaption): fix bugs hidden by
4553 (long_seq_to_array): impl.
4554 (AccessibleTable_getSelectedRows),
4555 (AccessibleTable_getSelectedColumns): use it.
4557 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4560 Added a TODO list (rough and short for now).
4562 * cspi/spi_hyperlink.c:
4563 * cspi/spi_hypertext.c:
4564 Fixed macro name typos, and remove use of obsolete macro in
4565 AccessibleHyperlink_getLink.
4567 * cspi/spi_action.c:
4568 * cspi/spi_accessible.c:
4569 * cspi/spi_application.c:
4570 * cspi/spi_component.c:
4571 * cspi/spi_selection.c:
4574 Documentation fixes (removed return values from ref/unref methods).
4576 2001-12-10 Michael Meeks <michael@ximian.com>
4578 * cspi/spi_action.c: audit for exception handling,
4579 tolerating NULL object references safely etc.
4581 * cspi/spi_accessible.c: ditto.
4583 * cspi/spi_component.c: ditto.
4585 * cspi/spi_editabletext.c: ditto.
4587 * cspi/spi_hyperlink.c: ditto.
4589 * cspi/spi_hypertext.c: ditto.
4591 * cspi/spi_image.c: ditto.
4593 * cspi/spi_selection.c: ditto.
4595 2001-12-10 Michael Meeks <michael@ximian.com>
4597 * configure.in: use cspi/libspi.pc.in instead.
4599 * Makefile.am (pkgconfig_DATA): upd. to match.
4601 * test/simple-at.c (report_focus_event): kill hacks around
4602 bad return values, use putenv not setenv
4604 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4605 fire ChildGone - I killed it.
4607 * libspi/component.c
4608 (impl_accessibility_component_get_extents): remove
4611 * idl/Accessible.idl: kill ChildGone exception.
4613 * cspi/*.[ch]: kill int return from ref / unref.
4615 * cspi/spi_main.c (cspi_object_add_check): fold into
4616 (cspi_object_add): here.
4618 * cspi/spi_component.c (AccessibleComponent_getExtents):
4619 handle exceptions elegantly.
4621 * cspi/spi-private.h (cspi_check_ev_return),
4622 (cspi_return_if_fail): impl.
4624 * cspi/spi_accessible.c: use extensively.
4625 (AccessibleStateSet_equals): add direct compare check.
4627 * cspi/spi_selection.c: tolerate NULL objs, and check
4628 exceptions before return.
4630 * cspi/spi-util.c (cspi_warn_ev): rename to
4631 (cspi_check_ev): this & don't pass ev in; no point.
4633 2001-12-10 Michael Meeks <michael@ximian.com>
4635 * test/test-simple.c: use putenv not setenv
4636 (get_environment_vars): more chatty if you're not using
4639 * test/simple-at.c: do the setenv so more people see the
4642 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4644 * libspi/registry.c:
4645 Changed check of CORBA_environment on notification to be a warning
4646 instead of an error for the moment, since we can recover from this
4647 error when caused by a queued notification from a dead app.
4650 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4651 used by all current implementors of AtkValue), and coerce to
4652 CORBA_float. (Proper general case fix may require change to Value.idl).
4654 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4658 * cspi/spi_accessible.c:
4659 Documentation fixes: added user_data params to documentation for
4660 listeners and callbacks.
4662 * cspi/spi_accessible.c:
4663 Changed AccessibleStateSet_compare to return a
4664 StateSet rather than return the difference set into a third parameter.
4667 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4670 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4671 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4675 Remove subdirectory po from SUBDIRS for now.
4677 * at-bridge/bridge.c:
4678 Beefed up a couple of debug printouts.
4679 One-line fix for signal notification name formatting.
4681 * libspi/accessible.c:
4682 Added assertion to spi_accessible_new ().
4684 * libspi/application.c:
4685 Put #ifdef qualifiers around a printf.
4688 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4690 * registryd/Makefile.am:
4692 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4693 INTLTOOL_SERVER_RULE macro.
4696 Added an event listener for several ATK signals, for
4697 testing and debugging. Removed a few g_warnings.
4698 Added test output if focussed item implements the Value interface.
4700 * test/test-simple.c:
4701 Added test_value () function (known not to pass at the moment, so
4702 not actually called yet.
4704 2001-12-08 Michael Meeks <michael@ximian.com>
4706 * at-bridge/bridge.c (bridge_focus_tracker),
4707 (emit_eventv): fix the same ref. leak.
4708 (register_atk_event_listeners): don't leak.
4710 * cspi/spi-listener-impl.c (cspi_event): more
4711 protection from client code.
4713 * test/test-simple.c (test_desktop): unref the app.
4715 * test/Makefile.am: upd. TESTS.
4717 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4719 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4721 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4723 * cspi/spi_registry.c: constify in strings.
4724 (deregisterGlobalEventListenerAll): don't release the ref.
4726 * cspi/spi.h: start removing redundant / conflicting
4727 gtkdoc comments, making the API readable at a glance :-)
4729 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4731 * test/keysynth-demo.c (keysynth_exit, main): upd.
4733 * test/simple-at.c (main, simple_at_exit): upd.
4735 * test/test-simple.c (unutterable_horror): kill.
4736 (utterable_normal_derefs): kill.
4737 (main): upd & do a setenv before gtk_init, so that we
4738 can use memprof - and to save the pain of remembering
4739 this, if we're running under memprof - don't exit.
4741 * cspi/spi_main.c (SPI_exit): return exit status
4743 (SPI_event_quit): impl.
4744 (SPI_event_main): simplify.
4745 (cspi_is_gnome_app): kill.
4746 (SPI_init): kill isGNOMEapp arg.
4748 * at-bridge/bridge.c (register_atk_event_listeners):
4749 re-instate the unref.
4750 (bridge_exit_func): don't re-activate the registry,
4751 protect vs. theoretical re-entry, use the
4752 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4753 assert a clean shutdown - for regression tests.
4755 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4757 * configure.in: Comment out dummy i18n support for now,
4758 otherwise it fails to build.
4759 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4760 EXTRA_DIST. They are missing in tarball.
4762 2001-12-07 Michael Meeks <michael@ximian.com>
4764 * util/magnifier.c: kill bonobo activation reg. race.
4766 * libspi/component.c
4767 (impl_accessibility_component_get_extents): make it match
4770 * libspi/registry.c (_registry_notify_listeners):
4771 re-remove X headers & reconcile conflicts.
4772 (spi_listener_struct_free): bad conflict resolve.
4773 (impl_accessibility_registry_register_application):
4774 more bad merging fixed.
4775 (impl_accessibility_registry_deregister_application): ditto.
4776 (spi_registry_new): ditto.
4777 (spi_registry_init): don't have an applications field.
4779 [ merge fixups2 branch to here ]
4780 2001-12-07 Michael Meeks <michael@ximian.com>
4782 * test/simple-at.c (report_focus_event),
4783 (report_focussed_accessible): remove g_warning debug.
4785 2001-12-07 Michael Meeks <michael@ximian.com>
4787 * test/test-simple.c (validate_tree): comment out some checks.
4788 (test_desktop): app now not registered idly - horay.
4790 2001-12-07 Michael Meeks <michael@ximian.com>
4792 * cspi/spi_registry.c
4793 (registerAccessibleKeystrokeListener): clean, stop it leaking
4794 great swathes of memory, and device event controller references.
4795 ensure we always pass valid sequences.
4796 (deregisterAccessibleKeystrokeListener): ditto.
4797 (generateKeyEvent): upd.
4799 * at-bridge/bridge.c (bridge_key_listener): handle
4800 registry dead exception gracefully.
4801 (bridge_focus_tracker, emit_eventv): free ev.
4803 * test/simple-at.c (report_focus_event): fix polarity.
4805 * libspi/application.c (notify_listeners): kill the ev
4806 argument, and make sure we init the ev we use.
4807 (spi_application_object_event_listener): split out a chunk
4808 (get_atk_object_ref): here & fixup.
4809 (reverse_lookup_name_for_toolkit_event): make const.
4810 (spi_application_toolkit_event_listener): fixup, kill leaks
4813 * at-bridge/bridge.c (register_atk_event_listeners):
4814 don't unref the noop object - causes grief.
4816 * libspi/registry.c: remove the X headers.
4817 turn off the debug churn.
4819 * libspi/accessible.c (spi_accessible_new_return): only
4820 release the ref if we are supposed to [doh]
4822 * test/simple-at.c (report_button_press, report_focus_event):
4823 guard vs. unexpected exit.
4825 * at-bridge/bridge.c (gtk_module_init): prune printf.
4826 (bridge_exit_func): fix app unref.
4828 * libspi/Makefile.am: don't install registry or desktop.h
4830 * libspi/*.h: update includes.
4832 * libspi/application.h: don't include ourself, or
4833 other redundant headers.
4835 2001-12-06 Michael Meeks <michael@ximian.com>
4837 * libspi/accessible.c
4838 (get_accessible_from_servant): impl.
4839 Upd. all CORBA impl.s to use it killing cut and paste.
4841 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4843 (SPI_init): register atexit cleanup handler here.
4845 2001-12-06 Michael Meeks <michael@ximian.com>
4847 * at-bridge/bridge.c (gtk_module_init): g_error on
4848 activation exception
4850 2001-12-06 Michael Meeks <michael@ximian.com>
4852 * at-bridge/bridge.c (gtk_module_init): some sort of
4853 confusing merge clash - reverted.
4854 (bridge_idle_init): ditto.
4856 * test/test-simple.c (main, utterable_normal_derefs):
4857 merge from Bill - somehow not committed.
4859 2001-12-06 Michael Meeks <michael@ximian.com>
4861 * libspi/value.c (spi_value_class_init): upd.
4862 (spi_value_finalize): kill.
4864 * libspi/table.c (spi_table_finalize): kill.
4865 (spi_table_interface_new): upd.
4866 (spi_table_class_init): upd.
4867 (get_table_from_servant): impl.
4868 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4870 * libspi/selection.c (spi_selection_finalize): kill.
4871 (spi_selection_interface_new): upd.
4872 (spi_selection_class_init): upd.
4873 (get_selection_from_servant): impl.
4874 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4876 * libspi/relation.c (spi_relation_finalize): kill.
4877 (spi_relation_class_init, spi_relation_new): upd
4879 * libspi/image.c (spi_image_finalize): kill.
4880 (spi_image_class_init): upd.
4881 (spi_image_interface_new): upd.
4882 (get_image_from_servant): impl.
4883 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4885 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4886 (spi_hyperlink_finalize): kill.
4887 (spi_hyperlink_new): upd.
4888 (get_hyperlink_from_servant): impl.
4889 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4891 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4892 (spi_hypertext_finalize): kill.
4893 (spi_hypertext_class_init): upd.
4894 (get_hypertext_from_servant): impl.
4895 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4897 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4898 (spi_editable_text_interface_new): upd.
4899 (get_editable_text_from_servant): impl.
4900 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4902 * libspi/text.c (get_text_from_servant): impl.
4903 All impls - update to use it killing more cut and paste,
4904 also fix bad string returns on duff args ( a somewhat
4905 impossible case to handle - but hey ).
4906 (spi_text_construct): impl.
4907 (spi_text_interface_new): upd.
4908 (spi_text_object_finalize): kill.
4910 * libspi/component.c
4911 (accessibility_component_object_finalize): kill.
4912 (spi_component_class_init): upd.
4913 (get_component_from_servant): impl. helper to kill cut & paste.
4914 (impl_accessibility_component_contains):
4915 (impl_accessibility_component_get_accessible_at_point):
4916 (impl_accessibility_component_get_position):
4917 (impl_accessibility_component_get_extents):
4918 (impl_accessibility_component_get_mdi_z_order):
4919 (impl_accessibility_component_get_layer):
4920 (spi_component_interface_new): upd.
4922 * libspi/action.c (spi_action_finalize): kill.
4923 (spi_action_class_init): upd. inherit from SpiObject.
4924 (spi_action_interface_new): upd.
4925 (get_action_from_servant): impl. helper to reduce cut & paste.
4926 (impl_getKeyBinding, impl_getName, impl_doAction),
4927 (impl_getDescription): Use it everywhere.
4929 * cspi/spi_main.c (get_live_refs): a pointer hash.
4930 (spi_object_hash, spi_object_equal): comment out.
4931 There are issues with CORBA object hashing that need
4934 * libspi/application.c (spi_application_init),
4935 (spi_application_new): upd.
4937 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4938 (spi_accessible_class_init): upd.
4939 s/accessible/object/ in epv methods.
4941 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4943 * at-bridge/bridge.c:
4944 Reorder the bridge initialization into the bridge gtk_module_init,
4945 an immediate call to bridge_register_app, and an idle_add for
4946 register_atk_event_listeners (the only code that *must* wait until
4947 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4948 the activation, creates the application's Accessible object, and
4949 queues the bridge_idle_init function. Restored call to
4950 Accessibility_Registry_deregisterApplication().
4951 Prior to making this call we obtain a new reference to the
4952 registry, which is a temporary hack that helps us handle apps that
4953 shut down the bonobo mainloop before we get there.
4955 * libspi/registry.c:
4956 Fix string leakage in debug block, and don't segv if a an app
4957 dies before its event notifications have been propagated.
4960 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4961 as stopgap measure until we get proper exception handling when
4962 objects die during or before interrogation.
4966 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4967 Also changed default value of is_gnome_app to TRUE.
4970 * test/keysynth-demo.c:
4971 Changed use of SPI_init and SPI_event_main to reflect API change above.
4974 Made report_focus_event check the warning value from getName
4975 before reporting on focussed accessible; simplifies handling of
4976 notifications from dead objects.
4978 * test/test-simple.c: (Changes not in this patch since source is
4981 2001-12-05 Michael Meeks <michael@ximian.com>
4983 * registryd/registryd.c (main): protect against
4984 bonobo-activation startup race condition.
4986 * cspi/spi_main.c (cspi_object_add_check): cope
4987 with the exception elegantly.
4989 * idl/Accessible.idl: decl. ChildGone
4991 * libspi/desktop.c (spi_desktop_dispose): impl.
4992 (spi_desktop_class_init): upd.
4993 (spi_desktop_add_application),
4994 (spi_desktop_remove_application),
4995 (abnormal_application_termination): impl.
4996 (impl_desktop_get_child_at_index): re-impl.
4999 (impl_accessibility_registry_deregister_application),
5000 (impl_accessibility_registry_register_application):
5001 kill excessive debug clutter.
5003 * test/test-simple.c (test_misc): test some NULL
5004 tolerance. (main): upd.
5006 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5007 implements no interfaces - so let's not crash.
5009 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5011 * libspi/accessible.c (spi_accessible_new_return): impl.
5012 helper to calm the cut and paste, to cope with
5013 NULL AtkObjects effectively and efficiently, and to kill
5014 the referencing bugs.
5016 * libspi/table.c (impl_getAccessibleAt),
5017 (impl_getRowHeader, impl_getColumnHeader): upd.
5019 * libspi/hyperlink.c (impl_getObject): upd.
5021 * libspi/accessible.c
5022 (impl_accessibility_accessible_get_child_at_index): upd.
5024 * libspi/component.c
5025 (impl_accessibility_component_get_accessible_at_point): upd.
5027 * test/test-simple.c (test_editable_text, test_text): impl.
5030 * cspi/spi_editabletext.c
5031 (AccessibleEditableText_insertText): constify.
5033 * test/test-simple.c (focus_me): make more robust.
5035 * libspi/accessible.c: remove some printfs in methods that
5036 we test and work fine, so we can get a clean tree dump.
5038 * test/test-simple.c (validate_accessible),
5039 (validate_tree): make tree dumping pretty too.
5041 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5042 it builds without debug on.
5044 * test/test-simple.c (validate_accessible): fix the most
5047 * cspi/spi_main.c (spi_object_release): leave the nicely
5048 blanked memory around if in debug mode.
5050 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5052 [committed to fixups2]
5053 2001-12-05 Michael Meeks <michael@ximian.com>
5055 * libspi/editabletext.c
5056 (spi_editable_text_class_init): g_type_class_peek_parent,
5057 not interface peek - so we finalize cleanly.
5059 * libspi/accessible.c (spi_accessible_new): kill debug.
5061 * test/test-simple.c (validate_accessible): fix ref.
5062 leak, print strings before freeing them; sigh, comment a
5063 chunk out due to strangeness.
5064 (validate_tree): unref the child after use.
5066 * cspi/spi_component.c (AccessibleComponent_getLayer):
5067 add missing break statement, switch on zlayer not the
5068 uninitialized retval.
5070 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5071 before (possibly re-entering) remote unref.
5073 * test/simple-at.c (main): unref the desktop.
5075 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5078 * cspi/spi_main.c (cspi_accessible_is_a): here to
5079 isolate bonobo API usage more.
5081 * libspi/registry.c (impl_accessibility_registry_register_application):
5082 prune bogus comment.
5084 2001-12-04 Michael Meeks <michael@ximian.com>
5086 * test/test-simple.c (validate_tree): upd.
5087 IndexInParent check to make it more lucid.
5088 (validate_accessible): dump the tree.
5090 * libspi/accessible.c (de_register_public_ref),
5091 (get_public_refs): impl.
5092 (spi_accessible_new): make more efficient & intuitive.
5093 Now IndexInParent check works.
5095 2001-12-04 Michael Meeks <michael@ximian.com>
5097 * cspi/spi-util.h: remove.
5099 * cspi/spi.h: move SPI_freeString here
5101 * libspi/component.c (impl_accessibility_component_get_layer):
5103 (impl_accessibility_component_get_mdi_z_order): ditto,
5104 return -1 on error - is this ok ?
5106 * test/test-simple.c (test_application): impl.
5108 * cspi/spi_accessible.c (Accessible_getApplication),
5109 (Accessible_isApplication): impl.
5111 * libspi/registry.c (spi_listener_struct_free): release
5112 the CORBA reference too.
5114 * libspi/accessible.c
5115 (impl_accessibility_accessible_get_parent): fix ref leak.
5117 * libspi/registry.c (spi_registry_new): make the registry
5118 immortal - we don't want it to go away ever.
5120 * libspi/application.c
5121 (spi_accessible_application_finalize): impl. cleanup.
5123 * cspi/spi_registry.c
5124 (deregisterGlobalEventListenerAll),
5125 (deregisterGlobalEventListener),
5126 (deregisterAccessibleKeystrokeListener): fix ref leak.
5128 * cspi/spi_main.c (SPI_init): remove redundant ref.
5130 * test/test-simple.c (unutterable_horror): impl. to force a
5135 (impl_accessibility_registry_deregister_application): release
5136 the application when we de-register it.
5138 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5139 until we have the infastructure to get it right.
5141 2001-12-03 Michael Meeks <michael@ximian.com>
5143 * libspi/Makefile.am: only build eventlistener.[ch]
5145 * libspi/accessible.c
5146 (impl_accessibility_accessible_get_child_at_index): don't leak.
5148 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5149 before we hit the idle handler.
5151 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5152 debugging than exit.
5154 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5156 * libspi/listener.c (impl_notify_event): check source
5157 not NIL before unref.
5159 * libspi/registry.c (impl_registry_notify_event): ditto.
5161 * libspi/eventlistener.c
5162 (impl_accessible_event_notify_event): unref the source.
5164 * libspi/accessibleeventlistener.c
5165 (impl_accessible_event_notify_event): unref the source.
5167 * idl/Event.idl: remove 'hash_id' attribute - of no
5170 * libspi/application.c (notify_listeners): upd list
5172 (spi_application_object_event_listener),
5173 (spi_application_toolkit_event_listener): upd to do correct
5177 (_registry_notify_listeners): update.
5178 (parse_event_type): this method also leaks like a sieve.
5179 (impl_accessibility_registry_deregister_global_event_listener):
5180 fix ETYPE_WINDOW case.
5182 * libspi/application.c
5183 (impl_accessibility_application_register_object_event_listener):
5186 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5188 * libspi/hypertext.c (impl_getLink): ditto.
5190 * cspi/spi_main.c (cspi_object_add): remove
5191 bogus CORBA_Object_duplicate.
5193 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5196 * cspi/spi_accessible.c
5197 (Accessible_getRelationSet): fix leak / referencing issue.
5199 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5200 (cspi_object_add, cspi_object_unref): upd.
5201 (spi_object_release, get_live_refs): impl.
5202 (cspi_cleanup): simplify.
5204 * *.[ch]: s/boolean/SpiBoolean/
5206 * cspi/spi_accessible.c (role_names): actualy order so it
5207 corresponds with the enum !
5209 * test/test-simple.c (test_roles): check some role strings
5210 vs. enums to detect offset errors.
5212 2001-12-01 Michael Meeks <michael@ximian.com>
5214 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5216 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5218 (Accessible_getChildAtIndex): use cspi_add_check so we
5219 check the ev before using a (possibly) invalid value.
5221 * libspi/accessible.c
5222 (impl_accessibility_accessible_get_parent): don't segv
5225 * at-bridge/bridge.c (gtk_module_init): upd.
5226 (bridge_property_event_listener): don't leak strings
5228 (bridge_state_event_listener),
5229 (bridge_property_event_listener): don't use a static
5230 buffer in case of recursive event emission &
5231 re-enterancy - split out the swathe of cut and paste
5233 (emit_eventv): and fix 2 ref leaks here & comply to the
5235 (bridge_register_app): rename to
5236 (bridge_idle_init): this and kill arg parsing, split
5237 various inits & bonobo-activation registration to module
5238 init time, kill referencing error.
5239 (bridge_exit_func): fix the same leak.
5240 (bridge_focus_tracker): don't leak event structures
5242 (bridge_signal_listener): more leakage and cut & paste
5244 (bridge_key_listener): return the result - FIXME is
5245 this polarity correct ?
5246 (accessibility_keystroke_from_atk_key_event): rename
5247 (accessibility_init_keystroke_from_atk_key_event): and stop
5249 (gtk_module_init): return a value - not that it is checked by
5251 (bridge_key_listener): register my horror at casting between
5252 IDL defined structs.
5253 (bridge_get_registry): kill - not used.
5255 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5257 * test/test-simple.c (test_roles): impl.
5258 (test_desktop, validate_accessible, validate_tree): impl.
5260 * cspi/spi_accessible.c (role_names): fixup bogus
5261 MAX_ROLES setup, make constants const for efficient linkage
5262 (AccessibleRole_getName): conform to coding style, make
5265 2001-11-30 Michael Meeks <michael@ximian.com>
5267 * cspi/spi.h: add missing prototype.
5269 * libspi/registry.c (spi_listener_struct_new): fix sig.
5271 * test/Makefile.am: add test-simple
5273 * test/test-simple.c: add
5275 * test/test.sh: add.
5277 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5279 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5280 do it straight - since otherwise we often get an activation race.
5282 [ work before Bill duplicated a chunk of it ... ]
5283 2001-11-30 Michael Meeks <michael@ximian.com>
5285 * libspi/keystrokelistener.c
5286 (spi_keystroke_listener_class_init): fixup arg
5289 * libspi/eventlistener.c
5290 (spi_event_listener_class_init): ditto.
5292 * tests/test.sh: add.
5294 * cspi/spi-listener-impl.h: update macros.
5296 * cspi/spi-listener-impl.c
5297 (cspi_event_listener_remove_callback): add
5298 correct pre-conditions.
5300 * cspi/spi_main.c (SPI_exit): guard vs. double
5301 exits, exit the mainloop nicely.
5302 (SPI_event_main): make more sense.
5303 (SPI_init): move the atexit evilness here so we
5304 always do it (yuck).
5305 (SPI_event_main): upd.
5307 * test/simple-at.c: update for listener changes.
5309 * registryd/registryd.c (main): prune kruft.
5311 * libspi/libspi.h: upd.
5313 * libspi/eventlistener.[ch]: rename broken macros.
5315 * libspi/accessibleeventlistener.[ch]: remove.
5317 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5319 * test/test-simple.c: Add - automated tests.
5321 * cspi/spi-listener-impl.c (cspi_event),
5322 (cspi_key_event): add user_data to invoke.
5323 (cspi_keystroke_listener_finalize): impl.
5324 (cspi_keystroke_listener_class_init): upd.
5327 (createAccessibleEventListener),
5328 (AccessibleEventListener_addCallback),
5329 (createAccessibleKeystrokeListener),
5330 (AccessibleKeystrokeListener_addCallback): upd.
5332 * libspi/deviceeventcontroller.c
5333 (spi_device_event_controller_check_key_event): add public proto.
5336 (impl_accessibility_registry_deregister_global_event_listener):
5337 always init listeners.
5338 (_registry_notify_listeners): yes it is.
5340 * cspi/spi-listener-impl.c (cspi_key_event):
5342 (cspi_event_listener_finalize): impl.
5343 (cspi_event_listener_class_init): hook up.
5344 (event_handler_new, event_handler_free),
5345 (event_list_remove_by_callback): impl.
5346 (cspi_event_listener_remove_callback),
5347 (cspi_keystroke_listener_remove_callback),
5348 (cspi_keystroke_listener_add_callback),
5349 (cspi_event_listener_add_callback): upd.
5351 * libspi/keystrokelistener.c
5352 (keystroke_listener_object_finalize): kill
5353 (spi_keystroke_listener_class_init): upd.
5354 (spi_keystroke_listener_add_callback),
5355 (spi_keystroke_listener_remove_callback): kill,
5357 (impl_key_event): prune drasticaly.
5359 * libspi/eventlistener.c
5360 (spi_event_listener_add_callback),
5361 (spi_event_listener_remove_callback): kill, use
5363 (impl_accessible_event_notify_event): upd.
5364 (spi_event_listener_object_finalize): remove.
5366 * libspi/Makefile.am: use eventlistener.[ch]
5368 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5370 * libspi/registry.c (_registry_notify_listeners):
5371 Changed listener loop iteration to use preferred convention.
5372 Got rid of string memory leaks caused be calling g_strconcat
5373 inside function calls.
5375 * libspi/registry.c (parse_event_type):
5376 Stopped g_strconcat memory leaks, free the g_strsplit return,
5377 g_strdup the split pieces when used, etc.
5379 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5382 Change method 'compare' to return a 'difference set' rather than
5383 taking a StateSet as an out parameter (more Java-friendly).
5385 * idl/Accessible.idl:
5386 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5388 * idl/Component.idl:
5390 Changed methods 'getExtents' and 'getImageExtents' in these
5391 interfaces to return a BoundingBox structure.
5392 (getPosition and getSize are redundant and possibly should be
5393 removed, rather than creating a corresponding Point struct.)
5395 * cspi/spi_component.c:
5396 Modify implementation of getExtents to reflect the above IDL
5401 Add (missing) AccessibleImage_getExtents () API.
5403 * docs/reference/cspi/at-spi-cspi-sections.txt:
5404 Added AccessibleImage_getImageExtents () to docs.
5406 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5408 * idl/Component.idl:
5409 Added two methods, getLayer () and getMDIZOrder (), to reflect
5410 the new ATK methods atk_object_get_layer and
5411 atk_object_get_mdi_z_order. (Which arguably should be part of the
5412 AtkComponent API and AtkObject). Also added an enum,
5413 ComponentLayer, for the first method's return value.
5415 * libspi/component.c:
5416 Added implementations for these methods.
5418 * cspi/spi_component.c:
5420 Added cspi binding methods for above,
5421 AccessibleComponent_getLayer() and
5422 AccessibleComponent_getMDIZOrder().
5423 Added cspi enum 'AccessibleComponentLayer'.
5425 * docs/reference/cspi/at-spi-cspi-sections.txt:
5426 Added above methods to docs.
5430 Changed typedef for 'boolean' type (and all references to it) to
5431 SPIBoolean, to avoid keyword clashes with C++.
5434 Changed usages of 'boolean' to SPIBoolean.
5436 * test/keysynth-demo.c:
5437 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5438 app), except where SPIBoolean is required by the callbacks API.
5440 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5442 * cspi/spi_registry.c:
5443 Removed obsolete X event loop for passive keygrabs (which now
5446 * registryd/registryd.c:
5447 Removed unnecessary call to gdk_init() [cruft]. This also allows
5448 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5451 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5453 * docs/reference/cspi:
5454 Included docs for SPI_freeString in generated documentation.
5457 Renamed spi_freeString to SPI_freeString, for consistency. Added
5458 documentation for this function.
5461 Renamed spi_freeString to SPI_freeString, for consistency.
5462 Removed obsolete method declaration string_from_corba_string.
5464 * test/keysynth-demo.c:
5465 Small tweak to comments.
5468 Stopped leaking the strings returned from CSPI.
5470 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5472 Merged Michael's branch (see his ChangeLog entries below).
5474 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5475 bridge is alive, release on exit.
5477 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5478 Fix type check macro.
5481 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5484 Added is_gnome_app static, and method cspi_is_gnome_app(),
5485 so we can call the appropriate shutdown routine at exit in SPI_exit.
5487 * cspi/spi_main.c (cspi_object_ref):
5488 Duplicate the corba object passed in, since we're keeping it around.
5490 * cspi/SPI_exit.c, cspi_cleanup:
5491 Moved the releasing of the live refs to its own function, so we
5492 can put it in g_atexit (). Call the appropriate shutdown API
5493 depending on whethe calling client is a gnome app or not
5494 (bonobo_main_quit or CORBA_ORB_shutdown).
5496 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5497 Unref the listener when this method is called, after
5498 deregistration. Updated the API docs to note this behavior.
5500 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5501 Bugfixes: Ref the bonobo object when returning a parent or child
5502 reference, or an AccessibleRelation. Generally made sure
5503 BonoboObject refcount is incremented whenever we return an
5506 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5507 Fixed typo/bug in signal declaration.
5509 * libspi/accessibleeventlistener.h:
5512 * libspi/application.c (spi_application_new):
5513 Fixed leak in initialization.
5516 Remembered to increment bonobo-object refcount when returning
5517 children (applications) from desktop object.
5518 Added (empty) finalize method.
5520 * libspi/deviceeventcontroller.c:
5521 Hold a ref to listeners inside DEControllerKeyListeners.
5522 Added dec_key_listener_free() method. Use prepend instead of
5523 append in key_listener list. Fixed some refcount madness and
5524 leaks in the listener registration/deregistration - deregistration
5525 now calls dec_key_listener_free() on listeners, and on the
5526 temporarily constructed dec_key_listener() used to perform the search/match.
5528 * libspi/hypertext.c (spi_hypertest_finalize):
5529 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5530 class. Also fixed spi_hypertext_interface_new() and
5531 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5533 * libspi/hypertext.h:
5534 Removed pointless and duplicate AtkObject pointer from
5537 * libspi/keystrokelistener.c:
5538 Fixed incorrect type of keystroke_listener_parent_class,
5539 renamed keystroke_listener_object_finalize to
5540 spi_keystroke_listener_object_finalize.
5541 Fixed typo in signal declaration
5542 (spi_keystroke_listener_class_init).
5544 * libspi/registry.c:
5545 Added funcsions spi_listener_struct_new() and
5546 spi_listener_struct_free() to help with memory management issues.
5547 We also now use these methods instead of gnew + poking stuff into
5548 the struct, and to decrement listener counts/free the listeners
5549 when deregistering them.
5550 Fix more refcount bugs in getDesktop() and
5551 getDeviceEventController().
5554 De-ref the desktop after enumerating the applications. Explicitly
5555 decrement the refcounts on the created listeners on exit (using
5556 _unref for keystroke listeners, and via the
5557 deregisterGlobalEventListenerAll command for other event
5560 2001-11-27 Michael Meeks <michael@ximian.com>
5562 * cspi/spi-listener.h: fixup enum.
5564 2001-11-27 Michael Meeks <michael@ximian.com>
5566 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5567 (cspi_keystroke_listener_new): Use the cspi variants.
5569 2001-11-26 Michael Meeks <michael@ximian.com>
5571 * test/keysynth-demo.c: fix 2 compile warnings, missing
5574 * test/simple-at.c (report_focussed_accessible),
5575 (report_focus_event, report_button_press),
5576 (check_property_change, is_command_key),
5577 (report_ordinary_key_event, report_command_key_event): upd.
5579 * util/mag_client.h: include pre-requisites.
5581 * libspi/accessibleeventlistener.c
5582 (spi_event_listener_object_finalize): free any lingering
5585 * libspi/keystrokelistener.c
5586 (keystroke_listener_object_finalize): ditto.
5588 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5589 callbacks, with cspi types.
5591 * cspi/spi_event.c (createAccessibleEventListener): chain to
5592 (AccessibleEventListener_addCallback): here.
5593 (createAccessibleKeystrokeListener): chain to
5594 (AccessibleKeystrokeListener_addCallback): here.
5596 * libspi/keystrokelistener.c
5597 (spi_keystroke_listener_class_init): add signal.
5598 (impl_key_event): emit the event.
5599 (boolean_handled_accumulator): impl.
5600 (marshal_BOOLEAN__POINTER): add, gack.
5602 * libspi/accessibleeventlistener.c
5603 (spi_event_listener_class_init): add signal.
5604 (impl_accessible_event_notify_event): emit the signal &
5605 make the loop efficient.
5606 (spi_event_listener_add_callback): prepend the callback.
5608 * libspi/accessibleeventlistener.h: add an 'event' signal,
5609 decl type on callback.
5611 * libspi/keystrokelistener.h: ditto.
5613 * cspi/spi-listener.h: make methods typesafe and
5614 make them use the new event typedefs.
5616 * test/simple-at.c (report_focussed_accessible):
5617 include mag_client.h
5618 Use *(void *)text_interface not the other thing.
5620 * configure.in: add gtk to registryd bits - since we use
5623 * util/magnifier.c: include libbonobo.h
5625 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5627 * test/keysynth-demo.c:
5628 Turned this into a simple scanning keyboard, to demonstrate the
5629 use of g_timeout_add () as a means of creating timers for
5630 scanning, and the use of GtkStyle for visually indicating when
5631 virtual keyboard elements are selected.
5633 keysynth-demo now listens to any keyboard keys with zero-valued
5634 keycodes (i.e. 'unused' keys) and interprets them as
5637 Reworked the shiftlatch code so that shift-down state isn't held
5638 for long periods (it's only synthesized immediately prior to
5639 the keysynth event it's modifying). Note that shiftlatch in this
5640 demo is a convenience, not intended to take the place of AccessX
5641 which is the better choice for getting 'sticky' modifier keys.
5643 * libspi/deviceeventcontroller.c:
5644 * at-bridge/bridge.c:
5645 * cspi/spi_registry.c:
5646 Removed some debug print stuff, and put other verbosity in #ifdef
5651 Implemented some more of the magnifier IDL for the simple
5652 magnifier: namely, getZoomRegionParams.
5653 Added mag_x and mag_y members to MagnifierData struct, aid of this
5655 Added GtkWindow::realize signal handler to magnifier, to keep it
5656 from receiving keyboard focus from the WM.
5658 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5660 * cspi/spi-private.h: my guess at what michael forgot
5661 before he ran off to NZ :-)
5663 2001-11-23 Michael Meeks <michael@ximian.com>
5665 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5666 comment out non existant method invoke so we link.
5668 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5669 use bonobo_exception_get_text for more friendly warnings.
5671 * cspi/spi.c (Obj_Add): move into spi_main & rename
5672 spi_object_add; kill spi.c
5674 * cspi/spi_registry.c
5675 (deregisterGlobalEventListener),
5676 (deregisterGlobalEventListenerAll),
5677 (registerGlobalEventListener): fix exception leaks.
5679 * cspi/spi_main.c (spi_exception): impl. helper, so we
5680 don't leak exceptions.
5682 * cspi/spi_selection.c
5683 (AccessibleSelection_deselectSelectedChild): return the
5686 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5687 (spi_registry): ditto.
5688 (SPI_init): guard against double inits.
5690 * cspi/*.c: use spi_ev (), and spi_registry () where
5691 appropriate - a temporary hack until we have something
5692 better. Use spi_object_add
5694 2001-11-22 Michael Meeks <michael@ximian.com>
5696 * cspi/Makefile.am: re organise, install the headers.
5698 * cspi/*.h: add G_BEGIN/END_DECLS
5700 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5703 Added non-preemptive keylistener for key events with no modifiers
5704 and shift-only modifier.
5706 * libspi/keystrokelistener.c:
5707 Removed some verbose diagnostics printout.
5709 * cspi/spi_registry.c:
5710 Fixed a bug that caused all key listeners to be registered as
5713 * libspi/deviceeventcontroller.c:
5714 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5715 for non-preemptive key masks.
5718 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5720 * docs/reference/idl/at-spi-idl-docs.sgml:
5721 * docs/reference/idl/at-spi-idl-sections.txt:
5722 * docs/reference/idl/at-spi-idl-overrides.txt:
5723 Added missing files.
5725 * docs/reference/Makefile.am:
5726 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5727 to scan the IDL files :-(
5732 Added .cvsignore files.
5734 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5736 * libspi/deviceeventcontroller.c:
5737 * libspi/keystrokelistener.c:
5739 * cspi/spi_registry.c:
5740 Added filters for KeySets, KeyEventSeq, and event types to key
5741 event dispatching, so listeners should only receive those events
5742 that they requested :-)
5744 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5749 * docs/reference:Makefile.am:
5750 * docs/reference/cspi:
5751 * docs/reference/cspi:Makefile.am:
5752 * docs/reference/cspi:tmpl:
5753 * docs/reference/cspi:tmpl:*.sgml:
5754 * docs/reference/idl:
5755 * docs/reference/idl:Makefile.am:
5756 * docs/reference/idl:at-spi-idl-sections.txt:
5757 * docs/reference/idl:at-spi-idl-docs.sgml:
5758 * docs/reference/idl:tmpl:
5759 * docs/reference/idl:tmpl:*.sgml:
5761 Restructured docs directory to allow separate 'reference' docs
5762 section, and forked idl and cspi docs. Added the sgml template
5763 files to CVS. Added the first sections/structural sgml for the
5766 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5768 * configure.in, libspi/Makefile.am: find libXtst.
5770 2001-11-21 Michael Meeks <michael@ximian.com>
5772 * test/accessx-gui.c: s/spi_value/value/ - doh.
5774 * libspi/base.[ch]: add.
5776 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5778 * idl/Accessible.idl:
5779 * idl/Application.idl:
5782 Started gtk-doc cleanup on IDL.
5784 * libspi/deviceeventcontroller.c:
5785 Added and connected non-preemptive key notification from the
5786 toolkits (in addition to the pre-emptive support from XServer
5787 which we had before, but which causes 'focus flashing'). Filters
5788 are presently limited to key modifiers and global/non-global,
5789 KeySets are presently ignored, as are KeyEvent masks.
5791 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5792 structs into the persistant structure rather than just storing
5793 pointers to things that might not persist across servant
5796 The XGrabKey call now does async keygrabs, because synchronous
5797 ones were deadlocking with GDK_event code in a very nasty way.
5799 Added boolean to internal method notify_keylisteners, to indicate
5800 whether the event came from the 'toolkit source' or the 'global
5801 (XServer) source' - this is used in the notification process to
5802 determine which listeners to send the event to.
5804 deviceeventcontroller.c is now warning-free.
5806 * libspi/registry.c:
5807 Fixed regression in application de-registration.
5808 Also fixed some really brain-dead weirdness having to do with
5809 event dispatching - event structs are now duplicated before being
5810 re-marshalled in the dispatch to listeners. This also fixes a
5811 Solaris build problem.
5814 2001-11-20 Michael Meeks <michael@ximian.com>
5817 (impl_accessibility_registry_deregister_global_event_listener):
5820 * libspi/deviceeventcontroller.c
5821 (spi_device_event_controller_check_key_event): return
5822 FALSE on no virtual method.
5824 * libspi/*..h: make includes work on a correctly pathed install.
5826 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5828 * libspi/application.h: kill unused ( and whacked out )
5829 gboolean *spi_application_set_id (AtkObject *app, long id);
5831 2001-11-20 Michael Meeks <michael@ximian.com>
5833 * libspi/*.[ch]: further convert to bonobo's type func
5834 macros, remove redundnant casts etc.
5836 * libspi/text.c s/accessibility_text/spi_text/g,
5837 re-order to de-cruft.
5839 * libspi/hypertext.c: re-order to kill a huge slew
5840 of redundant forward decls.
5842 * libspi/relation.c: ditto.
5844 * libspi/image.c: ditto.
5846 * */.cvsignore: update
5848 2001-11-20 Michael Meeks <michael@ximian.com>
5850 * libspi/deviceeventcontroller.c
5851 (_controller_register_with_devices): use g_getenv,
5852 kill stdlib.h include.
5854 * libspi/keystrokelistener.c
5855 (spi_keystroke_listener_get_type): kill
5856 (spi_keystroke_listener_class_init),
5857 (spi_keystroke_listener_init): rename to this.
5859 * libspi/text.c (impl_getAttributes): fix warning / bug.
5861 * libspi/*.[ch]: more headers, includes and over commenting.
5863 2001-11-20 Michael Meeks <michael@ximian.com>
5865 * libspi/*.[ch]: fixup headers, includes and over commenting.
5867 * libspi/image.c (impl__get_imageDescription): const
5868 correctness warning fix. remove redundant casting.
5870 * libspi/table.c (impl_getRowDescription): ditto.
5871 (impl_getColumnDescription): ditto.
5873 * libspi/libspi.h: add.
5875 2001-11-19 Michael Meeks <michael@ximian.com>
5877 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5879 * libspi/component.c (accessibility_component_get_type):
5880 rename to (spi_component_get_type): and macroify.
5881 (accessibility_component_init): rename to
5882 (spi_component_init): this
5883 (accessibility_component_class_init): rename to
5884 (spi_component_class_init): this
5886 * libspi/action.c (spi_action_get_type): kill, use the macro.
5888 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5891 * libspi/application.c (spi_application_object_event_listener),
5892 (impl_accessibility_application_register_object_event_listener):
5893 warning fixes / const understanding updates.
5895 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5898 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5900 * libspi/spi_accessible.c: Added docs and C bindings for
5901 AccessibleStateSet. (No implementations yet). Documentation
5902 coverage for C bindings now 100%. Made docs for event listeners
5907 boolean notifyListenersSync (in DeviceEventListener listener,
5908 in DeviceEvent event);
5910 oneway void notifyListenersAsync (in DeviceEventListener listener,
5911 in DeviceEvent event);
5913 Added DeviceEventListener and DeviceEvent structs (may deprecate
5914 KeyStroke and KeystrokeListener in favor of this generic
5915 event/listener framework for devices).
5917 * libspi/deviceeventcontroller.c:
5919 Changed some key listener code to take masks, etc., and paved the
5920 way for integration of toolkit/non-preemptive key events. Changed
5921 signatures of some internal methods.
5923 * at-bridge/bridge.c:
5924 Fixed regression connecting to interface signals, apparently
5925 caused by GTK+ changes.
5927 Added an internal bridge_state_listener to deal with
5928 property-change:accessible-state signals.
5930 Changed the key_listeners GList to store structs (including masks,
5931 etc.) instead of just CORBA_Objects (required for full
5932 implementation of key listener API).
5934 Connected the bridge to all currently supported Atk signals.
5935 Events now supported:
5936 object:property-change
5937 object:property-change:accessible-name
5938 object:property-change:accessible-state
5939 object:property-change:accessible-description
5940 object:property-change:accessible-parent
5941 object:property-change:accessible-value
5942 object:property-change:accessible-role
5943 object:property-change:accessible-table-caption
5944 object:property-change:accessible-table-column-description
5945 object:property-change:accessible-table-column-header
5946 object:property-change:accessible-table-row-description
5947 object:property-change:accessible-table-row-header
5948 object:property-change:accessible-table-summary
5949 object:children-changed
5950 object:visible-data-changed
5951 object:selection-changed
5952 object:text-selection-changed
5954 object:text-caret-moved
5956 object:row-reordered
5958 object:column-inserted
5959 object:column-reordered
5960 object:column-deleted
5961 object:model-changed
5963 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5965 * libspi/hyperlink.c,h:
5966 Fixed some broken stuff in hyperlink.
5968 * libspi/relation.h:
5969 * libspi/relation.c:
5970 * cspi/spi_accessible.c:
5971 Initial implementations of AccessibleRelation methods, and docs.
5973 * libspi/accessible.c:
5974 Fixed a bug that caused SEGV if an accessible
5975 object's description is NULL, and a client
5976 requests it. An empty string is now returned.
5978 * cspi/spi_editabletext.c:
5979 * cspi/spi_hypertext.c:
5981 * cspi/spi_hyperlink.c:
5985 Doc coverage now 95%.
5987 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5989 One last namespacing revision:
5990 * libspi/accessibleeventlistener.[ch]:
5991 Renamed SpiAccessibleEventListener to SpiEventListener,
5992 (no need for two namespaces ;-)
5994 And lots of documentation fixes:
5996 * docs/at-spi-docs.sgml:
5997 Fixed 'underscore vs. hyphen' bug that was preventing
5998 the gtk-doc API docs from being automatically generated.
6001 * cspi/spi-listener.h
6003 * cspi/spi_accessible.c
6005 * cspi/spi_application.c
6006 * cspi/spi_component.c
6007 * cspi/spi_editabletext.c
6009 * cspi/spi_hypertext.c
6011 * cspi/spi_registry.c
6012 * cspi/spi_selection.c
6016 * docs/at-spi-docs.sgml
6017 * docs/at-spi-sections.txt
6019 Added and fixed up gtk-doc documentation in cspi.
6021 Interfaces now (fully) documented (subject to revision and enhancement):
6023 Event Listener Support
6025 AccessibleApplication
6029 AccessibleEditableText
6036 AccessibleRelationSet
6041 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6043 * at-bridge/bridge.c:
6044 Initial work for toolkit-level key snooper connection by bridge.
6049 New typedefs and fixes to support new namespacing, and cleaner
6050 separation of cspi bindings from libspi bonobo implementation.
6051 Removed inconsistent and extraneous Spi* namespace prefix that
6052 had crept into cspi headers.
6053 Lots of comment fixes that sed had missed.
6055 * cspi/spi-roletypes.h:
6056 * cspi/spi-statetypes.h:
6057 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6058 to AccessibleRoleType.
6060 * libspi/accessibleeventlistener.h:
6061 Fixed minor namespacing weirdness.
6063 * libspi/deviceeventcontroller.c:
6064 Reordered some internal API for device listeners.
6065 Changed the key registry final boolean to 'is_system_global'
6066 rather than 'is_synchronous', which is more descriptive of its
6068 Added spi_device_event_controller_new().
6069 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6071 * libspi/keystrokelistener.[ch]:
6072 Namespaced KeystrokeListener to SpiKeystrokeListener.
6073 Changed uses of keymasks to use SPI_ prefix, and did other
6076 * libspi/keymasks.h:
6077 Namespaced keymask constants with SPI_ prefix.
6079 * libspi/registry.c:
6080 Some warning fixes, and knock-on fixes from namespace changes.
6083 Added rules for accessx-gui test program.
6085 * test/accessx-gui.c:
6086 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6087 utility. It doesn't actually use at-spi, but it's still cool and
6090 * test/keysynth-demo.c:
6094 Fixes so that these test clients work properly with the namespaced
6095 libraries. (Incompletely tested for technical reasons, fixes may follow)
6098 2001-11-13 Michael Meeks <michael@ximian.com>
6100 * libspi/application.c
6101 (impl_accessibility_application_get_version),
6102 (impl_accessibility_application_get_toolkit_name):
6104 (impl_accessibility_application_set_id),
6105 (impl_accessibility_application_get_id): remove
6106 redundant casting code.
6108 * libspi/action.c (impl_getDescription): fix warnings.
6110 * libspi/accessible.c
6111 (impl_accessibility_accessible_get_parent),
6112 (impl_accessibility_accessible_get_child_at_index),
6113 (impl_accessibility_accessible_get_state),
6114 (impl_accessibility_accessible_get_relation_set):
6115 warning fixes & include action.h
6117 2001-11-13 Michael Meeks <michael@ximian.com>
6119 * *.[ch] fix bits I screwed up:
6121 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6122 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6124 2001-11-13 Michael Meeks <michael@ximian.com>
6126 * *.[ch] Namespace libspi into spi_ and Spi.
6128 2001-13-11 Michael Meeks <michael@ximian.com>
6130 * Makefile.am: dist & install at-spi-1.0.pc
6132 * libspi/Makefile.am: install into at-spi-1.0
6134 * idl/Makefile.am (idldir): install into at-spi-1.0
6136 * at-spi-1.0.pc.in: add.
6138 * configure.in: build it.
6140 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6142 * test/keysynth-demo.c:
6143 Use a 'realize' signal-handler to set the WM properties for
6144 the virtual keyboard, rather than making it a "POPUP" type
6145 override-redirect window (thanks to anders carlsson for that
6148 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6151 * test/keysynth-demo.c:
6152 Added new test of key synthesis, which creates a simple
6153 (mouse-operated) onscreen keyboard. It inserts key events into
6154 the currently-focused window, thus it does not grab keyboard focus
6157 * cspi/spi_registry.c:
6158 Added C binding for AT-SPI generateKeyEvent.
6160 * libspi/deviceeventcontroller.c:
6161 Added call to XFilterEvent so that key listener works with XIM (we
6162 hope). Added event_synth_type to generateKeyEvent, so that we can
6163 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6164 synthesize a press/release pair for KeySyms.
6166 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6168 * libspi/Makefile.am:
6169 * registryd/Makefile.am:
6170 (temporary) hack to include libXtst in libspi and registryd.
6171 (Needed for keystroke synthesis, see below).
6174 Improved API for registerKeystrokeListener, in accordance with
6175 discussions with Gnopernicus team and X server research.
6177 * libspi/registry.c:
6178 * libspi/deviceeventcontroller.c:
6179 * libspi/accessible.c:
6180 * libspi/keystrokelistener.c:
6181 Changes and fixes to support keylisteners for potentially
6182 consumed key events (that is, 'passive grabs').
6183 Added implementation for generateKeyEvent() [untested].
6186 Changes to registerKeystrokeListener() API, as above.
6187 Added deregisterGlobalEventListenerAll(), and
6188 deregisterKeystrokeListener(), which are needed for clean exit of
6190 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6191 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6193 * cspi/spi_registry.c:
6194 Added implementations of function prototypes mentioned above.
6196 * registryd/registryd.c:
6197 Added the key listener event source as a g_timeout(), to allow
6198 receipt of key events that are not caught by GDK (since GDK
6199 doesn't support passive keygrabs, this was necessary).
6202 Changed to attach a keylistener to 'Alt' keys, and
6203 respond to the following keycommands: Alt-M (toggle magnifier);
6204 Alt-F (toggle speech); Alt-Q (quit).
6205 Added an exit routine to deregister the listeners, and a key
6206 listener that prints some key info to the console when a key
6207 matches the listener mask (and is thus received by the listener).
6209 * util/idl/Magnifier.idl:
6210 Changes to magnifier API to support multiple zoom regions,
6211 non-uniform scaling in x and y, markDirty, and a host of other
6212 features that would be useful to magnification.
6215 * util/mag_client.c:
6216 * util/mag_client.h:
6217 * util/mag_control.c:
6219 Source code changes to support the above IDL changes.
6222 As above, and also changes to use a (slower) generic conversion
6223 path for colormap conversions, since the fast RGB conversions have been
6224 reported to fail for 16-bit displays.
6226 2001-10-26 Michael Meeks <michael@ximian.com>
6228 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6230 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6232 * at-bridge/Makefile.am: fix LDFLAGS.
6234 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6236 * at-bridge/bridge.c:
6237 Re-worked listeners for toolkit events, now we have signal
6238 and property listeners. Added a private method
6239 register_atk_event_listeners(), which registers with the
6240 various atk and gtk signals we need to monitor in order to emit
6242 Added emission hook for AtkObject:property-change events, to
6243 support the 'property listeners'.
6244 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6247 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6248 which emit warnings and exit, respectively, if CORBA errors occur
6249 during remote calls, and we now use these methods to check most of
6250 our CORBA calls in the C bindings.
6252 * cspi/spi_accessible.c:
6253 Changed AccessibleSelection_refSelectedChild() to
6254 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6255 now increment refcounts.
6257 * cspi/spi_component.c:
6258 Fixed some long pointer casts (dangerous!) to pass pointers to
6259 CORBA_longs of the proper type to the CORBA stubs, and copy the
6260 data into the longs that were passed into the C bindings code.
6262 * at-bridge/bridge.c:
6264 * libspi/accessible.c:
6265 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6266 hyperlinks, AtkHyperlink is an object type.
6268 * libspi/application.c:
6269 Added various conversions to and from "generic" event types and
6270 atk-specific types; this is really part of the 'bridge'
6271 implementation but is valid for all AtkObject-based accessibility
6274 * libspi/editabletext.c:
6275 Fixed nasty bug wherein editable text's finalize method was
6276 unref'ing tha AtkObject reference that the text parent class was
6277 about to unref _again_. There was also a nasty inheritance bug
6278 that meant that the AccessibleEditableText class was corrupt.
6280 * libspi/selection.c:
6281 Provided implementations for some selection API that was broken.
6283 * idl/Application.idl:
6284 Added registerObjectEventListener () method.
6287 Fixed a number of return values that were Bonobo_Unknowns from
6288 bonobo_object_corba_objref(), which I
6289 forgot to dup before returning. Changed instances of
6290 bonobo_object_corba_objref (bonobo_object(o)) to
6291 BONOBO_OBJREF(o), for concision and clarity.
6293 2001-10-13 Louise Miller <louise.miller@sun.com>
6295 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6296 idl/Event.idl, idl/Registry.idl
6297 Changed these files to include Bonobo_Unknown.idl instead
6300 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6302 * libspi/component.c libspi/component.h:
6303 Fixed typo. Added assertions for object checks in
6304 AccessibleComponent code.
6306 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6308 * idl/Accessible.idl:
6309 Added 'isEqual (Accessible *object)'
6310 method for Accessible. (Not Yet Implemented).
6313 Changed signature of registerKeystrokeListener() to
6314 take a KeySet and KeyEventSeq so that specific keys and event
6315 types could be requested for monitoring, and added a flag
6316 is_synchronous so that either synchronous or asynchronous
6317 notification could be requested. (However this is not all
6318 implemented yet). This also meant adding two new typedefs,
6319 KeyEventSeq and KeySet.
6322 Added two new relations, RELATION_TOOLTIP_FOR and
6323 RELATION_LEAFNODE_OF.
6326 Added new state, STATE_HAS_TOOLTIP.
6328 * libspi/text.c, editabletext.c:
6329 Added new assertions to all casts of bonobo-objects from
6330 CORBA servants, to prevent Text API calls on non-text objects.
6331 Changed suspect casts of int-pointer types, so that we
6332 always send a valid CORBA_long pointer to the CORBA APIs that use
6333 in/out long parameters. We then have to copy from the CORBA_long
6334 into the regular long or int for return to the C bindings, or
6335 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6338 * libspi/deviceeventcontroller.c:
6339 Cleaned these sources up.
6341 Changed return type for getCharacterAtOffset to
6342 CORBA_unsigned_long, to allow for 32-bit characters.
6345 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6349 Fixed 'make dist' so that distro compiles...
6350 * libspi/keymasks.h:
6352 * cspi/spi-listener.c:
6353 KeystrokeListenerCB now returns a boolean.
6355 Added KeyEventType struct, and KeyStroke.
6356 Also added createKeystrokeListener(),
6357 KeystrokeListener_addCallback(),
6358 KeystrokeListener_removeCallback(), and added a keymask to
6359 registerKeystrokeListener().
6360 * cspi/spi_accessible.c:
6361 Changed numerous return types for interfaces from
6362 AccessibleComponent to Accessible<InterfaceName>; this was
6363 probably a cut-and-paste error.
6365 Implementations of new KeystrokeListener api (from spi.h,
6368 Changes to key modifier mapping.
6369 Created ControllerEventMask struct.
6370 Made DeviceEventController derive from Bonobo::Unknown.
6372 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6373 * libspi/deviceeventcontroller.c:
6374 Added a number of new internal (private) methods.
6375 * libspi/editabletext.c:
6376 * libspi/editabletext.h:
6377 Fixed a number of bugs related to the fact that
6378 editabletext inherits from text. Fixed the EditableText struct,
6379 the init() call, and use correct casts when calling Text methods
6380 from an EditableText object. Removed (duplicate) atko from the
6381 EditableText structure, we use the one in the parent Text
6382 structure via the casts mentioned above.
6383 * libspi/keystrokelistener.[ch]:
6384 * libspi/registry.c:
6385 Changes in support of keyboard handling (above).
6387 Keyboard handling, though partly functional, is still not
6388 recommended for at-spi client use as there is considerable
6389 work yet to be done.
6392 Changed some places where pointers to various int types
6393 are cast to be pointers to CORBA_long types and vice-versa:
6394 pointer casting is not safe so we pass pointers of the correct
6395 types and then cast the result before putting it into the target
6398 * libspi/text.h: minor typos corrected.
6400 We now speak not only the name of a Text element, but the
6401 first sentence of its content, when it receives focus.
6402 I also changed the text compression to 75% from 50%.
6403 * util/Accessibility_Util.server.in:
6404 Changed the default magnifier type to be a 3x vertical
6405 splitscreen magnifier (was previously a 2x horizontal one).
6407 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6409 * libspi/keystrokelistener.h:
6410 * libspi/keystrokelistener.c:
6411 Initial functional implementations of KeystrokeListener.
6414 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6416 Fixed string handling for NULL strings in libspi.
6417 Added spi_freeString to free strings returned by C bindings.
6419 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6421 * libspi/keystrokelistener.h:
6422 * libspi/keystrokelistener.c:
6423 Began (no-op) implementations of KeystrokeListener
6425 * libspi/deviceeventcontroller.c:
6426 * libspi/deviceeventcontroller.h:
6427 Began creating implementations of DeviceEventController,
6428 to handle keystroke and mouse event listening and
6430 * libspi/accessible.c:
6431 Stubbed-in the implementations for
6432 Accessibility_Accessible_getState and
6433 Accessibility_Accessible_getRelationSet.
6434 * libspi/registry.c:
6435 Improved de-registration process and fixed some bugs,
6436 deregistration now works correctly.
6438 Added initialization of applications list (to NULL).
6440 Reduced speech compression from 0.5 to 0.7, for demo.
6441 Changed call to gdk_window_set_decorations()
6442 to gtk_window_set_decorated().
6443 * at-bridge/bridge.c:
6444 Bridge now deregisters when app exits, via
6445 registration of a cleanup function
6446 with the g_atexit() call.
6447 Required making 'app' static, renamed 'this_app'.
6448 Fixed broken use of bonobo_init, passing argv wrongly.
6450 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6454 Created a new directory for
6455 accessibility-related utilities, primarily for
6456 testing and demo purposes, but with possible
6463 Onscreen magnifier utility that
6464 is implemented as a bonobo service.
6466 * util/mag_client.c:
6467 * util/mag_client.h:
6468 Client-side support (simple C bindings)
6469 for Magnification service
6471 * util/mag_control.c:
6472 Client program example for
6473 Magnification service
6475 * util/Accessibility_Magnifier.server.in:
6476 Bonobo-activation file for the
6477 Magnification service.
6480 * util/idl/Magnifier.idl:
6481 IDL defining the bonobo Magnification
6485 Modifications to use the bonobo-activated magnifier
6486 above, in place of trying to connect to an existing
6487 magnifier that uses socket-listening IPC.
6489 If env variable MAGNIFIER is set, a magnifier service
6490 will be started if one does not exist.
6492 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6494 * at-bridge/bridge.c:
6495 applied patch from Marc to build and run
6496 against new glib and gtk+ (seemed like a change
6497 to bonobo_init signature was made ?)
6499 made festival-server support turned off by default.
6500 Added support for a simple magnifier (off by default)
6501 which will be added to a 'util' directory later.
6502 * at-bridge/Makefile.am:
6503 Changed "application.h" header from a 'source'
6504 to a 'dependency' of libat-bridge.
6506 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6515 Added interface implementation c files to list of
6516 includes so they are included in libcspi.
6519 Changed prototype of AccessibleAction_doAction to return a
6521 Changed prototype of AccessibleTable_getCaption to
6522 return an Accessible.
6523 Changed prototype of AccessibleTable_getSelectedRows
6524 and AccessibleTable_getSelectedColumns to
6525 return a long (returns the number of selected rows
6526 or columns respectively).
6527 Changed name of AccessibleText_refRunAttributes to
6528 AccessibleText_getAttributes.
6529 Changed prototype of AccessibleText_getCharacterExtents to
6530 return a void rather than a boolean.
6531 Added support for a AccessibleCoordType parameter
6532 specifying what type of coordinates are desired.
6533 Added an AccessibleCordType parameter to
6534 AccessibleText_getPointAtOffset.
6536 * cspi/spi_accessible.c:
6537 Added code to return the outstanding interfaces from
6538 Accessible_queryInterface.
6540 * cspi/spi_action.c:
6542 Corrected call to getNActions to call the c binding
6545 * cspi/spi_editabletext.c:
6547 Changed name from setRunAttributes to setAttributes.
6549 * cspi/spi_hyperlink.c:
6551 Changed call to getNAnchors to correctly call the c
6552 binding for an attribute.
6554 * cspi/spi_hypertext.c:
6556 Changed getImageDescription to correctly call the
6557 binding for an attribute.
6559 * cspi/spi_selection.c:
6560 Changed getNSelectedChildren to correctly call the c
6561 binding for the attribute.
6562 Changed refSelectedChild to getSelectedChild.
6566 Changed getCaption to return an Accessible.
6567 Fixed calls which retrieve attributes.
6568 Changed refAt to getAccessibleAt.
6569 Changed getNSelectedRows and getNSelectedColumns to
6573 Changed getCharacterExtents and getPointAtOffset to accept an
6574 AccessibleCoordType.
6576 Changed calls which retrieve attributes.
6577 Changed refRunAttributes to getAttributes.
6582 * idl/Hyperlink.idl:
6583 Changed n_anchors attribute to nAnchors to keep naming
6584 convention consistent.
6587 Made Table inherit from Bonobo::Unknown.
6588 Added nSelectedColumns and nSelectedRows attributes.
6591 Made Value inherit from Bonobo::Unknown.
6593 * libspi/hyperlink.c:
6594 Change for nAnchors attributte name change.
6596 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6604 Added interface implementation c files to list of
6605 includes so they are included in libcspi.
6608 Changed prototype of AccessibleAction_doAction to return a
6610 Changed prototype of AccessibleTable_getCaption to
6611 return an Accessible.
6612 Changed prototype of AccessibleTable_getSelectedRows
6613 and AccessibleTable_getSelectedColumns to
6614 return a long (returns the number of selected rows
6615 or columns respectively).
6616 Changed name of AccessibleText_refRunAttributes to
6617 AccessibleText_getAttributes.
6618 Changed prototype of AccessibleText_getCharacterExtents to
6619 return a void rather than a boolean.
6620 Added support for a AccessibleCoordType parameter
6621 specifying what type of coordinates are desired.
6622 Added an AccessibleCordType parameter to
6623 AccessibleText_getPointAtOffset.
6625 * cspi/spi_accessible.c:
6626 Added code to return the outstanding interfaces from
6627 Accessible_queryInterface.
6629 * cspi/spi_action.c:
6631 Corrected call to getNActions to call the c binding
6634 * cspi/spi_editabletext.c:
6636 Changed name from setRunAttributes to setAttributes.
6638 * cspi/spi_hyperlink.c:
6640 Changed call to getNAnchors to correctly call the c
6641 binding for an attribute.
6643 * cspi/spi_hypertext.c:
6645 Changed getImageDescription to correctly call the
6646 binding for an attribute.
6648 * cspi/spi_selection.c:
6649 Changed getNSelectedChildren to correctly call the c
6650 binding for the attribute.
6651 Changed refSelectedChild to getSelectedChild.
6655 Changed getCaption to return an Accessible.
6656 Fixed calls which retrieve attributes.
6657 Changed refAt to getAccessibleAt.
6658 Changed getNSelectedRows and getNSelectedColumns to
6662 Changed getCharacterExtents and getPointAtOffset to accept an
6663 AccessibleCoordType.
6665 Changed calls which retrieve attributes.
6666 Changed refRunAttributes to getAttributes.
6671 * idl/Hyperlink.idl:
6672 Changed n_anchors attribute to nAnchors to keep naming
6673 convention consistent.
6676 Made Table inherit from Bonobo::Unknown.
6677 Added nSelectedColumns and nSelectedRows attributes.
6680 Made Value inherit from Bonobo::Unknown.
6682 * libspi/hyperlink.c:
6683 Change for nAnchors attributte name change.
6686 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6688 implementations-- made server implementations own AtkObject pointers
6689 rather than their respective AtkInterrface pointers to fix
6690 refcounting. AtkHyperlink is still broken.
6692 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6693 * cspi/spi_accessible.c:
6694 Added method Accessible_Role_getName(),
6695 and requisite string array (role_names).
6696 Added conversion string_from_corba_strin() call
6697 to Accessible_getName and _getDescription.
6698 * libspi/accessible.c:
6699 Added implementation for Accessible_getRole()
6701 Added festival support, used if environment variable
6704 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6706 * at-bridge/bridge.c:
6707 Now allocate Accessibility_Event using
6708 Accessibility_Event__alloc() instead of g_new0().
6709 * libspi/accessibleeventlistener.c:
6710 Initialize AccessibleEventListener->callbacks to NULL.
6711 Fixed accessible__event_listener_init() param, changed to
6712 "AccessibleEventListener *" type.
6713 Changed a bonobo_object_release_unref() call to
6714 Accessibility_Accessible_unref().
6715 * libspi/listener.c:
6716 Changed Bonobo_Unknown_unref to (equivalent)
6717 Accessibility_Accessible_unref.
6718 * libspi/registry.c:
6719 Changed bonobo_object_release_unref to
6720 Accessibility_Accessible_unref.
6722 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6725 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6726 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6727 spi-util.c spi-util.h
6728 Implementations for C bindings to remaining accessibility
6731 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6734 changed return value of Action from void to boolean to
6735 bring in line with ATK.
6738 Changed getText funcions to return "out" start and end offsets.
6739 Changed getAttributes to take and offset and return the start
6740 and end offset of the attribute run.
6741 Changed getOffsetAtPoint and getCharacterExtents to take an
6742 enum describing whether coordinates are window or screen.
6745 libspi/action.c libspi/action.h libspi/editabletext.c
6746 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6747 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6748 libspi/image.h libspi/selection.c libspi/selection.h
6749 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6750 libspi/value.c libspi/value.h
6751 Added server implementations for outstanding ATK interfaces
6752 not yet implemented.
6754 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6757 Added (missing) getName() method.
6758 Made nActions an attribute.
6759 * idl/EditableText.idl:
6760 Changed order of params in setAttributes.
6761 * idl/Hyperlink.idl:
6762 Removed getAnchor, added getURI.
6764 Changed attributes to methods, for efficiency
6765 (so that getting extents can be done in one call)
6766 * idl/Selection.idl:
6767 Changed nSelectedChildren to attribute, and re-indented.
6768 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6770 * idl/Text.idl: reformatted to match our coding style.
6771 (temporarily?) removed getRowColumnAtOffset().
6772 Changed text selection API to support multi-select and
6773 non-contiguous selections, as in ATK.
6774 * idl/Value.idl: changed some methods to attributes.
6776 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6778 * libspi/listener.c(impl_notify_event):
6779 BonoboUnkown_unref the source instead
6780 of bonobo_object_release_unref - the ORB
6781 handles the releasing.
6783 * configure.in: require ORBit-2.3.94 for
6786 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6788 Tagged CVS repository 'EA_1_0'.
6789 * README.EARLY_ACCESS:
6790 Alphabetized acknowledgements list, and
6792 Listed some known dependencies of at-spi.
6794 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6796 * docs/at-spi-docs.sgml:
6797 * docs/at-spi-sections.txt:
6798 * docs/at-spi-overrides.txt: (Added zero-length file)
6799 Documentation improvements - gtk-doc should build
6800 docs for all implemented C bindings now.
6803 * cspi/spi.c: (New file)
6804 * cspi/spi_event.c: (New file)
6805 * cspi/spi_registry.c: (New file)
6806 * cspi/spi_accessible.c: (New file)
6807 * cspi/spi_application.c: (New file)
6808 * cspi/spi_component.c: (New file)
6809 Split spi_main.c into six parts, and included them from
6810 "spi.c". This is a bit of a hack, probably temporary,
6811 but required by gtk-doc, apparently.
6813 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6816 * docs/at-spi-docs.sgml:
6817 * docs/at-spi-sections.txt:
6819 Initial checkins/modifications for gtk-doc generation.
6822 Added (missing) interface query methods to Accessible's C binding.
6824 Added GenericInterface type definition.
6826 Added query for AccessibleComponent interface to focus event handler.
6827 Added printout of bounding box for focussed component.
6828 * libspi/component.c:
6829 Added partial implementation for AccessibleComponent to C binding.
6830 * idl/Application.idl:
6831 * libspi/registry.c:
6832 * libspi/listener.c:
6833 * libspi/application.c:
6834 * libspi/application.h:
6835 Changed "ID" attribute type from string to long.
6837 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6841 Made method naming consistent: methods taking object args
6842 start with uppercase, other methods (except those using
6843 acronyms) start with lowercase. Underscores delimit between
6844 object names and method names:
6845 SPI_init() - uppercase since it starts with an acronym.
6846 getDesktopCount () - lowercase start since no object param0.
6847 Accessible_getName() - uppercase object type name, studlyCaps method
6851 Added gtk-doc documentation for all currently implemented
6852 methods in the C bindings API.
6854 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6856 * Makefile.am : changed build order to build test last.
6859 Changed "createEventListener" to "CreateEventListener".
6860 * libspi/accessibleeventlistener.c :
6861 Bugfix for addition of callbacks.
6862 * test/Makefile.am :
6863 * test/simple-at.c :
6864 Added new test that uses the C bindings API.
6866 * libspi/listener.c :
6867 * libspi/registry.c :
6868 * libspi/accessibleeventlistener.c :
6869 * at-bridge/bridge.c :
6870 Renamed member "target" of Accessibility_Event to "source",
6871 which is more descriptive.
6874 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6878 * cspi/Makefile.am :
6879 Added makefile support for at-spi/cspi directory.
6882 * cspi/spi-listener.h : (NEW FILE)
6883 Added support for/use of spi-listener.h.
6885 C bindings now build successfully, with no warnings.
6886 * libspi/accessibleeventlistener.h : (NEW FILE)
6887 * libspi/accessibleeventlistener.c : (NEW FILE)
6888 * libspi/Makefile.am :
6889 Added new object type "AccessibleEventListener"
6890 which inherits from Listener, and allows attachment
6891 of in-process callbacks (so that a client with a listening
6892 object instance can add functionality to the local
6893 implementation, dynamically).
6895 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6897 * libspi/accessible.c:
6898 Add implementation for get_index_in_parent().
6900 Added #include of "spi-roletypes.h", and
6901 added enumerated type AccessibleCoordType.
6902 Added definition for KeystrokeListener (function type).
6905 * cspi/spi-statetypes.h :
6906 * cspi/spi-roletypes.h :
6908 Added these headers, used by spi.h.
6910 Added code (NOTE: not yet built by make).
6912 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6914 * libspi/Makefile.am: generate imodule
6915 at the same time as other idl compiler
6918 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6919 * libspi/registry.c :
6920 * libspi/application.c :
6921 * idl/Application.idl :
6922 Made registration with toolkit an application method,
6923 which is required since each app has its own toolkit static
6924 environment. Thus the bridge must register for
6925 notification of toolkit events from each application in turn.
6926 Toolkit notifications are now successfully registered for, and
6927 sent to the listening at client.
6929 Changed toolkit event string to use hyphens rather than underscores.
6930 * libspi/listener.c :
6931 listner now gives more info in debug mode - it reports the
6932 name of the event received, as well as the name of the source.
6935 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6937 * libspi/registry.c :
6938 added more implementation for toolkit events.
6939 Fixed bug such that toolkit event registrations
6940 (via atk) use the whole event name string, not
6942 Removed a useless call to an ORBit_ method.
6943 * at-bridge/bridge.c :
6944 Removed unused local sbuf[] variable.
6946 We now register for Gtk:GtkWidget:button_press_event
6947 events as well as "focus:" events.
6949 Add some more API from Registry.idl that was missing,
6950 for keystroke listening, keystroke and mouse event
6951 synthesis, and enumeration of accessible desktops.
6953 2001-08-16 Michael Meeks <michael@ximian.com>
6955 * configure.in: use AM_GLIB_GNU_GETTEXT.
6957 * Makefile.am (SUBDIRS): kill intl.
6959 2001-08-15 Michael Meeks <michael@ximian.com>
6961 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6963 * configure.in: upd.
6965 * configure.in: depend on a recent bonobo-activation that
6966 will find our server files ...
6968 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6970 * libspi/accessible.c : accessible_new() :
6971 Now we add the Component interface via bonobo_object_add_interface,
6972 if the contained AtkObject implements AtkComponent.
6973 * libspi/accessible.h : now include "component.h"
6974 * libspi/component.h :
6975 * libspi/component.c : added files - implementation of
6976 bonobo wrapper object for Accessibility/Component
6977 * libspi/listener.c :
6978 Added test code to check for Accessibility/Component:1.0
6979 interface and report whether it is implemented by the
6981 * libspi/registry.c :
6982 Now we check for not only the hash of the whole event
6983 string before relaying the event, we also check the
6984 "minor" event string (without the detail string).
6985 This allows event listeners to be registered against
6986 all events of a certain major+minor type, or just
6987 against a specific major+minor+detail type.
6988 * libspi/accessible.c :
6989 Added implementations for Accessible:get_parent(),
6990 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6991 * libspi/registry.c :
6992 * libspi/listener.c :
6993 Replaced calls to Accessibility_Accessible_ref() and
6994 Accessibility_Accessible_unref() with
6995 calls to bonobo_object_dup_ref() and
6996 bonobo_object_release_unref(), so that the CORBA object
6997 is dup-ed and released when relayed, as well as the bonobo object.
6999 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7001 * libspi/Makefile.am,
7002 registryd/Makefile.am,
7003 at-bridge/Makefile.am.
7004 test/Makefile.am, configure.in:
7005 reverse previous changes.
7007 * /idl/Image.idl: fix typo.
7009 * test/Makefile.am: put DEBUG_FLAGS
7012 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7014 * test/app.c: use argv[0] instead of
7017 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7019 * libspi/Makefile.am,
7020 registryd/Makefile.am,
7021 at-bridge/Makefile.am.
7022 test/Makefile.am, configure.in:
7023 cleanup, replace individual LIBS/CFLAGS with
7024 AT_COMMON_{LIBS|CFLAGS}.
7028 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7030 * configure.in, libspi/Makefile.am:
7031 Change IDL path checking for bonobo-activation
7034 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7036 * registryd/registry.c : separated event listeners to use
7037 3 separate lists (focus, window, toolkit). Began testing
7038 event names against hashes before relaying events.
7039 * test/at.c : now register for events of type "focus:"
7040 * test/app.c : now generate events of type "focus:"
7041 * at-bridge/bridge.c : register with ATK for focus events,
7042 and we now relay those focus events to any "focus:" listeners.
7043 This now works with the bridge as a GTK_MODULE when running test/at.
7044 * libspi/registry.c :
7045 * libspi/listener.c :
7046 now we ref event sources before propagating, and unref on receipt.
7047 * libspi/registry.c :
7048 some changes to internal structs, to support event typestring hashes.
7049 * text/app.c : changed the way the appname is generated.
7050 * cspi : added directory that will hold the C bindings library for
7051 non-CORBA/bonobo-savvy clients.
7052 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7053 * idl/Component.idl : added in parameter to indicate coord system for
7054 geometry-related calls.
7055 * idl/Hyperlink.idl : added readonly n_links attribute
7056 * idl/Image.idl : changed methods to attributes.
7058 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7060 * at-bridge/Makefile.am: link against
7061 ../libspi/libspi.la instead of -lspi.
7063 * at-spi/test/app.c: include
7064 bonobo-activation.h. Use a default appname
7065 if one is not provided.
7067 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7069 * idl/Registry.idl : temporarily changed register_Application
7070 to oneway, to work around issue with initial registration
7072 * idl/Application.idl : changed attribute "id" from readonly
7073 to read-write, since it needs to be assigned by Registry.
7074 * registryd/registryd.c : added call to set application id
7076 * registryd/registry.c : changed de-registration procedure to
7077 use CORBA_Object_hash() to find matching object ref in application
7078 lists and listener lists.
7079 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7080 began distinguishing between event types (work in progress).
7082 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7085 * libspi/application.c:
7086 Added implementations for get/set id, get_toolkitName,
7088 * registryd/registryd.c :
7092 Converted from use of OAF to bonobo-activation.
7093 * libspi/desktop.h :
7094 * libspi/desktop.c :
7096 Removed references to atksimpleobject, since base atkobject
7097 implementation now provides functionality we need.
7098 * libspi/atksimpleobject.c :
7099 * libspi/atksimpleobject.h :
7104 * at-bridge/Makefile.am
7105 * at-bridge/bridge.c
7108 Added directory "bridge" and contents, and added dependencies
7109 in Makefile.am/configure.in.
7110 Initial checkin of "at-bridge".
7111 This code is a GTK_MODULE which automatically registers
7112 GTK+ apps with the accessibility registry, using an object
7113 reference to the root ATK object.
7115 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7117 * po/Makefile.in.in: Remove. Again. If this
7118 doesn't get autogenerated - you need to update
7121 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7123 * po/Makefile.in.in: Add. Again.
7125 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7127 * libspi/accessible.c : added support for 'description' property.
7128 * libspi/accessible.c
7130 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7131 (since the two are now equivalent in libbonobo)
7139 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7140 Bonobo::Unknown as does Accessibility::Accessible.
7141 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7142 interface with Bonobo::Stream, since it was redundant with it.
7143 (The Stream returned by a StreamableContext object is expected to
7144 implement only a subset of Bonobo::Stream)
7146 2001-07-28 Anders Carlsson <andersca@gnome.org>
7148 * libspi/accessible.c (accessible_object_finalize): Change
7149 g_free to g_object_unref since the AtkObject is a GObject.
7151 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7153 * idl/Accessibility.idl: add new IDL files
7156 * idl/Action.idl: Definitions of actionable UI object
7157 * idl/Component.idl: Definitions of UI component geometry, etc.
7158 * idl/Hyperlink.idl: Defs of hyperlink behavior
7159 * idl/Image.idl: Def of accessible image
7160 * idl/Selection.idl: Definition of UI object with selectable children
7161 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7162 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7163 * idl/Text.idl: Interface defs for UI elements with complex textual content
7164 * idl/Value.idl: Definition of UI element that is a value controller or display
7166 2001-07-27 Michael Meeks <michael@ximian.com>
7168 * po/Makefile.in.in: remove autogenerated file from CVS.
7170 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7173 * idl/Registry.idl: include guard.
7175 * idl/Accessibility.idl: Add, and include all the other IDL
7178 * idl/*.idl: remove mass of pragmas etc.
7180 2001-07-26 Michael Meeks <michael@ximian.com>
7182 * registryd/Makefile.am (registryd_SOURCES): remove
7185 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7187 * libspi/.cvsignore, registryd/.cvsignore,
7188 test/.cvsignore: updated.
7190 * po/Makefile.in.in: gettext update.
7192 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7194 * initial CVS checkin
7196 2001-06-29 Michael Meeks <michael@ximian.com>
7198 * configure.in: add AM_CONFIG_HEADER to gen config.h