1 2005-04-05 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Revved to 1.6.4.
4 Remember to put quotes around XEVIE_LIBS assignment.
5 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
8 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
10 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
11 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
12 Same here. Closes bug #167806
14 2005-04-05 Bill Haneman <bill.haneman@sun.com>
16 * atk-bridge/bridge.c:
17 (spi_atk_bridge_signal_listener):
18 Free the any._value if any._release is TRUE,
19 since the ORB won't do it for us in this case
20 [because this method is not a skel].
23 2005-03-30 Steve Murphy <murf@e-tools.com>
25 * configure.in: Added "rw" to ALL_LINGUAS.
27 2005-03-29 Bill Haneman <bill.haneman@sun.com>
29 * configure.in: Improved check for HAVE_XEVIE, to detect
30 presence on XOrg, where -lXevie is a separate library.
32 2005-03-08 Bill Haneman <bill.haneman@sun.com>
34 * configure.in, NEWS, README: Revved to 1.6.3.
36 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
38 * configure.in: Added "xh" to ALL_LINGUAS.
40 2005-02-07 Bill Haneman <bill.haneman@sun.com>
42 * atk-bridge/bridge.c:
43 (atk_bridge_init): Added missing NULL in g_strconcat(),
44 also check for symlink before logging to
45 insecure directory. Thanks to meissner@suse.de.
47 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
49 * tests/login-helper-server-test.c: Add return call to main
50 function. Patch from Chris Lahey. Fixes bug #165129.
52 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
54 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
56 2004-12-09 Bill Haneman <billh@gnome.org>
58 * registryd/registry-main.c:
59 Added #define <string.h> for strrchr. (bug 160862).
60 Thanks to Vincent Berger for catching.
62 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
64 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
65 restart registry process if the registry process is found to have died
66 and the current process is exiting.
67 (spi_atk_bridge_exit_func): Do not attempt to deregister the
68 application if the registry process has died.
69 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
70 does not return a registry object.
71 (spi_atk_tidy_windows): Give up if the registry process has died.
73 This fixes problems with hangs and crashes when logging out.
75 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
77 * registryd/desktop.c: Add checking that we are not exiting before
78 calling spi_desktop_remove_application in
79 abnormal_application_termination. Fix for bug #152147.
81 2004-12-02 Bill Haneman <billh@gnome.org>
83 * configure.in, NEWS, README: Revved to 1.6.1.
85 Patch from Padraig O'Briain <padraig.obriain@sun.com>
86 * atk-bridge/bridge.c:
87 (atk_bridge_init): Save the pid when we start, to detect forks.
88 (spi_atk_bridge_exit_func): Don't call the cleanup routines
89 if we're in a forked pid.
91 2004-10-09 Bill Haneman <billh@gnome.org>
93 * idl/Accessibility_LoginHelper.idl:
94 Improved inline documentation.
96 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
98 * configure.in: Added gl (Galician) to ALL_LINGUAS
100 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
102 * libspi/accessible.c:
103 (impl_accessibility_accessible_get_role_name),
104 (impl_accessibility_accessible_get_local_role_name):
106 * libspi/component.c:
107 (impl_accessibility_component_get_accessible_at_point):
109 * libspi/eventlistener.c: (spi_event_listener_new):
111 * libspi/stateset.c: (impl_compare): More of the same
112 * libspi/table.c: (impl_getRowDescription): Again.
113 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
114 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
115 (impl_generate_keyboard_event): Same.
116 * registryd/registry-main.c: (main): Same
117 * test/event-listener-test.c: (test_exit): Same
118 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
119 * test/keysynth-test.c: (test_key_synthesis): Same
120 * test/login-helper-server-test.c: (main): Fix warning.
121 * test/screen-review-test.c: (test_exit): Fix include.
122 * test/simple-at.c: (simple_at_exit), (_festival_init):
125 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
127 * configure.in, NEWS, README: Revved to 1.6.0.
129 2004-09-12 Bill Haneman <bill.haneman@sun.com>
131 * configure.in: Rev and re-dist, since the 1.5.4 tarball
132 was missing the HTML docs.
134 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
136 * configure.in: only cleanups:
137 - better looking PKG_CHECK_MODULES() output,
139 - declare in one common place required versions of other tools using
142 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
144 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
145 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
146 required ATK version accordingly.
148 2004-09-03 Bill Haneman <bill.haneman@sun.com>
150 * cspi/bonobo/cspi-bonobo.c:
151 (cspi_display_name): Fix C99ism.
152 * atk-bridge/bridge.c:
153 (spi_display_name): Fix C99ism.
154 Patch from Jens Granseuer, jensgr@gmx.net.
156 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
158 * configure.in: Added "or" to ALL_LINGUAS.
160 2004-08-20 Bill Haneman <bill.haneman@sun.com>
162 * configure.in, NEWS, README: Revved to 1.5.4.
164 * registryd/registry-main.c:
165 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
168 * cspi/bonobo/cspi-bonobo.c:
169 (cspi_display_name): New convenience method, gets DISPLAY with
170 screen number stripped, if AT_SPI_DISPLAY isn't already set.
171 (cspi_init): Set the activation env value above before getting
174 * atk-bridge/bridge.c:
175 (spi_display_name): Create the AT_SPI_DISPLAY activation
176 environment for an app, based on the DISPLAY environment with the
177 screen number stripped off.
178 (atk_bridge_init): Allow redirection of error messages to a log.
179 (spi_atk_bridge_get_registry): Call
180 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
182 Fixes for bugs #149962, #136986, #144086.
184 2004-08-16 Christian Rose <menthos@menthos.com>
186 * configure.in: Added "bs" to ALL_LINGUAS.
188 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
190 * configure.in: Added nb to ALL_LINGUAS.
192 2004-09-03 Bill Haneman <bill.haneman@sun.com>
195 (SPI_init): Return error code '2' if the activated
196 registry cannot be pinged. Fixes bug #147648.
198 2004-07-28 Bill Haneman <bill.haneman@sun.com>
200 * registryd/deviceeventcontroller.c:
201 (spi_dec_init_mouse_listener): Don't do XGrabButton,
202 rely on timer-poll instead, to avoid conflict with
205 2004-07-20 Bill Haneman <bill.haneman@sun.com>
207 * configure.in: Revved to 1.5.3.
209 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
211 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
213 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
215 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
217 2004-06-11 Bill Haneman <bill.haneman@sun.com>
219 * atk-bridge/bridge.c:
220 (spi_atk_bridge_do_registration):
221 Register with ATK for AtkComponent:bounds-changed events.
222 (api_atk_bridge_signal_listener):
223 Marshal the AtkRectangle info into the event notification
224 for object:bounds-changed events.
227 (spi_init_any_rect): New method, inits a corba struct of
228 type Accessibility_BoundingBox from an AtkRectangle.
230 * libspi/spi-private.h: Declared spi_init_any_rect (above).
233 (SPIRect): New struct definition.
234 (SPI_freeRect): New declaration.
235 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
238 (AccessibleBoundsChangedEvent_getNewBounds): New method,
239 implemented. Gets the bounding box data from the CORBA_any
240 associated with a bounds-changed event notification.
241 (cspi_internal_event_get_rect): New, used internally by above method.
244 (SPI_freeRect): Implemented this new method, for freeing
247 * test/event-listener-test.c:
248 (main, report_bounds_event):
249 Added a test for object:bounds-changed events.
251 2004-06-01 Bill Haneman <bill.haneman@sun.com>
253 * test/login-helper-server-test.c:
254 (main): Fix C99-ism. Thanks to Jens Granseuer.
256 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
258 * libloginhelper-1.0.pc.in:
259 * idl/Accessibility_LoginHelper.idl:
260 * login-helper/Makefile.am:
261 * login-helper/login-helper.[ch]:
262 * test/login-helper-client-test.c:
263 * test/login-helper-server-test.c: Added files missing from CVS.
264 Files obtained from at-spi-1.5.2 tarball.
266 2004-05-27 Bill Haneman <bill.haneman@sun.com>
268 * configure.in: Create login-helper/Makefile.
269 Incremented micro version.
271 * Makefile.am: Add login-helper subdir and pkgconfig data.
273 * login-helper: New subdir.
275 * libloginhelper-1.0.pc.in: New.
277 * idl/Accessibility_LoginHelper.idl: New file, defines
278 interface whereby authentication clients can identify agents which
279 need access to services during the login process, e.g. screen lock
282 * login-helper/Makefile.am : New.
284 * login-helper/login-helper.[ch] : New, implementation of
285 a LoginHelper base class. Services needing LoginHelper can subclass.
287 * test/Makefile.am : Added test for login-helper, client and
290 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
291 Use proper prefix in #include files.
293 * test/login-helper-client-test.c: New.
295 * test/login-helper-server-test.c: New.
297 2004-05-27 Alexander Shopov <ash@contact.bg>
299 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
301 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
303 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
304 is positive. This should make it easier to detect inapprorpiate unref
307 2004-05-11 James Henstridge <james@daa.com.au>
309 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
310 no-op and deprecated.
312 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
314 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
316 2004-04-28 Bill Haneman <billh@gnome.org>
318 * Makefile.am: Added --enable-gtk-doc to
319 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
321 2004-04-19 Bill Haneman <billh@gnome.org>
323 * configure.in: Revved to 1.5.1.
325 * registryd/deviceeventcontroller.c:
327 (DEControllerPrivateData): Added fields for
328 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
329 (spi_dec_replace_map_keysym): New internal utility for
330 replacing a keysym in the keymap - used to allow
331 synthesis of individual characters which aren't in the
333 (spi_dec_reset_reserved): New; resets the changed keysym value
335 (keycode_for_keysym): We now try to deal with failed
336 XKeysymToKeycode requests by changing a keymap value
337 and returning a reserved keycode. We now take
338 a DEController pointer as first arg.
339 (spi_controller_register_with_devices): Call XkbGetMap with
340 the XkbKeySymsMask. Find the highest keycode in the current
341 keymap which doesn't have any grabs, and mark that one for
342 temporary re-mapping when out-of-range KeySyms are synthesized.
343 (dec_synth_keycode_press): Call XFlush after synthesizing the key
346 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
348 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
350 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
352 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
354 2004-03-24 Bill Haneman <billh@gnome.org>
357 (AccessibleTable_addRowSelection),
358 (AccessibleTable_addColumnSelection),
359 (AccessibleTable_removeRowSelection),
360 (AccessibleTable_removeColumnSelection):
361 Add declarations for spi wrappers which were
362 inadvertantly omitted. Fixes bug #133413.
365 Revved to 1.5.0 (unstable series for GNOME 2.7).
367 2004-03-24 Bill Haneman <billh@gnome.org>
369 * atk-bridge/bridge.c:
370 Bracketed some debug output in
371 conditionals, to avoid printing it in normal use.
374 * libspi/hyperlink.c:
375 Don't cast 'object' to ATK_OBJECT when constructing
376 an AtkAction interface for a hyperlink.
377 See discussion in bug #120659.
379 * test/key-listener-test.c:
380 (report_all_key_event): Send output to stderr,
381 not stdout, for consistency with the rest of the test callbacks.
384 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
385 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
386 Incremented to 1.4.1 (but didn't dist yet - I'm going to
387 try incrementing the revision AFTER doing a dist, at least
390 2004-03-22 Bill Haneman <billh@gnome.org>
392 * configure.in: Revved to 1.4.0, libtool 9.14.9
394 2004-03-17 Laszlo Peter <laca@sun.com>
396 * libspi-1.0-uninstalled.pc.in: add idldir
398 * cspi-1.0-uninstalled.pc.in: add idldir
400 2004-03-16 Gareth Owen <gowen72@yahoo.com>
402 * configure.in: Added "en_GB" to ALL_LINGUAS
404 2004-03-15 Bill Haneman <billh@gnome.org>
406 * configure.in: Revved to 1.3.16,
409 2004-03-15 Laszlo Peter <laca@sun.com>
411 * libspi-1.0-uninstalled.pc.in: new file
413 * cspi-1.0-uninstalled.pc.in: new file
415 * configure.in: add the new pc files to AC_OUTPUT
417 * Makefile.am: add the new pc files to EXTRA_DIST
419 2004-03-12 Bill Haneman <billh@gnome.org>
421 * atk-bridge/bridge.c:
422 (spi_atk_bridge_key_listener):
423 Make sure to return consumed=FALSE if snoop
424 event is not dispatched to listener.
427 2004-03-01 Bill Haneman <billh@gnome.org>
429 * configure.in: Revved to 1.3.15,
432 2004-03-07 Danilo Segan <dsegan@gmx.net>
434 * configure.in: Added "sr@ije" to ALL_LINGUAS.
436 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
438 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
440 2004-03-01 Bill Haneman <billh@gnome.org>
442 * configure.in: Revved to 1.3.14.
445 (SPI_exit): Removed "bye-bye" exit message.
446 Moved "leak" report to happen before the
447 iteration over the leaked refs list.
448 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
450 2004-02-24 Bill Haneman <billh@gnome.org>
452 * configure.in: Revved to 1.3.13.
454 * docs/reference/cspi/Makefile.am:
455 Correct typo that was breaking the docs build.
457 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
459 * autogen.sh: Require version 1.7 of automake.
461 * configure.in: call GTK_DOC_CHECK([1.0])
463 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
465 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
467 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
469 * test/Makefile.am: Remove use of CFLAGS.
471 This fixes bug #132987.
473 2004-02-11 Bill Haneman <billh@gnome.org>
475 * reverted most of Tomasz' patch below, since it was breaking
476 builds (see bug #134058).
478 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
480 * docs/reference/cspi/at-spi-cspi.types: added empty file for
481 correct pass "make dist" (empty .. because seems no sach types in
482 header files with gtk-doc markups).
483 * docs/reference/cspi/Makefile.am, configure.in:
484 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
485 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
486 * Makefile.am: added:
487 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
488 for force correct pass generate documentation on "make distcheck".
489 * libspi/Makefile.am: fixes for automake >= 1.6.
490 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
491 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
494 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
496 * docs/reference/cspi/Makefile.am (install-data-local): Install
497 index.sgml since the doc autobuilder on widget.gnome.org looks for
500 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
502 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
505 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
507 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
509 2004-01-27 Brian Cameron <brian.cameron@sun.com>
511 * test/simple-at.c: Fixed null string problems that cause core
512 dumping problems on Solaris.
514 2004-01-12 Bill Haneman <billh@gnome.org>
516 * configure.in: Incremented version to 1.3.11.
518 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
520 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
521 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
524 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
526 * configure.in: Added "fa" to ALL_LINGUAS.
528 2003-12-20 Arafat Medini <lumina@silverpen.de>
530 * configure.in: Added "ar" to ALL_LINGUAS
532 2003-12-16 Bill Haneman <billh@gnome.org>
534 * registryd/registry-main.c:
536 Set the reg_env DISPLAY variable before registering the
537 activated registry service. Fixes bug #129479.
539 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
541 * configure.in: Added "id" in ALL_LINGUAS
542 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
544 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
546 * registryd/deviceeventcontroller.c (global_filter_fn):
547 When an event is consumed discard any XEvents were added to
548 the queue while dealing with the the event. This can happen if
549 processing of the event takes a long time. Call XUngrabKeyboard
550 if an event was discarded. This fixes bug $124837.
551 Only call wait_for_release_event for a KeyPress.
552 Use local variable display instead of spi_get_display().
553 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
556 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
558 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
559 Allow for mask to contain values other than NumLock mask.
562 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
564 * registryd/devieceventcontroller.c:
565 (wait_for_release_event): Change first parameter from GdkEvent to
567 (global_filter_fn); Correct call to wait_for_release_event.
571 2003-12-08 Bill Haneman <billh@gnome.org>
575 * registryd/ucs2keysym.c: New file.
577 * registryd/deviceeventcontroller.c:
578 (dec_keysym_for_unichar): Remove old partial implementation and
579 replace with call to ucs2keysym(), which is much more complete.
580 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
585 2003-12-05 Bill Haneman <billh@gnome.org>
587 * configure.in: Version 1.3.9.
589 * docs/reference/cspi/tmpl/spi_registry.sgml:
590 Added reference to libspi/keymasks.h to the
591 description of Registry queries: AccessibleKeyMaskType.
594 2003-12-04 Bill Haneman <billh@gnome.org>
598 * idl/Accessibility_Application.idl:
599 (Accessibility::LOCALE_TYPE): New enum, corresponds to
600 setlocale's LC_TYPEs.
601 (Accessibility::Application::getLocale): New method.
602 Allows clients to query the locale, by type, of an app.
605 * cspi/spi_application.c:
606 (AccessibleApplication_getLocale): New method, wraps IDL above.
608 * libspi/application.c:
609 (spi_application_class_init): Init epv entry for getLocale.
610 (impl_accessibility_application_get_locale): Impl for above.
612 * test/test-simple.c:
613 (test_application): Added assertion for getLocale, i.e.
614 that the string from AccessibleApplication_getLocale (app, type)
615 is the same as that from setlocale (type, NULL);
617 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
619 *registryd/deviceeventcontroller.c: Add an idle handler which polls
620 the keyboard on a timeout intil the key state goes from pressed to
621 released. Fixes bug #111429.
623 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
625 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
626 root object so that it is present when a context menu in an
627 out-of-process applet is popped up.
628 (spi_atk_bridge_do_registration): Create acceessible application root
629 object only if it does not exist.
631 This fixes bug #125834.
633 2003-12-01 Bill Haneman <billh@gnome.org>
635 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
638 Added enum for AccessibleStreamableContentSeekType.
639 (AccessibleStreamableContent_freeContentTypeList): New.
641 * cspi/spi_streamablecontent.c:
642 (accessible_bonobo_stream_client_seek): New private method.
643 (AccessibleStreamableContent_seek): Implemented this method,
644 using Bonobo_Stream_seek.
645 (AccessibleStreamableContent_freeContentTypeList): New method
646 for freeing the return value from
647 AccessibleStreamableContent_getContentTypes.
648 (stream_cache_item_free): Replaces stream_release; stop leaks.
649 (stream_release): removed.
650 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
651 free the memory properly.
653 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
657 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
659 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
661 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
663 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
665 2003-12-01 Bill Haneman <billh@gnome.org>
667 Fix for bug/rfe #127463.
669 * idl/Accessibility_Accessible.idl:
670 (getLocalizedRoleName): New.
671 (unimplemented4): Removed (replaced by above).
673 * libspi/accessible.c:
674 (impl_accessibility_accessible_get_local_role_name): New.
675 (spi_accessible_class_init): Add getLocalizedRoleName entry to
679 (Accessible_getLocalizedRoleName): New.
681 * cspi/spi_accessible.c:
682 (Accessible_getLocalizedRoleName): New.
684 2003-12-01 Bill Haneman <billh@gnome.org>
687 * idl/Accessibility_Text.idl:
688 (getDefaultAttributes): New.
689 (unimplemented4): Removed (replaced by above method).
692 (impl_getDefaultAttributes): New method.
693 (spi_text_class_init):
694 initialize the get_default_attributes slot in the epv.
697 (AccessibleText_getDefaultAttributes): New prototype.
700 (AccessibleText_getDefaultAttributes): New method.
702 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
704 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
705 write beyond the end of the table. Fixes bug #120473.
707 2003-09-30 Christian Rose <menthos@menthos.com>
709 * configure.in: Added "eu" to ALL_LINGUAS.
711 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
713 * configure.in: ALL_LINGUAS: Added no.
715 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
717 * configure.in: Added lt to ALL_LINGUAS.
719 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
721 * atk-bridge/bridge.c:
722 (atk_bridge_init): Register event listeners always even for
723 out-of-process applet.
724 (spi_atk_bridge_toplevel_added): Remove call to
725 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
726 (spi_atk_bridge_toplevelk_removed): Remove call to
727 spi_atk_deregister_event_listenersa as the listeners are now always
729 (spi_atk_bridge_register_application): Remove call to
730 spi_atk_register_event_listeners as it is not done in atk_bridge_init
732 This fixes bug #120991.
734 * libspi/table.c (impl_getColumnDescription): Correct typo,
735 pointed out by Bolian.Yin@sun.com.
737 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
739 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
741 2003-09-08 Bill Haneman <billh@gnome.org>
743 * configure.in: Revved to 1.3.7.
745 This is the GNOME 2.4.0 release of at-spi.
747 * docs/reference/cspi/Makefile.am:
748 Removed spurious inclusion of 'index.sgml' in the
749 html directory; this was breaking make distcheck and
750 also some other build environments.
752 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
754 * registryd/registry.[ch}:
755 Add queue_handler_id and focus_object to SpiRegistry data structure.
756 (registry_flush_event_queue): If event being discarded is
757 "state-change:focused" store object as focus_object.
758 (registry_start_queue): Remove queue handler and focus object
760 (registry_discard_event): New function which discards a focus event
761 if we had stored focus object in the registry.
762 (registry_queue_event): Add new check that is_queueing is set as this
763 function is reentrant.
764 (registry_filer_event): Add call to registry_discard_event.
766 This resolves issues raised in bug #108664.
768 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
770 * configure.in: Added "bn" to ALL_LINGUAS.
772 2003-09-04 Bill Haneman <billh@gnome.org>
774 * cspi/spi_event.c: Documentation improvements for
775 (SPI_registerAccessibleKeylistener).
777 * docs/reference/tmpl/spi_registry.sgml:
778 Documentation improvements for SpiAccessibleKeylistenerCB.
780 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
782 * configure.in: Added "ro" to ALL_LINGUAS.
785 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
787 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
788 not decremented to zero. Fixes bug #120725.
790 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
792 * configure.in: Added "ja" to ALL_LINGUAS.
794 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
796 * configure.in: Added "is" to ALL_LINGUAS.
798 2003-08-22 Christian Rose <menthos@menthos.com>
800 * configure.in: Added "nl" to ALL_LINGUAS.
802 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
804 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
805 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
807 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
809 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
810 type for unspecified exception.
811 * cspi_streamablecontect): Add include of string.h for memcpy.
812 (stream_release): Correct call to bonobo_object_release_unref
813 (stream_cache_item_free): Correct call to bonobo_object_release_unref
814 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
815 argument of _cspi_expection_throw.
816 * libspi/hyperlink.c: Add include of libspi/action.h:
817 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
818 * libspi/streamablecontent.c: add include of libspi/component.h.
819 * regisrtyd/deviceeventcontroller.c:
820 (spi_dec_translate_mask): Removed unused variable priv.
821 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
822 * registryd/registry.c:
823 (registry_filter_event): Remove unused variable queue_is-empty.
824 (impl_registry_notify_event): Use correct modifier in fprintf call.
826 This fixes compiler warnings reported in bug #120220.
828 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
830 * registryd/registryd.c: Remove this file.
832 2003-08-17 Sanlig Badral <badral@openmn.org>
834 * configure.in: Added mn to ALL_LINGUAS.
836 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
838 * configure.in: Added et to ALL_LINGUAS.
840 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
842 * test/event-listener-test.c: Change active-descendant to
843 active-descendant-changed.
845 2003-08-10 Sami Pesonen <sampeson@iki.fi>
847 * configure.in: Added "fi" in ALL_LINGUAS.
849 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
851 * configure.in: Added "hi" in ALL_LINGUAS.
853 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
855 * configure.in: Revved to 1.3.6.
859 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
861 * registryd/deviceeventcontroller.c
862 (spi_device_event_controller_object_finalize): Fix typo in previous
865 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
867 * registryd/deviceeventcontroller.c
868 (spi_device_event_controller_object_finalize): Fix build on
869 systems without XEvIE.
871 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
873 * acconfig.h, configure.in, registryd/Makefile.am,
874 registryd/devicecontoller.[ch]: Add XEViE support.
876 2003-08-06 Wang Jian <lark@linux.net.cn>
878 * configure.in: Added "zh_CN" to ALL_LINGUAS.
880 2003-08-06 Metin Amiroff<metin@karegen.com>
882 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
884 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
886 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
887 MODIFIER_ALT in correct place.
889 This fixes part of bug #118114.
891 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
893 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
895 2003-07-28 Changwoo Ryu <cwryu@debian.org>
897 * configure.in: Added "ko" to ALL_LINGUAS.
899 2003-07-28 Ole Laursen <olau@hardworking.dk>
901 * configure.in: Added "da" to the commented out ALL_LINGUAS.
903 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
905 * configure.in: Added "sq" to ALL_LINGUAS.
907 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
909 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
911 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
913 * configure.in: updated ALL_LINGUAS list
915 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
917 * configure.in: Added Belarusian to ALL_LINGUAS.
919 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
921 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
923 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
924 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
926 This fixes bug #116949.
928 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
930 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
931 Correct CSPI to SPI in function documentation.
933 This fixes bug #118054.
935 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
937 * configure.in: Added Russian to ALL_LINGUAS.
939 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
941 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
943 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
945 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
947 2003-07-10 Joel Brich <joel.brich@laposte.net>
949 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
951 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
953 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
955 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
957 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
958 resources allocated for AccessibleEvent. See cspi_event().
960 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
961 static variable streams to NULL.
963 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
964 Update so that AcessibleEvent_ref will work.
966 This fixes bug #116624.
968 2003-07-06 Jordi Mallach <jordi@sindominio.net>
970 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
972 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
974 * configure.in: Added "fr" (French) to ALL_LINGUAS.
976 2003-07-02 Christian Neumair <chris@gnome-de.org>
978 * configure.in: Added "de" (German) to ALL_LINGUAS.
980 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
982 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
984 2003-07-01 Miloslav Trmac <mitr@volny.cz>
986 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
988 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
990 * configure.in: Added "pl" to ALL_LINGUAS.
992 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
994 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
996 2003-06-30 Bill Haneman <bill.haneman@sun.com>
999 (get_action_from_servant):
1000 Removed assertion that action is implemented on an AtkObject.
1002 * libspi/hyperlink.c:
1003 (spi_hyperlink_new):
1004 Aggregate AccessibleAction interface on the hyperlink object if
1005 the object implements AtkAction. (This convention is used in
1008 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1010 * configure.in: Revved to 1.3.5.
1012 * registryd/Accessibility_Registry.server.in.in:
1013 Marked up appropriate strings for translation.
1015 * atk-bridge/bridge.c: Marked a couple of
1016 user-visible warnings for translation. Questionable
1017 whether they are really useful, but possibly so.
1020 2003-06-28 Christian Rose <menthos@menthos.com>
1022 * configure.in: Added "sv" to ALL_LINGUAS.
1024 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1026 * registryd/registry.c:
1027 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1028 (registry_defer_on_event): Defer focus: events, this is an
1029 improvement to the patch for bug #108664.
1031 * TODO: Update with 2.4/"Dev Complete" items.
1033 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1035 * atk-bridge/bridge.c:
1036 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1037 looks up signals once.
1038 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1039 if doing registration.
1040 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1041 when doing registration.
1043 This fixes bug #115014.
1045 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1047 * atk-bridge/bridge.c:
1048 (atk_bridge_init): Add signal handler for children-changed:remove on
1049 root when in a BonoboComponent.
1050 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1051 for first toplevel only other incrememt variable toplevels.
1052 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1053 application and remove listeners.
1054 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1056 (spi_atk_deregister_event_listeners): New function which removes
1058 (reinit_register_vars): New fuction which reinitializes variables.
1060 This fixes bug #111578.
1062 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1064 * configure.in: version 1.3.4.
1066 * cspi/spi_accessible.c:
1067 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1070 2003-06-13 Michael Meeks <michael@ximian.com>
1072 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1074 * cspi/spi_main.c (cspi_peek_ev): impl.
1076 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1078 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1080 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1082 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1083 SPI_ROLE_AUTOCOMPLETE
1085 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1087 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1088 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1090 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1092 * libspi/streamablecontent.h:
1093 * libspi/streamablecontent.c:
1094 New files, provide implementation/wrappers for
1095 Accessibility_StreamableContent.
1097 * cspi/spi_streamablecontent.c:
1098 Connected the C wrappers to the libspi C bindings.
1099 (AccessibleStreamableContent_close): New method.
1102 (AccessibleStreamableContent_close): New method, needed
1103 since we have an "open, [seek], read, close" model in cspi.
1105 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1107 Fix for #108664; Padraig's revision of my original patch.
1109 * registryd/registry.h:
1110 Added event queue list, is_queuing, and exit_notify_timeout
1111 to the registry struct.
1113 * registryd/registry.c:
1114 (registry_init): Initialize new struct from registry.h.
1115 (impl_registry_notify_event):
1116 Filter events before notifying, in case some need to be
1118 (registry_filter_event): New,
1119 we defer certain incoming events (for instance
1120 window:deactivate) because we may wish to hide
1121 or reject them based on pending events. This is
1122 mostly a workaround for bug #108664.
1123 (registry_queue_event, registry_start_queue): New.
1124 (registry_defer_on_event): Test event to see if it
1126 (registry_reset_on_event): Returns TRUE if the
1127 event should cause a queue reset.
1128 (registry_discard_on_event): Returns TRUE if the event
1129 should cause the previous queue contents to be discarded.
1130 (registry_timeout_flush_queue): Flushes the pending event
1131 queue if no reset/discard-triggering events have come in
1132 within the timeout period.
1133 (registry_emit_event): New.
1134 (registry_clone_notify_context): New, used when queueing the
1135 event notify contexts.
1137 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1139 * configure.in: Version revved to 1.3.2, lt 0.9.2
1140 Incremented ATK required version to 1.3.4.
1142 * cspi/spi_registry.c:
1143 (SPI_generateKeyEvent):
1144 We now pass the keystring along if it's non-null.
1146 * registryd/deviceeventcontroller.c:
1147 (keysym_mod_mask): New method, returns modifier mask
1148 required to generate a keysym from a given keycode.
1149 (dec_synth_keysym): New method.
1150 (dec_synth_keystring): New method.
1151 (dec_get_modifier_state): New method.
1152 (dec_lock_modifiers): New
1153 (dec_unlock_modifiers): New.
1154 (dec_keysym_for_unichar): New, rather brute-force
1155 conversion from UCS-4 to X KeySyms. Only works for
1156 Latin at the moment, with partial implementations for
1157 Greek, Hebrew, and (incomplete) Katakana.
1158 (impl_generate_keyboard_event): Now implement
1159 "KEYSTRING" synthesis and implement "KEYSYM"
1161 (keycode_from_keysym): Improved, passes a returned
1162 modmask value now if the corresponding param is non-NULL.
1164 Fixes bugs #92143 and #109776.
1167 * test/keysynth-test.c:
1168 New test program for key synthesis, to confirm fixes for
1172 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1174 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1176 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1177 Add line for RELATION_POPUP_FOR
1179 * docs/reference/cspi/tmpl/spi_relation.sgml:
1180 Add relation SPI_RELATION_POPUP_FOR
1182 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1183 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1185 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1187 * libspi/relation.c (spi_init_relation_type_table):
1188 Add line for RELATION_POPUP_FOR
1190 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1192 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1193 there are still windows which have not been deleted and emit
1194 window:deactivate, if necessary and window:destroy events.
1195 This fixes bug #114370. The change on June 5th was not correct.
1197 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1199 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1202 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1204 New methods for client exception handling and interception.
1205 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1206 (SPI_exceptionHandlerPop): You guessed it...
1207 (SPI_getSourceType): Return the type of object which offended.
1208 (SPI_getExceptionCode): Return an enum code telling, possibly,
1209 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1210 (SPIAccessibleException_getSource): get the source object for
1211 exceptions that come from Accessibles, if SPIExceptionSourceType is
1212 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1213 (SPIException_getDescription): New, returns a string description of
1214 the problem. [Not yet a stable ABI, strings are not frozen]
1216 * cspi/spi-private.h:
1217 Added implementation details of opaque SPIException
1221 Implementations of above. Also
1222 (_cspi_exception_throw): new private method that
1223 dispatches exceptions to handlers, called from cspi-bonobo.c
1225 * cspi/bonobo/cspi-bonobo.c:
1226 (cspi_check_ev): call _cspi_exception_throw.
1227 Don't print a warning message if the exception has been
1228 handled by _cspi_exception_throw.
1230 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1232 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1233 there are still windows which have not been deleted and emit
1234 window:deactivate, if necessary and window:destroy events.
1235 This fixes bug #114370.
1237 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1240 (cspi_accessible_is_a): Make non-fatal
1241 if the object reference is dead.
1243 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1245 * cspi/spi_main.c: #include <stdio.h>
1246 * test/simple-at.c: ditto
1247 * test/event-listener-test.c: ditto
1248 * test/screen-review-test.c: ditto
1250 2003-05-30 Michael Meeks <michael@ximian.com>
1252 * test/test-simple.c (main): use CORBA_ORB_perform_work
1253 instead of an unnecessary linc_ call.
1255 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1257 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1258 Add SPI_STATE_INDETERMINATE.
1260 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1263 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1265 * libspi/stateset.c (init_state_type_tables): Add support for
1268 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1270 * configure: Update versions of atk and gail required.
1271 This fixes bug #113268.
1273 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1275 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1277 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1279 * libspi/Makefile.am:
1280 Ensure headers are generated before being used by c sources.
1282 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1285 Simplified lt versioning rules.
1286 Incremented version to 1.3.0, to indicate that we're on the
1287 unstable branch now.
1289 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1291 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1292 Add MKDB_OPTIONS=--outtput-format=xml
1294 * docs/reference/cspi/at-spi-cspi-docs.sgml
1295 docs/reference/idl/at-spi-idl-docs.sgml:
1296 Convert to Docbook XML.
1298 This fixes bug #111793.
1300 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1302 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1303 AcccessibleKeyEventType, AccessibleKeyMaskType.
1305 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1307 * cspi/state-types.h: Add documentation for AccessibleState.
1309 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1310 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1311 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1312 AccessibleComponentLayer.
1314 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1317 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1319 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1320 Accessible. Add description of AccessibleEvent,
1321 AccessibleEventListenerCB.
1323 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1326 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1327 documentation. Add description of AccessibleKeystrokeListenerCB,
1328 AccessibleKeyEventMask, AccessibleModifierMaskType,
1329 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1330 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1332 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1335 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1338 This fixes bug #104730.
1340 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1342 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1343 Set is_text field of Accessibility_DeviceEvent data structure.
1345 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1346 is-text field of AccessibleDeviceEvent data structure.
1348 This addresses part of bug #108666.
1350 * registryd/devcieeventcontroller.c: Unset debug option.
1352 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1354 * cspi/accessible.c:
1355 (cpi_initial_relation_type_table): New function which initializes
1356 mapping between Accessibility_RelationType and AccessibleRelationType.
1357 (cspi_relation_type_from_spi_relation_type): New function which
1358 translates an Accessibility_RelationType into an AccessibleRelationType.
1359 (AccessibleRelation_getRelationType): Use
1360 cpi_relation_type_get_spi_relation_type to return correct value.
1361 (spi_state_to_corba): Return correct type for default case.
1363 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1364 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1366 * cspi/cspi-bonobo-listener.c:
1367 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1370 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1371 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1372 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1373 libspi/image.c, libspi/listener.c, libspi/selection.c,
1374 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1375 registryd/desktop.c, registryd/registry.c:
1376 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1378 * libspi/eventlistener.c
1379 Remove semicolon after BONOBO_TYPE_FUNC.
1381 * libspi/relation.c:
1382 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1383 (spi_init_relation_type_table): Initialize using correct type.
1385 * registryd/desktop.c:
1386 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1387 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1388 of Accessibility_KeyEventType.
1390 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1393 * tests/simple-at.c, tests/screen-review-test.c:
1394 Add include for <strings.h>.
1396 * tests.stress-test.c:
1397 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1399 These changes fix compiler warnings when using FORTE compiler on
1400 Solaris; fixes bug #107479.
1403 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1406 * configure.in: revved to 1.1.10
1408 * libspi/keymasks.h:
1409 (SPI_KEYMASK_NUMLOCK): Added.
1411 * registryd/deviceeventcontroller.c:
1412 (spi_key_event_matches_listener): AND with a smaller
1413 bitmask (as we should).
1414 (spi_dec_translate_mask):
1415 New method, sets the virtual NumLock modifier bit
1416 if numlock is on. Eventually it can handle other virtual
1417 modifier bits if needed, or other marshalling from
1418 at-spi modifier masks to platform (X) masks.
1419 (spi_dec_key_listener_new):
1420 Call spi_dec_translate_mask to set up virtual mod bits
1421 in the 'mask' field when creating a new listener struct.
1422 (spi_dec_emit_modifier_event):
1423 Set the virtual (i.e. NumLock) bits before emitting event.
1424 (spi_controller_register_with_devices):
1425 Query for the NumLock modifier 'physical' bit if Xkb is
1426 present, for use in above methods.
1430 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1432 * registryd/deviceeventcontroller.c:
1433 (spi_keystroke_from_x_key_event):
1434 Instead of checking to see if the keysym is
1435 printable, check the string from XLookupString
1436 if available, get the first unicode character from it,
1437 and call g_unichar_isprint to determine whether the
1438 is_text flag should be TRUE or FALSE.
1442 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1444 * atk-bridge/bridge.c: Add support for extended events
1445 * cspi/spi_event.c: Add documentation and implementation for
1447 * tests/event-listener-test.c: Add tests for extended events.
1449 This fixes bugs #100424 and #100426.
1451 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1453 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1454 of LT_CURRENT. This fixes bug #89350.
1456 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1458 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1459 number of signal parameter values before accessing them. This fixes
1462 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1464 * configure.in: Fixed duplicate inclusion of -lspi.
1465 * branched for gnome-2-2/HEAD.
1466 [created tag "gnome-2-2"]
1468 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1470 * configure.in: 1.1.9 release.
1473 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1475 [needed by GOK, to fix bugs 107985 and 107988]
1476 * registryd/deviceeventcontroller.c:
1477 (spi_dec_clear_unlatch_pending):
1478 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1479 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1480 (spi_dec_init_mouse_listener):Emit warning if mouse button
1482 (spi_device_event_controller_forward_mouse_event):
1483 Removed unnecessary parens from a conditional.
1484 (global_filter_fn):Added TODO comment.
1485 (impl_generate_keyboard_event):
1486 Cancel a pending relatch if a 'delatching' key was
1489 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1491 * atk-bridge/bridge.c:
1492 Change atk_signal_child_changed to atk_signal_children_changed.
1493 Reorganize code in spi_atk_bridge_signal_listener().
1495 * test/event-listener-test.c:
1496 Add children_changed_listener and report_children_changed_event()
1497 to test AccessibleChildEvent_getChildAccessible.
1499 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1501 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1502 g_strdup to CORBA_String_dup (bug #105291)
1504 * test/event-listener-test.c (report_text_event): Add call to
1507 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1509 * registryd/deviceeventcontroller.c:
1510 (spi_keystroke_from_x_key_event):
1511 Fix string and keysym return codes to match modifier state.
1514 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1516 * registryd/deviceeventcontroller.c:
1517 (spi_keystroke_from_x_key_event):
1518 Fix segv due to improper use of isprint(c). [bug #107254]
1520 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1523 (get_accessible_text_boundary_type):
1524 Move default return value to (new) default case in switch.
1525 (get_accessible_text_clip_type):
1526 Move default return value to (new) default case in switch.
1528 * libspi/application.c:
1529 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1530 Remove unused methods.
1531 (impl_accessibility_application_register_object_event_listener):
1532 Remove unused methods.
1535 Added #include of <math.h>.
1537 * registryd/deviceeventcontroller.c:
1538 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1539 we don't currently use this method.
1540 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1542 (impl_generate_key_event):
1543 Remove unused variables.
1544 (impl_generate_mouse_event):
1545 Initialize button to zero, just in case we get an invalid
1546 input. Added support for mouse buttons 4 and 5.
1547 (spi_device_event_controller_new):
1548 Removed unused variable declaration for 'private'.
1550 Added #include of <gdk/gdk.h>
1552 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1554 * configure.in: Update to work when X is not installed in expected
1555 location. Fixes bug #105836.
1557 * atk-bridge/bridge.c
1558 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1560 (spi_atk_register_event_listener): Add signal listener for
1562 (spi_atk_bridge_signal_listener): Event event when link-selected
1563 signal is emitted. (bug #104622)
1565 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1566 on returned string. (bug #105291)
1568 * test/event-listener-test.c: Add test for link-selected.
1570 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1572 * atk-bridge/Makefile.am: Correct typo in previous commit.
1574 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1576 * atk-bridge/Makefile.am: Allow for build directory to be different
1577 from source directory
1579 * registryd/Makefile.am: Allow for build directory to be different
1580 from source directory
1584 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1587 Fixed dependencies for libcspi so that libspi gets pulled in
1588 properly. Fixes 104741.
1592 Clean up inline docs a little.
1594 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1596 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1597 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1598 the AtkObject within an SpiDesktop.
1599 This addresses bug #101524.
1601 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1602 Remove call to gdk_init().
1604 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1605 so that Display is set when SpiDesktop is created.
1607 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1609 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1610 This fixes bug #102830.
1612 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1614 * test/test-simple.c: Update to take account of fact that GailButton
1615 now implements AtkText.
1616 (create_text_window): Set name on AtkObject for GtkEntry.
1617 (validate_accessible): Check accessible name before calling test_text().
1619 * libspi/Makefile.am: Fix problem with building outside of source
1620 directory. Bug #98120.
1622 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1623 typo in documentation comments. Bug #94275.
1625 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1627 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1629 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1632 Add includes to avoid compiler warnings on Solaris.
1633 (impl_getRangeExtents): Bug fix.
1635 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1637 Fix for 100944, [API addition approved by Gman and murrayc].
1644 * idl/Accessibility_Text.idl:
1645 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1646 (Text::getRangeExtents): New method for efficient
1647 bounds query of a text range.
1648 (Text::getBoundedRanges): New method for efficient
1649 clipping of text to bounding boxes.
1650 (unImplemented7, unImplemented8):
1651 Removed these padding methods to preserve bincompat.
1654 (impl_getRangeExtents): implementation of new IDL.
1655 (impl_getBoundedRanges): implementation of new IDL.
1656 (SpiTextRect): Internal use struct.
1657 (_spi_text_rect_union): internal method, calculates union of two
1658 SpiTextRect bounding rects.
1659 (_spi_text_range_seq_from_gslist): internal method, allows us
1660 to build our sequence efficiently as a gslist then convert it
1662 (_spi_bounds_contain): internal method, determines whether
1663 a text character is "in" or "out" of a clip rect according to
1664 values of TEXT_CLIP_TYPE.
1665 (spi_text_class_init): Initialize the new methods in the epv.
1668 (AccessibleTextClipType): New enum used by screen review api.
1669 (AccessibleTextRange): New struct used by screen review api.
1670 (AccessibleText_getRangeExtents):
1671 cspi binding for Accessibility_Text_getRangeExtents.
1672 (AccessibleText_getBoundedRanges):
1673 cspi binding for Accessibility_Text_getBoundedRanges.
1674 (AccessibleTextRange_freeRanges): convenience method.
1677 (AccessibleText_getRangeExtents):
1678 cspi binding for Accessibility_Text_getRangeExtents.
1679 (AccessibleText_getBoundedRanges):
1680 cspi binding for Accessibility_Text_getBoundedRanges.
1681 (AccessibleTextRange_freeRanges): convenience method.
1682 (get_accessible_text_clip_type): internal conversion method.
1683 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1685 * registryd/deviceeventcontroller.c:
1686 (spi_dec_mouse_check):
1687 Improved behavior for mouse:abs events
1688 [same granularity as mouse:rel events, and no
1689 events when mouse is idle].
1691 2002-12-16 Michael Meeks <michael@ximian.com>
1693 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1695 * libspi/stateset.c (state_spi_to_atk): split out
1696 ( fix several remote array bounds nasties )
1697 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1698 (impl_remove): make safe from array bounds issues.
1699 (spi_atk_state_from_spi_state): impl.
1701 * libspi/stateset.h (spi_state_set_cache_is_empty):
1702 add a set of wrapper defines to get layering right.
1704 * cspi/spi_accessible.c: update state set stuff to
1707 2002-12-14 Michael Meeks <michael@ximian.com>
1709 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1710 to avoid 2 roundtrips to the registry per key event
1711 (spi_atk_bridge_key_listener): upd.
1712 (deregister_application): release the dec.
1714 * registryd/registry.c (notify_listeners_cb):
1715 bin lots of re-enterant complexity - we no longer
1716 do a round-trip bonobo ref here, ensure that a single
1717 listener's exception failure won't poison all other
1719 (impl_registry_notify_event): bin obvious memory leak.
1721 2002-12-13 Michael Meeks <michael@ximian.com>
1723 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1724 init the ev so the error is meaningful.
1725 (spi_atk_bridge_key_listener): ditto.
1727 * cspi/spi_main.c (cspi_ev): init the ev so we start
1728 with a clean slate, otherwise the first exception
1729 kills us completely.
1731 * cspi/spi_text.c (get_accessible_text_boundary_type):
1732 add a fallthrough for no warnings.
1734 * cspi/spi_registry.c: prune unused warnings.
1736 * cspi/spi_main.c (cspi_object_take): fix
1737 mind-blowing brokenness ( by watching the compile
1740 * cspi/spi_accessible.c (Accessible_getStateSet):
1741 re-impl. to use an AtkStateSet.
1742 (spi_state_type_from_accessible_state),
1743 (init_state_table): bin these.
1745 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1747 (atk_state_set_from_accessibility_state_set): here.
1749 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1750 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1751 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1752 (AccessibleStateSet_add, AccessibleStateSet_remove),
1753 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1754 (AccessibleStateSet_isEmpty): re-write to use a local
1757 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1759 * configure.in: Revved to 1.1.7 (new keymask vals).
1761 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1763 * libspi/keymasks.h:
1764 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1766 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1769 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1770 to compare two CORBA_TypeCodes.
1771 (cspi_internal_event_add): Silence warning from FORTE compiler.
1773 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1774 avoid implicit declaration of functions.
1776 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c:
1779 (spi_atk_bridge_init_event_type_consts): Store signal id for
1780 active-descendant-changed signal.
1781 (spi_atk_register_event_listeners): Add signal listener for
1782 active-descendant-changed signal,
1783 (spi_atk_bridge_signal_listener): Move code in function
1784 spi_atk-signal_emit_event() into this function.
1785 Add support for active-descendant-changed
1786 Update support for child-changed signal.
1787 (spi_bridge_window_event_listener): Silence warning.
1789 * libspi/spi_private.[ch]:
1790 (spi_init_any_object): Change second parameter from CORBA_Object to
1792 Omit call to CORBA_Object_duplicate().
1793 Set CORBA_any's _value to CORBA_Object*.
1795 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1801 (AccessibleEvent_ref, AccessibleEvent_unref):
1802 New methods, for persisting an event outside the emission context.
1803 Must be used if the new accessor methods are to be called
1804 outside of the event listener's callback.
1806 * cspi/bonobo/cspi-bonobo.c:
1807 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1808 as second parameter instead of NULL, so we can call
1809 cspi_check_ev afterwards.
1812 (cspi_object_take): New internal method,
1813 converts a CORBA_Object reference to a hard ref on
1814 an Accessible if possible, returning NULL if the object
1815 reference is invalid or an Accessible * otherwise.
1818 (AccessibleEvent_ref):
1819 Increment the event's internal private refcount, and
1820 add the event's internal struct to an internal cache
1821 if it's not already there.
1822 (AccessibleEvent_unref):
1823 Decrement the event's refcount and remove it from
1824 the cspi event cache if refcount==0.
1825 (cspi_event_compare): New private method.
1826 Compares two event structs via their ids. Used
1828 (cspi_internal_event_lookup): New private method.
1829 (cspi_internal_event_check): New private method,
1830 a 0-order sanity check for events to make sure their
1831 private data is intact.
1832 (cspi_internal_event_add, cspi_internal_event_remove):
1833 New private methods for managiing the event cache.
1835 * cspi/bonobo/cspi-bonobo-listener.c:
1837 Initialize the new private data elements (id, magic, ref_count).
1839 * atk-bridge/bridge.c:
1840 (spi_atk_bridge_signal_listener):
1841 Fixed bug #100530, passing wrong params to emission func.
1843 * registryd/deviceeventcontroller.c:
1844 (spi_dec_button_update_and_emit):
1845 Fixed type in mask bit operations; fix for #99799.
1847 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1849 Removed some of the more dangerous workarounds from
1850 previous commit; they are only needed by GOK, which
1851 in reality should be using another method to accomplish
1852 the goals. So on reconsideration some of the workarounds
1853 need to be reverted:
1855 * registryd/deviceeventcontroller.c:
1856 (spi_keycodes_contain, spi_dec_init_keycode_list):
1857 Removed these methods, used only by a nasty hack to try
1858 and detect whether a key synthesis should be allowed
1859 to reset the XKB latch state or not. This code was only
1860 required to work around an interaction between GOK,
1861 button events, and XKB.
1862 (impl_generate_key_event):
1863 Removed hack at end of key generation that tried to
1864 "do the right thing" if XKB latch keys were generated
1865 in the midst of button press/release pairs.
1868 Added a check for HAVE_XINPUT. Not normally used yet.
1870 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1872 Workarounds and fixes for mouse event/XKB interaction.
1874 * registryd/deviceeventcontroller.c:
1875 (spi_keycodes_contain, spi_dec_init_keycode_list):
1876 New internal methods.
1877 (spi_dec_set_unlatch_pending):
1878 Split the method that tells XKB to expect an
1879 unlatch (and revert it) out of the rest of the
1880 event handling code. This method is called by the
1881 two mouse event handlers (the poll and the filter).
1882 (spi_dec_update_and_emit, spi_dec_mouse_check):
1883 New methods split from spi_dec_poll_mouse_moved.
1884 The second one is now called from inside the filterFn
1885 when an XKB delatch event is received, to determine
1886 whether to revert the delatch or not.
1887 (spi_poll_mouse_moved): Refactor; also we can now
1888 properly handle the case where multiple button states
1889 have changed between polling cycles and we didn't get
1890 notified due to another client's grab.
1892 Synchronize the server while handling an XKB notification.
1893 Ugly, but apparently necessary to avoid nasty races.
1894 Check the mouse state on receipt of an XKB latch change,
1895 to decide whether to revert the latch or not. (Latches are
1896 reverted if there is an immediately preceding mouse button
1897 event that a client has consumed, in which case we don't want
1898 the user to see the side-effect of the event).
1899 (spi_device_event_controller_forward_mouse_event):
1900 Check for modifier events and fire before resetting mouse_mask_state,
1901 prevents losing modifier events.
1903 (impl_generate_keyboard_event):
1904 If we've just generated a keyboard event for a non-shift key,
1905 we don't want to revert the pending XKB latch.
1906 Otherwise, check the modifier state (via a call to
1907 spi_dev_mouse_check) and set the relatch mask to
1908 that state before returning.
1910 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1913 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1916 * atk-bridge/bridge.c:
1917 (spi_atk_register_event_listeners):
1918 Don't re-register for ATK events if the registry has died
1919 and the app needs to re-register; the ATK listeners are in
1920 process and doing so will cause duplicate emission.
1922 * registryd/deviceeventcontroller.c:
1923 (spi_poll_mouse_moved):
1924 Reformat the source, detect and emit multiple button-change
1925 events (i.e. if multiple buttons have changed between poll
1927 Add code to detect mouse-down events even when the pointer
1928 is grabbed; workaround for GOK bug 98420.
1929 (spi_controller_register_with_devices):
1930 Call XTestGrabControl with 'impervious' flag set to True,
1931 allows us to synthesize events and query the pointer even during
1932 an active grab by another client.
1933 (spi_device_event_controller_forward_mouse_event):
1934 Set the mouse_mask_state to the mouse_button_state from
1935 the intercepted event, to synchronize the grab listener with
1938 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1940 * cspi/spi_accessible.c:
1941 (AccessibleRole_getName):
1942 Added necessary strings for making this (deprecated)
1943 method work with the new role types.
1944 (init_role_table, role_table):
1945 Added definition of SPI_ROLE_APPLICATION.
1947 * libspi/spi-roletypes.h:
1948 Added SPI_ROLE_APPLICATION.
1950 * idl/Accessibility_Role.idl:
1951 Added ROLE_APPLICATION.
1953 * docs/reference/cspi/at-spi-cspi-decl.txt:
1954 Added SPI_ROLE_APPLICATION to docs.
1956 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1958 * cspi/spi_accessible.c
1959 (cspi_init_role_table): Do not write beyond end of role_table.
1960 (Accessible_getRole): Use correct type for value returned by
1961 Accessibility_Accessible_getRole().
1963 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1964 beyond end of role_table. (This fixes bug #98269)
1966 * libspi/application.c: Add include file spi-private.h for
1967 definition of spi_init_any_nil.
1969 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1973 * libspi/spi-private.h:
1974 Added DGB() macro, and extern int _dbg declaration.
1976 * registryd/registry.c:
1977 (definitions) storage for _dbg.
1978 (spi_registry_init):
1979 Get environment variable "AT_SPI_DEBUG".
1980 (spi_registry_set_debug):
1981 New method, to initialize _dbg value.
1982 (spi_listener_struct_new, spi_registry_object_finalize):
1983 (notify_listeners_cb):
1984 Changed fprintfs to use DBG and g_warning().
1986 * registryd/deviceeventcontroller.c:
1987 (_deregister_keygrab, spi_controller_register_device_listener):
1988 Changed debug/warning messages to use DBG macro.
1990 * libspi/listener.c:
1991 (impl_notify_event):
1992 Changed warning messages to use DBG macro and g_warning().
1994 * atk-bridge/bridge.c:
1995 (atk_bridge_init, spi_atk_bridge_get_registry):
1996 (spi_atk_bridge_exit_func):
1997 (spi_atk_bridge_property_event_listener):
1998 Changed status, warning, and error messages to use
1999 g_warning, g_message, and DBG macros.
2002 Read the state of the AT_SPI_DEBUG environment variable
2003 and set a local '_dbg' accordingly.
2005 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2007 FIXES for 98836, 98842, other bugs.
2010 Revved to 1.1.4, interface-age=4, binary-age=4.
2012 * registryd/deviceeventcontroller.c:
2014 Fixed crasher bug in last_mouse_pos initialization.
2016 * registryd/registry.c:
2017 (desktop_add_application, desktop_remove_application):
2018 Added (and then commented out) some support for
2019 object context marshalling. [TODO]
2021 * atk-bridge/bridge.c:
2022 (spi_atk_bridge_event_context_create):
2023 Commented out object context creation until it can
2024 be properly tested and debugged.
2026 * registryd/registry.c:
2027 (impl_registry_notify_event):
2028 Fixed crasher bug, we were calling
2029 spi_re_entrant_list_foreach () with an empty list.
2031 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2033 * idl/Accessibility_Action.idl:
2034 * idl/Accessibility_Component.idl:
2035 * idl/Accessibility_Desktop.idl:
2036 * idl/Accessibility_Event.idl:
2037 * idl/Accessibility_Hyperlink.idl:
2038 * idl/Accessibility_Image.idl:
2039 * idl/Accessibility_Relation.idl:
2040 * idl/Accessibility_Selection.idl:
2041 * idl/Accessibility_State.idl:
2042 * idl/Accessibility_Value.idl:
2043 Updated unimplemented slot count to minimum of
2044 four for all interfaces, for ABI freeze.
2046 * idl/Accessibility_EditableText.idl:
2047 * idl/Accessibility_Text.idl:
2048 Updated unimplemented slot count to six
2051 * idl/Accessibility_Registry.idl:
2052 Updated unimplemented slot count to six
2053 (also for DeviceEventController),
2056 * idl/Accessibility_Table.idl:
2057 Updated unimplemented slot count to eight,
2060 * idl/Accessibility_Event.idl:
2061 Added CORBA_any "any_data" member to Event struct.
2063 * idl/Accessibility_Event.idl:
2064 Added CORBA_any "any_data" member to Event struct.
2066 * atk-bridge/bridge.c:
2068 atk_signal_text_changed, atk_signal_child_changed,
2069 signal ids queried from gtype system.
2070 (AtkBridgeEventContextType): New enum.
2071 (AtkBridgeEventContextData): New struct.
2072 (AtkBridgeEventContext): New struct.
2073 (atk_bridge_init_event_type_consts):
2074 New method, initializes type contants for comparison
2075 prior to emit_eventv.
2076 (atk_bridge_event_context_init): New method,
2077 initializes a CORBA_any from an AtkBridgeEventContext.
2078 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2079 initialize the event.any_data struct.
2080 (spi_atk_bridge_event_context_create): New method,
2081 creates an AtkBridgeEventContext from signal/event info.
2082 (spi_atk_bridge_event_context_free): New method.
2083 (spi_atk_emit_eventv): Changed to take an
2084 AtkBridgeEventContext parameter. We now initialize
2085 the event.any_data member prior to notifying the
2086 Registry, via the AtkBridgeEventContext.
2087 (spi_atk_bridge_property_event_listener):
2088 (spi_atk_bridge_state_event_listener):
2089 Match emit_eventv signature.
2090 (spi_atk_bridge_object_event_listener):
2091 Match emit_eventv signature, and create an
2092 event context from the event details.
2093 Free the event context afterwards.
2094 (spi_atk_bridge_window_event_listener):
2095 Create an event context, pass it to the
2099 (AccessibleEvent_getContextString):
2100 (AccessibleEvent_getContextObject):
2101 New methods, allow query of AccessibleEvent objects
2102 for more context details (via the "any_data" member
2103 of the Event struct, above).
2106 Definitions for AccessibleEvent_getContextString
2107 and AccessibleEvent_getContextObject.
2109 * cspi/spi_listener.h:
2110 (InternalEvent): New struct.
2113 (AccessibleEvent_getContextString):
2114 (AccessibleEvent_getContextObject):
2115 Implementations of new methods, for obtaining
2116 additional context information from some event types.
2118 * cspi/spi_registry.c:
2119 (SPI_registerGlobalEventListener):
2120 Added mention of active-descendant-changed event in docs.
2122 * cspi/cspi-bonobo-listener.c:
2124 Marshal the any into the AccessibleEvent via
2127 * libspi/spi-private.h:
2128 #include <orbit/orbit.h>
2130 (spi_init_any_string):
2131 (spi_init_any_object):
2132 New convenience function declarations.
2136 (spi_init_any_string):
2137 (spi_init_any_object):
2138 New convenience function implementations.
2140 * registryd/deviceeventcontroller.c:
2141 (spi_poll_dec_mouse_moved):
2142 (spi_device_event_controller_forward_mous_event):
2143 Initialize any_data member of event.
2144 (spi_deregister_controller_device_listener):
2145 Fix incorrect param pass which was preventing deregistration.
2147 * registryd/registry.c:
2148 (desktop_add_application):
2149 (desktop_remove_application):
2150 Add object data to event's any_data before dispatch.
2152 Fix for error messages from GAIL.
2154 * test/event-listener-test.c:
2155 Test new ContextString and "any_data" API:
2156 (report_text_event): New method query and output context string.
2157 (main): register a new text listener with report_text_event
2160 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2162 Fixes for bugs 98127 and 97914.
2163 * cspi/spi-roletypes.h:
2164 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2166 * cspi/spi-statetypes.h:
2167 Added SPI_STATE_MANAGES_DESCENDANTS
2169 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2170 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2171 * cspi/spi_accessible.c:
2172 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2173 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2174 Accessibility_STATE_MANAGES_DESCENDANTS
2175 * libspi/accessible.c:
2176 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2177 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2178 As requested by Bill, I also cleaned up the alignment.
2179 * libspi/relation.c:
2180 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2181 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2182 * libspi/stateset.c:
2183 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2184 Accessibility_STATE_MANAGES_DESCENDANTS
2185 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2186 Document changes reflecting modifications to roles.
2187 * docs/reference/cspi/tmpl/spi_relation.sgml:
2188 Document changes reflecting modifications to relations.
2189 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2190 Document changes reflecting modifications to states.
2192 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2195 Revved to 1.1.3, interface-age=3, binary-age=3.
2196 Added REBUILD macro.
2199 Removed accessx-gui from the tests, since we have a nice
2200 keyboard accessibility capplet now :-)
2202 * test/keysynth-demo.c:
2203 (increment_scan): removed do-nothing default: case,
2206 * test/visual-bell.c:
2207 (main) : removed do-nothing default: case,
2210 * cspi/spi_action.c:
2211 (AccessibleAction_getKeyBinding_):
2212 Documented keybinding string format.
2216 (AccessibleText_getAttributes):
2217 Documented the text attribute string format.
2218 It's changed to use semicolon delimiters also,
2219 to prevent clashes with CSS attributes, but the old
2220 trick of looking for ", " strings will still work
2221 (as unreliably as ever). Fix for bug related to 97916.
2224 Include <cspi/bonobo/cspi-bonobo-listener.h>
2225 Fixes build warning.
2226 (SPI_freeAccessibleKeySet):
2227 (AccessibleKeystrokeListener_addCallback):
2228 (AccessibleKeystrokeListener_removeCallback):
2229 Modify to use AccessibleDeviceListener API internally,
2230 instead of AccessibleKeystrokeListener.
2232 * idl/Accessibility_Event.idl:
2233 Added two more empty slots to EventListener (for a total of four).
2235 * idl/Accessibility_Accessible.idl:
2236 Added four empty slots to Accessible interface.
2238 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2240 * idl/Accessibility_Registry.idl:
2241 (KeyEventType, EventType):
2242 Marked KeyEventType as deprecated; it duplicates
2243 functionality of EventType, which has been extended to
2244 include Mouse-button events.
2245 (KeyEventTypeSeq): defined in terms of EventType.
2246 (registerDeviceEventListener, deregisterDeviceEventListener):
2247 New methods, for managing listeners to device events,
2248 which potentially may consume them.
2251 Added definition for AccessibleDeviceListener.
2253 * cspi/spi-listener.h:
2254 (enum AccessibleDeviceEventType):
2255 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2256 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2257 for backwards compat.
2258 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2259 and typedef'd AccessibleKeystroke to it for back-compat.
2260 (AccessibleDeviceListenerCB):
2261 New function prototype typedef.
2264 (AccessibleDeviceEventMask): New typedef.
2265 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2266 (AccessibleKeyMaskType):
2267 Set equivalent to AccessibleModifierMaskType for back-compat.
2268 (SPI_createAccessibleKeystrokeListener):
2269 (AccessibleKeystrokeListener_unref):
2270 Deprecated in favor of equivalent (better-named) new API below..
2271 keystroke listeners are like all device listeners.
2272 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2273 New API names for old features :-).
2274 (AccessibleDeviceListener_addCallback):
2275 (AccessibleDeviceListener_removeCallback):
2276 (SPI_registerDeviceEventListener):
2277 (SPI_deregisterDeviceEventListener):
2281 (SPI_createAccessibleKeystrokeListener):
2282 Use new preferred API, cspi_device_listener_new() and
2283 cspi_device_listener_add_cb().
2284 (AccessibleKeystrokeListener_removeCallback):
2285 Use new preferred API, cspi_device_listener_remove_cb().
2286 (AccessibleKeystrokeListener_unref):
2287 Use new preferred API, cspi_device_listener_unref().
2288 (SPI_createAccessibleDeviceListener):
2289 (AccessibleDeviceListener_addCallback):
2290 (AccessibleDeviceListener_removeCallback):
2291 Implementation of new API.
2293 * cspi/spi_registry.c:
2294 (SPI_registerDeviceEventListener):
2295 (SPI_deregisterDeviceEventListener):
2296 Implementation of new API. Fixed memory leak and removed need to
2297 allocate EventTypeSeq (thanks Michael for catching this).
2298 Squashed a wayward CORBA_exception_free that shouldn't get called.
2300 * cspi/bonobo/cspi-bonobo-listener.c:
2302 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2303 (cspi_key_event): renamed to cspi_device_event().
2304 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2305 Extended to handle mouse button events as well as key events.
2306 (CSpiKeystrokeListener):
2307 Class superceded by CSpiDeviceListener.
2308 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2309 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2311 * cspi/bonobo/cspi-bonobo-listener.h:
2312 (CSpiKeystrokeListener):
2313 Class superceded by CSpiDeviceListener.
2314 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2315 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2317 * libspi/Makefile.am:
2318 Replaced keystrokelistener.h and keystrokelistener.c
2319 with devicelistener.h and devicelistener.c; keystrokelisener.h
2320 stub retained for back-compat.
2322 * libspi/keystrokelistener.c:
2326 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2328 * registryd/deviceeventcontroller.c:
2329 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2330 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2331 (DEControllerPrivateData): Added xkb settings data.
2332 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2333 button release events (which can't be captured via XGrabButton).
2334 Don't dispatch via the 'normal' event mechanism if the device event was
2336 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2337 Handle the typeseq data in its new location (see above).
2338 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2339 New methods, for "generic" device listeners.
2340 (spi_controller_register_device_listener):
2341 Now handle mouse event listeners as well as key listeners.
2342 (spi_controller_notify_mouselisteners):
2343 New internal method.
2344 (spi_device_event_controller_forward_mouse_event):
2345 Now we notify mouse device listeners as well as generating the
2346 non-consumable "mouse:" events.
2348 We must check and restore the XKB
2349 modifier map if we consume the event, since the act of triggering
2350 a mouse event will normally reset the XKB latch. This is required for
2352 (spi_controller_register_with_devices):
2353 Load the XKB settings when registering, and register for XKB
2354 state notify events.
2355 (spi_key_eventtype_seq_contains_event):
2356 Renamed spi_eventtype_seq_contains_event, since it's used
2357 internally for all device event types now.
2358 (spi_key_event_matches_listener):
2359 Uses spi_eventtype_seq_contains_event now.
2360 (spi_device_event_controller_object_finalize):
2361 Free the private data and the XkbKeyboard struct.
2362 (impl_register_device_listener, impl_deregister_device_listener):
2363 Implementation of new IDL.
2364 (spi_deregister_controller_device_listener):
2365 New internal method.
2366 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2367 More efficient implementation, we don't have to create a new
2368 XkbControls structure every time we query.
2369 (spi_device_event_controller_class_init):
2370 Initialize the epv entries for the new IDL. Assign the
2371 "spi-dec-private" quark.
2372 (spi_device_event_controller_init):
2373 Initialize the private data.
2374 (spi_device_event_controller_forward_key_event):
2375 Removed a bogus CORBA_exception_free() call.
2377 * registryd/deviceeventcontroller.h:
2378 Replaced inclusion of keystrokelistener.h with
2381 * test/event-listener-test.c:
2382 (report_mouse_event):
2385 Added mouse-event device listener.
2387 * test/test-simple.c:
2388 (create_test_window):
2389 Fixed regression (we were instantiating a GtkRange,
2390 which is now an abstract class). Also fixed to match
2391 existing AtkRole names, this seems to have changed in ATK
2392 awhile ago; too late now I think, and the new
2393 mechanism is at least elegant and consistent with the
2394 glib enum "nick" APIs.
2396 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2398 * idl/Accessibility_Relation.idl:
2399 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2400 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2401 * idl/Accessibility_Role.idl:
2402 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2403 * idl/Accessibility_State.idl:
2404 add STATE_MANAGES_DESCENDANTS
2405 * test/event-listener-test.c:
2406 Added a listener for active-descendant events.
2408 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2410 * atk-bridge/bridge.c
2411 (atk_bridge_init): If application is Bonobo component wait until top
2412 level is added before registering
2413 (spi_atk_bridge_do_registration): New function which contains code,
2414 formerly in atk_bridge_init, to do application registration.
2415 (spi_atk_bridge_toplevel_added): Signal called when top level
2416 added to Bonobo component
2418 This fixes bug #83134.
2420 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2422 * registryd/deviceeventcontroller.c
2423 Fixed compilation error caused by calling gettimeofday()
2426 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2431 Added template for HAVE_XKB.
2434 Changes to check for XKB, and to set the HAVE_XKB #define if it
2437 * libspi/listener.c:
2438 ()impl_notify_event): Make failure to get event source name
2441 * registryd/deviceeventcontroller.c:
2442 (#include): include X11/XKBlib.h.
2443 (DEControllerPrivateData) : New struct.
2444 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2446 (dec_synth_keycode_press) (dec_synth_keycode_release):
2447 New methods; split the key synthesis code into these methods.
2448 They check XKB settings before determining the "time" values to
2449 pass to Xtest; this fixes bug #95828.
2450 (impl_generate_keyboard_event): Changed to use methods above,
2451 instead of callng Xtest directly.
2452 (spi_device_event_controller_init): Initialize new privae struct s
2454 (spi_device_event_controllr_object_finalize):
2455 Free the (new) private data.
2457 * registryd/deviceeventcontroller.h:
2458 Add new gpointer to end of struct data.
2460 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2463 Incremented revision to 1.1.2, SONAME is still '.so', library
2464 extensions are ".so.0.0.2".
2466 * registryd/deviceeventcontroller.c:
2467 FIXES FOR #93592 and #95940.
2468 (statics): renamed mouse_button_state to mouse_mask_state,
2469 added key_modifier_mask.
2470 (spi_dec_poll_mouse_moved):
2471 Added key modifier checks, and emit "keyboard:modifiers"
2472 events when the key modifiers currently in use change.
2473 Also generate "mouse:abs" events periodically, even if the mouse
2474 is stationary (should we?).
2475 Alternatively we could generate "mouse:abs" events for either all
2476 mouse movements, or every 'nth' mouse movement, or at the
2477 beginning and end of every "active" mouse period.
2479 * test/event-listener-test.c:
2480 (main): Added listener for "keyboard:modifiers" events.
2482 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2484 * libspi/keymasks.h:
2485 Added key mask #defines for mouse buttons; e.g.
2486 SPI_KEYMASK_BUTTON1, etc.
2489 Incremented dependency on ATK to version 1.1.0. (This dependency
2490 is probably premature but will soon be real enough).
2492 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2494 * libspi/hyperlink.[ch]
2495 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2496 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2499 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2504 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2506 * registryd/deviceeventcontroller.c
2507 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2508 events to be ignored.
2509 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2510 keyboard_mode so that XAllowEvents() can be called.
2514 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2516 * cspi/spi-accessible.c: Correct names of roles returned by
2517 AccessibleRole_getName(). Fixes bug #95055.
2519 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2521 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2524 * registryd/registry.c
2525 (desktop_remove_application: Write diagnostic message to stderr for
2528 (impl_accessibility_registry_deregister_global_event_listener):
2529 Correct size of lists array. This addresses bug #94555).
2531 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2533 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2536 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2538 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2541 * registryd/registry.c (impl_registry_notify_event): Remove
2542 unnecessary call to parser_event_type().
2544 * docs/reference/cspi/tmpl/spi_component.sgml:
2545 Add reference to SPI_LAYER_WINDOW.
2547 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2549 * registryd/registry.c
2550 (desktop_add_application): Remove leak.
2551 (desktop_remove_application): Remove leak.
2552 (parser_event_type): Remove leak.
2554 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2556 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2557 bogus call to CORBA_string_dup(). Also removed unnecessary
2558 g_string_dup/g_free calls.
2560 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2562 * registryd/deviceeventcontroller.c:
2563 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2565 * test/event-listener-test.c:
2566 main: commented out three redundant listeners, to reduce output
2567 noise. (They still are potentially useful for testing).
2570 2002-09-13 Michael Meeks <michael@ximian.com>
2572 * Update all the copyrights to include Ximian.
2574 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2576 * cspi/spi.h: add SPI_LAYER_WINDOW.
2578 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2579 add Accessibility_LAYER_WINDOW case.
2581 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2583 * libspi/component.c: (impl_accessibility_component_get_layer):
2584 add ATK_LAYER_WINDOW case.
2586 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2588 * configure.in: incremented micro version.
2590 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2592 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2595 Clarified and reworded our commit policy.
2598 Started an API "todo" addition list for 2.2.
2601 (impl_getSelection):
2602 Free char pointer from atk_text_get_selection, which was being leaked.
2604 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2607 Small revision to author acknowledgement.
2609 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2611 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2612 If signal has detail add it to the type of the event.
2615 2002-08-12 Michael Meeks <michael@ximian.com>
2617 * test/test-simple.c (global_listener_cb): bin bogosity.
2618 (test_keylisteners): disable, still doesn't work reliably,
2619 certainly not on my system anyway.
2621 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2622 don't leak a reference on the DEC. This round-trip
2623 fetching of the DEC per keystroke sucks, it should be
2626 * cspi/spi-private.h,
2627 * cspi/cspi-lowlevel.h,
2628 * cspi/bonobo/cspi-bonobo-listener.[ch],
2629 * cspi/bonobo/cspi-bonobo.c: get the copyright
2630 notices better - there is still a large amount of
2631 work in at-spi falsely attributed solely to Sun.
2633 * cspi/spi_main.c (cspi_object_ref): kill bogus
2634 hash lookup, just increment the ref.
2635 (SPI_freeString): make explicit the fact that we
2636 handle NULL strings just fine.
2637 (report_leaked_ref): obey coding standards.
2638 (cspi_object_hash, cspi_object_equal): kill retval.
2639 (cspi_object_release): only release if not on loan.
2640 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2641 (cspi_object_borrow, cspi_object_return): impl.
2643 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2644 use cspi_object_borrow / return.
2646 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2648 * cspi/bonobo/cspi-bonobo-listener.c:
2650 Don't call cspi_oject_new() because this is creating a new Accessible
2651 every single time that an event is fired. This causes ATs like at-poke
2652 to nolonger recognise the source of the event and thus ignore it.
2653 Re-use the object from the cache, ref it and then unref it after the
2654 listeners have been called.
2656 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2658 * test/event-listener-test.c:
2659 Added command-line options to disable mouse events (m) and
2662 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2664 * configure.in: Update required versions of ATK, GTK+ and GAIL
2666 * cspi-1.0.pc.in: Add dependency for X include files
2669 * cspi/bonobo/Makefile.am:
2670 Add $(X_CFLAGS) so that X include files
2671 are picked up even if not in standard place (bug #71686)
2673 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2675 * registryd/deviceeventcontroller.c: fix for 84261
2676 (spi_dec_mouse_moved):
2677 Added test of mouse button mask, so that we can detect mouse
2678 button release. Unfortunately we can't otherwise detect mouse
2679 button release events without consuming the mouse press event,
2680 because of the way XGrabButton works. This means that our mouse
2681 release events have a latency dependent on the polling period
2682 while the mouse button is down. At least in this case we only
2683 have to poll while the button is down, and not at other times.
2684 If the button masks don't match with what the last press event
2685 reported, we report the appropriate button release event.
2686 (spi_dec_ungrab_mouse):
2687 New method (not yet called).
2688 (spi_device_event_controller_forward_mouse_event):
2689 New method, sends mouse press event from GdkFilter.
2690 (spi_dec_init_mouse_listener):
2691 Added code to call XGrabButton, redirecting mouse button events to
2692 the root window and our Gdk event loop.
2694 Added code to filter mouse button events, and reordered.
2696 * test/event-listener-test.c:
2698 Added registration for mouse events of type "mouse:button".
2700 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2702 * registryd/deviceeventcontroller.c: partial fix for 84261
2703 (spi_dec_poll_mouse_idle):
2704 New method, a timeout which checks to see if the mouse
2706 (spi_dec_poll_mouse_moving):
2707 A timeout to be called when mouse motion is underway.
2708 (spi_dec_poll_mouse_moved):
2709 A method which fires an event if the mouse has moved, and reports
2710 whether or not it did so.
2711 (spi_dec_init_mouse_listener):
2712 A method which sets up the timeouts above.
2713 (spi_device_event_controller_new):
2714 Now calls spi_dec_init_mouse_listener.
2716 * registryd/registry.c:
2717 (spi_registry_init):
2718 Now we initialize the device event controller when the registry is
2719 initialized, instead of waiting until a client has requested a key
2720 event notification; this is because we need the event controller
2721 for mouse events, but the mouse event registration API is a
2722 "registry" call and doesn't explicitly call the
2723 deviceeventcontroller.
2724 We now report mouse motion events with a 100 ms idle latency and
2725 a 20 ms granularity when motion is in progress.
2727 * test/event-listener-test.c:
2729 We now register the "detail listener" for events of type
2730 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2731 delivered only for the first mouse event received, and thereafter
2732 "mouse:abs" events are delivered.)
2734 * cspi/spi_registry.c:
2735 DOCS: Documented the above mouse event typestrings.
2737 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2739 Happy Summer Solstice...
2741 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2742 (spi_controller_notify_keylisteners):
2743 Changes to remove a listener from the listener list, freeing its
2744 open keygrabs, if a notification to that listener fails. This
2745 means that although a dead listener can continue to hold a passive
2746 keygrab, a maximum of one dispatch to such a listener can fail
2747 before the listener is removed from the list, thus the keygrab
2748 will be released on the next occurrence.
2749 As part of this fix:
2750 (spi_notify_keylisteners):
2751 Renamed to spi_controller_notify_keylisteners, as the controller
2752 instance must now be passed as an argument.
2753 The copied 'notify' GList is now a list of DEControllerKeyListener
2754 objects, since we need more than just the CORBA reference if a
2755 notify fails and we need to deregister the listener.
2756 (impl_notify_listeners_sync):
2757 (impl_notify_listeners_async):
2758 (spi_device_event_controller_forward_key_event):
2759 Modify use of notify_keylisteners in accordance with above
2761 (spi_deregister_controller_key_listener):
2762 New method introduced by refactoring, from
2763 impl_deregister_keystroke_listener.
2764 (impl_deregister_keystroke_listener):
2765 Call spi_deregister_controller_key_listener.
2766 (spi_key_listener_clone):
2767 New method to copy a key listner without doing a 'ref' on the
2768 remote object instance; used to create a notifier list.
2769 (spi_key_listener_data_free):
2770 New method, frees data without unreffing the source.
2772 (spi_key_listener_clone_free): new method.
2773 (spi_key_listener_free):
2774 refactored to call spi_key_listener_data_free.
2776 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2778 * registryd/registry.c: [fix for bug 86048]
2779 (notify_listeners_cb):
2780 Clear CORBA system exceptions which occur when notifying
2781 listeners, before returning to the source of the original event,
2782 since the event source doesn't care if the relayed notify failed.
2783 In other words, don't complain to the atk-bridge if the registry
2784 could not notify all its listeners, that's no fault of the
2785 application and thus should not appear to be an error from the
2786 application's perspective.
2788 * cspi/spi_main.c: [fix for bug 85980]
2790 Replaced use of bonobo_object_dup_ref with call to the wrapper
2791 method, csou_dup_ref (); this silences a compiler warning and
2792 provided more portability.
2794 Ping the registry before return, and restart if necessary.
2796 * cspi/bonobo/cspi-bonobo.c:
2798 New internal method.
2800 Fixed this method to return an object reference, as it should have
2803 * cspi/cspi-lowlevel.h:
2804 Added internal definition for cspi_ping() and fixed
2805 return type of cspi_dup_ref().
2808 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2810 * atk-bridge/bridge.c: [fix for bug 85305]
2811 (spi_atk_bridge_register_application):
2812 New method where the initial application registry calls have been
2813 moved; it allows an application to re-register in response to
2814 certain error conditions (such as a registry restart, see below).
2816 Moved some initialization code to the method
2817 spi_atk_bridge_get_registry, below.
2818 (spi_atk_bridge_get_registry):
2819 New, private accessor function for the Accessibility_Registry
2820 instance. If the registry has not been started before, or has
2821 died (as detected by failure of a CORBA exception), it is
2822 restarted before return, and spi_atk_bridge_register_application
2823 is called again to register with the new bridge instance.
2824 (spi_atk_emit_eventv):
2825 Set registry_died on error; use spi_atk_bridge_get_registry () to
2826 access the registry.
2828 * registryd/registry.c:
2829 (impl_accessibility_registry_register_global_event_listener):
2830 Set listener's event_type_quark to etype.minor instead of
2831 etype.major (fix for bug 84856).
2833 * test/event-listener-test.c:
2834 (report_detail_event):
2835 Change the output string so that user/tester can tell that the
2836 'detail listener' was called instead of the 'generic listener'.
2838 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2840 Fixes for bugs 84900, 84908, 84897, 84898.
2845 Revved version to 1.1.0
2846 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2847 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2849 * idl/Accessibility_Registry.idl:
2850 (EventListener::notifyEvent):
2851 Removed 'oneway' directive after extensive consulation with
2852 ORBit2 team and others. This means also that unref() of the event
2853 source can and should be done synchronously after emission, rather
2854 than remotely in the client, after servicing the notify call on
2857 NOTE: This change speeds up listener performance considerably, but
2858 introduces new latency on the application side. We may want to
2859 add an event queue to the atk-bridge.
2861 * atk-bridge/bridge.c:
2862 (spi_atk_bridge_focus_tracker):
2863 Do a local unref() on the event source after emission.
2865 * registryd/registry.c:
2866 (desktop_remove_application):
2867 Do an unref() on the event source after emission.
2868 (desktop_add_application):
2869 Do an unref() on the event source after emission.
2870 (notify_listeners_cb):
2871 When relaying an event, don't automatically add the event source
2872 to the local object cache, just CORBA_dup it instead. Likewise,
2873 if this method reenters, release the ref rather than calling
2875 (impl_registry_notify_event):
2876 No longer call remote unref() on the event source after dispatch.
2878 * libspi/eventlistener.c:
2879 (impl_accessible_event_notify_event):
2880 Removed remote unref ()
2882 * cspi/bonobo/cspi-bonobo-listener.c:
2884 We now call cspi_object_new() instead of cspi_object_add() on
2885 receipt of an event; thus we only have an implicit object ref
2886 while the cspi_event method is being executed. If we need to keep
2887 a reference to the object, the listener must call ref() on the
2888 object. Thus also we don't need to call cspi_object_unref() after
2889 invoking the listener callbacks in this method.
2893 New internal API for creating a new cspi object, without adding it
2894 to the object cache.
2896 Now uses cspi_object_new() to create the cspi object instance.
2898 Now checks to see if the object is in the internal object cache,
2899 and adds it if necessary before incrementing its refcount (note
2900 that new objects are added with a refcount of 1).
2901 (report_leaked_ref):
2902 New method which gives some information on leaked object instances
2903 if leak detection is turned on.
2905 * test/event-listener-test.c:
2906 (timing_test_event):
2907 New method, used for testing event delivery timing for special
2908 events of type "object:test". It reports elapsed time and
2909 events/sec every 500 events.
2911 Added a new listener, 'test listener', to check timing of event
2912 receipt as noted above.
2914 Added some timing output here also, reports elapsed time every 100
2917 * test/stress-test.c:
2918 Emit events of type "object:test", for use with "event-listener-test".
2920 * test/test-simple.c:
2921 (global_listener_cb):
2922 Call Accessible_ref() on the event source before calling
2923 validate_accessible, since the validation process does pointer
2924 comparisons on the event source, meaning that the event source
2925 needs to be added to the local object cache first. Any use of
2926 such pointer comparisons between Accessible objects requires that
2927 the caller hold an explicit reference to those objects.
2928 We also must therefore call Accessible_unref() when leaving this method.
2930 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2932 * registryd/deviceeventcontroller.c:
2933 (spi_controller_update_key_grabs):
2934 Fix for #84735, subsequent keygrab listeners not informed of
2935 registration failure.
2938 (spi_base_construct):
2939 Add an assertion on construct, to make sure the GObject passed in
2940 is really a GObject.
2942 Explicitly initialize object->gobj pointer to NULL;
2944 * cspi/bonobo/cspi-bonobo-listener.c:
2945 (cspi_object_add_ref):
2946 New method, can specify whether to dup-ref a bonobo object passed
2947 in if it's newly added to the object cache.
2949 Now calls cspi_object_add_ref with second param of "FALSE". This
2950 prevents us from doing a pointless dup-ref followed by
2951 release-unref for all those cases where the object is already in
2952 our object cache (fix for #85205).
2954 * atk-bridge/bridge.c:
2955 (spi_atk_bridge_idle_init):
2956 Removed this method, we don't need to initialize in an idle
2959 Changed to call spi_atk_register_event_listeners directly, not via an
2960 idle handler. (fix for #81139)
2961 (gnome_accessibility_module_shutdown):
2962 Removed conditional around deregistration of listeners, since we
2963 don't use the idle handler and thus have always registered when
2965 (spi_init_keystroke_from_atk_key_event):
2966 Changed references to Accessibility_KEY_PRESSED to
2967 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2969 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2971 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2976 * test/stress-test.c:
2979 (may have been an incomplete commit yesterday?)
2981 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2984 Added target for new stress-test.
2986 * test/stress-test.c:
2987 New test, sends 1000 focus notifies in quick succession.
2989 * test/key-listener-test.c:
2990 Now we report whether a keylistener registration
2991 request succeeded or failed.
2993 * test/event-listener-test.c:
2994 Uncommented some listeners which are now implemented.
2997 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2999 * registryd/deviceeventcontroller.c:
3000 (spi_controller_update_key_grabs):
3001 Fix for #82509, lack of failure notification when
3002 ALL_WINDOWS keygrabs fail due to XGrabKey
3003 failure: we synchronize the server when
3004 registering a passive grab, to make sure we get the
3005 error message before the call returns.
3007 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3009 * test/test-simple.c:
3011 Removed #ifdef KEY_IMPL_WORKS guards.
3012 (test_keylisteners):
3013 Removed #ifdef KEY_IMPL_WORKS guards.
3014 Fixed bug which was causing a hang waiting for a
3015 "press" event (which was already overwritten by a "release"
3016 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3018 Added code to set globals 'key_press_received' and
3019 'key_release_received'.
3022 Added section "1.1 API Proposed Additions" which
3023 lists API additions desired for at-spi-1.1 (only one so far).
3024 Updated TODO list a little.
3026 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3028 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3031 * configure.in: Revved to 1.0.0.
3033 * idl/Accessibility_Registry.idl:
3034 (registerKeystrokeListener):
3035 Added boolean return value.
3037 * registryd/registry.c:
3038 (notify_listeners_cb): Minor fix to debug output.
3040 * registryd/Accessibility_Registry.server.in.in:
3041 Revved version number in OAFIID to 1.0.
3043 * registryd/registryd.c:
3045 Use new OAFIID version.
3047 * cspi/bonobo/cspi-bonobo.c:
3049 Use new OAFIID version.
3055 * atk-bridge/bridge.c:
3057 Use new OAFIID version.
3059 * registryd/deviceeventcontroller.c:
3060 (impl_register_keystroke_listener):
3061 Added CORBA_boolean return value.
3062 (spi_controller_register_device_listener):
3063 Added gboolean return value.
3064 (spi_controller_register_global_keygrabs):
3065 Added gboolean return value.
3066 (spi_key_set_contains_key):
3067 Added implementation for many more control keys,
3068 for instance F1-F12, arrow keys, End, Home, Page_Up,
3070 [TODO: some still not implemented].
3072 * text/screen-review-test.c:
3073 (text_chunk_pad_string):
3074 New function: it provides mapping between coordinate
3075 positions of text chunks and character positions in the
3076 screen-review-line output string.
3077 (text_chunk_to_string):
3078 New function, calls text_chunk_pad_string with various
3079 pad/delimiter characters. Pushbuttons are delimited with
3080 square brackets, Frames with vertical 'pipe' lines, and
3081 other text with double quotes.
3082 (text_chunk_list_to_string):
3083 Calls new function text_chunk_to_string.
3084 (toplevel_composite):
3085 New function to composite layers CANVAS through
3086 POPUP in each toplevel (other layers are composited
3087 across toplevels, i.e. BACKGROUND and OVERLAY).
3088 (review_buffer_composite):
3089 Revise to use new methods.
3095 2002-05-31 Laszlo Peter <laca@sun.com>
3097 * configure.in: add the Xtst libdir to the runpath on Solaris,
3098 since it's not in the default library search path.
3100 2002-05-29 jacob berkman <jacob@ximian.com>
3102 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3104 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3106 * test/screen-review-test.c:
3107 (text_chunk_pad_string):
3108 Added method, which pads the string according to the
3109 text bounds of the chunk. It also takes a 3-character
3110 string as a param which indicates the characters to be
3111 used for start, padding, and end delimitation of the chunk.
3112 (text_chunk_to_string):
3113 Changed to use text_chunk_pad_string.
3115 * configure.in: Fixed bug in AC_OUTPUT that was
3116 causing path substitution in Accessibility_Registry.server
3119 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3121 * text/screen-review-test.c:
3122 (guess_string_clip):
3123 New method which attempts a best-guess at clipping
3124 text from components (like Java labels) which don't
3125 actually implement AccessibleText. This inaccurate
3126 clip is based on the assumption that the label is
3127 justified left-and-right, and monospaced.
3128 (text_chunk_get_clipped_string):
3129 We now call guess_string_clip() for text-containing
3130 components that don't implement AccessibleText.
3132 * test/screen-review-test.c:
3133 (review_buffer_get_text_chunk):
3134 We now pull "name" from labels if they do not implement
3135 AccessibleText (i.e. for Java labels).
3136 (get_screen_review_line_at):
3137 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3140 Replaceded AC_OUTPUT target
3141 registryd/Accessibility_Registry.server with
3142 registryd/Accessibility_Registry.server.in.
3144 * registryd/Accessibility_Registry.server.in:
3145 Removed (this is now a Makefile target).
3147 * registryd/Accessibility_Registry.server.in.in:
3148 Added (source for target above). We now use $(libexecdir) as
3149 prefix for the executable at-spi-registryd.
3151 * registry/Makefile.am:
3152 Now install at-spi-registryd into $(libexecdir), and build .server
3153 file with path (see above).
3155 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3157 * test/screen-review-test.c:
3158 (text_chunk_get_clipped_string):
3159 We now check to see if words fall within clip bounds
3160 before resorting to character-by-character clip bounds testing.
3162 * TODO: Added a section for "2.2 Proposed API Additions".
3164 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3166 * test/screen-review-test.c:
3168 Added a screen review benchmarking and test program to test
3171 * cspi/spi_accessible.c:
3173 Made some of the debug strings passed to cspi_check_ev a
3174 little more specific.
3176 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3178 * test/screen-review-test.c: Fix crashes in debug statements
3180 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3182 * test/screen-review-test.c: Added this file.
3184 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3186 * atk-bridge/bridge.c: changed "object:state-change" to
3187 "object:state-changed" to match docs.
3189 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3191 * atk-bridge/bridge.c: Hooked up state-change event details.
3193 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3195 * registryd/registry.c:
3196 Fixed quarking bug in event string parsing; now events with
3197 detail parameters get matched correctly to listeners.
3200 * util/idl/Magnifier.idl: remove.
3202 * util/*.[ch]: Remove.
3203 Magnification utilities and IDL are now in module gnome-mag.
3205 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3207 * registryd/deviceeventcontroller.c:
3208 Fixed bug in grab key conversion which was causing keycode grabs
3209 to be converted to AnyKey grabs.
3212 updated NEWS file to reflect recent spin-off of gnome-mag.
3214 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3216 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3217 busted AccessibleStateSet_compare. Removed redundant casts.
3219 * cspi/spi-action.c: Removed redundant casts.
3221 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3223 * cspi/spi_component.c: Fixed typos and casting error.
3225 * cspi/spi_editabletext.c: Removed redundant casts.
3227 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3229 * cspi/spi_hypertext.c: Eliminated redundant casts.
3231 * cspi/spi_image.c: Eliminated redundant casts.
3233 * cspi/spi_registry.c: Eliminated redundant casts.
3234 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3235 * cspi/spi_selection.c: Removed redundant casts.
3236 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3237 handling. Screen geometry and text offsets were being returned as 0
3238 on error which is technically valid-- changed these to return -1.
3239 Added marshaller for text boundary types to fix bug with boundary
3240 types being passed incorrectly to atk.
3242 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3245 * cspi/spi_registry.c:
3246 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3247 which was uncovered by the recent key changes.
3249 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3251 * test/event-listener-test.c:
3253 Added new test, "event-listener-test";
3254 this code does two things; it benchmarks traversal time
3255 for the accessible hierarchy for the first running accessible
3256 app, and it connects listeners for all supported event types.
3257 It is thus useful as an example event listener and for
3258 diagnostics/debugging of event generation.
3260 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3263 Removed unnecessary dependency on libutil.
3266 Revved micro version: 0.13.1
3268 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3271 Removed util/Makefile from targets.
3274 Removed util subdir from SUBDIRS (temporarily,
3275 pending removal of magnifier-only code
3279 #ifdef-ed out magnifier dependencies, since
3280 magnifier IDL, headers, and binary now live in
3281 module gnome-mag and we don't want at-spi to depend
3282 on gnome-mag. A magnifier demo which can run alongside
3283 simple-at is forthcoming in the gnome-mag module.
3285 NOTE: Split magnifier binary, IDL, and magnification
3286 activation code from at-spi into module gnome-mag.
3288 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3290 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3291 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3293 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3296 Revved to version 0.13.0
3298 * idl/Accessibility_Registry.idl:
3299 Changed definition of KeySet from sequence of longs to sequence of
3300 KeyDefinitions, and added KeyDefinition struct.
3301 Required for fix to bug 80616.
3303 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3304 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3305 to use new definition (see above).
3307 * registryd/deviceeventcontroller.c: handle_keygrab(),
3308 spi_keyset_contains_key():
3309 Changed to make use of new struct; this allows matching based on
3310 string key-name, for instance "Tab". This also allows matching of
3311 composed characters, non-alphanumeric characters in a way that
3312 doesn't involve dependencies on X keysym codes directly, etc.
3314 * test/key-listener-test.c:
3315 Added test for Alt-Tab key using "string" specification of keyset,
3316 and modified one of the tests to use a keycode-based keyset.
3317 Thus this test both tests and demonstrates the creation and use of
3318 keysets of three forms: specified via keycode array,
3319 keysym array, and string array. (The string case only contains a
3320 single string, i.e. a string array of length 1).
3323 Turned on PRINT_TREE option by default. Also fixed a
3324 string-freeing bug in the PRINT_TREE code.
3325 Added a listener to window:minimize events.
3327 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3329 * atk-bridge/bridge.c:
3330 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3331 for window:activate and window:deactiveate
3332 (atk_bridge_property_event_listener atk_bridge_signal_listener
3333 atk_bridge_window_event_listener) Tidy debug code
3335 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3337 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3338 Fixed handling for NULL return value from ATK.
3340 * libspi/action.c libspi/component.c libspi/editabletext.
3341 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3342 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3343 Removed redundant casts.
3345 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3346 Fixed off by one bug.
3348 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3349 function not present in idl)
3351 2002-05-02 jacob berkman <jacob@ximian.com>
3353 * atk-bridge/Makefile.am: make atk-bridge a real module
3355 2002-04-26 Radek Doulik <rodo@ximian.com>
3357 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3358 atk_state_types table
3360 2002-04-22 jacob berkman <jacob@ximian.com>
3363 * libspi/Makefile.am: add deps on the built files to help
3364 automake, and don't version the ORBit typelib
3366 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3368 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3369 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3370 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3371 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3372 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3373 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3374 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3375 libspi/accessible.h libspi/accessible.h libspi/base.h
3376 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3377 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3378 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3379 libspi/spi-private.h libspi/statetset.h libspi/table.h
3380 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3381 util/mag_client.h util/mag_control.c util/mag_image.c
3382 util/mag_image.h util/magnifier.c util/magnifier.h:
3383 Add missing file headers; standardize existing ones
3385 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3387 * atk-bridge/bridge.c: Added window event support.
3389 2002-04-18 Michael Meeks <michael@ximian.com>
3391 * libspi/relation.c (impl_getNTargets): impl.
3392 (impl_getTarget): impl.
3394 * libspi/Makefile.am: fix stateset install.
3396 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3399 Started putting useful info in this file.
3401 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3403 * atk-bridge/bridge.c:
3404 Propagate state-changed notifications to ATs
3406 * cspi/spi_registry.c: update docs to reflect actual behavior of
3407 state-change events.
3409 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3412 Incremented version to 0.12.1
3414 * util/mag_client.h:
3415 Add missing declaration for magnifier_exit,
3416 used by mag_control.c - Forte compiler didn't like
3417 the implicit redeclaration of the function :-(
3420 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3423 Revved version to 0.12 due to API change (see below).
3425 * cspi/spi-roletypes.h:
3426 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3427 definition from the inline docs, and added docs
3428 for SPI_ROLE_LAST_DEFINED.
3431 * cspi/spi_streamablecontent.c:
3432 Added missing seek_type parameter to
3433 (so far unused) method,
3434 AccessibleStreamableContent_seek().
3435 [ RT approval JodyG. ]
3438 Fixed docs for SPI_createAccessibleKeystrokeListener.
3440 * cspi/spi_registry.c:
3441 Fixed docs for SPI_KEYSET_ALL_KEYS.
3443 * docs/reference/cspi/at-spi-cspi-sections.txt:
3444 Added a number of missing APIs to SECTIONS.
3446 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3448 * registryd/Makefile.am:
3450 * cspi/bonobo/Makefile.am:
3451 Add $(X_LIBS) to makefiles.
3453 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3456 Revved version to 0.11.
3458 * libspi/component.c:
3459 Added implementation for grabFocus.
3461 * idl/Accessibility_Component.idl
3462 (Accessibility_Component_grabFocus):
3463 Made this method return boolean to indicate success or failure, to
3464 be consistent with cspi and the corresponding ATK method.
3466 * idl/Accessibility_Selection.idl
3467 (Accessibility_Selection_selectAll) :
3468 Made these methods return boolean to indicate success or
3469 failure, to be consistent with cspi and the corresponding ATK methods.
3471 * idl/Accessibility_EditableText.idl
3472 (Accessibility_EditableText_setTextContents,
3473 Accessibility_EditableText_insertText,
3474 Accessibility_EditableText_cutText,
3475 Accessibility_EditableText_deleteText,
3476 Accessibility_EditableText_pasteText):
3477 Made these methods return boolean to indicate
3480 * cspi/spi_editabletext.c:
3481 Made these methods return booleans.
3483 * libspi/selection.c:
3484 * libspi/component.c:
3485 * libspi/editabletext.c:
3486 Connected the boolean returns from ATK
3487 to the server-side code referenced above.
3489 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3491 * idl/Accessibility_Table.idl: Added missing methods,
3492 Accessibility_Table_addRowSelection,
3493 Accessibility_Table_addColumnSelection,
3494 Accessibility_Table_removeRowSelection,
3495 Accessibility_Table_removeColumnSelection.
3498 Added C wrappers for above IDL:
3499 AccessibleTable_addRowSelection,
3500 AccessibleTable_addColumnSelection,
3501 AccessibleTable_removeRowSelection,
3502 AccessibleTable_removeColumnSelection.
3505 Added server-side implementation code for IDL above, connecting
3506 to pre-existing ATK api.
3508 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3510 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3512 * libspi/accessible.c: Added implementation fo
3513 Accessibility_Accessible_get_state.
3515 * libspi/libspi.h: Added stateset.h to the list of includes.
3517 * libspi/stateset.c: Fixed broken implementation.
3519 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3522 Added implementation code for Accessibility_Magnifier_exit ().
3524 * util/mag_control.c:
3525 Added test code for above method; you can
3526 now kill an existing magnifier via
3527 ./mag_control q, from the util directory.
3529 * test/key-listener-test.c:
3531 Added a new test, for our key listener API.
3533 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3535 * test/app.c, test/keysynth-demo.c:
3537 Replace use of snprintf with g_snprintf.
3538 (fix for bugzilla 78249)
3540 2002-03-27 Michael Meeks <michael@ximian.com>
3544 * util/Makefile.am (INCLUDES): fix.
3545 (DONT_DIST_SOURCE): don't distribute the
3548 * libspi/Makefile.am (dist-hook): ditto.
3550 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3552 * libspi/hypertext.c:
3553 Fix warnings when yelp is used with atk-bridge
3555 2002-03-21 Michael Meeks <michael@ximian.com>
3557 * libspi/application.c (spi_application_new):
3558 use spi_accessible_construct so we use the AtkObject
3561 2002-03-19 Michael Meeks <michael@ximian.com>
3563 * registryd/registry.c (desktop_remove_application),
3564 (desktop_add_application): clean coding style.
3566 * registryd/desktop.c (spi_desktop_remove_application),
3567 (spi_desktop_add_application): kill re-enterency hazards.
3568 (spi_desktop_dispose): remove bogus redundant cast
3569 obscuring bug; fix bug too.
3570 (spi_desktop_init): make the desktop object immortal.
3572 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3575 Added a #define-guarded tree-traversal step
3576 when enumerating the apps (diagnostic tool).
3578 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3580 * idl/Accessibility_Role.idl:
3581 Added ROLE_DRAWING_AREA which seemed to be missing from the
3584 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3586 * cspi/spi-roletypes.h cspi/spi_accessible.c
3587 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3590 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3591 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3592 AT when applications are added and removed from the desktop. This
3593 reverts the previous broken implementation using the backing
3594 AtkObject for the SpiDesktop.
3596 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3598 * registryd/desktop.c: emit the "children-changed::add" and
3599 "children-changed::remove" signals on the backing ATK object for
3600 the desktop so AT can tell when applications are started and shut
3603 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3605 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3607 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3609 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3611 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3613 * cspi/state-types.h: synched with IDL and ATK
3615 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3617 * libspi/accessible.c
3618 (impl_accessibility_accessible_get_child_at_index):
3619 Change return value for g_return_if_fail ()
3620 to CORBA_OBJECT_NIL instead of "0" (!)
3622 * registryd/Makefile.am:
3623 * registryd/Accessibility_Register.server.in:
3624 Changed name of executable, "registryd",
3625 to something more informative:
3628 2002-03-13 Michael Meeks <michael@ximian.com>
3630 * atk-bridge/bridge.c (atk_bridge_init): don't register
3631 if we're in a bonobo-component, rather than a bonobo app.
3633 2002-03-13 Michael Meeks <michael@ximian.com>
3635 * atk-bridge/bridge.c (gtk_module_init): split
3636 out body to (atk_bridge_init): here, since otherwise
3637 we get symbol conflicts and oddness when invoked
3638 from (gnome_accessibility_module_init): here (upd.)
3640 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3643 New file. Explicitly allow "build sheriff" putbacks provided
3644 they are tested on Solaris.
3646 * docs/reference/cspi/Makefile.am:
3647 Added '-' to the "cp" command for index.sgml.
3648 ("patch by thomasvs, soon coming to a GUADEC near you")
3651 Incremented version number (0.9.0) for new release.
3652 Changed macro that checks for popt, to better detect
3653 obsolete versions of popt.
3656 Added X_LIBS to AC_SUBST, for applications
3657 that call Xlib API directly.
3660 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3663 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3666 Fix regression caused by hard-coding major
3667 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3670 * test/test-simple.c (test_editable_text),
3671 (test_test): revert previous change (error was
3672 a regression in gail which is now fixed).
3674 2002-03-04 Michael Meeks <michael@ximian.com>
3676 * test/test-simple.c (test_editable_text),
3677 (test_text): pass G_MAXINT instead of '-1' for
3678 whole string - is this a good thing !?
3680 * cspi/spi_accessible.c
3681 (Accessible_getRelationSet): fix crasher bug
3682 overwriting the end of the array.
3684 * test/test-simple.c (validate_accessible): free,
3685 not g_free returned relation set.
3687 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3689 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3690 implemented stateset support
3692 * idl/Accessibility_State.idl: Made necessary changes to
3693 the IDL to support state sets.
3695 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3697 * registryd/deviceeventcontroller.c:
3698 Added implementation for generateMouseEvent.
3700 * cspi/spi_registry.c:
3701 Connected new implementation for generateMouseEvent
3704 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3707 Incremented revision (but no change in public API
3708 outside of 'utils', which are not installed public yet.)
3710 * libspi/component.c:
3711 Changed to use atk_component API for layers and
3712 mdi_zorder, instead of deprecated atk_object API.
3714 Magnification Utility Enhancements:
3717 Added implementation of createZoomRegion, clearAllZoomRegions,
3718 resizeZoomRegion. Added new commandline argument
3719 "--no-initial-region". Note that clearAllZoomRegions doesn't
3720 unmap the old '0' region as it should (yet), and the other
3721 methods only work when creating/resizing a single region,
3722 which is "region 0".
3723 (Code for multiple region support will be added later.)
3726 Now we raise the magnifier window each time it's refreshed;
3727 this will help keep it on top.
3729 * util/mag_client.h:
3730 Added simple wrappers for above, used by mag_control.
3731 For general use, it's recommended to use the bonobo magnifier
3732 control API directly instead of using these wrappers.
3735 Moved ZoomRegionData from magnifier.c to this file.
3737 * util/mag_control.c:
3738 Added some code to exercise new IDL implementations.
3740 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3742 * libspi/text.c: Provide implementation for getAttributes.
3744 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3747 Incremented revision.
3749 * test/test-simple.c:
3750 Replaced use of deprecated g_main_iteration with
3751 g_main_context_iteration.
3753 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3756 Incremented revision for desktop alpha 2.
3758 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3760 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3763 * test/simple-at.c: include netinet/in.h.
3765 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3767 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3768 use NULL, not CORBA_OBJECT_NIL.
3770 * libspi/accessible.c:
3771 (impl_accessibility_accessible_get_relation_set):
3772 allocate the sequence correctly.
3774 * libspi/remoteobject.h: kill spi_remote_object_new.
3776 * test/test-simple.c: (validate_accessible): add code
3777 to test relation sets, now all we need is to figure
3778 out how to excercise this code path :/
3780 2002-01-18 Michael Meeks <michael@ximian.com>
3782 * test/test-simple.c
3783 (key_listener_cb): consume the key.
3784 (test_keylisteners): update.
3785 (main): wait for any pending unrefs on events.
3787 * registryd/deviceeventcontroller.c
3788 (spi_controller_update_key_grabs): only re-issue the
3789 grab on a key release.
3790 (spi_device_event_controller_forward_key_event):
3791 refresh the keygrabs before we notify the listeners,
3792 to reduce the X ungrab / re-grab race.
3793 (spi_controller_register_with_devices): remove
3794 XSelectInput - we do that with the gdk_window_ call.
3795 (_spi_controller_device_error_handler): return a value.
3796 s/GDK_DISPLAY/spi_get_display/
3798 2002-01-17 Michael Meeks <michael@ximian.com>
3800 * registryd/deviceeventcontroller.c
3801 (_deregister_keygrab): don't blow out the later
3804 * test/test-simple.c (test_keylisteners): do a
3805 more intelligent validation.
3807 2002-01-14 Michael Meeks <michael@ximian.com>
3809 * atk-bridge/bridge.c
3810 (gnome_accessibility_module_init),
3811 (gnome_accessibility_module_shutdown): impl.
3812 (gtk_module_init): protect vs. double inits.
3813 (add_signal_listener): impl.
3814 (spi_atk_bridge_state_event_listener): kill
3815 (deregister_application): split out of
3816 (spi_atk_bridge_exit_func): here.
3818 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3821 Added caret tracking when using magnifier, and
3822 now use text bounds for focus tracking of text elements, rather than
3823 the component bounds - this is helpful for short text fields in long
3824 table cells, at high magnification.
3826 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3828 * registryd/deviceeventcontroller.c:
3829 Regression fix for keylistener de-registration; global keygrabs
3830 were not being released when deregisterKeystrokeListener was
3831 called in cspi, since
3832 Accessibility_DeviceEventController_deregisterKeystrokeListener
3833 was called with a zero-length keyset. That is because the cspi
3834 method, SPI_deregisterKeystrokeListener, does not take a keyset
3835 parameter but instead should remove all the key grabs held be a
3837 The code in impl_deregister_keystroke_listener was changed to copy
3838 the keylist from the listener instance previously registered with
3839 the DeviceEventController before releasing the grabs.
3841 * registryd/registry.c:
3842 * registryd/deviceeventcontroller.c:
3843 * libspi/spi-private.h:
3845 Changed spelling of "re-enterant" to "re-entrant" globally.
3847 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3849 * test/test-simple.c:
3850 Changed key listeners test - the test was slightly mis-using the
3851 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3852 It now uses '=' as the key event listened to and generated,
3853 relying on a keysym match rather than assuming that keycode 33
3854 is always equal to keysym '!'.
3856 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3859 Changed simple-at to use a specific keyset, rather than
3860 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3861 manager, desktop, etc.
3863 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3865 * registryd/deviceeventcontroller.c:
3866 Replaced standard X error handler with a special handler that
3867 is non-fatal for failed keygrabs. This works around
3868 problems with keygrab clashes sometimes observed on
3870 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3871 mouse handling code as yet).
3873 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3876 Incremented revision for desktop alpha release.
3879 Fixed a couple of the more glaring errors (still not
3882 2002-01-11 Michael Meeks <michael@ximian.com>
3884 * registryd/deviceeventcontroller.c
3885 (spi_device_event_controller_forward_key_event): kill
3886 XUngrabKey / XKeyGrab race.
3887 (spi_controller_grab_keyboard): rename to
3888 (spi_controller_update_key_grabs): this, and deal
3889 with incremental adding / removing grabs more
3891 (_register_keygrab): ensure we're not pending a remove.
3892 (spi_grab_mask_free): impl.
3893 (spi_controller_register_global_keygrabs): split out
3895 (handle_keygrab): impl.
3896 (_deregister_keygrab): impl.
3897 (spi_controller_deregister_global_keygrabs): impl.
3898 (spi_controller_update_key_grabs): re-issue the grab if
3899 we just recieved a notification.
3901 * test/test-simple.c (key_listener_cb): remove debug.
3903 * registryd/deviceeventcontroller.c
3904 (spi_controller_register_device_listener): after
3905 registering a global keygrab, actualy register it !
3906 don't wait for a timeout; doh !
3908 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3909 to make it more readable / manipulable.
3910 s/grabmask/grab_mask/ s/refcount/ref_count/
3911 s/keyval/key_val/ s/modmask/mod_mask
3913 2002-01-08 Michael Meeks <michael@ximian.com>
3915 * registryd/deviceeventcontroller.c
3916 (spi_controller_register_with_devices): use gdk calls to
3918 (global_filter_fn): implement the filter.
3919 (spi_device_event_controller_check_key_event): rename to
3920 (spi_device_event_controller_forward_key_event): this & upd.
3921 (spi_get_display): replace with GDK_DISPLAY.
3923 * registryd/deviceeventcontroller.c
3924 (spi_controller_deregister_device_listener): unroll into
3925 (impl_deregister_keystroke_listener): here to simplify.
3926 (spi_controller_register_global_keygrabs): split cut and
3927 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3928 (spi_controller_deregister_device_listener): remove.
3929 (impl_register_mouse_listener): remove, no mouse listener
3930 support in at-spi-1.0
3932 * registryd/registry.c
3933 (_device_event_controller_hook): kill.
3934 (spi_registry_init): upd.
3936 * registryd/deviceeventcontroller.c
3937 (spi_device_event_controller_class_init): upd.
3938 (spi_check_key_event): merge into.
3939 (spi_device_event_controller_check_key_event):
3940 here and kill strange static ev init, don't leak
3941 the x_event - nor dynamicaly allocate it.
3943 * registryd/registry-main.c (main): re-direct
3944 timeout to remove strange vtable mess.
3946 * registryd/deviceeventcontroller.c
3947 (remove_listener_cb): impl.
3948 (spi_controller_deregister_device_listener):
3949 fix re-enterancy hazard.
3951 2002-01-07 Michael Meeks <michael@ximian.com>
3953 * registryd/deviceeventcontroller.c
3954 (spi_device_event_controller_new): upd.
3955 (impl_notify_listeners_sync): upd. debug.
3956 (spi_notify_keylisteners): fix re-enterancy hazards,
3957 prettify, remove O(n*n) iteration.
3958 (spi_controller_grab_keyboard): fix iteration.
3959 (spi_check_key_event): re-format to suit coding style.
3960 Clean all the warnings - we're warning free.
3962 * registryd/deviceeventcontroller.h:
3963 * registryd/registry.h: make mutualy referential with
3964 typesafe forward references instead of (!) void pointer
3967 2002-01-11 Michael Meeks <michael@ximian.com>
3969 * cspi/spi_accessible.c (role_names): add a role name
3970 to sync this array with the enum; and make the regression
3973 2002-01-10 Michael Meeks <michael@ximian.com>
3975 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3976 allow expansion of enumeration & kill warning.
3978 * test/test-simple.c (key_listener_cb): impl.
3979 (test_keylisteners): impl.
3981 * cspi/spi-listener.h: make listener signatures const
3982 on the provided (const) events.
3984 * test/keysynth-demo.c: upd. to const events.
3986 * test/simple-at.c: ditto.
3988 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3991 Rev the version to 0.5 (the previous tarball was named 0.4,
3992 even though the micro number was 3), so we need to rev upwards
3993 again for beta2/"desktop-alpha"
3996 Checked in a demo script, which requires editing before use!
3997 Proceed with caution.
4000 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4002 * cspi/spi_accessible.c:
4003 Add a couple of missing enum initializations, and fix some enum
4006 * cspi/spi_registry.c:
4007 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4009 * docs/reference/cspi/at-spi-cspi-sections.txt:
4010 Remove/fix a couple of broken document references.
4013 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4014 as Alt-Control to listen for commands, since on some systems
4015 Control-Alt may already be grabbed.
4017 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4020 Update version number to 0.4 for Beta2.
4022 * libspi/accessible.c, libspi/accessible.h:
4023 Expose spi_accessible_construct, to enable libgail-gnome
4024 construction from spi_accessible subtype.
4026 * utils/magnifier.c:
4027 Workaround for bug in some non-gnome-compliant window managers
4028 which made magnifier resize improperly.
4030 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4032 * libspi/accessible.c: (spi_accessible_new) :
4033 Move the test for SPI_IS_REMOTE_OBJECT to
4034 spi_accessible_new_return, fixing a bug and compile time warning.
4036 2002-01-08 Michael Meeks <michael@ximian.com>
4038 * registryd/registry.c (parse_event_type): remove strndup.
4040 * libspi/Makefile.am (libspi_la_SOURCES): remove
4041 sources already included in the headers section.
4043 * libspi/util.c: add.
4045 * libspi/spi-private.h: add.
4047 * registryd/registry.c: update to moved list iterators.
4049 2002-01-05 Michael Meeks <michael@ximian.com>
4051 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4053 * test/test-simple.c (main): ditto.
4055 2002-01-04 Michael Meeks <michael@ximian.com>
4057 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4058 redundant construct.
4060 * registryd/registry.c
4061 (get_listener_list): impl.
4062 (impl_accessibility_registry_register_global_event_listener):
4063 re-impl. to simplify using ~, remove dodgy const cast off.
4064 (parse_event_type): constify.
4065 (impl_accessibility_registry_deregister_global_event_listener_all):
4066 re-write, more efficiency and simplicity, kill re-enterancy
4068 (compare_listener_corbaref, compare_corba_objects),
4069 (compare_listener_quarks): define out.
4070 (impl_accessibility_registry_deregister_global_event_listener):
4071 re-write for effiency, and nail re-enterancy hazard.
4072 (impl_accessibility_registry_get_desktop_list): impl.
4073 (re_enterant_list_delete_link): impl.
4074 (re_enterant_list_foreach): impl.
4075 (remove_listener_cb): impl.
4076 (_registry_notify_listeners): kill.
4077 (notify_listeners_cb): impl.
4079 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4080 (SPI_getDesktopList): impl.
4082 * test/test-simple.c (test_desktop): test the methods.
4084 2002-01-03 Michael Meeks <michael@ximian.com>
4086 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4087 keystrings since we free them
4088 (SPI_freeAccessibleKeySet): in here.
4090 * libspi/accessible.c (spi_accessible_new): kill warning,
4091 wonder what is going on with the constructor here.
4093 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4095 * libspi/accessible.c (spi_accessible_new ()) :
4096 Added check to see if AtkObject is an SpiRemoteObject before
4097 creating an SpiAccessible.
4099 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4101 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4102 Enable keygrabs using the Control modifier, now that they are
4103 working properly (they were previously disabled).
4106 Change the command keygrab for this demo to "Control+Alt", so as
4107 to conflict with fewer other key commands on the system; this
4108 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4110 Removed a pointlessly-chatty keylistener for unshifted keys
4111 (shifted keys are still reported).
4113 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4115 * libspi/remoteobject.h:
4116 * libspi/remoteobject.c:
4117 Added definitions for special AtkObject subtype, required for
4118 support of remote components (specifically, used by BonoboControl
4119 accessibility implementation).
4121 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4123 * cspi/spi.h: synched relation types with ATK
4125 * cspi/spi_accessible.c: Added implementations of
4126 AcccessibleRelation_* methods
4128 * idl/Accessibility_Relation.idl: added getRelationTypeName
4129 method. Synched known relation types with ATK. Allowed for
4130 relation type extension with the RELATION_EXTENDED type.
4132 * libspi/relation.c: Provided implementations for
4133 AccessibleRelation methods.
4135 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4137 API tweaks for today's API 'freeze'.
4140 Added placeholder functions to allow future compatible expansion
4141 of the IDL interfaces.
4143 * idl/Accessibility_Registry.idl:
4144 Changed generateKeyEvent to generateKeyboardEvent. Changed
4145 signature of this method to accept an optional keystring in
4146 parameter (for complex text input synthesis) and changed use of
4147 simple 'boolean' parameter in registerKeystrokeListener to a
4148 struct, EventListenerMode.
4150 * cspi/spi_accessible.c:
4152 * cspi/spi_streamablecontent.c:
4153 Added references to AccessibleStreamableContent interface, and
4154 definition and implementation of AccessibleStreamableContent
4157 * cspi/spi_registry.c:
4159 Changed generateKeyEvent API to generateKeyboardEvent,
4160 taking a new (optional) keystring parameter to support complex
4165 Renamed directory (to better reflect its actual purpose, bridging
4166 from at-spi to ATK). The .so module is also now named
4169 * idl/Accessibility_Hypertext.idl:
4170 * libspi/accessible.c:
4171 * libspi/hypertext.h:
4172 * libspi/hypertext.c:
4173 Changed Accessibility_Hypertext to *not* derive from
4176 * cspi/spi_registry.c:
4177 Added list of legal event type names for 'window' events, which
4178 completes the registry event API.
4180 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4182 * at-bridge/bridge.c: Added registration for separate
4183 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4184 signals. If either of the first two parameters to the generic
4185 bridge signal handler are ints, they are passed on as event
4186 details. This allows an AT to determine what text was inserted.
4188 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4190 * registryd/deviceeventcontroller.c:
4191 Fixed regressions in generateKeyEvent caused by the removal of
4192 gdk_init from registryd; we now use pure X calls to connect to the
4193 display, which makes sense because deviceeventcontroller already
4194 uses a fair bit of X API (should eventually be migrated to a
4195 'portability layer').
4197 * registryd/desktop.c:
4198 Fixed minor regression in spi_desktop_init, changed the way the
4199 desktop name is being set to work with new spi_base API
4200 (gobject-based, rather than AtkObject-based).
4202 * registryd/Makefile.am:
4203 Minor revision of makefile to use XTST_LIBS variable rather than
4204 hard-wiring the Xtst LD_ADD element.
4206 * test/keysynth-demo.c:
4207 Tweaked an output message; added initialization of the
4208 'keystrings' member of the "switch listener" key_set.
4210 * libspi/relation.c:
4211 Squashed compile-time warning.
4213 * libspi/accessible.c:
4214 Cosmetic and formatting fixes, renamed a static method.
4216 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4218 * libspi/accessible.c
4220 * libspi/application.c
4223 * libspi/component.c
4224 * libspi/editabletext.c
4225 * libspi/hyperlink.c
4226 * libspi/hypertext.c
4228 * libspi/selection.c
4232 * registryd/desktop.c:
4233 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4235 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4237 * idl/Accessibility_Registry.idl:
4238 Added boolean member 'is_text' to DeviceEvent. This is for the
4239 use of key events, and helps prevent ambiguity between composed
4240 key strings and keysym names, since both may potentially be
4241 returned in the 'event_string' member.
4243 * at-bridge/bridge.c:
4244 * registryd/deviceeventcontroller.c:
4245 Use the 'is_text' member when notifying device event listeners.
4246 Knon issue: composed characters are not dealt with correctly by
4247 the global key listener implementation yet.
4249 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4251 * at-bridge/bridge.c:
4252 Namespaced local static methods to spi_atk_bridge_* where
4253 previously named bridge_*, and spi_* elsewhere.
4255 * at-bridge/bridge.c:
4256 * cspi/bonobo/cspi-bonobo-listener.c:
4257 Added demarshalling/conversion for string member of
4258 Accessibility_DeviceEvent to AccessibleKeystroke.
4260 * registryd/deviceeventcontroller.c:
4261 Added code to fill the Accessibility_DeviceEvent key string value
4262 member for global key events (i.e. from XGrabKey), to match
4263 behavior of Accessibility_DeviceEvent from the toolkit key events
4264 from the bridge. Fixed timestamp in global key event notifications.
4267 Added printout of key event's string value to
4268 report_ordinary_key_event, for demo/debugging purposes.
4270 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4272 * idl/Accessibility_Registry.idl:
4273 Removed Accessibility_KeyStroke structure in favor of generic
4274 Accessibility_DeviceEvent structure.
4275 Changed Accessibility_ControllerEventMask from a struct to an
4278 * at-bridge/bridge.c:
4279 Changed APIs to use DeviceEvent structure as above, and removed
4280 bogus casting between these event structures.
4282 * cspi/spi-listener.h:
4283 Added keystring member of AccessibleKeystroke structure, to enable
4284 matching on event "names" rather than only hardware codes and
4288 Added keystrings member of AccessibleKeySet struct, to allow
4289 matching on event names (as above).
4290 Added declarations for SPI_createAccessibleKeySet and
4291 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4292 event modmasks directly as unsigned ints rather than structs with
4293 refcounts, in the DeviceEventController methods.
4295 * cspi/spi_registry.c:
4296 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4298 * cspi/spi-roletypes.h:
4299 Added documentation of newly added SPI Roles.
4301 * cspi/bonobo/cspi-bonobo-listener.c:
4302 Changes in support of API changes above.
4304 * libspi/accessible.c:
4305 Converted APIs to use DeviceEvent structure (see IDL changes
4308 * registryd/deviceeventcontroller.c:
4309 Added DEControllerGrabMask structure to track keygrabs not only by
4310 modmask but by keyset as well; this allows us to do "global"
4311 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4312 grabbing on AnyKey and then filtering after-the-fact.
4313 Bugfixes for event filtration mean that we don't get false matches
4314 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4316 * registryd/deviceeventcontroller.c:
4317 Namespaced a number of static methods to use spi_ prefix. Major
4318 revision to internals of global (i.e. X) key grabs.
4320 * registryd/deviceeventcontroller.h:
4321 Removed keymask_list and added keygrabs_list to
4322 SpiDeviceEventController struct.
4325 Added use of SPI_createAccessibleKeySet API when creating a
4326 listener for only one key. Attach a listener to "shift spacebar
4327 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4328 X key event names to SPI key event names, so that listeners are
4329 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4331 * test/keysynth-demo.c:
4332 Changed (incorrect) use of X key event names (KeyPressed,
4333 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4336 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4338 * libspi/accessible.c:
4339 Convert all AtkRole enumerations to Accessibility_Role enums when
4340 getting a role from an AtkObject.
4342 * cspi/spi_accessible.c:
4343 Complete the conversion of Accessibility_Role enums at runtime to
4344 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4345 role enums correctly match those given in spi-roletypes.h.
4346 Re-synchronize the local names list for AccessibleRole_getName ().
4347 AccessibleRole_getName is now deprecated, since it duplicates the
4348 more reliable Accessible_getRoleName.
4349 Added some role types from Accessibility_Role.idl.
4351 * idl/Accessibility_Role.idl:
4352 Added some role types used by AtkRole.
4354 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4357 * cspi/spi_registry.c:
4359 * cspi/cspi-bonobo-listener.c:
4360 Namespaced all methods that did not begin with an "SPI_" or
4361 "Accessible" prefix to "SPI_".
4364 Homogenized internal function namespace to "cspi_" for statics.
4367 Patched tests to use the new CSPI API.
4369 * docs/reference/cspi/at-spi-cspi-sections.txt:
4370 Updated docs to reflect namespace changes, and added a number of
4371 methods to the documentation.
4373 * registryd/registry.c:
4374 Changed use of strings and string hashes in listener event
4375 matching and parse_event_string to use GQuark, which is guaranteed
4378 * registryd/registry.h:
4379 Squashed annoying warning.
4381 * idl/Accessibility_Role.idl:
4382 Extended range of available Accessibility_Role values.
4384 * cspi/spi_accessible.c:
4385 Re-ordered role names.
4387 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4389 * idl/Accessibility_Value.idl:
4390 Revert use of union back to CORBA_double, since the double type is
4391 more efficient and can contain the other types without loss of
4394 * idl/Accessibility_Accessible.idl:
4395 Added method Accessibility:Accessible:getRoleName, to complement
4396 Accessibility:Accessible:getRole.
4398 * cspi/spi_accessible.c:
4400 Added C binding for above, Accessible_getRoleName (), and changed
4401 signature of Accessible_getRole () to return an AccessibleRole.
4403 * cspi/spi-roletypes.h:
4404 Changed AccessibleRole_getName to return a char * instead of a
4405 const char *. This method is now at least temporarily deprecated
4406 in favor of asking Accessibles for their RoleNames directly.
4409 Revert to match Accessibility_Value.idl;
4413 Change signature of AccessibleValue methods to use double rather
4417 * cspi/spi_accessible.c:
4418 Changed Accessible_getRole to return an AccessibleRole enum rather
4419 than a UTF-8 string. The UTF-8 string can still be obtained via
4420 AccessibleRole_getName ().
4422 * test/test-simple.c:
4423 Add test_action. Small fixup to match API change to Accessible_getRole.
4426 Bugfix for get_action_from_servant ().
4428 2001-12-11 Michael Meeks <michael@ximian.com>
4430 * libspi/libspi.h: remove registry.h and
4431 desktop.h, deviceeventcontroller.h
4433 * libspi/Makefile.am: remove registry.[ch],
4434 desktop.[ch], deviceeventcontroller.[ch]
4436 * registryd/Makefile.am: add registry.[ch],
4437 desktop.[ch], rename registryd.c to registry-main.c.
4438 add deviceeventcontroller.[ch]
4440 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4443 Replace setenv() call with putenv ().
4445 * libspi/component.c:
4446 Bugfix in AccessibleComponent_getExtents (),
4449 2001-12-11 Michael Meeks <michael@ximian.com>
4451 * libspi/image.c (impl_getImageExtents): impl.
4452 (spi_image_class_init): upd.
4455 (AccessibleImage_getImageDescription): fix daft bug
4458 * test/test-simple.c (global_listener_cb): update
4459 to only quit if not --poke
4460 (main): catch --poke.
4461 (validate_accessible): upd. dumping, call test_image
4464 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4467 * idl/Accessibility.idl: update all IDL includes.
4469 * idl/*.idl - rename to namespace - this sucks, blame
4470 mjs' bad decision for oafd.
4472 * test/test-simple.c (create_test_window): add more tests.
4473 (create_tree): split this out.
4474 (validate_accessible): bugfix.
4476 2001-12-11 Michael Meeks <michael@ximian.com>
4478 * cspi/bonobo/cspi-bonobo-listener.c:
4479 (cspi_kestroke_listener_unref),
4480 (cspi_event_listener_unref): impl. undoing previous
4481 homenous environment - for Bill.
4483 * cspi/spi_table.c (long_seq_to_array): use
4486 * cspi/spi_main.c: split out all bonoboish bits into
4489 * cspi/spi-impl.h: upd. typedefs.
4491 * cspi/spi_registry.c: update to lowlevel API,
4492 return booleans to indicate success in some places.
4494 * cspi/spi_event.c: update to lowlevel API.
4496 * cspi/bonobo/Makefile.am: add.
4498 * cspi/bonobo/cspi-lowlevel.h: add
4500 * cspi/bonobo/cspi-bonobo.c: add
4502 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4504 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4505 (SUBDIRS): add bonobo, link in the libs.
4507 * cspi/spi-util.c: kill this file.
4509 * TODO: merge in my bits.
4511 2001-12-11 Michael Meeks <michael@ximian.com>
4513 * test/test-simple.c (test_value, test_table, main):
4514 remove unused variables causing warnings.
4516 * configure.in: cleanup checks - require gail.
4518 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4521 Changed Value interface to use SValue (scalars) rather than
4522 assuming all values are floats. This allows floats, doubles,
4523 longs, shorts, and unsigned values to be manipulated.
4524 Introduced Accessibility:SValue union.
4527 Updated to use new API above, and to work correctly with GValues
4528 of different types in AtkValue.
4531 Updated to use new API above. cspi's API is as yet unchanged.
4534 Updated the Value revision action item.
4536 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4538 * test/test-simple.c:
4539 Added test_table (GtkTreeView widget in test window to follow).
4540 Un-commented test_value, added GtkRange widget.
4541 Added GtkTreeView widget with GtkListStore. It passes regression
4542 test but leaks one SPI object for some reason.
4545 Fixed bug in impl__set_currentValue.
4547 2001-12-10 Michael Meeks <michael@ximian.com>
4549 * cspi/spi_text.c: audit for exception handling,
4550 tolerating NULL object references safely etc.
4552 * cspi/spi_value.c: ditto.
4554 * cspi/spi_table.c (AccessibleTable_getSummary),
4555 (AccessibleTable_getAccessibleAt),
4556 (AccessibleTable_getRowHeader),
4557 (AccessibleTable_getColumnHeader),
4558 (AccessibleTable_getCaption): fix bugs hidden by
4560 (long_seq_to_array): impl.
4561 (AccessibleTable_getSelectedRows),
4562 (AccessibleTable_getSelectedColumns): use it.
4564 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4567 Added a TODO list (rough and short for now).
4569 * cspi/spi_hyperlink.c:
4570 * cspi/spi_hypertext.c:
4571 Fixed macro name typos, and remove use of obsolete macro in
4572 AccessibleHyperlink_getLink.
4574 * cspi/spi_action.c:
4575 * cspi/spi_accessible.c:
4576 * cspi/spi_application.c:
4577 * cspi/spi_component.c:
4578 * cspi/spi_selection.c:
4581 Documentation fixes (removed return values from ref/unref methods).
4583 2001-12-10 Michael Meeks <michael@ximian.com>
4585 * cspi/spi_action.c: audit for exception handling,
4586 tolerating NULL object references safely etc.
4588 * cspi/spi_accessible.c: ditto.
4590 * cspi/spi_component.c: ditto.
4592 * cspi/spi_editabletext.c: ditto.
4594 * cspi/spi_hyperlink.c: ditto.
4596 * cspi/spi_hypertext.c: ditto.
4598 * cspi/spi_image.c: ditto.
4600 * cspi/spi_selection.c: ditto.
4602 2001-12-10 Michael Meeks <michael@ximian.com>
4604 * configure.in: use cspi/libspi.pc.in instead.
4606 * Makefile.am (pkgconfig_DATA): upd. to match.
4608 * test/simple-at.c (report_focus_event): kill hacks around
4609 bad return values, use putenv not setenv
4611 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4612 fire ChildGone - I killed it.
4614 * libspi/component.c
4615 (impl_accessibility_component_get_extents): remove
4618 * idl/Accessible.idl: kill ChildGone exception.
4620 * cspi/*.[ch]: kill int return from ref / unref.
4622 * cspi/spi_main.c (cspi_object_add_check): fold into
4623 (cspi_object_add): here.
4625 * cspi/spi_component.c (AccessibleComponent_getExtents):
4626 handle exceptions elegantly.
4628 * cspi/spi-private.h (cspi_check_ev_return),
4629 (cspi_return_if_fail): impl.
4631 * cspi/spi_accessible.c: use extensively.
4632 (AccessibleStateSet_equals): add direct compare check.
4634 * cspi/spi_selection.c: tolerate NULL objs, and check
4635 exceptions before return.
4637 * cspi/spi-util.c (cspi_warn_ev): rename to
4638 (cspi_check_ev): this & don't pass ev in; no point.
4640 2001-12-10 Michael Meeks <michael@ximian.com>
4642 * test/test-simple.c: use putenv not setenv
4643 (get_environment_vars): more chatty if you're not using
4646 * test/simple-at.c: do the setenv so more people see the
4649 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4651 * libspi/registry.c:
4652 Changed check of CORBA_environment on notification to be a warning
4653 instead of an error for the moment, since we can recover from this
4654 error when caused by a queued notification from a dead app.
4657 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4658 used by all current implementors of AtkValue), and coerce to
4659 CORBA_float. (Proper general case fix may require change to Value.idl).
4661 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4665 * cspi/spi_accessible.c:
4666 Documentation fixes: added user_data params to documentation for
4667 listeners and callbacks.
4669 * cspi/spi_accessible.c:
4670 Changed AccessibleStateSet_compare to return a
4671 StateSet rather than return the difference set into a third parameter.
4674 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4677 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4678 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4682 Remove subdirectory po from SUBDIRS for now.
4684 * at-bridge/bridge.c:
4685 Beefed up a couple of debug printouts.
4686 One-line fix for signal notification name formatting.
4688 * libspi/accessible.c:
4689 Added assertion to spi_accessible_new ().
4691 * libspi/application.c:
4692 Put #ifdef qualifiers around a printf.
4695 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4697 * registryd/Makefile.am:
4699 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4700 INTLTOOL_SERVER_RULE macro.
4703 Added an event listener for several ATK signals, for
4704 testing and debugging. Removed a few g_warnings.
4705 Added test output if focussed item implements the Value interface.
4707 * test/test-simple.c:
4708 Added test_value () function (known not to pass at the moment, so
4709 not actually called yet.
4711 2001-12-08 Michael Meeks <michael@ximian.com>
4713 * at-bridge/bridge.c (bridge_focus_tracker),
4714 (emit_eventv): fix the same ref. leak.
4715 (register_atk_event_listeners): don't leak.
4717 * cspi/spi-listener-impl.c (cspi_event): more
4718 protection from client code.
4720 * test/test-simple.c (test_desktop): unref the app.
4722 * test/Makefile.am: upd. TESTS.
4724 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4726 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4728 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4730 * cspi/spi_registry.c: constify in strings.
4731 (deregisterGlobalEventListenerAll): don't release the ref.
4733 * cspi/spi.h: start removing redundant / conflicting
4734 gtkdoc comments, making the API readable at a glance :-)
4736 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4738 * test/keysynth-demo.c (keysynth_exit, main): upd.
4740 * test/simple-at.c (main, simple_at_exit): upd.
4742 * test/test-simple.c (unutterable_horror): kill.
4743 (utterable_normal_derefs): kill.
4744 (main): upd & do a setenv before gtk_init, so that we
4745 can use memprof - and to save the pain of remembering
4746 this, if we're running under memprof - don't exit.
4748 * cspi/spi_main.c (SPI_exit): return exit status
4750 (SPI_event_quit): impl.
4751 (SPI_event_main): simplify.
4752 (cspi_is_gnome_app): kill.
4753 (SPI_init): kill isGNOMEapp arg.
4755 * at-bridge/bridge.c (register_atk_event_listeners):
4756 re-instate the unref.
4757 (bridge_exit_func): don't re-activate the registry,
4758 protect vs. theoretical re-entry, use the
4759 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4760 assert a clean shutdown - for regression tests.
4762 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4764 * configure.in: Comment out dummy i18n support for now,
4765 otherwise it fails to build.
4766 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4767 EXTRA_DIST. They are missing in tarball.
4769 2001-12-07 Michael Meeks <michael@ximian.com>
4771 * util/magnifier.c: kill bonobo activation reg. race.
4773 * libspi/component.c
4774 (impl_accessibility_component_get_extents): make it match
4777 * libspi/registry.c (_registry_notify_listeners):
4778 re-remove X headers & reconcile conflicts.
4779 (spi_listener_struct_free): bad conflict resolve.
4780 (impl_accessibility_registry_register_application):
4781 more bad merging fixed.
4782 (impl_accessibility_registry_deregister_application): ditto.
4783 (spi_registry_new): ditto.
4784 (spi_registry_init): don't have an applications field.
4786 [ merge fixups2 branch to here ]
4787 2001-12-07 Michael Meeks <michael@ximian.com>
4789 * test/simple-at.c (report_focus_event),
4790 (report_focussed_accessible): remove g_warning debug.
4792 2001-12-07 Michael Meeks <michael@ximian.com>
4794 * test/test-simple.c (validate_tree): comment out some checks.
4795 (test_desktop): app now not registered idly - horay.
4797 2001-12-07 Michael Meeks <michael@ximian.com>
4799 * cspi/spi_registry.c
4800 (registerAccessibleKeystrokeListener): clean, stop it leaking
4801 great swathes of memory, and device event controller references.
4802 ensure we always pass valid sequences.
4803 (deregisterAccessibleKeystrokeListener): ditto.
4804 (generateKeyEvent): upd.
4806 * at-bridge/bridge.c (bridge_key_listener): handle
4807 registry dead exception gracefully.
4808 (bridge_focus_tracker, emit_eventv): free ev.
4810 * test/simple-at.c (report_focus_event): fix polarity.
4812 * libspi/application.c (notify_listeners): kill the ev
4813 argument, and make sure we init the ev we use.
4814 (spi_application_object_event_listener): split out a chunk
4815 (get_atk_object_ref): here & fixup.
4816 (reverse_lookup_name_for_toolkit_event): make const.
4817 (spi_application_toolkit_event_listener): fixup, kill leaks
4820 * at-bridge/bridge.c (register_atk_event_listeners):
4821 don't unref the noop object - causes grief.
4823 * libspi/registry.c: remove the X headers.
4824 turn off the debug churn.
4826 * libspi/accessible.c (spi_accessible_new_return): only
4827 release the ref if we are supposed to [doh]
4829 * test/simple-at.c (report_button_press, report_focus_event):
4830 guard vs. unexpected exit.
4832 * at-bridge/bridge.c (gtk_module_init): prune printf.
4833 (bridge_exit_func): fix app unref.
4835 * libspi/Makefile.am: don't install registry or desktop.h
4837 * libspi/*.h: update includes.
4839 * libspi/application.h: don't include ourself, or
4840 other redundant headers.
4842 2001-12-06 Michael Meeks <michael@ximian.com>
4844 * libspi/accessible.c
4845 (get_accessible_from_servant): impl.
4846 Upd. all CORBA impl.s to use it killing cut and paste.
4848 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4850 (SPI_init): register atexit cleanup handler here.
4852 2001-12-06 Michael Meeks <michael@ximian.com>
4854 * at-bridge/bridge.c (gtk_module_init): g_error on
4855 activation exception
4857 2001-12-06 Michael Meeks <michael@ximian.com>
4859 * at-bridge/bridge.c (gtk_module_init): some sort of
4860 confusing merge clash - reverted.
4861 (bridge_idle_init): ditto.
4863 * test/test-simple.c (main, utterable_normal_derefs):
4864 merge from Bill - somehow not committed.
4866 2001-12-06 Michael Meeks <michael@ximian.com>
4868 * libspi/value.c (spi_value_class_init): upd.
4869 (spi_value_finalize): kill.
4871 * libspi/table.c (spi_table_finalize): kill.
4872 (spi_table_interface_new): upd.
4873 (spi_table_class_init): upd.
4874 (get_table_from_servant): impl.
4875 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4877 * libspi/selection.c (spi_selection_finalize): kill.
4878 (spi_selection_interface_new): upd.
4879 (spi_selection_class_init): upd.
4880 (get_selection_from_servant): impl.
4881 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4883 * libspi/relation.c (spi_relation_finalize): kill.
4884 (spi_relation_class_init, spi_relation_new): upd
4886 * libspi/image.c (spi_image_finalize): kill.
4887 (spi_image_class_init): upd.
4888 (spi_image_interface_new): upd.
4889 (get_image_from_servant): impl.
4890 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4892 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4893 (spi_hyperlink_finalize): kill.
4894 (spi_hyperlink_new): upd.
4895 (get_hyperlink_from_servant): impl.
4896 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4898 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4899 (spi_hypertext_finalize): kill.
4900 (spi_hypertext_class_init): upd.
4901 (get_hypertext_from_servant): impl.
4902 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4904 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4905 (spi_editable_text_interface_new): upd.
4906 (get_editable_text_from_servant): impl.
4907 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4909 * libspi/text.c (get_text_from_servant): impl.
4910 All impls - update to use it killing more cut and paste,
4911 also fix bad string returns on duff args ( a somewhat
4912 impossible case to handle - but hey ).
4913 (spi_text_construct): impl.
4914 (spi_text_interface_new): upd.
4915 (spi_text_object_finalize): kill.
4917 * libspi/component.c
4918 (accessibility_component_object_finalize): kill.
4919 (spi_component_class_init): upd.
4920 (get_component_from_servant): impl. helper to kill cut & paste.
4921 (impl_accessibility_component_contains):
4922 (impl_accessibility_component_get_accessible_at_point):
4923 (impl_accessibility_component_get_position):
4924 (impl_accessibility_component_get_extents):
4925 (impl_accessibility_component_get_mdi_z_order):
4926 (impl_accessibility_component_get_layer):
4927 (spi_component_interface_new): upd.
4929 * libspi/action.c (spi_action_finalize): kill.
4930 (spi_action_class_init): upd. inherit from SpiObject.
4931 (spi_action_interface_new): upd.
4932 (get_action_from_servant): impl. helper to reduce cut & paste.
4933 (impl_getKeyBinding, impl_getName, impl_doAction),
4934 (impl_getDescription): Use it everywhere.
4936 * cspi/spi_main.c (get_live_refs): a pointer hash.
4937 (spi_object_hash, spi_object_equal): comment out.
4938 There are issues with CORBA object hashing that need
4941 * libspi/application.c (spi_application_init),
4942 (spi_application_new): upd.
4944 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4945 (spi_accessible_class_init): upd.
4946 s/accessible/object/ in epv methods.
4948 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4950 * at-bridge/bridge.c:
4951 Reorder the bridge initialization into the bridge gtk_module_init,
4952 an immediate call to bridge_register_app, and an idle_add for
4953 register_atk_event_listeners (the only code that *must* wait until
4954 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4955 the activation, creates the application's Accessible object, and
4956 queues the bridge_idle_init function. Restored call to
4957 Accessibility_Registry_deregisterApplication().
4958 Prior to making this call we obtain a new reference to the
4959 registry, which is a temporary hack that helps us handle apps that
4960 shut down the bonobo mainloop before we get there.
4962 * libspi/registry.c:
4963 Fix string leakage in debug block, and don't segv if a an app
4964 dies before its event notifications have been propagated.
4967 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4968 as stopgap measure until we get proper exception handling when
4969 objects die during or before interrogation.
4973 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4974 Also changed default value of is_gnome_app to TRUE.
4977 * test/keysynth-demo.c:
4978 Changed use of SPI_init and SPI_event_main to reflect API change above.
4981 Made report_focus_event check the warning value from getName
4982 before reporting on focussed accessible; simplifies handling of
4983 notifications from dead objects.
4985 * test/test-simple.c: (Changes not in this patch since source is
4988 2001-12-05 Michael Meeks <michael@ximian.com>
4990 * registryd/registryd.c (main): protect against
4991 bonobo-activation startup race condition.
4993 * cspi/spi_main.c (cspi_object_add_check): cope
4994 with the exception elegantly.
4996 * idl/Accessible.idl: decl. ChildGone
4998 * libspi/desktop.c (spi_desktop_dispose): impl.
4999 (spi_desktop_class_init): upd.
5000 (spi_desktop_add_application),
5001 (spi_desktop_remove_application),
5002 (abnormal_application_termination): impl.
5003 (impl_desktop_get_child_at_index): re-impl.
5006 (impl_accessibility_registry_deregister_application),
5007 (impl_accessibility_registry_register_application):
5008 kill excessive debug clutter.
5010 * test/test-simple.c (test_misc): test some NULL
5011 tolerance. (main): upd.
5013 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5014 implements no interfaces - so let's not crash.
5016 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5018 * libspi/accessible.c (spi_accessible_new_return): impl.
5019 helper to calm the cut and paste, to cope with
5020 NULL AtkObjects effectively and efficiently, and to kill
5021 the referencing bugs.
5023 * libspi/table.c (impl_getAccessibleAt),
5024 (impl_getRowHeader, impl_getColumnHeader): upd.
5026 * libspi/hyperlink.c (impl_getObject): upd.
5028 * libspi/accessible.c
5029 (impl_accessibility_accessible_get_child_at_index): upd.
5031 * libspi/component.c
5032 (impl_accessibility_component_get_accessible_at_point): upd.
5034 * test/test-simple.c (test_editable_text, test_text): impl.
5037 * cspi/spi_editabletext.c
5038 (AccessibleEditableText_insertText): constify.
5040 * test/test-simple.c (focus_me): make more robust.
5042 * libspi/accessible.c: remove some printfs in methods that
5043 we test and work fine, so we can get a clean tree dump.
5045 * test/test-simple.c (validate_accessible),
5046 (validate_tree): make tree dumping pretty too.
5048 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5049 it builds without debug on.
5051 * test/test-simple.c (validate_accessible): fix the most
5054 * cspi/spi_main.c (spi_object_release): leave the nicely
5055 blanked memory around if in debug mode.
5057 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5059 [committed to fixups2]
5060 2001-12-05 Michael Meeks <michael@ximian.com>
5062 * libspi/editabletext.c
5063 (spi_editable_text_class_init): g_type_class_peek_parent,
5064 not interface peek - so we finalize cleanly.
5066 * libspi/accessible.c (spi_accessible_new): kill debug.
5068 * test/test-simple.c (validate_accessible): fix ref.
5069 leak, print strings before freeing them; sigh, comment a
5070 chunk out due to strangeness.
5071 (validate_tree): unref the child after use.
5073 * cspi/spi_component.c (AccessibleComponent_getLayer):
5074 add missing break statement, switch on zlayer not the
5075 uninitialized retval.
5077 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5078 before (possibly re-entering) remote unref.
5080 * test/simple-at.c (main): unref the desktop.
5082 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5085 * cspi/spi_main.c (cspi_accessible_is_a): here to
5086 isolate bonobo API usage more.
5088 * libspi/registry.c (impl_accessibility_registry_register_application):
5089 prune bogus comment.
5091 2001-12-04 Michael Meeks <michael@ximian.com>
5093 * test/test-simple.c (validate_tree): upd.
5094 IndexInParent check to make it more lucid.
5095 (validate_accessible): dump the tree.
5097 * libspi/accessible.c (de_register_public_ref),
5098 (get_public_refs): impl.
5099 (spi_accessible_new): make more efficient & intuitive.
5100 Now IndexInParent check works.
5102 2001-12-04 Michael Meeks <michael@ximian.com>
5104 * cspi/spi-util.h: remove.
5106 * cspi/spi.h: move SPI_freeString here
5108 * libspi/component.c (impl_accessibility_component_get_layer):
5110 (impl_accessibility_component_get_mdi_z_order): ditto,
5111 return -1 on error - is this ok ?
5113 * test/test-simple.c (test_application): impl.
5115 * cspi/spi_accessible.c (Accessible_getApplication),
5116 (Accessible_isApplication): impl.
5118 * libspi/registry.c (spi_listener_struct_free): release
5119 the CORBA reference too.
5121 * libspi/accessible.c
5122 (impl_accessibility_accessible_get_parent): fix ref leak.
5124 * libspi/registry.c (spi_registry_new): make the registry
5125 immortal - we don't want it to go away ever.
5127 * libspi/application.c
5128 (spi_accessible_application_finalize): impl. cleanup.
5130 * cspi/spi_registry.c
5131 (deregisterGlobalEventListenerAll),
5132 (deregisterGlobalEventListener),
5133 (deregisterAccessibleKeystrokeListener): fix ref leak.
5135 * cspi/spi_main.c (SPI_init): remove redundant ref.
5137 * test/test-simple.c (unutterable_horror): impl. to force a
5142 (impl_accessibility_registry_deregister_application): release
5143 the application when we de-register it.
5145 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5146 until we have the infastructure to get it right.
5148 2001-12-03 Michael Meeks <michael@ximian.com>
5150 * libspi/Makefile.am: only build eventlistener.[ch]
5152 * libspi/accessible.c
5153 (impl_accessibility_accessible_get_child_at_index): don't leak.
5155 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5156 before we hit the idle handler.
5158 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5159 debugging than exit.
5161 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5163 * libspi/listener.c (impl_notify_event): check source
5164 not NIL before unref.
5166 * libspi/registry.c (impl_registry_notify_event): ditto.
5168 * libspi/eventlistener.c
5169 (impl_accessible_event_notify_event): unref the source.
5171 * libspi/accessibleeventlistener.c
5172 (impl_accessible_event_notify_event): unref the source.
5174 * idl/Event.idl: remove 'hash_id' attribute - of no
5177 * libspi/application.c (notify_listeners): upd list
5179 (spi_application_object_event_listener),
5180 (spi_application_toolkit_event_listener): upd to do correct
5184 (_registry_notify_listeners): update.
5185 (parse_event_type): this method also leaks like a sieve.
5186 (impl_accessibility_registry_deregister_global_event_listener):
5187 fix ETYPE_WINDOW case.
5189 * libspi/application.c
5190 (impl_accessibility_application_register_object_event_listener):
5193 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5195 * libspi/hypertext.c (impl_getLink): ditto.
5197 * cspi/spi_main.c (cspi_object_add): remove
5198 bogus CORBA_Object_duplicate.
5200 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5203 * cspi/spi_accessible.c
5204 (Accessible_getRelationSet): fix leak / referencing issue.
5206 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5207 (cspi_object_add, cspi_object_unref): upd.
5208 (spi_object_release, get_live_refs): impl.
5209 (cspi_cleanup): simplify.
5211 * *.[ch]: s/boolean/SpiBoolean/
5213 * cspi/spi_accessible.c (role_names): actualy order so it
5214 corresponds with the enum !
5216 * test/test-simple.c (test_roles): check some role strings
5217 vs. enums to detect offset errors.
5219 2001-12-01 Michael Meeks <michael@ximian.com>
5221 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5223 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5225 (Accessible_getChildAtIndex): use cspi_add_check so we
5226 check the ev before using a (possibly) invalid value.
5228 * libspi/accessible.c
5229 (impl_accessibility_accessible_get_parent): don't segv
5232 * at-bridge/bridge.c (gtk_module_init): upd.
5233 (bridge_property_event_listener): don't leak strings
5235 (bridge_state_event_listener),
5236 (bridge_property_event_listener): don't use a static
5237 buffer in case of recursive event emission &
5238 re-enterancy - split out the swathe of cut and paste
5240 (emit_eventv): and fix 2 ref leaks here & comply to the
5242 (bridge_register_app): rename to
5243 (bridge_idle_init): this and kill arg parsing, split
5244 various inits & bonobo-activation registration to module
5245 init time, kill referencing error.
5246 (bridge_exit_func): fix the same leak.
5247 (bridge_focus_tracker): don't leak event structures
5249 (bridge_signal_listener): more leakage and cut & paste
5251 (bridge_key_listener): return the result - FIXME is
5252 this polarity correct ?
5253 (accessibility_keystroke_from_atk_key_event): rename
5254 (accessibility_init_keystroke_from_atk_key_event): and stop
5256 (gtk_module_init): return a value - not that it is checked by
5258 (bridge_key_listener): register my horror at casting between
5259 IDL defined structs.
5260 (bridge_get_registry): kill - not used.
5262 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5264 * test/test-simple.c (test_roles): impl.
5265 (test_desktop, validate_accessible, validate_tree): impl.
5267 * cspi/spi_accessible.c (role_names): fixup bogus
5268 MAX_ROLES setup, make constants const for efficient linkage
5269 (AccessibleRole_getName): conform to coding style, make
5272 2001-11-30 Michael Meeks <michael@ximian.com>
5274 * cspi/spi.h: add missing prototype.
5276 * libspi/registry.c (spi_listener_struct_new): fix sig.
5278 * test/Makefile.am: add test-simple
5280 * test/test-simple.c: add
5282 * test/test.sh: add.
5284 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5286 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5287 do it straight - since otherwise we often get an activation race.
5289 [ work before Bill duplicated a chunk of it ... ]
5290 2001-11-30 Michael Meeks <michael@ximian.com>
5292 * libspi/keystrokelistener.c
5293 (spi_keystroke_listener_class_init): fixup arg
5296 * libspi/eventlistener.c
5297 (spi_event_listener_class_init): ditto.
5299 * tests/test.sh: add.
5301 * cspi/spi-listener-impl.h: update macros.
5303 * cspi/spi-listener-impl.c
5304 (cspi_event_listener_remove_callback): add
5305 correct pre-conditions.
5307 * cspi/spi_main.c (SPI_exit): guard vs. double
5308 exits, exit the mainloop nicely.
5309 (SPI_event_main): make more sense.
5310 (SPI_init): move the atexit evilness here so we
5311 always do it (yuck).
5312 (SPI_event_main): upd.
5314 * test/simple-at.c: update for listener changes.
5316 * registryd/registryd.c (main): prune kruft.
5318 * libspi/libspi.h: upd.
5320 * libspi/eventlistener.[ch]: rename broken macros.
5322 * libspi/accessibleeventlistener.[ch]: remove.
5324 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5326 * test/test-simple.c: Add - automated tests.
5328 * cspi/spi-listener-impl.c (cspi_event),
5329 (cspi_key_event): add user_data to invoke.
5330 (cspi_keystroke_listener_finalize): impl.
5331 (cspi_keystroke_listener_class_init): upd.
5334 (createAccessibleEventListener),
5335 (AccessibleEventListener_addCallback),
5336 (createAccessibleKeystrokeListener),
5337 (AccessibleKeystrokeListener_addCallback): upd.
5339 * libspi/deviceeventcontroller.c
5340 (spi_device_event_controller_check_key_event): add public proto.
5343 (impl_accessibility_registry_deregister_global_event_listener):
5344 always init listeners.
5345 (_registry_notify_listeners): yes it is.
5347 * cspi/spi-listener-impl.c (cspi_key_event):
5349 (cspi_event_listener_finalize): impl.
5350 (cspi_event_listener_class_init): hook up.
5351 (event_handler_new, event_handler_free),
5352 (event_list_remove_by_callback): impl.
5353 (cspi_event_listener_remove_callback),
5354 (cspi_keystroke_listener_remove_callback),
5355 (cspi_keystroke_listener_add_callback),
5356 (cspi_event_listener_add_callback): upd.
5358 * libspi/keystrokelistener.c
5359 (keystroke_listener_object_finalize): kill
5360 (spi_keystroke_listener_class_init): upd.
5361 (spi_keystroke_listener_add_callback),
5362 (spi_keystroke_listener_remove_callback): kill,
5364 (impl_key_event): prune drasticaly.
5366 * libspi/eventlistener.c
5367 (spi_event_listener_add_callback),
5368 (spi_event_listener_remove_callback): kill, use
5370 (impl_accessible_event_notify_event): upd.
5371 (spi_event_listener_object_finalize): remove.
5373 * libspi/Makefile.am: use eventlistener.[ch]
5375 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5377 * libspi/registry.c (_registry_notify_listeners):
5378 Changed listener loop iteration to use preferred convention.
5379 Got rid of string memory leaks caused be calling g_strconcat
5380 inside function calls.
5382 * libspi/registry.c (parse_event_type):
5383 Stopped g_strconcat memory leaks, free the g_strsplit return,
5384 g_strdup the split pieces when used, etc.
5386 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5389 Change method 'compare' to return a 'difference set' rather than
5390 taking a StateSet as an out parameter (more Java-friendly).
5392 * idl/Accessible.idl:
5393 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5395 * idl/Component.idl:
5397 Changed methods 'getExtents' and 'getImageExtents' in these
5398 interfaces to return a BoundingBox structure.
5399 (getPosition and getSize are redundant and possibly should be
5400 removed, rather than creating a corresponding Point struct.)
5402 * cspi/spi_component.c:
5403 Modify implementation of getExtents to reflect the above IDL
5408 Add (missing) AccessibleImage_getExtents () API.
5410 * docs/reference/cspi/at-spi-cspi-sections.txt:
5411 Added AccessibleImage_getImageExtents () to docs.
5413 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5415 * idl/Component.idl:
5416 Added two methods, getLayer () and getMDIZOrder (), to reflect
5417 the new ATK methods atk_object_get_layer and
5418 atk_object_get_mdi_z_order. (Which arguably should be part of the
5419 AtkComponent API and AtkObject). Also added an enum,
5420 ComponentLayer, for the first method's return value.
5422 * libspi/component.c:
5423 Added implementations for these methods.
5425 * cspi/spi_component.c:
5427 Added cspi binding methods for above,
5428 AccessibleComponent_getLayer() and
5429 AccessibleComponent_getMDIZOrder().
5430 Added cspi enum 'AccessibleComponentLayer'.
5432 * docs/reference/cspi/at-spi-cspi-sections.txt:
5433 Added above methods to docs.
5437 Changed typedef for 'boolean' type (and all references to it) to
5438 SPIBoolean, to avoid keyword clashes with C++.
5441 Changed usages of 'boolean' to SPIBoolean.
5443 * test/keysynth-demo.c:
5444 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5445 app), except where SPIBoolean is required by the callbacks API.
5447 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5449 * cspi/spi_registry.c:
5450 Removed obsolete X event loop for passive keygrabs (which now
5453 * registryd/registryd.c:
5454 Removed unnecessary call to gdk_init() [cruft]. This also allows
5455 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5458 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5460 * docs/reference/cspi:
5461 Included docs for SPI_freeString in generated documentation.
5464 Renamed spi_freeString to SPI_freeString, for consistency. Added
5465 documentation for this function.
5468 Renamed spi_freeString to SPI_freeString, for consistency.
5469 Removed obsolete method declaration string_from_corba_string.
5471 * test/keysynth-demo.c:
5472 Small tweak to comments.
5475 Stopped leaking the strings returned from CSPI.
5477 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5479 Merged Michael's branch (see his ChangeLog entries below).
5481 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5482 bridge is alive, release on exit.
5484 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5485 Fix type check macro.
5488 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5491 Added is_gnome_app static, and method cspi_is_gnome_app(),
5492 so we can call the appropriate shutdown routine at exit in SPI_exit.
5494 * cspi/spi_main.c (cspi_object_ref):
5495 Duplicate the corba object passed in, since we're keeping it around.
5497 * cspi/SPI_exit.c, cspi_cleanup:
5498 Moved the releasing of the live refs to its own function, so we
5499 can put it in g_atexit (). Call the appropriate shutdown API
5500 depending on whethe calling client is a gnome app or not
5501 (bonobo_main_quit or CORBA_ORB_shutdown).
5503 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5504 Unref the listener when this method is called, after
5505 deregistration. Updated the API docs to note this behavior.
5507 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5508 Bugfixes: Ref the bonobo object when returning a parent or child
5509 reference, or an AccessibleRelation. Generally made sure
5510 BonoboObject refcount is incremented whenever we return an
5513 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5514 Fixed typo/bug in signal declaration.
5516 * libspi/accessibleeventlistener.h:
5519 * libspi/application.c (spi_application_new):
5520 Fixed leak in initialization.
5523 Remembered to increment bonobo-object refcount when returning
5524 children (applications) from desktop object.
5525 Added (empty) finalize method.
5527 * libspi/deviceeventcontroller.c:
5528 Hold a ref to listeners inside DEControllerKeyListeners.
5529 Added dec_key_listener_free() method. Use prepend instead of
5530 append in key_listener list. Fixed some refcount madness and
5531 leaks in the listener registration/deregistration - deregistration
5532 now calls dec_key_listener_free() on listeners, and on the
5533 temporarily constructed dec_key_listener() used to perform the search/match.
5535 * libspi/hypertext.c (spi_hypertest_finalize):
5536 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5537 class. Also fixed spi_hypertext_interface_new() and
5538 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5540 * libspi/hypertext.h:
5541 Removed pointless and duplicate AtkObject pointer from
5544 * libspi/keystrokelistener.c:
5545 Fixed incorrect type of keystroke_listener_parent_class,
5546 renamed keystroke_listener_object_finalize to
5547 spi_keystroke_listener_object_finalize.
5548 Fixed typo in signal declaration
5549 (spi_keystroke_listener_class_init).
5551 * libspi/registry.c:
5552 Added funcsions spi_listener_struct_new() and
5553 spi_listener_struct_free() to help with memory management issues.
5554 We also now use these methods instead of gnew + poking stuff into
5555 the struct, and to decrement listener counts/free the listeners
5556 when deregistering them.
5557 Fix more refcount bugs in getDesktop() and
5558 getDeviceEventController().
5561 De-ref the desktop after enumerating the applications. Explicitly
5562 decrement the refcounts on the created listeners on exit (using
5563 _unref for keystroke listeners, and via the
5564 deregisterGlobalEventListenerAll command for other event
5567 2001-11-27 Michael Meeks <michael@ximian.com>
5569 * cspi/spi-listener.h: fixup enum.
5571 2001-11-27 Michael Meeks <michael@ximian.com>
5573 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5574 (cspi_keystroke_listener_new): Use the cspi variants.
5576 2001-11-26 Michael Meeks <michael@ximian.com>
5578 * test/keysynth-demo.c: fix 2 compile warnings, missing
5581 * test/simple-at.c (report_focussed_accessible),
5582 (report_focus_event, report_button_press),
5583 (check_property_change, is_command_key),
5584 (report_ordinary_key_event, report_command_key_event): upd.
5586 * util/mag_client.h: include pre-requisites.
5588 * libspi/accessibleeventlistener.c
5589 (spi_event_listener_object_finalize): free any lingering
5592 * libspi/keystrokelistener.c
5593 (keystroke_listener_object_finalize): ditto.
5595 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5596 callbacks, with cspi types.
5598 * cspi/spi_event.c (createAccessibleEventListener): chain to
5599 (AccessibleEventListener_addCallback): here.
5600 (createAccessibleKeystrokeListener): chain to
5601 (AccessibleKeystrokeListener_addCallback): here.
5603 * libspi/keystrokelistener.c
5604 (spi_keystroke_listener_class_init): add signal.
5605 (impl_key_event): emit the event.
5606 (boolean_handled_accumulator): impl.
5607 (marshal_BOOLEAN__POINTER): add, gack.
5609 * libspi/accessibleeventlistener.c
5610 (spi_event_listener_class_init): add signal.
5611 (impl_accessible_event_notify_event): emit the signal &
5612 make the loop efficient.
5613 (spi_event_listener_add_callback): prepend the callback.
5615 * libspi/accessibleeventlistener.h: add an 'event' signal,
5616 decl type on callback.
5618 * libspi/keystrokelistener.h: ditto.
5620 * cspi/spi-listener.h: make methods typesafe and
5621 make them use the new event typedefs.
5623 * test/simple-at.c (report_focussed_accessible):
5624 include mag_client.h
5625 Use *(void *)text_interface not the other thing.
5627 * configure.in: add gtk to registryd bits - since we use
5630 * util/magnifier.c: include libbonobo.h
5632 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5634 * test/keysynth-demo.c:
5635 Turned this into a simple scanning keyboard, to demonstrate the
5636 use of g_timeout_add () as a means of creating timers for
5637 scanning, and the use of GtkStyle for visually indicating when
5638 virtual keyboard elements are selected.
5640 keysynth-demo now listens to any keyboard keys with zero-valued
5641 keycodes (i.e. 'unused' keys) and interprets them as
5644 Reworked the shiftlatch code so that shift-down state isn't held
5645 for long periods (it's only synthesized immediately prior to
5646 the keysynth event it's modifying). Note that shiftlatch in this
5647 demo is a convenience, not intended to take the place of AccessX
5648 which is the better choice for getting 'sticky' modifier keys.
5650 * libspi/deviceeventcontroller.c:
5651 * at-bridge/bridge.c:
5652 * cspi/spi_registry.c:
5653 Removed some debug print stuff, and put other verbosity in #ifdef
5658 Implemented some more of the magnifier IDL for the simple
5659 magnifier: namely, getZoomRegionParams.
5660 Added mag_x and mag_y members to MagnifierData struct, aid of this
5662 Added GtkWindow::realize signal handler to magnifier, to keep it
5663 from receiving keyboard focus from the WM.
5665 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5667 * cspi/spi-private.h: my guess at what michael forgot
5668 before he ran off to NZ :-)
5670 2001-11-23 Michael Meeks <michael@ximian.com>
5672 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5673 comment out non existant method invoke so we link.
5675 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5676 use bonobo_exception_get_text for more friendly warnings.
5678 * cspi/spi.c (Obj_Add): move into spi_main & rename
5679 spi_object_add; kill spi.c
5681 * cspi/spi_registry.c
5682 (deregisterGlobalEventListener),
5683 (deregisterGlobalEventListenerAll),
5684 (registerGlobalEventListener): fix exception leaks.
5686 * cspi/spi_main.c (spi_exception): impl. helper, so we
5687 don't leak exceptions.
5689 * cspi/spi_selection.c
5690 (AccessibleSelection_deselectSelectedChild): return the
5693 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5694 (spi_registry): ditto.
5695 (SPI_init): guard against double inits.
5697 * cspi/*.c: use spi_ev (), and spi_registry () where
5698 appropriate - a temporary hack until we have something
5699 better. Use spi_object_add
5701 2001-11-22 Michael Meeks <michael@ximian.com>
5703 * cspi/Makefile.am: re organise, install the headers.
5705 * cspi/*.h: add G_BEGIN/END_DECLS
5707 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5710 Added non-preemptive keylistener for key events with no modifiers
5711 and shift-only modifier.
5713 * libspi/keystrokelistener.c:
5714 Removed some verbose diagnostics printout.
5716 * cspi/spi_registry.c:
5717 Fixed a bug that caused all key listeners to be registered as
5720 * libspi/deviceeventcontroller.c:
5721 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5722 for non-preemptive key masks.
5725 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5727 * docs/reference/idl/at-spi-idl-docs.sgml:
5728 * docs/reference/idl/at-spi-idl-sections.txt:
5729 * docs/reference/idl/at-spi-idl-overrides.txt:
5730 Added missing files.
5732 * docs/reference/Makefile.am:
5733 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5734 to scan the IDL files :-(
5739 Added .cvsignore files.
5741 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5743 * libspi/deviceeventcontroller.c:
5744 * libspi/keystrokelistener.c:
5746 * cspi/spi_registry.c:
5747 Added filters for KeySets, KeyEventSeq, and event types to key
5748 event dispatching, so listeners should only receive those events
5749 that they requested :-)
5751 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5756 * docs/reference:Makefile.am:
5757 * docs/reference/cspi:
5758 * docs/reference/cspi:Makefile.am:
5759 * docs/reference/cspi:tmpl:
5760 * docs/reference/cspi:tmpl:*.sgml:
5761 * docs/reference/idl:
5762 * docs/reference/idl:Makefile.am:
5763 * docs/reference/idl:at-spi-idl-sections.txt:
5764 * docs/reference/idl:at-spi-idl-docs.sgml:
5765 * docs/reference/idl:tmpl:
5766 * docs/reference/idl:tmpl:*.sgml:
5768 Restructured docs directory to allow separate 'reference' docs
5769 section, and forked idl and cspi docs. Added the sgml template
5770 files to CVS. Added the first sections/structural sgml for the
5773 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5775 * configure.in, libspi/Makefile.am: find libXtst.
5777 2001-11-21 Michael Meeks <michael@ximian.com>
5779 * test/accessx-gui.c: s/spi_value/value/ - doh.
5781 * libspi/base.[ch]: add.
5783 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5785 * idl/Accessible.idl:
5786 * idl/Application.idl:
5789 Started gtk-doc cleanup on IDL.
5791 * libspi/deviceeventcontroller.c:
5792 Added and connected non-preemptive key notification from the
5793 toolkits (in addition to the pre-emptive support from XServer
5794 which we had before, but which causes 'focus flashing'). Filters
5795 are presently limited to key modifiers and global/non-global,
5796 KeySets are presently ignored, as are KeyEvent masks.
5798 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5799 structs into the persistant structure rather than just storing
5800 pointers to things that might not persist across servant
5803 The XGrabKey call now does async keygrabs, because synchronous
5804 ones were deadlocking with GDK_event code in a very nasty way.
5806 Added boolean to internal method notify_keylisteners, to indicate
5807 whether the event came from the 'toolkit source' or the 'global
5808 (XServer) source' - this is used in the notification process to
5809 determine which listeners to send the event to.
5811 deviceeventcontroller.c is now warning-free.
5813 * libspi/registry.c:
5814 Fixed regression in application de-registration.
5815 Also fixed some really brain-dead weirdness having to do with
5816 event dispatching - event structs are now duplicated before being
5817 re-marshalled in the dispatch to listeners. This also fixes a
5818 Solaris build problem.
5821 2001-11-20 Michael Meeks <michael@ximian.com>
5824 (impl_accessibility_registry_deregister_global_event_listener):
5827 * libspi/deviceeventcontroller.c
5828 (spi_device_event_controller_check_key_event): return
5829 FALSE on no virtual method.
5831 * libspi/*..h: make includes work on a correctly pathed install.
5833 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5835 * libspi/application.h: kill unused ( and whacked out )
5836 gboolean *spi_application_set_id (AtkObject *app, long id);
5838 2001-11-20 Michael Meeks <michael@ximian.com>
5840 * libspi/*.[ch]: further convert to bonobo's type func
5841 macros, remove redundnant casts etc.
5843 * libspi/text.c s/accessibility_text/spi_text/g,
5844 re-order to de-cruft.
5846 * libspi/hypertext.c: re-order to kill a huge slew
5847 of redundant forward decls.
5849 * libspi/relation.c: ditto.
5851 * libspi/image.c: ditto.
5853 * */.cvsignore: update
5855 2001-11-20 Michael Meeks <michael@ximian.com>
5857 * libspi/deviceeventcontroller.c
5858 (_controller_register_with_devices): use g_getenv,
5859 kill stdlib.h include.
5861 * libspi/keystrokelistener.c
5862 (spi_keystroke_listener_get_type): kill
5863 (spi_keystroke_listener_class_init),
5864 (spi_keystroke_listener_init): rename to this.
5866 * libspi/text.c (impl_getAttributes): fix warning / bug.
5868 * libspi/*.[ch]: more headers, includes and over commenting.
5870 2001-11-20 Michael Meeks <michael@ximian.com>
5872 * libspi/*.[ch]: fixup headers, includes and over commenting.
5874 * libspi/image.c (impl__get_imageDescription): const
5875 correctness warning fix. remove redundant casting.
5877 * libspi/table.c (impl_getRowDescription): ditto.
5878 (impl_getColumnDescription): ditto.
5880 * libspi/libspi.h: add.
5882 2001-11-19 Michael Meeks <michael@ximian.com>
5884 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5886 * libspi/component.c (accessibility_component_get_type):
5887 rename to (spi_component_get_type): and macroify.
5888 (accessibility_component_init): rename to
5889 (spi_component_init): this
5890 (accessibility_component_class_init): rename to
5891 (spi_component_class_init): this
5893 * libspi/action.c (spi_action_get_type): kill, use the macro.
5895 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5898 * libspi/application.c (spi_application_object_event_listener),
5899 (impl_accessibility_application_register_object_event_listener):
5900 warning fixes / const understanding updates.
5902 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5905 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5907 * libspi/spi_accessible.c: Added docs and C bindings for
5908 AccessibleStateSet. (No implementations yet). Documentation
5909 coverage for C bindings now 100%. Made docs for event listeners
5914 boolean notifyListenersSync (in DeviceEventListener listener,
5915 in DeviceEvent event);
5917 oneway void notifyListenersAsync (in DeviceEventListener listener,
5918 in DeviceEvent event);
5920 Added DeviceEventListener and DeviceEvent structs (may deprecate
5921 KeyStroke and KeystrokeListener in favor of this generic
5922 event/listener framework for devices).
5924 * libspi/deviceeventcontroller.c:
5926 Changed some key listener code to take masks, etc., and paved the
5927 way for integration of toolkit/non-preemptive key events. Changed
5928 signatures of some internal methods.
5930 * at-bridge/bridge.c:
5931 Fixed regression connecting to interface signals, apparently
5932 caused by GTK+ changes.
5934 Added an internal bridge_state_listener to deal with
5935 property-change:accessible-state signals.
5937 Changed the key_listeners GList to store structs (including masks,
5938 etc.) instead of just CORBA_Objects (required for full
5939 implementation of key listener API).
5941 Connected the bridge to all currently supported Atk signals.
5942 Events now supported:
5943 object:property-change
5944 object:property-change:accessible-name
5945 object:property-change:accessible-state
5946 object:property-change:accessible-description
5947 object:property-change:accessible-parent
5948 object:property-change:accessible-value
5949 object:property-change:accessible-role
5950 object:property-change:accessible-table-caption
5951 object:property-change:accessible-table-column-description
5952 object:property-change:accessible-table-column-header
5953 object:property-change:accessible-table-row-description
5954 object:property-change:accessible-table-row-header
5955 object:property-change:accessible-table-summary
5956 object:children-changed
5957 object:visible-data-changed
5958 object:selection-changed
5959 object:text-selection-changed
5961 object:text-caret-moved
5963 object:row-reordered
5965 object:column-inserted
5966 object:column-reordered
5967 object:column-deleted
5968 object:model-changed
5970 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5972 * libspi/hyperlink.c,h:
5973 Fixed some broken stuff in hyperlink.
5975 * libspi/relation.h:
5976 * libspi/relation.c:
5977 * cspi/spi_accessible.c:
5978 Initial implementations of AccessibleRelation methods, and docs.
5980 * libspi/accessible.c:
5981 Fixed a bug that caused SEGV if an accessible
5982 object's description is NULL, and a client
5983 requests it. An empty string is now returned.
5985 * cspi/spi_editabletext.c:
5986 * cspi/spi_hypertext.c:
5988 * cspi/spi_hyperlink.c:
5992 Doc coverage now 95%.
5994 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5996 One last namespacing revision:
5997 * libspi/accessibleeventlistener.[ch]:
5998 Renamed SpiAccessibleEventListener to SpiEventListener,
5999 (no need for two namespaces ;-)
6001 And lots of documentation fixes:
6003 * docs/at-spi-docs.sgml:
6004 Fixed 'underscore vs. hyphen' bug that was preventing
6005 the gtk-doc API docs from being automatically generated.
6008 * cspi/spi-listener.h
6010 * cspi/spi_accessible.c
6012 * cspi/spi_application.c
6013 * cspi/spi_component.c
6014 * cspi/spi_editabletext.c
6016 * cspi/spi_hypertext.c
6018 * cspi/spi_registry.c
6019 * cspi/spi_selection.c
6023 * docs/at-spi-docs.sgml
6024 * docs/at-spi-sections.txt
6026 Added and fixed up gtk-doc documentation in cspi.
6028 Interfaces now (fully) documented (subject to revision and enhancement):
6030 Event Listener Support
6032 AccessibleApplication
6036 AccessibleEditableText
6043 AccessibleRelationSet
6048 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6050 * at-bridge/bridge.c:
6051 Initial work for toolkit-level key snooper connection by bridge.
6056 New typedefs and fixes to support new namespacing, and cleaner
6057 separation of cspi bindings from libspi bonobo implementation.
6058 Removed inconsistent and extraneous Spi* namespace prefix that
6059 had crept into cspi headers.
6060 Lots of comment fixes that sed had missed.
6062 * cspi/spi-roletypes.h:
6063 * cspi/spi-statetypes.h:
6064 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6065 to AccessibleRoleType.
6067 * libspi/accessibleeventlistener.h:
6068 Fixed minor namespacing weirdness.
6070 * libspi/deviceeventcontroller.c:
6071 Reordered some internal API for device listeners.
6072 Changed the key registry final boolean to 'is_system_global'
6073 rather than 'is_synchronous', which is more descriptive of its
6075 Added spi_device_event_controller_new().
6076 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6078 * libspi/keystrokelistener.[ch]:
6079 Namespaced KeystrokeListener to SpiKeystrokeListener.
6080 Changed uses of keymasks to use SPI_ prefix, and did other
6083 * libspi/keymasks.h:
6084 Namespaced keymask constants with SPI_ prefix.
6086 * libspi/registry.c:
6087 Some warning fixes, and knock-on fixes from namespace changes.
6090 Added rules for accessx-gui test program.
6092 * test/accessx-gui.c:
6093 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6094 utility. It doesn't actually use at-spi, but it's still cool and
6097 * test/keysynth-demo.c:
6101 Fixes so that these test clients work properly with the namespaced
6102 libraries. (Incompletely tested for technical reasons, fixes may follow)
6105 2001-11-13 Michael Meeks <michael@ximian.com>
6107 * libspi/application.c
6108 (impl_accessibility_application_get_version),
6109 (impl_accessibility_application_get_toolkit_name):
6111 (impl_accessibility_application_set_id),
6112 (impl_accessibility_application_get_id): remove
6113 redundant casting code.
6115 * libspi/action.c (impl_getDescription): fix warnings.
6117 * libspi/accessible.c
6118 (impl_accessibility_accessible_get_parent),
6119 (impl_accessibility_accessible_get_child_at_index),
6120 (impl_accessibility_accessible_get_state),
6121 (impl_accessibility_accessible_get_relation_set):
6122 warning fixes & include action.h
6124 2001-11-13 Michael Meeks <michael@ximian.com>
6126 * *.[ch] fix bits I screwed up:
6128 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6129 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6131 2001-11-13 Michael Meeks <michael@ximian.com>
6133 * *.[ch] Namespace libspi into spi_ and Spi.
6135 2001-13-11 Michael Meeks <michael@ximian.com>
6137 * Makefile.am: dist & install at-spi-1.0.pc
6139 * libspi/Makefile.am: install into at-spi-1.0
6141 * idl/Makefile.am (idldir): install into at-spi-1.0
6143 * at-spi-1.0.pc.in: add.
6145 * configure.in: build it.
6147 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6149 * test/keysynth-demo.c:
6150 Use a 'realize' signal-handler to set the WM properties for
6151 the virtual keyboard, rather than making it a "POPUP" type
6152 override-redirect window (thanks to anders carlsson for that
6155 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6158 * test/keysynth-demo.c:
6159 Added new test of key synthesis, which creates a simple
6160 (mouse-operated) onscreen keyboard. It inserts key events into
6161 the currently-focused window, thus it does not grab keyboard focus
6164 * cspi/spi_registry.c:
6165 Added C binding for AT-SPI generateKeyEvent.
6167 * libspi/deviceeventcontroller.c:
6168 Added call to XFilterEvent so that key listener works with XIM (we
6169 hope). Added event_synth_type to generateKeyEvent, so that we can
6170 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6171 synthesize a press/release pair for KeySyms.
6173 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6175 * libspi/Makefile.am:
6176 * registryd/Makefile.am:
6177 (temporary) hack to include libXtst in libspi and registryd.
6178 (Needed for keystroke synthesis, see below).
6181 Improved API for registerKeystrokeListener, in accordance with
6182 discussions with Gnopernicus team and X server research.
6184 * libspi/registry.c:
6185 * libspi/deviceeventcontroller.c:
6186 * libspi/accessible.c:
6187 * libspi/keystrokelistener.c:
6188 Changes and fixes to support keylisteners for potentially
6189 consumed key events (that is, 'passive grabs').
6190 Added implementation for generateKeyEvent() [untested].
6193 Changes to registerKeystrokeListener() API, as above.
6194 Added deregisterGlobalEventListenerAll(), and
6195 deregisterKeystrokeListener(), which are needed for clean exit of
6197 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6198 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6200 * cspi/spi_registry.c:
6201 Added implementations of function prototypes mentioned above.
6203 * registryd/registryd.c:
6204 Added the key listener event source as a g_timeout(), to allow
6205 receipt of key events that are not caught by GDK (since GDK
6206 doesn't support passive keygrabs, this was necessary).
6209 Changed to attach a keylistener to 'Alt' keys, and
6210 respond to the following keycommands: Alt-M (toggle magnifier);
6211 Alt-F (toggle speech); Alt-Q (quit).
6212 Added an exit routine to deregister the listeners, and a key
6213 listener that prints some key info to the console when a key
6214 matches the listener mask (and is thus received by the listener).
6216 * util/idl/Magnifier.idl:
6217 Changes to magnifier API to support multiple zoom regions,
6218 non-uniform scaling in x and y, markDirty, and a host of other
6219 features that would be useful to magnification.
6222 * util/mag_client.c:
6223 * util/mag_client.h:
6224 * util/mag_control.c:
6226 Source code changes to support the above IDL changes.
6229 As above, and also changes to use a (slower) generic conversion
6230 path for colormap conversions, since the fast RGB conversions have been
6231 reported to fail for 16-bit displays.
6233 2001-10-26 Michael Meeks <michael@ximian.com>
6235 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6237 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6239 * at-bridge/Makefile.am: fix LDFLAGS.
6241 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6243 * at-bridge/bridge.c:
6244 Re-worked listeners for toolkit events, now we have signal
6245 and property listeners. Added a private method
6246 register_atk_event_listeners(), which registers with the
6247 various atk and gtk signals we need to monitor in order to emit
6249 Added emission hook for AtkObject:property-change events, to
6250 support the 'property listeners'.
6251 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6254 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6255 which emit warnings and exit, respectively, if CORBA errors occur
6256 during remote calls, and we now use these methods to check most of
6257 our CORBA calls in the C bindings.
6259 * cspi/spi_accessible.c:
6260 Changed AccessibleSelection_refSelectedChild() to
6261 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6262 now increment refcounts.
6264 * cspi/spi_component.c:
6265 Fixed some long pointer casts (dangerous!) to pass pointers to
6266 CORBA_longs of the proper type to the CORBA stubs, and copy the
6267 data into the longs that were passed into the C bindings code.
6269 * at-bridge/bridge.c:
6271 * libspi/accessible.c:
6272 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6273 hyperlinks, AtkHyperlink is an object type.
6275 * libspi/application.c:
6276 Added various conversions to and from "generic" event types and
6277 atk-specific types; this is really part of the 'bridge'
6278 implementation but is valid for all AtkObject-based accessibility
6281 * libspi/editabletext.c:
6282 Fixed nasty bug wherein editable text's finalize method was
6283 unref'ing tha AtkObject reference that the text parent class was
6284 about to unref _again_. There was also a nasty inheritance bug
6285 that meant that the AccessibleEditableText class was corrupt.
6287 * libspi/selection.c:
6288 Provided implementations for some selection API that was broken.
6290 * idl/Application.idl:
6291 Added registerObjectEventListener () method.
6294 Fixed a number of return values that were Bonobo_Unknowns from
6295 bonobo_object_corba_objref(), which I
6296 forgot to dup before returning. Changed instances of
6297 bonobo_object_corba_objref (bonobo_object(o)) to
6298 BONOBO_OBJREF(o), for concision and clarity.
6300 2001-10-13 Louise Miller <louise.miller@sun.com>
6302 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6303 idl/Event.idl, idl/Registry.idl
6304 Changed these files to include Bonobo_Unknown.idl instead
6307 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6309 * libspi/component.c libspi/component.h:
6310 Fixed typo. Added assertions for object checks in
6311 AccessibleComponent code.
6313 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6315 * idl/Accessible.idl:
6316 Added 'isEqual (Accessible *object)'
6317 method for Accessible. (Not Yet Implemented).
6320 Changed signature of registerKeystrokeListener() to
6321 take a KeySet and KeyEventSeq so that specific keys and event
6322 types could be requested for monitoring, and added a flag
6323 is_synchronous so that either synchronous or asynchronous
6324 notification could be requested. (However this is not all
6325 implemented yet). This also meant adding two new typedefs,
6326 KeyEventSeq and KeySet.
6329 Added two new relations, RELATION_TOOLTIP_FOR and
6330 RELATION_LEAFNODE_OF.
6333 Added new state, STATE_HAS_TOOLTIP.
6335 * libspi/text.c, editabletext.c:
6336 Added new assertions to all casts of bonobo-objects from
6337 CORBA servants, to prevent Text API calls on non-text objects.
6338 Changed suspect casts of int-pointer types, so that we
6339 always send a valid CORBA_long pointer to the CORBA APIs that use
6340 in/out long parameters. We then have to copy from the CORBA_long
6341 into the regular long or int for return to the C bindings, or
6342 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6345 * libspi/deviceeventcontroller.c:
6346 Cleaned these sources up.
6348 Changed return type for getCharacterAtOffset to
6349 CORBA_unsigned_long, to allow for 32-bit characters.
6352 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6356 Fixed 'make dist' so that distro compiles...
6357 * libspi/keymasks.h:
6359 * cspi/spi-listener.c:
6360 KeystrokeListenerCB now returns a boolean.
6362 Added KeyEventType struct, and KeyStroke.
6363 Also added createKeystrokeListener(),
6364 KeystrokeListener_addCallback(),
6365 KeystrokeListener_removeCallback(), and added a keymask to
6366 registerKeystrokeListener().
6367 * cspi/spi_accessible.c:
6368 Changed numerous return types for interfaces from
6369 AccessibleComponent to Accessible<InterfaceName>; this was
6370 probably a cut-and-paste error.
6372 Implementations of new KeystrokeListener api (from spi.h,
6375 Changes to key modifier mapping.
6376 Created ControllerEventMask struct.
6377 Made DeviceEventController derive from Bonobo::Unknown.
6379 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6380 * libspi/deviceeventcontroller.c:
6381 Added a number of new internal (private) methods.
6382 * libspi/editabletext.c:
6383 * libspi/editabletext.h:
6384 Fixed a number of bugs related to the fact that
6385 editabletext inherits from text. Fixed the EditableText struct,
6386 the init() call, and use correct casts when calling Text methods
6387 from an EditableText object. Removed (duplicate) atko from the
6388 EditableText structure, we use the one in the parent Text
6389 structure via the casts mentioned above.
6390 * libspi/keystrokelistener.[ch]:
6391 * libspi/registry.c:
6392 Changes in support of keyboard handling (above).
6394 Keyboard handling, though partly functional, is still not
6395 recommended for at-spi client use as there is considerable
6396 work yet to be done.
6399 Changed some places where pointers to various int types
6400 are cast to be pointers to CORBA_long types and vice-versa:
6401 pointer casting is not safe so we pass pointers of the correct
6402 types and then cast the result before putting it into the target
6405 * libspi/text.h: minor typos corrected.
6407 We now speak not only the name of a Text element, but the
6408 first sentence of its content, when it receives focus.
6409 I also changed the text compression to 75% from 50%.
6410 * util/Accessibility_Util.server.in:
6411 Changed the default magnifier type to be a 3x vertical
6412 splitscreen magnifier (was previously a 2x horizontal one).
6414 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6416 * libspi/keystrokelistener.h:
6417 * libspi/keystrokelistener.c:
6418 Initial functional implementations of KeystrokeListener.
6421 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6423 Fixed string handling for NULL strings in libspi.
6424 Added spi_freeString to free strings returned by C bindings.
6426 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6428 * libspi/keystrokelistener.h:
6429 * libspi/keystrokelistener.c:
6430 Began (no-op) implementations of KeystrokeListener
6432 * libspi/deviceeventcontroller.c:
6433 * libspi/deviceeventcontroller.h:
6434 Began creating implementations of DeviceEventController,
6435 to handle keystroke and mouse event listening and
6437 * libspi/accessible.c:
6438 Stubbed-in the implementations for
6439 Accessibility_Accessible_getState and
6440 Accessibility_Accessible_getRelationSet.
6441 * libspi/registry.c:
6442 Improved de-registration process and fixed some bugs,
6443 deregistration now works correctly.
6445 Added initialization of applications list (to NULL).
6447 Reduced speech compression from 0.5 to 0.7, for demo.
6448 Changed call to gdk_window_set_decorations()
6449 to gtk_window_set_decorated().
6450 * at-bridge/bridge.c:
6451 Bridge now deregisters when app exits, via
6452 registration of a cleanup function
6453 with the g_atexit() call.
6454 Required making 'app' static, renamed 'this_app'.
6455 Fixed broken use of bonobo_init, passing argv wrongly.
6457 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6461 Created a new directory for
6462 accessibility-related utilities, primarily for
6463 testing and demo purposes, but with possible
6470 Onscreen magnifier utility that
6471 is implemented as a bonobo service.
6473 * util/mag_client.c:
6474 * util/mag_client.h:
6475 Client-side support (simple C bindings)
6476 for Magnification service
6478 * util/mag_control.c:
6479 Client program example for
6480 Magnification service
6482 * util/Accessibility_Magnifier.server.in:
6483 Bonobo-activation file for the
6484 Magnification service.
6487 * util/idl/Magnifier.idl:
6488 IDL defining the bonobo Magnification
6492 Modifications to use the bonobo-activated magnifier
6493 above, in place of trying to connect to an existing
6494 magnifier that uses socket-listening IPC.
6496 If env variable MAGNIFIER is set, a magnifier service
6497 will be started if one does not exist.
6499 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6501 * at-bridge/bridge.c:
6502 applied patch from Marc to build and run
6503 against new glib and gtk+ (seemed like a change
6504 to bonobo_init signature was made ?)
6506 made festival-server support turned off by default.
6507 Added support for a simple magnifier (off by default)
6508 which will be added to a 'util' directory later.
6509 * at-bridge/Makefile.am:
6510 Changed "application.h" header from a 'source'
6511 to a 'dependency' of libat-bridge.
6513 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6522 Added interface implementation c files to list of
6523 includes so they are included in libcspi.
6526 Changed prototype of AccessibleAction_doAction to return a
6528 Changed prototype of AccessibleTable_getCaption to
6529 return an Accessible.
6530 Changed prototype of AccessibleTable_getSelectedRows
6531 and AccessibleTable_getSelectedColumns to
6532 return a long (returns the number of selected rows
6533 or columns respectively).
6534 Changed name of AccessibleText_refRunAttributes to
6535 AccessibleText_getAttributes.
6536 Changed prototype of AccessibleText_getCharacterExtents to
6537 return a void rather than a boolean.
6538 Added support for a AccessibleCoordType parameter
6539 specifying what type of coordinates are desired.
6540 Added an AccessibleCordType parameter to
6541 AccessibleText_getPointAtOffset.
6543 * cspi/spi_accessible.c:
6544 Added code to return the outstanding interfaces from
6545 Accessible_queryInterface.
6547 * cspi/spi_action.c:
6549 Corrected call to getNActions to call the c binding
6552 * cspi/spi_editabletext.c:
6554 Changed name from setRunAttributes to setAttributes.
6556 * cspi/spi_hyperlink.c:
6558 Changed call to getNAnchors to correctly call the c
6559 binding for an attribute.
6561 * cspi/spi_hypertext.c:
6563 Changed getImageDescription to correctly call the
6564 binding for an attribute.
6566 * cspi/spi_selection.c:
6567 Changed getNSelectedChildren to correctly call the c
6568 binding for the attribute.
6569 Changed refSelectedChild to getSelectedChild.
6573 Changed getCaption to return an Accessible.
6574 Fixed calls which retrieve attributes.
6575 Changed refAt to getAccessibleAt.
6576 Changed getNSelectedRows and getNSelectedColumns to
6580 Changed getCharacterExtents and getPointAtOffset to accept an
6581 AccessibleCoordType.
6583 Changed calls which retrieve attributes.
6584 Changed refRunAttributes to getAttributes.
6589 * idl/Hyperlink.idl:
6590 Changed n_anchors attribute to nAnchors to keep naming
6591 convention consistent.
6594 Made Table inherit from Bonobo::Unknown.
6595 Added nSelectedColumns and nSelectedRows attributes.
6598 Made Value inherit from Bonobo::Unknown.
6600 * libspi/hyperlink.c:
6601 Change for nAnchors attributte name change.
6603 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6611 Added interface implementation c files to list of
6612 includes so they are included in libcspi.
6615 Changed prototype of AccessibleAction_doAction to return a
6617 Changed prototype of AccessibleTable_getCaption to
6618 return an Accessible.
6619 Changed prototype of AccessibleTable_getSelectedRows
6620 and AccessibleTable_getSelectedColumns to
6621 return a long (returns the number of selected rows
6622 or columns respectively).
6623 Changed name of AccessibleText_refRunAttributes to
6624 AccessibleText_getAttributes.
6625 Changed prototype of AccessibleText_getCharacterExtents to
6626 return a void rather than a boolean.
6627 Added support for a AccessibleCoordType parameter
6628 specifying what type of coordinates are desired.
6629 Added an AccessibleCordType parameter to
6630 AccessibleText_getPointAtOffset.
6632 * cspi/spi_accessible.c:
6633 Added code to return the outstanding interfaces from
6634 Accessible_queryInterface.
6636 * cspi/spi_action.c:
6638 Corrected call to getNActions to call the c binding
6641 * cspi/spi_editabletext.c:
6643 Changed name from setRunAttributes to setAttributes.
6645 * cspi/spi_hyperlink.c:
6647 Changed call to getNAnchors to correctly call the c
6648 binding for an attribute.
6650 * cspi/spi_hypertext.c:
6652 Changed getImageDescription to correctly call the
6653 binding for an attribute.
6655 * cspi/spi_selection.c:
6656 Changed getNSelectedChildren to correctly call the c
6657 binding for the attribute.
6658 Changed refSelectedChild to getSelectedChild.
6662 Changed getCaption to return an Accessible.
6663 Fixed calls which retrieve attributes.
6664 Changed refAt to getAccessibleAt.
6665 Changed getNSelectedRows and getNSelectedColumns to
6669 Changed getCharacterExtents and getPointAtOffset to accept an
6670 AccessibleCoordType.
6672 Changed calls which retrieve attributes.
6673 Changed refRunAttributes to getAttributes.
6678 * idl/Hyperlink.idl:
6679 Changed n_anchors attribute to nAnchors to keep naming
6680 convention consistent.
6683 Made Table inherit from Bonobo::Unknown.
6684 Added nSelectedColumns and nSelectedRows attributes.
6687 Made Value inherit from Bonobo::Unknown.
6689 * libspi/hyperlink.c:
6690 Change for nAnchors attributte name change.
6693 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6695 implementations-- made server implementations own AtkObject pointers
6696 rather than their respective AtkInterrface pointers to fix
6697 refcounting. AtkHyperlink is still broken.
6699 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6700 * cspi/spi_accessible.c:
6701 Added method Accessible_Role_getName(),
6702 and requisite string array (role_names).
6703 Added conversion string_from_corba_strin() call
6704 to Accessible_getName and _getDescription.
6705 * libspi/accessible.c:
6706 Added implementation for Accessible_getRole()
6708 Added festival support, used if environment variable
6711 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6713 * at-bridge/bridge.c:
6714 Now allocate Accessibility_Event using
6715 Accessibility_Event__alloc() instead of g_new0().
6716 * libspi/accessibleeventlistener.c:
6717 Initialize AccessibleEventListener->callbacks to NULL.
6718 Fixed accessible__event_listener_init() param, changed to
6719 "AccessibleEventListener *" type.
6720 Changed a bonobo_object_release_unref() call to
6721 Accessibility_Accessible_unref().
6722 * libspi/listener.c:
6723 Changed Bonobo_Unknown_unref to (equivalent)
6724 Accessibility_Accessible_unref.
6725 * libspi/registry.c:
6726 Changed bonobo_object_release_unref to
6727 Accessibility_Accessible_unref.
6729 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6732 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6733 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6734 spi-util.c spi-util.h
6735 Implementations for C bindings to remaining accessibility
6738 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6741 changed return value of Action from void to boolean to
6742 bring in line with ATK.
6745 Changed getText funcions to return "out" start and end offsets.
6746 Changed getAttributes to take and offset and return the start
6747 and end offset of the attribute run.
6748 Changed getOffsetAtPoint and getCharacterExtents to take an
6749 enum describing whether coordinates are window or screen.
6752 libspi/action.c libspi/action.h libspi/editabletext.c
6753 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6754 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6755 libspi/image.h libspi/selection.c libspi/selection.h
6756 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6757 libspi/value.c libspi/value.h
6758 Added server implementations for outstanding ATK interfaces
6759 not yet implemented.
6761 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6764 Added (missing) getName() method.
6765 Made nActions an attribute.
6766 * idl/EditableText.idl:
6767 Changed order of params in setAttributes.
6768 * idl/Hyperlink.idl:
6769 Removed getAnchor, added getURI.
6771 Changed attributes to methods, for efficiency
6772 (so that getting extents can be done in one call)
6773 * idl/Selection.idl:
6774 Changed nSelectedChildren to attribute, and re-indented.
6775 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6777 * idl/Text.idl: reformatted to match our coding style.
6778 (temporarily?) removed getRowColumnAtOffset().
6779 Changed text selection API to support multi-select and
6780 non-contiguous selections, as in ATK.
6781 * idl/Value.idl: changed some methods to attributes.
6783 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6785 * libspi/listener.c(impl_notify_event):
6786 BonoboUnkown_unref the source instead
6787 of bonobo_object_release_unref - the ORB
6788 handles the releasing.
6790 * configure.in: require ORBit-2.3.94 for
6793 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6795 Tagged CVS repository 'EA_1_0'.
6796 * README.EARLY_ACCESS:
6797 Alphabetized acknowledgements list, and
6799 Listed some known dependencies of at-spi.
6801 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6803 * docs/at-spi-docs.sgml:
6804 * docs/at-spi-sections.txt:
6805 * docs/at-spi-overrides.txt: (Added zero-length file)
6806 Documentation improvements - gtk-doc should build
6807 docs for all implemented C bindings now.
6810 * cspi/spi.c: (New file)
6811 * cspi/spi_event.c: (New file)
6812 * cspi/spi_registry.c: (New file)
6813 * cspi/spi_accessible.c: (New file)
6814 * cspi/spi_application.c: (New file)
6815 * cspi/spi_component.c: (New file)
6816 Split spi_main.c into six parts, and included them from
6817 "spi.c". This is a bit of a hack, probably temporary,
6818 but required by gtk-doc, apparently.
6820 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6823 * docs/at-spi-docs.sgml:
6824 * docs/at-spi-sections.txt:
6826 Initial checkins/modifications for gtk-doc generation.
6829 Added (missing) interface query methods to Accessible's C binding.
6831 Added GenericInterface type definition.
6833 Added query for AccessibleComponent interface to focus event handler.
6834 Added printout of bounding box for focussed component.
6835 * libspi/component.c:
6836 Added partial implementation for AccessibleComponent to C binding.
6837 * idl/Application.idl:
6838 * libspi/registry.c:
6839 * libspi/listener.c:
6840 * libspi/application.c:
6841 * libspi/application.h:
6842 Changed "ID" attribute type from string to long.
6844 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6848 Made method naming consistent: methods taking object args
6849 start with uppercase, other methods (except those using
6850 acronyms) start with lowercase. Underscores delimit between
6851 object names and method names:
6852 SPI_init() - uppercase since it starts with an acronym.
6853 getDesktopCount () - lowercase start since no object param0.
6854 Accessible_getName() - uppercase object type name, studlyCaps method
6858 Added gtk-doc documentation for all currently implemented
6859 methods in the C bindings API.
6861 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6863 * Makefile.am : changed build order to build test last.
6866 Changed "createEventListener" to "CreateEventListener".
6867 * libspi/accessibleeventlistener.c :
6868 Bugfix for addition of callbacks.
6869 * test/Makefile.am :
6870 * test/simple-at.c :
6871 Added new test that uses the C bindings API.
6873 * libspi/listener.c :
6874 * libspi/registry.c :
6875 * libspi/accessibleeventlistener.c :
6876 * at-bridge/bridge.c :
6877 Renamed member "target" of Accessibility_Event to "source",
6878 which is more descriptive.
6881 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6885 * cspi/Makefile.am :
6886 Added makefile support for at-spi/cspi directory.
6889 * cspi/spi-listener.h : (NEW FILE)
6890 Added support for/use of spi-listener.h.
6892 C bindings now build successfully, with no warnings.
6893 * libspi/accessibleeventlistener.h : (NEW FILE)
6894 * libspi/accessibleeventlistener.c : (NEW FILE)
6895 * libspi/Makefile.am :
6896 Added new object type "AccessibleEventListener"
6897 which inherits from Listener, and allows attachment
6898 of in-process callbacks (so that a client with a listening
6899 object instance can add functionality to the local
6900 implementation, dynamically).
6902 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6904 * libspi/accessible.c:
6905 Add implementation for get_index_in_parent().
6907 Added #include of "spi-roletypes.h", and
6908 added enumerated type AccessibleCoordType.
6909 Added definition for KeystrokeListener (function type).
6912 * cspi/spi-statetypes.h :
6913 * cspi/spi-roletypes.h :
6915 Added these headers, used by spi.h.
6917 Added code (NOTE: not yet built by make).
6919 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6921 * libspi/Makefile.am: generate imodule
6922 at the same time as other idl compiler
6925 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6926 * libspi/registry.c :
6927 * libspi/application.c :
6928 * idl/Application.idl :
6929 Made registration with toolkit an application method,
6930 which is required since each app has its own toolkit static
6931 environment. Thus the bridge must register for
6932 notification of toolkit events from each application in turn.
6933 Toolkit notifications are now successfully registered for, and
6934 sent to the listening at client.
6936 Changed toolkit event string to use hyphens rather than underscores.
6937 * libspi/listener.c :
6938 listner now gives more info in debug mode - it reports the
6939 name of the event received, as well as the name of the source.
6942 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6944 * libspi/registry.c :
6945 added more implementation for toolkit events.
6946 Fixed bug such that toolkit event registrations
6947 (via atk) use the whole event name string, not
6949 Removed a useless call to an ORBit_ method.
6950 * at-bridge/bridge.c :
6951 Removed unused local sbuf[] variable.
6953 We now register for Gtk:GtkWidget:button_press_event
6954 events as well as "focus:" events.
6956 Add some more API from Registry.idl that was missing,
6957 for keystroke listening, keystroke and mouse event
6958 synthesis, and enumeration of accessible desktops.
6960 2001-08-16 Michael Meeks <michael@ximian.com>
6962 * configure.in: use AM_GLIB_GNU_GETTEXT.
6964 * Makefile.am (SUBDIRS): kill intl.
6966 2001-08-15 Michael Meeks <michael@ximian.com>
6968 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6970 * configure.in: upd.
6972 * configure.in: depend on a recent bonobo-activation that
6973 will find our server files ...
6975 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6977 * libspi/accessible.c : accessible_new() :
6978 Now we add the Component interface via bonobo_object_add_interface,
6979 if the contained AtkObject implements AtkComponent.
6980 * libspi/accessible.h : now include "component.h"
6981 * libspi/component.h :
6982 * libspi/component.c : added files - implementation of
6983 bonobo wrapper object for Accessibility/Component
6984 * libspi/listener.c :
6985 Added test code to check for Accessibility/Component:1.0
6986 interface and report whether it is implemented by the
6988 * libspi/registry.c :
6989 Now we check for not only the hash of the whole event
6990 string before relaying the event, we also check the
6991 "minor" event string (without the detail string).
6992 This allows event listeners to be registered against
6993 all events of a certain major+minor type, or just
6994 against a specific major+minor+detail type.
6995 * libspi/accessible.c :
6996 Added implementations for Accessible:get_parent(),
6997 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6998 * libspi/registry.c :
6999 * libspi/listener.c :
7000 Replaced calls to Accessibility_Accessible_ref() and
7001 Accessibility_Accessible_unref() with
7002 calls to bonobo_object_dup_ref() and
7003 bonobo_object_release_unref(), so that the CORBA object
7004 is dup-ed and released when relayed, as well as the bonobo object.
7006 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7008 * libspi/Makefile.am,
7009 registryd/Makefile.am,
7010 at-bridge/Makefile.am.
7011 test/Makefile.am, configure.in:
7012 reverse previous changes.
7014 * /idl/Image.idl: fix typo.
7016 * test/Makefile.am: put DEBUG_FLAGS
7019 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7021 * test/app.c: use argv[0] instead of
7024 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7026 * libspi/Makefile.am,
7027 registryd/Makefile.am,
7028 at-bridge/Makefile.am.
7029 test/Makefile.am, configure.in:
7030 cleanup, replace individual LIBS/CFLAGS with
7031 AT_COMMON_{LIBS|CFLAGS}.
7035 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7037 * configure.in, libspi/Makefile.am:
7038 Change IDL path checking for bonobo-activation
7041 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7043 * registryd/registry.c : separated event listeners to use
7044 3 separate lists (focus, window, toolkit). Began testing
7045 event names against hashes before relaying events.
7046 * test/at.c : now register for events of type "focus:"
7047 * test/app.c : now generate events of type "focus:"
7048 * at-bridge/bridge.c : register with ATK for focus events,
7049 and we now relay those focus events to any "focus:" listeners.
7050 This now works with the bridge as a GTK_MODULE when running test/at.
7051 * libspi/registry.c :
7052 * libspi/listener.c :
7053 now we ref event sources before propagating, and unref on receipt.
7054 * libspi/registry.c :
7055 some changes to internal structs, to support event typestring hashes.
7056 * text/app.c : changed the way the appname is generated.
7057 * cspi : added directory that will hold the C bindings library for
7058 non-CORBA/bonobo-savvy clients.
7059 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7060 * idl/Component.idl : added in parameter to indicate coord system for
7061 geometry-related calls.
7062 * idl/Hyperlink.idl : added readonly n_links attribute
7063 * idl/Image.idl : changed methods to attributes.
7065 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7067 * at-bridge/Makefile.am: link against
7068 ../libspi/libspi.la instead of -lspi.
7070 * at-spi/test/app.c: include
7071 bonobo-activation.h. Use a default appname
7072 if one is not provided.
7074 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7076 * idl/Registry.idl : temporarily changed register_Application
7077 to oneway, to work around issue with initial registration
7079 * idl/Application.idl : changed attribute "id" from readonly
7080 to read-write, since it needs to be assigned by Registry.
7081 * registryd/registryd.c : added call to set application id
7083 * registryd/registry.c : changed de-registration procedure to
7084 use CORBA_Object_hash() to find matching object ref in application
7085 lists and listener lists.
7086 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7087 began distinguishing between event types (work in progress).
7089 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7092 * libspi/application.c:
7093 Added implementations for get/set id, get_toolkitName,
7095 * registryd/registryd.c :
7099 Converted from use of OAF to bonobo-activation.
7100 * libspi/desktop.h :
7101 * libspi/desktop.c :
7103 Removed references to atksimpleobject, since base atkobject
7104 implementation now provides functionality we need.
7105 * libspi/atksimpleobject.c :
7106 * libspi/atksimpleobject.h :
7111 * at-bridge/Makefile.am
7112 * at-bridge/bridge.c
7115 Added directory "bridge" and contents, and added dependencies
7116 in Makefile.am/configure.in.
7117 Initial checkin of "at-bridge".
7118 This code is a GTK_MODULE which automatically registers
7119 GTK+ apps with the accessibility registry, using an object
7120 reference to the root ATK object.
7122 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7124 * po/Makefile.in.in: Remove. Again. If this
7125 doesn't get autogenerated - you need to update
7128 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7130 * po/Makefile.in.in: Add. Again.
7132 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7134 * libspi/accessible.c : added support for 'description' property.
7135 * libspi/accessible.c
7137 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7138 (since the two are now equivalent in libbonobo)
7146 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7147 Bonobo::Unknown as does Accessibility::Accessible.
7148 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7149 interface with Bonobo::Stream, since it was redundant with it.
7150 (The Stream returned by a StreamableContext object is expected to
7151 implement only a subset of Bonobo::Stream)
7153 2001-07-28 Anders Carlsson <andersca@gnome.org>
7155 * libspi/accessible.c (accessible_object_finalize): Change
7156 g_free to g_object_unref since the AtkObject is a GObject.
7158 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7160 * idl/Accessibility.idl: add new IDL files
7163 * idl/Action.idl: Definitions of actionable UI object
7164 * idl/Component.idl: Definitions of UI component geometry, etc.
7165 * idl/Hyperlink.idl: Defs of hyperlink behavior
7166 * idl/Image.idl: Def of accessible image
7167 * idl/Selection.idl: Definition of UI object with selectable children
7168 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7169 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7170 * idl/Text.idl: Interface defs for UI elements with complex textual content
7171 * idl/Value.idl: Definition of UI element that is a value controller or display
7173 2001-07-27 Michael Meeks <michael@ximian.com>
7175 * po/Makefile.in.in: remove autogenerated file from CVS.
7177 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7180 * idl/Registry.idl: include guard.
7182 * idl/Accessibility.idl: Add, and include all the other IDL
7185 * idl/*.idl: remove mass of pragmas etc.
7187 2001-07-26 Michael Meeks <michael@ximian.com>
7189 * registryd/Makefile.am (registryd_SOURCES): remove
7192 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7194 * libspi/.cvsignore, registryd/.cvsignore,
7195 test/.cvsignore: updated.
7197 * po/Makefile.in.in: gettext update.
7199 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7201 * initial CVS checkin
7203 2001-06-29 Michael Meeks <michael@ximian.com>
7205 * configure.in: add AM_CONFIG_HEADER to gen config.h