1 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
3 * configure.in: Added "xh" to ALL_LINGUAS.
5 2005-02-07 Bill Haneman <bill.haneman@sun.com>
8 (atk_bridge_init): Added missing NULL in g_strconcat(),
9 also check for symlink before logging to
10 insecure directory. Thanks to meissner@suse.de.
12 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
14 * tests/login-helper-server-test.c: Add return call to main
15 function. Patch from Chris Lahey. Fixes bug #165129.
17 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
19 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
21 2004-12-09 Bill Haneman <billh@gnome.org>
23 * registryd/registry-main.c:
24 Added #define <string.h> for strrchr. (bug 160862).
25 Thanks to Vincent Berger for catching.
27 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
29 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
30 restart registry process if the registry process is found to have died
31 and the current process is exiting.
32 (spi_atk_bridge_exit_func): Do not attempt to deregister the
33 application if the registry process has died.
34 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
35 does not return a registry object.
36 (spi_atk_tidy_windows): Give up if the registry process has died.
38 This fixes problems with hangs and crashes when logging out.
40 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
42 * registryd/desktop.c: Add checking that we are not exiting before
43 calling spi_desktop_remove_application in
44 abnormal_application_termination. Fix for bug #152147.
46 2004-12-02 Bill Haneman <billh@gnome.org>
48 * configure.in, NEWS, README: Revved to 1.6.1.
50 Patch from Padraig O'Briain <padraig.obriain@sun.com>
51 * atk-bridge/bridge.c:
52 (atk_bridge_init): Save the pid when we start, to detect forks.
53 (spi_atk_bridge_exit_func): Don't call the cleanup routines
54 if we're in a forked pid.
56 2004-10-09 Bill Haneman <billh@gnome.org>
58 * idl/Accessibility_LoginHelper.idl:
59 Improved inline documentation.
61 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
63 * configure.in: Added gl (Galician) to ALL_LINGUAS
65 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
67 * libspi/accessible.c:
68 (impl_accessibility_accessible_get_role_name),
69 (impl_accessibility_accessible_get_local_role_name):
72 (impl_accessibility_component_get_accessible_at_point):
74 * libspi/eventlistener.c: (spi_event_listener_new):
76 * libspi/stateset.c: (impl_compare): More of the same
77 * libspi/table.c: (impl_getRowDescription): Again.
78 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
79 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
80 (impl_generate_keyboard_event): Same.
81 * registryd/registry-main.c: (main): Same
82 * test/event-listener-test.c: (test_exit): Same
83 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
84 * test/keysynth-test.c: (test_key_synthesis): Same
85 * test/login-helper-server-test.c: (main): Fix warning.
86 * test/screen-review-test.c: (test_exit): Fix include.
87 * test/simple-at.c: (simple_at_exit), (_festival_init):
90 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
92 * configure.in, NEWS, README: Revved to 1.6.0.
94 2004-09-12 Bill Haneman <bill.haneman@sun.com>
96 * configure.in: Rev and re-dist, since the 1.5.4 tarball
97 was missing the HTML docs.
99 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
101 * configure.in: only cleanups:
102 - better looking PKG_CHECK_MODULES() output,
104 - declare in one common place required versions of other tools using
107 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
109 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
110 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
111 required ATK version accordingly.
113 2004-09-03 Bill Haneman <bill.haneman@sun.com>
115 * cspi/bonobo/cspi-bonobo.c:
116 (cspi_display_name): Fix C99ism.
117 * atk-bridge/bridge.c:
118 (spi_display_name): Fix C99ism.
119 Patch from Jens Granseuer, jensgr@gmx.net.
121 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
123 * configure.in: Added "or" to ALL_LINGUAS.
125 2004-08-20 Bill Haneman <bill.haneman@sun.com>
127 * configure.in, NEWS, README: Revved to 1.5.4.
129 * registryd/registry-main.c:
130 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
133 * cspi/bonobo/cspi-bonobo.c:
134 (cspi_display_name): New convenience method, gets DISPLAY with
135 screen number stripped, if AT_SPI_DISPLAY isn't already set.
136 (cspi_init): Set the activation env value above before getting
139 * atk-bridge/bridge.c:
140 (spi_display_name): Create the AT_SPI_DISPLAY activation
141 environment for an app, based on the DISPLAY environment with the
142 screen number stripped off.
143 (atk_bridge_init): Allow redirection of error messages to a log.
144 (spi_atk_bridge_get_registry): Call
145 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
147 Fixes for bugs #149962, #136986, #144086.
149 2004-08-16 Christian Rose <menthos@menthos.com>
151 * configure.in: Added "bs" to ALL_LINGUAS.
153 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
155 * configure.in: Added nb to ALL_LINGUAS.
157 2004-09-03 Bill Haneman <bill.haneman@sun.com>
160 (SPI_init): Return error code '2' if the activated
161 registry cannot be pinged. Fixes bug #147648.
163 2004-07-28 Bill Haneman <bill.haneman@sun.com>
165 * registryd/deviceeventcontroller.c:
166 (spi_dec_init_mouse_listener): Don't do XGrabButton,
167 rely on timer-poll instead, to avoid conflict with
170 2004-07-20 Bill Haneman <bill.haneman@sun.com>
172 * configure.in: Revved to 1.5.3.
174 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
176 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
178 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
180 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
182 2004-06-11 Bill Haneman <bill.haneman@sun.com>
184 * atk-bridge/bridge.c:
185 (spi_atk_bridge_do_registration):
186 Register with ATK for AtkComponent:bounds-changed events.
187 (api_atk_bridge_signal_listener):
188 Marshal the AtkRectangle info into the event notification
189 for object:bounds-changed events.
192 (spi_init_any_rect): New method, inits a corba struct of
193 type Accessibility_BoundingBox from an AtkRectangle.
195 * libspi/spi-private.h: Declared spi_init_any_rect (above).
198 (SPIRect): New struct definition.
199 (SPI_freeRect): New declaration.
200 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
203 (AccessibleBoundsChangedEvent_getNewBounds): New method,
204 implemented. Gets the bounding box data from the CORBA_any
205 associated with a bounds-changed event notification.
206 (cspi_internal_event_get_rect): New, used internally by above method.
209 (SPI_freeRect): Implemented this new method, for freeing
212 * test/event-listener-test.c:
213 (main, report_bounds_event):
214 Added a test for object:bounds-changed events.
216 2004-06-01 Bill Haneman <bill.haneman@sun.com>
218 * test/login-helper-server-test.c:
219 (main): Fix C99-ism. Thanks to Jens Granseuer.
221 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
223 * libloginhelper-1.0.pc.in:
224 * idl/Accessibility_LoginHelper.idl:
225 * login-helper/Makefile.am:
226 * login-helper/login-helper.[ch]:
227 * test/login-helper-client-test.c:
228 * test/login-helper-server-test.c: Added files missing from CVS.
229 Files obtained from at-spi-1.5.2 tarball.
231 2004-05-27 Bill Haneman <bill.haneman@sun.com>
233 * configure.in: Create login-helper/Makefile.
234 Incremented micro version.
236 * Makefile.am: Add login-helper subdir and pkgconfig data.
238 * login-helper: New subdir.
240 * libloginhelper-1.0.pc.in: New.
242 * idl/Accessibility_LoginHelper.idl: New file, defines
243 interface whereby authentication clients can identify agents which
244 need access to services during the login process, e.g. screen lock
247 * login-helper/Makefile.am : New.
249 * login-helper/login-helper.[ch] : New, implementation of
250 a LoginHelper base class. Services needing LoginHelper can subclass.
252 * test/Makefile.am : Added test for login-helper, client and
255 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
256 Use proper prefix in #include files.
258 * test/login-helper-client-test.c: New.
260 * test/login-helper-server-test.c: New.
262 2004-05-27 Alexander Shopov <ash@contact.bg>
264 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
266 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
268 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
269 is positive. This should make it easier to detect inapprorpiate unref
272 2004-05-11 James Henstridge <james@daa.com.au>
274 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
275 no-op and deprecated.
277 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
279 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
281 2004-04-28 Bill Haneman <billh@gnome.org>
283 * Makefile.am: Added --enable-gtk-doc to
284 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
286 2004-04-19 Bill Haneman <billh@gnome.org>
288 * configure.in: Revved to 1.5.1.
290 * registryd/deviceeventcontroller.c:
292 (DEControllerPrivateData): Added fields for
293 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
294 (spi_dec_replace_map_keysym): New internal utility for
295 replacing a keysym in the keymap - used to allow
296 synthesis of individual characters which aren't in the
298 (spi_dec_reset_reserved): New; resets the changed keysym value
300 (keycode_for_keysym): We now try to deal with failed
301 XKeysymToKeycode requests by changing a keymap value
302 and returning a reserved keycode. We now take
303 a DEController pointer as first arg.
304 (spi_controller_register_with_devices): Call XkbGetMap with
305 the XkbKeySymsMask. Find the highest keycode in the current
306 keymap which doesn't have any grabs, and mark that one for
307 temporary re-mapping when out-of-range KeySyms are synthesized.
308 (dec_synth_keycode_press): Call XFlush after synthesizing the key
311 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
313 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
315 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
317 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
319 2004-03-24 Bill Haneman <billh@gnome.org>
322 (AccessibleTable_addRowSelection),
323 (AccessibleTable_addColumnSelection),
324 (AccessibleTable_removeRowSelection),
325 (AccessibleTable_removeColumnSelection):
326 Add declarations for spi wrappers which were
327 inadvertantly omitted. Fixes bug #133413.
330 Revved to 1.5.0 (unstable series for GNOME 2.7).
332 2004-03-24 Bill Haneman <billh@gnome.org>
334 * atk-bridge/bridge.c:
335 Bracketed some debug output in
336 conditionals, to avoid printing it in normal use.
339 * libspi/hyperlink.c:
340 Don't cast 'object' to ATK_OBJECT when constructing
341 an AtkAction interface for a hyperlink.
342 See discussion in bug #120659.
344 * test/key-listener-test.c:
345 (report_all_key_event): Send output to stderr,
346 not stdout, for consistency with the rest of the test callbacks.
349 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
350 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
351 Incremented to 1.4.1 (but didn't dist yet - I'm going to
352 try incrementing the revision AFTER doing a dist, at least
355 2004-03-22 Bill Haneman <billh@gnome.org>
357 * configure.in: Revved to 1.4.0, libtool 9.14.9
359 2004-03-17 Laszlo Peter <laca@sun.com>
361 * libspi-1.0-uninstalled.pc.in: add idldir
363 * cspi-1.0-uninstalled.pc.in: add idldir
365 2004-03-16 Gareth Owen <gowen72@yahoo.com>
367 * configure.in: Added "en_GB" to ALL_LINGUAS
369 2004-03-15 Bill Haneman <billh@gnome.org>
371 * configure.in: Revved to 1.3.16,
374 2004-03-15 Laszlo Peter <laca@sun.com>
376 * libspi-1.0-uninstalled.pc.in: new file
378 * cspi-1.0-uninstalled.pc.in: new file
380 * configure.in: add the new pc files to AC_OUTPUT
382 * Makefile.am: add the new pc files to EXTRA_DIST
384 2004-03-12 Bill Haneman <billh@gnome.org>
386 * atk-bridge/bridge.c:
387 (spi_atk_bridge_key_listener):
388 Make sure to return consumed=FALSE if snoop
389 event is not dispatched to listener.
392 2004-03-01 Bill Haneman <billh@gnome.org>
394 * configure.in: Revved to 1.3.15,
397 2004-03-07 Danilo Segan <dsegan@gmx.net>
399 * configure.in: Added "sr@ije" to ALL_LINGUAS.
401 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
403 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
405 2004-03-01 Bill Haneman <billh@gnome.org>
407 * configure.in: Revved to 1.3.14.
410 (SPI_exit): Removed "bye-bye" exit message.
411 Moved "leak" report to happen before the
412 iteration over the leaked refs list.
413 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
415 2004-02-24 Bill Haneman <billh@gnome.org>
417 * configure.in: Revved to 1.3.13.
419 * docs/reference/cspi/Makefile.am:
420 Correct typo that was breaking the docs build.
422 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
424 * autogen.sh: Require version 1.7 of automake.
426 * configure.in: call GTK_DOC_CHECK([1.0])
428 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
430 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
432 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
434 * test/Makefile.am: Remove use of CFLAGS.
436 This fixes bug #132987.
438 2004-02-11 Bill Haneman <billh@gnome.org>
440 * reverted most of Tomasz' patch below, since it was breaking
441 builds (see bug #134058).
443 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
445 * docs/reference/cspi/at-spi-cspi.types: added empty file for
446 correct pass "make dist" (empty .. because seems no sach types in
447 header files with gtk-doc markups).
448 * docs/reference/cspi/Makefile.am, configure.in:
449 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
450 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
451 * Makefile.am: added:
452 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
453 for force correct pass generate documentation on "make distcheck".
454 * libspi/Makefile.am: fixes for automake >= 1.6.
455 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
456 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
459 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
461 * docs/reference/cspi/Makefile.am (install-data-local): Install
462 index.sgml since the doc autobuilder on widget.gnome.org looks for
465 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
467 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
470 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
472 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
474 2004-01-27 Brian Cameron <brian.cameron@sun.com>
476 * test/simple-at.c: Fixed null string problems that cause core
477 dumping problems on Solaris.
479 2004-01-12 Bill Haneman <billh@gnome.org>
481 * configure.in: Incremented version to 1.3.11.
483 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
485 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
486 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
489 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
491 * configure.in: Added "fa" to ALL_LINGUAS.
493 2003-12-20 Arafat Medini <lumina@silverpen.de>
495 * configure.in: Added "ar" to ALL_LINGUAS
497 2003-12-16 Bill Haneman <billh@gnome.org>
499 * registryd/registry-main.c:
501 Set the reg_env DISPLAY variable before registering the
502 activated registry service. Fixes bug #129479.
504 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
506 * configure.in: Added "id" in ALL_LINGUAS
507 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
509 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
511 * registryd/deviceeventcontroller.c (global_filter_fn):
512 When an event is consumed discard any XEvents were added to
513 the queue while dealing with the the event. This can happen if
514 processing of the event takes a long time. Call XUngrabKeyboard
515 if an event was discarded. This fixes bug $124837.
516 Only call wait_for_release_event for a KeyPress.
517 Use local variable display instead of spi_get_display().
518 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
521 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
523 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
524 Allow for mask to contain values other than NumLock mask.
527 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
529 * registryd/devieceventcontroller.c:
530 (wait_for_release_event): Change first parameter from GdkEvent to
532 (global_filter_fn); Correct call to wait_for_release_event.
536 2003-12-08 Bill Haneman <billh@gnome.org>
540 * registryd/ucs2keysym.c: New file.
542 * registryd/deviceeventcontroller.c:
543 (dec_keysym_for_unichar): Remove old partial implementation and
544 replace with call to ucs2keysym(), which is much more complete.
545 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
550 2003-12-05 Bill Haneman <billh@gnome.org>
552 * configure.in: Version 1.3.9.
554 * docs/reference/cspi/tmpl/spi_registry.sgml:
555 Added reference to libspi/keymasks.h to the
556 description of Registry queries: AccessibleKeyMaskType.
559 2003-12-04 Bill Haneman <billh@gnome.org>
563 * idl/Accessibility_Application.idl:
564 (Accessibility::LOCALE_TYPE): New enum, corresponds to
565 setlocale's LC_TYPEs.
566 (Accessibility::Application::getLocale): New method.
567 Allows clients to query the locale, by type, of an app.
570 * cspi/spi_application.c:
571 (AccessibleApplication_getLocale): New method, wraps IDL above.
573 * libspi/application.c:
574 (spi_application_class_init): Init epv entry for getLocale.
575 (impl_accessibility_application_get_locale): Impl for above.
577 * test/test-simple.c:
578 (test_application): Added assertion for getLocale, i.e.
579 that the string from AccessibleApplication_getLocale (app, type)
580 is the same as that from setlocale (type, NULL);
582 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
584 *registryd/deviceeventcontroller.c: Add an idle handler which polls
585 the keyboard on a timeout intil the key state goes from pressed to
586 released. Fixes bug #111429.
588 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
590 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
591 root object so that it is present when a context menu in an
592 out-of-process applet is popped up.
593 (spi_atk_bridge_do_registration): Create acceessible application root
594 object only if it does not exist.
596 This fixes bug #125834.
598 2003-12-01 Bill Haneman <billh@gnome.org>
600 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
603 Added enum for AccessibleStreamableContentSeekType.
604 (AccessibleStreamableContent_freeContentTypeList): New.
606 * cspi/spi_streamablecontent.c:
607 (accessible_bonobo_stream_client_seek): New private method.
608 (AccessibleStreamableContent_seek): Implemented this method,
609 using Bonobo_Stream_seek.
610 (AccessibleStreamableContent_freeContentTypeList): New method
611 for freeing the return value from
612 AccessibleStreamableContent_getContentTypes.
613 (stream_cache_item_free): Replaces stream_release; stop leaks.
614 (stream_release): removed.
615 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
616 free the memory properly.
618 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
622 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
624 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
626 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
628 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
630 2003-12-01 Bill Haneman <billh@gnome.org>
632 Fix for bug/rfe #127463.
634 * idl/Accessibility_Accessible.idl:
635 (getLocalizedRoleName): New.
636 (unimplemented4): Removed (replaced by above).
638 * libspi/accessible.c:
639 (impl_accessibility_accessible_get_local_role_name): New.
640 (spi_accessible_class_init): Add getLocalizedRoleName entry to
644 (Accessible_getLocalizedRoleName): New.
646 * cspi/spi_accessible.c:
647 (Accessible_getLocalizedRoleName): New.
649 2003-12-01 Bill Haneman <billh@gnome.org>
652 * idl/Accessibility_Text.idl:
653 (getDefaultAttributes): New.
654 (unimplemented4): Removed (replaced by above method).
657 (impl_getDefaultAttributes): New method.
658 (spi_text_class_init):
659 initialize the get_default_attributes slot in the epv.
662 (AccessibleText_getDefaultAttributes): New prototype.
665 (AccessibleText_getDefaultAttributes): New method.
667 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
669 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
670 write beyond the end of the table. Fixes bug #120473.
672 2003-09-30 Christian Rose <menthos@menthos.com>
674 * configure.in: Added "eu" to ALL_LINGUAS.
676 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
678 * configure.in: ALL_LINGUAS: Added no.
680 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
682 * configure.in: Added lt to ALL_LINGUAS.
684 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
686 * atk-bridge/bridge.c:
687 (atk_bridge_init): Register event listeners always even for
688 out-of-process applet.
689 (spi_atk_bridge_toplevel_added): Remove call to
690 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
691 (spi_atk_bridge_toplevelk_removed): Remove call to
692 spi_atk_deregister_event_listenersa as the listeners are now always
694 (spi_atk_bridge_register_application): Remove call to
695 spi_atk_register_event_listeners as it is not done in atk_bridge_init
697 This fixes bug #120991.
699 * libspi/table.c (impl_getColumnDescription): Correct typo,
700 pointed out by Bolian.Yin@sun.com.
702 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
704 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
706 2003-09-08 Bill Haneman <billh@gnome.org>
708 * configure.in: Revved to 1.3.7.
710 This is the GNOME 2.4.0 release of at-spi.
712 * docs/reference/cspi/Makefile.am:
713 Removed spurious inclusion of 'index.sgml' in the
714 html directory; this was breaking make distcheck and
715 also some other build environments.
717 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
719 * registryd/registry.[ch}:
720 Add queue_handler_id and focus_object to SpiRegistry data structure.
721 (registry_flush_event_queue): If event being discarded is
722 "state-change:focused" store object as focus_object.
723 (registry_start_queue): Remove queue handler and focus object
725 (registry_discard_event): New function which discards a focus event
726 if we had stored focus object in the registry.
727 (registry_queue_event): Add new check that is_queueing is set as this
728 function is reentrant.
729 (registry_filer_event): Add call to registry_discard_event.
731 This resolves issues raised in bug #108664.
733 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
735 * configure.in: Added "bn" to ALL_LINGUAS.
737 2003-09-04 Bill Haneman <billh@gnome.org>
739 * cspi/spi_event.c: Documentation improvements for
740 (SPI_registerAccessibleKeylistener).
742 * docs/reference/tmpl/spi_registry.sgml:
743 Documentation improvements for SpiAccessibleKeylistenerCB.
745 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
747 * configure.in: Added "ro" to ALL_LINGUAS.
750 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
752 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
753 not decremented to zero. Fixes bug #120725.
755 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
757 * configure.in: Added "ja" to ALL_LINGUAS.
759 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
761 * configure.in: Added "is" to ALL_LINGUAS.
763 2003-08-22 Christian Rose <menthos@menthos.com>
765 * configure.in: Added "nl" to ALL_LINGUAS.
767 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
769 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
770 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
772 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
774 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
775 type for unspecified exception.
776 * cspi_streamablecontect): Add include of string.h for memcpy.
777 (stream_release): Correct call to bonobo_object_release_unref
778 (stream_cache_item_free): Correct call to bonobo_object_release_unref
779 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
780 argument of _cspi_expection_throw.
781 * libspi/hyperlink.c: Add include of libspi/action.h:
782 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
783 * libspi/streamablecontent.c: add include of libspi/component.h.
784 * regisrtyd/deviceeventcontroller.c:
785 (spi_dec_translate_mask): Removed unused variable priv.
786 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
787 * registryd/registry.c:
788 (registry_filter_event): Remove unused variable queue_is-empty.
789 (impl_registry_notify_event): Use correct modifier in fprintf call.
791 This fixes compiler warnings reported in bug #120220.
793 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
795 * registryd/registryd.c: Remove this file.
797 2003-08-17 Sanlig Badral <badral@openmn.org>
799 * configure.in: Added mn to ALL_LINGUAS.
801 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
803 * configure.in: Added et to ALL_LINGUAS.
805 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
807 * test/event-listener-test.c: Change active-descendant to
808 active-descendant-changed.
810 2003-08-10 Sami Pesonen <sampeson@iki.fi>
812 * configure.in: Added "fi" in ALL_LINGUAS.
814 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
816 * configure.in: Added "hi" in ALL_LINGUAS.
818 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
820 * configure.in: Revved to 1.3.6.
824 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
826 * registryd/deviceeventcontroller.c
827 (spi_device_event_controller_object_finalize): Fix typo in previous
830 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
832 * registryd/deviceeventcontroller.c
833 (spi_device_event_controller_object_finalize): Fix build on
834 systems without XEvIE.
836 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
838 * acconfig.h, configure.in, registryd/Makefile.am,
839 registryd/devicecontoller.[ch]: Add XEViE support.
841 2003-08-06 Wang Jian <lark@linux.net.cn>
843 * configure.in: Added "zh_CN" to ALL_LINGUAS.
845 2003-08-06 Metin Amiroff<metin@karegen.com>
847 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
849 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
851 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
852 MODIFIER_ALT in correct place.
854 This fixes part of bug #118114.
856 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
858 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
860 2003-07-28 Changwoo Ryu <cwryu@debian.org>
862 * configure.in: Added "ko" to ALL_LINGUAS.
864 2003-07-28 Ole Laursen <olau@hardworking.dk>
866 * configure.in: Added "da" to the commented out ALL_LINGUAS.
868 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
870 * configure.in: Added "sq" to ALL_LINGUAS.
872 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
874 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
876 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
878 * configure.in: updated ALL_LINGUAS list
880 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
882 * configure.in: Added Belarusian to ALL_LINGUAS.
884 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
886 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
888 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
889 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
891 This fixes bug #116949.
893 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
895 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
896 Correct CSPI to SPI in function documentation.
898 This fixes bug #118054.
900 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
902 * configure.in: Added Russian to ALL_LINGUAS.
904 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
906 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
908 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
910 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
912 2003-07-10 Joel Brich <joel.brich@laposte.net>
914 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
916 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
918 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
920 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
922 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
923 resources allocated for AccessibleEvent. See cspi_event().
925 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
926 static variable streams to NULL.
928 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
929 Update so that AcessibleEvent_ref will work.
931 This fixes bug #116624.
933 2003-07-06 Jordi Mallach <jordi@sindominio.net>
935 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
937 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
939 * configure.in: Added "fr" (French) to ALL_LINGUAS.
941 2003-07-02 Christian Neumair <chris@gnome-de.org>
943 * configure.in: Added "de" (German) to ALL_LINGUAS.
945 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
947 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
949 2003-07-01 Miloslav Trmac <mitr@volny.cz>
951 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
953 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
955 * configure.in: Added "pl" to ALL_LINGUAS.
957 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
959 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
961 2003-06-30 Bill Haneman <bill.haneman@sun.com>
964 (get_action_from_servant):
965 Removed assertion that action is implemented on an AtkObject.
967 * libspi/hyperlink.c:
969 Aggregate AccessibleAction interface on the hyperlink object if
970 the object implements AtkAction. (This convention is used in
973 2003-06-30 Bill Haneman <bill.haneman@sun.com>
975 * configure.in: Revved to 1.3.5.
977 * registryd/Accessibility_Registry.server.in.in:
978 Marked up appropriate strings for translation.
980 * atk-bridge/bridge.c: Marked a couple of
981 user-visible warnings for translation. Questionable
982 whether they are really useful, but possibly so.
985 2003-06-28 Christian Rose <menthos@menthos.com>
987 * configure.in: Added "sv" to ALL_LINGUAS.
989 2003-06-26 Bill Haneman <bill.haneman@sun.com>
991 * registryd/registry.c:
992 (spi_registry_object_finalize): Unref the deviceeventcontroller.
993 (registry_defer_on_event): Defer focus: events, this is an
994 improvement to the patch for bug #108664.
996 * TODO: Update with 2.4/"Dev Complete" items.
998 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1000 * atk-bridge/bridge.c:
1001 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1002 looks up signals once.
1003 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1004 if doing registration.
1005 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1006 when doing registration.
1008 This fixes bug #115014.
1010 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1012 * atk-bridge/bridge.c:
1013 (atk_bridge_init): Add signal handler for children-changed:remove on
1014 root when in a BonoboComponent.
1015 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1016 for first toplevel only other incrememt variable toplevels.
1017 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1018 application and remove listeners.
1019 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1021 (spi_atk_deregister_event_listeners): New function which removes
1023 (reinit_register_vars): New fuction which reinitializes variables.
1025 This fixes bug #111578.
1027 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1029 * configure.in: version 1.3.4.
1031 * cspi/spi_accessible.c:
1032 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1035 2003-06-13 Michael Meeks <michael@ximian.com>
1037 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1039 * cspi/spi_main.c (cspi_peek_ev): impl.
1041 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1043 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1045 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1047 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1048 SPI_ROLE_AUTOCOMPLETE
1050 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1052 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1053 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1055 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1057 * libspi/streamablecontent.h:
1058 * libspi/streamablecontent.c:
1059 New files, provide implementation/wrappers for
1060 Accessibility_StreamableContent.
1062 * cspi/spi_streamablecontent.c:
1063 Connected the C wrappers to the libspi C bindings.
1064 (AccessibleStreamableContent_close): New method.
1067 (AccessibleStreamableContent_close): New method, needed
1068 since we have an "open, [seek], read, close" model in cspi.
1070 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1072 Fix for #108664; Padraig's revision of my original patch.
1074 * registryd/registry.h:
1075 Added event queue list, is_queuing, and exit_notify_timeout
1076 to the registry struct.
1078 * registryd/registry.c:
1079 (registry_init): Initialize new struct from registry.h.
1080 (impl_registry_notify_event):
1081 Filter events before notifying, in case some need to be
1083 (registry_filter_event): New,
1084 we defer certain incoming events (for instance
1085 window:deactivate) because we may wish to hide
1086 or reject them based on pending events. This is
1087 mostly a workaround for bug #108664.
1088 (registry_queue_event, registry_start_queue): New.
1089 (registry_defer_on_event): Test event to see if it
1091 (registry_reset_on_event): Returns TRUE if the
1092 event should cause a queue reset.
1093 (registry_discard_on_event): Returns TRUE if the event
1094 should cause the previous queue contents to be discarded.
1095 (registry_timeout_flush_queue): Flushes the pending event
1096 queue if no reset/discard-triggering events have come in
1097 within the timeout period.
1098 (registry_emit_event): New.
1099 (registry_clone_notify_context): New, used when queueing the
1100 event notify contexts.
1102 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1104 * configure.in: Version revved to 1.3.2, lt 0.9.2
1105 Incremented ATK required version to 1.3.4.
1107 * cspi/spi_registry.c:
1108 (SPI_generateKeyEvent):
1109 We now pass the keystring along if it's non-null.
1111 * registryd/deviceeventcontroller.c:
1112 (keysym_mod_mask): New method, returns modifier mask
1113 required to generate a keysym from a given keycode.
1114 (dec_synth_keysym): New method.
1115 (dec_synth_keystring): New method.
1116 (dec_get_modifier_state): New method.
1117 (dec_lock_modifiers): New
1118 (dec_unlock_modifiers): New.
1119 (dec_keysym_for_unichar): New, rather brute-force
1120 conversion from UCS-4 to X KeySyms. Only works for
1121 Latin at the moment, with partial implementations for
1122 Greek, Hebrew, and (incomplete) Katakana.
1123 (impl_generate_keyboard_event): Now implement
1124 "KEYSTRING" synthesis and implement "KEYSYM"
1126 (keycode_from_keysym): Improved, passes a returned
1127 modmask value now if the corresponding param is non-NULL.
1129 Fixes bugs #92143 and #109776.
1132 * test/keysynth-test.c:
1133 New test program for key synthesis, to confirm fixes for
1137 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1139 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1141 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1142 Add line for RELATION_POPUP_FOR
1144 * docs/reference/cspi/tmpl/spi_relation.sgml:
1145 Add relation SPI_RELATION_POPUP_FOR
1147 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1148 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1150 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1152 * libspi/relation.c (spi_init_relation_type_table):
1153 Add line for RELATION_POPUP_FOR
1155 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1157 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1158 there are still windows which have not been deleted and emit
1159 window:deactivate, if necessary and window:destroy events.
1160 This fixes bug #114370. The change on June 5th was not correct.
1162 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1164 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1167 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1169 New methods for client exception handling and interception.
1170 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1171 (SPI_exceptionHandlerPop): You guessed it...
1172 (SPI_getSourceType): Return the type of object which offended.
1173 (SPI_getExceptionCode): Return an enum code telling, possibly,
1174 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1175 (SPIAccessibleException_getSource): get the source object for
1176 exceptions that come from Accessibles, if SPIExceptionSourceType is
1177 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1178 (SPIException_getDescription): New, returns a string description of
1179 the problem. [Not yet a stable ABI, strings are not frozen]
1181 * cspi/spi-private.h:
1182 Added implementation details of opaque SPIException
1186 Implementations of above. Also
1187 (_cspi_exception_throw): new private method that
1188 dispatches exceptions to handlers, called from cspi-bonobo.c
1190 * cspi/bonobo/cspi-bonobo.c:
1191 (cspi_check_ev): call _cspi_exception_throw.
1192 Don't print a warning message if the exception has been
1193 handled by _cspi_exception_throw.
1195 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1197 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1198 there are still windows which have not been deleted and emit
1199 window:deactivate, if necessary and window:destroy events.
1200 This fixes bug #114370.
1202 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1205 (cspi_accessible_is_a): Make non-fatal
1206 if the object reference is dead.
1208 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1210 * cspi/spi_main.c: #include <stdio.h>
1211 * test/simple-at.c: ditto
1212 * test/event-listener-test.c: ditto
1213 * test/screen-review-test.c: ditto
1215 2003-05-30 Michael Meeks <michael@ximian.com>
1217 * test/test-simple.c (main): use CORBA_ORB_perform_work
1218 instead of an unnecessary linc_ call.
1220 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1222 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1223 Add SPI_STATE_INDETERMINATE.
1225 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1228 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1230 * libspi/stateset.c (init_state_type_tables): Add support for
1233 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1235 * configure: Update versions of atk and gail required.
1236 This fixes bug #113268.
1238 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1240 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1242 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1244 * libspi/Makefile.am:
1245 Ensure headers are generated before being used by c sources.
1247 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1250 Simplified lt versioning rules.
1251 Incremented version to 1.3.0, to indicate that we're on the
1252 unstable branch now.
1254 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1256 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1257 Add MKDB_OPTIONS=--outtput-format=xml
1259 * docs/reference/cspi/at-spi-cspi-docs.sgml
1260 docs/reference/idl/at-spi-idl-docs.sgml:
1261 Convert to Docbook XML.
1263 This fixes bug #111793.
1265 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1267 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1268 AcccessibleKeyEventType, AccessibleKeyMaskType.
1270 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1272 * cspi/state-types.h: Add documentation for AccessibleState.
1274 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1275 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1276 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1277 AccessibleComponentLayer.
1279 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1282 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1284 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1285 Accessible. Add description of AccessibleEvent,
1286 AccessibleEventListenerCB.
1288 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1291 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1292 documentation. Add description of AccessibleKeystrokeListenerCB,
1293 AccessibleKeyEventMask, AccessibleModifierMaskType,
1294 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1295 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1297 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1300 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1303 This fixes bug #104730.
1305 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1307 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1308 Set is_text field of Accessibility_DeviceEvent data structure.
1310 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1311 is-text field of AccessibleDeviceEvent data structure.
1313 This addresses part of bug #108666.
1315 * registryd/devcieeventcontroller.c: Unset debug option.
1317 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1319 * cspi/accessible.c:
1320 (cpi_initial_relation_type_table): New function which initializes
1321 mapping between Accessibility_RelationType and AccessibleRelationType.
1322 (cspi_relation_type_from_spi_relation_type): New function which
1323 translates an Accessibility_RelationType into an AccessibleRelationType.
1324 (AccessibleRelation_getRelationType): Use
1325 cpi_relation_type_get_spi_relation_type to return correct value.
1326 (spi_state_to_corba): Return correct type for default case.
1328 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1329 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1331 * cspi/cspi-bonobo-listener.c:
1332 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1335 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1336 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1337 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1338 libspi/image.c, libspi/listener.c, libspi/selection.c,
1339 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1340 registryd/desktop.c, registryd/registry.c:
1341 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1343 * libspi/eventlistener.c
1344 Remove semicolon after BONOBO_TYPE_FUNC.
1346 * libspi/relation.c:
1347 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1348 (spi_init_relation_type_table): Initialize using correct type.
1350 * registryd/desktop.c:
1351 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1352 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1353 of Accessibility_KeyEventType.
1355 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1358 * tests/simple-at.c, tests/screen-review-test.c:
1359 Add include for <strings.h>.
1361 * tests.stress-test.c:
1362 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1364 These changes fix compiler warnings when using FORTE compiler on
1365 Solaris; fixes bug #107479.
1368 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1371 * configure.in: revved to 1.1.10
1373 * libspi/keymasks.h:
1374 (SPI_KEYMASK_NUMLOCK): Added.
1376 * registryd/deviceeventcontroller.c:
1377 (spi_key_event_matches_listener): AND with a smaller
1378 bitmask (as we should).
1379 (spi_dec_translate_mask):
1380 New method, sets the virtual NumLock modifier bit
1381 if numlock is on. Eventually it can handle other virtual
1382 modifier bits if needed, or other marshalling from
1383 at-spi modifier masks to platform (X) masks.
1384 (spi_dec_key_listener_new):
1385 Call spi_dec_translate_mask to set up virtual mod bits
1386 in the 'mask' field when creating a new listener struct.
1387 (spi_dec_emit_modifier_event):
1388 Set the virtual (i.e. NumLock) bits before emitting event.
1389 (spi_controller_register_with_devices):
1390 Query for the NumLock modifier 'physical' bit if Xkb is
1391 present, for use in above methods.
1395 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1397 * registryd/deviceeventcontroller.c:
1398 (spi_keystroke_from_x_key_event):
1399 Instead of checking to see if the keysym is
1400 printable, check the string from XLookupString
1401 if available, get the first unicode character from it,
1402 and call g_unichar_isprint to determine whether the
1403 is_text flag should be TRUE or FALSE.
1407 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1409 * atk-bridge/bridge.c: Add support for extended events
1410 * cspi/spi_event.c: Add documentation and implementation for
1412 * tests/event-listener-test.c: Add tests for extended events.
1414 This fixes bugs #100424 and #100426.
1416 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1418 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1419 of LT_CURRENT. This fixes bug #89350.
1421 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1423 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1424 number of signal parameter values before accessing them. This fixes
1427 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1429 * configure.in: Fixed duplicate inclusion of -lspi.
1430 * branched for gnome-2-2/HEAD.
1431 [created tag "gnome-2-2"]
1433 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1435 * configure.in: 1.1.9 release.
1438 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1440 [needed by GOK, to fix bugs 107985 and 107988]
1441 * registryd/deviceeventcontroller.c:
1442 (spi_dec_clear_unlatch_pending):
1443 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1444 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1445 (spi_dec_init_mouse_listener):Emit warning if mouse button
1447 (spi_device_event_controller_forward_mouse_event):
1448 Removed unnecessary parens from a conditional.
1449 (global_filter_fn):Added TODO comment.
1450 (impl_generate_keyboard_event):
1451 Cancel a pending relatch if a 'delatching' key was
1454 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1456 * atk-bridge/bridge.c:
1457 Change atk_signal_child_changed to atk_signal_children_changed.
1458 Reorganize code in spi_atk_bridge_signal_listener().
1460 * test/event-listener-test.c:
1461 Add children_changed_listener and report_children_changed_event()
1462 to test AccessibleChildEvent_getChildAccessible.
1464 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1466 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1467 g_strdup to CORBA_String_dup (bug #105291)
1469 * test/event-listener-test.c (report_text_event): Add call to
1472 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1474 * registryd/deviceeventcontroller.c:
1475 (spi_keystroke_from_x_key_event):
1476 Fix string and keysym return codes to match modifier state.
1479 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1481 * registryd/deviceeventcontroller.c:
1482 (spi_keystroke_from_x_key_event):
1483 Fix segv due to improper use of isprint(c). [bug #107254]
1485 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1488 (get_accessible_text_boundary_type):
1489 Move default return value to (new) default case in switch.
1490 (get_accessible_text_clip_type):
1491 Move default return value to (new) default case in switch.
1493 * libspi/application.c:
1494 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1495 Remove unused methods.
1496 (impl_accessibility_application_register_object_event_listener):
1497 Remove unused methods.
1500 Added #include of <math.h>.
1502 * registryd/deviceeventcontroller.c:
1503 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1504 we don't currently use this method.
1505 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1507 (impl_generate_key_event):
1508 Remove unused variables.
1509 (impl_generate_mouse_event):
1510 Initialize button to zero, just in case we get an invalid
1511 input. Added support for mouse buttons 4 and 5.
1512 (spi_device_event_controller_new):
1513 Removed unused variable declaration for 'private'.
1515 Added #include of <gdk/gdk.h>
1517 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1519 * configure.in: Update to work when X is not installed in expected
1520 location. Fixes bug #105836.
1522 * atk-bridge/bridge.c
1523 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1525 (spi_atk_register_event_listener): Add signal listener for
1527 (spi_atk_bridge_signal_listener): Event event when link-selected
1528 signal is emitted. (bug #104622)
1530 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1531 on returned string. (bug #105291)
1533 * test/event-listener-test.c: Add test for link-selected.
1535 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1537 * atk-bridge/Makefile.am: Correct typo in previous commit.
1539 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1541 * atk-bridge/Makefile.am: Allow for build directory to be different
1542 from source directory
1544 * registryd/Makefile.am: Allow for build directory to be different
1545 from source directory
1549 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1552 Fixed dependencies for libcspi so that libspi gets pulled in
1553 properly. Fixes 104741.
1557 Clean up inline docs a little.
1559 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1561 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1562 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1563 the AtkObject within an SpiDesktop.
1564 This addresses bug #101524.
1566 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1567 Remove call to gdk_init().
1569 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1570 so that Display is set when SpiDesktop is created.
1572 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1574 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1575 This fixes bug #102830.
1577 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1579 * test/test-simple.c: Update to take account of fact that GailButton
1580 now implements AtkText.
1581 (create_text_window): Set name on AtkObject for GtkEntry.
1582 (validate_accessible): Check accessible name before calling test_text().
1584 * libspi/Makefile.am: Fix problem with building outside of source
1585 directory. Bug #98120.
1587 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1588 typo in documentation comments. Bug #94275.
1590 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1592 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1594 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1597 Add includes to avoid compiler warnings on Solaris.
1598 (impl_getRangeExtents): Bug fix.
1600 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1602 Fix for 100944, [API addition approved by Gman and murrayc].
1609 * idl/Accessibility_Text.idl:
1610 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1611 (Text::getRangeExtents): New method for efficient
1612 bounds query of a text range.
1613 (Text::getBoundedRanges): New method for efficient
1614 clipping of text to bounding boxes.
1615 (unImplemented7, unImplemented8):
1616 Removed these padding methods to preserve bincompat.
1619 (impl_getRangeExtents): implementation of new IDL.
1620 (impl_getBoundedRanges): implementation of new IDL.
1621 (SpiTextRect): Internal use struct.
1622 (_spi_text_rect_union): internal method, calculates union of two
1623 SpiTextRect bounding rects.
1624 (_spi_text_range_seq_from_gslist): internal method, allows us
1625 to build our sequence efficiently as a gslist then convert it
1627 (_spi_bounds_contain): internal method, determines whether
1628 a text character is "in" or "out" of a clip rect according to
1629 values of TEXT_CLIP_TYPE.
1630 (spi_text_class_init): Initialize the new methods in the epv.
1633 (AccessibleTextClipType): New enum used by screen review api.
1634 (AccessibleTextRange): New struct used by screen review api.
1635 (AccessibleText_getRangeExtents):
1636 cspi binding for Accessibility_Text_getRangeExtents.
1637 (AccessibleText_getBoundedRanges):
1638 cspi binding for Accessibility_Text_getBoundedRanges.
1639 (AccessibleTextRange_freeRanges): convenience method.
1642 (AccessibleText_getRangeExtents):
1643 cspi binding for Accessibility_Text_getRangeExtents.
1644 (AccessibleText_getBoundedRanges):
1645 cspi binding for Accessibility_Text_getBoundedRanges.
1646 (AccessibleTextRange_freeRanges): convenience method.
1647 (get_accessible_text_clip_type): internal conversion method.
1648 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1650 * registryd/deviceeventcontroller.c:
1651 (spi_dec_mouse_check):
1652 Improved behavior for mouse:abs events
1653 [same granularity as mouse:rel events, and no
1654 events when mouse is idle].
1656 2002-12-16 Michael Meeks <michael@ximian.com>
1658 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1660 * libspi/stateset.c (state_spi_to_atk): split out
1661 ( fix several remote array bounds nasties )
1662 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1663 (impl_remove): make safe from array bounds issues.
1664 (spi_atk_state_from_spi_state): impl.
1666 * libspi/stateset.h (spi_state_set_cache_is_empty):
1667 add a set of wrapper defines to get layering right.
1669 * cspi/spi_accessible.c: update state set stuff to
1672 2002-12-14 Michael Meeks <michael@ximian.com>
1674 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1675 to avoid 2 roundtrips to the registry per key event
1676 (spi_atk_bridge_key_listener): upd.
1677 (deregister_application): release the dec.
1679 * registryd/registry.c (notify_listeners_cb):
1680 bin lots of re-enterant complexity - we no longer
1681 do a round-trip bonobo ref here, ensure that a single
1682 listener's exception failure won't poison all other
1684 (impl_registry_notify_event): bin obvious memory leak.
1686 2002-12-13 Michael Meeks <michael@ximian.com>
1688 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1689 init the ev so the error is meaningful.
1690 (spi_atk_bridge_key_listener): ditto.
1692 * cspi/spi_main.c (cspi_ev): init the ev so we start
1693 with a clean slate, otherwise the first exception
1694 kills us completely.
1696 * cspi/spi_text.c (get_accessible_text_boundary_type):
1697 add a fallthrough for no warnings.
1699 * cspi/spi_registry.c: prune unused warnings.
1701 * cspi/spi_main.c (cspi_object_take): fix
1702 mind-blowing brokenness ( by watching the compile
1705 * cspi/spi_accessible.c (Accessible_getStateSet):
1706 re-impl. to use an AtkStateSet.
1707 (spi_state_type_from_accessible_state),
1708 (init_state_table): bin these.
1710 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1712 (atk_state_set_from_accessibility_state_set): here.
1714 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1715 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1716 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1717 (AccessibleStateSet_add, AccessibleStateSet_remove),
1718 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1719 (AccessibleStateSet_isEmpty): re-write to use a local
1722 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1724 * configure.in: Revved to 1.1.7 (new keymask vals).
1726 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1728 * libspi/keymasks.h:
1729 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1731 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1734 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1735 to compare two CORBA_TypeCodes.
1736 (cspi_internal_event_add): Silence warning from FORTE compiler.
1738 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1739 avoid implicit declaration of functions.
1741 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1743 * atk-bridge/bridge.c:
1744 (spi_atk_bridge_init_event_type_consts): Store signal id for
1745 active-descendant-changed signal.
1746 (spi_atk_register_event_listeners): Add signal listener for
1747 active-descendant-changed signal,
1748 (spi_atk_bridge_signal_listener): Move code in function
1749 spi_atk-signal_emit_event() into this function.
1750 Add support for active-descendant-changed
1751 Update support for child-changed signal.
1752 (spi_bridge_window_event_listener): Silence warning.
1754 * libspi/spi_private.[ch]:
1755 (spi_init_any_object): Change second parameter from CORBA_Object to
1757 Omit call to CORBA_Object_duplicate().
1758 Set CORBA_any's _value to CORBA_Object*.
1760 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1766 (AccessibleEvent_ref, AccessibleEvent_unref):
1767 New methods, for persisting an event outside the emission context.
1768 Must be used if the new accessor methods are to be called
1769 outside of the event listener's callback.
1771 * cspi/bonobo/cspi-bonobo.c:
1772 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1773 as second parameter instead of NULL, so we can call
1774 cspi_check_ev afterwards.
1777 (cspi_object_take): New internal method,
1778 converts a CORBA_Object reference to a hard ref on
1779 an Accessible if possible, returning NULL if the object
1780 reference is invalid or an Accessible * otherwise.
1783 (AccessibleEvent_ref):
1784 Increment the event's internal private refcount, and
1785 add the event's internal struct to an internal cache
1786 if it's not already there.
1787 (AccessibleEvent_unref):
1788 Decrement the event's refcount and remove it from
1789 the cspi event cache if refcount==0.
1790 (cspi_event_compare): New private method.
1791 Compares two event structs via their ids. Used
1793 (cspi_internal_event_lookup): New private method.
1794 (cspi_internal_event_check): New private method,
1795 a 0-order sanity check for events to make sure their
1796 private data is intact.
1797 (cspi_internal_event_add, cspi_internal_event_remove):
1798 New private methods for managiing the event cache.
1800 * cspi/bonobo/cspi-bonobo-listener.c:
1802 Initialize the new private data elements (id, magic, ref_count).
1804 * atk-bridge/bridge.c:
1805 (spi_atk_bridge_signal_listener):
1806 Fixed bug #100530, passing wrong params to emission func.
1808 * registryd/deviceeventcontroller.c:
1809 (spi_dec_button_update_and_emit):
1810 Fixed type in mask bit operations; fix for #99799.
1812 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1814 Removed some of the more dangerous workarounds from
1815 previous commit; they are only needed by GOK, which
1816 in reality should be using another method to accomplish
1817 the goals. So on reconsideration some of the workarounds
1818 need to be reverted:
1820 * registryd/deviceeventcontroller.c:
1821 (spi_keycodes_contain, spi_dec_init_keycode_list):
1822 Removed these methods, used only by a nasty hack to try
1823 and detect whether a key synthesis should be allowed
1824 to reset the XKB latch state or not. This code was only
1825 required to work around an interaction between GOK,
1826 button events, and XKB.
1827 (impl_generate_key_event):
1828 Removed hack at end of key generation that tried to
1829 "do the right thing" if XKB latch keys were generated
1830 in the midst of button press/release pairs.
1833 Added a check for HAVE_XINPUT. Not normally used yet.
1835 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1837 Workarounds and fixes for mouse event/XKB interaction.
1839 * registryd/deviceeventcontroller.c:
1840 (spi_keycodes_contain, spi_dec_init_keycode_list):
1841 New internal methods.
1842 (spi_dec_set_unlatch_pending):
1843 Split the method that tells XKB to expect an
1844 unlatch (and revert it) out of the rest of the
1845 event handling code. This method is called by the
1846 two mouse event handlers (the poll and the filter).
1847 (spi_dec_update_and_emit, spi_dec_mouse_check):
1848 New methods split from spi_dec_poll_mouse_moved.
1849 The second one is now called from inside the filterFn
1850 when an XKB delatch event is received, to determine
1851 whether to revert the delatch or not.
1852 (spi_poll_mouse_moved): Refactor; also we can now
1853 properly handle the case where multiple button states
1854 have changed between polling cycles and we didn't get
1855 notified due to another client's grab.
1857 Synchronize the server while handling an XKB notification.
1858 Ugly, but apparently necessary to avoid nasty races.
1859 Check the mouse state on receipt of an XKB latch change,
1860 to decide whether to revert the latch or not. (Latches are
1861 reverted if there is an immediately preceding mouse button
1862 event that a client has consumed, in which case we don't want
1863 the user to see the side-effect of the event).
1864 (spi_device_event_controller_forward_mouse_event):
1865 Check for modifier events and fire before resetting mouse_mask_state,
1866 prevents losing modifier events.
1868 (impl_generate_keyboard_event):
1869 If we've just generated a keyboard event for a non-shift key,
1870 we don't want to revert the pending XKB latch.
1871 Otherwise, check the modifier state (via a call to
1872 spi_dev_mouse_check) and set the relatch mask to
1873 that state before returning.
1875 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1878 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1881 * atk-bridge/bridge.c:
1882 (spi_atk_register_event_listeners):
1883 Don't re-register for ATK events if the registry has died
1884 and the app needs to re-register; the ATK listeners are in
1885 process and doing so will cause duplicate emission.
1887 * registryd/deviceeventcontroller.c:
1888 (spi_poll_mouse_moved):
1889 Reformat the source, detect and emit multiple button-change
1890 events (i.e. if multiple buttons have changed between poll
1892 Add code to detect mouse-down events even when the pointer
1893 is grabbed; workaround for GOK bug 98420.
1894 (spi_controller_register_with_devices):
1895 Call XTestGrabControl with 'impervious' flag set to True,
1896 allows us to synthesize events and query the pointer even during
1897 an active grab by another client.
1898 (spi_device_event_controller_forward_mouse_event):
1899 Set the mouse_mask_state to the mouse_button_state from
1900 the intercepted event, to synchronize the grab listener with
1903 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1905 * cspi/spi_accessible.c:
1906 (AccessibleRole_getName):
1907 Added necessary strings for making this (deprecated)
1908 method work with the new role types.
1909 (init_role_table, role_table):
1910 Added definition of SPI_ROLE_APPLICATION.
1912 * libspi/spi-roletypes.h:
1913 Added SPI_ROLE_APPLICATION.
1915 * idl/Accessibility_Role.idl:
1916 Added ROLE_APPLICATION.
1918 * docs/reference/cspi/at-spi-cspi-decl.txt:
1919 Added SPI_ROLE_APPLICATION to docs.
1921 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1923 * cspi/spi_accessible.c
1924 (cspi_init_role_table): Do not write beyond end of role_table.
1925 (Accessible_getRole): Use correct type for value returned by
1926 Accessibility_Accessible_getRole().
1928 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1929 beyond end of role_table. (This fixes bug #98269)
1931 * libspi/application.c: Add include file spi-private.h for
1932 definition of spi_init_any_nil.
1934 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1938 * libspi/spi-private.h:
1939 Added DGB() macro, and extern int _dbg declaration.
1941 * registryd/registry.c:
1942 (definitions) storage for _dbg.
1943 (spi_registry_init):
1944 Get environment variable "AT_SPI_DEBUG".
1945 (spi_registry_set_debug):
1946 New method, to initialize _dbg value.
1947 (spi_listener_struct_new, spi_registry_object_finalize):
1948 (notify_listeners_cb):
1949 Changed fprintfs to use DBG and g_warning().
1951 * registryd/deviceeventcontroller.c:
1952 (_deregister_keygrab, spi_controller_register_device_listener):
1953 Changed debug/warning messages to use DBG macro.
1955 * libspi/listener.c:
1956 (impl_notify_event):
1957 Changed warning messages to use DBG macro and g_warning().
1959 * atk-bridge/bridge.c:
1960 (atk_bridge_init, spi_atk_bridge_get_registry):
1961 (spi_atk_bridge_exit_func):
1962 (spi_atk_bridge_property_event_listener):
1963 Changed status, warning, and error messages to use
1964 g_warning, g_message, and DBG macros.
1967 Read the state of the AT_SPI_DEBUG environment variable
1968 and set a local '_dbg' accordingly.
1970 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1972 FIXES for 98836, 98842, other bugs.
1975 Revved to 1.1.4, interface-age=4, binary-age=4.
1977 * registryd/deviceeventcontroller.c:
1979 Fixed crasher bug in last_mouse_pos initialization.
1981 * registryd/registry.c:
1982 (desktop_add_application, desktop_remove_application):
1983 Added (and then commented out) some support for
1984 object context marshalling. [TODO]
1986 * atk-bridge/bridge.c:
1987 (spi_atk_bridge_event_context_create):
1988 Commented out object context creation until it can
1989 be properly tested and debugged.
1991 * registryd/registry.c:
1992 (impl_registry_notify_event):
1993 Fixed crasher bug, we were calling
1994 spi_re_entrant_list_foreach () with an empty list.
1996 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1998 * idl/Accessibility_Action.idl:
1999 * idl/Accessibility_Component.idl:
2000 * idl/Accessibility_Desktop.idl:
2001 * idl/Accessibility_Event.idl:
2002 * idl/Accessibility_Hyperlink.idl:
2003 * idl/Accessibility_Image.idl:
2004 * idl/Accessibility_Relation.idl:
2005 * idl/Accessibility_Selection.idl:
2006 * idl/Accessibility_State.idl:
2007 * idl/Accessibility_Value.idl:
2008 Updated unimplemented slot count to minimum of
2009 four for all interfaces, for ABI freeze.
2011 * idl/Accessibility_EditableText.idl:
2012 * idl/Accessibility_Text.idl:
2013 Updated unimplemented slot count to six
2016 * idl/Accessibility_Registry.idl:
2017 Updated unimplemented slot count to six
2018 (also for DeviceEventController),
2021 * idl/Accessibility_Table.idl:
2022 Updated unimplemented slot count to eight,
2025 * idl/Accessibility_Event.idl:
2026 Added CORBA_any "any_data" member to Event struct.
2028 * idl/Accessibility_Event.idl:
2029 Added CORBA_any "any_data" member to Event struct.
2031 * atk-bridge/bridge.c:
2033 atk_signal_text_changed, atk_signal_child_changed,
2034 signal ids queried from gtype system.
2035 (AtkBridgeEventContextType): New enum.
2036 (AtkBridgeEventContextData): New struct.
2037 (AtkBridgeEventContext): New struct.
2038 (atk_bridge_init_event_type_consts):
2039 New method, initializes type contants for comparison
2040 prior to emit_eventv.
2041 (atk_bridge_event_context_init): New method,
2042 initializes a CORBA_any from an AtkBridgeEventContext.
2043 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2044 initialize the event.any_data struct.
2045 (spi_atk_bridge_event_context_create): New method,
2046 creates an AtkBridgeEventContext from signal/event info.
2047 (spi_atk_bridge_event_context_free): New method.
2048 (spi_atk_emit_eventv): Changed to take an
2049 AtkBridgeEventContext parameter. We now initialize
2050 the event.any_data member prior to notifying the
2051 Registry, via the AtkBridgeEventContext.
2052 (spi_atk_bridge_property_event_listener):
2053 (spi_atk_bridge_state_event_listener):
2054 Match emit_eventv signature.
2055 (spi_atk_bridge_object_event_listener):
2056 Match emit_eventv signature, and create an
2057 event context from the event details.
2058 Free the event context afterwards.
2059 (spi_atk_bridge_window_event_listener):
2060 Create an event context, pass it to the
2064 (AccessibleEvent_getContextString):
2065 (AccessibleEvent_getContextObject):
2066 New methods, allow query of AccessibleEvent objects
2067 for more context details (via the "any_data" member
2068 of the Event struct, above).
2071 Definitions for AccessibleEvent_getContextString
2072 and AccessibleEvent_getContextObject.
2074 * cspi/spi_listener.h:
2075 (InternalEvent): New struct.
2078 (AccessibleEvent_getContextString):
2079 (AccessibleEvent_getContextObject):
2080 Implementations of new methods, for obtaining
2081 additional context information from some event types.
2083 * cspi/spi_registry.c:
2084 (SPI_registerGlobalEventListener):
2085 Added mention of active-descendant-changed event in docs.
2087 * cspi/cspi-bonobo-listener.c:
2089 Marshal the any into the AccessibleEvent via
2092 * libspi/spi-private.h:
2093 #include <orbit/orbit.h>
2095 (spi_init_any_string):
2096 (spi_init_any_object):
2097 New convenience function declarations.
2101 (spi_init_any_string):
2102 (spi_init_any_object):
2103 New convenience function implementations.
2105 * registryd/deviceeventcontroller.c:
2106 (spi_poll_dec_mouse_moved):
2107 (spi_device_event_controller_forward_mous_event):
2108 Initialize any_data member of event.
2109 (spi_deregister_controller_device_listener):
2110 Fix incorrect param pass which was preventing deregistration.
2112 * registryd/registry.c:
2113 (desktop_add_application):
2114 (desktop_remove_application):
2115 Add object data to event's any_data before dispatch.
2117 Fix for error messages from GAIL.
2119 * test/event-listener-test.c:
2120 Test new ContextString and "any_data" API:
2121 (report_text_event): New method query and output context string.
2122 (main): register a new text listener with report_text_event
2125 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2127 Fixes for bugs 98127 and 97914.
2128 * cspi/spi-roletypes.h:
2129 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2131 * cspi/spi-statetypes.h:
2132 Added SPI_STATE_MANAGES_DESCENDANTS
2134 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2135 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2136 * cspi/spi_accessible.c:
2137 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2138 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2139 Accessibility_STATE_MANAGES_DESCENDANTS
2140 * libspi/accessible.c:
2141 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2142 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2143 As requested by Bill, I also cleaned up the alignment.
2144 * libspi/relation.c:
2145 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2146 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2147 * libspi/stateset.c:
2148 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2149 Accessibility_STATE_MANAGES_DESCENDANTS
2150 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2151 Document changes reflecting modifications to roles.
2152 * docs/reference/cspi/tmpl/spi_relation.sgml:
2153 Document changes reflecting modifications to relations.
2154 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2155 Document changes reflecting modifications to states.
2157 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2160 Revved to 1.1.3, interface-age=3, binary-age=3.
2161 Added REBUILD macro.
2164 Removed accessx-gui from the tests, since we have a nice
2165 keyboard accessibility capplet now :-)
2167 * test/keysynth-demo.c:
2168 (increment_scan): removed do-nothing default: case,
2171 * test/visual-bell.c:
2172 (main) : removed do-nothing default: case,
2175 * cspi/spi_action.c:
2176 (AccessibleAction_getKeyBinding_):
2177 Documented keybinding string format.
2181 (AccessibleText_getAttributes):
2182 Documented the text attribute string format.
2183 It's changed to use semicolon delimiters also,
2184 to prevent clashes with CSS attributes, but the old
2185 trick of looking for ", " strings will still work
2186 (as unreliably as ever). Fix for bug related to 97916.
2189 Include <cspi/bonobo/cspi-bonobo-listener.h>
2190 Fixes build warning.
2191 (SPI_freeAccessibleKeySet):
2192 (AccessibleKeystrokeListener_addCallback):
2193 (AccessibleKeystrokeListener_removeCallback):
2194 Modify to use AccessibleDeviceListener API internally,
2195 instead of AccessibleKeystrokeListener.
2197 * idl/Accessibility_Event.idl:
2198 Added two more empty slots to EventListener (for a total of four).
2200 * idl/Accessibility_Accessible.idl:
2201 Added four empty slots to Accessible interface.
2203 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2205 * idl/Accessibility_Registry.idl:
2206 (KeyEventType, EventType):
2207 Marked KeyEventType as deprecated; it duplicates
2208 functionality of EventType, which has been extended to
2209 include Mouse-button events.
2210 (KeyEventTypeSeq): defined in terms of EventType.
2211 (registerDeviceEventListener, deregisterDeviceEventListener):
2212 New methods, for managing listeners to device events,
2213 which potentially may consume them.
2216 Added definition for AccessibleDeviceListener.
2218 * cspi/spi-listener.h:
2219 (enum AccessibleDeviceEventType):
2220 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2221 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2222 for backwards compat.
2223 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2224 and typedef'd AccessibleKeystroke to it for back-compat.
2225 (AccessibleDeviceListenerCB):
2226 New function prototype typedef.
2229 (AccessibleDeviceEventMask): New typedef.
2230 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2231 (AccessibleKeyMaskType):
2232 Set equivalent to AccessibleModifierMaskType for back-compat.
2233 (SPI_createAccessibleKeystrokeListener):
2234 (AccessibleKeystrokeListener_unref):
2235 Deprecated in favor of equivalent (better-named) new API below..
2236 keystroke listeners are like all device listeners.
2237 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2238 New API names for old features :-).
2239 (AccessibleDeviceListener_addCallback):
2240 (AccessibleDeviceListener_removeCallback):
2241 (SPI_registerDeviceEventListener):
2242 (SPI_deregisterDeviceEventListener):
2246 (SPI_createAccessibleKeystrokeListener):
2247 Use new preferred API, cspi_device_listener_new() and
2248 cspi_device_listener_add_cb().
2249 (AccessibleKeystrokeListener_removeCallback):
2250 Use new preferred API, cspi_device_listener_remove_cb().
2251 (AccessibleKeystrokeListener_unref):
2252 Use new preferred API, cspi_device_listener_unref().
2253 (SPI_createAccessibleDeviceListener):
2254 (AccessibleDeviceListener_addCallback):
2255 (AccessibleDeviceListener_removeCallback):
2256 Implementation of new API.
2258 * cspi/spi_registry.c:
2259 (SPI_registerDeviceEventListener):
2260 (SPI_deregisterDeviceEventListener):
2261 Implementation of new API. Fixed memory leak and removed need to
2262 allocate EventTypeSeq (thanks Michael for catching this).
2263 Squashed a wayward CORBA_exception_free that shouldn't get called.
2265 * cspi/bonobo/cspi-bonobo-listener.c:
2267 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2268 (cspi_key_event): renamed to cspi_device_event().
2269 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2270 Extended to handle mouse button events as well as key events.
2271 (CSpiKeystrokeListener):
2272 Class superceded by CSpiDeviceListener.
2273 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2274 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2276 * cspi/bonobo/cspi-bonobo-listener.h:
2277 (CSpiKeystrokeListener):
2278 Class superceded by CSpiDeviceListener.
2279 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2280 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2282 * libspi/Makefile.am:
2283 Replaced keystrokelistener.h and keystrokelistener.c
2284 with devicelistener.h and devicelistener.c; keystrokelisener.h
2285 stub retained for back-compat.
2287 * libspi/keystrokelistener.c:
2291 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2293 * registryd/deviceeventcontroller.c:
2294 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2295 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2296 (DEControllerPrivateData): Added xkb settings data.
2297 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2298 button release events (which can't be captured via XGrabButton).
2299 Don't dispatch via the 'normal' event mechanism if the device event was
2301 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2302 Handle the typeseq data in its new location (see above).
2303 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2304 New methods, for "generic" device listeners.
2305 (spi_controller_register_device_listener):
2306 Now handle mouse event listeners as well as key listeners.
2307 (spi_controller_notify_mouselisteners):
2308 New internal method.
2309 (spi_device_event_controller_forward_mouse_event):
2310 Now we notify mouse device listeners as well as generating the
2311 non-consumable "mouse:" events.
2313 We must check and restore the XKB
2314 modifier map if we consume the event, since the act of triggering
2315 a mouse event will normally reset the XKB latch. This is required for
2317 (spi_controller_register_with_devices):
2318 Load the XKB settings when registering, and register for XKB
2319 state notify events.
2320 (spi_key_eventtype_seq_contains_event):
2321 Renamed spi_eventtype_seq_contains_event, since it's used
2322 internally for all device event types now.
2323 (spi_key_event_matches_listener):
2324 Uses spi_eventtype_seq_contains_event now.
2325 (spi_device_event_controller_object_finalize):
2326 Free the private data and the XkbKeyboard struct.
2327 (impl_register_device_listener, impl_deregister_device_listener):
2328 Implementation of new IDL.
2329 (spi_deregister_controller_device_listener):
2330 New internal method.
2331 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2332 More efficient implementation, we don't have to create a new
2333 XkbControls structure every time we query.
2334 (spi_device_event_controller_class_init):
2335 Initialize the epv entries for the new IDL. Assign the
2336 "spi-dec-private" quark.
2337 (spi_device_event_controller_init):
2338 Initialize the private data.
2339 (spi_device_event_controller_forward_key_event):
2340 Removed a bogus CORBA_exception_free() call.
2342 * registryd/deviceeventcontroller.h:
2343 Replaced inclusion of keystrokelistener.h with
2346 * test/event-listener-test.c:
2347 (report_mouse_event):
2350 Added mouse-event device listener.
2352 * test/test-simple.c:
2353 (create_test_window):
2354 Fixed regression (we were instantiating a GtkRange,
2355 which is now an abstract class). Also fixed to match
2356 existing AtkRole names, this seems to have changed in ATK
2357 awhile ago; too late now I think, and the new
2358 mechanism is at least elegant and consistent with the
2359 glib enum "nick" APIs.
2361 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2363 * idl/Accessibility_Relation.idl:
2364 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2365 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2366 * idl/Accessibility_Role.idl:
2367 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2368 * idl/Accessibility_State.idl:
2369 add STATE_MANAGES_DESCENDANTS
2370 * test/event-listener-test.c:
2371 Added a listener for active-descendant events.
2373 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2375 * atk-bridge/bridge.c
2376 (atk_bridge_init): If application is Bonobo component wait until top
2377 level is added before registering
2378 (spi_atk_bridge_do_registration): New function which contains code,
2379 formerly in atk_bridge_init, to do application registration.
2380 (spi_atk_bridge_toplevel_added): Signal called when top level
2381 added to Bonobo component
2383 This fixes bug #83134.
2385 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2387 * registryd/deviceeventcontroller.c
2388 Fixed compilation error caused by calling gettimeofday()
2391 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2396 Added template for HAVE_XKB.
2399 Changes to check for XKB, and to set the HAVE_XKB #define if it
2402 * libspi/listener.c:
2403 ()impl_notify_event): Make failure to get event source name
2406 * registryd/deviceeventcontroller.c:
2407 (#include): include X11/XKBlib.h.
2408 (DEControllerPrivateData) : New struct.
2409 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2411 (dec_synth_keycode_press) (dec_synth_keycode_release):
2412 New methods; split the key synthesis code into these methods.
2413 They check XKB settings before determining the "time" values to
2414 pass to Xtest; this fixes bug #95828.
2415 (impl_generate_keyboard_event): Changed to use methods above,
2416 instead of callng Xtest directly.
2417 (spi_device_event_controller_init): Initialize new privae struct s
2419 (spi_device_event_controllr_object_finalize):
2420 Free the (new) private data.
2422 * registryd/deviceeventcontroller.h:
2423 Add new gpointer to end of struct data.
2425 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2428 Incremented revision to 1.1.2, SONAME is still '.so', library
2429 extensions are ".so.0.0.2".
2431 * registryd/deviceeventcontroller.c:
2432 FIXES FOR #93592 and #95940.
2433 (statics): renamed mouse_button_state to mouse_mask_state,
2434 added key_modifier_mask.
2435 (spi_dec_poll_mouse_moved):
2436 Added key modifier checks, and emit "keyboard:modifiers"
2437 events when the key modifiers currently in use change.
2438 Also generate "mouse:abs" events periodically, even if the mouse
2439 is stationary (should we?).
2440 Alternatively we could generate "mouse:abs" events for either all
2441 mouse movements, or every 'nth' mouse movement, or at the
2442 beginning and end of every "active" mouse period.
2444 * test/event-listener-test.c:
2445 (main): Added listener for "keyboard:modifiers" events.
2447 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2449 * libspi/keymasks.h:
2450 Added key mask #defines for mouse buttons; e.g.
2451 SPI_KEYMASK_BUTTON1, etc.
2454 Incremented dependency on ATK to version 1.1.0. (This dependency
2455 is probably premature but will soon be real enough).
2457 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2459 * libspi/hyperlink.[ch]
2460 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2461 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2464 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2469 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2471 * registryd/deviceeventcontroller.c
2472 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2473 events to be ignored.
2474 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2475 keyboard_mode so that XAllowEvents() can be called.
2479 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2481 * cspi/spi-accessible.c: Correct names of roles returned by
2482 AccessibleRole_getName(). Fixes bug #95055.
2484 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2486 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2489 * registryd/registry.c
2490 (desktop_remove_application: Write diagnostic message to stderr for
2493 (impl_accessibility_registry_deregister_global_event_listener):
2494 Correct size of lists array. This addresses bug #94555).
2496 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2498 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2501 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2503 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2506 * registryd/registry.c (impl_registry_notify_event): Remove
2507 unnecessary call to parser_event_type().
2509 * docs/reference/cspi/tmpl/spi_component.sgml:
2510 Add reference to SPI_LAYER_WINDOW.
2512 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2514 * registryd/registry.c
2515 (desktop_add_application): Remove leak.
2516 (desktop_remove_application): Remove leak.
2517 (parser_event_type): Remove leak.
2519 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2521 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2522 bogus call to CORBA_string_dup(). Also removed unnecessary
2523 g_string_dup/g_free calls.
2525 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2527 * registryd/deviceeventcontroller.c:
2528 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2530 * test/event-listener-test.c:
2531 main: commented out three redundant listeners, to reduce output
2532 noise. (They still are potentially useful for testing).
2535 2002-09-13 Michael Meeks <michael@ximian.com>
2537 * Update all the copyrights to include Ximian.
2539 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2541 * cspi/spi.h: add SPI_LAYER_WINDOW.
2543 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2544 add Accessibility_LAYER_WINDOW case.
2546 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2548 * libspi/component.c: (impl_accessibility_component_get_layer):
2549 add ATK_LAYER_WINDOW case.
2551 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2553 * configure.in: incremented micro version.
2555 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2557 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2560 Clarified and reworded our commit policy.
2563 Started an API "todo" addition list for 2.2.
2566 (impl_getSelection):
2567 Free char pointer from atk_text_get_selection, which was being leaked.
2569 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2572 Small revision to author acknowledgement.
2574 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2576 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2577 If signal has detail add it to the type of the event.
2580 2002-08-12 Michael Meeks <michael@ximian.com>
2582 * test/test-simple.c (global_listener_cb): bin bogosity.
2583 (test_keylisteners): disable, still doesn't work reliably,
2584 certainly not on my system anyway.
2586 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2587 don't leak a reference on the DEC. This round-trip
2588 fetching of the DEC per keystroke sucks, it should be
2591 * cspi/spi-private.h,
2592 * cspi/cspi-lowlevel.h,
2593 * cspi/bonobo/cspi-bonobo-listener.[ch],
2594 * cspi/bonobo/cspi-bonobo.c: get the copyright
2595 notices better - there is still a large amount of
2596 work in at-spi falsely attributed solely to Sun.
2598 * cspi/spi_main.c (cspi_object_ref): kill bogus
2599 hash lookup, just increment the ref.
2600 (SPI_freeString): make explicit the fact that we
2601 handle NULL strings just fine.
2602 (report_leaked_ref): obey coding standards.
2603 (cspi_object_hash, cspi_object_equal): kill retval.
2604 (cspi_object_release): only release if not on loan.
2605 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2606 (cspi_object_borrow, cspi_object_return): impl.
2608 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2609 use cspi_object_borrow / return.
2611 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2613 * cspi/bonobo/cspi-bonobo-listener.c:
2615 Don't call cspi_oject_new() because this is creating a new Accessible
2616 every single time that an event is fired. This causes ATs like at-poke
2617 to nolonger recognise the source of the event and thus ignore it.
2618 Re-use the object from the cache, ref it and then unref it after the
2619 listeners have been called.
2621 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2623 * test/event-listener-test.c:
2624 Added command-line options to disable mouse events (m) and
2627 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2629 * configure.in: Update required versions of ATK, GTK+ and GAIL
2631 * cspi-1.0.pc.in: Add dependency for X include files
2634 * cspi/bonobo/Makefile.am:
2635 Add $(X_CFLAGS) so that X include files
2636 are picked up even if not in standard place (bug #71686)
2638 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2640 * registryd/deviceeventcontroller.c: fix for 84261
2641 (spi_dec_mouse_moved):
2642 Added test of mouse button mask, so that we can detect mouse
2643 button release. Unfortunately we can't otherwise detect mouse
2644 button release events without consuming the mouse press event,
2645 because of the way XGrabButton works. This means that our mouse
2646 release events have a latency dependent on the polling period
2647 while the mouse button is down. At least in this case we only
2648 have to poll while the button is down, and not at other times.
2649 If the button masks don't match with what the last press event
2650 reported, we report the appropriate button release event.
2651 (spi_dec_ungrab_mouse):
2652 New method (not yet called).
2653 (spi_device_event_controller_forward_mouse_event):
2654 New method, sends mouse press event from GdkFilter.
2655 (spi_dec_init_mouse_listener):
2656 Added code to call XGrabButton, redirecting mouse button events to
2657 the root window and our Gdk event loop.
2659 Added code to filter mouse button events, and reordered.
2661 * test/event-listener-test.c:
2663 Added registration for mouse events of type "mouse:button".
2665 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2667 * registryd/deviceeventcontroller.c: partial fix for 84261
2668 (spi_dec_poll_mouse_idle):
2669 New method, a timeout which checks to see if the mouse
2671 (spi_dec_poll_mouse_moving):
2672 A timeout to be called when mouse motion is underway.
2673 (spi_dec_poll_mouse_moved):
2674 A method which fires an event if the mouse has moved, and reports
2675 whether or not it did so.
2676 (spi_dec_init_mouse_listener):
2677 A method which sets up the timeouts above.
2678 (spi_device_event_controller_new):
2679 Now calls spi_dec_init_mouse_listener.
2681 * registryd/registry.c:
2682 (spi_registry_init):
2683 Now we initialize the device event controller when the registry is
2684 initialized, instead of waiting until a client has requested a key
2685 event notification; this is because we need the event controller
2686 for mouse events, but the mouse event registration API is a
2687 "registry" call and doesn't explicitly call the
2688 deviceeventcontroller.
2689 We now report mouse motion events with a 100 ms idle latency and
2690 a 20 ms granularity when motion is in progress.
2692 * test/event-listener-test.c:
2694 We now register the "detail listener" for events of type
2695 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2696 delivered only for the first mouse event received, and thereafter
2697 "mouse:abs" events are delivered.)
2699 * cspi/spi_registry.c:
2700 DOCS: Documented the above mouse event typestrings.
2702 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2704 Happy Summer Solstice...
2706 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2707 (spi_controller_notify_keylisteners):
2708 Changes to remove a listener from the listener list, freeing its
2709 open keygrabs, if a notification to that listener fails. This
2710 means that although a dead listener can continue to hold a passive
2711 keygrab, a maximum of one dispatch to such a listener can fail
2712 before the listener is removed from the list, thus the keygrab
2713 will be released on the next occurrence.
2714 As part of this fix:
2715 (spi_notify_keylisteners):
2716 Renamed to spi_controller_notify_keylisteners, as the controller
2717 instance must now be passed as an argument.
2718 The copied 'notify' GList is now a list of DEControllerKeyListener
2719 objects, since we need more than just the CORBA reference if a
2720 notify fails and we need to deregister the listener.
2721 (impl_notify_listeners_sync):
2722 (impl_notify_listeners_async):
2723 (spi_device_event_controller_forward_key_event):
2724 Modify use of notify_keylisteners in accordance with above
2726 (spi_deregister_controller_key_listener):
2727 New method introduced by refactoring, from
2728 impl_deregister_keystroke_listener.
2729 (impl_deregister_keystroke_listener):
2730 Call spi_deregister_controller_key_listener.
2731 (spi_key_listener_clone):
2732 New method to copy a key listner without doing a 'ref' on the
2733 remote object instance; used to create a notifier list.
2734 (spi_key_listener_data_free):
2735 New method, frees data without unreffing the source.
2737 (spi_key_listener_clone_free): new method.
2738 (spi_key_listener_free):
2739 refactored to call spi_key_listener_data_free.
2741 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2743 * registryd/registry.c: [fix for bug 86048]
2744 (notify_listeners_cb):
2745 Clear CORBA system exceptions which occur when notifying
2746 listeners, before returning to the source of the original event,
2747 since the event source doesn't care if the relayed notify failed.
2748 In other words, don't complain to the atk-bridge if the registry
2749 could not notify all its listeners, that's no fault of the
2750 application and thus should not appear to be an error from the
2751 application's perspective.
2753 * cspi/spi_main.c: [fix for bug 85980]
2755 Replaced use of bonobo_object_dup_ref with call to the wrapper
2756 method, csou_dup_ref (); this silences a compiler warning and
2757 provided more portability.
2759 Ping the registry before return, and restart if necessary.
2761 * cspi/bonobo/cspi-bonobo.c:
2763 New internal method.
2765 Fixed this method to return an object reference, as it should have
2768 * cspi/cspi-lowlevel.h:
2769 Added internal definition for cspi_ping() and fixed
2770 return type of cspi_dup_ref().
2773 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2775 * atk-bridge/bridge.c: [fix for bug 85305]
2776 (spi_atk_bridge_register_application):
2777 New method where the initial application registry calls have been
2778 moved; it allows an application to re-register in response to
2779 certain error conditions (such as a registry restart, see below).
2781 Moved some initialization code to the method
2782 spi_atk_bridge_get_registry, below.
2783 (spi_atk_bridge_get_registry):
2784 New, private accessor function for the Accessibility_Registry
2785 instance. If the registry has not been started before, or has
2786 died (as detected by failure of a CORBA exception), it is
2787 restarted before return, and spi_atk_bridge_register_application
2788 is called again to register with the new bridge instance.
2789 (spi_atk_emit_eventv):
2790 Set registry_died on error; use spi_atk_bridge_get_registry () to
2791 access the registry.
2793 * registryd/registry.c:
2794 (impl_accessibility_registry_register_global_event_listener):
2795 Set listener's event_type_quark to etype.minor instead of
2796 etype.major (fix for bug 84856).
2798 * test/event-listener-test.c:
2799 (report_detail_event):
2800 Change the output string so that user/tester can tell that the
2801 'detail listener' was called instead of the 'generic listener'.
2803 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2805 Fixes for bugs 84900, 84908, 84897, 84898.
2810 Revved version to 1.1.0
2811 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2812 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2814 * idl/Accessibility_Registry.idl:
2815 (EventListener::notifyEvent):
2816 Removed 'oneway' directive after extensive consulation with
2817 ORBit2 team and others. This means also that unref() of the event
2818 source can and should be done synchronously after emission, rather
2819 than remotely in the client, after servicing the notify call on
2822 NOTE: This change speeds up listener performance considerably, but
2823 introduces new latency on the application side. We may want to
2824 add an event queue to the atk-bridge.
2826 * atk-bridge/bridge.c:
2827 (spi_atk_bridge_focus_tracker):
2828 Do a local unref() on the event source after emission.
2830 * registryd/registry.c:
2831 (desktop_remove_application):
2832 Do an unref() on the event source after emission.
2833 (desktop_add_application):
2834 Do an unref() on the event source after emission.
2835 (notify_listeners_cb):
2836 When relaying an event, don't automatically add the event source
2837 to the local object cache, just CORBA_dup it instead. Likewise,
2838 if this method reenters, release the ref rather than calling
2840 (impl_registry_notify_event):
2841 No longer call remote unref() on the event source after dispatch.
2843 * libspi/eventlistener.c:
2844 (impl_accessible_event_notify_event):
2845 Removed remote unref ()
2847 * cspi/bonobo/cspi-bonobo-listener.c:
2849 We now call cspi_object_new() instead of cspi_object_add() on
2850 receipt of an event; thus we only have an implicit object ref
2851 while the cspi_event method is being executed. If we need to keep
2852 a reference to the object, the listener must call ref() on the
2853 object. Thus also we don't need to call cspi_object_unref() after
2854 invoking the listener callbacks in this method.
2858 New internal API for creating a new cspi object, without adding it
2859 to the object cache.
2861 Now uses cspi_object_new() to create the cspi object instance.
2863 Now checks to see if the object is in the internal object cache,
2864 and adds it if necessary before incrementing its refcount (note
2865 that new objects are added with a refcount of 1).
2866 (report_leaked_ref):
2867 New method which gives some information on leaked object instances
2868 if leak detection is turned on.
2870 * test/event-listener-test.c:
2871 (timing_test_event):
2872 New method, used for testing event delivery timing for special
2873 events of type "object:test". It reports elapsed time and
2874 events/sec every 500 events.
2876 Added a new listener, 'test listener', to check timing of event
2877 receipt as noted above.
2879 Added some timing output here also, reports elapsed time every 100
2882 * test/stress-test.c:
2883 Emit events of type "object:test", for use with "event-listener-test".
2885 * test/test-simple.c:
2886 (global_listener_cb):
2887 Call Accessible_ref() on the event source before calling
2888 validate_accessible, since the validation process does pointer
2889 comparisons on the event source, meaning that the event source
2890 needs to be added to the local object cache first. Any use of
2891 such pointer comparisons between Accessible objects requires that
2892 the caller hold an explicit reference to those objects.
2893 We also must therefore call Accessible_unref() when leaving this method.
2895 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2897 * registryd/deviceeventcontroller.c:
2898 (spi_controller_update_key_grabs):
2899 Fix for #84735, subsequent keygrab listeners not informed of
2900 registration failure.
2903 (spi_base_construct):
2904 Add an assertion on construct, to make sure the GObject passed in
2905 is really a GObject.
2907 Explicitly initialize object->gobj pointer to NULL;
2909 * cspi/bonobo/cspi-bonobo-listener.c:
2910 (cspi_object_add_ref):
2911 New method, can specify whether to dup-ref a bonobo object passed
2912 in if it's newly added to the object cache.
2914 Now calls cspi_object_add_ref with second param of "FALSE". This
2915 prevents us from doing a pointless dup-ref followed by
2916 release-unref for all those cases where the object is already in
2917 our object cache (fix for #85205).
2919 * atk-bridge/bridge.c:
2920 (spi_atk_bridge_idle_init):
2921 Removed this method, we don't need to initialize in an idle
2924 Changed to call spi_atk_register_event_listeners directly, not via an
2925 idle handler. (fix for #81139)
2926 (gnome_accessibility_module_shutdown):
2927 Removed conditional around deregistration of listeners, since we
2928 don't use the idle handler and thus have always registered when
2930 (spi_init_keystroke_from_atk_key_event):
2931 Changed references to Accessibility_KEY_PRESSED to
2932 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2934 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2936 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2941 * test/stress-test.c:
2944 (may have been an incomplete commit yesterday?)
2946 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2949 Added target for new stress-test.
2951 * test/stress-test.c:
2952 New test, sends 1000 focus notifies in quick succession.
2954 * test/key-listener-test.c:
2955 Now we report whether a keylistener registration
2956 request succeeded or failed.
2958 * test/event-listener-test.c:
2959 Uncommented some listeners which are now implemented.
2962 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2964 * registryd/deviceeventcontroller.c:
2965 (spi_controller_update_key_grabs):
2966 Fix for #82509, lack of failure notification when
2967 ALL_WINDOWS keygrabs fail due to XGrabKey
2968 failure: we synchronize the server when
2969 registering a passive grab, to make sure we get the
2970 error message before the call returns.
2972 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2974 * test/test-simple.c:
2976 Removed #ifdef KEY_IMPL_WORKS guards.
2977 (test_keylisteners):
2978 Removed #ifdef KEY_IMPL_WORKS guards.
2979 Fixed bug which was causing a hang waiting for a
2980 "press" event (which was already overwritten by a "release"
2981 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2983 Added code to set globals 'key_press_received' and
2984 'key_release_received'.
2987 Added section "1.1 API Proposed Additions" which
2988 lists API additions desired for at-spi-1.1 (only one so far).
2989 Updated TODO list a little.
2991 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2993 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2996 * configure.in: Revved to 1.0.0.
2998 * idl/Accessibility_Registry.idl:
2999 (registerKeystrokeListener):
3000 Added boolean return value.
3002 * registryd/registry.c:
3003 (notify_listeners_cb): Minor fix to debug output.
3005 * registryd/Accessibility_Registry.server.in.in:
3006 Revved version number in OAFIID to 1.0.
3008 * registryd/registryd.c:
3010 Use new OAFIID version.
3012 * cspi/bonobo/cspi-bonobo.c:
3014 Use new OAFIID version.
3020 * atk-bridge/bridge.c:
3022 Use new OAFIID version.
3024 * registryd/deviceeventcontroller.c:
3025 (impl_register_keystroke_listener):
3026 Added CORBA_boolean return value.
3027 (spi_controller_register_device_listener):
3028 Added gboolean return value.
3029 (spi_controller_register_global_keygrabs):
3030 Added gboolean return value.
3031 (spi_key_set_contains_key):
3032 Added implementation for many more control keys,
3033 for instance F1-F12, arrow keys, End, Home, Page_Up,
3035 [TODO: some still not implemented].
3037 * text/screen-review-test.c:
3038 (text_chunk_pad_string):
3039 New function: it provides mapping between coordinate
3040 positions of text chunks and character positions in the
3041 screen-review-line output string.
3042 (text_chunk_to_string):
3043 New function, calls text_chunk_pad_string with various
3044 pad/delimiter characters. Pushbuttons are delimited with
3045 square brackets, Frames with vertical 'pipe' lines, and
3046 other text with double quotes.
3047 (text_chunk_list_to_string):
3048 Calls new function text_chunk_to_string.
3049 (toplevel_composite):
3050 New function to composite layers CANVAS through
3051 POPUP in each toplevel (other layers are composited
3052 across toplevels, i.e. BACKGROUND and OVERLAY).
3053 (review_buffer_composite):
3054 Revise to use new methods.
3060 2002-05-31 Laszlo Peter <laca@sun.com>
3062 * configure.in: add the Xtst libdir to the runpath on Solaris,
3063 since it's not in the default library search path.
3065 2002-05-29 jacob berkman <jacob@ximian.com>
3067 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3069 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3071 * test/screen-review-test.c:
3072 (text_chunk_pad_string):
3073 Added method, which pads the string according to the
3074 text bounds of the chunk. It also takes a 3-character
3075 string as a param which indicates the characters to be
3076 used for start, padding, and end delimitation of the chunk.
3077 (text_chunk_to_string):
3078 Changed to use text_chunk_pad_string.
3080 * configure.in: Fixed bug in AC_OUTPUT that was
3081 causing path substitution in Accessibility_Registry.server
3084 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3086 * text/screen-review-test.c:
3087 (guess_string_clip):
3088 New method which attempts a best-guess at clipping
3089 text from components (like Java labels) which don't
3090 actually implement AccessibleText. This inaccurate
3091 clip is based on the assumption that the label is
3092 justified left-and-right, and monospaced.
3093 (text_chunk_get_clipped_string):
3094 We now call guess_string_clip() for text-containing
3095 components that don't implement AccessibleText.
3097 * test/screen-review-test.c:
3098 (review_buffer_get_text_chunk):
3099 We now pull "name" from labels if they do not implement
3100 AccessibleText (i.e. for Java labels).
3101 (get_screen_review_line_at):
3102 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3105 Replaceded AC_OUTPUT target
3106 registryd/Accessibility_Registry.server with
3107 registryd/Accessibility_Registry.server.in.
3109 * registryd/Accessibility_Registry.server.in:
3110 Removed (this is now a Makefile target).
3112 * registryd/Accessibility_Registry.server.in.in:
3113 Added (source for target above). We now use $(libexecdir) as
3114 prefix for the executable at-spi-registryd.
3116 * registry/Makefile.am:
3117 Now install at-spi-registryd into $(libexecdir), and build .server
3118 file with path (see above).
3120 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3122 * test/screen-review-test.c:
3123 (text_chunk_get_clipped_string):
3124 We now check to see if words fall within clip bounds
3125 before resorting to character-by-character clip bounds testing.
3127 * TODO: Added a section for "2.2 Proposed API Additions".
3129 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3131 * test/screen-review-test.c:
3133 Added a screen review benchmarking and test program to test
3136 * cspi/spi_accessible.c:
3138 Made some of the debug strings passed to cspi_check_ev a
3139 little more specific.
3141 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3143 * test/screen-review-test.c: Fix crashes in debug statements
3145 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3147 * test/screen-review-test.c: Added this file.
3149 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3151 * atk-bridge/bridge.c: changed "object:state-change" to
3152 "object:state-changed" to match docs.
3154 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3156 * atk-bridge/bridge.c: Hooked up state-change event details.
3158 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3160 * registryd/registry.c:
3161 Fixed quarking bug in event string parsing; now events with
3162 detail parameters get matched correctly to listeners.
3165 * util/idl/Magnifier.idl: remove.
3167 * util/*.[ch]: Remove.
3168 Magnification utilities and IDL are now in module gnome-mag.
3170 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3172 * registryd/deviceeventcontroller.c:
3173 Fixed bug in grab key conversion which was causing keycode grabs
3174 to be converted to AnyKey grabs.
3177 updated NEWS file to reflect recent spin-off of gnome-mag.
3179 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3181 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3182 busted AccessibleStateSet_compare. Removed redundant casts.
3184 * cspi/spi-action.c: Removed redundant casts.
3186 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3188 * cspi/spi_component.c: Fixed typos and casting error.
3190 * cspi/spi_editabletext.c: Removed redundant casts.
3192 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3194 * cspi/spi_hypertext.c: Eliminated redundant casts.
3196 * cspi/spi_image.c: Eliminated redundant casts.
3198 * cspi/spi_registry.c: Eliminated redundant casts.
3199 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3200 * cspi/spi_selection.c: Removed redundant casts.
3201 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3202 handling. Screen geometry and text offsets were being returned as 0
3203 on error which is technically valid-- changed these to return -1.
3204 Added marshaller for text boundary types to fix bug with boundary
3205 types being passed incorrectly to atk.
3207 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3210 * cspi/spi_registry.c:
3211 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3212 which was uncovered by the recent key changes.
3214 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3216 * test/event-listener-test.c:
3218 Added new test, "event-listener-test";
3219 this code does two things; it benchmarks traversal time
3220 for the accessible hierarchy for the first running accessible
3221 app, and it connects listeners for all supported event types.
3222 It is thus useful as an example event listener and for
3223 diagnostics/debugging of event generation.
3225 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3228 Removed unnecessary dependency on libutil.
3231 Revved micro version: 0.13.1
3233 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3236 Removed util/Makefile from targets.
3239 Removed util subdir from SUBDIRS (temporarily,
3240 pending removal of magnifier-only code
3244 #ifdef-ed out magnifier dependencies, since
3245 magnifier IDL, headers, and binary now live in
3246 module gnome-mag and we don't want at-spi to depend
3247 on gnome-mag. A magnifier demo which can run alongside
3248 simple-at is forthcoming in the gnome-mag module.
3250 NOTE: Split magnifier binary, IDL, and magnification
3251 activation code from at-spi into module gnome-mag.
3253 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3255 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3256 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3258 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3261 Revved to version 0.13.0
3263 * idl/Accessibility_Registry.idl:
3264 Changed definition of KeySet from sequence of longs to sequence of
3265 KeyDefinitions, and added KeyDefinition struct.
3266 Required for fix to bug 80616.
3268 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3269 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3270 to use new definition (see above).
3272 * registryd/deviceeventcontroller.c: handle_keygrab(),
3273 spi_keyset_contains_key():
3274 Changed to make use of new struct; this allows matching based on
3275 string key-name, for instance "Tab". This also allows matching of
3276 composed characters, non-alphanumeric characters in a way that
3277 doesn't involve dependencies on X keysym codes directly, etc.
3279 * test/key-listener-test.c:
3280 Added test for Alt-Tab key using "string" specification of keyset,
3281 and modified one of the tests to use a keycode-based keyset.
3282 Thus this test both tests and demonstrates the creation and use of
3283 keysets of three forms: specified via keycode array,
3284 keysym array, and string array. (The string case only contains a
3285 single string, i.e. a string array of length 1).
3288 Turned on PRINT_TREE option by default. Also fixed a
3289 string-freeing bug in the PRINT_TREE code.
3290 Added a listener to window:minimize events.
3292 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3294 * atk-bridge/bridge.c:
3295 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3296 for window:activate and window:deactiveate
3297 (atk_bridge_property_event_listener atk_bridge_signal_listener
3298 atk_bridge_window_event_listener) Tidy debug code
3300 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3302 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3303 Fixed handling for NULL return value from ATK.
3305 * libspi/action.c libspi/component.c libspi/editabletext.
3306 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3307 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3308 Removed redundant casts.
3310 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3311 Fixed off by one bug.
3313 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3314 function not present in idl)
3316 2002-05-02 jacob berkman <jacob@ximian.com>
3318 * atk-bridge/Makefile.am: make atk-bridge a real module
3320 2002-04-26 Radek Doulik <rodo@ximian.com>
3322 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3323 atk_state_types table
3325 2002-04-22 jacob berkman <jacob@ximian.com>
3328 * libspi/Makefile.am: add deps on the built files to help
3329 automake, and don't version the ORBit typelib
3331 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3333 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3334 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3335 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3336 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3337 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3338 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3339 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3340 libspi/accessible.h libspi/accessible.h libspi/base.h
3341 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3342 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3343 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3344 libspi/spi-private.h libspi/statetset.h libspi/table.h
3345 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3346 util/mag_client.h util/mag_control.c util/mag_image.c
3347 util/mag_image.h util/magnifier.c util/magnifier.h:
3348 Add missing file headers; standardize existing ones
3350 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3352 * atk-bridge/bridge.c: Added window event support.
3354 2002-04-18 Michael Meeks <michael@ximian.com>
3356 * libspi/relation.c (impl_getNTargets): impl.
3357 (impl_getTarget): impl.
3359 * libspi/Makefile.am: fix stateset install.
3361 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3364 Started putting useful info in this file.
3366 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3368 * atk-bridge/bridge.c:
3369 Propagate state-changed notifications to ATs
3371 * cspi/spi_registry.c: update docs to reflect actual behavior of
3372 state-change events.
3374 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3377 Incremented version to 0.12.1
3379 * util/mag_client.h:
3380 Add missing declaration for magnifier_exit,
3381 used by mag_control.c - Forte compiler didn't like
3382 the implicit redeclaration of the function :-(
3385 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3388 Revved version to 0.12 due to API change (see below).
3390 * cspi/spi-roletypes.h:
3391 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3392 definition from the inline docs, and added docs
3393 for SPI_ROLE_LAST_DEFINED.
3396 * cspi/spi_streamablecontent.c:
3397 Added missing seek_type parameter to
3398 (so far unused) method,
3399 AccessibleStreamableContent_seek().
3400 [ RT approval JodyG. ]
3403 Fixed docs for SPI_createAccessibleKeystrokeListener.
3405 * cspi/spi_registry.c:
3406 Fixed docs for SPI_KEYSET_ALL_KEYS.
3408 * docs/reference/cspi/at-spi-cspi-sections.txt:
3409 Added a number of missing APIs to SECTIONS.
3411 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3413 * registryd/Makefile.am:
3415 * cspi/bonobo/Makefile.am:
3416 Add $(X_LIBS) to makefiles.
3418 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3421 Revved version to 0.11.
3423 * libspi/component.c:
3424 Added implementation for grabFocus.
3426 * idl/Accessibility_Component.idl
3427 (Accessibility_Component_grabFocus):
3428 Made this method return boolean to indicate success or failure, to
3429 be consistent with cspi and the corresponding ATK method.
3431 * idl/Accessibility_Selection.idl
3432 (Accessibility_Selection_selectAll) :
3433 Made these methods return boolean to indicate success or
3434 failure, to be consistent with cspi and the corresponding ATK methods.
3436 * idl/Accessibility_EditableText.idl
3437 (Accessibility_EditableText_setTextContents,
3438 Accessibility_EditableText_insertText,
3439 Accessibility_EditableText_cutText,
3440 Accessibility_EditableText_deleteText,
3441 Accessibility_EditableText_pasteText):
3442 Made these methods return boolean to indicate
3445 * cspi/spi_editabletext.c:
3446 Made these methods return booleans.
3448 * libspi/selection.c:
3449 * libspi/component.c:
3450 * libspi/editabletext.c:
3451 Connected the boolean returns from ATK
3452 to the server-side code referenced above.
3454 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3456 * idl/Accessibility_Table.idl: Added missing methods,
3457 Accessibility_Table_addRowSelection,
3458 Accessibility_Table_addColumnSelection,
3459 Accessibility_Table_removeRowSelection,
3460 Accessibility_Table_removeColumnSelection.
3463 Added C wrappers for above IDL:
3464 AccessibleTable_addRowSelection,
3465 AccessibleTable_addColumnSelection,
3466 AccessibleTable_removeRowSelection,
3467 AccessibleTable_removeColumnSelection.
3470 Added server-side implementation code for IDL above, connecting
3471 to pre-existing ATK api.
3473 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3475 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3477 * libspi/accessible.c: Added implementation fo
3478 Accessibility_Accessible_get_state.
3480 * libspi/libspi.h: Added stateset.h to the list of includes.
3482 * libspi/stateset.c: Fixed broken implementation.
3484 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3487 Added implementation code for Accessibility_Magnifier_exit ().
3489 * util/mag_control.c:
3490 Added test code for above method; you can
3491 now kill an existing magnifier via
3492 ./mag_control q, from the util directory.
3494 * test/key-listener-test.c:
3496 Added a new test, for our key listener API.
3498 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3500 * test/app.c, test/keysynth-demo.c:
3502 Replace use of snprintf with g_snprintf.
3503 (fix for bugzilla 78249)
3505 2002-03-27 Michael Meeks <michael@ximian.com>
3509 * util/Makefile.am (INCLUDES): fix.
3510 (DONT_DIST_SOURCE): don't distribute the
3513 * libspi/Makefile.am (dist-hook): ditto.
3515 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3517 * libspi/hypertext.c:
3518 Fix warnings when yelp is used with atk-bridge
3520 2002-03-21 Michael Meeks <michael@ximian.com>
3522 * libspi/application.c (spi_application_new):
3523 use spi_accessible_construct so we use the AtkObject
3526 2002-03-19 Michael Meeks <michael@ximian.com>
3528 * registryd/registry.c (desktop_remove_application),
3529 (desktop_add_application): clean coding style.
3531 * registryd/desktop.c (spi_desktop_remove_application),
3532 (spi_desktop_add_application): kill re-enterency hazards.
3533 (spi_desktop_dispose): remove bogus redundant cast
3534 obscuring bug; fix bug too.
3535 (spi_desktop_init): make the desktop object immortal.
3537 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3540 Added a #define-guarded tree-traversal step
3541 when enumerating the apps (diagnostic tool).
3543 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3545 * idl/Accessibility_Role.idl:
3546 Added ROLE_DRAWING_AREA which seemed to be missing from the
3549 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3551 * cspi/spi-roletypes.h cspi/spi_accessible.c
3552 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3555 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3556 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3557 AT when applications are added and removed from the desktop. This
3558 reverts the previous broken implementation using the backing
3559 AtkObject for the SpiDesktop.
3561 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3563 * registryd/desktop.c: emit the "children-changed::add" and
3564 "children-changed::remove" signals on the backing ATK object for
3565 the desktop so AT can tell when applications are started and shut
3568 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3570 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3572 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3574 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3576 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3578 * cspi/state-types.h: synched with IDL and ATK
3580 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3582 * libspi/accessible.c
3583 (impl_accessibility_accessible_get_child_at_index):
3584 Change return value for g_return_if_fail ()
3585 to CORBA_OBJECT_NIL instead of "0" (!)
3587 * registryd/Makefile.am:
3588 * registryd/Accessibility_Register.server.in:
3589 Changed name of executable, "registryd",
3590 to something more informative:
3593 2002-03-13 Michael Meeks <michael@ximian.com>
3595 * atk-bridge/bridge.c (atk_bridge_init): don't register
3596 if we're in a bonobo-component, rather than a bonobo app.
3598 2002-03-13 Michael Meeks <michael@ximian.com>
3600 * atk-bridge/bridge.c (gtk_module_init): split
3601 out body to (atk_bridge_init): here, since otherwise
3602 we get symbol conflicts and oddness when invoked
3603 from (gnome_accessibility_module_init): here (upd.)
3605 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3608 New file. Explicitly allow "build sheriff" putbacks provided
3609 they are tested on Solaris.
3611 * docs/reference/cspi/Makefile.am:
3612 Added '-' to the "cp" command for index.sgml.
3613 ("patch by thomasvs, soon coming to a GUADEC near you")
3616 Incremented version number (0.9.0) for new release.
3617 Changed macro that checks for popt, to better detect
3618 obsolete versions of popt.
3621 Added X_LIBS to AC_SUBST, for applications
3622 that call Xlib API directly.
3625 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3628 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3631 Fix regression caused by hard-coding major
3632 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3635 * test/test-simple.c (test_editable_text),
3636 (test_test): revert previous change (error was
3637 a regression in gail which is now fixed).
3639 2002-03-04 Michael Meeks <michael@ximian.com>
3641 * test/test-simple.c (test_editable_text),
3642 (test_text): pass G_MAXINT instead of '-1' for
3643 whole string - is this a good thing !?
3645 * cspi/spi_accessible.c
3646 (Accessible_getRelationSet): fix crasher bug
3647 overwriting the end of the array.
3649 * test/test-simple.c (validate_accessible): free,
3650 not g_free returned relation set.
3652 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3654 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3655 implemented stateset support
3657 * idl/Accessibility_State.idl: Made necessary changes to
3658 the IDL to support state sets.
3660 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3662 * registryd/deviceeventcontroller.c:
3663 Added implementation for generateMouseEvent.
3665 * cspi/spi_registry.c:
3666 Connected new implementation for generateMouseEvent
3669 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3672 Incremented revision (but no change in public API
3673 outside of 'utils', which are not installed public yet.)
3675 * libspi/component.c:
3676 Changed to use atk_component API for layers and
3677 mdi_zorder, instead of deprecated atk_object API.
3679 Magnification Utility Enhancements:
3682 Added implementation of createZoomRegion, clearAllZoomRegions,
3683 resizeZoomRegion. Added new commandline argument
3684 "--no-initial-region". Note that clearAllZoomRegions doesn't
3685 unmap the old '0' region as it should (yet), and the other
3686 methods only work when creating/resizing a single region,
3687 which is "region 0".
3688 (Code for multiple region support will be added later.)
3691 Now we raise the magnifier window each time it's refreshed;
3692 this will help keep it on top.
3694 * util/mag_client.h:
3695 Added simple wrappers for above, used by mag_control.
3696 For general use, it's recommended to use the bonobo magnifier
3697 control API directly instead of using these wrappers.
3700 Moved ZoomRegionData from magnifier.c to this file.
3702 * util/mag_control.c:
3703 Added some code to exercise new IDL implementations.
3705 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3707 * libspi/text.c: Provide implementation for getAttributes.
3709 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3712 Incremented revision.
3714 * test/test-simple.c:
3715 Replaced use of deprecated g_main_iteration with
3716 g_main_context_iteration.
3718 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3721 Incremented revision for desktop alpha 2.
3723 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3725 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3728 * test/simple-at.c: include netinet/in.h.
3730 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3732 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3733 use NULL, not CORBA_OBJECT_NIL.
3735 * libspi/accessible.c:
3736 (impl_accessibility_accessible_get_relation_set):
3737 allocate the sequence correctly.
3739 * libspi/remoteobject.h: kill spi_remote_object_new.
3741 * test/test-simple.c: (validate_accessible): add code
3742 to test relation sets, now all we need is to figure
3743 out how to excercise this code path :/
3745 2002-01-18 Michael Meeks <michael@ximian.com>
3747 * test/test-simple.c
3748 (key_listener_cb): consume the key.
3749 (test_keylisteners): update.
3750 (main): wait for any pending unrefs on events.
3752 * registryd/deviceeventcontroller.c
3753 (spi_controller_update_key_grabs): only re-issue the
3754 grab on a key release.
3755 (spi_device_event_controller_forward_key_event):
3756 refresh the keygrabs before we notify the listeners,
3757 to reduce the X ungrab / re-grab race.
3758 (spi_controller_register_with_devices): remove
3759 XSelectInput - we do that with the gdk_window_ call.
3760 (_spi_controller_device_error_handler): return a value.
3761 s/GDK_DISPLAY/spi_get_display/
3763 2002-01-17 Michael Meeks <michael@ximian.com>
3765 * registryd/deviceeventcontroller.c
3766 (_deregister_keygrab): don't blow out the later
3769 * test/test-simple.c (test_keylisteners): do a
3770 more intelligent validation.
3772 2002-01-14 Michael Meeks <michael@ximian.com>
3774 * atk-bridge/bridge.c
3775 (gnome_accessibility_module_init),
3776 (gnome_accessibility_module_shutdown): impl.
3777 (gtk_module_init): protect vs. double inits.
3778 (add_signal_listener): impl.
3779 (spi_atk_bridge_state_event_listener): kill
3780 (deregister_application): split out of
3781 (spi_atk_bridge_exit_func): here.
3783 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3786 Added caret tracking when using magnifier, and
3787 now use text bounds for focus tracking of text elements, rather than
3788 the component bounds - this is helpful for short text fields in long
3789 table cells, at high magnification.
3791 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3793 * registryd/deviceeventcontroller.c:
3794 Regression fix for keylistener de-registration; global keygrabs
3795 were not being released when deregisterKeystrokeListener was
3796 called in cspi, since
3797 Accessibility_DeviceEventController_deregisterKeystrokeListener
3798 was called with a zero-length keyset. That is because the cspi
3799 method, SPI_deregisterKeystrokeListener, does not take a keyset
3800 parameter but instead should remove all the key grabs held be a
3802 The code in impl_deregister_keystroke_listener was changed to copy
3803 the keylist from the listener instance previously registered with
3804 the DeviceEventController before releasing the grabs.
3806 * registryd/registry.c:
3807 * registryd/deviceeventcontroller.c:
3808 * libspi/spi-private.h:
3810 Changed spelling of "re-enterant" to "re-entrant" globally.
3812 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3814 * test/test-simple.c:
3815 Changed key listeners test - the test was slightly mis-using the
3816 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3817 It now uses '=' as the key event listened to and generated,
3818 relying on a keysym match rather than assuming that keycode 33
3819 is always equal to keysym '!'.
3821 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3824 Changed simple-at to use a specific keyset, rather than
3825 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3826 manager, desktop, etc.
3828 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3830 * registryd/deviceeventcontroller.c:
3831 Replaced standard X error handler with a special handler that
3832 is non-fatal for failed keygrabs. This works around
3833 problems with keygrab clashes sometimes observed on
3835 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3836 mouse handling code as yet).
3838 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3841 Incremented revision for desktop alpha release.
3844 Fixed a couple of the more glaring errors (still not
3847 2002-01-11 Michael Meeks <michael@ximian.com>
3849 * registryd/deviceeventcontroller.c
3850 (spi_device_event_controller_forward_key_event): kill
3851 XUngrabKey / XKeyGrab race.
3852 (spi_controller_grab_keyboard): rename to
3853 (spi_controller_update_key_grabs): this, and deal
3854 with incremental adding / removing grabs more
3856 (_register_keygrab): ensure we're not pending a remove.
3857 (spi_grab_mask_free): impl.
3858 (spi_controller_register_global_keygrabs): split out
3860 (handle_keygrab): impl.
3861 (_deregister_keygrab): impl.
3862 (spi_controller_deregister_global_keygrabs): impl.
3863 (spi_controller_update_key_grabs): re-issue the grab if
3864 we just recieved a notification.
3866 * test/test-simple.c (key_listener_cb): remove debug.
3868 * registryd/deviceeventcontroller.c
3869 (spi_controller_register_device_listener): after
3870 registering a global keygrab, actualy register it !
3871 don't wait for a timeout; doh !
3873 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3874 to make it more readable / manipulable.
3875 s/grabmask/grab_mask/ s/refcount/ref_count/
3876 s/keyval/key_val/ s/modmask/mod_mask
3878 2002-01-08 Michael Meeks <michael@ximian.com>
3880 * registryd/deviceeventcontroller.c
3881 (spi_controller_register_with_devices): use gdk calls to
3883 (global_filter_fn): implement the filter.
3884 (spi_device_event_controller_check_key_event): rename to
3885 (spi_device_event_controller_forward_key_event): this & upd.
3886 (spi_get_display): replace with GDK_DISPLAY.
3888 * registryd/deviceeventcontroller.c
3889 (spi_controller_deregister_device_listener): unroll into
3890 (impl_deregister_keystroke_listener): here to simplify.
3891 (spi_controller_register_global_keygrabs): split cut and
3892 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3893 (spi_controller_deregister_device_listener): remove.
3894 (impl_register_mouse_listener): remove, no mouse listener
3895 support in at-spi-1.0
3897 * registryd/registry.c
3898 (_device_event_controller_hook): kill.
3899 (spi_registry_init): upd.
3901 * registryd/deviceeventcontroller.c
3902 (spi_device_event_controller_class_init): upd.
3903 (spi_check_key_event): merge into.
3904 (spi_device_event_controller_check_key_event):
3905 here and kill strange static ev init, don't leak
3906 the x_event - nor dynamicaly allocate it.
3908 * registryd/registry-main.c (main): re-direct
3909 timeout to remove strange vtable mess.
3911 * registryd/deviceeventcontroller.c
3912 (remove_listener_cb): impl.
3913 (spi_controller_deregister_device_listener):
3914 fix re-enterancy hazard.
3916 2002-01-07 Michael Meeks <michael@ximian.com>
3918 * registryd/deviceeventcontroller.c
3919 (spi_device_event_controller_new): upd.
3920 (impl_notify_listeners_sync): upd. debug.
3921 (spi_notify_keylisteners): fix re-enterancy hazards,
3922 prettify, remove O(n*n) iteration.
3923 (spi_controller_grab_keyboard): fix iteration.
3924 (spi_check_key_event): re-format to suit coding style.
3925 Clean all the warnings - we're warning free.
3927 * registryd/deviceeventcontroller.h:
3928 * registryd/registry.h: make mutualy referential with
3929 typesafe forward references instead of (!) void pointer
3932 2002-01-11 Michael Meeks <michael@ximian.com>
3934 * cspi/spi_accessible.c (role_names): add a role name
3935 to sync this array with the enum; and make the regression
3938 2002-01-10 Michael Meeks <michael@ximian.com>
3940 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3941 allow expansion of enumeration & kill warning.
3943 * test/test-simple.c (key_listener_cb): impl.
3944 (test_keylisteners): impl.
3946 * cspi/spi-listener.h: make listener signatures const
3947 on the provided (const) events.
3949 * test/keysynth-demo.c: upd. to const events.
3951 * test/simple-at.c: ditto.
3953 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3956 Rev the version to 0.5 (the previous tarball was named 0.4,
3957 even though the micro number was 3), so we need to rev upwards
3958 again for beta2/"desktop-alpha"
3961 Checked in a demo script, which requires editing before use!
3962 Proceed with caution.
3965 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3967 * cspi/spi_accessible.c:
3968 Add a couple of missing enum initializations, and fix some enum
3971 * cspi/spi_registry.c:
3972 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3974 * docs/reference/cspi/at-spi-cspi-sections.txt:
3975 Remove/fix a couple of broken document references.
3978 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3979 as Alt-Control to listen for commands, since on some systems
3980 Control-Alt may already be grabbed.
3982 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3985 Update version number to 0.4 for Beta2.
3987 * libspi/accessible.c, libspi/accessible.h:
3988 Expose spi_accessible_construct, to enable libgail-gnome
3989 construction from spi_accessible subtype.
3991 * utils/magnifier.c:
3992 Workaround for bug in some non-gnome-compliant window managers
3993 which made magnifier resize improperly.
3995 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3997 * libspi/accessible.c: (spi_accessible_new) :
3998 Move the test for SPI_IS_REMOTE_OBJECT to
3999 spi_accessible_new_return, fixing a bug and compile time warning.
4001 2002-01-08 Michael Meeks <michael@ximian.com>
4003 * registryd/registry.c (parse_event_type): remove strndup.
4005 * libspi/Makefile.am (libspi_la_SOURCES): remove
4006 sources already included in the headers section.
4008 * libspi/util.c: add.
4010 * libspi/spi-private.h: add.
4012 * registryd/registry.c: update to moved list iterators.
4014 2002-01-05 Michael Meeks <michael@ximian.com>
4016 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4018 * test/test-simple.c (main): ditto.
4020 2002-01-04 Michael Meeks <michael@ximian.com>
4022 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4023 redundant construct.
4025 * registryd/registry.c
4026 (get_listener_list): impl.
4027 (impl_accessibility_registry_register_global_event_listener):
4028 re-impl. to simplify using ~, remove dodgy const cast off.
4029 (parse_event_type): constify.
4030 (impl_accessibility_registry_deregister_global_event_listener_all):
4031 re-write, more efficiency and simplicity, kill re-enterancy
4033 (compare_listener_corbaref, compare_corba_objects),
4034 (compare_listener_quarks): define out.
4035 (impl_accessibility_registry_deregister_global_event_listener):
4036 re-write for effiency, and nail re-enterancy hazard.
4037 (impl_accessibility_registry_get_desktop_list): impl.
4038 (re_enterant_list_delete_link): impl.
4039 (re_enterant_list_foreach): impl.
4040 (remove_listener_cb): impl.
4041 (_registry_notify_listeners): kill.
4042 (notify_listeners_cb): impl.
4044 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4045 (SPI_getDesktopList): impl.
4047 * test/test-simple.c (test_desktop): test the methods.
4049 2002-01-03 Michael Meeks <michael@ximian.com>
4051 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4052 keystrings since we free them
4053 (SPI_freeAccessibleKeySet): in here.
4055 * libspi/accessible.c (spi_accessible_new): kill warning,
4056 wonder what is going on with the constructor here.
4058 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4060 * libspi/accessible.c (spi_accessible_new ()) :
4061 Added check to see if AtkObject is an SpiRemoteObject before
4062 creating an SpiAccessible.
4064 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4066 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4067 Enable keygrabs using the Control modifier, now that they are
4068 working properly (they were previously disabled).
4071 Change the command keygrab for this demo to "Control+Alt", so as
4072 to conflict with fewer other key commands on the system; this
4073 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4075 Removed a pointlessly-chatty keylistener for unshifted keys
4076 (shifted keys are still reported).
4078 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4080 * libspi/remoteobject.h:
4081 * libspi/remoteobject.c:
4082 Added definitions for special AtkObject subtype, required for
4083 support of remote components (specifically, used by BonoboControl
4084 accessibility implementation).
4086 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4088 * cspi/spi.h: synched relation types with ATK
4090 * cspi/spi_accessible.c: Added implementations of
4091 AcccessibleRelation_* methods
4093 * idl/Accessibility_Relation.idl: added getRelationTypeName
4094 method. Synched known relation types with ATK. Allowed for
4095 relation type extension with the RELATION_EXTENDED type.
4097 * libspi/relation.c: Provided implementations for
4098 AccessibleRelation methods.
4100 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4102 API tweaks for today's API 'freeze'.
4105 Added placeholder functions to allow future compatible expansion
4106 of the IDL interfaces.
4108 * idl/Accessibility_Registry.idl:
4109 Changed generateKeyEvent to generateKeyboardEvent. Changed
4110 signature of this method to accept an optional keystring in
4111 parameter (for complex text input synthesis) and changed use of
4112 simple 'boolean' parameter in registerKeystrokeListener to a
4113 struct, EventListenerMode.
4115 * cspi/spi_accessible.c:
4117 * cspi/spi_streamablecontent.c:
4118 Added references to AccessibleStreamableContent interface, and
4119 definition and implementation of AccessibleStreamableContent
4122 * cspi/spi_registry.c:
4124 Changed generateKeyEvent API to generateKeyboardEvent,
4125 taking a new (optional) keystring parameter to support complex
4130 Renamed directory (to better reflect its actual purpose, bridging
4131 from at-spi to ATK). The .so module is also now named
4134 * idl/Accessibility_Hypertext.idl:
4135 * libspi/accessible.c:
4136 * libspi/hypertext.h:
4137 * libspi/hypertext.c:
4138 Changed Accessibility_Hypertext to *not* derive from
4141 * cspi/spi_registry.c:
4142 Added list of legal event type names for 'window' events, which
4143 completes the registry event API.
4145 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4147 * at-bridge/bridge.c: Added registration for separate
4148 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4149 signals. If either of the first two parameters to the generic
4150 bridge signal handler are ints, they are passed on as event
4151 details. This allows an AT to determine what text was inserted.
4153 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4155 * registryd/deviceeventcontroller.c:
4156 Fixed regressions in generateKeyEvent caused by the removal of
4157 gdk_init from registryd; we now use pure X calls to connect to the
4158 display, which makes sense because deviceeventcontroller already
4159 uses a fair bit of X API (should eventually be migrated to a
4160 'portability layer').
4162 * registryd/desktop.c:
4163 Fixed minor regression in spi_desktop_init, changed the way the
4164 desktop name is being set to work with new spi_base API
4165 (gobject-based, rather than AtkObject-based).
4167 * registryd/Makefile.am:
4168 Minor revision of makefile to use XTST_LIBS variable rather than
4169 hard-wiring the Xtst LD_ADD element.
4171 * test/keysynth-demo.c:
4172 Tweaked an output message; added initialization of the
4173 'keystrings' member of the "switch listener" key_set.
4175 * libspi/relation.c:
4176 Squashed compile-time warning.
4178 * libspi/accessible.c:
4179 Cosmetic and formatting fixes, renamed a static method.
4181 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4183 * libspi/accessible.c
4185 * libspi/application.c
4188 * libspi/component.c
4189 * libspi/editabletext.c
4190 * libspi/hyperlink.c
4191 * libspi/hypertext.c
4193 * libspi/selection.c
4197 * registryd/desktop.c:
4198 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4200 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4202 * idl/Accessibility_Registry.idl:
4203 Added boolean member 'is_text' to DeviceEvent. This is for the
4204 use of key events, and helps prevent ambiguity between composed
4205 key strings and keysym names, since both may potentially be
4206 returned in the 'event_string' member.
4208 * at-bridge/bridge.c:
4209 * registryd/deviceeventcontroller.c:
4210 Use the 'is_text' member when notifying device event listeners.
4211 Knon issue: composed characters are not dealt with correctly by
4212 the global key listener implementation yet.
4214 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4216 * at-bridge/bridge.c:
4217 Namespaced local static methods to spi_atk_bridge_* where
4218 previously named bridge_*, and spi_* elsewhere.
4220 * at-bridge/bridge.c:
4221 * cspi/bonobo/cspi-bonobo-listener.c:
4222 Added demarshalling/conversion for string member of
4223 Accessibility_DeviceEvent to AccessibleKeystroke.
4225 * registryd/deviceeventcontroller.c:
4226 Added code to fill the Accessibility_DeviceEvent key string value
4227 member for global key events (i.e. from XGrabKey), to match
4228 behavior of Accessibility_DeviceEvent from the toolkit key events
4229 from the bridge. Fixed timestamp in global key event notifications.
4232 Added printout of key event's string value to
4233 report_ordinary_key_event, for demo/debugging purposes.
4235 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4237 * idl/Accessibility_Registry.idl:
4238 Removed Accessibility_KeyStroke structure in favor of generic
4239 Accessibility_DeviceEvent structure.
4240 Changed Accessibility_ControllerEventMask from a struct to an
4243 * at-bridge/bridge.c:
4244 Changed APIs to use DeviceEvent structure as above, and removed
4245 bogus casting between these event structures.
4247 * cspi/spi-listener.h:
4248 Added keystring member of AccessibleKeystroke structure, to enable
4249 matching on event "names" rather than only hardware codes and
4253 Added keystrings member of AccessibleKeySet struct, to allow
4254 matching on event names (as above).
4255 Added declarations for SPI_createAccessibleKeySet and
4256 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4257 event modmasks directly as unsigned ints rather than structs with
4258 refcounts, in the DeviceEventController methods.
4260 * cspi/spi_registry.c:
4261 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4263 * cspi/spi-roletypes.h:
4264 Added documentation of newly added SPI Roles.
4266 * cspi/bonobo/cspi-bonobo-listener.c:
4267 Changes in support of API changes above.
4269 * libspi/accessible.c:
4270 Converted APIs to use DeviceEvent structure (see IDL changes
4273 * registryd/deviceeventcontroller.c:
4274 Added DEControllerGrabMask structure to track keygrabs not only by
4275 modmask but by keyset as well; this allows us to do "global"
4276 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4277 grabbing on AnyKey and then filtering after-the-fact.
4278 Bugfixes for event filtration mean that we don't get false matches
4279 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4281 * registryd/deviceeventcontroller.c:
4282 Namespaced a number of static methods to use spi_ prefix. Major
4283 revision to internals of global (i.e. X) key grabs.
4285 * registryd/deviceeventcontroller.h:
4286 Removed keymask_list and added keygrabs_list to
4287 SpiDeviceEventController struct.
4290 Added use of SPI_createAccessibleKeySet API when creating a
4291 listener for only one key. Attach a listener to "shift spacebar
4292 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4293 X key event names to SPI key event names, so that listeners are
4294 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4296 * test/keysynth-demo.c:
4297 Changed (incorrect) use of X key event names (KeyPressed,
4298 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4301 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4303 * libspi/accessible.c:
4304 Convert all AtkRole enumerations to Accessibility_Role enums when
4305 getting a role from an AtkObject.
4307 * cspi/spi_accessible.c:
4308 Complete the conversion of Accessibility_Role enums at runtime to
4309 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4310 role enums correctly match those given in spi-roletypes.h.
4311 Re-synchronize the local names list for AccessibleRole_getName ().
4312 AccessibleRole_getName is now deprecated, since it duplicates the
4313 more reliable Accessible_getRoleName.
4314 Added some role types from Accessibility_Role.idl.
4316 * idl/Accessibility_Role.idl:
4317 Added some role types used by AtkRole.
4319 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4322 * cspi/spi_registry.c:
4324 * cspi/cspi-bonobo-listener.c:
4325 Namespaced all methods that did not begin with an "SPI_" or
4326 "Accessible" prefix to "SPI_".
4329 Homogenized internal function namespace to "cspi_" for statics.
4332 Patched tests to use the new CSPI API.
4334 * docs/reference/cspi/at-spi-cspi-sections.txt:
4335 Updated docs to reflect namespace changes, and added a number of
4336 methods to the documentation.
4338 * registryd/registry.c:
4339 Changed use of strings and string hashes in listener event
4340 matching and parse_event_string to use GQuark, which is guaranteed
4343 * registryd/registry.h:
4344 Squashed annoying warning.
4346 * idl/Accessibility_Role.idl:
4347 Extended range of available Accessibility_Role values.
4349 * cspi/spi_accessible.c:
4350 Re-ordered role names.
4352 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4354 * idl/Accessibility_Value.idl:
4355 Revert use of union back to CORBA_double, since the double type is
4356 more efficient and can contain the other types without loss of
4359 * idl/Accessibility_Accessible.idl:
4360 Added method Accessibility:Accessible:getRoleName, to complement
4361 Accessibility:Accessible:getRole.
4363 * cspi/spi_accessible.c:
4365 Added C binding for above, Accessible_getRoleName (), and changed
4366 signature of Accessible_getRole () to return an AccessibleRole.
4368 * cspi/spi-roletypes.h:
4369 Changed AccessibleRole_getName to return a char * instead of a
4370 const char *. This method is now at least temporarily deprecated
4371 in favor of asking Accessibles for their RoleNames directly.
4374 Revert to match Accessibility_Value.idl;
4378 Change signature of AccessibleValue methods to use double rather
4382 * cspi/spi_accessible.c:
4383 Changed Accessible_getRole to return an AccessibleRole enum rather
4384 than a UTF-8 string. The UTF-8 string can still be obtained via
4385 AccessibleRole_getName ().
4387 * test/test-simple.c:
4388 Add test_action. Small fixup to match API change to Accessible_getRole.
4391 Bugfix for get_action_from_servant ().
4393 2001-12-11 Michael Meeks <michael@ximian.com>
4395 * libspi/libspi.h: remove registry.h and
4396 desktop.h, deviceeventcontroller.h
4398 * libspi/Makefile.am: remove registry.[ch],
4399 desktop.[ch], deviceeventcontroller.[ch]
4401 * registryd/Makefile.am: add registry.[ch],
4402 desktop.[ch], rename registryd.c to registry-main.c.
4403 add deviceeventcontroller.[ch]
4405 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4408 Replace setenv() call with putenv ().
4410 * libspi/component.c:
4411 Bugfix in AccessibleComponent_getExtents (),
4414 2001-12-11 Michael Meeks <michael@ximian.com>
4416 * libspi/image.c (impl_getImageExtents): impl.
4417 (spi_image_class_init): upd.
4420 (AccessibleImage_getImageDescription): fix daft bug
4423 * test/test-simple.c (global_listener_cb): update
4424 to only quit if not --poke
4425 (main): catch --poke.
4426 (validate_accessible): upd. dumping, call test_image
4429 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4432 * idl/Accessibility.idl: update all IDL includes.
4434 * idl/*.idl - rename to namespace - this sucks, blame
4435 mjs' bad decision for oafd.
4437 * test/test-simple.c (create_test_window): add more tests.
4438 (create_tree): split this out.
4439 (validate_accessible): bugfix.
4441 2001-12-11 Michael Meeks <michael@ximian.com>
4443 * cspi/bonobo/cspi-bonobo-listener.c:
4444 (cspi_kestroke_listener_unref),
4445 (cspi_event_listener_unref): impl. undoing previous
4446 homenous environment - for Bill.
4448 * cspi/spi_table.c (long_seq_to_array): use
4451 * cspi/spi_main.c: split out all bonoboish bits into
4454 * cspi/spi-impl.h: upd. typedefs.
4456 * cspi/spi_registry.c: update to lowlevel API,
4457 return booleans to indicate success in some places.
4459 * cspi/spi_event.c: update to lowlevel API.
4461 * cspi/bonobo/Makefile.am: add.
4463 * cspi/bonobo/cspi-lowlevel.h: add
4465 * cspi/bonobo/cspi-bonobo.c: add
4467 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4469 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4470 (SUBDIRS): add bonobo, link in the libs.
4472 * cspi/spi-util.c: kill this file.
4474 * TODO: merge in my bits.
4476 2001-12-11 Michael Meeks <michael@ximian.com>
4478 * test/test-simple.c (test_value, test_table, main):
4479 remove unused variables causing warnings.
4481 * configure.in: cleanup checks - require gail.
4483 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4486 Changed Value interface to use SValue (scalars) rather than
4487 assuming all values are floats. This allows floats, doubles,
4488 longs, shorts, and unsigned values to be manipulated.
4489 Introduced Accessibility:SValue union.
4492 Updated to use new API above, and to work correctly with GValues
4493 of different types in AtkValue.
4496 Updated to use new API above. cspi's API is as yet unchanged.
4499 Updated the Value revision action item.
4501 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4503 * test/test-simple.c:
4504 Added test_table (GtkTreeView widget in test window to follow).
4505 Un-commented test_value, added GtkRange widget.
4506 Added GtkTreeView widget with GtkListStore. It passes regression
4507 test but leaks one SPI object for some reason.
4510 Fixed bug in impl__set_currentValue.
4512 2001-12-10 Michael Meeks <michael@ximian.com>
4514 * cspi/spi_text.c: audit for exception handling,
4515 tolerating NULL object references safely etc.
4517 * cspi/spi_value.c: ditto.
4519 * cspi/spi_table.c (AccessibleTable_getSummary),
4520 (AccessibleTable_getAccessibleAt),
4521 (AccessibleTable_getRowHeader),
4522 (AccessibleTable_getColumnHeader),
4523 (AccessibleTable_getCaption): fix bugs hidden by
4525 (long_seq_to_array): impl.
4526 (AccessibleTable_getSelectedRows),
4527 (AccessibleTable_getSelectedColumns): use it.
4529 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4532 Added a TODO list (rough and short for now).
4534 * cspi/spi_hyperlink.c:
4535 * cspi/spi_hypertext.c:
4536 Fixed macro name typos, and remove use of obsolete macro in
4537 AccessibleHyperlink_getLink.
4539 * cspi/spi_action.c:
4540 * cspi/spi_accessible.c:
4541 * cspi/spi_application.c:
4542 * cspi/spi_component.c:
4543 * cspi/spi_selection.c:
4546 Documentation fixes (removed return values from ref/unref methods).
4548 2001-12-10 Michael Meeks <michael@ximian.com>
4550 * cspi/spi_action.c: audit for exception handling,
4551 tolerating NULL object references safely etc.
4553 * cspi/spi_accessible.c: ditto.
4555 * cspi/spi_component.c: ditto.
4557 * cspi/spi_editabletext.c: ditto.
4559 * cspi/spi_hyperlink.c: ditto.
4561 * cspi/spi_hypertext.c: ditto.
4563 * cspi/spi_image.c: ditto.
4565 * cspi/spi_selection.c: ditto.
4567 2001-12-10 Michael Meeks <michael@ximian.com>
4569 * configure.in: use cspi/libspi.pc.in instead.
4571 * Makefile.am (pkgconfig_DATA): upd. to match.
4573 * test/simple-at.c (report_focus_event): kill hacks around
4574 bad return values, use putenv not setenv
4576 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4577 fire ChildGone - I killed it.
4579 * libspi/component.c
4580 (impl_accessibility_component_get_extents): remove
4583 * idl/Accessible.idl: kill ChildGone exception.
4585 * cspi/*.[ch]: kill int return from ref / unref.
4587 * cspi/spi_main.c (cspi_object_add_check): fold into
4588 (cspi_object_add): here.
4590 * cspi/spi_component.c (AccessibleComponent_getExtents):
4591 handle exceptions elegantly.
4593 * cspi/spi-private.h (cspi_check_ev_return),
4594 (cspi_return_if_fail): impl.
4596 * cspi/spi_accessible.c: use extensively.
4597 (AccessibleStateSet_equals): add direct compare check.
4599 * cspi/spi_selection.c: tolerate NULL objs, and check
4600 exceptions before return.
4602 * cspi/spi-util.c (cspi_warn_ev): rename to
4603 (cspi_check_ev): this & don't pass ev in; no point.
4605 2001-12-10 Michael Meeks <michael@ximian.com>
4607 * test/test-simple.c: use putenv not setenv
4608 (get_environment_vars): more chatty if you're not using
4611 * test/simple-at.c: do the setenv so more people see the
4614 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4616 * libspi/registry.c:
4617 Changed check of CORBA_environment on notification to be a warning
4618 instead of an error for the moment, since we can recover from this
4619 error when caused by a queued notification from a dead app.
4622 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4623 used by all current implementors of AtkValue), and coerce to
4624 CORBA_float. (Proper general case fix may require change to Value.idl).
4626 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4630 * cspi/spi_accessible.c:
4631 Documentation fixes: added user_data params to documentation for
4632 listeners and callbacks.
4634 * cspi/spi_accessible.c:
4635 Changed AccessibleStateSet_compare to return a
4636 StateSet rather than return the difference set into a third parameter.
4639 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4642 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4643 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4647 Remove subdirectory po from SUBDIRS for now.
4649 * at-bridge/bridge.c:
4650 Beefed up a couple of debug printouts.
4651 One-line fix for signal notification name formatting.
4653 * libspi/accessible.c:
4654 Added assertion to spi_accessible_new ().
4656 * libspi/application.c:
4657 Put #ifdef qualifiers around a printf.
4660 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4662 * registryd/Makefile.am:
4664 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4665 INTLTOOL_SERVER_RULE macro.
4668 Added an event listener for several ATK signals, for
4669 testing and debugging. Removed a few g_warnings.
4670 Added test output if focussed item implements the Value interface.
4672 * test/test-simple.c:
4673 Added test_value () function (known not to pass at the moment, so
4674 not actually called yet.
4676 2001-12-08 Michael Meeks <michael@ximian.com>
4678 * at-bridge/bridge.c (bridge_focus_tracker),
4679 (emit_eventv): fix the same ref. leak.
4680 (register_atk_event_listeners): don't leak.
4682 * cspi/spi-listener-impl.c (cspi_event): more
4683 protection from client code.
4685 * test/test-simple.c (test_desktop): unref the app.
4687 * test/Makefile.am: upd. TESTS.
4689 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4691 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4693 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4695 * cspi/spi_registry.c: constify in strings.
4696 (deregisterGlobalEventListenerAll): don't release the ref.
4698 * cspi/spi.h: start removing redundant / conflicting
4699 gtkdoc comments, making the API readable at a glance :-)
4701 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4703 * test/keysynth-demo.c (keysynth_exit, main): upd.
4705 * test/simple-at.c (main, simple_at_exit): upd.
4707 * test/test-simple.c (unutterable_horror): kill.
4708 (utterable_normal_derefs): kill.
4709 (main): upd & do a setenv before gtk_init, so that we
4710 can use memprof - and to save the pain of remembering
4711 this, if we're running under memprof - don't exit.
4713 * cspi/spi_main.c (SPI_exit): return exit status
4715 (SPI_event_quit): impl.
4716 (SPI_event_main): simplify.
4717 (cspi_is_gnome_app): kill.
4718 (SPI_init): kill isGNOMEapp arg.
4720 * at-bridge/bridge.c (register_atk_event_listeners):
4721 re-instate the unref.
4722 (bridge_exit_func): don't re-activate the registry,
4723 protect vs. theoretical re-entry, use the
4724 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4725 assert a clean shutdown - for regression tests.
4727 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4729 * configure.in: Comment out dummy i18n support for now,
4730 otherwise it fails to build.
4731 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4732 EXTRA_DIST. They are missing in tarball.
4734 2001-12-07 Michael Meeks <michael@ximian.com>
4736 * util/magnifier.c: kill bonobo activation reg. race.
4738 * libspi/component.c
4739 (impl_accessibility_component_get_extents): make it match
4742 * libspi/registry.c (_registry_notify_listeners):
4743 re-remove X headers & reconcile conflicts.
4744 (spi_listener_struct_free): bad conflict resolve.
4745 (impl_accessibility_registry_register_application):
4746 more bad merging fixed.
4747 (impl_accessibility_registry_deregister_application): ditto.
4748 (spi_registry_new): ditto.
4749 (spi_registry_init): don't have an applications field.
4751 [ merge fixups2 branch to here ]
4752 2001-12-07 Michael Meeks <michael@ximian.com>
4754 * test/simple-at.c (report_focus_event),
4755 (report_focussed_accessible): remove g_warning debug.
4757 2001-12-07 Michael Meeks <michael@ximian.com>
4759 * test/test-simple.c (validate_tree): comment out some checks.
4760 (test_desktop): app now not registered idly - horay.
4762 2001-12-07 Michael Meeks <michael@ximian.com>
4764 * cspi/spi_registry.c
4765 (registerAccessibleKeystrokeListener): clean, stop it leaking
4766 great swathes of memory, and device event controller references.
4767 ensure we always pass valid sequences.
4768 (deregisterAccessibleKeystrokeListener): ditto.
4769 (generateKeyEvent): upd.
4771 * at-bridge/bridge.c (bridge_key_listener): handle
4772 registry dead exception gracefully.
4773 (bridge_focus_tracker, emit_eventv): free ev.
4775 * test/simple-at.c (report_focus_event): fix polarity.
4777 * libspi/application.c (notify_listeners): kill the ev
4778 argument, and make sure we init the ev we use.
4779 (spi_application_object_event_listener): split out a chunk
4780 (get_atk_object_ref): here & fixup.
4781 (reverse_lookup_name_for_toolkit_event): make const.
4782 (spi_application_toolkit_event_listener): fixup, kill leaks
4785 * at-bridge/bridge.c (register_atk_event_listeners):
4786 don't unref the noop object - causes grief.
4788 * libspi/registry.c: remove the X headers.
4789 turn off the debug churn.
4791 * libspi/accessible.c (spi_accessible_new_return): only
4792 release the ref if we are supposed to [doh]
4794 * test/simple-at.c (report_button_press, report_focus_event):
4795 guard vs. unexpected exit.
4797 * at-bridge/bridge.c (gtk_module_init): prune printf.
4798 (bridge_exit_func): fix app unref.
4800 * libspi/Makefile.am: don't install registry or desktop.h
4802 * libspi/*.h: update includes.
4804 * libspi/application.h: don't include ourself, or
4805 other redundant headers.
4807 2001-12-06 Michael Meeks <michael@ximian.com>
4809 * libspi/accessible.c
4810 (get_accessible_from_servant): impl.
4811 Upd. all CORBA impl.s to use it killing cut and paste.
4813 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4815 (SPI_init): register atexit cleanup handler here.
4817 2001-12-06 Michael Meeks <michael@ximian.com>
4819 * at-bridge/bridge.c (gtk_module_init): g_error on
4820 activation exception
4822 2001-12-06 Michael Meeks <michael@ximian.com>
4824 * at-bridge/bridge.c (gtk_module_init): some sort of
4825 confusing merge clash - reverted.
4826 (bridge_idle_init): ditto.
4828 * test/test-simple.c (main, utterable_normal_derefs):
4829 merge from Bill - somehow not committed.
4831 2001-12-06 Michael Meeks <michael@ximian.com>
4833 * libspi/value.c (spi_value_class_init): upd.
4834 (spi_value_finalize): kill.
4836 * libspi/table.c (spi_table_finalize): kill.
4837 (spi_table_interface_new): upd.
4838 (spi_table_class_init): upd.
4839 (get_table_from_servant): impl.
4840 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4842 * libspi/selection.c (spi_selection_finalize): kill.
4843 (spi_selection_interface_new): upd.
4844 (spi_selection_class_init): upd.
4845 (get_selection_from_servant): impl.
4846 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4848 * libspi/relation.c (spi_relation_finalize): kill.
4849 (spi_relation_class_init, spi_relation_new): upd
4851 * libspi/image.c (spi_image_finalize): kill.
4852 (spi_image_class_init): upd.
4853 (spi_image_interface_new): upd.
4854 (get_image_from_servant): impl.
4855 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4857 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4858 (spi_hyperlink_finalize): kill.
4859 (spi_hyperlink_new): upd.
4860 (get_hyperlink_from_servant): impl.
4861 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4863 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4864 (spi_hypertext_finalize): kill.
4865 (spi_hypertext_class_init): upd.
4866 (get_hypertext_from_servant): impl.
4867 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4869 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4870 (spi_editable_text_interface_new): upd.
4871 (get_editable_text_from_servant): impl.
4872 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4874 * libspi/text.c (get_text_from_servant): impl.
4875 All impls - update to use it killing more cut and paste,
4876 also fix bad string returns on duff args ( a somewhat
4877 impossible case to handle - but hey ).
4878 (spi_text_construct): impl.
4879 (spi_text_interface_new): upd.
4880 (spi_text_object_finalize): kill.
4882 * libspi/component.c
4883 (accessibility_component_object_finalize): kill.
4884 (spi_component_class_init): upd.
4885 (get_component_from_servant): impl. helper to kill cut & paste.
4886 (impl_accessibility_component_contains):
4887 (impl_accessibility_component_get_accessible_at_point):
4888 (impl_accessibility_component_get_position):
4889 (impl_accessibility_component_get_extents):
4890 (impl_accessibility_component_get_mdi_z_order):
4891 (impl_accessibility_component_get_layer):
4892 (spi_component_interface_new): upd.
4894 * libspi/action.c (spi_action_finalize): kill.
4895 (spi_action_class_init): upd. inherit from SpiObject.
4896 (spi_action_interface_new): upd.
4897 (get_action_from_servant): impl. helper to reduce cut & paste.
4898 (impl_getKeyBinding, impl_getName, impl_doAction),
4899 (impl_getDescription): Use it everywhere.
4901 * cspi/spi_main.c (get_live_refs): a pointer hash.
4902 (spi_object_hash, spi_object_equal): comment out.
4903 There are issues with CORBA object hashing that need
4906 * libspi/application.c (spi_application_init),
4907 (spi_application_new): upd.
4909 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4910 (spi_accessible_class_init): upd.
4911 s/accessible/object/ in epv methods.
4913 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4915 * at-bridge/bridge.c:
4916 Reorder the bridge initialization into the bridge gtk_module_init,
4917 an immediate call to bridge_register_app, and an idle_add for
4918 register_atk_event_listeners (the only code that *must* wait until
4919 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4920 the activation, creates the application's Accessible object, and
4921 queues the bridge_idle_init function. Restored call to
4922 Accessibility_Registry_deregisterApplication().
4923 Prior to making this call we obtain a new reference to the
4924 registry, which is a temporary hack that helps us handle apps that
4925 shut down the bonobo mainloop before we get there.
4927 * libspi/registry.c:
4928 Fix string leakage in debug block, and don't segv if a an app
4929 dies before its event notifications have been propagated.
4932 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4933 as stopgap measure until we get proper exception handling when
4934 objects die during or before interrogation.
4938 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4939 Also changed default value of is_gnome_app to TRUE.
4942 * test/keysynth-demo.c:
4943 Changed use of SPI_init and SPI_event_main to reflect API change above.
4946 Made report_focus_event check the warning value from getName
4947 before reporting on focussed accessible; simplifies handling of
4948 notifications from dead objects.
4950 * test/test-simple.c: (Changes not in this patch since source is
4953 2001-12-05 Michael Meeks <michael@ximian.com>
4955 * registryd/registryd.c (main): protect against
4956 bonobo-activation startup race condition.
4958 * cspi/spi_main.c (cspi_object_add_check): cope
4959 with the exception elegantly.
4961 * idl/Accessible.idl: decl. ChildGone
4963 * libspi/desktop.c (spi_desktop_dispose): impl.
4964 (spi_desktop_class_init): upd.
4965 (spi_desktop_add_application),
4966 (spi_desktop_remove_application),
4967 (abnormal_application_termination): impl.
4968 (impl_desktop_get_child_at_index): re-impl.
4971 (impl_accessibility_registry_deregister_application),
4972 (impl_accessibility_registry_register_application):
4973 kill excessive debug clutter.
4975 * test/test-simple.c (test_misc): test some NULL
4976 tolerance. (main): upd.
4978 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4979 implements no interfaces - so let's not crash.
4981 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4983 * libspi/accessible.c (spi_accessible_new_return): impl.
4984 helper to calm the cut and paste, to cope with
4985 NULL AtkObjects effectively and efficiently, and to kill
4986 the referencing bugs.
4988 * libspi/table.c (impl_getAccessibleAt),
4989 (impl_getRowHeader, impl_getColumnHeader): upd.
4991 * libspi/hyperlink.c (impl_getObject): upd.
4993 * libspi/accessible.c
4994 (impl_accessibility_accessible_get_child_at_index): upd.
4996 * libspi/component.c
4997 (impl_accessibility_component_get_accessible_at_point): upd.
4999 * test/test-simple.c (test_editable_text, test_text): impl.
5002 * cspi/spi_editabletext.c
5003 (AccessibleEditableText_insertText): constify.
5005 * test/test-simple.c (focus_me): make more robust.
5007 * libspi/accessible.c: remove some printfs in methods that
5008 we test and work fine, so we can get a clean tree dump.
5010 * test/test-simple.c (validate_accessible),
5011 (validate_tree): make tree dumping pretty too.
5013 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5014 it builds without debug on.
5016 * test/test-simple.c (validate_accessible): fix the most
5019 * cspi/spi_main.c (spi_object_release): leave the nicely
5020 blanked memory around if in debug mode.
5022 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5024 [committed to fixups2]
5025 2001-12-05 Michael Meeks <michael@ximian.com>
5027 * libspi/editabletext.c
5028 (spi_editable_text_class_init): g_type_class_peek_parent,
5029 not interface peek - so we finalize cleanly.
5031 * libspi/accessible.c (spi_accessible_new): kill debug.
5033 * test/test-simple.c (validate_accessible): fix ref.
5034 leak, print strings before freeing them; sigh, comment a
5035 chunk out due to strangeness.
5036 (validate_tree): unref the child after use.
5038 * cspi/spi_component.c (AccessibleComponent_getLayer):
5039 add missing break statement, switch on zlayer not the
5040 uninitialized retval.
5042 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5043 before (possibly re-entering) remote unref.
5045 * test/simple-at.c (main): unref the desktop.
5047 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5050 * cspi/spi_main.c (cspi_accessible_is_a): here to
5051 isolate bonobo API usage more.
5053 * libspi/registry.c (impl_accessibility_registry_register_application):
5054 prune bogus comment.
5056 2001-12-04 Michael Meeks <michael@ximian.com>
5058 * test/test-simple.c (validate_tree): upd.
5059 IndexInParent check to make it more lucid.
5060 (validate_accessible): dump the tree.
5062 * libspi/accessible.c (de_register_public_ref),
5063 (get_public_refs): impl.
5064 (spi_accessible_new): make more efficient & intuitive.
5065 Now IndexInParent check works.
5067 2001-12-04 Michael Meeks <michael@ximian.com>
5069 * cspi/spi-util.h: remove.
5071 * cspi/spi.h: move SPI_freeString here
5073 * libspi/component.c (impl_accessibility_component_get_layer):
5075 (impl_accessibility_component_get_mdi_z_order): ditto,
5076 return -1 on error - is this ok ?
5078 * test/test-simple.c (test_application): impl.
5080 * cspi/spi_accessible.c (Accessible_getApplication),
5081 (Accessible_isApplication): impl.
5083 * libspi/registry.c (spi_listener_struct_free): release
5084 the CORBA reference too.
5086 * libspi/accessible.c
5087 (impl_accessibility_accessible_get_parent): fix ref leak.
5089 * libspi/registry.c (spi_registry_new): make the registry
5090 immortal - we don't want it to go away ever.
5092 * libspi/application.c
5093 (spi_accessible_application_finalize): impl. cleanup.
5095 * cspi/spi_registry.c
5096 (deregisterGlobalEventListenerAll),
5097 (deregisterGlobalEventListener),
5098 (deregisterAccessibleKeystrokeListener): fix ref leak.
5100 * cspi/spi_main.c (SPI_init): remove redundant ref.
5102 * test/test-simple.c (unutterable_horror): impl. to force a
5107 (impl_accessibility_registry_deregister_application): release
5108 the application when we de-register it.
5110 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5111 until we have the infastructure to get it right.
5113 2001-12-03 Michael Meeks <michael@ximian.com>
5115 * libspi/Makefile.am: only build eventlistener.[ch]
5117 * libspi/accessible.c
5118 (impl_accessibility_accessible_get_child_at_index): don't leak.
5120 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5121 before we hit the idle handler.
5123 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5124 debugging than exit.
5126 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5128 * libspi/listener.c (impl_notify_event): check source
5129 not NIL before unref.
5131 * libspi/registry.c (impl_registry_notify_event): ditto.
5133 * libspi/eventlistener.c
5134 (impl_accessible_event_notify_event): unref the source.
5136 * libspi/accessibleeventlistener.c
5137 (impl_accessible_event_notify_event): unref the source.
5139 * idl/Event.idl: remove 'hash_id' attribute - of no
5142 * libspi/application.c (notify_listeners): upd list
5144 (spi_application_object_event_listener),
5145 (spi_application_toolkit_event_listener): upd to do correct
5149 (_registry_notify_listeners): update.
5150 (parse_event_type): this method also leaks like a sieve.
5151 (impl_accessibility_registry_deregister_global_event_listener):
5152 fix ETYPE_WINDOW case.
5154 * libspi/application.c
5155 (impl_accessibility_application_register_object_event_listener):
5158 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5160 * libspi/hypertext.c (impl_getLink): ditto.
5162 * cspi/spi_main.c (cspi_object_add): remove
5163 bogus CORBA_Object_duplicate.
5165 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5168 * cspi/spi_accessible.c
5169 (Accessible_getRelationSet): fix leak / referencing issue.
5171 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5172 (cspi_object_add, cspi_object_unref): upd.
5173 (spi_object_release, get_live_refs): impl.
5174 (cspi_cleanup): simplify.
5176 * *.[ch]: s/boolean/SpiBoolean/
5178 * cspi/spi_accessible.c (role_names): actualy order so it
5179 corresponds with the enum !
5181 * test/test-simple.c (test_roles): check some role strings
5182 vs. enums to detect offset errors.
5184 2001-12-01 Michael Meeks <michael@ximian.com>
5186 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5188 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5190 (Accessible_getChildAtIndex): use cspi_add_check so we
5191 check the ev before using a (possibly) invalid value.
5193 * libspi/accessible.c
5194 (impl_accessibility_accessible_get_parent): don't segv
5197 * at-bridge/bridge.c (gtk_module_init): upd.
5198 (bridge_property_event_listener): don't leak strings
5200 (bridge_state_event_listener),
5201 (bridge_property_event_listener): don't use a static
5202 buffer in case of recursive event emission &
5203 re-enterancy - split out the swathe of cut and paste
5205 (emit_eventv): and fix 2 ref leaks here & comply to the
5207 (bridge_register_app): rename to
5208 (bridge_idle_init): this and kill arg parsing, split
5209 various inits & bonobo-activation registration to module
5210 init time, kill referencing error.
5211 (bridge_exit_func): fix the same leak.
5212 (bridge_focus_tracker): don't leak event structures
5214 (bridge_signal_listener): more leakage and cut & paste
5216 (bridge_key_listener): return the result - FIXME is
5217 this polarity correct ?
5218 (accessibility_keystroke_from_atk_key_event): rename
5219 (accessibility_init_keystroke_from_atk_key_event): and stop
5221 (gtk_module_init): return a value - not that it is checked by
5223 (bridge_key_listener): register my horror at casting between
5224 IDL defined structs.
5225 (bridge_get_registry): kill - not used.
5227 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5229 * test/test-simple.c (test_roles): impl.
5230 (test_desktop, validate_accessible, validate_tree): impl.
5232 * cspi/spi_accessible.c (role_names): fixup bogus
5233 MAX_ROLES setup, make constants const for efficient linkage
5234 (AccessibleRole_getName): conform to coding style, make
5237 2001-11-30 Michael Meeks <michael@ximian.com>
5239 * cspi/spi.h: add missing prototype.
5241 * libspi/registry.c (spi_listener_struct_new): fix sig.
5243 * test/Makefile.am: add test-simple
5245 * test/test-simple.c: add
5247 * test/test.sh: add.
5249 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5251 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5252 do it straight - since otherwise we often get an activation race.
5254 [ work before Bill duplicated a chunk of it ... ]
5255 2001-11-30 Michael Meeks <michael@ximian.com>
5257 * libspi/keystrokelistener.c
5258 (spi_keystroke_listener_class_init): fixup arg
5261 * libspi/eventlistener.c
5262 (spi_event_listener_class_init): ditto.
5264 * tests/test.sh: add.
5266 * cspi/spi-listener-impl.h: update macros.
5268 * cspi/spi-listener-impl.c
5269 (cspi_event_listener_remove_callback): add
5270 correct pre-conditions.
5272 * cspi/spi_main.c (SPI_exit): guard vs. double
5273 exits, exit the mainloop nicely.
5274 (SPI_event_main): make more sense.
5275 (SPI_init): move the atexit evilness here so we
5276 always do it (yuck).
5277 (SPI_event_main): upd.
5279 * test/simple-at.c: update for listener changes.
5281 * registryd/registryd.c (main): prune kruft.
5283 * libspi/libspi.h: upd.
5285 * libspi/eventlistener.[ch]: rename broken macros.
5287 * libspi/accessibleeventlistener.[ch]: remove.
5289 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5291 * test/test-simple.c: Add - automated tests.
5293 * cspi/spi-listener-impl.c (cspi_event),
5294 (cspi_key_event): add user_data to invoke.
5295 (cspi_keystroke_listener_finalize): impl.
5296 (cspi_keystroke_listener_class_init): upd.
5299 (createAccessibleEventListener),
5300 (AccessibleEventListener_addCallback),
5301 (createAccessibleKeystrokeListener),
5302 (AccessibleKeystrokeListener_addCallback): upd.
5304 * libspi/deviceeventcontroller.c
5305 (spi_device_event_controller_check_key_event): add public proto.
5308 (impl_accessibility_registry_deregister_global_event_listener):
5309 always init listeners.
5310 (_registry_notify_listeners): yes it is.
5312 * cspi/spi-listener-impl.c (cspi_key_event):
5314 (cspi_event_listener_finalize): impl.
5315 (cspi_event_listener_class_init): hook up.
5316 (event_handler_new, event_handler_free),
5317 (event_list_remove_by_callback): impl.
5318 (cspi_event_listener_remove_callback),
5319 (cspi_keystroke_listener_remove_callback),
5320 (cspi_keystroke_listener_add_callback),
5321 (cspi_event_listener_add_callback): upd.
5323 * libspi/keystrokelistener.c
5324 (keystroke_listener_object_finalize): kill
5325 (spi_keystroke_listener_class_init): upd.
5326 (spi_keystroke_listener_add_callback),
5327 (spi_keystroke_listener_remove_callback): kill,
5329 (impl_key_event): prune drasticaly.
5331 * libspi/eventlistener.c
5332 (spi_event_listener_add_callback),
5333 (spi_event_listener_remove_callback): kill, use
5335 (impl_accessible_event_notify_event): upd.
5336 (spi_event_listener_object_finalize): remove.
5338 * libspi/Makefile.am: use eventlistener.[ch]
5340 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5342 * libspi/registry.c (_registry_notify_listeners):
5343 Changed listener loop iteration to use preferred convention.
5344 Got rid of string memory leaks caused be calling g_strconcat
5345 inside function calls.
5347 * libspi/registry.c (parse_event_type):
5348 Stopped g_strconcat memory leaks, free the g_strsplit return,
5349 g_strdup the split pieces when used, etc.
5351 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5354 Change method 'compare' to return a 'difference set' rather than
5355 taking a StateSet as an out parameter (more Java-friendly).
5357 * idl/Accessible.idl:
5358 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5360 * idl/Component.idl:
5362 Changed methods 'getExtents' and 'getImageExtents' in these
5363 interfaces to return a BoundingBox structure.
5364 (getPosition and getSize are redundant and possibly should be
5365 removed, rather than creating a corresponding Point struct.)
5367 * cspi/spi_component.c:
5368 Modify implementation of getExtents to reflect the above IDL
5373 Add (missing) AccessibleImage_getExtents () API.
5375 * docs/reference/cspi/at-spi-cspi-sections.txt:
5376 Added AccessibleImage_getImageExtents () to docs.
5378 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5380 * idl/Component.idl:
5381 Added two methods, getLayer () and getMDIZOrder (), to reflect
5382 the new ATK methods atk_object_get_layer and
5383 atk_object_get_mdi_z_order. (Which arguably should be part of the
5384 AtkComponent API and AtkObject). Also added an enum,
5385 ComponentLayer, for the first method's return value.
5387 * libspi/component.c:
5388 Added implementations for these methods.
5390 * cspi/spi_component.c:
5392 Added cspi binding methods for above,
5393 AccessibleComponent_getLayer() and
5394 AccessibleComponent_getMDIZOrder().
5395 Added cspi enum 'AccessibleComponentLayer'.
5397 * docs/reference/cspi/at-spi-cspi-sections.txt:
5398 Added above methods to docs.
5402 Changed typedef for 'boolean' type (and all references to it) to
5403 SPIBoolean, to avoid keyword clashes with C++.
5406 Changed usages of 'boolean' to SPIBoolean.
5408 * test/keysynth-demo.c:
5409 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5410 app), except where SPIBoolean is required by the callbacks API.
5412 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5414 * cspi/spi_registry.c:
5415 Removed obsolete X event loop for passive keygrabs (which now
5418 * registryd/registryd.c:
5419 Removed unnecessary call to gdk_init() [cruft]. This also allows
5420 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5423 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5425 * docs/reference/cspi:
5426 Included docs for SPI_freeString in generated documentation.
5429 Renamed spi_freeString to SPI_freeString, for consistency. Added
5430 documentation for this function.
5433 Renamed spi_freeString to SPI_freeString, for consistency.
5434 Removed obsolete method declaration string_from_corba_string.
5436 * test/keysynth-demo.c:
5437 Small tweak to comments.
5440 Stopped leaking the strings returned from CSPI.
5442 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5444 Merged Michael's branch (see his ChangeLog entries below).
5446 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5447 bridge is alive, release on exit.
5449 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5450 Fix type check macro.
5453 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5456 Added is_gnome_app static, and method cspi_is_gnome_app(),
5457 so we can call the appropriate shutdown routine at exit in SPI_exit.
5459 * cspi/spi_main.c (cspi_object_ref):
5460 Duplicate the corba object passed in, since we're keeping it around.
5462 * cspi/SPI_exit.c, cspi_cleanup:
5463 Moved the releasing of the live refs to its own function, so we
5464 can put it in g_atexit (). Call the appropriate shutdown API
5465 depending on whethe calling client is a gnome app or not
5466 (bonobo_main_quit or CORBA_ORB_shutdown).
5468 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5469 Unref the listener when this method is called, after
5470 deregistration. Updated the API docs to note this behavior.
5472 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5473 Bugfixes: Ref the bonobo object when returning a parent or child
5474 reference, or an AccessibleRelation. Generally made sure
5475 BonoboObject refcount is incremented whenever we return an
5478 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5479 Fixed typo/bug in signal declaration.
5481 * libspi/accessibleeventlistener.h:
5484 * libspi/application.c (spi_application_new):
5485 Fixed leak in initialization.
5488 Remembered to increment bonobo-object refcount when returning
5489 children (applications) from desktop object.
5490 Added (empty) finalize method.
5492 * libspi/deviceeventcontroller.c:
5493 Hold a ref to listeners inside DEControllerKeyListeners.
5494 Added dec_key_listener_free() method. Use prepend instead of
5495 append in key_listener list. Fixed some refcount madness and
5496 leaks in the listener registration/deregistration - deregistration
5497 now calls dec_key_listener_free() on listeners, and on the
5498 temporarily constructed dec_key_listener() used to perform the search/match.
5500 * libspi/hypertext.c (spi_hypertest_finalize):
5501 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5502 class. Also fixed spi_hypertext_interface_new() and
5503 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5505 * libspi/hypertext.h:
5506 Removed pointless and duplicate AtkObject pointer from
5509 * libspi/keystrokelistener.c:
5510 Fixed incorrect type of keystroke_listener_parent_class,
5511 renamed keystroke_listener_object_finalize to
5512 spi_keystroke_listener_object_finalize.
5513 Fixed typo in signal declaration
5514 (spi_keystroke_listener_class_init).
5516 * libspi/registry.c:
5517 Added funcsions spi_listener_struct_new() and
5518 spi_listener_struct_free() to help with memory management issues.
5519 We also now use these methods instead of gnew + poking stuff into
5520 the struct, and to decrement listener counts/free the listeners
5521 when deregistering them.
5522 Fix more refcount bugs in getDesktop() and
5523 getDeviceEventController().
5526 De-ref the desktop after enumerating the applications. Explicitly
5527 decrement the refcounts on the created listeners on exit (using
5528 _unref for keystroke listeners, and via the
5529 deregisterGlobalEventListenerAll command for other event
5532 2001-11-27 Michael Meeks <michael@ximian.com>
5534 * cspi/spi-listener.h: fixup enum.
5536 2001-11-27 Michael Meeks <michael@ximian.com>
5538 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5539 (cspi_keystroke_listener_new): Use the cspi variants.
5541 2001-11-26 Michael Meeks <michael@ximian.com>
5543 * test/keysynth-demo.c: fix 2 compile warnings, missing
5546 * test/simple-at.c (report_focussed_accessible),
5547 (report_focus_event, report_button_press),
5548 (check_property_change, is_command_key),
5549 (report_ordinary_key_event, report_command_key_event): upd.
5551 * util/mag_client.h: include pre-requisites.
5553 * libspi/accessibleeventlistener.c
5554 (spi_event_listener_object_finalize): free any lingering
5557 * libspi/keystrokelistener.c
5558 (keystroke_listener_object_finalize): ditto.
5560 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5561 callbacks, with cspi types.
5563 * cspi/spi_event.c (createAccessibleEventListener): chain to
5564 (AccessibleEventListener_addCallback): here.
5565 (createAccessibleKeystrokeListener): chain to
5566 (AccessibleKeystrokeListener_addCallback): here.
5568 * libspi/keystrokelistener.c
5569 (spi_keystroke_listener_class_init): add signal.
5570 (impl_key_event): emit the event.
5571 (boolean_handled_accumulator): impl.
5572 (marshal_BOOLEAN__POINTER): add, gack.
5574 * libspi/accessibleeventlistener.c
5575 (spi_event_listener_class_init): add signal.
5576 (impl_accessible_event_notify_event): emit the signal &
5577 make the loop efficient.
5578 (spi_event_listener_add_callback): prepend the callback.
5580 * libspi/accessibleeventlistener.h: add an 'event' signal,
5581 decl type on callback.
5583 * libspi/keystrokelistener.h: ditto.
5585 * cspi/spi-listener.h: make methods typesafe and
5586 make them use the new event typedefs.
5588 * test/simple-at.c (report_focussed_accessible):
5589 include mag_client.h
5590 Use *(void *)text_interface not the other thing.
5592 * configure.in: add gtk to registryd bits - since we use
5595 * util/magnifier.c: include libbonobo.h
5597 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5599 * test/keysynth-demo.c:
5600 Turned this into a simple scanning keyboard, to demonstrate the
5601 use of g_timeout_add () as a means of creating timers for
5602 scanning, and the use of GtkStyle for visually indicating when
5603 virtual keyboard elements are selected.
5605 keysynth-demo now listens to any keyboard keys with zero-valued
5606 keycodes (i.e. 'unused' keys) and interprets them as
5609 Reworked the shiftlatch code so that shift-down state isn't held
5610 for long periods (it's only synthesized immediately prior to
5611 the keysynth event it's modifying). Note that shiftlatch in this
5612 demo is a convenience, not intended to take the place of AccessX
5613 which is the better choice for getting 'sticky' modifier keys.
5615 * libspi/deviceeventcontroller.c:
5616 * at-bridge/bridge.c:
5617 * cspi/spi_registry.c:
5618 Removed some debug print stuff, and put other verbosity in #ifdef
5623 Implemented some more of the magnifier IDL for the simple
5624 magnifier: namely, getZoomRegionParams.
5625 Added mag_x and mag_y members to MagnifierData struct, aid of this
5627 Added GtkWindow::realize signal handler to magnifier, to keep it
5628 from receiving keyboard focus from the WM.
5630 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5632 * cspi/spi-private.h: my guess at what michael forgot
5633 before he ran off to NZ :-)
5635 2001-11-23 Michael Meeks <michael@ximian.com>
5637 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5638 comment out non existant method invoke so we link.
5640 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5641 use bonobo_exception_get_text for more friendly warnings.
5643 * cspi/spi.c (Obj_Add): move into spi_main & rename
5644 spi_object_add; kill spi.c
5646 * cspi/spi_registry.c
5647 (deregisterGlobalEventListener),
5648 (deregisterGlobalEventListenerAll),
5649 (registerGlobalEventListener): fix exception leaks.
5651 * cspi/spi_main.c (spi_exception): impl. helper, so we
5652 don't leak exceptions.
5654 * cspi/spi_selection.c
5655 (AccessibleSelection_deselectSelectedChild): return the
5658 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5659 (spi_registry): ditto.
5660 (SPI_init): guard against double inits.
5662 * cspi/*.c: use spi_ev (), and spi_registry () where
5663 appropriate - a temporary hack until we have something
5664 better. Use spi_object_add
5666 2001-11-22 Michael Meeks <michael@ximian.com>
5668 * cspi/Makefile.am: re organise, install the headers.
5670 * cspi/*.h: add G_BEGIN/END_DECLS
5672 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5675 Added non-preemptive keylistener for key events with no modifiers
5676 and shift-only modifier.
5678 * libspi/keystrokelistener.c:
5679 Removed some verbose diagnostics printout.
5681 * cspi/spi_registry.c:
5682 Fixed a bug that caused all key listeners to be registered as
5685 * libspi/deviceeventcontroller.c:
5686 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5687 for non-preemptive key masks.
5690 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5692 * docs/reference/idl/at-spi-idl-docs.sgml:
5693 * docs/reference/idl/at-spi-idl-sections.txt:
5694 * docs/reference/idl/at-spi-idl-overrides.txt:
5695 Added missing files.
5697 * docs/reference/Makefile.am:
5698 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5699 to scan the IDL files :-(
5704 Added .cvsignore files.
5706 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5708 * libspi/deviceeventcontroller.c:
5709 * libspi/keystrokelistener.c:
5711 * cspi/spi_registry.c:
5712 Added filters for KeySets, KeyEventSeq, and event types to key
5713 event dispatching, so listeners should only receive those events
5714 that they requested :-)
5716 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5721 * docs/reference:Makefile.am:
5722 * docs/reference/cspi:
5723 * docs/reference/cspi:Makefile.am:
5724 * docs/reference/cspi:tmpl:
5725 * docs/reference/cspi:tmpl:*.sgml:
5726 * docs/reference/idl:
5727 * docs/reference/idl:Makefile.am:
5728 * docs/reference/idl:at-spi-idl-sections.txt:
5729 * docs/reference/idl:at-spi-idl-docs.sgml:
5730 * docs/reference/idl:tmpl:
5731 * docs/reference/idl:tmpl:*.sgml:
5733 Restructured docs directory to allow separate 'reference' docs
5734 section, and forked idl and cspi docs. Added the sgml template
5735 files to CVS. Added the first sections/structural sgml for the
5738 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5740 * configure.in, libspi/Makefile.am: find libXtst.
5742 2001-11-21 Michael Meeks <michael@ximian.com>
5744 * test/accessx-gui.c: s/spi_value/value/ - doh.
5746 * libspi/base.[ch]: add.
5748 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5750 * idl/Accessible.idl:
5751 * idl/Application.idl:
5754 Started gtk-doc cleanup on IDL.
5756 * libspi/deviceeventcontroller.c:
5757 Added and connected non-preemptive key notification from the
5758 toolkits (in addition to the pre-emptive support from XServer
5759 which we had before, but which causes 'focus flashing'). Filters
5760 are presently limited to key modifiers and global/non-global,
5761 KeySets are presently ignored, as are KeyEvent masks.
5763 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5764 structs into the persistant structure rather than just storing
5765 pointers to things that might not persist across servant
5768 The XGrabKey call now does async keygrabs, because synchronous
5769 ones were deadlocking with GDK_event code in a very nasty way.
5771 Added boolean to internal method notify_keylisteners, to indicate
5772 whether the event came from the 'toolkit source' or the 'global
5773 (XServer) source' - this is used in the notification process to
5774 determine which listeners to send the event to.
5776 deviceeventcontroller.c is now warning-free.
5778 * libspi/registry.c:
5779 Fixed regression in application de-registration.
5780 Also fixed some really brain-dead weirdness having to do with
5781 event dispatching - event structs are now duplicated before being
5782 re-marshalled in the dispatch to listeners. This also fixes a
5783 Solaris build problem.
5786 2001-11-20 Michael Meeks <michael@ximian.com>
5789 (impl_accessibility_registry_deregister_global_event_listener):
5792 * libspi/deviceeventcontroller.c
5793 (spi_device_event_controller_check_key_event): return
5794 FALSE on no virtual method.
5796 * libspi/*..h: make includes work on a correctly pathed install.
5798 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5800 * libspi/application.h: kill unused ( and whacked out )
5801 gboolean *spi_application_set_id (AtkObject *app, long id);
5803 2001-11-20 Michael Meeks <michael@ximian.com>
5805 * libspi/*.[ch]: further convert to bonobo's type func
5806 macros, remove redundnant casts etc.
5808 * libspi/text.c s/accessibility_text/spi_text/g,
5809 re-order to de-cruft.
5811 * libspi/hypertext.c: re-order to kill a huge slew
5812 of redundant forward decls.
5814 * libspi/relation.c: ditto.
5816 * libspi/image.c: ditto.
5818 * */.cvsignore: update
5820 2001-11-20 Michael Meeks <michael@ximian.com>
5822 * libspi/deviceeventcontroller.c
5823 (_controller_register_with_devices): use g_getenv,
5824 kill stdlib.h include.
5826 * libspi/keystrokelistener.c
5827 (spi_keystroke_listener_get_type): kill
5828 (spi_keystroke_listener_class_init),
5829 (spi_keystroke_listener_init): rename to this.
5831 * libspi/text.c (impl_getAttributes): fix warning / bug.
5833 * libspi/*.[ch]: more headers, includes and over commenting.
5835 2001-11-20 Michael Meeks <michael@ximian.com>
5837 * libspi/*.[ch]: fixup headers, includes and over commenting.
5839 * libspi/image.c (impl__get_imageDescription): const
5840 correctness warning fix. remove redundant casting.
5842 * libspi/table.c (impl_getRowDescription): ditto.
5843 (impl_getColumnDescription): ditto.
5845 * libspi/libspi.h: add.
5847 2001-11-19 Michael Meeks <michael@ximian.com>
5849 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5851 * libspi/component.c (accessibility_component_get_type):
5852 rename to (spi_component_get_type): and macroify.
5853 (accessibility_component_init): rename to
5854 (spi_component_init): this
5855 (accessibility_component_class_init): rename to
5856 (spi_component_class_init): this
5858 * libspi/action.c (spi_action_get_type): kill, use the macro.
5860 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5863 * libspi/application.c (spi_application_object_event_listener),
5864 (impl_accessibility_application_register_object_event_listener):
5865 warning fixes / const understanding updates.
5867 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5870 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5872 * libspi/spi_accessible.c: Added docs and C bindings for
5873 AccessibleStateSet. (No implementations yet). Documentation
5874 coverage for C bindings now 100%. Made docs for event listeners
5879 boolean notifyListenersSync (in DeviceEventListener listener,
5880 in DeviceEvent event);
5882 oneway void notifyListenersAsync (in DeviceEventListener listener,
5883 in DeviceEvent event);
5885 Added DeviceEventListener and DeviceEvent structs (may deprecate
5886 KeyStroke and KeystrokeListener in favor of this generic
5887 event/listener framework for devices).
5889 * libspi/deviceeventcontroller.c:
5891 Changed some key listener code to take masks, etc., and paved the
5892 way for integration of toolkit/non-preemptive key events. Changed
5893 signatures of some internal methods.
5895 * at-bridge/bridge.c:
5896 Fixed regression connecting to interface signals, apparently
5897 caused by GTK+ changes.
5899 Added an internal bridge_state_listener to deal with
5900 property-change:accessible-state signals.
5902 Changed the key_listeners GList to store structs (including masks,
5903 etc.) instead of just CORBA_Objects (required for full
5904 implementation of key listener API).
5906 Connected the bridge to all currently supported Atk signals.
5907 Events now supported:
5908 object:property-change
5909 object:property-change:accessible-name
5910 object:property-change:accessible-state
5911 object:property-change:accessible-description
5912 object:property-change:accessible-parent
5913 object:property-change:accessible-value
5914 object:property-change:accessible-role
5915 object:property-change:accessible-table-caption
5916 object:property-change:accessible-table-column-description
5917 object:property-change:accessible-table-column-header
5918 object:property-change:accessible-table-row-description
5919 object:property-change:accessible-table-row-header
5920 object:property-change:accessible-table-summary
5921 object:children-changed
5922 object:visible-data-changed
5923 object:selection-changed
5924 object:text-selection-changed
5926 object:text-caret-moved
5928 object:row-reordered
5930 object:column-inserted
5931 object:column-reordered
5932 object:column-deleted
5933 object:model-changed
5935 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5937 * libspi/hyperlink.c,h:
5938 Fixed some broken stuff in hyperlink.
5940 * libspi/relation.h:
5941 * libspi/relation.c:
5942 * cspi/spi_accessible.c:
5943 Initial implementations of AccessibleRelation methods, and docs.
5945 * libspi/accessible.c:
5946 Fixed a bug that caused SEGV if an accessible
5947 object's description is NULL, and a client
5948 requests it. An empty string is now returned.
5950 * cspi/spi_editabletext.c:
5951 * cspi/spi_hypertext.c:
5953 * cspi/spi_hyperlink.c:
5957 Doc coverage now 95%.
5959 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5961 One last namespacing revision:
5962 * libspi/accessibleeventlistener.[ch]:
5963 Renamed SpiAccessibleEventListener to SpiEventListener,
5964 (no need for two namespaces ;-)
5966 And lots of documentation fixes:
5968 * docs/at-spi-docs.sgml:
5969 Fixed 'underscore vs. hyphen' bug that was preventing
5970 the gtk-doc API docs from being automatically generated.
5973 * cspi/spi-listener.h
5975 * cspi/spi_accessible.c
5977 * cspi/spi_application.c
5978 * cspi/spi_component.c
5979 * cspi/spi_editabletext.c
5981 * cspi/spi_hypertext.c
5983 * cspi/spi_registry.c
5984 * cspi/spi_selection.c
5988 * docs/at-spi-docs.sgml
5989 * docs/at-spi-sections.txt
5991 Added and fixed up gtk-doc documentation in cspi.
5993 Interfaces now (fully) documented (subject to revision and enhancement):
5995 Event Listener Support
5997 AccessibleApplication
6001 AccessibleEditableText
6008 AccessibleRelationSet
6013 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6015 * at-bridge/bridge.c:
6016 Initial work for toolkit-level key snooper connection by bridge.
6021 New typedefs and fixes to support new namespacing, and cleaner
6022 separation of cspi bindings from libspi bonobo implementation.
6023 Removed inconsistent and extraneous Spi* namespace prefix that
6024 had crept into cspi headers.
6025 Lots of comment fixes that sed had missed.
6027 * cspi/spi-roletypes.h:
6028 * cspi/spi-statetypes.h:
6029 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6030 to AccessibleRoleType.
6032 * libspi/accessibleeventlistener.h:
6033 Fixed minor namespacing weirdness.
6035 * libspi/deviceeventcontroller.c:
6036 Reordered some internal API for device listeners.
6037 Changed the key registry final boolean to 'is_system_global'
6038 rather than 'is_synchronous', which is more descriptive of its
6040 Added spi_device_event_controller_new().
6041 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6043 * libspi/keystrokelistener.[ch]:
6044 Namespaced KeystrokeListener to SpiKeystrokeListener.
6045 Changed uses of keymasks to use SPI_ prefix, and did other
6048 * libspi/keymasks.h:
6049 Namespaced keymask constants with SPI_ prefix.
6051 * libspi/registry.c:
6052 Some warning fixes, and knock-on fixes from namespace changes.
6055 Added rules for accessx-gui test program.
6057 * test/accessx-gui.c:
6058 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6059 utility. It doesn't actually use at-spi, but it's still cool and
6062 * test/keysynth-demo.c:
6066 Fixes so that these test clients work properly with the namespaced
6067 libraries. (Incompletely tested for technical reasons, fixes may follow)
6070 2001-11-13 Michael Meeks <michael@ximian.com>
6072 * libspi/application.c
6073 (impl_accessibility_application_get_version),
6074 (impl_accessibility_application_get_toolkit_name):
6076 (impl_accessibility_application_set_id),
6077 (impl_accessibility_application_get_id): remove
6078 redundant casting code.
6080 * libspi/action.c (impl_getDescription): fix warnings.
6082 * libspi/accessible.c
6083 (impl_accessibility_accessible_get_parent),
6084 (impl_accessibility_accessible_get_child_at_index),
6085 (impl_accessibility_accessible_get_state),
6086 (impl_accessibility_accessible_get_relation_set):
6087 warning fixes & include action.h
6089 2001-11-13 Michael Meeks <michael@ximian.com>
6091 * *.[ch] fix bits I screwed up:
6093 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6094 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6096 2001-11-13 Michael Meeks <michael@ximian.com>
6098 * *.[ch] Namespace libspi into spi_ and Spi.
6100 2001-13-11 Michael Meeks <michael@ximian.com>
6102 * Makefile.am: dist & install at-spi-1.0.pc
6104 * libspi/Makefile.am: install into at-spi-1.0
6106 * idl/Makefile.am (idldir): install into at-spi-1.0
6108 * at-spi-1.0.pc.in: add.
6110 * configure.in: build it.
6112 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6114 * test/keysynth-demo.c:
6115 Use a 'realize' signal-handler to set the WM properties for
6116 the virtual keyboard, rather than making it a "POPUP" type
6117 override-redirect window (thanks to anders carlsson for that
6120 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6123 * test/keysynth-demo.c:
6124 Added new test of key synthesis, which creates a simple
6125 (mouse-operated) onscreen keyboard. It inserts key events into
6126 the currently-focused window, thus it does not grab keyboard focus
6129 * cspi/spi_registry.c:
6130 Added C binding for AT-SPI generateKeyEvent.
6132 * libspi/deviceeventcontroller.c:
6133 Added call to XFilterEvent so that key listener works with XIM (we
6134 hope). Added event_synth_type to generateKeyEvent, so that we can
6135 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6136 synthesize a press/release pair for KeySyms.
6138 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6140 * libspi/Makefile.am:
6141 * registryd/Makefile.am:
6142 (temporary) hack to include libXtst in libspi and registryd.
6143 (Needed for keystroke synthesis, see below).
6146 Improved API for registerKeystrokeListener, in accordance with
6147 discussions with Gnopernicus team and X server research.
6149 * libspi/registry.c:
6150 * libspi/deviceeventcontroller.c:
6151 * libspi/accessible.c:
6152 * libspi/keystrokelistener.c:
6153 Changes and fixes to support keylisteners for potentially
6154 consumed key events (that is, 'passive grabs').
6155 Added implementation for generateKeyEvent() [untested].
6158 Changes to registerKeystrokeListener() API, as above.
6159 Added deregisterGlobalEventListenerAll(), and
6160 deregisterKeystrokeListener(), which are needed for clean exit of
6162 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6163 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6165 * cspi/spi_registry.c:
6166 Added implementations of function prototypes mentioned above.
6168 * registryd/registryd.c:
6169 Added the key listener event source as a g_timeout(), to allow
6170 receipt of key events that are not caught by GDK (since GDK
6171 doesn't support passive keygrabs, this was necessary).
6174 Changed to attach a keylistener to 'Alt' keys, and
6175 respond to the following keycommands: Alt-M (toggle magnifier);
6176 Alt-F (toggle speech); Alt-Q (quit).
6177 Added an exit routine to deregister the listeners, and a key
6178 listener that prints some key info to the console when a key
6179 matches the listener mask (and is thus received by the listener).
6181 * util/idl/Magnifier.idl:
6182 Changes to magnifier API to support multiple zoom regions,
6183 non-uniform scaling in x and y, markDirty, and a host of other
6184 features that would be useful to magnification.
6187 * util/mag_client.c:
6188 * util/mag_client.h:
6189 * util/mag_control.c:
6191 Source code changes to support the above IDL changes.
6194 As above, and also changes to use a (slower) generic conversion
6195 path for colormap conversions, since the fast RGB conversions have been
6196 reported to fail for 16-bit displays.
6198 2001-10-26 Michael Meeks <michael@ximian.com>
6200 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6202 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6204 * at-bridge/Makefile.am: fix LDFLAGS.
6206 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6208 * at-bridge/bridge.c:
6209 Re-worked listeners for toolkit events, now we have signal
6210 and property listeners. Added a private method
6211 register_atk_event_listeners(), which registers with the
6212 various atk and gtk signals we need to monitor in order to emit
6214 Added emission hook for AtkObject:property-change events, to
6215 support the 'property listeners'.
6216 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6219 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6220 which emit warnings and exit, respectively, if CORBA errors occur
6221 during remote calls, and we now use these methods to check most of
6222 our CORBA calls in the C bindings.
6224 * cspi/spi_accessible.c:
6225 Changed AccessibleSelection_refSelectedChild() to
6226 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6227 now increment refcounts.
6229 * cspi/spi_component.c:
6230 Fixed some long pointer casts (dangerous!) to pass pointers to
6231 CORBA_longs of the proper type to the CORBA stubs, and copy the
6232 data into the longs that were passed into the C bindings code.
6234 * at-bridge/bridge.c:
6236 * libspi/accessible.c:
6237 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6238 hyperlinks, AtkHyperlink is an object type.
6240 * libspi/application.c:
6241 Added various conversions to and from "generic" event types and
6242 atk-specific types; this is really part of the 'bridge'
6243 implementation but is valid for all AtkObject-based accessibility
6246 * libspi/editabletext.c:
6247 Fixed nasty bug wherein editable text's finalize method was
6248 unref'ing tha AtkObject reference that the text parent class was
6249 about to unref _again_. There was also a nasty inheritance bug
6250 that meant that the AccessibleEditableText class was corrupt.
6252 * libspi/selection.c:
6253 Provided implementations for some selection API that was broken.
6255 * idl/Application.idl:
6256 Added registerObjectEventListener () method.
6259 Fixed a number of return values that were Bonobo_Unknowns from
6260 bonobo_object_corba_objref(), which I
6261 forgot to dup before returning. Changed instances of
6262 bonobo_object_corba_objref (bonobo_object(o)) to
6263 BONOBO_OBJREF(o), for concision and clarity.
6265 2001-10-13 Louise Miller <louise.miller@sun.com>
6267 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6268 idl/Event.idl, idl/Registry.idl
6269 Changed these files to include Bonobo_Unknown.idl instead
6272 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6274 * libspi/component.c libspi/component.h:
6275 Fixed typo. Added assertions for object checks in
6276 AccessibleComponent code.
6278 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6280 * idl/Accessible.idl:
6281 Added 'isEqual (Accessible *object)'
6282 method for Accessible. (Not Yet Implemented).
6285 Changed signature of registerKeystrokeListener() to
6286 take a KeySet and KeyEventSeq so that specific keys and event
6287 types could be requested for monitoring, and added a flag
6288 is_synchronous so that either synchronous or asynchronous
6289 notification could be requested. (However this is not all
6290 implemented yet). This also meant adding two new typedefs,
6291 KeyEventSeq and KeySet.
6294 Added two new relations, RELATION_TOOLTIP_FOR and
6295 RELATION_LEAFNODE_OF.
6298 Added new state, STATE_HAS_TOOLTIP.
6300 * libspi/text.c, editabletext.c:
6301 Added new assertions to all casts of bonobo-objects from
6302 CORBA servants, to prevent Text API calls on non-text objects.
6303 Changed suspect casts of int-pointer types, so that we
6304 always send a valid CORBA_long pointer to the CORBA APIs that use
6305 in/out long parameters. We then have to copy from the CORBA_long
6306 into the regular long or int for return to the C bindings, or
6307 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6310 * libspi/deviceeventcontroller.c:
6311 Cleaned these sources up.
6313 Changed return type for getCharacterAtOffset to
6314 CORBA_unsigned_long, to allow for 32-bit characters.
6317 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6321 Fixed 'make dist' so that distro compiles...
6322 * libspi/keymasks.h:
6324 * cspi/spi-listener.c:
6325 KeystrokeListenerCB now returns a boolean.
6327 Added KeyEventType struct, and KeyStroke.
6328 Also added createKeystrokeListener(),
6329 KeystrokeListener_addCallback(),
6330 KeystrokeListener_removeCallback(), and added a keymask to
6331 registerKeystrokeListener().
6332 * cspi/spi_accessible.c:
6333 Changed numerous return types for interfaces from
6334 AccessibleComponent to Accessible<InterfaceName>; this was
6335 probably a cut-and-paste error.
6337 Implementations of new KeystrokeListener api (from spi.h,
6340 Changes to key modifier mapping.
6341 Created ControllerEventMask struct.
6342 Made DeviceEventController derive from Bonobo::Unknown.
6344 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6345 * libspi/deviceeventcontroller.c:
6346 Added a number of new internal (private) methods.
6347 * libspi/editabletext.c:
6348 * libspi/editabletext.h:
6349 Fixed a number of bugs related to the fact that
6350 editabletext inherits from text. Fixed the EditableText struct,
6351 the init() call, and use correct casts when calling Text methods
6352 from an EditableText object. Removed (duplicate) atko from the
6353 EditableText structure, we use the one in the parent Text
6354 structure via the casts mentioned above.
6355 * libspi/keystrokelistener.[ch]:
6356 * libspi/registry.c:
6357 Changes in support of keyboard handling (above).
6359 Keyboard handling, though partly functional, is still not
6360 recommended for at-spi client use as there is considerable
6361 work yet to be done.
6364 Changed some places where pointers to various int types
6365 are cast to be pointers to CORBA_long types and vice-versa:
6366 pointer casting is not safe so we pass pointers of the correct
6367 types and then cast the result before putting it into the target
6370 * libspi/text.h: minor typos corrected.
6372 We now speak not only the name of a Text element, but the
6373 first sentence of its content, when it receives focus.
6374 I also changed the text compression to 75% from 50%.
6375 * util/Accessibility_Util.server.in:
6376 Changed the default magnifier type to be a 3x vertical
6377 splitscreen magnifier (was previously a 2x horizontal one).
6379 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6381 * libspi/keystrokelistener.h:
6382 * libspi/keystrokelistener.c:
6383 Initial functional implementations of KeystrokeListener.
6386 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6388 Fixed string handling for NULL strings in libspi.
6389 Added spi_freeString to free strings returned by C bindings.
6391 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6393 * libspi/keystrokelistener.h:
6394 * libspi/keystrokelistener.c:
6395 Began (no-op) implementations of KeystrokeListener
6397 * libspi/deviceeventcontroller.c:
6398 * libspi/deviceeventcontroller.h:
6399 Began creating implementations of DeviceEventController,
6400 to handle keystroke and mouse event listening and
6402 * libspi/accessible.c:
6403 Stubbed-in the implementations for
6404 Accessibility_Accessible_getState and
6405 Accessibility_Accessible_getRelationSet.
6406 * libspi/registry.c:
6407 Improved de-registration process and fixed some bugs,
6408 deregistration now works correctly.
6410 Added initialization of applications list (to NULL).
6412 Reduced speech compression from 0.5 to 0.7, for demo.
6413 Changed call to gdk_window_set_decorations()
6414 to gtk_window_set_decorated().
6415 * at-bridge/bridge.c:
6416 Bridge now deregisters when app exits, via
6417 registration of a cleanup function
6418 with the g_atexit() call.
6419 Required making 'app' static, renamed 'this_app'.
6420 Fixed broken use of bonobo_init, passing argv wrongly.
6422 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6426 Created a new directory for
6427 accessibility-related utilities, primarily for
6428 testing and demo purposes, but with possible
6435 Onscreen magnifier utility that
6436 is implemented as a bonobo service.
6438 * util/mag_client.c:
6439 * util/mag_client.h:
6440 Client-side support (simple C bindings)
6441 for Magnification service
6443 * util/mag_control.c:
6444 Client program example for
6445 Magnification service
6447 * util/Accessibility_Magnifier.server.in:
6448 Bonobo-activation file for the
6449 Magnification service.
6452 * util/idl/Magnifier.idl:
6453 IDL defining the bonobo Magnification
6457 Modifications to use the bonobo-activated magnifier
6458 above, in place of trying to connect to an existing
6459 magnifier that uses socket-listening IPC.
6461 If env variable MAGNIFIER is set, a magnifier service
6462 will be started if one does not exist.
6464 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6466 * at-bridge/bridge.c:
6467 applied patch from Marc to build and run
6468 against new glib and gtk+ (seemed like a change
6469 to bonobo_init signature was made ?)
6471 made festival-server support turned off by default.
6472 Added support for a simple magnifier (off by default)
6473 which will be added to a 'util' directory later.
6474 * at-bridge/Makefile.am:
6475 Changed "application.h" header from a 'source'
6476 to a 'dependency' of libat-bridge.
6478 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6487 Added interface implementation c files to list of
6488 includes so they are included in libcspi.
6491 Changed prototype of AccessibleAction_doAction to return a
6493 Changed prototype of AccessibleTable_getCaption to
6494 return an Accessible.
6495 Changed prototype of AccessibleTable_getSelectedRows
6496 and AccessibleTable_getSelectedColumns to
6497 return a long (returns the number of selected rows
6498 or columns respectively).
6499 Changed name of AccessibleText_refRunAttributes to
6500 AccessibleText_getAttributes.
6501 Changed prototype of AccessibleText_getCharacterExtents to
6502 return a void rather than a boolean.
6503 Added support for a AccessibleCoordType parameter
6504 specifying what type of coordinates are desired.
6505 Added an AccessibleCordType parameter to
6506 AccessibleText_getPointAtOffset.
6508 * cspi/spi_accessible.c:
6509 Added code to return the outstanding interfaces from
6510 Accessible_queryInterface.
6512 * cspi/spi_action.c:
6514 Corrected call to getNActions to call the c binding
6517 * cspi/spi_editabletext.c:
6519 Changed name from setRunAttributes to setAttributes.
6521 * cspi/spi_hyperlink.c:
6523 Changed call to getNAnchors to correctly call the c
6524 binding for an attribute.
6526 * cspi/spi_hypertext.c:
6528 Changed getImageDescription to correctly call the
6529 binding for an attribute.
6531 * cspi/spi_selection.c:
6532 Changed getNSelectedChildren to correctly call the c
6533 binding for the attribute.
6534 Changed refSelectedChild to getSelectedChild.
6538 Changed getCaption to return an Accessible.
6539 Fixed calls which retrieve attributes.
6540 Changed refAt to getAccessibleAt.
6541 Changed getNSelectedRows and getNSelectedColumns to
6545 Changed getCharacterExtents and getPointAtOffset to accept an
6546 AccessibleCoordType.
6548 Changed calls which retrieve attributes.
6549 Changed refRunAttributes to getAttributes.
6554 * idl/Hyperlink.idl:
6555 Changed n_anchors attribute to nAnchors to keep naming
6556 convention consistent.
6559 Made Table inherit from Bonobo::Unknown.
6560 Added nSelectedColumns and nSelectedRows attributes.
6563 Made Value inherit from Bonobo::Unknown.
6565 * libspi/hyperlink.c:
6566 Change for nAnchors attributte name change.
6568 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6576 Added interface implementation c files to list of
6577 includes so they are included in libcspi.
6580 Changed prototype of AccessibleAction_doAction to return a
6582 Changed prototype of AccessibleTable_getCaption to
6583 return an Accessible.
6584 Changed prototype of AccessibleTable_getSelectedRows
6585 and AccessibleTable_getSelectedColumns to
6586 return a long (returns the number of selected rows
6587 or columns respectively).
6588 Changed name of AccessibleText_refRunAttributes to
6589 AccessibleText_getAttributes.
6590 Changed prototype of AccessibleText_getCharacterExtents to
6591 return a void rather than a boolean.
6592 Added support for a AccessibleCoordType parameter
6593 specifying what type of coordinates are desired.
6594 Added an AccessibleCordType parameter to
6595 AccessibleText_getPointAtOffset.
6597 * cspi/spi_accessible.c:
6598 Added code to return the outstanding interfaces from
6599 Accessible_queryInterface.
6601 * cspi/spi_action.c:
6603 Corrected call to getNActions to call the c binding
6606 * cspi/spi_editabletext.c:
6608 Changed name from setRunAttributes to setAttributes.
6610 * cspi/spi_hyperlink.c:
6612 Changed call to getNAnchors to correctly call the c
6613 binding for an attribute.
6615 * cspi/spi_hypertext.c:
6617 Changed getImageDescription to correctly call the
6618 binding for an attribute.
6620 * cspi/spi_selection.c:
6621 Changed getNSelectedChildren to correctly call the c
6622 binding for the attribute.
6623 Changed refSelectedChild to getSelectedChild.
6627 Changed getCaption to return an Accessible.
6628 Fixed calls which retrieve attributes.
6629 Changed refAt to getAccessibleAt.
6630 Changed getNSelectedRows and getNSelectedColumns to
6634 Changed getCharacterExtents and getPointAtOffset to accept an
6635 AccessibleCoordType.
6637 Changed calls which retrieve attributes.
6638 Changed refRunAttributes to getAttributes.
6643 * idl/Hyperlink.idl:
6644 Changed n_anchors attribute to nAnchors to keep naming
6645 convention consistent.
6648 Made Table inherit from Bonobo::Unknown.
6649 Added nSelectedColumns and nSelectedRows attributes.
6652 Made Value inherit from Bonobo::Unknown.
6654 * libspi/hyperlink.c:
6655 Change for nAnchors attributte name change.
6658 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6660 implementations-- made server implementations own AtkObject pointers
6661 rather than their respective AtkInterrface pointers to fix
6662 refcounting. AtkHyperlink is still broken.
6664 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6665 * cspi/spi_accessible.c:
6666 Added method Accessible_Role_getName(),
6667 and requisite string array (role_names).
6668 Added conversion string_from_corba_strin() call
6669 to Accessible_getName and _getDescription.
6670 * libspi/accessible.c:
6671 Added implementation for Accessible_getRole()
6673 Added festival support, used if environment variable
6676 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6678 * at-bridge/bridge.c:
6679 Now allocate Accessibility_Event using
6680 Accessibility_Event__alloc() instead of g_new0().
6681 * libspi/accessibleeventlistener.c:
6682 Initialize AccessibleEventListener->callbacks to NULL.
6683 Fixed accessible__event_listener_init() param, changed to
6684 "AccessibleEventListener *" type.
6685 Changed a bonobo_object_release_unref() call to
6686 Accessibility_Accessible_unref().
6687 * libspi/listener.c:
6688 Changed Bonobo_Unknown_unref to (equivalent)
6689 Accessibility_Accessible_unref.
6690 * libspi/registry.c:
6691 Changed bonobo_object_release_unref to
6692 Accessibility_Accessible_unref.
6694 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6697 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6698 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6699 spi-util.c spi-util.h
6700 Implementations for C bindings to remaining accessibility
6703 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6706 changed return value of Action from void to boolean to
6707 bring in line with ATK.
6710 Changed getText funcions to return "out" start and end offsets.
6711 Changed getAttributes to take and offset and return the start
6712 and end offset of the attribute run.
6713 Changed getOffsetAtPoint and getCharacterExtents to take an
6714 enum describing whether coordinates are window or screen.
6717 libspi/action.c libspi/action.h libspi/editabletext.c
6718 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6719 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6720 libspi/image.h libspi/selection.c libspi/selection.h
6721 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6722 libspi/value.c libspi/value.h
6723 Added server implementations for outstanding ATK interfaces
6724 not yet implemented.
6726 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6729 Added (missing) getName() method.
6730 Made nActions an attribute.
6731 * idl/EditableText.idl:
6732 Changed order of params in setAttributes.
6733 * idl/Hyperlink.idl:
6734 Removed getAnchor, added getURI.
6736 Changed attributes to methods, for efficiency
6737 (so that getting extents can be done in one call)
6738 * idl/Selection.idl:
6739 Changed nSelectedChildren to attribute, and re-indented.
6740 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6742 * idl/Text.idl: reformatted to match our coding style.
6743 (temporarily?) removed getRowColumnAtOffset().
6744 Changed text selection API to support multi-select and
6745 non-contiguous selections, as in ATK.
6746 * idl/Value.idl: changed some methods to attributes.
6748 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6750 * libspi/listener.c(impl_notify_event):
6751 BonoboUnkown_unref the source instead
6752 of bonobo_object_release_unref - the ORB
6753 handles the releasing.
6755 * configure.in: require ORBit-2.3.94 for
6758 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6760 Tagged CVS repository 'EA_1_0'.
6761 * README.EARLY_ACCESS:
6762 Alphabetized acknowledgements list, and
6764 Listed some known dependencies of at-spi.
6766 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6768 * docs/at-spi-docs.sgml:
6769 * docs/at-spi-sections.txt:
6770 * docs/at-spi-overrides.txt: (Added zero-length file)
6771 Documentation improvements - gtk-doc should build
6772 docs for all implemented C bindings now.
6775 * cspi/spi.c: (New file)
6776 * cspi/spi_event.c: (New file)
6777 * cspi/spi_registry.c: (New file)
6778 * cspi/spi_accessible.c: (New file)
6779 * cspi/spi_application.c: (New file)
6780 * cspi/spi_component.c: (New file)
6781 Split spi_main.c into six parts, and included them from
6782 "spi.c". This is a bit of a hack, probably temporary,
6783 but required by gtk-doc, apparently.
6785 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6788 * docs/at-spi-docs.sgml:
6789 * docs/at-spi-sections.txt:
6791 Initial checkins/modifications for gtk-doc generation.
6794 Added (missing) interface query methods to Accessible's C binding.
6796 Added GenericInterface type definition.
6798 Added query for AccessibleComponent interface to focus event handler.
6799 Added printout of bounding box for focussed component.
6800 * libspi/component.c:
6801 Added partial implementation for AccessibleComponent to C binding.
6802 * idl/Application.idl:
6803 * libspi/registry.c:
6804 * libspi/listener.c:
6805 * libspi/application.c:
6806 * libspi/application.h:
6807 Changed "ID" attribute type from string to long.
6809 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6813 Made method naming consistent: methods taking object args
6814 start with uppercase, other methods (except those using
6815 acronyms) start with lowercase. Underscores delimit between
6816 object names and method names:
6817 SPI_init() - uppercase since it starts with an acronym.
6818 getDesktopCount () - lowercase start since no object param0.
6819 Accessible_getName() - uppercase object type name, studlyCaps method
6823 Added gtk-doc documentation for all currently implemented
6824 methods in the C bindings API.
6826 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6828 * Makefile.am : changed build order to build test last.
6831 Changed "createEventListener" to "CreateEventListener".
6832 * libspi/accessibleeventlistener.c :
6833 Bugfix for addition of callbacks.
6834 * test/Makefile.am :
6835 * test/simple-at.c :
6836 Added new test that uses the C bindings API.
6838 * libspi/listener.c :
6839 * libspi/registry.c :
6840 * libspi/accessibleeventlistener.c :
6841 * at-bridge/bridge.c :
6842 Renamed member "target" of Accessibility_Event to "source",
6843 which is more descriptive.
6846 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6850 * cspi/Makefile.am :
6851 Added makefile support for at-spi/cspi directory.
6854 * cspi/spi-listener.h : (NEW FILE)
6855 Added support for/use of spi-listener.h.
6857 C bindings now build successfully, with no warnings.
6858 * libspi/accessibleeventlistener.h : (NEW FILE)
6859 * libspi/accessibleeventlistener.c : (NEW FILE)
6860 * libspi/Makefile.am :
6861 Added new object type "AccessibleEventListener"
6862 which inherits from Listener, and allows attachment
6863 of in-process callbacks (so that a client with a listening
6864 object instance can add functionality to the local
6865 implementation, dynamically).
6867 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6869 * libspi/accessible.c:
6870 Add implementation for get_index_in_parent().
6872 Added #include of "spi-roletypes.h", and
6873 added enumerated type AccessibleCoordType.
6874 Added definition for KeystrokeListener (function type).
6877 * cspi/spi-statetypes.h :
6878 * cspi/spi-roletypes.h :
6880 Added these headers, used by spi.h.
6882 Added code (NOTE: not yet built by make).
6884 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6886 * libspi/Makefile.am: generate imodule
6887 at the same time as other idl compiler
6890 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6891 * libspi/registry.c :
6892 * libspi/application.c :
6893 * idl/Application.idl :
6894 Made registration with toolkit an application method,
6895 which is required since each app has its own toolkit static
6896 environment. Thus the bridge must register for
6897 notification of toolkit events from each application in turn.
6898 Toolkit notifications are now successfully registered for, and
6899 sent to the listening at client.
6901 Changed toolkit event string to use hyphens rather than underscores.
6902 * libspi/listener.c :
6903 listner now gives more info in debug mode - it reports the
6904 name of the event received, as well as the name of the source.
6907 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6909 * libspi/registry.c :
6910 added more implementation for toolkit events.
6911 Fixed bug such that toolkit event registrations
6912 (via atk) use the whole event name string, not
6914 Removed a useless call to an ORBit_ method.
6915 * at-bridge/bridge.c :
6916 Removed unused local sbuf[] variable.
6918 We now register for Gtk:GtkWidget:button_press_event
6919 events as well as "focus:" events.
6921 Add some more API from Registry.idl that was missing,
6922 for keystroke listening, keystroke and mouse event
6923 synthesis, and enumeration of accessible desktops.
6925 2001-08-16 Michael Meeks <michael@ximian.com>
6927 * configure.in: use AM_GLIB_GNU_GETTEXT.
6929 * Makefile.am (SUBDIRS): kill intl.
6931 2001-08-15 Michael Meeks <michael@ximian.com>
6933 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6935 * configure.in: upd.
6937 * configure.in: depend on a recent bonobo-activation that
6938 will find our server files ...
6940 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6942 * libspi/accessible.c : accessible_new() :
6943 Now we add the Component interface via bonobo_object_add_interface,
6944 if the contained AtkObject implements AtkComponent.
6945 * libspi/accessible.h : now include "component.h"
6946 * libspi/component.h :
6947 * libspi/component.c : added files - implementation of
6948 bonobo wrapper object for Accessibility/Component
6949 * libspi/listener.c :
6950 Added test code to check for Accessibility/Component:1.0
6951 interface and report whether it is implemented by the
6953 * libspi/registry.c :
6954 Now we check for not only the hash of the whole event
6955 string before relaying the event, we also check the
6956 "minor" event string (without the detail string).
6957 This allows event listeners to be registered against
6958 all events of a certain major+minor type, or just
6959 against a specific major+minor+detail type.
6960 * libspi/accessible.c :
6961 Added implementations for Accessible:get_parent(),
6962 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6963 * libspi/registry.c :
6964 * libspi/listener.c :
6965 Replaced calls to Accessibility_Accessible_ref() and
6966 Accessibility_Accessible_unref() with
6967 calls to bonobo_object_dup_ref() and
6968 bonobo_object_release_unref(), so that the CORBA object
6969 is dup-ed and released when relayed, as well as the bonobo object.
6971 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6973 * libspi/Makefile.am,
6974 registryd/Makefile.am,
6975 at-bridge/Makefile.am.
6976 test/Makefile.am, configure.in:
6977 reverse previous changes.
6979 * /idl/Image.idl: fix typo.
6981 * test/Makefile.am: put DEBUG_FLAGS
6984 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6986 * test/app.c: use argv[0] instead of
6989 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6991 * libspi/Makefile.am,
6992 registryd/Makefile.am,
6993 at-bridge/Makefile.am.
6994 test/Makefile.am, configure.in:
6995 cleanup, replace individual LIBS/CFLAGS with
6996 AT_COMMON_{LIBS|CFLAGS}.
7000 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7002 * configure.in, libspi/Makefile.am:
7003 Change IDL path checking for bonobo-activation
7006 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7008 * registryd/registry.c : separated event listeners to use
7009 3 separate lists (focus, window, toolkit). Began testing
7010 event names against hashes before relaying events.
7011 * test/at.c : now register for events of type "focus:"
7012 * test/app.c : now generate events of type "focus:"
7013 * at-bridge/bridge.c : register with ATK for focus events,
7014 and we now relay those focus events to any "focus:" listeners.
7015 This now works with the bridge as a GTK_MODULE when running test/at.
7016 * libspi/registry.c :
7017 * libspi/listener.c :
7018 now we ref event sources before propagating, and unref on receipt.
7019 * libspi/registry.c :
7020 some changes to internal structs, to support event typestring hashes.
7021 * text/app.c : changed the way the appname is generated.
7022 * cspi : added directory that will hold the C bindings library for
7023 non-CORBA/bonobo-savvy clients.
7024 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7025 * idl/Component.idl : added in parameter to indicate coord system for
7026 geometry-related calls.
7027 * idl/Hyperlink.idl : added readonly n_links attribute
7028 * idl/Image.idl : changed methods to attributes.
7030 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7032 * at-bridge/Makefile.am: link against
7033 ../libspi/libspi.la instead of -lspi.
7035 * at-spi/test/app.c: include
7036 bonobo-activation.h. Use a default appname
7037 if one is not provided.
7039 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7041 * idl/Registry.idl : temporarily changed register_Application
7042 to oneway, to work around issue with initial registration
7044 * idl/Application.idl : changed attribute "id" from readonly
7045 to read-write, since it needs to be assigned by Registry.
7046 * registryd/registryd.c : added call to set application id
7048 * registryd/registry.c : changed de-registration procedure to
7049 use CORBA_Object_hash() to find matching object ref in application
7050 lists and listener lists.
7051 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7052 began distinguishing between event types (work in progress).
7054 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7057 * libspi/application.c:
7058 Added implementations for get/set id, get_toolkitName,
7060 * registryd/registryd.c :
7064 Converted from use of OAF to bonobo-activation.
7065 * libspi/desktop.h :
7066 * libspi/desktop.c :
7068 Removed references to atksimpleobject, since base atkobject
7069 implementation now provides functionality we need.
7070 * libspi/atksimpleobject.c :
7071 * libspi/atksimpleobject.h :
7076 * at-bridge/Makefile.am
7077 * at-bridge/bridge.c
7080 Added directory "bridge" and contents, and added dependencies
7081 in Makefile.am/configure.in.
7082 Initial checkin of "at-bridge".
7083 This code is a GTK_MODULE which automatically registers
7084 GTK+ apps with the accessibility registry, using an object
7085 reference to the root ATK object.
7087 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7089 * po/Makefile.in.in: Remove. Again. If this
7090 doesn't get autogenerated - you need to update
7093 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7095 * po/Makefile.in.in: Add. Again.
7097 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7099 * libspi/accessible.c : added support for 'description' property.
7100 * libspi/accessible.c
7102 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7103 (since the two are now equivalent in libbonobo)
7111 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7112 Bonobo::Unknown as does Accessibility::Accessible.
7113 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7114 interface with Bonobo::Stream, since it was redundant with it.
7115 (The Stream returned by a StreamableContext object is expected to
7116 implement only a subset of Bonobo::Stream)
7118 2001-07-28 Anders Carlsson <andersca@gnome.org>
7120 * libspi/accessible.c (accessible_object_finalize): Change
7121 g_free to g_object_unref since the AtkObject is a GObject.
7123 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7125 * idl/Accessibility.idl: add new IDL files
7128 * idl/Action.idl: Definitions of actionable UI object
7129 * idl/Component.idl: Definitions of UI component geometry, etc.
7130 * idl/Hyperlink.idl: Defs of hyperlink behavior
7131 * idl/Image.idl: Def of accessible image
7132 * idl/Selection.idl: Definition of UI object with selectable children
7133 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7134 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7135 * idl/Text.idl: Interface defs for UI elements with complex textual content
7136 * idl/Value.idl: Definition of UI element that is a value controller or display
7138 2001-07-27 Michael Meeks <michael@ximian.com>
7140 * po/Makefile.in.in: remove autogenerated file from CVS.
7142 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7145 * idl/Registry.idl: include guard.
7147 * idl/Accessibility.idl: Add, and include all the other IDL
7150 * idl/*.idl: remove mass of pragmas etc.
7152 2001-07-26 Michael Meeks <michael@ximian.com>
7154 * registryd/Makefile.am (registryd_SOURCES): remove
7157 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7159 * libspi/.cvsignore, registryd/.cvsignore,
7160 test/.cvsignore: updated.
7162 * po/Makefile.in.in: gettext update.
7164 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7166 * initial CVS checkin
7168 2001-06-29 Michael Meeks <michael@ximian.com>
7170 * configure.in: add AM_CONFIG_HEADER to gen config.h