1 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
3 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
4 restart registry process if the registry process is found to have died
5 and the current process is exiting.
6 (spi_atk_bridge_exit_func): Do not attempt to deregister the
7 application if the registry process has died.
8 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
9 does not return a registry object.
10 (spi_atk_tidy_windows): Give up if the registry process has died.
12 This fixes problems with hangs and crashes when logging out.
14 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
16 * registryd/desktop.c: Add checking that we are not exiting before
17 calling spi_desktop_remove_application in
18 abnormal_application_termination. Fix for bug #152147.
20 2004-12-02 Bill Haneman <billh@gnome.org>
22 * configure.in, NEWS, README: Revved to 1.6.1.
24 Patch from Padraig O'Briain <padraig.obriain@sun.com>
25 * atk-bridge/bridge.c:
26 (atk_bridge_init): Save the pid when we start, to detect forks.
27 (spi_atk_bridge_exit_func): Don't call the cleanup routines
28 if we're in a forked pid.
30 2004-10-09 Bill Haneman <billh@gnome.org>
32 * idl/Accessibility_LoginHelper.idl:
33 Improved inline documentation.
35 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
37 * configure.in: Added gl (Galician) to ALL_LINGUAS
39 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
41 * libspi/accessible.c:
42 (impl_accessibility_accessible_get_role_name),
43 (impl_accessibility_accessible_get_local_role_name):
46 (impl_accessibility_component_get_accessible_at_point):
48 * libspi/eventlistener.c: (spi_event_listener_new):
50 * libspi/stateset.c: (impl_compare): More of the same
51 * libspi/table.c: (impl_getRowDescription): Again.
52 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
53 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
54 (impl_generate_keyboard_event): Same.
55 * registryd/registry-main.c: (main): Same
56 * test/event-listener-test.c: (test_exit): Same
57 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
58 * test/keysynth-test.c: (test_key_synthesis): Same
59 * test/login-helper-server-test.c: (main): Fix warning.
60 * test/screen-review-test.c: (test_exit): Fix include.
61 * test/simple-at.c: (simple_at_exit), (_festival_init):
64 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
66 * configure.in, NEWS, README: Revved to 1.6.0.
68 2004-09-12 Bill Haneman <bill.haneman@sun.com>
70 * configure.in: Rev and re-dist, since the 1.5.4 tarball
71 was missing the HTML docs.
73 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
75 * configure.in: only cleanups:
76 - better looking PKG_CHECK_MODULES() output,
78 - declare in one common place required versions of other tools using
81 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
83 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
84 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
85 required ATK version accordingly.
87 2004-09-03 Bill Haneman <bill.haneman@sun.com>
89 * cspi/bonobo/cspi-bonobo.c:
90 (cspi_display_name): Fix C99ism.
91 * atk-bridge/bridge.c:
92 (spi_display_name): Fix C99ism.
93 Patch from Jens Granseuer, jensgr@gmx.net.
95 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
97 * configure.in: Added "or" to ALL_LINGUAS.
99 2004-08-20 Bill Haneman <bill.haneman@sun.com>
101 * configure.in, NEWS, README: Revved to 1.5.4.
103 * registryd/registry-main.c:
104 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
107 * cspi/bonobo/cspi-bonobo.c:
108 (cspi_display_name): New convenience method, gets DISPLAY with
109 screen number stripped, if AT_SPI_DISPLAY isn't already set.
110 (cspi_init): Set the activation env value above before getting
113 * atk-bridge/bridge.c:
114 (spi_display_name): Create the AT_SPI_DISPLAY activation
115 environment for an app, based on the DISPLAY environment with the
116 screen number stripped off.
117 (atk_bridge_init): Allow redirection of error messages to a log.
118 (spi_atk_bridge_get_registry): Call
119 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
121 Fixes for bugs #149962, #136986, #144086.
123 2004-08-16 Christian Rose <menthos@menthos.com>
125 * configure.in: Added "bs" to ALL_LINGUAS.
127 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
129 * configure.in: Added nb to ALL_LINGUAS.
131 2004-09-03 Bill Haneman <bill.haneman@sun.com>
134 (SPI_init): Return error code '2' if the activated
135 registry cannot be pinged. Fixes bug #147648.
137 2004-07-28 Bill Haneman <bill.haneman@sun.com>
139 * registryd/deviceeventcontroller.c:
140 (spi_dec_init_mouse_listener): Don't do XGrabButton,
141 rely on timer-poll instead, to avoid conflict with
144 2004-07-20 Bill Haneman <bill.haneman@sun.com>
146 * configure.in: Revved to 1.5.3.
148 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
150 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
152 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
154 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
156 2004-06-11 Bill Haneman <bill.haneman@sun.com>
158 * atk-bridge/bridge.c:
159 (spi_atk_bridge_do_registration):
160 Register with ATK for AtkComponent:bounds-changed events.
161 (api_atk_bridge_signal_listener):
162 Marshal the AtkRectangle info into the event notification
163 for object:bounds-changed events.
166 (spi_init_any_rect): New method, inits a corba struct of
167 type Accessibility_BoundingBox from an AtkRectangle.
169 * libspi/spi-private.h: Declared spi_init_any_rect (above).
172 (SPIRect): New struct definition.
173 (SPI_freeRect): New declaration.
174 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
177 (AccessibleBoundsChangedEvent_getNewBounds): New method,
178 implemented. Gets the bounding box data from the CORBA_any
179 associated with a bounds-changed event notification.
180 (cspi_internal_event_get_rect): New, used internally by above method.
183 (SPI_freeRect): Implemented this new method, for freeing
186 * test/event-listener-test.c:
187 (main, report_bounds_event):
188 Added a test for object:bounds-changed events.
190 2004-06-01 Bill Haneman <bill.haneman@sun.com>
192 * test/login-helper-server-test.c:
193 (main): Fix C99-ism. Thanks to Jens Granseuer.
195 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
197 * libloginhelper-1.0.pc.in:
198 * idl/Accessibility_LoginHelper.idl:
199 * login-helper/Makefile.am:
200 * login-helper/login-helper.[ch]:
201 * test/login-helper-client-test.c:
202 * test/login-helper-server-test.c: Added files missing from CVS.
203 Files obtained from at-spi-1.5.2 tarball.
205 2004-05-27 Bill Haneman <bill.haneman@sun.com>
207 * configure.in: Create login-helper/Makefile.
208 Incremented micro version.
210 * Makefile.am: Add login-helper subdir and pkgconfig data.
212 * login-helper: New subdir.
214 * libloginhelper-1.0.pc.in: New.
216 * idl/Accessibility_LoginHelper.idl: New file, defines
217 interface whereby authentication clients can identify agents which
218 need access to services during the login process, e.g. screen lock
221 * login-helper/Makefile.am : New.
223 * login-helper/login-helper.[ch] : New, implementation of
224 a LoginHelper base class. Services needing LoginHelper can subclass.
226 * test/Makefile.am : Added test for login-helper, client and
229 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
230 Use proper prefix in #include files.
232 * test/login-helper-client-test.c: New.
234 * test/login-helper-server-test.c: New.
236 2004-05-27 Alexander Shopov <ash@contact.bg>
238 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
240 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
242 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
243 is positive. This should make it easier to detect inapprorpiate unref
246 2004-05-11 James Henstridge <james@daa.com.au>
248 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
249 no-op and deprecated.
251 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
253 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
255 2004-04-28 Bill Haneman <billh@gnome.org>
257 * Makefile.am: Added --enable-gtk-doc to
258 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
260 2004-04-19 Bill Haneman <billh@gnome.org>
262 * configure.in: Revved to 1.5.1.
264 * registryd/deviceeventcontroller.c:
266 (DEControllerPrivateData): Added fields for
267 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
268 (spi_dec_replace_map_keysym): New internal utility for
269 replacing a keysym in the keymap - used to allow
270 synthesis of individual characters which aren't in the
272 (spi_dec_reset_reserved): New; resets the changed keysym value
274 (keycode_for_keysym): We now try to deal with failed
275 XKeysymToKeycode requests by changing a keymap value
276 and returning a reserved keycode. We now take
277 a DEController pointer as first arg.
278 (spi_controller_register_with_devices): Call XkbGetMap with
279 the XkbKeySymsMask. Find the highest keycode in the current
280 keymap which doesn't have any grabs, and mark that one for
281 temporary re-mapping when out-of-range KeySyms are synthesized.
282 (dec_synth_keycode_press): Call XFlush after synthesizing the key
285 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
287 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
289 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
291 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
293 2004-03-24 Bill Haneman <billh@gnome.org>
296 (AccessibleTable_addRowSelection),
297 (AccessibleTable_addColumnSelection),
298 (AccessibleTable_removeRowSelection),
299 (AccessibleTable_removeColumnSelection):
300 Add declarations for spi wrappers which were
301 inadvertantly omitted. Fixes bug #133413.
304 Revved to 1.5.0 (unstable series for GNOME 2.7).
306 2004-03-24 Bill Haneman <billh@gnome.org>
308 * atk-bridge/bridge.c:
309 Bracketed some debug output in
310 conditionals, to avoid printing it in normal use.
313 * libspi/hyperlink.c:
314 Don't cast 'object' to ATK_OBJECT when constructing
315 an AtkAction interface for a hyperlink.
316 See discussion in bug #120659.
318 * test/key-listener-test.c:
319 (report_all_key_event): Send output to stderr,
320 not stdout, for consistency with the rest of the test callbacks.
323 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
324 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
325 Incremented to 1.4.1 (but didn't dist yet - I'm going to
326 try incrementing the revision AFTER doing a dist, at least
329 2004-03-22 Bill Haneman <billh@gnome.org>
331 * configure.in: Revved to 1.4.0, libtool 9.14.9
333 2004-03-17 Laszlo Peter <laca@sun.com>
335 * libspi-1.0-uninstalled.pc.in: add idldir
337 * cspi-1.0-uninstalled.pc.in: add idldir
339 2004-03-16 Gareth Owen <gowen72@yahoo.com>
341 * configure.in: Added "en_GB" to ALL_LINGUAS
343 2004-03-15 Bill Haneman <billh@gnome.org>
345 * configure.in: Revved to 1.3.16,
348 2004-03-15 Laszlo Peter <laca@sun.com>
350 * libspi-1.0-uninstalled.pc.in: new file
352 * cspi-1.0-uninstalled.pc.in: new file
354 * configure.in: add the new pc files to AC_OUTPUT
356 * Makefile.am: add the new pc files to EXTRA_DIST
358 2004-03-12 Bill Haneman <billh@gnome.org>
360 * atk-bridge/bridge.c:
361 (spi_atk_bridge_key_listener):
362 Make sure to return consumed=FALSE if snoop
363 event is not dispatched to listener.
366 2004-03-01 Bill Haneman <billh@gnome.org>
368 * configure.in: Revved to 1.3.15,
371 2004-03-07 Danilo Segan <dsegan@gmx.net>
373 * configure.in: Added "sr@ije" to ALL_LINGUAS.
375 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
377 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
379 2004-03-01 Bill Haneman <billh@gnome.org>
381 * configure.in: Revved to 1.3.14.
384 (SPI_exit): Removed "bye-bye" exit message.
385 Moved "leak" report to happen before the
386 iteration over the leaked refs list.
387 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
389 2004-02-24 Bill Haneman <billh@gnome.org>
391 * configure.in: Revved to 1.3.13.
393 * docs/reference/cspi/Makefile.am:
394 Correct typo that was breaking the docs build.
396 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
398 * autogen.sh: Require version 1.7 of automake.
400 * configure.in: call GTK_DOC_CHECK([1.0])
402 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
404 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
406 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
408 * test/Makefile.am: Remove use of CFLAGS.
410 This fixes bug #132987.
412 2004-02-11 Bill Haneman <billh@gnome.org>
414 * reverted most of Tomasz' patch below, since it was breaking
415 builds (see bug #134058).
417 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
419 * docs/reference/cspi/at-spi-cspi.types: added empty file for
420 correct pass "make dist" (empty .. because seems no sach types in
421 header files with gtk-doc markups).
422 * docs/reference/cspi/Makefile.am, configure.in:
423 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
424 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
425 * Makefile.am: added:
426 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
427 for force correct pass generate documentation on "make distcheck".
428 * libspi/Makefile.am: fixes for automake >= 1.6.
429 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
430 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
433 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
435 * docs/reference/cspi/Makefile.am (install-data-local): Install
436 index.sgml since the doc autobuilder on widget.gnome.org looks for
439 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
441 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
444 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
446 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
448 2004-01-27 Brian Cameron <brian.cameron@sun.com>
450 * test/simple-at.c: Fixed null string problems that cause core
451 dumping problems on Solaris.
453 2004-01-12 Bill Haneman <billh@gnome.org>
455 * configure.in: Incremented version to 1.3.11.
457 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
459 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
460 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
463 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
465 * configure.in: Added "fa" to ALL_LINGUAS.
467 2003-12-20 Arafat Medini <lumina@silverpen.de>
469 * configure.in: Added "ar" to ALL_LINGUAS
471 2003-12-16 Bill Haneman <billh@gnome.org>
473 * registryd/registry-main.c:
475 Set the reg_env DISPLAY variable before registering the
476 activated registry service. Fixes bug #129479.
478 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
480 * configure.in: Added "id" in ALL_LINGUAS
481 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
483 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
485 * registryd/deviceeventcontroller.c (global_filter_fn):
486 When an event is consumed discard any XEvents were added to
487 the queue while dealing with the the event. This can happen if
488 processing of the event takes a long time. Call XUngrabKeyboard
489 if an event was discarded. This fixes bug $124837.
490 Only call wait_for_release_event for a KeyPress.
491 Use local variable display instead of spi_get_display().
492 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
495 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
497 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
498 Allow for mask to contain values other than NumLock mask.
501 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
503 * registryd/devieceventcontroller.c:
504 (wait_for_release_event): Change first parameter from GdkEvent to
506 (global_filter_fn); Correct call to wait_for_release_event.
510 2003-12-08 Bill Haneman <billh@gnome.org>
514 * registryd/ucs2keysym.c: New file.
516 * registryd/deviceeventcontroller.c:
517 (dec_keysym_for_unichar): Remove old partial implementation and
518 replace with call to ucs2keysym(), which is much more complete.
519 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
524 2003-12-05 Bill Haneman <billh@gnome.org>
526 * configure.in: Version 1.3.9.
528 * docs/reference/cspi/tmpl/spi_registry.sgml:
529 Added reference to libspi/keymasks.h to the
530 description of Registry queries: AccessibleKeyMaskType.
533 2003-12-04 Bill Haneman <billh@gnome.org>
537 * idl/Accessibility_Application.idl:
538 (Accessibility::LOCALE_TYPE): New enum, corresponds to
539 setlocale's LC_TYPEs.
540 (Accessibility::Application::getLocale): New method.
541 Allows clients to query the locale, by type, of an app.
544 * cspi/spi_application.c:
545 (AccessibleApplication_getLocale): New method, wraps IDL above.
547 * libspi/application.c:
548 (spi_application_class_init): Init epv entry for getLocale.
549 (impl_accessibility_application_get_locale): Impl for above.
551 * test/test-simple.c:
552 (test_application): Added assertion for getLocale, i.e.
553 that the string from AccessibleApplication_getLocale (app, type)
554 is the same as that from setlocale (type, NULL);
556 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
558 *registryd/deviceeventcontroller.c: Add an idle handler which polls
559 the keyboard on a timeout intil the key state goes from pressed to
560 released. Fixes bug #111429.
562 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
564 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
565 root object so that it is present when a context menu in an
566 out-of-process applet is popped up.
567 (spi_atk_bridge_do_registration): Create acceessible application root
568 object only if it does not exist.
570 This fixes bug #125834.
572 2003-12-01 Bill Haneman <billh@gnome.org>
574 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
577 Added enum for AccessibleStreamableContentSeekType.
578 (AccessibleStreamableContent_freeContentTypeList): New.
580 * cspi/spi_streamablecontent.c:
581 (accessible_bonobo_stream_client_seek): New private method.
582 (AccessibleStreamableContent_seek): Implemented this method,
583 using Bonobo_Stream_seek.
584 (AccessibleStreamableContent_freeContentTypeList): New method
585 for freeing the return value from
586 AccessibleStreamableContent_getContentTypes.
587 (stream_cache_item_free): Replaces stream_release; stop leaks.
588 (stream_release): removed.
589 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
590 free the memory properly.
592 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
596 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
598 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
600 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
602 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
604 2003-12-01 Bill Haneman <billh@gnome.org>
606 Fix for bug/rfe #127463.
608 * idl/Accessibility_Accessible.idl:
609 (getLocalizedRoleName): New.
610 (unimplemented4): Removed (replaced by above).
612 * libspi/accessible.c:
613 (impl_accessibility_accessible_get_local_role_name): New.
614 (spi_accessible_class_init): Add getLocalizedRoleName entry to
618 (Accessible_getLocalizedRoleName): New.
620 * cspi/spi_accessible.c:
621 (Accessible_getLocalizedRoleName): New.
623 2003-12-01 Bill Haneman <billh@gnome.org>
626 * idl/Accessibility_Text.idl:
627 (getDefaultAttributes): New.
628 (unimplemented4): Removed (replaced by above method).
631 (impl_getDefaultAttributes): New method.
632 (spi_text_class_init):
633 initialize the get_default_attributes slot in the epv.
636 (AccessibleText_getDefaultAttributes): New prototype.
639 (AccessibleText_getDefaultAttributes): New method.
641 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
643 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
644 write beyond the end of the table. Fixes bug #120473.
646 2003-09-30 Christian Rose <menthos@menthos.com>
648 * configure.in: Added "eu" to ALL_LINGUAS.
650 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
652 * configure.in: ALL_LINGUAS: Added no.
654 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
656 * configure.in: Added lt to ALL_LINGUAS.
658 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
660 * atk-bridge/bridge.c:
661 (atk_bridge_init): Register event listeners always even for
662 out-of-process applet.
663 (spi_atk_bridge_toplevel_added): Remove call to
664 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
665 (spi_atk_bridge_toplevelk_removed): Remove call to
666 spi_atk_deregister_event_listenersa as the listeners are now always
668 (spi_atk_bridge_register_application): Remove call to
669 spi_atk_register_event_listeners as it is not done in atk_bridge_init
671 This fixes bug #120991.
673 * libspi/table.c (impl_getColumnDescription): Correct typo,
674 pointed out by Bolian.Yin@sun.com.
676 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
678 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
680 2003-09-08 Bill Haneman <billh@gnome.org>
682 * configure.in: Revved to 1.3.7.
684 This is the GNOME 2.4.0 release of at-spi.
686 * docs/reference/cspi/Makefile.am:
687 Removed spurious inclusion of 'index.sgml' in the
688 html directory; this was breaking make distcheck and
689 also some other build environments.
691 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
693 * registryd/registry.[ch}:
694 Add queue_handler_id and focus_object to SpiRegistry data structure.
695 (registry_flush_event_queue): If event being discarded is
696 "state-change:focused" store object as focus_object.
697 (registry_start_queue): Remove queue handler and focus object
699 (registry_discard_event): New function which discards a focus event
700 if we had stored focus object in the registry.
701 (registry_queue_event): Add new check that is_queueing is set as this
702 function is reentrant.
703 (registry_filer_event): Add call to registry_discard_event.
705 This resolves issues raised in bug #108664.
707 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
709 * configure.in: Added "bn" to ALL_LINGUAS.
711 2003-09-04 Bill Haneman <billh@gnome.org>
713 * cspi/spi_event.c: Documentation improvements for
714 (SPI_registerAccessibleKeylistener).
716 * docs/reference/tmpl/spi_registry.sgml:
717 Documentation improvements for SpiAccessibleKeylistenerCB.
719 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
721 * configure.in: Added "ro" to ALL_LINGUAS.
724 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
726 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
727 not decremented to zero. Fixes bug #120725.
729 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
731 * configure.in: Added "ja" to ALL_LINGUAS.
733 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
735 * configure.in: Added "is" to ALL_LINGUAS.
737 2003-08-22 Christian Rose <menthos@menthos.com>
739 * configure.in: Added "nl" to ALL_LINGUAS.
741 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
743 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
744 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
746 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
748 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
749 type for unspecified exception.
750 * cspi_streamablecontect): Add include of string.h for memcpy.
751 (stream_release): Correct call to bonobo_object_release_unref
752 (stream_cache_item_free): Correct call to bonobo_object_release_unref
753 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
754 argument of _cspi_expection_throw.
755 * libspi/hyperlink.c: Add include of libspi/action.h:
756 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
757 * libspi/streamablecontent.c: add include of libspi/component.h.
758 * regisrtyd/deviceeventcontroller.c:
759 (spi_dec_translate_mask): Removed unused variable priv.
760 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
761 * registryd/registry.c:
762 (registry_filter_event): Remove unused variable queue_is-empty.
763 (impl_registry_notify_event): Use correct modifier in fprintf call.
765 This fixes compiler warnings reported in bug #120220.
767 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
769 * registryd/registryd.c: Remove this file.
771 2003-08-17 Sanlig Badral <badral@openmn.org>
773 * configure.in: Added mn to ALL_LINGUAS.
775 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
777 * configure.in: Added et to ALL_LINGUAS.
779 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
781 * test/event-listener-test.c: Change active-descendant to
782 active-descendant-changed.
784 2003-08-10 Sami Pesonen <sampeson@iki.fi>
786 * configure.in: Added "fi" in ALL_LINGUAS.
788 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
790 * configure.in: Added "hi" in ALL_LINGUAS.
792 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
794 * configure.in: Revved to 1.3.6.
798 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
800 * registryd/deviceeventcontroller.c
801 (spi_device_event_controller_object_finalize): Fix typo in previous
804 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
806 * registryd/deviceeventcontroller.c
807 (spi_device_event_controller_object_finalize): Fix build on
808 systems without XEvIE.
810 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
812 * acconfig.h, configure.in, registryd/Makefile.am,
813 registryd/devicecontoller.[ch]: Add XEViE support.
815 2003-08-06 Wang Jian <lark@linux.net.cn>
817 * configure.in: Added "zh_CN" to ALL_LINGUAS.
819 2003-08-06 Metin Amiroff<metin@karegen.com>
821 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
823 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
825 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
826 MODIFIER_ALT in correct place.
828 This fixes part of bug #118114.
830 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
832 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
834 2003-07-28 Changwoo Ryu <cwryu@debian.org>
836 * configure.in: Added "ko" to ALL_LINGUAS.
838 2003-07-28 Ole Laursen <olau@hardworking.dk>
840 * configure.in: Added "da" to the commented out ALL_LINGUAS.
842 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
844 * configure.in: Added "sq" to ALL_LINGUAS.
846 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
848 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
850 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
852 * configure.in: updated ALL_LINGUAS list
854 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
856 * configure.in: Added Belarusian to ALL_LINGUAS.
858 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
860 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
862 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
863 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
865 This fixes bug #116949.
867 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
869 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
870 Correct CSPI to SPI in function documentation.
872 This fixes bug #118054.
874 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
876 * configure.in: Added Russian to ALL_LINGUAS.
878 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
880 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
882 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
884 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
886 2003-07-10 Joel Brich <joel.brich@laposte.net>
888 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
890 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
892 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
894 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
896 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
897 resources allocated for AccessibleEvent. See cspi_event().
899 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
900 static variable streams to NULL.
902 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
903 Update so that AcessibleEvent_ref will work.
905 This fixes bug #116624.
907 2003-07-06 Jordi Mallach <jordi@sindominio.net>
909 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
911 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
913 * configure.in: Added "fr" (French) to ALL_LINGUAS.
915 2003-07-02 Christian Neumair <chris@gnome-de.org>
917 * configure.in: Added "de" (German) to ALL_LINGUAS.
919 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
921 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
923 2003-07-01 Miloslav Trmac <mitr@volny.cz>
925 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
927 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
929 * configure.in: Added "pl" to ALL_LINGUAS.
931 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
933 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
935 2003-06-30 Bill Haneman <bill.haneman@sun.com>
938 (get_action_from_servant):
939 Removed assertion that action is implemented on an AtkObject.
941 * libspi/hyperlink.c:
943 Aggregate AccessibleAction interface on the hyperlink object if
944 the object implements AtkAction. (This convention is used in
947 2003-06-30 Bill Haneman <bill.haneman@sun.com>
949 * configure.in: Revved to 1.3.5.
951 * registryd/Accessibility_Registry.server.in.in:
952 Marked up appropriate strings for translation.
954 * atk-bridge/bridge.c: Marked a couple of
955 user-visible warnings for translation. Questionable
956 whether they are really useful, but possibly so.
959 2003-06-28 Christian Rose <menthos@menthos.com>
961 * configure.in: Added "sv" to ALL_LINGUAS.
963 2003-06-26 Bill Haneman <bill.haneman@sun.com>
965 * registryd/registry.c:
966 (spi_registry_object_finalize): Unref the deviceeventcontroller.
967 (registry_defer_on_event): Defer focus: events, this is an
968 improvement to the patch for bug #108664.
970 * TODO: Update with 2.4/"Dev Complete" items.
972 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
974 * atk-bridge/bridge.c:
975 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
976 looks up signals once.
977 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
978 if doing registration.
979 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
980 when doing registration.
982 This fixes bug #115014.
984 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
986 * atk-bridge/bridge.c:
987 (atk_bridge_init): Add signal handler for children-changed:remove on
988 root when in a BonoboComponent.
989 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
990 for first toplevel only other incrememt variable toplevels.
991 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
992 application and remove listeners.
993 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
995 (spi_atk_deregister_event_listeners): New function which removes
997 (reinit_register_vars): New fuction which reinitializes variables.
999 This fixes bug #111578.
1001 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1003 * configure.in: version 1.3.4.
1005 * cspi/spi_accessible.c:
1006 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1009 2003-06-13 Michael Meeks <michael@ximian.com>
1011 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1013 * cspi/spi_main.c (cspi_peek_ev): impl.
1015 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1017 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1019 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1021 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1022 SPI_ROLE_AUTOCOMPLETE
1024 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1026 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1027 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1029 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1031 * libspi/streamablecontent.h:
1032 * libspi/streamablecontent.c:
1033 New files, provide implementation/wrappers for
1034 Accessibility_StreamableContent.
1036 * cspi/spi_streamablecontent.c:
1037 Connected the C wrappers to the libspi C bindings.
1038 (AccessibleStreamableContent_close): New method.
1041 (AccessibleStreamableContent_close): New method, needed
1042 since we have an "open, [seek], read, close" model in cspi.
1044 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1046 Fix for #108664; Padraig's revision of my original patch.
1048 * registryd/registry.h:
1049 Added event queue list, is_queuing, and exit_notify_timeout
1050 to the registry struct.
1052 * registryd/registry.c:
1053 (registry_init): Initialize new struct from registry.h.
1054 (impl_registry_notify_event):
1055 Filter events before notifying, in case some need to be
1057 (registry_filter_event): New,
1058 we defer certain incoming events (for instance
1059 window:deactivate) because we may wish to hide
1060 or reject them based on pending events. This is
1061 mostly a workaround for bug #108664.
1062 (registry_queue_event, registry_start_queue): New.
1063 (registry_defer_on_event): Test event to see if it
1065 (registry_reset_on_event): Returns TRUE if the
1066 event should cause a queue reset.
1067 (registry_discard_on_event): Returns TRUE if the event
1068 should cause the previous queue contents to be discarded.
1069 (registry_timeout_flush_queue): Flushes the pending event
1070 queue if no reset/discard-triggering events have come in
1071 within the timeout period.
1072 (registry_emit_event): New.
1073 (registry_clone_notify_context): New, used when queueing the
1074 event notify contexts.
1076 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1078 * configure.in: Version revved to 1.3.2, lt 0.9.2
1079 Incremented ATK required version to 1.3.4.
1081 * cspi/spi_registry.c:
1082 (SPI_generateKeyEvent):
1083 We now pass the keystring along if it's non-null.
1085 * registryd/deviceeventcontroller.c:
1086 (keysym_mod_mask): New method, returns modifier mask
1087 required to generate a keysym from a given keycode.
1088 (dec_synth_keysym): New method.
1089 (dec_synth_keystring): New method.
1090 (dec_get_modifier_state): New method.
1091 (dec_lock_modifiers): New
1092 (dec_unlock_modifiers): New.
1093 (dec_keysym_for_unichar): New, rather brute-force
1094 conversion from UCS-4 to X KeySyms. Only works for
1095 Latin at the moment, with partial implementations for
1096 Greek, Hebrew, and (incomplete) Katakana.
1097 (impl_generate_keyboard_event): Now implement
1098 "KEYSTRING" synthesis and implement "KEYSYM"
1100 (keycode_from_keysym): Improved, passes a returned
1101 modmask value now if the corresponding param is non-NULL.
1103 Fixes bugs #92143 and #109776.
1106 * test/keysynth-test.c:
1107 New test program for key synthesis, to confirm fixes for
1111 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1113 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1115 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1116 Add line for RELATION_POPUP_FOR
1118 * docs/reference/cspi/tmpl/spi_relation.sgml:
1119 Add relation SPI_RELATION_POPUP_FOR
1121 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1122 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1124 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1126 * libspi/relation.c (spi_init_relation_type_table):
1127 Add line for RELATION_POPUP_FOR
1129 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1131 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1132 there are still windows which have not been deleted and emit
1133 window:deactivate, if necessary and window:destroy events.
1134 This fixes bug #114370. The change on June 5th was not correct.
1136 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1138 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1141 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1143 New methods for client exception handling and interception.
1144 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1145 (SPI_exceptionHandlerPop): You guessed it...
1146 (SPI_getSourceType): Return the type of object which offended.
1147 (SPI_getExceptionCode): Return an enum code telling, possibly,
1148 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1149 (SPIAccessibleException_getSource): get the source object for
1150 exceptions that come from Accessibles, if SPIExceptionSourceType is
1151 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1152 (SPIException_getDescription): New, returns a string description of
1153 the problem. [Not yet a stable ABI, strings are not frozen]
1155 * cspi/spi-private.h:
1156 Added implementation details of opaque SPIException
1160 Implementations of above. Also
1161 (_cspi_exception_throw): new private method that
1162 dispatches exceptions to handlers, called from cspi-bonobo.c
1164 * cspi/bonobo/cspi-bonobo.c:
1165 (cspi_check_ev): call _cspi_exception_throw.
1166 Don't print a warning message if the exception has been
1167 handled by _cspi_exception_throw.
1169 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1171 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1172 there are still windows which have not been deleted and emit
1173 window:deactivate, if necessary and window:destroy events.
1174 This fixes bug #114370.
1176 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1179 (cspi_accessible_is_a): Make non-fatal
1180 if the object reference is dead.
1182 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1184 * cspi/spi_main.c: #include <stdio.h>
1185 * test/simple-at.c: ditto
1186 * test/event-listener-test.c: ditto
1187 * test/screen-review-test.c: ditto
1189 2003-05-30 Michael Meeks <michael@ximian.com>
1191 * test/test-simple.c (main): use CORBA_ORB_perform_work
1192 instead of an unnecessary linc_ call.
1194 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1196 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1197 Add SPI_STATE_INDETERMINATE.
1199 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1202 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1204 * libspi/stateset.c (init_state_type_tables): Add support for
1207 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1209 * configure: Update versions of atk and gail required.
1210 This fixes bug #113268.
1212 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1214 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1216 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1218 * libspi/Makefile.am:
1219 Ensure headers are generated before being used by c sources.
1221 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1224 Simplified lt versioning rules.
1225 Incremented version to 1.3.0, to indicate that we're on the
1226 unstable branch now.
1228 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1230 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1231 Add MKDB_OPTIONS=--outtput-format=xml
1233 * docs/reference/cspi/at-spi-cspi-docs.sgml
1234 docs/reference/idl/at-spi-idl-docs.sgml:
1235 Convert to Docbook XML.
1237 This fixes bug #111793.
1239 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1241 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1242 AcccessibleKeyEventType, AccessibleKeyMaskType.
1244 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1246 * cspi/state-types.h: Add documentation for AccessibleState.
1248 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1249 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1250 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1251 AccessibleComponentLayer.
1253 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1256 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1258 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1259 Accessible. Add description of AccessibleEvent,
1260 AccessibleEventListenerCB.
1262 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1265 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1266 documentation. Add description of AccessibleKeystrokeListenerCB,
1267 AccessibleKeyEventMask, AccessibleModifierMaskType,
1268 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1269 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1271 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1274 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1277 This fixes bug #104730.
1279 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1281 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1282 Set is_text field of Accessibility_DeviceEvent data structure.
1284 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1285 is-text field of AccessibleDeviceEvent data structure.
1287 This addresses part of bug #108666.
1289 * registryd/devcieeventcontroller.c: Unset debug option.
1291 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1293 * cspi/accessible.c:
1294 (cpi_initial_relation_type_table): New function which initializes
1295 mapping between Accessibility_RelationType and AccessibleRelationType.
1296 (cspi_relation_type_from_spi_relation_type): New function which
1297 translates an Accessibility_RelationType into an AccessibleRelationType.
1298 (AccessibleRelation_getRelationType): Use
1299 cpi_relation_type_get_spi_relation_type to return correct value.
1300 (spi_state_to_corba): Return correct type for default case.
1302 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1303 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1305 * cspi/cspi-bonobo-listener.c:
1306 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1309 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1310 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1311 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1312 libspi/image.c, libspi/listener.c, libspi/selection.c,
1313 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1314 registryd/desktop.c, registryd/registry.c:
1315 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1317 * libspi/eventlistener.c
1318 Remove semicolon after BONOBO_TYPE_FUNC.
1320 * libspi/relation.c:
1321 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1322 (spi_init_relation_type_table): Initialize using correct type.
1324 * registryd/desktop.c:
1325 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1326 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1327 of Accessibility_KeyEventType.
1329 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1332 * tests/simple-at.c, tests/screen-review-test.c:
1333 Add include for <strings.h>.
1335 * tests.stress-test.c:
1336 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1338 These changes fix compiler warnings when using FORTE compiler on
1339 Solaris; fixes bug #107479.
1342 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1345 * configure.in: revved to 1.1.10
1347 * libspi/keymasks.h:
1348 (SPI_KEYMASK_NUMLOCK): Added.
1350 * registryd/deviceeventcontroller.c:
1351 (spi_key_event_matches_listener): AND with a smaller
1352 bitmask (as we should).
1353 (spi_dec_translate_mask):
1354 New method, sets the virtual NumLock modifier bit
1355 if numlock is on. Eventually it can handle other virtual
1356 modifier bits if needed, or other marshalling from
1357 at-spi modifier masks to platform (X) masks.
1358 (spi_dec_key_listener_new):
1359 Call spi_dec_translate_mask to set up virtual mod bits
1360 in the 'mask' field when creating a new listener struct.
1361 (spi_dec_emit_modifier_event):
1362 Set the virtual (i.e. NumLock) bits before emitting event.
1363 (spi_controller_register_with_devices):
1364 Query for the NumLock modifier 'physical' bit if Xkb is
1365 present, for use in above methods.
1369 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1371 * registryd/deviceeventcontroller.c:
1372 (spi_keystroke_from_x_key_event):
1373 Instead of checking to see if the keysym is
1374 printable, check the string from XLookupString
1375 if available, get the first unicode character from it,
1376 and call g_unichar_isprint to determine whether the
1377 is_text flag should be TRUE or FALSE.
1381 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1383 * atk-bridge/bridge.c: Add support for extended events
1384 * cspi/spi_event.c: Add documentation and implementation for
1386 * tests/event-listener-test.c: Add tests for extended events.
1388 This fixes bugs #100424 and #100426.
1390 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1392 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1393 of LT_CURRENT. This fixes bug #89350.
1395 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1397 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1398 number of signal parameter values before accessing them. This fixes
1401 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1403 * configure.in: Fixed duplicate inclusion of -lspi.
1404 * branched for gnome-2-2/HEAD.
1405 [created tag "gnome-2-2"]
1407 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1409 * configure.in: 1.1.9 release.
1412 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1414 [needed by GOK, to fix bugs 107985 and 107988]
1415 * registryd/deviceeventcontroller.c:
1416 (spi_dec_clear_unlatch_pending):
1417 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1418 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1419 (spi_dec_init_mouse_listener):Emit warning if mouse button
1421 (spi_device_event_controller_forward_mouse_event):
1422 Removed unnecessary parens from a conditional.
1423 (global_filter_fn):Added TODO comment.
1424 (impl_generate_keyboard_event):
1425 Cancel a pending relatch if a 'delatching' key was
1428 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1430 * atk-bridge/bridge.c:
1431 Change atk_signal_child_changed to atk_signal_children_changed.
1432 Reorganize code in spi_atk_bridge_signal_listener().
1434 * test/event-listener-test.c:
1435 Add children_changed_listener and report_children_changed_event()
1436 to test AccessibleChildEvent_getChildAccessible.
1438 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1440 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1441 g_strdup to CORBA_String_dup (bug #105291)
1443 * test/event-listener-test.c (report_text_event): Add call to
1446 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1448 * registryd/deviceeventcontroller.c:
1449 (spi_keystroke_from_x_key_event):
1450 Fix string and keysym return codes to match modifier state.
1453 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1455 * registryd/deviceeventcontroller.c:
1456 (spi_keystroke_from_x_key_event):
1457 Fix segv due to improper use of isprint(c). [bug #107254]
1459 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1462 (get_accessible_text_boundary_type):
1463 Move default return value to (new) default case in switch.
1464 (get_accessible_text_clip_type):
1465 Move default return value to (new) default case in switch.
1467 * libspi/application.c:
1468 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1469 Remove unused methods.
1470 (impl_accessibility_application_register_object_event_listener):
1471 Remove unused methods.
1474 Added #include of <math.h>.
1476 * registryd/deviceeventcontroller.c:
1477 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1478 we don't currently use this method.
1479 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1481 (impl_generate_key_event):
1482 Remove unused variables.
1483 (impl_generate_mouse_event):
1484 Initialize button to zero, just in case we get an invalid
1485 input. Added support for mouse buttons 4 and 5.
1486 (spi_device_event_controller_new):
1487 Removed unused variable declaration for 'private'.
1489 Added #include of <gdk/gdk.h>
1491 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1493 * configure.in: Update to work when X is not installed in expected
1494 location. Fixes bug #105836.
1496 * atk-bridge/bridge.c
1497 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1499 (spi_atk_register_event_listener): Add signal listener for
1501 (spi_atk_bridge_signal_listener): Event event when link-selected
1502 signal is emitted. (bug #104622)
1504 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1505 on returned string. (bug #105291)
1507 * test/event-listener-test.c: Add test for link-selected.
1509 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1511 * atk-bridge/Makefile.am: Correct typo in previous commit.
1513 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1515 * atk-bridge/Makefile.am: Allow for build directory to be different
1516 from source directory
1518 * registryd/Makefile.am: Allow for build directory to be different
1519 from source directory
1523 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1526 Fixed dependencies for libcspi so that libspi gets pulled in
1527 properly. Fixes 104741.
1531 Clean up inline docs a little.
1533 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1535 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1536 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1537 the AtkObject within an SpiDesktop.
1538 This addresses bug #101524.
1540 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1541 Remove call to gdk_init().
1543 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1544 so that Display is set when SpiDesktop is created.
1546 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1548 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1549 This fixes bug #102830.
1551 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1553 * test/test-simple.c: Update to take account of fact that GailButton
1554 now implements AtkText.
1555 (create_text_window): Set name on AtkObject for GtkEntry.
1556 (validate_accessible): Check accessible name before calling test_text().
1558 * libspi/Makefile.am: Fix problem with building outside of source
1559 directory. Bug #98120.
1561 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1562 typo in documentation comments. Bug #94275.
1564 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1566 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1568 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1571 Add includes to avoid compiler warnings on Solaris.
1572 (impl_getRangeExtents): Bug fix.
1574 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1576 Fix for 100944, [API addition approved by Gman and murrayc].
1583 * idl/Accessibility_Text.idl:
1584 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1585 (Text::getRangeExtents): New method for efficient
1586 bounds query of a text range.
1587 (Text::getBoundedRanges): New method for efficient
1588 clipping of text to bounding boxes.
1589 (unImplemented7, unImplemented8):
1590 Removed these padding methods to preserve bincompat.
1593 (impl_getRangeExtents): implementation of new IDL.
1594 (impl_getBoundedRanges): implementation of new IDL.
1595 (SpiTextRect): Internal use struct.
1596 (_spi_text_rect_union): internal method, calculates union of two
1597 SpiTextRect bounding rects.
1598 (_spi_text_range_seq_from_gslist): internal method, allows us
1599 to build our sequence efficiently as a gslist then convert it
1601 (_spi_bounds_contain): internal method, determines whether
1602 a text character is "in" or "out" of a clip rect according to
1603 values of TEXT_CLIP_TYPE.
1604 (spi_text_class_init): Initialize the new methods in the epv.
1607 (AccessibleTextClipType): New enum used by screen review api.
1608 (AccessibleTextRange): New struct used by screen review api.
1609 (AccessibleText_getRangeExtents):
1610 cspi binding for Accessibility_Text_getRangeExtents.
1611 (AccessibleText_getBoundedRanges):
1612 cspi binding for Accessibility_Text_getBoundedRanges.
1613 (AccessibleTextRange_freeRanges): convenience method.
1616 (AccessibleText_getRangeExtents):
1617 cspi binding for Accessibility_Text_getRangeExtents.
1618 (AccessibleText_getBoundedRanges):
1619 cspi binding for Accessibility_Text_getBoundedRanges.
1620 (AccessibleTextRange_freeRanges): convenience method.
1621 (get_accessible_text_clip_type): internal conversion method.
1622 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1624 * registryd/deviceeventcontroller.c:
1625 (spi_dec_mouse_check):
1626 Improved behavior for mouse:abs events
1627 [same granularity as mouse:rel events, and no
1628 events when mouse is idle].
1630 2002-12-16 Michael Meeks <michael@ximian.com>
1632 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1634 * libspi/stateset.c (state_spi_to_atk): split out
1635 ( fix several remote array bounds nasties )
1636 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1637 (impl_remove): make safe from array bounds issues.
1638 (spi_atk_state_from_spi_state): impl.
1640 * libspi/stateset.h (spi_state_set_cache_is_empty):
1641 add a set of wrapper defines to get layering right.
1643 * cspi/spi_accessible.c: update state set stuff to
1646 2002-12-14 Michael Meeks <michael@ximian.com>
1648 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1649 to avoid 2 roundtrips to the registry per key event
1650 (spi_atk_bridge_key_listener): upd.
1651 (deregister_application): release the dec.
1653 * registryd/registry.c (notify_listeners_cb):
1654 bin lots of re-enterant complexity - we no longer
1655 do a round-trip bonobo ref here, ensure that a single
1656 listener's exception failure won't poison all other
1658 (impl_registry_notify_event): bin obvious memory leak.
1660 2002-12-13 Michael Meeks <michael@ximian.com>
1662 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1663 init the ev so the error is meaningful.
1664 (spi_atk_bridge_key_listener): ditto.
1666 * cspi/spi_main.c (cspi_ev): init the ev so we start
1667 with a clean slate, otherwise the first exception
1668 kills us completely.
1670 * cspi/spi_text.c (get_accessible_text_boundary_type):
1671 add a fallthrough for no warnings.
1673 * cspi/spi_registry.c: prune unused warnings.
1675 * cspi/spi_main.c (cspi_object_take): fix
1676 mind-blowing brokenness ( by watching the compile
1679 * cspi/spi_accessible.c (Accessible_getStateSet):
1680 re-impl. to use an AtkStateSet.
1681 (spi_state_type_from_accessible_state),
1682 (init_state_table): bin these.
1684 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1686 (atk_state_set_from_accessibility_state_set): here.
1688 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1689 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1690 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1691 (AccessibleStateSet_add, AccessibleStateSet_remove),
1692 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1693 (AccessibleStateSet_isEmpty): re-write to use a local
1696 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1698 * configure.in: Revved to 1.1.7 (new keymask vals).
1700 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1702 * libspi/keymasks.h:
1703 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1705 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1708 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1709 to compare two CORBA_TypeCodes.
1710 (cspi_internal_event_add): Silence warning from FORTE compiler.
1712 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1713 avoid implicit declaration of functions.
1715 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1717 * atk-bridge/bridge.c:
1718 (spi_atk_bridge_init_event_type_consts): Store signal id for
1719 active-descendant-changed signal.
1720 (spi_atk_register_event_listeners): Add signal listener for
1721 active-descendant-changed signal,
1722 (spi_atk_bridge_signal_listener): Move code in function
1723 spi_atk-signal_emit_event() into this function.
1724 Add support for active-descendant-changed
1725 Update support for child-changed signal.
1726 (spi_bridge_window_event_listener): Silence warning.
1728 * libspi/spi_private.[ch]:
1729 (spi_init_any_object): Change second parameter from CORBA_Object to
1731 Omit call to CORBA_Object_duplicate().
1732 Set CORBA_any's _value to CORBA_Object*.
1734 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1740 (AccessibleEvent_ref, AccessibleEvent_unref):
1741 New methods, for persisting an event outside the emission context.
1742 Must be used if the new accessor methods are to be called
1743 outside of the event listener's callback.
1745 * cspi/bonobo/cspi-bonobo.c:
1746 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1747 as second parameter instead of NULL, so we can call
1748 cspi_check_ev afterwards.
1751 (cspi_object_take): New internal method,
1752 converts a CORBA_Object reference to a hard ref on
1753 an Accessible if possible, returning NULL if the object
1754 reference is invalid or an Accessible * otherwise.
1757 (AccessibleEvent_ref):
1758 Increment the event's internal private refcount, and
1759 add the event's internal struct to an internal cache
1760 if it's not already there.
1761 (AccessibleEvent_unref):
1762 Decrement the event's refcount and remove it from
1763 the cspi event cache if refcount==0.
1764 (cspi_event_compare): New private method.
1765 Compares two event structs via their ids. Used
1767 (cspi_internal_event_lookup): New private method.
1768 (cspi_internal_event_check): New private method,
1769 a 0-order sanity check for events to make sure their
1770 private data is intact.
1771 (cspi_internal_event_add, cspi_internal_event_remove):
1772 New private methods for managiing the event cache.
1774 * cspi/bonobo/cspi-bonobo-listener.c:
1776 Initialize the new private data elements (id, magic, ref_count).
1778 * atk-bridge/bridge.c:
1779 (spi_atk_bridge_signal_listener):
1780 Fixed bug #100530, passing wrong params to emission func.
1782 * registryd/deviceeventcontroller.c:
1783 (spi_dec_button_update_and_emit):
1784 Fixed type in mask bit operations; fix for #99799.
1786 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1788 Removed some of the more dangerous workarounds from
1789 previous commit; they are only needed by GOK, which
1790 in reality should be using another method to accomplish
1791 the goals. So on reconsideration some of the workarounds
1792 need to be reverted:
1794 * registryd/deviceeventcontroller.c:
1795 (spi_keycodes_contain, spi_dec_init_keycode_list):
1796 Removed these methods, used only by a nasty hack to try
1797 and detect whether a key synthesis should be allowed
1798 to reset the XKB latch state or not. This code was only
1799 required to work around an interaction between GOK,
1800 button events, and XKB.
1801 (impl_generate_key_event):
1802 Removed hack at end of key generation that tried to
1803 "do the right thing" if XKB latch keys were generated
1804 in the midst of button press/release pairs.
1807 Added a check for HAVE_XINPUT. Not normally used yet.
1809 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1811 Workarounds and fixes for mouse event/XKB interaction.
1813 * registryd/deviceeventcontroller.c:
1814 (spi_keycodes_contain, spi_dec_init_keycode_list):
1815 New internal methods.
1816 (spi_dec_set_unlatch_pending):
1817 Split the method that tells XKB to expect an
1818 unlatch (and revert it) out of the rest of the
1819 event handling code. This method is called by the
1820 two mouse event handlers (the poll and the filter).
1821 (spi_dec_update_and_emit, spi_dec_mouse_check):
1822 New methods split from spi_dec_poll_mouse_moved.
1823 The second one is now called from inside the filterFn
1824 when an XKB delatch event is received, to determine
1825 whether to revert the delatch or not.
1826 (spi_poll_mouse_moved): Refactor; also we can now
1827 properly handle the case where multiple button states
1828 have changed between polling cycles and we didn't get
1829 notified due to another client's grab.
1831 Synchronize the server while handling an XKB notification.
1832 Ugly, but apparently necessary to avoid nasty races.
1833 Check the mouse state on receipt of an XKB latch change,
1834 to decide whether to revert the latch or not. (Latches are
1835 reverted if there is an immediately preceding mouse button
1836 event that a client has consumed, in which case we don't want
1837 the user to see the side-effect of the event).
1838 (spi_device_event_controller_forward_mouse_event):
1839 Check for modifier events and fire before resetting mouse_mask_state,
1840 prevents losing modifier events.
1842 (impl_generate_keyboard_event):
1843 If we've just generated a keyboard event for a non-shift key,
1844 we don't want to revert the pending XKB latch.
1845 Otherwise, check the modifier state (via a call to
1846 spi_dev_mouse_check) and set the relatch mask to
1847 that state before returning.
1849 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1852 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1855 * atk-bridge/bridge.c:
1856 (spi_atk_register_event_listeners):
1857 Don't re-register for ATK events if the registry has died
1858 and the app needs to re-register; the ATK listeners are in
1859 process and doing so will cause duplicate emission.
1861 * registryd/deviceeventcontroller.c:
1862 (spi_poll_mouse_moved):
1863 Reformat the source, detect and emit multiple button-change
1864 events (i.e. if multiple buttons have changed between poll
1866 Add code to detect mouse-down events even when the pointer
1867 is grabbed; workaround for GOK bug 98420.
1868 (spi_controller_register_with_devices):
1869 Call XTestGrabControl with 'impervious' flag set to True,
1870 allows us to synthesize events and query the pointer even during
1871 an active grab by another client.
1872 (spi_device_event_controller_forward_mouse_event):
1873 Set the mouse_mask_state to the mouse_button_state from
1874 the intercepted event, to synchronize the grab listener with
1877 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1879 * cspi/spi_accessible.c:
1880 (AccessibleRole_getName):
1881 Added necessary strings for making this (deprecated)
1882 method work with the new role types.
1883 (init_role_table, role_table):
1884 Added definition of SPI_ROLE_APPLICATION.
1886 * libspi/spi-roletypes.h:
1887 Added SPI_ROLE_APPLICATION.
1889 * idl/Accessibility_Role.idl:
1890 Added ROLE_APPLICATION.
1892 * docs/reference/cspi/at-spi-cspi-decl.txt:
1893 Added SPI_ROLE_APPLICATION to docs.
1895 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1897 * cspi/spi_accessible.c
1898 (cspi_init_role_table): Do not write beyond end of role_table.
1899 (Accessible_getRole): Use correct type for value returned by
1900 Accessibility_Accessible_getRole().
1902 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1903 beyond end of role_table. (This fixes bug #98269)
1905 * libspi/application.c: Add include file spi-private.h for
1906 definition of spi_init_any_nil.
1908 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1912 * libspi/spi-private.h:
1913 Added DGB() macro, and extern int _dbg declaration.
1915 * registryd/registry.c:
1916 (definitions) storage for _dbg.
1917 (spi_registry_init):
1918 Get environment variable "AT_SPI_DEBUG".
1919 (spi_registry_set_debug):
1920 New method, to initialize _dbg value.
1921 (spi_listener_struct_new, spi_registry_object_finalize):
1922 (notify_listeners_cb):
1923 Changed fprintfs to use DBG and g_warning().
1925 * registryd/deviceeventcontroller.c:
1926 (_deregister_keygrab, spi_controller_register_device_listener):
1927 Changed debug/warning messages to use DBG macro.
1929 * libspi/listener.c:
1930 (impl_notify_event):
1931 Changed warning messages to use DBG macro and g_warning().
1933 * atk-bridge/bridge.c:
1934 (atk_bridge_init, spi_atk_bridge_get_registry):
1935 (spi_atk_bridge_exit_func):
1936 (spi_atk_bridge_property_event_listener):
1937 Changed status, warning, and error messages to use
1938 g_warning, g_message, and DBG macros.
1941 Read the state of the AT_SPI_DEBUG environment variable
1942 and set a local '_dbg' accordingly.
1944 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1946 FIXES for 98836, 98842, other bugs.
1949 Revved to 1.1.4, interface-age=4, binary-age=4.
1951 * registryd/deviceeventcontroller.c:
1953 Fixed crasher bug in last_mouse_pos initialization.
1955 * registryd/registry.c:
1956 (desktop_add_application, desktop_remove_application):
1957 Added (and then commented out) some support for
1958 object context marshalling. [TODO]
1960 * atk-bridge/bridge.c:
1961 (spi_atk_bridge_event_context_create):
1962 Commented out object context creation until it can
1963 be properly tested and debugged.
1965 * registryd/registry.c:
1966 (impl_registry_notify_event):
1967 Fixed crasher bug, we were calling
1968 spi_re_entrant_list_foreach () with an empty list.
1970 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1972 * idl/Accessibility_Action.idl:
1973 * idl/Accessibility_Component.idl:
1974 * idl/Accessibility_Desktop.idl:
1975 * idl/Accessibility_Event.idl:
1976 * idl/Accessibility_Hyperlink.idl:
1977 * idl/Accessibility_Image.idl:
1978 * idl/Accessibility_Relation.idl:
1979 * idl/Accessibility_Selection.idl:
1980 * idl/Accessibility_State.idl:
1981 * idl/Accessibility_Value.idl:
1982 Updated unimplemented slot count to minimum of
1983 four for all interfaces, for ABI freeze.
1985 * idl/Accessibility_EditableText.idl:
1986 * idl/Accessibility_Text.idl:
1987 Updated unimplemented slot count to six
1990 * idl/Accessibility_Registry.idl:
1991 Updated unimplemented slot count to six
1992 (also for DeviceEventController),
1995 * idl/Accessibility_Table.idl:
1996 Updated unimplemented slot count to eight,
1999 * idl/Accessibility_Event.idl:
2000 Added CORBA_any "any_data" member to Event struct.
2002 * idl/Accessibility_Event.idl:
2003 Added CORBA_any "any_data" member to Event struct.
2005 * atk-bridge/bridge.c:
2007 atk_signal_text_changed, atk_signal_child_changed,
2008 signal ids queried from gtype system.
2009 (AtkBridgeEventContextType): New enum.
2010 (AtkBridgeEventContextData): New struct.
2011 (AtkBridgeEventContext): New struct.
2012 (atk_bridge_init_event_type_consts):
2013 New method, initializes type contants for comparison
2014 prior to emit_eventv.
2015 (atk_bridge_event_context_init): New method,
2016 initializes a CORBA_any from an AtkBridgeEventContext.
2017 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2018 initialize the event.any_data struct.
2019 (spi_atk_bridge_event_context_create): New method,
2020 creates an AtkBridgeEventContext from signal/event info.
2021 (spi_atk_bridge_event_context_free): New method.
2022 (spi_atk_emit_eventv): Changed to take an
2023 AtkBridgeEventContext parameter. We now initialize
2024 the event.any_data member prior to notifying the
2025 Registry, via the AtkBridgeEventContext.
2026 (spi_atk_bridge_property_event_listener):
2027 (spi_atk_bridge_state_event_listener):
2028 Match emit_eventv signature.
2029 (spi_atk_bridge_object_event_listener):
2030 Match emit_eventv signature, and create an
2031 event context from the event details.
2032 Free the event context afterwards.
2033 (spi_atk_bridge_window_event_listener):
2034 Create an event context, pass it to the
2038 (AccessibleEvent_getContextString):
2039 (AccessibleEvent_getContextObject):
2040 New methods, allow query of AccessibleEvent objects
2041 for more context details (via the "any_data" member
2042 of the Event struct, above).
2045 Definitions for AccessibleEvent_getContextString
2046 and AccessibleEvent_getContextObject.
2048 * cspi/spi_listener.h:
2049 (InternalEvent): New struct.
2052 (AccessibleEvent_getContextString):
2053 (AccessibleEvent_getContextObject):
2054 Implementations of new methods, for obtaining
2055 additional context information from some event types.
2057 * cspi/spi_registry.c:
2058 (SPI_registerGlobalEventListener):
2059 Added mention of active-descendant-changed event in docs.
2061 * cspi/cspi-bonobo-listener.c:
2063 Marshal the any into the AccessibleEvent via
2066 * libspi/spi-private.h:
2067 #include <orbit/orbit.h>
2069 (spi_init_any_string):
2070 (spi_init_any_object):
2071 New convenience function declarations.
2075 (spi_init_any_string):
2076 (spi_init_any_object):
2077 New convenience function implementations.
2079 * registryd/deviceeventcontroller.c:
2080 (spi_poll_dec_mouse_moved):
2081 (spi_device_event_controller_forward_mous_event):
2082 Initialize any_data member of event.
2083 (spi_deregister_controller_device_listener):
2084 Fix incorrect param pass which was preventing deregistration.
2086 * registryd/registry.c:
2087 (desktop_add_application):
2088 (desktop_remove_application):
2089 Add object data to event's any_data before dispatch.
2091 Fix for error messages from GAIL.
2093 * test/event-listener-test.c:
2094 Test new ContextString and "any_data" API:
2095 (report_text_event): New method query and output context string.
2096 (main): register a new text listener with report_text_event
2099 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2101 Fixes for bugs 98127 and 97914.
2102 * cspi/spi-roletypes.h:
2103 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2105 * cspi/spi-statetypes.h:
2106 Added SPI_STATE_MANAGES_DESCENDANTS
2108 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2109 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2110 * cspi/spi_accessible.c:
2111 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2112 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2113 Accessibility_STATE_MANAGES_DESCENDANTS
2114 * libspi/accessible.c:
2115 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2116 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2117 As requested by Bill, I also cleaned up the alignment.
2118 * libspi/relation.c:
2119 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2120 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2121 * libspi/stateset.c:
2122 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2123 Accessibility_STATE_MANAGES_DESCENDANTS
2124 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2125 Document changes reflecting modifications to roles.
2126 * docs/reference/cspi/tmpl/spi_relation.sgml:
2127 Document changes reflecting modifications to relations.
2128 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2129 Document changes reflecting modifications to states.
2131 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2134 Revved to 1.1.3, interface-age=3, binary-age=3.
2135 Added REBUILD macro.
2138 Removed accessx-gui from the tests, since we have a nice
2139 keyboard accessibility capplet now :-)
2141 * test/keysynth-demo.c:
2142 (increment_scan): removed do-nothing default: case,
2145 * test/visual-bell.c:
2146 (main) : removed do-nothing default: case,
2149 * cspi/spi_action.c:
2150 (AccessibleAction_getKeyBinding_):
2151 Documented keybinding string format.
2155 (AccessibleText_getAttributes):
2156 Documented the text attribute string format.
2157 It's changed to use semicolon delimiters also,
2158 to prevent clashes with CSS attributes, but the old
2159 trick of looking for ", " strings will still work
2160 (as unreliably as ever). Fix for bug related to 97916.
2163 Include <cspi/bonobo/cspi-bonobo-listener.h>
2164 Fixes build warning.
2165 (SPI_freeAccessibleKeySet):
2166 (AccessibleKeystrokeListener_addCallback):
2167 (AccessibleKeystrokeListener_removeCallback):
2168 Modify to use AccessibleDeviceListener API internally,
2169 instead of AccessibleKeystrokeListener.
2171 * idl/Accessibility_Event.idl:
2172 Added two more empty slots to EventListener (for a total of four).
2174 * idl/Accessibility_Accessible.idl:
2175 Added four empty slots to Accessible interface.
2177 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2179 * idl/Accessibility_Registry.idl:
2180 (KeyEventType, EventType):
2181 Marked KeyEventType as deprecated; it duplicates
2182 functionality of EventType, which has been extended to
2183 include Mouse-button events.
2184 (KeyEventTypeSeq): defined in terms of EventType.
2185 (registerDeviceEventListener, deregisterDeviceEventListener):
2186 New methods, for managing listeners to device events,
2187 which potentially may consume them.
2190 Added definition for AccessibleDeviceListener.
2192 * cspi/spi-listener.h:
2193 (enum AccessibleDeviceEventType):
2194 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2195 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2196 for backwards compat.
2197 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2198 and typedef'd AccessibleKeystroke to it for back-compat.
2199 (AccessibleDeviceListenerCB):
2200 New function prototype typedef.
2203 (AccessibleDeviceEventMask): New typedef.
2204 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2205 (AccessibleKeyMaskType):
2206 Set equivalent to AccessibleModifierMaskType for back-compat.
2207 (SPI_createAccessibleKeystrokeListener):
2208 (AccessibleKeystrokeListener_unref):
2209 Deprecated in favor of equivalent (better-named) new API below..
2210 keystroke listeners are like all device listeners.
2211 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2212 New API names for old features :-).
2213 (AccessibleDeviceListener_addCallback):
2214 (AccessibleDeviceListener_removeCallback):
2215 (SPI_registerDeviceEventListener):
2216 (SPI_deregisterDeviceEventListener):
2220 (SPI_createAccessibleKeystrokeListener):
2221 Use new preferred API, cspi_device_listener_new() and
2222 cspi_device_listener_add_cb().
2223 (AccessibleKeystrokeListener_removeCallback):
2224 Use new preferred API, cspi_device_listener_remove_cb().
2225 (AccessibleKeystrokeListener_unref):
2226 Use new preferred API, cspi_device_listener_unref().
2227 (SPI_createAccessibleDeviceListener):
2228 (AccessibleDeviceListener_addCallback):
2229 (AccessibleDeviceListener_removeCallback):
2230 Implementation of new API.
2232 * cspi/spi_registry.c:
2233 (SPI_registerDeviceEventListener):
2234 (SPI_deregisterDeviceEventListener):
2235 Implementation of new API. Fixed memory leak and removed need to
2236 allocate EventTypeSeq (thanks Michael for catching this).
2237 Squashed a wayward CORBA_exception_free that shouldn't get called.
2239 * cspi/bonobo/cspi-bonobo-listener.c:
2241 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2242 (cspi_key_event): renamed to cspi_device_event().
2243 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2244 Extended to handle mouse button events as well as key events.
2245 (CSpiKeystrokeListener):
2246 Class superceded by CSpiDeviceListener.
2247 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2248 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2250 * cspi/bonobo/cspi-bonobo-listener.h:
2251 (CSpiKeystrokeListener):
2252 Class superceded by CSpiDeviceListener.
2253 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2254 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2256 * libspi/Makefile.am:
2257 Replaced keystrokelistener.h and keystrokelistener.c
2258 with devicelistener.h and devicelistener.c; keystrokelisener.h
2259 stub retained for back-compat.
2261 * libspi/keystrokelistener.c:
2265 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2267 * registryd/deviceeventcontroller.c:
2268 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2269 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2270 (DEControllerPrivateData): Added xkb settings data.
2271 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2272 button release events (which can't be captured via XGrabButton).
2273 Don't dispatch via the 'normal' event mechanism if the device event was
2275 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2276 Handle the typeseq data in its new location (see above).
2277 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2278 New methods, for "generic" device listeners.
2279 (spi_controller_register_device_listener):
2280 Now handle mouse event listeners as well as key listeners.
2281 (spi_controller_notify_mouselisteners):
2282 New internal method.
2283 (spi_device_event_controller_forward_mouse_event):
2284 Now we notify mouse device listeners as well as generating the
2285 non-consumable "mouse:" events.
2287 We must check and restore the XKB
2288 modifier map if we consume the event, since the act of triggering
2289 a mouse event will normally reset the XKB latch. This is required for
2291 (spi_controller_register_with_devices):
2292 Load the XKB settings when registering, and register for XKB
2293 state notify events.
2294 (spi_key_eventtype_seq_contains_event):
2295 Renamed spi_eventtype_seq_contains_event, since it's used
2296 internally for all device event types now.
2297 (spi_key_event_matches_listener):
2298 Uses spi_eventtype_seq_contains_event now.
2299 (spi_device_event_controller_object_finalize):
2300 Free the private data and the XkbKeyboard struct.
2301 (impl_register_device_listener, impl_deregister_device_listener):
2302 Implementation of new IDL.
2303 (spi_deregister_controller_device_listener):
2304 New internal method.
2305 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2306 More efficient implementation, we don't have to create a new
2307 XkbControls structure every time we query.
2308 (spi_device_event_controller_class_init):
2309 Initialize the epv entries for the new IDL. Assign the
2310 "spi-dec-private" quark.
2311 (spi_device_event_controller_init):
2312 Initialize the private data.
2313 (spi_device_event_controller_forward_key_event):
2314 Removed a bogus CORBA_exception_free() call.
2316 * registryd/deviceeventcontroller.h:
2317 Replaced inclusion of keystrokelistener.h with
2320 * test/event-listener-test.c:
2321 (report_mouse_event):
2324 Added mouse-event device listener.
2326 * test/test-simple.c:
2327 (create_test_window):
2328 Fixed regression (we were instantiating a GtkRange,
2329 which is now an abstract class). Also fixed to match
2330 existing AtkRole names, this seems to have changed in ATK
2331 awhile ago; too late now I think, and the new
2332 mechanism is at least elegant and consistent with the
2333 glib enum "nick" APIs.
2335 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2337 * idl/Accessibility_Relation.idl:
2338 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2339 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2340 * idl/Accessibility_Role.idl:
2341 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2342 * idl/Accessibility_State.idl:
2343 add STATE_MANAGES_DESCENDANTS
2344 * test/event-listener-test.c:
2345 Added a listener for active-descendant events.
2347 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2349 * atk-bridge/bridge.c
2350 (atk_bridge_init): If application is Bonobo component wait until top
2351 level is added before registering
2352 (spi_atk_bridge_do_registration): New function which contains code,
2353 formerly in atk_bridge_init, to do application registration.
2354 (spi_atk_bridge_toplevel_added): Signal called when top level
2355 added to Bonobo component
2357 This fixes bug #83134.
2359 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2361 * registryd/deviceeventcontroller.c
2362 Fixed compilation error caused by calling gettimeofday()
2365 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2370 Added template for HAVE_XKB.
2373 Changes to check for XKB, and to set the HAVE_XKB #define if it
2376 * libspi/listener.c:
2377 ()impl_notify_event): Make failure to get event source name
2380 * registryd/deviceeventcontroller.c:
2381 (#include): include X11/XKBlib.h.
2382 (DEControllerPrivateData) : New struct.
2383 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2385 (dec_synth_keycode_press) (dec_synth_keycode_release):
2386 New methods; split the key synthesis code into these methods.
2387 They check XKB settings before determining the "time" values to
2388 pass to Xtest; this fixes bug #95828.
2389 (impl_generate_keyboard_event): Changed to use methods above,
2390 instead of callng Xtest directly.
2391 (spi_device_event_controller_init): Initialize new privae struct s
2393 (spi_device_event_controllr_object_finalize):
2394 Free the (new) private data.
2396 * registryd/deviceeventcontroller.h:
2397 Add new gpointer to end of struct data.
2399 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2402 Incremented revision to 1.1.2, SONAME is still '.so', library
2403 extensions are ".so.0.0.2".
2405 * registryd/deviceeventcontroller.c:
2406 FIXES FOR #93592 and #95940.
2407 (statics): renamed mouse_button_state to mouse_mask_state,
2408 added key_modifier_mask.
2409 (spi_dec_poll_mouse_moved):
2410 Added key modifier checks, and emit "keyboard:modifiers"
2411 events when the key modifiers currently in use change.
2412 Also generate "mouse:abs" events periodically, even if the mouse
2413 is stationary (should we?).
2414 Alternatively we could generate "mouse:abs" events for either all
2415 mouse movements, or every 'nth' mouse movement, or at the
2416 beginning and end of every "active" mouse period.
2418 * test/event-listener-test.c:
2419 (main): Added listener for "keyboard:modifiers" events.
2421 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2423 * libspi/keymasks.h:
2424 Added key mask #defines for mouse buttons; e.g.
2425 SPI_KEYMASK_BUTTON1, etc.
2428 Incremented dependency on ATK to version 1.1.0. (This dependency
2429 is probably premature but will soon be real enough).
2431 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2433 * libspi/hyperlink.[ch]
2434 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2435 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2438 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2443 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2445 * registryd/deviceeventcontroller.c
2446 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2447 events to be ignored.
2448 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2449 keyboard_mode so that XAllowEvents() can be called.
2453 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2455 * cspi/spi-accessible.c: Correct names of roles returned by
2456 AccessibleRole_getName(). Fixes bug #95055.
2458 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2460 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2463 * registryd/registry.c
2464 (desktop_remove_application: Write diagnostic message to stderr for
2467 (impl_accessibility_registry_deregister_global_event_listener):
2468 Correct size of lists array. This addresses bug #94555).
2470 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2472 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2475 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2477 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2480 * registryd/registry.c (impl_registry_notify_event): Remove
2481 unnecessary call to parser_event_type().
2483 * docs/reference/cspi/tmpl/spi_component.sgml:
2484 Add reference to SPI_LAYER_WINDOW.
2486 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2488 * registryd/registry.c
2489 (desktop_add_application): Remove leak.
2490 (desktop_remove_application): Remove leak.
2491 (parser_event_type): Remove leak.
2493 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2495 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2496 bogus call to CORBA_string_dup(). Also removed unnecessary
2497 g_string_dup/g_free calls.
2499 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2501 * registryd/deviceeventcontroller.c:
2502 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2504 * test/event-listener-test.c:
2505 main: commented out three redundant listeners, to reduce output
2506 noise. (They still are potentially useful for testing).
2509 2002-09-13 Michael Meeks <michael@ximian.com>
2511 * Update all the copyrights to include Ximian.
2513 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2515 * cspi/spi.h: add SPI_LAYER_WINDOW.
2517 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2518 add Accessibility_LAYER_WINDOW case.
2520 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2522 * libspi/component.c: (impl_accessibility_component_get_layer):
2523 add ATK_LAYER_WINDOW case.
2525 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2527 * configure.in: incremented micro version.
2529 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2531 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2534 Clarified and reworded our commit policy.
2537 Started an API "todo" addition list for 2.2.
2540 (impl_getSelection):
2541 Free char pointer from atk_text_get_selection, which was being leaked.
2543 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2546 Small revision to author acknowledgement.
2548 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2550 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2551 If signal has detail add it to the type of the event.
2554 2002-08-12 Michael Meeks <michael@ximian.com>
2556 * test/test-simple.c (global_listener_cb): bin bogosity.
2557 (test_keylisteners): disable, still doesn't work reliably,
2558 certainly not on my system anyway.
2560 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2561 don't leak a reference on the DEC. This round-trip
2562 fetching of the DEC per keystroke sucks, it should be
2565 * cspi/spi-private.h,
2566 * cspi/cspi-lowlevel.h,
2567 * cspi/bonobo/cspi-bonobo-listener.[ch],
2568 * cspi/bonobo/cspi-bonobo.c: get the copyright
2569 notices better - there is still a large amount of
2570 work in at-spi falsely attributed solely to Sun.
2572 * cspi/spi_main.c (cspi_object_ref): kill bogus
2573 hash lookup, just increment the ref.
2574 (SPI_freeString): make explicit the fact that we
2575 handle NULL strings just fine.
2576 (report_leaked_ref): obey coding standards.
2577 (cspi_object_hash, cspi_object_equal): kill retval.
2578 (cspi_object_release): only release if not on loan.
2579 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2580 (cspi_object_borrow, cspi_object_return): impl.
2582 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2583 use cspi_object_borrow / return.
2585 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2587 * cspi/bonobo/cspi-bonobo-listener.c:
2589 Don't call cspi_oject_new() because this is creating a new Accessible
2590 every single time that an event is fired. This causes ATs like at-poke
2591 to nolonger recognise the source of the event and thus ignore it.
2592 Re-use the object from the cache, ref it and then unref it after the
2593 listeners have been called.
2595 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2597 * test/event-listener-test.c:
2598 Added command-line options to disable mouse events (m) and
2601 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2603 * configure.in: Update required versions of ATK, GTK+ and GAIL
2605 * cspi-1.0.pc.in: Add dependency for X include files
2608 * cspi/bonobo/Makefile.am:
2609 Add $(X_CFLAGS) so that X include files
2610 are picked up even if not in standard place (bug #71686)
2612 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2614 * registryd/deviceeventcontroller.c: fix for 84261
2615 (spi_dec_mouse_moved):
2616 Added test of mouse button mask, so that we can detect mouse
2617 button release. Unfortunately we can't otherwise detect mouse
2618 button release events without consuming the mouse press event,
2619 because of the way XGrabButton works. This means that our mouse
2620 release events have a latency dependent on the polling period
2621 while the mouse button is down. At least in this case we only
2622 have to poll while the button is down, and not at other times.
2623 If the button masks don't match with what the last press event
2624 reported, we report the appropriate button release event.
2625 (spi_dec_ungrab_mouse):
2626 New method (not yet called).
2627 (spi_device_event_controller_forward_mouse_event):
2628 New method, sends mouse press event from GdkFilter.
2629 (spi_dec_init_mouse_listener):
2630 Added code to call XGrabButton, redirecting mouse button events to
2631 the root window and our Gdk event loop.
2633 Added code to filter mouse button events, and reordered.
2635 * test/event-listener-test.c:
2637 Added registration for mouse events of type "mouse:button".
2639 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2641 * registryd/deviceeventcontroller.c: partial fix for 84261
2642 (spi_dec_poll_mouse_idle):
2643 New method, a timeout which checks to see if the mouse
2645 (spi_dec_poll_mouse_moving):
2646 A timeout to be called when mouse motion is underway.
2647 (spi_dec_poll_mouse_moved):
2648 A method which fires an event if the mouse has moved, and reports
2649 whether or not it did so.
2650 (spi_dec_init_mouse_listener):
2651 A method which sets up the timeouts above.
2652 (spi_device_event_controller_new):
2653 Now calls spi_dec_init_mouse_listener.
2655 * registryd/registry.c:
2656 (spi_registry_init):
2657 Now we initialize the device event controller when the registry is
2658 initialized, instead of waiting until a client has requested a key
2659 event notification; this is because we need the event controller
2660 for mouse events, but the mouse event registration API is a
2661 "registry" call and doesn't explicitly call the
2662 deviceeventcontroller.
2663 We now report mouse motion events with a 100 ms idle latency and
2664 a 20 ms granularity when motion is in progress.
2666 * test/event-listener-test.c:
2668 We now register the "detail listener" for events of type
2669 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2670 delivered only for the first mouse event received, and thereafter
2671 "mouse:abs" events are delivered.)
2673 * cspi/spi_registry.c:
2674 DOCS: Documented the above mouse event typestrings.
2676 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2678 Happy Summer Solstice...
2680 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2681 (spi_controller_notify_keylisteners):
2682 Changes to remove a listener from the listener list, freeing its
2683 open keygrabs, if a notification to that listener fails. This
2684 means that although a dead listener can continue to hold a passive
2685 keygrab, a maximum of one dispatch to such a listener can fail
2686 before the listener is removed from the list, thus the keygrab
2687 will be released on the next occurrence.
2688 As part of this fix:
2689 (spi_notify_keylisteners):
2690 Renamed to spi_controller_notify_keylisteners, as the controller
2691 instance must now be passed as an argument.
2692 The copied 'notify' GList is now a list of DEControllerKeyListener
2693 objects, since we need more than just the CORBA reference if a
2694 notify fails and we need to deregister the listener.
2695 (impl_notify_listeners_sync):
2696 (impl_notify_listeners_async):
2697 (spi_device_event_controller_forward_key_event):
2698 Modify use of notify_keylisteners in accordance with above
2700 (spi_deregister_controller_key_listener):
2701 New method introduced by refactoring, from
2702 impl_deregister_keystroke_listener.
2703 (impl_deregister_keystroke_listener):
2704 Call spi_deregister_controller_key_listener.
2705 (spi_key_listener_clone):
2706 New method to copy a key listner without doing a 'ref' on the
2707 remote object instance; used to create a notifier list.
2708 (spi_key_listener_data_free):
2709 New method, frees data without unreffing the source.
2711 (spi_key_listener_clone_free): new method.
2712 (spi_key_listener_free):
2713 refactored to call spi_key_listener_data_free.
2715 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2717 * registryd/registry.c: [fix for bug 86048]
2718 (notify_listeners_cb):
2719 Clear CORBA system exceptions which occur when notifying
2720 listeners, before returning to the source of the original event,
2721 since the event source doesn't care if the relayed notify failed.
2722 In other words, don't complain to the atk-bridge if the registry
2723 could not notify all its listeners, that's no fault of the
2724 application and thus should not appear to be an error from the
2725 application's perspective.
2727 * cspi/spi_main.c: [fix for bug 85980]
2729 Replaced use of bonobo_object_dup_ref with call to the wrapper
2730 method, csou_dup_ref (); this silences a compiler warning and
2731 provided more portability.
2733 Ping the registry before return, and restart if necessary.
2735 * cspi/bonobo/cspi-bonobo.c:
2737 New internal method.
2739 Fixed this method to return an object reference, as it should have
2742 * cspi/cspi-lowlevel.h:
2743 Added internal definition for cspi_ping() and fixed
2744 return type of cspi_dup_ref().
2747 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2749 * atk-bridge/bridge.c: [fix for bug 85305]
2750 (spi_atk_bridge_register_application):
2751 New method where the initial application registry calls have been
2752 moved; it allows an application to re-register in response to
2753 certain error conditions (such as a registry restart, see below).
2755 Moved some initialization code to the method
2756 spi_atk_bridge_get_registry, below.
2757 (spi_atk_bridge_get_registry):
2758 New, private accessor function for the Accessibility_Registry
2759 instance. If the registry has not been started before, or has
2760 died (as detected by failure of a CORBA exception), it is
2761 restarted before return, and spi_atk_bridge_register_application
2762 is called again to register with the new bridge instance.
2763 (spi_atk_emit_eventv):
2764 Set registry_died on error; use spi_atk_bridge_get_registry () to
2765 access the registry.
2767 * registryd/registry.c:
2768 (impl_accessibility_registry_register_global_event_listener):
2769 Set listener's event_type_quark to etype.minor instead of
2770 etype.major (fix for bug 84856).
2772 * test/event-listener-test.c:
2773 (report_detail_event):
2774 Change the output string so that user/tester can tell that the
2775 'detail listener' was called instead of the 'generic listener'.
2777 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2779 Fixes for bugs 84900, 84908, 84897, 84898.
2784 Revved version to 1.1.0
2785 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2786 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2788 * idl/Accessibility_Registry.idl:
2789 (EventListener::notifyEvent):
2790 Removed 'oneway' directive after extensive consulation with
2791 ORBit2 team and others. This means also that unref() of the event
2792 source can and should be done synchronously after emission, rather
2793 than remotely in the client, after servicing the notify call on
2796 NOTE: This change speeds up listener performance considerably, but
2797 introduces new latency on the application side. We may want to
2798 add an event queue to the atk-bridge.
2800 * atk-bridge/bridge.c:
2801 (spi_atk_bridge_focus_tracker):
2802 Do a local unref() on the event source after emission.
2804 * registryd/registry.c:
2805 (desktop_remove_application):
2806 Do an unref() on the event source after emission.
2807 (desktop_add_application):
2808 Do an unref() on the event source after emission.
2809 (notify_listeners_cb):
2810 When relaying an event, don't automatically add the event source
2811 to the local object cache, just CORBA_dup it instead. Likewise,
2812 if this method reenters, release the ref rather than calling
2814 (impl_registry_notify_event):
2815 No longer call remote unref() on the event source after dispatch.
2817 * libspi/eventlistener.c:
2818 (impl_accessible_event_notify_event):
2819 Removed remote unref ()
2821 * cspi/bonobo/cspi-bonobo-listener.c:
2823 We now call cspi_object_new() instead of cspi_object_add() on
2824 receipt of an event; thus we only have an implicit object ref
2825 while the cspi_event method is being executed. If we need to keep
2826 a reference to the object, the listener must call ref() on the
2827 object. Thus also we don't need to call cspi_object_unref() after
2828 invoking the listener callbacks in this method.
2832 New internal API for creating a new cspi object, without adding it
2833 to the object cache.
2835 Now uses cspi_object_new() to create the cspi object instance.
2837 Now checks to see if the object is in the internal object cache,
2838 and adds it if necessary before incrementing its refcount (note
2839 that new objects are added with a refcount of 1).
2840 (report_leaked_ref):
2841 New method which gives some information on leaked object instances
2842 if leak detection is turned on.
2844 * test/event-listener-test.c:
2845 (timing_test_event):
2846 New method, used for testing event delivery timing for special
2847 events of type "object:test". It reports elapsed time and
2848 events/sec every 500 events.
2850 Added a new listener, 'test listener', to check timing of event
2851 receipt as noted above.
2853 Added some timing output here also, reports elapsed time every 100
2856 * test/stress-test.c:
2857 Emit events of type "object:test", for use with "event-listener-test".
2859 * test/test-simple.c:
2860 (global_listener_cb):
2861 Call Accessible_ref() on the event source before calling
2862 validate_accessible, since the validation process does pointer
2863 comparisons on the event source, meaning that the event source
2864 needs to be added to the local object cache first. Any use of
2865 such pointer comparisons between Accessible objects requires that
2866 the caller hold an explicit reference to those objects.
2867 We also must therefore call Accessible_unref() when leaving this method.
2869 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2871 * registryd/deviceeventcontroller.c:
2872 (spi_controller_update_key_grabs):
2873 Fix for #84735, subsequent keygrab listeners not informed of
2874 registration failure.
2877 (spi_base_construct):
2878 Add an assertion on construct, to make sure the GObject passed in
2879 is really a GObject.
2881 Explicitly initialize object->gobj pointer to NULL;
2883 * cspi/bonobo/cspi-bonobo-listener.c:
2884 (cspi_object_add_ref):
2885 New method, can specify whether to dup-ref a bonobo object passed
2886 in if it's newly added to the object cache.
2888 Now calls cspi_object_add_ref with second param of "FALSE". This
2889 prevents us from doing a pointless dup-ref followed by
2890 release-unref for all those cases where the object is already in
2891 our object cache (fix for #85205).
2893 * atk-bridge/bridge.c:
2894 (spi_atk_bridge_idle_init):
2895 Removed this method, we don't need to initialize in an idle
2898 Changed to call spi_atk_register_event_listeners directly, not via an
2899 idle handler. (fix for #81139)
2900 (gnome_accessibility_module_shutdown):
2901 Removed conditional around deregistration of listeners, since we
2902 don't use the idle handler and thus have always registered when
2904 (spi_init_keystroke_from_atk_key_event):
2905 Changed references to Accessibility_KEY_PRESSED to
2906 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2908 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2910 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2915 * test/stress-test.c:
2918 (may have been an incomplete commit yesterday?)
2920 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2923 Added target for new stress-test.
2925 * test/stress-test.c:
2926 New test, sends 1000 focus notifies in quick succession.
2928 * test/key-listener-test.c:
2929 Now we report whether a keylistener registration
2930 request succeeded or failed.
2932 * test/event-listener-test.c:
2933 Uncommented some listeners which are now implemented.
2936 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2938 * registryd/deviceeventcontroller.c:
2939 (spi_controller_update_key_grabs):
2940 Fix for #82509, lack of failure notification when
2941 ALL_WINDOWS keygrabs fail due to XGrabKey
2942 failure: we synchronize the server when
2943 registering a passive grab, to make sure we get the
2944 error message before the call returns.
2946 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2948 * test/test-simple.c:
2950 Removed #ifdef KEY_IMPL_WORKS guards.
2951 (test_keylisteners):
2952 Removed #ifdef KEY_IMPL_WORKS guards.
2953 Fixed bug which was causing a hang waiting for a
2954 "press" event (which was already overwritten by a "release"
2955 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2957 Added code to set globals 'key_press_received' and
2958 'key_release_received'.
2961 Added section "1.1 API Proposed Additions" which
2962 lists API additions desired for at-spi-1.1 (only one so far).
2963 Updated TODO list a little.
2965 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2967 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2970 * configure.in: Revved to 1.0.0.
2972 * idl/Accessibility_Registry.idl:
2973 (registerKeystrokeListener):
2974 Added boolean return value.
2976 * registryd/registry.c:
2977 (notify_listeners_cb): Minor fix to debug output.
2979 * registryd/Accessibility_Registry.server.in.in:
2980 Revved version number in OAFIID to 1.0.
2982 * registryd/registryd.c:
2984 Use new OAFIID version.
2986 * cspi/bonobo/cspi-bonobo.c:
2988 Use new OAFIID version.
2994 * atk-bridge/bridge.c:
2996 Use new OAFIID version.
2998 * registryd/deviceeventcontroller.c:
2999 (impl_register_keystroke_listener):
3000 Added CORBA_boolean return value.
3001 (spi_controller_register_device_listener):
3002 Added gboolean return value.
3003 (spi_controller_register_global_keygrabs):
3004 Added gboolean return value.
3005 (spi_key_set_contains_key):
3006 Added implementation for many more control keys,
3007 for instance F1-F12, arrow keys, End, Home, Page_Up,
3009 [TODO: some still not implemented].
3011 * text/screen-review-test.c:
3012 (text_chunk_pad_string):
3013 New function: it provides mapping between coordinate
3014 positions of text chunks and character positions in the
3015 screen-review-line output string.
3016 (text_chunk_to_string):
3017 New function, calls text_chunk_pad_string with various
3018 pad/delimiter characters. Pushbuttons are delimited with
3019 square brackets, Frames with vertical 'pipe' lines, and
3020 other text with double quotes.
3021 (text_chunk_list_to_string):
3022 Calls new function text_chunk_to_string.
3023 (toplevel_composite):
3024 New function to composite layers CANVAS through
3025 POPUP in each toplevel (other layers are composited
3026 across toplevels, i.e. BACKGROUND and OVERLAY).
3027 (review_buffer_composite):
3028 Revise to use new methods.
3034 2002-05-31 Laszlo Peter <laca@sun.com>
3036 * configure.in: add the Xtst libdir to the runpath on Solaris,
3037 since it's not in the default library search path.
3039 2002-05-29 jacob berkman <jacob@ximian.com>
3041 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3043 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3045 * test/screen-review-test.c:
3046 (text_chunk_pad_string):
3047 Added method, which pads the string according to the
3048 text bounds of the chunk. It also takes a 3-character
3049 string as a param which indicates the characters to be
3050 used for start, padding, and end delimitation of the chunk.
3051 (text_chunk_to_string):
3052 Changed to use text_chunk_pad_string.
3054 * configure.in: Fixed bug in AC_OUTPUT that was
3055 causing path substitution in Accessibility_Registry.server
3058 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3060 * text/screen-review-test.c:
3061 (guess_string_clip):
3062 New method which attempts a best-guess at clipping
3063 text from components (like Java labels) which don't
3064 actually implement AccessibleText. This inaccurate
3065 clip is based on the assumption that the label is
3066 justified left-and-right, and monospaced.
3067 (text_chunk_get_clipped_string):
3068 We now call guess_string_clip() for text-containing
3069 components that don't implement AccessibleText.
3071 * test/screen-review-test.c:
3072 (review_buffer_get_text_chunk):
3073 We now pull "name" from labels if they do not implement
3074 AccessibleText (i.e. for Java labels).
3075 (get_screen_review_line_at):
3076 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3079 Replaceded AC_OUTPUT target
3080 registryd/Accessibility_Registry.server with
3081 registryd/Accessibility_Registry.server.in.
3083 * registryd/Accessibility_Registry.server.in:
3084 Removed (this is now a Makefile target).
3086 * registryd/Accessibility_Registry.server.in.in:
3087 Added (source for target above). We now use $(libexecdir) as
3088 prefix for the executable at-spi-registryd.
3090 * registry/Makefile.am:
3091 Now install at-spi-registryd into $(libexecdir), and build .server
3092 file with path (see above).
3094 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3096 * test/screen-review-test.c:
3097 (text_chunk_get_clipped_string):
3098 We now check to see if words fall within clip bounds
3099 before resorting to character-by-character clip bounds testing.
3101 * TODO: Added a section for "2.2 Proposed API Additions".
3103 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3105 * test/screen-review-test.c:
3107 Added a screen review benchmarking and test program to test
3110 * cspi/spi_accessible.c:
3112 Made some of the debug strings passed to cspi_check_ev a
3113 little more specific.
3115 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3117 * test/screen-review-test.c: Fix crashes in debug statements
3119 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3121 * test/screen-review-test.c: Added this file.
3123 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3125 * atk-bridge/bridge.c: changed "object:state-change" to
3126 "object:state-changed" to match docs.
3128 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3130 * atk-bridge/bridge.c: Hooked up state-change event details.
3132 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3134 * registryd/registry.c:
3135 Fixed quarking bug in event string parsing; now events with
3136 detail parameters get matched correctly to listeners.
3139 * util/idl/Magnifier.idl: remove.
3141 * util/*.[ch]: Remove.
3142 Magnification utilities and IDL are now in module gnome-mag.
3144 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3146 * registryd/deviceeventcontroller.c:
3147 Fixed bug in grab key conversion which was causing keycode grabs
3148 to be converted to AnyKey grabs.
3151 updated NEWS file to reflect recent spin-off of gnome-mag.
3153 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3155 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3156 busted AccessibleStateSet_compare. Removed redundant casts.
3158 * cspi/spi-action.c: Removed redundant casts.
3160 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3162 * cspi/spi_component.c: Fixed typos and casting error.
3164 * cspi/spi_editabletext.c: Removed redundant casts.
3166 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3168 * cspi/spi_hypertext.c: Eliminated redundant casts.
3170 * cspi/spi_image.c: Eliminated redundant casts.
3172 * cspi/spi_registry.c: Eliminated redundant casts.
3173 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3174 * cspi/spi_selection.c: Removed redundant casts.
3175 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3176 handling. Screen geometry and text offsets were being returned as 0
3177 on error which is technically valid-- changed these to return -1.
3178 Added marshaller for text boundary types to fix bug with boundary
3179 types being passed incorrectly to atk.
3181 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3184 * cspi/spi_registry.c:
3185 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3186 which was uncovered by the recent key changes.
3188 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3190 * test/event-listener-test.c:
3192 Added new test, "event-listener-test";
3193 this code does two things; it benchmarks traversal time
3194 for the accessible hierarchy for the first running accessible
3195 app, and it connects listeners for all supported event types.
3196 It is thus useful as an example event listener and for
3197 diagnostics/debugging of event generation.
3199 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3202 Removed unnecessary dependency on libutil.
3205 Revved micro version: 0.13.1
3207 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3210 Removed util/Makefile from targets.
3213 Removed util subdir from SUBDIRS (temporarily,
3214 pending removal of magnifier-only code
3218 #ifdef-ed out magnifier dependencies, since
3219 magnifier IDL, headers, and binary now live in
3220 module gnome-mag and we don't want at-spi to depend
3221 on gnome-mag. A magnifier demo which can run alongside
3222 simple-at is forthcoming in the gnome-mag module.
3224 NOTE: Split magnifier binary, IDL, and magnification
3225 activation code from at-spi into module gnome-mag.
3227 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3229 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3230 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3232 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3235 Revved to version 0.13.0
3237 * idl/Accessibility_Registry.idl:
3238 Changed definition of KeySet from sequence of longs to sequence of
3239 KeyDefinitions, and added KeyDefinition struct.
3240 Required for fix to bug 80616.
3242 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3243 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3244 to use new definition (see above).
3246 * registryd/deviceeventcontroller.c: handle_keygrab(),
3247 spi_keyset_contains_key():
3248 Changed to make use of new struct; this allows matching based on
3249 string key-name, for instance "Tab". This also allows matching of
3250 composed characters, non-alphanumeric characters in a way that
3251 doesn't involve dependencies on X keysym codes directly, etc.
3253 * test/key-listener-test.c:
3254 Added test for Alt-Tab key using "string" specification of keyset,
3255 and modified one of the tests to use a keycode-based keyset.
3256 Thus this test both tests and demonstrates the creation and use of
3257 keysets of three forms: specified via keycode array,
3258 keysym array, and string array. (The string case only contains a
3259 single string, i.e. a string array of length 1).
3262 Turned on PRINT_TREE option by default. Also fixed a
3263 string-freeing bug in the PRINT_TREE code.
3264 Added a listener to window:minimize events.
3266 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3268 * atk-bridge/bridge.c:
3269 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3270 for window:activate and window:deactiveate
3271 (atk_bridge_property_event_listener atk_bridge_signal_listener
3272 atk_bridge_window_event_listener) Tidy debug code
3274 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3276 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3277 Fixed handling for NULL return value from ATK.
3279 * libspi/action.c libspi/component.c libspi/editabletext.
3280 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3281 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3282 Removed redundant casts.
3284 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3285 Fixed off by one bug.
3287 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3288 function not present in idl)
3290 2002-05-02 jacob berkman <jacob@ximian.com>
3292 * atk-bridge/Makefile.am: make atk-bridge a real module
3294 2002-04-26 Radek Doulik <rodo@ximian.com>
3296 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3297 atk_state_types table
3299 2002-04-22 jacob berkman <jacob@ximian.com>
3302 * libspi/Makefile.am: add deps on the built files to help
3303 automake, and don't version the ORBit typelib
3305 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3307 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3308 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3309 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3310 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3311 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3312 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3313 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3314 libspi/accessible.h libspi/accessible.h libspi/base.h
3315 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3316 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3317 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3318 libspi/spi-private.h libspi/statetset.h libspi/table.h
3319 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3320 util/mag_client.h util/mag_control.c util/mag_image.c
3321 util/mag_image.h util/magnifier.c util/magnifier.h:
3322 Add missing file headers; standardize existing ones
3324 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3326 * atk-bridge/bridge.c: Added window event support.
3328 2002-04-18 Michael Meeks <michael@ximian.com>
3330 * libspi/relation.c (impl_getNTargets): impl.
3331 (impl_getTarget): impl.
3333 * libspi/Makefile.am: fix stateset install.
3335 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3338 Started putting useful info in this file.
3340 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3342 * atk-bridge/bridge.c:
3343 Propagate state-changed notifications to ATs
3345 * cspi/spi_registry.c: update docs to reflect actual behavior of
3346 state-change events.
3348 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3351 Incremented version to 0.12.1
3353 * util/mag_client.h:
3354 Add missing declaration for magnifier_exit,
3355 used by mag_control.c - Forte compiler didn't like
3356 the implicit redeclaration of the function :-(
3359 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3362 Revved version to 0.12 due to API change (see below).
3364 * cspi/spi-roletypes.h:
3365 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3366 definition from the inline docs, and added docs
3367 for SPI_ROLE_LAST_DEFINED.
3370 * cspi/spi_streamablecontent.c:
3371 Added missing seek_type parameter to
3372 (so far unused) method,
3373 AccessibleStreamableContent_seek().
3374 [ RT approval JodyG. ]
3377 Fixed docs for SPI_createAccessibleKeystrokeListener.
3379 * cspi/spi_registry.c:
3380 Fixed docs for SPI_KEYSET_ALL_KEYS.
3382 * docs/reference/cspi/at-spi-cspi-sections.txt:
3383 Added a number of missing APIs to SECTIONS.
3385 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3387 * registryd/Makefile.am:
3389 * cspi/bonobo/Makefile.am:
3390 Add $(X_LIBS) to makefiles.
3392 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3395 Revved version to 0.11.
3397 * libspi/component.c:
3398 Added implementation for grabFocus.
3400 * idl/Accessibility_Component.idl
3401 (Accessibility_Component_grabFocus):
3402 Made this method return boolean to indicate success or failure, to
3403 be consistent with cspi and the corresponding ATK method.
3405 * idl/Accessibility_Selection.idl
3406 (Accessibility_Selection_selectAll) :
3407 Made these methods return boolean to indicate success or
3408 failure, to be consistent with cspi and the corresponding ATK methods.
3410 * idl/Accessibility_EditableText.idl
3411 (Accessibility_EditableText_setTextContents,
3412 Accessibility_EditableText_insertText,
3413 Accessibility_EditableText_cutText,
3414 Accessibility_EditableText_deleteText,
3415 Accessibility_EditableText_pasteText):
3416 Made these methods return boolean to indicate
3419 * cspi/spi_editabletext.c:
3420 Made these methods return booleans.
3422 * libspi/selection.c:
3423 * libspi/component.c:
3424 * libspi/editabletext.c:
3425 Connected the boolean returns from ATK
3426 to the server-side code referenced above.
3428 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3430 * idl/Accessibility_Table.idl: Added missing methods,
3431 Accessibility_Table_addRowSelection,
3432 Accessibility_Table_addColumnSelection,
3433 Accessibility_Table_removeRowSelection,
3434 Accessibility_Table_removeColumnSelection.
3437 Added C wrappers for above IDL:
3438 AccessibleTable_addRowSelection,
3439 AccessibleTable_addColumnSelection,
3440 AccessibleTable_removeRowSelection,
3441 AccessibleTable_removeColumnSelection.
3444 Added server-side implementation code for IDL above, connecting
3445 to pre-existing ATK api.
3447 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3449 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3451 * libspi/accessible.c: Added implementation fo
3452 Accessibility_Accessible_get_state.
3454 * libspi/libspi.h: Added stateset.h to the list of includes.
3456 * libspi/stateset.c: Fixed broken implementation.
3458 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3461 Added implementation code for Accessibility_Magnifier_exit ().
3463 * util/mag_control.c:
3464 Added test code for above method; you can
3465 now kill an existing magnifier via
3466 ./mag_control q, from the util directory.
3468 * test/key-listener-test.c:
3470 Added a new test, for our key listener API.
3472 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3474 * test/app.c, test/keysynth-demo.c:
3476 Replace use of snprintf with g_snprintf.
3477 (fix for bugzilla 78249)
3479 2002-03-27 Michael Meeks <michael@ximian.com>
3483 * util/Makefile.am (INCLUDES): fix.
3484 (DONT_DIST_SOURCE): don't distribute the
3487 * libspi/Makefile.am (dist-hook): ditto.
3489 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3491 * libspi/hypertext.c:
3492 Fix warnings when yelp is used with atk-bridge
3494 2002-03-21 Michael Meeks <michael@ximian.com>
3496 * libspi/application.c (spi_application_new):
3497 use spi_accessible_construct so we use the AtkObject
3500 2002-03-19 Michael Meeks <michael@ximian.com>
3502 * registryd/registry.c (desktop_remove_application),
3503 (desktop_add_application): clean coding style.
3505 * registryd/desktop.c (spi_desktop_remove_application),
3506 (spi_desktop_add_application): kill re-enterency hazards.
3507 (spi_desktop_dispose): remove bogus redundant cast
3508 obscuring bug; fix bug too.
3509 (spi_desktop_init): make the desktop object immortal.
3511 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3514 Added a #define-guarded tree-traversal step
3515 when enumerating the apps (diagnostic tool).
3517 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3519 * idl/Accessibility_Role.idl:
3520 Added ROLE_DRAWING_AREA which seemed to be missing from the
3523 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3525 * cspi/spi-roletypes.h cspi/spi_accessible.c
3526 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3529 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3530 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3531 AT when applications are added and removed from the desktop. This
3532 reverts the previous broken implementation using the backing
3533 AtkObject for the SpiDesktop.
3535 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3537 * registryd/desktop.c: emit the "children-changed::add" and
3538 "children-changed::remove" signals on the backing ATK object for
3539 the desktop so AT can tell when applications are started and shut
3542 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3544 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3546 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3548 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3550 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3552 * cspi/state-types.h: synched with IDL and ATK
3554 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3556 * libspi/accessible.c
3557 (impl_accessibility_accessible_get_child_at_index):
3558 Change return value for g_return_if_fail ()
3559 to CORBA_OBJECT_NIL instead of "0" (!)
3561 * registryd/Makefile.am:
3562 * registryd/Accessibility_Register.server.in:
3563 Changed name of executable, "registryd",
3564 to something more informative:
3567 2002-03-13 Michael Meeks <michael@ximian.com>
3569 * atk-bridge/bridge.c (atk_bridge_init): don't register
3570 if we're in a bonobo-component, rather than a bonobo app.
3572 2002-03-13 Michael Meeks <michael@ximian.com>
3574 * atk-bridge/bridge.c (gtk_module_init): split
3575 out body to (atk_bridge_init): here, since otherwise
3576 we get symbol conflicts and oddness when invoked
3577 from (gnome_accessibility_module_init): here (upd.)
3579 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3582 New file. Explicitly allow "build sheriff" putbacks provided
3583 they are tested on Solaris.
3585 * docs/reference/cspi/Makefile.am:
3586 Added '-' to the "cp" command for index.sgml.
3587 ("patch by thomasvs, soon coming to a GUADEC near you")
3590 Incremented version number (0.9.0) for new release.
3591 Changed macro that checks for popt, to better detect
3592 obsolete versions of popt.
3595 Added X_LIBS to AC_SUBST, for applications
3596 that call Xlib API directly.
3599 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3602 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3605 Fix regression caused by hard-coding major
3606 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3609 * test/test-simple.c (test_editable_text),
3610 (test_test): revert previous change (error was
3611 a regression in gail which is now fixed).
3613 2002-03-04 Michael Meeks <michael@ximian.com>
3615 * test/test-simple.c (test_editable_text),
3616 (test_text): pass G_MAXINT instead of '-1' for
3617 whole string - is this a good thing !?
3619 * cspi/spi_accessible.c
3620 (Accessible_getRelationSet): fix crasher bug
3621 overwriting the end of the array.
3623 * test/test-simple.c (validate_accessible): free,
3624 not g_free returned relation set.
3626 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3628 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3629 implemented stateset support
3631 * idl/Accessibility_State.idl: Made necessary changes to
3632 the IDL to support state sets.
3634 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3636 * registryd/deviceeventcontroller.c:
3637 Added implementation for generateMouseEvent.
3639 * cspi/spi_registry.c:
3640 Connected new implementation for generateMouseEvent
3643 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3646 Incremented revision (but no change in public API
3647 outside of 'utils', which are not installed public yet.)
3649 * libspi/component.c:
3650 Changed to use atk_component API for layers and
3651 mdi_zorder, instead of deprecated atk_object API.
3653 Magnification Utility Enhancements:
3656 Added implementation of createZoomRegion, clearAllZoomRegions,
3657 resizeZoomRegion. Added new commandline argument
3658 "--no-initial-region". Note that clearAllZoomRegions doesn't
3659 unmap the old '0' region as it should (yet), and the other
3660 methods only work when creating/resizing a single region,
3661 which is "region 0".
3662 (Code for multiple region support will be added later.)
3665 Now we raise the magnifier window each time it's refreshed;
3666 this will help keep it on top.
3668 * util/mag_client.h:
3669 Added simple wrappers for above, used by mag_control.
3670 For general use, it's recommended to use the bonobo magnifier
3671 control API directly instead of using these wrappers.
3674 Moved ZoomRegionData from magnifier.c to this file.
3676 * util/mag_control.c:
3677 Added some code to exercise new IDL implementations.
3679 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3681 * libspi/text.c: Provide implementation for getAttributes.
3683 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3686 Incremented revision.
3688 * test/test-simple.c:
3689 Replaced use of deprecated g_main_iteration with
3690 g_main_context_iteration.
3692 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3695 Incremented revision for desktop alpha 2.
3697 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3699 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3702 * test/simple-at.c: include netinet/in.h.
3704 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3706 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3707 use NULL, not CORBA_OBJECT_NIL.
3709 * libspi/accessible.c:
3710 (impl_accessibility_accessible_get_relation_set):
3711 allocate the sequence correctly.
3713 * libspi/remoteobject.h: kill spi_remote_object_new.
3715 * test/test-simple.c: (validate_accessible): add code
3716 to test relation sets, now all we need is to figure
3717 out how to excercise this code path :/
3719 2002-01-18 Michael Meeks <michael@ximian.com>
3721 * test/test-simple.c
3722 (key_listener_cb): consume the key.
3723 (test_keylisteners): update.
3724 (main): wait for any pending unrefs on events.
3726 * registryd/deviceeventcontroller.c
3727 (spi_controller_update_key_grabs): only re-issue the
3728 grab on a key release.
3729 (spi_device_event_controller_forward_key_event):
3730 refresh the keygrabs before we notify the listeners,
3731 to reduce the X ungrab / re-grab race.
3732 (spi_controller_register_with_devices): remove
3733 XSelectInput - we do that with the gdk_window_ call.
3734 (_spi_controller_device_error_handler): return a value.
3735 s/GDK_DISPLAY/spi_get_display/
3737 2002-01-17 Michael Meeks <michael@ximian.com>
3739 * registryd/deviceeventcontroller.c
3740 (_deregister_keygrab): don't blow out the later
3743 * test/test-simple.c (test_keylisteners): do a
3744 more intelligent validation.
3746 2002-01-14 Michael Meeks <michael@ximian.com>
3748 * atk-bridge/bridge.c
3749 (gnome_accessibility_module_init),
3750 (gnome_accessibility_module_shutdown): impl.
3751 (gtk_module_init): protect vs. double inits.
3752 (add_signal_listener): impl.
3753 (spi_atk_bridge_state_event_listener): kill
3754 (deregister_application): split out of
3755 (spi_atk_bridge_exit_func): here.
3757 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3760 Added caret tracking when using magnifier, and
3761 now use text bounds for focus tracking of text elements, rather than
3762 the component bounds - this is helpful for short text fields in long
3763 table cells, at high magnification.
3765 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3767 * registryd/deviceeventcontroller.c:
3768 Regression fix for keylistener de-registration; global keygrabs
3769 were not being released when deregisterKeystrokeListener was
3770 called in cspi, since
3771 Accessibility_DeviceEventController_deregisterKeystrokeListener
3772 was called with a zero-length keyset. That is because the cspi
3773 method, SPI_deregisterKeystrokeListener, does not take a keyset
3774 parameter but instead should remove all the key grabs held be a
3776 The code in impl_deregister_keystroke_listener was changed to copy
3777 the keylist from the listener instance previously registered with
3778 the DeviceEventController before releasing the grabs.
3780 * registryd/registry.c:
3781 * registryd/deviceeventcontroller.c:
3782 * libspi/spi-private.h:
3784 Changed spelling of "re-enterant" to "re-entrant" globally.
3786 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3788 * test/test-simple.c:
3789 Changed key listeners test - the test was slightly mis-using the
3790 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3791 It now uses '=' as the key event listened to and generated,
3792 relying on a keysym match rather than assuming that keycode 33
3793 is always equal to keysym '!'.
3795 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3798 Changed simple-at to use a specific keyset, rather than
3799 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3800 manager, desktop, etc.
3802 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3804 * registryd/deviceeventcontroller.c:
3805 Replaced standard X error handler with a special handler that
3806 is non-fatal for failed keygrabs. This works around
3807 problems with keygrab clashes sometimes observed on
3809 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3810 mouse handling code as yet).
3812 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3815 Incremented revision for desktop alpha release.
3818 Fixed a couple of the more glaring errors (still not
3821 2002-01-11 Michael Meeks <michael@ximian.com>
3823 * registryd/deviceeventcontroller.c
3824 (spi_device_event_controller_forward_key_event): kill
3825 XUngrabKey / XKeyGrab race.
3826 (spi_controller_grab_keyboard): rename to
3827 (spi_controller_update_key_grabs): this, and deal
3828 with incremental adding / removing grabs more
3830 (_register_keygrab): ensure we're not pending a remove.
3831 (spi_grab_mask_free): impl.
3832 (spi_controller_register_global_keygrabs): split out
3834 (handle_keygrab): impl.
3835 (_deregister_keygrab): impl.
3836 (spi_controller_deregister_global_keygrabs): impl.
3837 (spi_controller_update_key_grabs): re-issue the grab if
3838 we just recieved a notification.
3840 * test/test-simple.c (key_listener_cb): remove debug.
3842 * registryd/deviceeventcontroller.c
3843 (spi_controller_register_device_listener): after
3844 registering a global keygrab, actualy register it !
3845 don't wait for a timeout; doh !
3847 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3848 to make it more readable / manipulable.
3849 s/grabmask/grab_mask/ s/refcount/ref_count/
3850 s/keyval/key_val/ s/modmask/mod_mask
3852 2002-01-08 Michael Meeks <michael@ximian.com>
3854 * registryd/deviceeventcontroller.c
3855 (spi_controller_register_with_devices): use gdk calls to
3857 (global_filter_fn): implement the filter.
3858 (spi_device_event_controller_check_key_event): rename to
3859 (spi_device_event_controller_forward_key_event): this & upd.
3860 (spi_get_display): replace with GDK_DISPLAY.
3862 * registryd/deviceeventcontroller.c
3863 (spi_controller_deregister_device_listener): unroll into
3864 (impl_deregister_keystroke_listener): here to simplify.
3865 (spi_controller_register_global_keygrabs): split cut and
3866 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3867 (spi_controller_deregister_device_listener): remove.
3868 (impl_register_mouse_listener): remove, no mouse listener
3869 support in at-spi-1.0
3871 * registryd/registry.c
3872 (_device_event_controller_hook): kill.
3873 (spi_registry_init): upd.
3875 * registryd/deviceeventcontroller.c
3876 (spi_device_event_controller_class_init): upd.
3877 (spi_check_key_event): merge into.
3878 (spi_device_event_controller_check_key_event):
3879 here and kill strange static ev init, don't leak
3880 the x_event - nor dynamicaly allocate it.
3882 * registryd/registry-main.c (main): re-direct
3883 timeout to remove strange vtable mess.
3885 * registryd/deviceeventcontroller.c
3886 (remove_listener_cb): impl.
3887 (spi_controller_deregister_device_listener):
3888 fix re-enterancy hazard.
3890 2002-01-07 Michael Meeks <michael@ximian.com>
3892 * registryd/deviceeventcontroller.c
3893 (spi_device_event_controller_new): upd.
3894 (impl_notify_listeners_sync): upd. debug.
3895 (spi_notify_keylisteners): fix re-enterancy hazards,
3896 prettify, remove O(n*n) iteration.
3897 (spi_controller_grab_keyboard): fix iteration.
3898 (spi_check_key_event): re-format to suit coding style.
3899 Clean all the warnings - we're warning free.
3901 * registryd/deviceeventcontroller.h:
3902 * registryd/registry.h: make mutualy referential with
3903 typesafe forward references instead of (!) void pointer
3906 2002-01-11 Michael Meeks <michael@ximian.com>
3908 * cspi/spi_accessible.c (role_names): add a role name
3909 to sync this array with the enum; and make the regression
3912 2002-01-10 Michael Meeks <michael@ximian.com>
3914 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3915 allow expansion of enumeration & kill warning.
3917 * test/test-simple.c (key_listener_cb): impl.
3918 (test_keylisteners): impl.
3920 * cspi/spi-listener.h: make listener signatures const
3921 on the provided (const) events.
3923 * test/keysynth-demo.c: upd. to const events.
3925 * test/simple-at.c: ditto.
3927 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3930 Rev the version to 0.5 (the previous tarball was named 0.4,
3931 even though the micro number was 3), so we need to rev upwards
3932 again for beta2/"desktop-alpha"
3935 Checked in a demo script, which requires editing before use!
3936 Proceed with caution.
3939 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3941 * cspi/spi_accessible.c:
3942 Add a couple of missing enum initializations, and fix some enum
3945 * cspi/spi_registry.c:
3946 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3948 * docs/reference/cspi/at-spi-cspi-sections.txt:
3949 Remove/fix a couple of broken document references.
3952 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3953 as Alt-Control to listen for commands, since on some systems
3954 Control-Alt may already be grabbed.
3956 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3959 Update version number to 0.4 for Beta2.
3961 * libspi/accessible.c, libspi/accessible.h:
3962 Expose spi_accessible_construct, to enable libgail-gnome
3963 construction from spi_accessible subtype.
3965 * utils/magnifier.c:
3966 Workaround for bug in some non-gnome-compliant window managers
3967 which made magnifier resize improperly.
3969 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3971 * libspi/accessible.c: (spi_accessible_new) :
3972 Move the test for SPI_IS_REMOTE_OBJECT to
3973 spi_accessible_new_return, fixing a bug and compile time warning.
3975 2002-01-08 Michael Meeks <michael@ximian.com>
3977 * registryd/registry.c (parse_event_type): remove strndup.
3979 * libspi/Makefile.am (libspi_la_SOURCES): remove
3980 sources already included in the headers section.
3982 * libspi/util.c: add.
3984 * libspi/spi-private.h: add.
3986 * registryd/registry.c: update to moved list iterators.
3988 2002-01-05 Michael Meeks <michael@ximian.com>
3990 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3992 * test/test-simple.c (main): ditto.
3994 2002-01-04 Michael Meeks <michael@ximian.com>
3996 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3997 redundant construct.
3999 * registryd/registry.c
4000 (get_listener_list): impl.
4001 (impl_accessibility_registry_register_global_event_listener):
4002 re-impl. to simplify using ~, remove dodgy const cast off.
4003 (parse_event_type): constify.
4004 (impl_accessibility_registry_deregister_global_event_listener_all):
4005 re-write, more efficiency and simplicity, kill re-enterancy
4007 (compare_listener_corbaref, compare_corba_objects),
4008 (compare_listener_quarks): define out.
4009 (impl_accessibility_registry_deregister_global_event_listener):
4010 re-write for effiency, and nail re-enterancy hazard.
4011 (impl_accessibility_registry_get_desktop_list): impl.
4012 (re_enterant_list_delete_link): impl.
4013 (re_enterant_list_foreach): impl.
4014 (remove_listener_cb): impl.
4015 (_registry_notify_listeners): kill.
4016 (notify_listeners_cb): impl.
4018 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4019 (SPI_getDesktopList): impl.
4021 * test/test-simple.c (test_desktop): test the methods.
4023 2002-01-03 Michael Meeks <michael@ximian.com>
4025 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4026 keystrings since we free them
4027 (SPI_freeAccessibleKeySet): in here.
4029 * libspi/accessible.c (spi_accessible_new): kill warning,
4030 wonder what is going on with the constructor here.
4032 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4034 * libspi/accessible.c (spi_accessible_new ()) :
4035 Added check to see if AtkObject is an SpiRemoteObject before
4036 creating an SpiAccessible.
4038 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4040 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4041 Enable keygrabs using the Control modifier, now that they are
4042 working properly (they were previously disabled).
4045 Change the command keygrab for this demo to "Control+Alt", so as
4046 to conflict with fewer other key commands on the system; this
4047 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4049 Removed a pointlessly-chatty keylistener for unshifted keys
4050 (shifted keys are still reported).
4052 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4054 * libspi/remoteobject.h:
4055 * libspi/remoteobject.c:
4056 Added definitions for special AtkObject subtype, required for
4057 support of remote components (specifically, used by BonoboControl
4058 accessibility implementation).
4060 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4062 * cspi/spi.h: synched relation types with ATK
4064 * cspi/spi_accessible.c: Added implementations of
4065 AcccessibleRelation_* methods
4067 * idl/Accessibility_Relation.idl: added getRelationTypeName
4068 method. Synched known relation types with ATK. Allowed for
4069 relation type extension with the RELATION_EXTENDED type.
4071 * libspi/relation.c: Provided implementations for
4072 AccessibleRelation methods.
4074 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4076 API tweaks for today's API 'freeze'.
4079 Added placeholder functions to allow future compatible expansion
4080 of the IDL interfaces.
4082 * idl/Accessibility_Registry.idl:
4083 Changed generateKeyEvent to generateKeyboardEvent. Changed
4084 signature of this method to accept an optional keystring in
4085 parameter (for complex text input synthesis) and changed use of
4086 simple 'boolean' parameter in registerKeystrokeListener to a
4087 struct, EventListenerMode.
4089 * cspi/spi_accessible.c:
4091 * cspi/spi_streamablecontent.c:
4092 Added references to AccessibleStreamableContent interface, and
4093 definition and implementation of AccessibleStreamableContent
4096 * cspi/spi_registry.c:
4098 Changed generateKeyEvent API to generateKeyboardEvent,
4099 taking a new (optional) keystring parameter to support complex
4104 Renamed directory (to better reflect its actual purpose, bridging
4105 from at-spi to ATK). The .so module is also now named
4108 * idl/Accessibility_Hypertext.idl:
4109 * libspi/accessible.c:
4110 * libspi/hypertext.h:
4111 * libspi/hypertext.c:
4112 Changed Accessibility_Hypertext to *not* derive from
4115 * cspi/spi_registry.c:
4116 Added list of legal event type names for 'window' events, which
4117 completes the registry event API.
4119 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4121 * at-bridge/bridge.c: Added registration for separate
4122 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4123 signals. If either of the first two parameters to the generic
4124 bridge signal handler are ints, they are passed on as event
4125 details. This allows an AT to determine what text was inserted.
4127 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4129 * registryd/deviceeventcontroller.c:
4130 Fixed regressions in generateKeyEvent caused by the removal of
4131 gdk_init from registryd; we now use pure X calls to connect to the
4132 display, which makes sense because deviceeventcontroller already
4133 uses a fair bit of X API (should eventually be migrated to a
4134 'portability layer').
4136 * registryd/desktop.c:
4137 Fixed minor regression in spi_desktop_init, changed the way the
4138 desktop name is being set to work with new spi_base API
4139 (gobject-based, rather than AtkObject-based).
4141 * registryd/Makefile.am:
4142 Minor revision of makefile to use XTST_LIBS variable rather than
4143 hard-wiring the Xtst LD_ADD element.
4145 * test/keysynth-demo.c:
4146 Tweaked an output message; added initialization of the
4147 'keystrings' member of the "switch listener" key_set.
4149 * libspi/relation.c:
4150 Squashed compile-time warning.
4152 * libspi/accessible.c:
4153 Cosmetic and formatting fixes, renamed a static method.
4155 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4157 * libspi/accessible.c
4159 * libspi/application.c
4162 * libspi/component.c
4163 * libspi/editabletext.c
4164 * libspi/hyperlink.c
4165 * libspi/hypertext.c
4167 * libspi/selection.c
4171 * registryd/desktop.c:
4172 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4174 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4176 * idl/Accessibility_Registry.idl:
4177 Added boolean member 'is_text' to DeviceEvent. This is for the
4178 use of key events, and helps prevent ambiguity between composed
4179 key strings and keysym names, since both may potentially be
4180 returned in the 'event_string' member.
4182 * at-bridge/bridge.c:
4183 * registryd/deviceeventcontroller.c:
4184 Use the 'is_text' member when notifying device event listeners.
4185 Knon issue: composed characters are not dealt with correctly by
4186 the global key listener implementation yet.
4188 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4190 * at-bridge/bridge.c:
4191 Namespaced local static methods to spi_atk_bridge_* where
4192 previously named bridge_*, and spi_* elsewhere.
4194 * at-bridge/bridge.c:
4195 * cspi/bonobo/cspi-bonobo-listener.c:
4196 Added demarshalling/conversion for string member of
4197 Accessibility_DeviceEvent to AccessibleKeystroke.
4199 * registryd/deviceeventcontroller.c:
4200 Added code to fill the Accessibility_DeviceEvent key string value
4201 member for global key events (i.e. from XGrabKey), to match
4202 behavior of Accessibility_DeviceEvent from the toolkit key events
4203 from the bridge. Fixed timestamp in global key event notifications.
4206 Added printout of key event's string value to
4207 report_ordinary_key_event, for demo/debugging purposes.
4209 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4211 * idl/Accessibility_Registry.idl:
4212 Removed Accessibility_KeyStroke structure in favor of generic
4213 Accessibility_DeviceEvent structure.
4214 Changed Accessibility_ControllerEventMask from a struct to an
4217 * at-bridge/bridge.c:
4218 Changed APIs to use DeviceEvent structure as above, and removed
4219 bogus casting between these event structures.
4221 * cspi/spi-listener.h:
4222 Added keystring member of AccessibleKeystroke structure, to enable
4223 matching on event "names" rather than only hardware codes and
4227 Added keystrings member of AccessibleKeySet struct, to allow
4228 matching on event names (as above).
4229 Added declarations for SPI_createAccessibleKeySet and
4230 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4231 event modmasks directly as unsigned ints rather than structs with
4232 refcounts, in the DeviceEventController methods.
4234 * cspi/spi_registry.c:
4235 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4237 * cspi/spi-roletypes.h:
4238 Added documentation of newly added SPI Roles.
4240 * cspi/bonobo/cspi-bonobo-listener.c:
4241 Changes in support of API changes above.
4243 * libspi/accessible.c:
4244 Converted APIs to use DeviceEvent structure (see IDL changes
4247 * registryd/deviceeventcontroller.c:
4248 Added DEControllerGrabMask structure to track keygrabs not only by
4249 modmask but by keyset as well; this allows us to do "global"
4250 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4251 grabbing on AnyKey and then filtering after-the-fact.
4252 Bugfixes for event filtration mean that we don't get false matches
4253 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4255 * registryd/deviceeventcontroller.c:
4256 Namespaced a number of static methods to use spi_ prefix. Major
4257 revision to internals of global (i.e. X) key grabs.
4259 * registryd/deviceeventcontroller.h:
4260 Removed keymask_list and added keygrabs_list to
4261 SpiDeviceEventController struct.
4264 Added use of SPI_createAccessibleKeySet API when creating a
4265 listener for only one key. Attach a listener to "shift spacebar
4266 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4267 X key event names to SPI key event names, so that listeners are
4268 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4270 * test/keysynth-demo.c:
4271 Changed (incorrect) use of X key event names (KeyPressed,
4272 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4275 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4277 * libspi/accessible.c:
4278 Convert all AtkRole enumerations to Accessibility_Role enums when
4279 getting a role from an AtkObject.
4281 * cspi/spi_accessible.c:
4282 Complete the conversion of Accessibility_Role enums at runtime to
4283 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4284 role enums correctly match those given in spi-roletypes.h.
4285 Re-synchronize the local names list for AccessibleRole_getName ().
4286 AccessibleRole_getName is now deprecated, since it duplicates the
4287 more reliable Accessible_getRoleName.
4288 Added some role types from Accessibility_Role.idl.
4290 * idl/Accessibility_Role.idl:
4291 Added some role types used by AtkRole.
4293 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4296 * cspi/spi_registry.c:
4298 * cspi/cspi-bonobo-listener.c:
4299 Namespaced all methods that did not begin with an "SPI_" or
4300 "Accessible" prefix to "SPI_".
4303 Homogenized internal function namespace to "cspi_" for statics.
4306 Patched tests to use the new CSPI API.
4308 * docs/reference/cspi/at-spi-cspi-sections.txt:
4309 Updated docs to reflect namespace changes, and added a number of
4310 methods to the documentation.
4312 * registryd/registry.c:
4313 Changed use of strings and string hashes in listener event
4314 matching and parse_event_string to use GQuark, which is guaranteed
4317 * registryd/registry.h:
4318 Squashed annoying warning.
4320 * idl/Accessibility_Role.idl:
4321 Extended range of available Accessibility_Role values.
4323 * cspi/spi_accessible.c:
4324 Re-ordered role names.
4326 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4328 * idl/Accessibility_Value.idl:
4329 Revert use of union back to CORBA_double, since the double type is
4330 more efficient and can contain the other types without loss of
4333 * idl/Accessibility_Accessible.idl:
4334 Added method Accessibility:Accessible:getRoleName, to complement
4335 Accessibility:Accessible:getRole.
4337 * cspi/spi_accessible.c:
4339 Added C binding for above, Accessible_getRoleName (), and changed
4340 signature of Accessible_getRole () to return an AccessibleRole.
4342 * cspi/spi-roletypes.h:
4343 Changed AccessibleRole_getName to return a char * instead of a
4344 const char *. This method is now at least temporarily deprecated
4345 in favor of asking Accessibles for their RoleNames directly.
4348 Revert to match Accessibility_Value.idl;
4352 Change signature of AccessibleValue methods to use double rather
4356 * cspi/spi_accessible.c:
4357 Changed Accessible_getRole to return an AccessibleRole enum rather
4358 than a UTF-8 string. The UTF-8 string can still be obtained via
4359 AccessibleRole_getName ().
4361 * test/test-simple.c:
4362 Add test_action. Small fixup to match API change to Accessible_getRole.
4365 Bugfix for get_action_from_servant ().
4367 2001-12-11 Michael Meeks <michael@ximian.com>
4369 * libspi/libspi.h: remove registry.h and
4370 desktop.h, deviceeventcontroller.h
4372 * libspi/Makefile.am: remove registry.[ch],
4373 desktop.[ch], deviceeventcontroller.[ch]
4375 * registryd/Makefile.am: add registry.[ch],
4376 desktop.[ch], rename registryd.c to registry-main.c.
4377 add deviceeventcontroller.[ch]
4379 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4382 Replace setenv() call with putenv ().
4384 * libspi/component.c:
4385 Bugfix in AccessibleComponent_getExtents (),
4388 2001-12-11 Michael Meeks <michael@ximian.com>
4390 * libspi/image.c (impl_getImageExtents): impl.
4391 (spi_image_class_init): upd.
4394 (AccessibleImage_getImageDescription): fix daft bug
4397 * test/test-simple.c (global_listener_cb): update
4398 to only quit if not --poke
4399 (main): catch --poke.
4400 (validate_accessible): upd. dumping, call test_image
4403 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4406 * idl/Accessibility.idl: update all IDL includes.
4408 * idl/*.idl - rename to namespace - this sucks, blame
4409 mjs' bad decision for oafd.
4411 * test/test-simple.c (create_test_window): add more tests.
4412 (create_tree): split this out.
4413 (validate_accessible): bugfix.
4415 2001-12-11 Michael Meeks <michael@ximian.com>
4417 * cspi/bonobo/cspi-bonobo-listener.c:
4418 (cspi_kestroke_listener_unref),
4419 (cspi_event_listener_unref): impl. undoing previous
4420 homenous environment - for Bill.
4422 * cspi/spi_table.c (long_seq_to_array): use
4425 * cspi/spi_main.c: split out all bonoboish bits into
4428 * cspi/spi-impl.h: upd. typedefs.
4430 * cspi/spi_registry.c: update to lowlevel API,
4431 return booleans to indicate success in some places.
4433 * cspi/spi_event.c: update to lowlevel API.
4435 * cspi/bonobo/Makefile.am: add.
4437 * cspi/bonobo/cspi-lowlevel.h: add
4439 * cspi/bonobo/cspi-bonobo.c: add
4441 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4443 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4444 (SUBDIRS): add bonobo, link in the libs.
4446 * cspi/spi-util.c: kill this file.
4448 * TODO: merge in my bits.
4450 2001-12-11 Michael Meeks <michael@ximian.com>
4452 * test/test-simple.c (test_value, test_table, main):
4453 remove unused variables causing warnings.
4455 * configure.in: cleanup checks - require gail.
4457 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4460 Changed Value interface to use SValue (scalars) rather than
4461 assuming all values are floats. This allows floats, doubles,
4462 longs, shorts, and unsigned values to be manipulated.
4463 Introduced Accessibility:SValue union.
4466 Updated to use new API above, and to work correctly with GValues
4467 of different types in AtkValue.
4470 Updated to use new API above. cspi's API is as yet unchanged.
4473 Updated the Value revision action item.
4475 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4477 * test/test-simple.c:
4478 Added test_table (GtkTreeView widget in test window to follow).
4479 Un-commented test_value, added GtkRange widget.
4480 Added GtkTreeView widget with GtkListStore. It passes regression
4481 test but leaks one SPI object for some reason.
4484 Fixed bug in impl__set_currentValue.
4486 2001-12-10 Michael Meeks <michael@ximian.com>
4488 * cspi/spi_text.c: audit for exception handling,
4489 tolerating NULL object references safely etc.
4491 * cspi/spi_value.c: ditto.
4493 * cspi/spi_table.c (AccessibleTable_getSummary),
4494 (AccessibleTable_getAccessibleAt),
4495 (AccessibleTable_getRowHeader),
4496 (AccessibleTable_getColumnHeader),
4497 (AccessibleTable_getCaption): fix bugs hidden by
4499 (long_seq_to_array): impl.
4500 (AccessibleTable_getSelectedRows),
4501 (AccessibleTable_getSelectedColumns): use it.
4503 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4506 Added a TODO list (rough and short for now).
4508 * cspi/spi_hyperlink.c:
4509 * cspi/spi_hypertext.c:
4510 Fixed macro name typos, and remove use of obsolete macro in
4511 AccessibleHyperlink_getLink.
4513 * cspi/spi_action.c:
4514 * cspi/spi_accessible.c:
4515 * cspi/spi_application.c:
4516 * cspi/spi_component.c:
4517 * cspi/spi_selection.c:
4520 Documentation fixes (removed return values from ref/unref methods).
4522 2001-12-10 Michael Meeks <michael@ximian.com>
4524 * cspi/spi_action.c: audit for exception handling,
4525 tolerating NULL object references safely etc.
4527 * cspi/spi_accessible.c: ditto.
4529 * cspi/spi_component.c: ditto.
4531 * cspi/spi_editabletext.c: ditto.
4533 * cspi/spi_hyperlink.c: ditto.
4535 * cspi/spi_hypertext.c: ditto.
4537 * cspi/spi_image.c: ditto.
4539 * cspi/spi_selection.c: ditto.
4541 2001-12-10 Michael Meeks <michael@ximian.com>
4543 * configure.in: use cspi/libspi.pc.in instead.
4545 * Makefile.am (pkgconfig_DATA): upd. to match.
4547 * test/simple-at.c (report_focus_event): kill hacks around
4548 bad return values, use putenv not setenv
4550 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4551 fire ChildGone - I killed it.
4553 * libspi/component.c
4554 (impl_accessibility_component_get_extents): remove
4557 * idl/Accessible.idl: kill ChildGone exception.
4559 * cspi/*.[ch]: kill int return from ref / unref.
4561 * cspi/spi_main.c (cspi_object_add_check): fold into
4562 (cspi_object_add): here.
4564 * cspi/spi_component.c (AccessibleComponent_getExtents):
4565 handle exceptions elegantly.
4567 * cspi/spi-private.h (cspi_check_ev_return),
4568 (cspi_return_if_fail): impl.
4570 * cspi/spi_accessible.c: use extensively.
4571 (AccessibleStateSet_equals): add direct compare check.
4573 * cspi/spi_selection.c: tolerate NULL objs, and check
4574 exceptions before return.
4576 * cspi/spi-util.c (cspi_warn_ev): rename to
4577 (cspi_check_ev): this & don't pass ev in; no point.
4579 2001-12-10 Michael Meeks <michael@ximian.com>
4581 * test/test-simple.c: use putenv not setenv
4582 (get_environment_vars): more chatty if you're not using
4585 * test/simple-at.c: do the setenv so more people see the
4588 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4590 * libspi/registry.c:
4591 Changed check of CORBA_environment on notification to be a warning
4592 instead of an error for the moment, since we can recover from this
4593 error when caused by a queued notification from a dead app.
4596 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4597 used by all current implementors of AtkValue), and coerce to
4598 CORBA_float. (Proper general case fix may require change to Value.idl).
4600 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4604 * cspi/spi_accessible.c:
4605 Documentation fixes: added user_data params to documentation for
4606 listeners and callbacks.
4608 * cspi/spi_accessible.c:
4609 Changed AccessibleStateSet_compare to return a
4610 StateSet rather than return the difference set into a third parameter.
4613 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4616 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4617 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4621 Remove subdirectory po from SUBDIRS for now.
4623 * at-bridge/bridge.c:
4624 Beefed up a couple of debug printouts.
4625 One-line fix for signal notification name formatting.
4627 * libspi/accessible.c:
4628 Added assertion to spi_accessible_new ().
4630 * libspi/application.c:
4631 Put #ifdef qualifiers around a printf.
4634 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4636 * registryd/Makefile.am:
4638 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4639 INTLTOOL_SERVER_RULE macro.
4642 Added an event listener for several ATK signals, for
4643 testing and debugging. Removed a few g_warnings.
4644 Added test output if focussed item implements the Value interface.
4646 * test/test-simple.c:
4647 Added test_value () function (known not to pass at the moment, so
4648 not actually called yet.
4650 2001-12-08 Michael Meeks <michael@ximian.com>
4652 * at-bridge/bridge.c (bridge_focus_tracker),
4653 (emit_eventv): fix the same ref. leak.
4654 (register_atk_event_listeners): don't leak.
4656 * cspi/spi-listener-impl.c (cspi_event): more
4657 protection from client code.
4659 * test/test-simple.c (test_desktop): unref the app.
4661 * test/Makefile.am: upd. TESTS.
4663 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4665 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4667 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4669 * cspi/spi_registry.c: constify in strings.
4670 (deregisterGlobalEventListenerAll): don't release the ref.
4672 * cspi/spi.h: start removing redundant / conflicting
4673 gtkdoc comments, making the API readable at a glance :-)
4675 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4677 * test/keysynth-demo.c (keysynth_exit, main): upd.
4679 * test/simple-at.c (main, simple_at_exit): upd.
4681 * test/test-simple.c (unutterable_horror): kill.
4682 (utterable_normal_derefs): kill.
4683 (main): upd & do a setenv before gtk_init, so that we
4684 can use memprof - and to save the pain of remembering
4685 this, if we're running under memprof - don't exit.
4687 * cspi/spi_main.c (SPI_exit): return exit status
4689 (SPI_event_quit): impl.
4690 (SPI_event_main): simplify.
4691 (cspi_is_gnome_app): kill.
4692 (SPI_init): kill isGNOMEapp arg.
4694 * at-bridge/bridge.c (register_atk_event_listeners):
4695 re-instate the unref.
4696 (bridge_exit_func): don't re-activate the registry,
4697 protect vs. theoretical re-entry, use the
4698 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4699 assert a clean shutdown - for regression tests.
4701 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4703 * configure.in: Comment out dummy i18n support for now,
4704 otherwise it fails to build.
4705 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4706 EXTRA_DIST. They are missing in tarball.
4708 2001-12-07 Michael Meeks <michael@ximian.com>
4710 * util/magnifier.c: kill bonobo activation reg. race.
4712 * libspi/component.c
4713 (impl_accessibility_component_get_extents): make it match
4716 * libspi/registry.c (_registry_notify_listeners):
4717 re-remove X headers & reconcile conflicts.
4718 (spi_listener_struct_free): bad conflict resolve.
4719 (impl_accessibility_registry_register_application):
4720 more bad merging fixed.
4721 (impl_accessibility_registry_deregister_application): ditto.
4722 (spi_registry_new): ditto.
4723 (spi_registry_init): don't have an applications field.
4725 [ merge fixups2 branch to here ]
4726 2001-12-07 Michael Meeks <michael@ximian.com>
4728 * test/simple-at.c (report_focus_event),
4729 (report_focussed_accessible): remove g_warning debug.
4731 2001-12-07 Michael Meeks <michael@ximian.com>
4733 * test/test-simple.c (validate_tree): comment out some checks.
4734 (test_desktop): app now not registered idly - horay.
4736 2001-12-07 Michael Meeks <michael@ximian.com>
4738 * cspi/spi_registry.c
4739 (registerAccessibleKeystrokeListener): clean, stop it leaking
4740 great swathes of memory, and device event controller references.
4741 ensure we always pass valid sequences.
4742 (deregisterAccessibleKeystrokeListener): ditto.
4743 (generateKeyEvent): upd.
4745 * at-bridge/bridge.c (bridge_key_listener): handle
4746 registry dead exception gracefully.
4747 (bridge_focus_tracker, emit_eventv): free ev.
4749 * test/simple-at.c (report_focus_event): fix polarity.
4751 * libspi/application.c (notify_listeners): kill the ev
4752 argument, and make sure we init the ev we use.
4753 (spi_application_object_event_listener): split out a chunk
4754 (get_atk_object_ref): here & fixup.
4755 (reverse_lookup_name_for_toolkit_event): make const.
4756 (spi_application_toolkit_event_listener): fixup, kill leaks
4759 * at-bridge/bridge.c (register_atk_event_listeners):
4760 don't unref the noop object - causes grief.
4762 * libspi/registry.c: remove the X headers.
4763 turn off the debug churn.
4765 * libspi/accessible.c (spi_accessible_new_return): only
4766 release the ref if we are supposed to [doh]
4768 * test/simple-at.c (report_button_press, report_focus_event):
4769 guard vs. unexpected exit.
4771 * at-bridge/bridge.c (gtk_module_init): prune printf.
4772 (bridge_exit_func): fix app unref.
4774 * libspi/Makefile.am: don't install registry or desktop.h
4776 * libspi/*.h: update includes.
4778 * libspi/application.h: don't include ourself, or
4779 other redundant headers.
4781 2001-12-06 Michael Meeks <michael@ximian.com>
4783 * libspi/accessible.c
4784 (get_accessible_from_servant): impl.
4785 Upd. all CORBA impl.s to use it killing cut and paste.
4787 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4789 (SPI_init): register atexit cleanup handler here.
4791 2001-12-06 Michael Meeks <michael@ximian.com>
4793 * at-bridge/bridge.c (gtk_module_init): g_error on
4794 activation exception
4796 2001-12-06 Michael Meeks <michael@ximian.com>
4798 * at-bridge/bridge.c (gtk_module_init): some sort of
4799 confusing merge clash - reverted.
4800 (bridge_idle_init): ditto.
4802 * test/test-simple.c (main, utterable_normal_derefs):
4803 merge from Bill - somehow not committed.
4805 2001-12-06 Michael Meeks <michael@ximian.com>
4807 * libspi/value.c (spi_value_class_init): upd.
4808 (spi_value_finalize): kill.
4810 * libspi/table.c (spi_table_finalize): kill.
4811 (spi_table_interface_new): upd.
4812 (spi_table_class_init): upd.
4813 (get_table_from_servant): impl.
4814 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4816 * libspi/selection.c (spi_selection_finalize): kill.
4817 (spi_selection_interface_new): upd.
4818 (spi_selection_class_init): upd.
4819 (get_selection_from_servant): impl.
4820 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4822 * libspi/relation.c (spi_relation_finalize): kill.
4823 (spi_relation_class_init, spi_relation_new): upd
4825 * libspi/image.c (spi_image_finalize): kill.
4826 (spi_image_class_init): upd.
4827 (spi_image_interface_new): upd.
4828 (get_image_from_servant): impl.
4829 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4831 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4832 (spi_hyperlink_finalize): kill.
4833 (spi_hyperlink_new): upd.
4834 (get_hyperlink_from_servant): impl.
4835 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4837 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4838 (spi_hypertext_finalize): kill.
4839 (spi_hypertext_class_init): upd.
4840 (get_hypertext_from_servant): impl.
4841 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4843 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4844 (spi_editable_text_interface_new): upd.
4845 (get_editable_text_from_servant): impl.
4846 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4848 * libspi/text.c (get_text_from_servant): impl.
4849 All impls - update to use it killing more cut and paste,
4850 also fix bad string returns on duff args ( a somewhat
4851 impossible case to handle - but hey ).
4852 (spi_text_construct): impl.
4853 (spi_text_interface_new): upd.
4854 (spi_text_object_finalize): kill.
4856 * libspi/component.c
4857 (accessibility_component_object_finalize): kill.
4858 (spi_component_class_init): upd.
4859 (get_component_from_servant): impl. helper to kill cut & paste.
4860 (impl_accessibility_component_contains):
4861 (impl_accessibility_component_get_accessible_at_point):
4862 (impl_accessibility_component_get_position):
4863 (impl_accessibility_component_get_extents):
4864 (impl_accessibility_component_get_mdi_z_order):
4865 (impl_accessibility_component_get_layer):
4866 (spi_component_interface_new): upd.
4868 * libspi/action.c (spi_action_finalize): kill.
4869 (spi_action_class_init): upd. inherit from SpiObject.
4870 (spi_action_interface_new): upd.
4871 (get_action_from_servant): impl. helper to reduce cut & paste.
4872 (impl_getKeyBinding, impl_getName, impl_doAction),
4873 (impl_getDescription): Use it everywhere.
4875 * cspi/spi_main.c (get_live_refs): a pointer hash.
4876 (spi_object_hash, spi_object_equal): comment out.
4877 There are issues with CORBA object hashing that need
4880 * libspi/application.c (spi_application_init),
4881 (spi_application_new): upd.
4883 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4884 (spi_accessible_class_init): upd.
4885 s/accessible/object/ in epv methods.
4887 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4889 * at-bridge/bridge.c:
4890 Reorder the bridge initialization into the bridge gtk_module_init,
4891 an immediate call to bridge_register_app, and an idle_add for
4892 register_atk_event_listeners (the only code that *must* wait until
4893 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4894 the activation, creates the application's Accessible object, and
4895 queues the bridge_idle_init function. Restored call to
4896 Accessibility_Registry_deregisterApplication().
4897 Prior to making this call we obtain a new reference to the
4898 registry, which is a temporary hack that helps us handle apps that
4899 shut down the bonobo mainloop before we get there.
4901 * libspi/registry.c:
4902 Fix string leakage in debug block, and don't segv if a an app
4903 dies before its event notifications have been propagated.
4906 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4907 as stopgap measure until we get proper exception handling when
4908 objects die during or before interrogation.
4912 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4913 Also changed default value of is_gnome_app to TRUE.
4916 * test/keysynth-demo.c:
4917 Changed use of SPI_init and SPI_event_main to reflect API change above.
4920 Made report_focus_event check the warning value from getName
4921 before reporting on focussed accessible; simplifies handling of
4922 notifications from dead objects.
4924 * test/test-simple.c: (Changes not in this patch since source is
4927 2001-12-05 Michael Meeks <michael@ximian.com>
4929 * registryd/registryd.c (main): protect against
4930 bonobo-activation startup race condition.
4932 * cspi/spi_main.c (cspi_object_add_check): cope
4933 with the exception elegantly.
4935 * idl/Accessible.idl: decl. ChildGone
4937 * libspi/desktop.c (spi_desktop_dispose): impl.
4938 (spi_desktop_class_init): upd.
4939 (spi_desktop_add_application),
4940 (spi_desktop_remove_application),
4941 (abnormal_application_termination): impl.
4942 (impl_desktop_get_child_at_index): re-impl.
4945 (impl_accessibility_registry_deregister_application),
4946 (impl_accessibility_registry_register_application):
4947 kill excessive debug clutter.
4949 * test/test-simple.c (test_misc): test some NULL
4950 tolerance. (main): upd.
4952 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4953 implements no interfaces - so let's not crash.
4955 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4957 * libspi/accessible.c (spi_accessible_new_return): impl.
4958 helper to calm the cut and paste, to cope with
4959 NULL AtkObjects effectively and efficiently, and to kill
4960 the referencing bugs.
4962 * libspi/table.c (impl_getAccessibleAt),
4963 (impl_getRowHeader, impl_getColumnHeader): upd.
4965 * libspi/hyperlink.c (impl_getObject): upd.
4967 * libspi/accessible.c
4968 (impl_accessibility_accessible_get_child_at_index): upd.
4970 * libspi/component.c
4971 (impl_accessibility_component_get_accessible_at_point): upd.
4973 * test/test-simple.c (test_editable_text, test_text): impl.
4976 * cspi/spi_editabletext.c
4977 (AccessibleEditableText_insertText): constify.
4979 * test/test-simple.c (focus_me): make more robust.
4981 * libspi/accessible.c: remove some printfs in methods that
4982 we test and work fine, so we can get a clean tree dump.
4984 * test/test-simple.c (validate_accessible),
4985 (validate_tree): make tree dumping pretty too.
4987 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4988 it builds without debug on.
4990 * test/test-simple.c (validate_accessible): fix the most
4993 * cspi/spi_main.c (spi_object_release): leave the nicely
4994 blanked memory around if in debug mode.
4996 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4998 [committed to fixups2]
4999 2001-12-05 Michael Meeks <michael@ximian.com>
5001 * libspi/editabletext.c
5002 (spi_editable_text_class_init): g_type_class_peek_parent,
5003 not interface peek - so we finalize cleanly.
5005 * libspi/accessible.c (spi_accessible_new): kill debug.
5007 * test/test-simple.c (validate_accessible): fix ref.
5008 leak, print strings before freeing them; sigh, comment a
5009 chunk out due to strangeness.
5010 (validate_tree): unref the child after use.
5012 * cspi/spi_component.c (AccessibleComponent_getLayer):
5013 add missing break statement, switch on zlayer not the
5014 uninitialized retval.
5016 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5017 before (possibly re-entering) remote unref.
5019 * test/simple-at.c (main): unref the desktop.
5021 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5024 * cspi/spi_main.c (cspi_accessible_is_a): here to
5025 isolate bonobo API usage more.
5027 * libspi/registry.c (impl_accessibility_registry_register_application):
5028 prune bogus comment.
5030 2001-12-04 Michael Meeks <michael@ximian.com>
5032 * test/test-simple.c (validate_tree): upd.
5033 IndexInParent check to make it more lucid.
5034 (validate_accessible): dump the tree.
5036 * libspi/accessible.c (de_register_public_ref),
5037 (get_public_refs): impl.
5038 (spi_accessible_new): make more efficient & intuitive.
5039 Now IndexInParent check works.
5041 2001-12-04 Michael Meeks <michael@ximian.com>
5043 * cspi/spi-util.h: remove.
5045 * cspi/spi.h: move SPI_freeString here
5047 * libspi/component.c (impl_accessibility_component_get_layer):
5049 (impl_accessibility_component_get_mdi_z_order): ditto,
5050 return -1 on error - is this ok ?
5052 * test/test-simple.c (test_application): impl.
5054 * cspi/spi_accessible.c (Accessible_getApplication),
5055 (Accessible_isApplication): impl.
5057 * libspi/registry.c (spi_listener_struct_free): release
5058 the CORBA reference too.
5060 * libspi/accessible.c
5061 (impl_accessibility_accessible_get_parent): fix ref leak.
5063 * libspi/registry.c (spi_registry_new): make the registry
5064 immortal - we don't want it to go away ever.
5066 * libspi/application.c
5067 (spi_accessible_application_finalize): impl. cleanup.
5069 * cspi/spi_registry.c
5070 (deregisterGlobalEventListenerAll),
5071 (deregisterGlobalEventListener),
5072 (deregisterAccessibleKeystrokeListener): fix ref leak.
5074 * cspi/spi_main.c (SPI_init): remove redundant ref.
5076 * test/test-simple.c (unutterable_horror): impl. to force a
5081 (impl_accessibility_registry_deregister_application): release
5082 the application when we de-register it.
5084 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5085 until we have the infastructure to get it right.
5087 2001-12-03 Michael Meeks <michael@ximian.com>
5089 * libspi/Makefile.am: only build eventlistener.[ch]
5091 * libspi/accessible.c
5092 (impl_accessibility_accessible_get_child_at_index): don't leak.
5094 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5095 before we hit the idle handler.
5097 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5098 debugging than exit.
5100 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5102 * libspi/listener.c (impl_notify_event): check source
5103 not NIL before unref.
5105 * libspi/registry.c (impl_registry_notify_event): ditto.
5107 * libspi/eventlistener.c
5108 (impl_accessible_event_notify_event): unref the source.
5110 * libspi/accessibleeventlistener.c
5111 (impl_accessible_event_notify_event): unref the source.
5113 * idl/Event.idl: remove 'hash_id' attribute - of no
5116 * libspi/application.c (notify_listeners): upd list
5118 (spi_application_object_event_listener),
5119 (spi_application_toolkit_event_listener): upd to do correct
5123 (_registry_notify_listeners): update.
5124 (parse_event_type): this method also leaks like a sieve.
5125 (impl_accessibility_registry_deregister_global_event_listener):
5126 fix ETYPE_WINDOW case.
5128 * libspi/application.c
5129 (impl_accessibility_application_register_object_event_listener):
5132 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5134 * libspi/hypertext.c (impl_getLink): ditto.
5136 * cspi/spi_main.c (cspi_object_add): remove
5137 bogus CORBA_Object_duplicate.
5139 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5142 * cspi/spi_accessible.c
5143 (Accessible_getRelationSet): fix leak / referencing issue.
5145 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5146 (cspi_object_add, cspi_object_unref): upd.
5147 (spi_object_release, get_live_refs): impl.
5148 (cspi_cleanup): simplify.
5150 * *.[ch]: s/boolean/SpiBoolean/
5152 * cspi/spi_accessible.c (role_names): actualy order so it
5153 corresponds with the enum !
5155 * test/test-simple.c (test_roles): check some role strings
5156 vs. enums to detect offset errors.
5158 2001-12-01 Michael Meeks <michael@ximian.com>
5160 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5162 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5164 (Accessible_getChildAtIndex): use cspi_add_check so we
5165 check the ev before using a (possibly) invalid value.
5167 * libspi/accessible.c
5168 (impl_accessibility_accessible_get_parent): don't segv
5171 * at-bridge/bridge.c (gtk_module_init): upd.
5172 (bridge_property_event_listener): don't leak strings
5174 (bridge_state_event_listener),
5175 (bridge_property_event_listener): don't use a static
5176 buffer in case of recursive event emission &
5177 re-enterancy - split out the swathe of cut and paste
5179 (emit_eventv): and fix 2 ref leaks here & comply to the
5181 (bridge_register_app): rename to
5182 (bridge_idle_init): this and kill arg parsing, split
5183 various inits & bonobo-activation registration to module
5184 init time, kill referencing error.
5185 (bridge_exit_func): fix the same leak.
5186 (bridge_focus_tracker): don't leak event structures
5188 (bridge_signal_listener): more leakage and cut & paste
5190 (bridge_key_listener): return the result - FIXME is
5191 this polarity correct ?
5192 (accessibility_keystroke_from_atk_key_event): rename
5193 (accessibility_init_keystroke_from_atk_key_event): and stop
5195 (gtk_module_init): return a value - not that it is checked by
5197 (bridge_key_listener): register my horror at casting between
5198 IDL defined structs.
5199 (bridge_get_registry): kill - not used.
5201 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5203 * test/test-simple.c (test_roles): impl.
5204 (test_desktop, validate_accessible, validate_tree): impl.
5206 * cspi/spi_accessible.c (role_names): fixup bogus
5207 MAX_ROLES setup, make constants const for efficient linkage
5208 (AccessibleRole_getName): conform to coding style, make
5211 2001-11-30 Michael Meeks <michael@ximian.com>
5213 * cspi/spi.h: add missing prototype.
5215 * libspi/registry.c (spi_listener_struct_new): fix sig.
5217 * test/Makefile.am: add test-simple
5219 * test/test-simple.c: add
5221 * test/test.sh: add.
5223 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5225 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5226 do it straight - since otherwise we often get an activation race.
5228 [ work before Bill duplicated a chunk of it ... ]
5229 2001-11-30 Michael Meeks <michael@ximian.com>
5231 * libspi/keystrokelistener.c
5232 (spi_keystroke_listener_class_init): fixup arg
5235 * libspi/eventlistener.c
5236 (spi_event_listener_class_init): ditto.
5238 * tests/test.sh: add.
5240 * cspi/spi-listener-impl.h: update macros.
5242 * cspi/spi-listener-impl.c
5243 (cspi_event_listener_remove_callback): add
5244 correct pre-conditions.
5246 * cspi/spi_main.c (SPI_exit): guard vs. double
5247 exits, exit the mainloop nicely.
5248 (SPI_event_main): make more sense.
5249 (SPI_init): move the atexit evilness here so we
5250 always do it (yuck).
5251 (SPI_event_main): upd.
5253 * test/simple-at.c: update for listener changes.
5255 * registryd/registryd.c (main): prune kruft.
5257 * libspi/libspi.h: upd.
5259 * libspi/eventlistener.[ch]: rename broken macros.
5261 * libspi/accessibleeventlistener.[ch]: remove.
5263 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5265 * test/test-simple.c: Add - automated tests.
5267 * cspi/spi-listener-impl.c (cspi_event),
5268 (cspi_key_event): add user_data to invoke.
5269 (cspi_keystroke_listener_finalize): impl.
5270 (cspi_keystroke_listener_class_init): upd.
5273 (createAccessibleEventListener),
5274 (AccessibleEventListener_addCallback),
5275 (createAccessibleKeystrokeListener),
5276 (AccessibleKeystrokeListener_addCallback): upd.
5278 * libspi/deviceeventcontroller.c
5279 (spi_device_event_controller_check_key_event): add public proto.
5282 (impl_accessibility_registry_deregister_global_event_listener):
5283 always init listeners.
5284 (_registry_notify_listeners): yes it is.
5286 * cspi/spi-listener-impl.c (cspi_key_event):
5288 (cspi_event_listener_finalize): impl.
5289 (cspi_event_listener_class_init): hook up.
5290 (event_handler_new, event_handler_free),
5291 (event_list_remove_by_callback): impl.
5292 (cspi_event_listener_remove_callback),
5293 (cspi_keystroke_listener_remove_callback),
5294 (cspi_keystroke_listener_add_callback),
5295 (cspi_event_listener_add_callback): upd.
5297 * libspi/keystrokelistener.c
5298 (keystroke_listener_object_finalize): kill
5299 (spi_keystroke_listener_class_init): upd.
5300 (spi_keystroke_listener_add_callback),
5301 (spi_keystroke_listener_remove_callback): kill,
5303 (impl_key_event): prune drasticaly.
5305 * libspi/eventlistener.c
5306 (spi_event_listener_add_callback),
5307 (spi_event_listener_remove_callback): kill, use
5309 (impl_accessible_event_notify_event): upd.
5310 (spi_event_listener_object_finalize): remove.
5312 * libspi/Makefile.am: use eventlistener.[ch]
5314 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5316 * libspi/registry.c (_registry_notify_listeners):
5317 Changed listener loop iteration to use preferred convention.
5318 Got rid of string memory leaks caused be calling g_strconcat
5319 inside function calls.
5321 * libspi/registry.c (parse_event_type):
5322 Stopped g_strconcat memory leaks, free the g_strsplit return,
5323 g_strdup the split pieces when used, etc.
5325 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5328 Change method 'compare' to return a 'difference set' rather than
5329 taking a StateSet as an out parameter (more Java-friendly).
5331 * idl/Accessible.idl:
5332 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5334 * idl/Component.idl:
5336 Changed methods 'getExtents' and 'getImageExtents' in these
5337 interfaces to return a BoundingBox structure.
5338 (getPosition and getSize are redundant and possibly should be
5339 removed, rather than creating a corresponding Point struct.)
5341 * cspi/spi_component.c:
5342 Modify implementation of getExtents to reflect the above IDL
5347 Add (missing) AccessibleImage_getExtents () API.
5349 * docs/reference/cspi/at-spi-cspi-sections.txt:
5350 Added AccessibleImage_getImageExtents () to docs.
5352 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5354 * idl/Component.idl:
5355 Added two methods, getLayer () and getMDIZOrder (), to reflect
5356 the new ATK methods atk_object_get_layer and
5357 atk_object_get_mdi_z_order. (Which arguably should be part of the
5358 AtkComponent API and AtkObject). Also added an enum,
5359 ComponentLayer, for the first method's return value.
5361 * libspi/component.c:
5362 Added implementations for these methods.
5364 * cspi/spi_component.c:
5366 Added cspi binding methods for above,
5367 AccessibleComponent_getLayer() and
5368 AccessibleComponent_getMDIZOrder().
5369 Added cspi enum 'AccessibleComponentLayer'.
5371 * docs/reference/cspi/at-spi-cspi-sections.txt:
5372 Added above methods to docs.
5376 Changed typedef for 'boolean' type (and all references to it) to
5377 SPIBoolean, to avoid keyword clashes with C++.
5380 Changed usages of 'boolean' to SPIBoolean.
5382 * test/keysynth-demo.c:
5383 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5384 app), except where SPIBoolean is required by the callbacks API.
5386 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5388 * cspi/spi_registry.c:
5389 Removed obsolete X event loop for passive keygrabs (which now
5392 * registryd/registryd.c:
5393 Removed unnecessary call to gdk_init() [cruft]. This also allows
5394 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5397 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5399 * docs/reference/cspi:
5400 Included docs for SPI_freeString in generated documentation.
5403 Renamed spi_freeString to SPI_freeString, for consistency. Added
5404 documentation for this function.
5407 Renamed spi_freeString to SPI_freeString, for consistency.
5408 Removed obsolete method declaration string_from_corba_string.
5410 * test/keysynth-demo.c:
5411 Small tweak to comments.
5414 Stopped leaking the strings returned from CSPI.
5416 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5418 Merged Michael's branch (see his ChangeLog entries below).
5420 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5421 bridge is alive, release on exit.
5423 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5424 Fix type check macro.
5427 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5430 Added is_gnome_app static, and method cspi_is_gnome_app(),
5431 so we can call the appropriate shutdown routine at exit in SPI_exit.
5433 * cspi/spi_main.c (cspi_object_ref):
5434 Duplicate the corba object passed in, since we're keeping it around.
5436 * cspi/SPI_exit.c, cspi_cleanup:
5437 Moved the releasing of the live refs to its own function, so we
5438 can put it in g_atexit (). Call the appropriate shutdown API
5439 depending on whethe calling client is a gnome app or not
5440 (bonobo_main_quit or CORBA_ORB_shutdown).
5442 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5443 Unref the listener when this method is called, after
5444 deregistration. Updated the API docs to note this behavior.
5446 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5447 Bugfixes: Ref the bonobo object when returning a parent or child
5448 reference, or an AccessibleRelation. Generally made sure
5449 BonoboObject refcount is incremented whenever we return an
5452 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5453 Fixed typo/bug in signal declaration.
5455 * libspi/accessibleeventlistener.h:
5458 * libspi/application.c (spi_application_new):
5459 Fixed leak in initialization.
5462 Remembered to increment bonobo-object refcount when returning
5463 children (applications) from desktop object.
5464 Added (empty) finalize method.
5466 * libspi/deviceeventcontroller.c:
5467 Hold a ref to listeners inside DEControllerKeyListeners.
5468 Added dec_key_listener_free() method. Use prepend instead of
5469 append in key_listener list. Fixed some refcount madness and
5470 leaks in the listener registration/deregistration - deregistration
5471 now calls dec_key_listener_free() on listeners, and on the
5472 temporarily constructed dec_key_listener() used to perform the search/match.
5474 * libspi/hypertext.c (spi_hypertest_finalize):
5475 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5476 class. Also fixed spi_hypertext_interface_new() and
5477 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5479 * libspi/hypertext.h:
5480 Removed pointless and duplicate AtkObject pointer from
5483 * libspi/keystrokelistener.c:
5484 Fixed incorrect type of keystroke_listener_parent_class,
5485 renamed keystroke_listener_object_finalize to
5486 spi_keystroke_listener_object_finalize.
5487 Fixed typo in signal declaration
5488 (spi_keystroke_listener_class_init).
5490 * libspi/registry.c:
5491 Added funcsions spi_listener_struct_new() and
5492 spi_listener_struct_free() to help with memory management issues.
5493 We also now use these methods instead of gnew + poking stuff into
5494 the struct, and to decrement listener counts/free the listeners
5495 when deregistering them.
5496 Fix more refcount bugs in getDesktop() and
5497 getDeviceEventController().
5500 De-ref the desktop after enumerating the applications. Explicitly
5501 decrement the refcounts on the created listeners on exit (using
5502 _unref for keystroke listeners, and via the
5503 deregisterGlobalEventListenerAll command for other event
5506 2001-11-27 Michael Meeks <michael@ximian.com>
5508 * cspi/spi-listener.h: fixup enum.
5510 2001-11-27 Michael Meeks <michael@ximian.com>
5512 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5513 (cspi_keystroke_listener_new): Use the cspi variants.
5515 2001-11-26 Michael Meeks <michael@ximian.com>
5517 * test/keysynth-demo.c: fix 2 compile warnings, missing
5520 * test/simple-at.c (report_focussed_accessible),
5521 (report_focus_event, report_button_press),
5522 (check_property_change, is_command_key),
5523 (report_ordinary_key_event, report_command_key_event): upd.
5525 * util/mag_client.h: include pre-requisites.
5527 * libspi/accessibleeventlistener.c
5528 (spi_event_listener_object_finalize): free any lingering
5531 * libspi/keystrokelistener.c
5532 (keystroke_listener_object_finalize): ditto.
5534 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5535 callbacks, with cspi types.
5537 * cspi/spi_event.c (createAccessibleEventListener): chain to
5538 (AccessibleEventListener_addCallback): here.
5539 (createAccessibleKeystrokeListener): chain to
5540 (AccessibleKeystrokeListener_addCallback): here.
5542 * libspi/keystrokelistener.c
5543 (spi_keystroke_listener_class_init): add signal.
5544 (impl_key_event): emit the event.
5545 (boolean_handled_accumulator): impl.
5546 (marshal_BOOLEAN__POINTER): add, gack.
5548 * libspi/accessibleeventlistener.c
5549 (spi_event_listener_class_init): add signal.
5550 (impl_accessible_event_notify_event): emit the signal &
5551 make the loop efficient.
5552 (spi_event_listener_add_callback): prepend the callback.
5554 * libspi/accessibleeventlistener.h: add an 'event' signal,
5555 decl type on callback.
5557 * libspi/keystrokelistener.h: ditto.
5559 * cspi/spi-listener.h: make methods typesafe and
5560 make them use the new event typedefs.
5562 * test/simple-at.c (report_focussed_accessible):
5563 include mag_client.h
5564 Use *(void *)text_interface not the other thing.
5566 * configure.in: add gtk to registryd bits - since we use
5569 * util/magnifier.c: include libbonobo.h
5571 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5573 * test/keysynth-demo.c:
5574 Turned this into a simple scanning keyboard, to demonstrate the
5575 use of g_timeout_add () as a means of creating timers for
5576 scanning, and the use of GtkStyle for visually indicating when
5577 virtual keyboard elements are selected.
5579 keysynth-demo now listens to any keyboard keys with zero-valued
5580 keycodes (i.e. 'unused' keys) and interprets them as
5583 Reworked the shiftlatch code so that shift-down state isn't held
5584 for long periods (it's only synthesized immediately prior to
5585 the keysynth event it's modifying). Note that shiftlatch in this
5586 demo is a convenience, not intended to take the place of AccessX
5587 which is the better choice for getting 'sticky' modifier keys.
5589 * libspi/deviceeventcontroller.c:
5590 * at-bridge/bridge.c:
5591 * cspi/spi_registry.c:
5592 Removed some debug print stuff, and put other verbosity in #ifdef
5597 Implemented some more of the magnifier IDL for the simple
5598 magnifier: namely, getZoomRegionParams.
5599 Added mag_x and mag_y members to MagnifierData struct, aid of this
5601 Added GtkWindow::realize signal handler to magnifier, to keep it
5602 from receiving keyboard focus from the WM.
5604 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5606 * cspi/spi-private.h: my guess at what michael forgot
5607 before he ran off to NZ :-)
5609 2001-11-23 Michael Meeks <michael@ximian.com>
5611 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5612 comment out non existant method invoke so we link.
5614 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5615 use bonobo_exception_get_text for more friendly warnings.
5617 * cspi/spi.c (Obj_Add): move into spi_main & rename
5618 spi_object_add; kill spi.c
5620 * cspi/spi_registry.c
5621 (deregisterGlobalEventListener),
5622 (deregisterGlobalEventListenerAll),
5623 (registerGlobalEventListener): fix exception leaks.
5625 * cspi/spi_main.c (spi_exception): impl. helper, so we
5626 don't leak exceptions.
5628 * cspi/spi_selection.c
5629 (AccessibleSelection_deselectSelectedChild): return the
5632 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5633 (spi_registry): ditto.
5634 (SPI_init): guard against double inits.
5636 * cspi/*.c: use spi_ev (), and spi_registry () where
5637 appropriate - a temporary hack until we have something
5638 better. Use spi_object_add
5640 2001-11-22 Michael Meeks <michael@ximian.com>
5642 * cspi/Makefile.am: re organise, install the headers.
5644 * cspi/*.h: add G_BEGIN/END_DECLS
5646 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5649 Added non-preemptive keylistener for key events with no modifiers
5650 and shift-only modifier.
5652 * libspi/keystrokelistener.c:
5653 Removed some verbose diagnostics printout.
5655 * cspi/spi_registry.c:
5656 Fixed a bug that caused all key listeners to be registered as
5659 * libspi/deviceeventcontroller.c:
5660 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5661 for non-preemptive key masks.
5664 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5666 * docs/reference/idl/at-spi-idl-docs.sgml:
5667 * docs/reference/idl/at-spi-idl-sections.txt:
5668 * docs/reference/idl/at-spi-idl-overrides.txt:
5669 Added missing files.
5671 * docs/reference/Makefile.am:
5672 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5673 to scan the IDL files :-(
5678 Added .cvsignore files.
5680 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5682 * libspi/deviceeventcontroller.c:
5683 * libspi/keystrokelistener.c:
5685 * cspi/spi_registry.c:
5686 Added filters for KeySets, KeyEventSeq, and event types to key
5687 event dispatching, so listeners should only receive those events
5688 that they requested :-)
5690 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5695 * docs/reference:Makefile.am:
5696 * docs/reference/cspi:
5697 * docs/reference/cspi:Makefile.am:
5698 * docs/reference/cspi:tmpl:
5699 * docs/reference/cspi:tmpl:*.sgml:
5700 * docs/reference/idl:
5701 * docs/reference/idl:Makefile.am:
5702 * docs/reference/idl:at-spi-idl-sections.txt:
5703 * docs/reference/idl:at-spi-idl-docs.sgml:
5704 * docs/reference/idl:tmpl:
5705 * docs/reference/idl:tmpl:*.sgml:
5707 Restructured docs directory to allow separate 'reference' docs
5708 section, and forked idl and cspi docs. Added the sgml template
5709 files to CVS. Added the first sections/structural sgml for the
5712 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5714 * configure.in, libspi/Makefile.am: find libXtst.
5716 2001-11-21 Michael Meeks <michael@ximian.com>
5718 * test/accessx-gui.c: s/spi_value/value/ - doh.
5720 * libspi/base.[ch]: add.
5722 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5724 * idl/Accessible.idl:
5725 * idl/Application.idl:
5728 Started gtk-doc cleanup on IDL.
5730 * libspi/deviceeventcontroller.c:
5731 Added and connected non-preemptive key notification from the
5732 toolkits (in addition to the pre-emptive support from XServer
5733 which we had before, but which causes 'focus flashing'). Filters
5734 are presently limited to key modifiers and global/non-global,
5735 KeySets are presently ignored, as are KeyEvent masks.
5737 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5738 structs into the persistant structure rather than just storing
5739 pointers to things that might not persist across servant
5742 The XGrabKey call now does async keygrabs, because synchronous
5743 ones were deadlocking with GDK_event code in a very nasty way.
5745 Added boolean to internal method notify_keylisteners, to indicate
5746 whether the event came from the 'toolkit source' or the 'global
5747 (XServer) source' - this is used in the notification process to
5748 determine which listeners to send the event to.
5750 deviceeventcontroller.c is now warning-free.
5752 * libspi/registry.c:
5753 Fixed regression in application de-registration.
5754 Also fixed some really brain-dead weirdness having to do with
5755 event dispatching - event structs are now duplicated before being
5756 re-marshalled in the dispatch to listeners. This also fixes a
5757 Solaris build problem.
5760 2001-11-20 Michael Meeks <michael@ximian.com>
5763 (impl_accessibility_registry_deregister_global_event_listener):
5766 * libspi/deviceeventcontroller.c
5767 (spi_device_event_controller_check_key_event): return
5768 FALSE on no virtual method.
5770 * libspi/*..h: make includes work on a correctly pathed install.
5772 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5774 * libspi/application.h: kill unused ( and whacked out )
5775 gboolean *spi_application_set_id (AtkObject *app, long id);
5777 2001-11-20 Michael Meeks <michael@ximian.com>
5779 * libspi/*.[ch]: further convert to bonobo's type func
5780 macros, remove redundnant casts etc.
5782 * libspi/text.c s/accessibility_text/spi_text/g,
5783 re-order to de-cruft.
5785 * libspi/hypertext.c: re-order to kill a huge slew
5786 of redundant forward decls.
5788 * libspi/relation.c: ditto.
5790 * libspi/image.c: ditto.
5792 * */.cvsignore: update
5794 2001-11-20 Michael Meeks <michael@ximian.com>
5796 * libspi/deviceeventcontroller.c
5797 (_controller_register_with_devices): use g_getenv,
5798 kill stdlib.h include.
5800 * libspi/keystrokelistener.c
5801 (spi_keystroke_listener_get_type): kill
5802 (spi_keystroke_listener_class_init),
5803 (spi_keystroke_listener_init): rename to this.
5805 * libspi/text.c (impl_getAttributes): fix warning / bug.
5807 * libspi/*.[ch]: more headers, includes and over commenting.
5809 2001-11-20 Michael Meeks <michael@ximian.com>
5811 * libspi/*.[ch]: fixup headers, includes and over commenting.
5813 * libspi/image.c (impl__get_imageDescription): const
5814 correctness warning fix. remove redundant casting.
5816 * libspi/table.c (impl_getRowDescription): ditto.
5817 (impl_getColumnDescription): ditto.
5819 * libspi/libspi.h: add.
5821 2001-11-19 Michael Meeks <michael@ximian.com>
5823 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5825 * libspi/component.c (accessibility_component_get_type):
5826 rename to (spi_component_get_type): and macroify.
5827 (accessibility_component_init): rename to
5828 (spi_component_init): this
5829 (accessibility_component_class_init): rename to
5830 (spi_component_class_init): this
5832 * libspi/action.c (spi_action_get_type): kill, use the macro.
5834 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5837 * libspi/application.c (spi_application_object_event_listener),
5838 (impl_accessibility_application_register_object_event_listener):
5839 warning fixes / const understanding updates.
5841 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5844 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5846 * libspi/spi_accessible.c: Added docs and C bindings for
5847 AccessibleStateSet. (No implementations yet). Documentation
5848 coverage for C bindings now 100%. Made docs for event listeners
5853 boolean notifyListenersSync (in DeviceEventListener listener,
5854 in DeviceEvent event);
5856 oneway void notifyListenersAsync (in DeviceEventListener listener,
5857 in DeviceEvent event);
5859 Added DeviceEventListener and DeviceEvent structs (may deprecate
5860 KeyStroke and KeystrokeListener in favor of this generic
5861 event/listener framework for devices).
5863 * libspi/deviceeventcontroller.c:
5865 Changed some key listener code to take masks, etc., and paved the
5866 way for integration of toolkit/non-preemptive key events. Changed
5867 signatures of some internal methods.
5869 * at-bridge/bridge.c:
5870 Fixed regression connecting to interface signals, apparently
5871 caused by GTK+ changes.
5873 Added an internal bridge_state_listener to deal with
5874 property-change:accessible-state signals.
5876 Changed the key_listeners GList to store structs (including masks,
5877 etc.) instead of just CORBA_Objects (required for full
5878 implementation of key listener API).
5880 Connected the bridge to all currently supported Atk signals.
5881 Events now supported:
5882 object:property-change
5883 object:property-change:accessible-name
5884 object:property-change:accessible-state
5885 object:property-change:accessible-description
5886 object:property-change:accessible-parent
5887 object:property-change:accessible-value
5888 object:property-change:accessible-role
5889 object:property-change:accessible-table-caption
5890 object:property-change:accessible-table-column-description
5891 object:property-change:accessible-table-column-header
5892 object:property-change:accessible-table-row-description
5893 object:property-change:accessible-table-row-header
5894 object:property-change:accessible-table-summary
5895 object:children-changed
5896 object:visible-data-changed
5897 object:selection-changed
5898 object:text-selection-changed
5900 object:text-caret-moved
5902 object:row-reordered
5904 object:column-inserted
5905 object:column-reordered
5906 object:column-deleted
5907 object:model-changed
5909 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5911 * libspi/hyperlink.c,h:
5912 Fixed some broken stuff in hyperlink.
5914 * libspi/relation.h:
5915 * libspi/relation.c:
5916 * cspi/spi_accessible.c:
5917 Initial implementations of AccessibleRelation methods, and docs.
5919 * libspi/accessible.c:
5920 Fixed a bug that caused SEGV if an accessible
5921 object's description is NULL, and a client
5922 requests it. An empty string is now returned.
5924 * cspi/spi_editabletext.c:
5925 * cspi/spi_hypertext.c:
5927 * cspi/spi_hyperlink.c:
5931 Doc coverage now 95%.
5933 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5935 One last namespacing revision:
5936 * libspi/accessibleeventlistener.[ch]:
5937 Renamed SpiAccessibleEventListener to SpiEventListener,
5938 (no need for two namespaces ;-)
5940 And lots of documentation fixes:
5942 * docs/at-spi-docs.sgml:
5943 Fixed 'underscore vs. hyphen' bug that was preventing
5944 the gtk-doc API docs from being automatically generated.
5947 * cspi/spi-listener.h
5949 * cspi/spi_accessible.c
5951 * cspi/spi_application.c
5952 * cspi/spi_component.c
5953 * cspi/spi_editabletext.c
5955 * cspi/spi_hypertext.c
5957 * cspi/spi_registry.c
5958 * cspi/spi_selection.c
5962 * docs/at-spi-docs.sgml
5963 * docs/at-spi-sections.txt
5965 Added and fixed up gtk-doc documentation in cspi.
5967 Interfaces now (fully) documented (subject to revision and enhancement):
5969 Event Listener Support
5971 AccessibleApplication
5975 AccessibleEditableText
5982 AccessibleRelationSet
5987 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5989 * at-bridge/bridge.c:
5990 Initial work for toolkit-level key snooper connection by bridge.
5995 New typedefs and fixes to support new namespacing, and cleaner
5996 separation of cspi bindings from libspi bonobo implementation.
5997 Removed inconsistent and extraneous Spi* namespace prefix that
5998 had crept into cspi headers.
5999 Lots of comment fixes that sed had missed.
6001 * cspi/spi-roletypes.h:
6002 * cspi/spi-statetypes.h:
6003 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6004 to AccessibleRoleType.
6006 * libspi/accessibleeventlistener.h:
6007 Fixed minor namespacing weirdness.
6009 * libspi/deviceeventcontroller.c:
6010 Reordered some internal API for device listeners.
6011 Changed the key registry final boolean to 'is_system_global'
6012 rather than 'is_synchronous', which is more descriptive of its
6014 Added spi_device_event_controller_new().
6015 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6017 * libspi/keystrokelistener.[ch]:
6018 Namespaced KeystrokeListener to SpiKeystrokeListener.
6019 Changed uses of keymasks to use SPI_ prefix, and did other
6022 * libspi/keymasks.h:
6023 Namespaced keymask constants with SPI_ prefix.
6025 * libspi/registry.c:
6026 Some warning fixes, and knock-on fixes from namespace changes.
6029 Added rules for accessx-gui test program.
6031 * test/accessx-gui.c:
6032 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6033 utility. It doesn't actually use at-spi, but it's still cool and
6036 * test/keysynth-demo.c:
6040 Fixes so that these test clients work properly with the namespaced
6041 libraries. (Incompletely tested for technical reasons, fixes may follow)
6044 2001-11-13 Michael Meeks <michael@ximian.com>
6046 * libspi/application.c
6047 (impl_accessibility_application_get_version),
6048 (impl_accessibility_application_get_toolkit_name):
6050 (impl_accessibility_application_set_id),
6051 (impl_accessibility_application_get_id): remove
6052 redundant casting code.
6054 * libspi/action.c (impl_getDescription): fix warnings.
6056 * libspi/accessible.c
6057 (impl_accessibility_accessible_get_parent),
6058 (impl_accessibility_accessible_get_child_at_index),
6059 (impl_accessibility_accessible_get_state),
6060 (impl_accessibility_accessible_get_relation_set):
6061 warning fixes & include action.h
6063 2001-11-13 Michael Meeks <michael@ximian.com>
6065 * *.[ch] fix bits I screwed up:
6067 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6068 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6070 2001-11-13 Michael Meeks <michael@ximian.com>
6072 * *.[ch] Namespace libspi into spi_ and Spi.
6074 2001-13-11 Michael Meeks <michael@ximian.com>
6076 * Makefile.am: dist & install at-spi-1.0.pc
6078 * libspi/Makefile.am: install into at-spi-1.0
6080 * idl/Makefile.am (idldir): install into at-spi-1.0
6082 * at-spi-1.0.pc.in: add.
6084 * configure.in: build it.
6086 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6088 * test/keysynth-demo.c:
6089 Use a 'realize' signal-handler to set the WM properties for
6090 the virtual keyboard, rather than making it a "POPUP" type
6091 override-redirect window (thanks to anders carlsson for that
6094 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6097 * test/keysynth-demo.c:
6098 Added new test of key synthesis, which creates a simple
6099 (mouse-operated) onscreen keyboard. It inserts key events into
6100 the currently-focused window, thus it does not grab keyboard focus
6103 * cspi/spi_registry.c:
6104 Added C binding for AT-SPI generateKeyEvent.
6106 * libspi/deviceeventcontroller.c:
6107 Added call to XFilterEvent so that key listener works with XIM (we
6108 hope). Added event_synth_type to generateKeyEvent, so that we can
6109 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6110 synthesize a press/release pair for KeySyms.
6112 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6114 * libspi/Makefile.am:
6115 * registryd/Makefile.am:
6116 (temporary) hack to include libXtst in libspi and registryd.
6117 (Needed for keystroke synthesis, see below).
6120 Improved API for registerKeystrokeListener, in accordance with
6121 discussions with Gnopernicus team and X server research.
6123 * libspi/registry.c:
6124 * libspi/deviceeventcontroller.c:
6125 * libspi/accessible.c:
6126 * libspi/keystrokelistener.c:
6127 Changes and fixes to support keylisteners for potentially
6128 consumed key events (that is, 'passive grabs').
6129 Added implementation for generateKeyEvent() [untested].
6132 Changes to registerKeystrokeListener() API, as above.
6133 Added deregisterGlobalEventListenerAll(), and
6134 deregisterKeystrokeListener(), which are needed for clean exit of
6136 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6137 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6139 * cspi/spi_registry.c:
6140 Added implementations of function prototypes mentioned above.
6142 * registryd/registryd.c:
6143 Added the key listener event source as a g_timeout(), to allow
6144 receipt of key events that are not caught by GDK (since GDK
6145 doesn't support passive keygrabs, this was necessary).
6148 Changed to attach a keylistener to 'Alt' keys, and
6149 respond to the following keycommands: Alt-M (toggle magnifier);
6150 Alt-F (toggle speech); Alt-Q (quit).
6151 Added an exit routine to deregister the listeners, and a key
6152 listener that prints some key info to the console when a key
6153 matches the listener mask (and is thus received by the listener).
6155 * util/idl/Magnifier.idl:
6156 Changes to magnifier API to support multiple zoom regions,
6157 non-uniform scaling in x and y, markDirty, and a host of other
6158 features that would be useful to magnification.
6161 * util/mag_client.c:
6162 * util/mag_client.h:
6163 * util/mag_control.c:
6165 Source code changes to support the above IDL changes.
6168 As above, and also changes to use a (slower) generic conversion
6169 path for colormap conversions, since the fast RGB conversions have been
6170 reported to fail for 16-bit displays.
6172 2001-10-26 Michael Meeks <michael@ximian.com>
6174 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6176 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6178 * at-bridge/Makefile.am: fix LDFLAGS.
6180 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6182 * at-bridge/bridge.c:
6183 Re-worked listeners for toolkit events, now we have signal
6184 and property listeners. Added a private method
6185 register_atk_event_listeners(), which registers with the
6186 various atk and gtk signals we need to monitor in order to emit
6188 Added emission hook for AtkObject:property-change events, to
6189 support the 'property listeners'.
6190 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6193 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6194 which emit warnings and exit, respectively, if CORBA errors occur
6195 during remote calls, and we now use these methods to check most of
6196 our CORBA calls in the C bindings.
6198 * cspi/spi_accessible.c:
6199 Changed AccessibleSelection_refSelectedChild() to
6200 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6201 now increment refcounts.
6203 * cspi/spi_component.c:
6204 Fixed some long pointer casts (dangerous!) to pass pointers to
6205 CORBA_longs of the proper type to the CORBA stubs, and copy the
6206 data into the longs that were passed into the C bindings code.
6208 * at-bridge/bridge.c:
6210 * libspi/accessible.c:
6211 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6212 hyperlinks, AtkHyperlink is an object type.
6214 * libspi/application.c:
6215 Added various conversions to and from "generic" event types and
6216 atk-specific types; this is really part of the 'bridge'
6217 implementation but is valid for all AtkObject-based accessibility
6220 * libspi/editabletext.c:
6221 Fixed nasty bug wherein editable text's finalize method was
6222 unref'ing tha AtkObject reference that the text parent class was
6223 about to unref _again_. There was also a nasty inheritance bug
6224 that meant that the AccessibleEditableText class was corrupt.
6226 * libspi/selection.c:
6227 Provided implementations for some selection API that was broken.
6229 * idl/Application.idl:
6230 Added registerObjectEventListener () method.
6233 Fixed a number of return values that were Bonobo_Unknowns from
6234 bonobo_object_corba_objref(), which I
6235 forgot to dup before returning. Changed instances of
6236 bonobo_object_corba_objref (bonobo_object(o)) to
6237 BONOBO_OBJREF(o), for concision and clarity.
6239 2001-10-13 Louise Miller <louise.miller@sun.com>
6241 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6242 idl/Event.idl, idl/Registry.idl
6243 Changed these files to include Bonobo_Unknown.idl instead
6246 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6248 * libspi/component.c libspi/component.h:
6249 Fixed typo. Added assertions for object checks in
6250 AccessibleComponent code.
6252 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6254 * idl/Accessible.idl:
6255 Added 'isEqual (Accessible *object)'
6256 method for Accessible. (Not Yet Implemented).
6259 Changed signature of registerKeystrokeListener() to
6260 take a KeySet and KeyEventSeq so that specific keys and event
6261 types could be requested for monitoring, and added a flag
6262 is_synchronous so that either synchronous or asynchronous
6263 notification could be requested. (However this is not all
6264 implemented yet). This also meant adding two new typedefs,
6265 KeyEventSeq and KeySet.
6268 Added two new relations, RELATION_TOOLTIP_FOR and
6269 RELATION_LEAFNODE_OF.
6272 Added new state, STATE_HAS_TOOLTIP.
6274 * libspi/text.c, editabletext.c:
6275 Added new assertions to all casts of bonobo-objects from
6276 CORBA servants, to prevent Text API calls on non-text objects.
6277 Changed suspect casts of int-pointer types, so that we
6278 always send a valid CORBA_long pointer to the CORBA APIs that use
6279 in/out long parameters. We then have to copy from the CORBA_long
6280 into the regular long or int for return to the C bindings, or
6281 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6284 * libspi/deviceeventcontroller.c:
6285 Cleaned these sources up.
6287 Changed return type for getCharacterAtOffset to
6288 CORBA_unsigned_long, to allow for 32-bit characters.
6291 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6295 Fixed 'make dist' so that distro compiles...
6296 * libspi/keymasks.h:
6298 * cspi/spi-listener.c:
6299 KeystrokeListenerCB now returns a boolean.
6301 Added KeyEventType struct, and KeyStroke.
6302 Also added createKeystrokeListener(),
6303 KeystrokeListener_addCallback(),
6304 KeystrokeListener_removeCallback(), and added a keymask to
6305 registerKeystrokeListener().
6306 * cspi/spi_accessible.c:
6307 Changed numerous return types for interfaces from
6308 AccessibleComponent to Accessible<InterfaceName>; this was
6309 probably a cut-and-paste error.
6311 Implementations of new KeystrokeListener api (from spi.h,
6314 Changes to key modifier mapping.
6315 Created ControllerEventMask struct.
6316 Made DeviceEventController derive from Bonobo::Unknown.
6318 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6319 * libspi/deviceeventcontroller.c:
6320 Added a number of new internal (private) methods.
6321 * libspi/editabletext.c:
6322 * libspi/editabletext.h:
6323 Fixed a number of bugs related to the fact that
6324 editabletext inherits from text. Fixed the EditableText struct,
6325 the init() call, and use correct casts when calling Text methods
6326 from an EditableText object. Removed (duplicate) atko from the
6327 EditableText structure, we use the one in the parent Text
6328 structure via the casts mentioned above.
6329 * libspi/keystrokelistener.[ch]:
6330 * libspi/registry.c:
6331 Changes in support of keyboard handling (above).
6333 Keyboard handling, though partly functional, is still not
6334 recommended for at-spi client use as there is considerable
6335 work yet to be done.
6338 Changed some places where pointers to various int types
6339 are cast to be pointers to CORBA_long types and vice-versa:
6340 pointer casting is not safe so we pass pointers of the correct
6341 types and then cast the result before putting it into the target
6344 * libspi/text.h: minor typos corrected.
6346 We now speak not only the name of a Text element, but the
6347 first sentence of its content, when it receives focus.
6348 I also changed the text compression to 75% from 50%.
6349 * util/Accessibility_Util.server.in:
6350 Changed the default magnifier type to be a 3x vertical
6351 splitscreen magnifier (was previously a 2x horizontal one).
6353 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6355 * libspi/keystrokelistener.h:
6356 * libspi/keystrokelistener.c:
6357 Initial functional implementations of KeystrokeListener.
6360 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6362 Fixed string handling for NULL strings in libspi.
6363 Added spi_freeString to free strings returned by C bindings.
6365 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6367 * libspi/keystrokelistener.h:
6368 * libspi/keystrokelistener.c:
6369 Began (no-op) implementations of KeystrokeListener
6371 * libspi/deviceeventcontroller.c:
6372 * libspi/deviceeventcontroller.h:
6373 Began creating implementations of DeviceEventController,
6374 to handle keystroke and mouse event listening and
6376 * libspi/accessible.c:
6377 Stubbed-in the implementations for
6378 Accessibility_Accessible_getState and
6379 Accessibility_Accessible_getRelationSet.
6380 * libspi/registry.c:
6381 Improved de-registration process and fixed some bugs,
6382 deregistration now works correctly.
6384 Added initialization of applications list (to NULL).
6386 Reduced speech compression from 0.5 to 0.7, for demo.
6387 Changed call to gdk_window_set_decorations()
6388 to gtk_window_set_decorated().
6389 * at-bridge/bridge.c:
6390 Bridge now deregisters when app exits, via
6391 registration of a cleanup function
6392 with the g_atexit() call.
6393 Required making 'app' static, renamed 'this_app'.
6394 Fixed broken use of bonobo_init, passing argv wrongly.
6396 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6400 Created a new directory for
6401 accessibility-related utilities, primarily for
6402 testing and demo purposes, but with possible
6409 Onscreen magnifier utility that
6410 is implemented as a bonobo service.
6412 * util/mag_client.c:
6413 * util/mag_client.h:
6414 Client-side support (simple C bindings)
6415 for Magnification service
6417 * util/mag_control.c:
6418 Client program example for
6419 Magnification service
6421 * util/Accessibility_Magnifier.server.in:
6422 Bonobo-activation file for the
6423 Magnification service.
6426 * util/idl/Magnifier.idl:
6427 IDL defining the bonobo Magnification
6431 Modifications to use the bonobo-activated magnifier
6432 above, in place of trying to connect to an existing
6433 magnifier that uses socket-listening IPC.
6435 If env variable MAGNIFIER is set, a magnifier service
6436 will be started if one does not exist.
6438 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6440 * at-bridge/bridge.c:
6441 applied patch from Marc to build and run
6442 against new glib and gtk+ (seemed like a change
6443 to bonobo_init signature was made ?)
6445 made festival-server support turned off by default.
6446 Added support for a simple magnifier (off by default)
6447 which will be added to a 'util' directory later.
6448 * at-bridge/Makefile.am:
6449 Changed "application.h" header from a 'source'
6450 to a 'dependency' of libat-bridge.
6452 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6461 Added interface implementation c files to list of
6462 includes so they are included in libcspi.
6465 Changed prototype of AccessibleAction_doAction to return a
6467 Changed prototype of AccessibleTable_getCaption to
6468 return an Accessible.
6469 Changed prototype of AccessibleTable_getSelectedRows
6470 and AccessibleTable_getSelectedColumns to
6471 return a long (returns the number of selected rows
6472 or columns respectively).
6473 Changed name of AccessibleText_refRunAttributes to
6474 AccessibleText_getAttributes.
6475 Changed prototype of AccessibleText_getCharacterExtents to
6476 return a void rather than a boolean.
6477 Added support for a AccessibleCoordType parameter
6478 specifying what type of coordinates are desired.
6479 Added an AccessibleCordType parameter to
6480 AccessibleText_getPointAtOffset.
6482 * cspi/spi_accessible.c:
6483 Added code to return the outstanding interfaces from
6484 Accessible_queryInterface.
6486 * cspi/spi_action.c:
6488 Corrected call to getNActions to call the c binding
6491 * cspi/spi_editabletext.c:
6493 Changed name from setRunAttributes to setAttributes.
6495 * cspi/spi_hyperlink.c:
6497 Changed call to getNAnchors to correctly call the c
6498 binding for an attribute.
6500 * cspi/spi_hypertext.c:
6502 Changed getImageDescription to correctly call the
6503 binding for an attribute.
6505 * cspi/spi_selection.c:
6506 Changed getNSelectedChildren to correctly call the c
6507 binding for the attribute.
6508 Changed refSelectedChild to getSelectedChild.
6512 Changed getCaption to return an Accessible.
6513 Fixed calls which retrieve attributes.
6514 Changed refAt to getAccessibleAt.
6515 Changed getNSelectedRows and getNSelectedColumns to
6519 Changed getCharacterExtents and getPointAtOffset to accept an
6520 AccessibleCoordType.
6522 Changed calls which retrieve attributes.
6523 Changed refRunAttributes to getAttributes.
6528 * idl/Hyperlink.idl:
6529 Changed n_anchors attribute to nAnchors to keep naming
6530 convention consistent.
6533 Made Table inherit from Bonobo::Unknown.
6534 Added nSelectedColumns and nSelectedRows attributes.
6537 Made Value inherit from Bonobo::Unknown.
6539 * libspi/hyperlink.c:
6540 Change for nAnchors attributte name change.
6542 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6550 Added interface implementation c files to list of
6551 includes so they are included in libcspi.
6554 Changed prototype of AccessibleAction_doAction to return a
6556 Changed prototype of AccessibleTable_getCaption to
6557 return an Accessible.
6558 Changed prototype of AccessibleTable_getSelectedRows
6559 and AccessibleTable_getSelectedColumns to
6560 return a long (returns the number of selected rows
6561 or columns respectively).
6562 Changed name of AccessibleText_refRunAttributes to
6563 AccessibleText_getAttributes.
6564 Changed prototype of AccessibleText_getCharacterExtents to
6565 return a void rather than a boolean.
6566 Added support for a AccessibleCoordType parameter
6567 specifying what type of coordinates are desired.
6568 Added an AccessibleCordType parameter to
6569 AccessibleText_getPointAtOffset.
6571 * cspi/spi_accessible.c:
6572 Added code to return the outstanding interfaces from
6573 Accessible_queryInterface.
6575 * cspi/spi_action.c:
6577 Corrected call to getNActions to call the c binding
6580 * cspi/spi_editabletext.c:
6582 Changed name from setRunAttributes to setAttributes.
6584 * cspi/spi_hyperlink.c:
6586 Changed call to getNAnchors to correctly call the c
6587 binding for an attribute.
6589 * cspi/spi_hypertext.c:
6591 Changed getImageDescription to correctly call the
6592 binding for an attribute.
6594 * cspi/spi_selection.c:
6595 Changed getNSelectedChildren to correctly call the c
6596 binding for the attribute.
6597 Changed refSelectedChild to getSelectedChild.
6601 Changed getCaption to return an Accessible.
6602 Fixed calls which retrieve attributes.
6603 Changed refAt to getAccessibleAt.
6604 Changed getNSelectedRows and getNSelectedColumns to
6608 Changed getCharacterExtents and getPointAtOffset to accept an
6609 AccessibleCoordType.
6611 Changed calls which retrieve attributes.
6612 Changed refRunAttributes to getAttributes.
6617 * idl/Hyperlink.idl:
6618 Changed n_anchors attribute to nAnchors to keep naming
6619 convention consistent.
6622 Made Table inherit from Bonobo::Unknown.
6623 Added nSelectedColumns and nSelectedRows attributes.
6626 Made Value inherit from Bonobo::Unknown.
6628 * libspi/hyperlink.c:
6629 Change for nAnchors attributte name change.
6632 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6634 implementations-- made server implementations own AtkObject pointers
6635 rather than their respective AtkInterrface pointers to fix
6636 refcounting. AtkHyperlink is still broken.
6638 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6639 * cspi/spi_accessible.c:
6640 Added method Accessible_Role_getName(),
6641 and requisite string array (role_names).
6642 Added conversion string_from_corba_strin() call
6643 to Accessible_getName and _getDescription.
6644 * libspi/accessible.c:
6645 Added implementation for Accessible_getRole()
6647 Added festival support, used if environment variable
6650 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6652 * at-bridge/bridge.c:
6653 Now allocate Accessibility_Event using
6654 Accessibility_Event__alloc() instead of g_new0().
6655 * libspi/accessibleeventlistener.c:
6656 Initialize AccessibleEventListener->callbacks to NULL.
6657 Fixed accessible__event_listener_init() param, changed to
6658 "AccessibleEventListener *" type.
6659 Changed a bonobo_object_release_unref() call to
6660 Accessibility_Accessible_unref().
6661 * libspi/listener.c:
6662 Changed Bonobo_Unknown_unref to (equivalent)
6663 Accessibility_Accessible_unref.
6664 * libspi/registry.c:
6665 Changed bonobo_object_release_unref to
6666 Accessibility_Accessible_unref.
6668 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6671 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6672 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6673 spi-util.c spi-util.h
6674 Implementations for C bindings to remaining accessibility
6677 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6680 changed return value of Action from void to boolean to
6681 bring in line with ATK.
6684 Changed getText funcions to return "out" start and end offsets.
6685 Changed getAttributes to take and offset and return the start
6686 and end offset of the attribute run.
6687 Changed getOffsetAtPoint and getCharacterExtents to take an
6688 enum describing whether coordinates are window or screen.
6691 libspi/action.c libspi/action.h libspi/editabletext.c
6692 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6693 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6694 libspi/image.h libspi/selection.c libspi/selection.h
6695 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6696 libspi/value.c libspi/value.h
6697 Added server implementations for outstanding ATK interfaces
6698 not yet implemented.
6700 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6703 Added (missing) getName() method.
6704 Made nActions an attribute.
6705 * idl/EditableText.idl:
6706 Changed order of params in setAttributes.
6707 * idl/Hyperlink.idl:
6708 Removed getAnchor, added getURI.
6710 Changed attributes to methods, for efficiency
6711 (so that getting extents can be done in one call)
6712 * idl/Selection.idl:
6713 Changed nSelectedChildren to attribute, and re-indented.
6714 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6716 * idl/Text.idl: reformatted to match our coding style.
6717 (temporarily?) removed getRowColumnAtOffset().
6718 Changed text selection API to support multi-select and
6719 non-contiguous selections, as in ATK.
6720 * idl/Value.idl: changed some methods to attributes.
6722 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6724 * libspi/listener.c(impl_notify_event):
6725 BonoboUnkown_unref the source instead
6726 of bonobo_object_release_unref - the ORB
6727 handles the releasing.
6729 * configure.in: require ORBit-2.3.94 for
6732 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6734 Tagged CVS repository 'EA_1_0'.
6735 * README.EARLY_ACCESS:
6736 Alphabetized acknowledgements list, and
6738 Listed some known dependencies of at-spi.
6740 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6742 * docs/at-spi-docs.sgml:
6743 * docs/at-spi-sections.txt:
6744 * docs/at-spi-overrides.txt: (Added zero-length file)
6745 Documentation improvements - gtk-doc should build
6746 docs for all implemented C bindings now.
6749 * cspi/spi.c: (New file)
6750 * cspi/spi_event.c: (New file)
6751 * cspi/spi_registry.c: (New file)
6752 * cspi/spi_accessible.c: (New file)
6753 * cspi/spi_application.c: (New file)
6754 * cspi/spi_component.c: (New file)
6755 Split spi_main.c into six parts, and included them from
6756 "spi.c". This is a bit of a hack, probably temporary,
6757 but required by gtk-doc, apparently.
6759 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6762 * docs/at-spi-docs.sgml:
6763 * docs/at-spi-sections.txt:
6765 Initial checkins/modifications for gtk-doc generation.
6768 Added (missing) interface query methods to Accessible's C binding.
6770 Added GenericInterface type definition.
6772 Added query for AccessibleComponent interface to focus event handler.
6773 Added printout of bounding box for focussed component.
6774 * libspi/component.c:
6775 Added partial implementation for AccessibleComponent to C binding.
6776 * idl/Application.idl:
6777 * libspi/registry.c:
6778 * libspi/listener.c:
6779 * libspi/application.c:
6780 * libspi/application.h:
6781 Changed "ID" attribute type from string to long.
6783 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6787 Made method naming consistent: methods taking object args
6788 start with uppercase, other methods (except those using
6789 acronyms) start with lowercase. Underscores delimit between
6790 object names and method names:
6791 SPI_init() - uppercase since it starts with an acronym.
6792 getDesktopCount () - lowercase start since no object param0.
6793 Accessible_getName() - uppercase object type name, studlyCaps method
6797 Added gtk-doc documentation for all currently implemented
6798 methods in the C bindings API.
6800 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6802 * Makefile.am : changed build order to build test last.
6805 Changed "createEventListener" to "CreateEventListener".
6806 * libspi/accessibleeventlistener.c :
6807 Bugfix for addition of callbacks.
6808 * test/Makefile.am :
6809 * test/simple-at.c :
6810 Added new test that uses the C bindings API.
6812 * libspi/listener.c :
6813 * libspi/registry.c :
6814 * libspi/accessibleeventlistener.c :
6815 * at-bridge/bridge.c :
6816 Renamed member "target" of Accessibility_Event to "source",
6817 which is more descriptive.
6820 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6824 * cspi/Makefile.am :
6825 Added makefile support for at-spi/cspi directory.
6828 * cspi/spi-listener.h : (NEW FILE)
6829 Added support for/use of spi-listener.h.
6831 C bindings now build successfully, with no warnings.
6832 * libspi/accessibleeventlistener.h : (NEW FILE)
6833 * libspi/accessibleeventlistener.c : (NEW FILE)
6834 * libspi/Makefile.am :
6835 Added new object type "AccessibleEventListener"
6836 which inherits from Listener, and allows attachment
6837 of in-process callbacks (so that a client with a listening
6838 object instance can add functionality to the local
6839 implementation, dynamically).
6841 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6843 * libspi/accessible.c:
6844 Add implementation for get_index_in_parent().
6846 Added #include of "spi-roletypes.h", and
6847 added enumerated type AccessibleCoordType.
6848 Added definition for KeystrokeListener (function type).
6851 * cspi/spi-statetypes.h :
6852 * cspi/spi-roletypes.h :
6854 Added these headers, used by spi.h.
6856 Added code (NOTE: not yet built by make).
6858 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6860 * libspi/Makefile.am: generate imodule
6861 at the same time as other idl compiler
6864 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6865 * libspi/registry.c :
6866 * libspi/application.c :
6867 * idl/Application.idl :
6868 Made registration with toolkit an application method,
6869 which is required since each app has its own toolkit static
6870 environment. Thus the bridge must register for
6871 notification of toolkit events from each application in turn.
6872 Toolkit notifications are now successfully registered for, and
6873 sent to the listening at client.
6875 Changed toolkit event string to use hyphens rather than underscores.
6876 * libspi/listener.c :
6877 listner now gives more info in debug mode - it reports the
6878 name of the event received, as well as the name of the source.
6881 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6883 * libspi/registry.c :
6884 added more implementation for toolkit events.
6885 Fixed bug such that toolkit event registrations
6886 (via atk) use the whole event name string, not
6888 Removed a useless call to an ORBit_ method.
6889 * at-bridge/bridge.c :
6890 Removed unused local sbuf[] variable.
6892 We now register for Gtk:GtkWidget:button_press_event
6893 events as well as "focus:" events.
6895 Add some more API from Registry.idl that was missing,
6896 for keystroke listening, keystroke and mouse event
6897 synthesis, and enumeration of accessible desktops.
6899 2001-08-16 Michael Meeks <michael@ximian.com>
6901 * configure.in: use AM_GLIB_GNU_GETTEXT.
6903 * Makefile.am (SUBDIRS): kill intl.
6905 2001-08-15 Michael Meeks <michael@ximian.com>
6907 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6909 * configure.in: upd.
6911 * configure.in: depend on a recent bonobo-activation that
6912 will find our server files ...
6914 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6916 * libspi/accessible.c : accessible_new() :
6917 Now we add the Component interface via bonobo_object_add_interface,
6918 if the contained AtkObject implements AtkComponent.
6919 * libspi/accessible.h : now include "component.h"
6920 * libspi/component.h :
6921 * libspi/component.c : added files - implementation of
6922 bonobo wrapper object for Accessibility/Component
6923 * libspi/listener.c :
6924 Added test code to check for Accessibility/Component:1.0
6925 interface and report whether it is implemented by the
6927 * libspi/registry.c :
6928 Now we check for not only the hash of the whole event
6929 string before relaying the event, we also check the
6930 "minor" event string (without the detail string).
6931 This allows event listeners to be registered against
6932 all events of a certain major+minor type, or just
6933 against a specific major+minor+detail type.
6934 * libspi/accessible.c :
6935 Added implementations for Accessible:get_parent(),
6936 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6937 * libspi/registry.c :
6938 * libspi/listener.c :
6939 Replaced calls to Accessibility_Accessible_ref() and
6940 Accessibility_Accessible_unref() with
6941 calls to bonobo_object_dup_ref() and
6942 bonobo_object_release_unref(), so that the CORBA object
6943 is dup-ed and released when relayed, as well as the bonobo object.
6945 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6947 * libspi/Makefile.am,
6948 registryd/Makefile.am,
6949 at-bridge/Makefile.am.
6950 test/Makefile.am, configure.in:
6951 reverse previous changes.
6953 * /idl/Image.idl: fix typo.
6955 * test/Makefile.am: put DEBUG_FLAGS
6958 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6960 * test/app.c: use argv[0] instead of
6963 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6965 * libspi/Makefile.am,
6966 registryd/Makefile.am,
6967 at-bridge/Makefile.am.
6968 test/Makefile.am, configure.in:
6969 cleanup, replace individual LIBS/CFLAGS with
6970 AT_COMMON_{LIBS|CFLAGS}.
6974 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6976 * configure.in, libspi/Makefile.am:
6977 Change IDL path checking for bonobo-activation
6980 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6982 * registryd/registry.c : separated event listeners to use
6983 3 separate lists (focus, window, toolkit). Began testing
6984 event names against hashes before relaying events.
6985 * test/at.c : now register for events of type "focus:"
6986 * test/app.c : now generate events of type "focus:"
6987 * at-bridge/bridge.c : register with ATK for focus events,
6988 and we now relay those focus events to any "focus:" listeners.
6989 This now works with the bridge as a GTK_MODULE when running test/at.
6990 * libspi/registry.c :
6991 * libspi/listener.c :
6992 now we ref event sources before propagating, and unref on receipt.
6993 * libspi/registry.c :
6994 some changes to internal structs, to support event typestring hashes.
6995 * text/app.c : changed the way the appname is generated.
6996 * cspi : added directory that will hold the C bindings library for
6997 non-CORBA/bonobo-savvy clients.
6998 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6999 * idl/Component.idl : added in parameter to indicate coord system for
7000 geometry-related calls.
7001 * idl/Hyperlink.idl : added readonly n_links attribute
7002 * idl/Image.idl : changed methods to attributes.
7004 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7006 * at-bridge/Makefile.am: link against
7007 ../libspi/libspi.la instead of -lspi.
7009 * at-spi/test/app.c: include
7010 bonobo-activation.h. Use a default appname
7011 if one is not provided.
7013 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7015 * idl/Registry.idl : temporarily changed register_Application
7016 to oneway, to work around issue with initial registration
7018 * idl/Application.idl : changed attribute "id" from readonly
7019 to read-write, since it needs to be assigned by Registry.
7020 * registryd/registryd.c : added call to set application id
7022 * registryd/registry.c : changed de-registration procedure to
7023 use CORBA_Object_hash() to find matching object ref in application
7024 lists and listener lists.
7025 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7026 began distinguishing between event types (work in progress).
7028 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7031 * libspi/application.c:
7032 Added implementations for get/set id, get_toolkitName,
7034 * registryd/registryd.c :
7038 Converted from use of OAF to bonobo-activation.
7039 * libspi/desktop.h :
7040 * libspi/desktop.c :
7042 Removed references to atksimpleobject, since base atkobject
7043 implementation now provides functionality we need.
7044 * libspi/atksimpleobject.c :
7045 * libspi/atksimpleobject.h :
7050 * at-bridge/Makefile.am
7051 * at-bridge/bridge.c
7054 Added directory "bridge" and contents, and added dependencies
7055 in Makefile.am/configure.in.
7056 Initial checkin of "at-bridge".
7057 This code is a GTK_MODULE which automatically registers
7058 GTK+ apps with the accessibility registry, using an object
7059 reference to the root ATK object.
7061 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7063 * po/Makefile.in.in: Remove. Again. If this
7064 doesn't get autogenerated - you need to update
7067 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7069 * po/Makefile.in.in: Add. Again.
7071 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7073 * libspi/accessible.c : added support for 'description' property.
7074 * libspi/accessible.c
7076 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7077 (since the two are now equivalent in libbonobo)
7085 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7086 Bonobo::Unknown as does Accessibility::Accessible.
7087 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7088 interface with Bonobo::Stream, since it was redundant with it.
7089 (The Stream returned by a StreamableContext object is expected to
7090 implement only a subset of Bonobo::Stream)
7092 2001-07-28 Anders Carlsson <andersca@gnome.org>
7094 * libspi/accessible.c (accessible_object_finalize): Change
7095 g_free to g_object_unref since the AtkObject is a GObject.
7097 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7099 * idl/Accessibility.idl: add new IDL files
7102 * idl/Action.idl: Definitions of actionable UI object
7103 * idl/Component.idl: Definitions of UI component geometry, etc.
7104 * idl/Hyperlink.idl: Defs of hyperlink behavior
7105 * idl/Image.idl: Def of accessible image
7106 * idl/Selection.idl: Definition of UI object with selectable children
7107 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7108 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7109 * idl/Text.idl: Interface defs for UI elements with complex textual content
7110 * idl/Value.idl: Definition of UI element that is a value controller or display
7112 2001-07-27 Michael Meeks <michael@ximian.com>
7114 * po/Makefile.in.in: remove autogenerated file from CVS.
7116 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7119 * idl/Registry.idl: include guard.
7121 * idl/Accessibility.idl: Add, and include all the other IDL
7124 * idl/*.idl: remove mass of pragmas etc.
7126 2001-07-26 Michael Meeks <michael@ximian.com>
7128 * registryd/Makefile.am (registryd_SOURCES): remove
7131 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7133 * libspi/.cvsignore, registryd/.cvsignore,
7134 test/.cvsignore: updated.
7136 * po/Makefile.in.in: gettext update.
7138 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7140 * initial CVS checkin
7142 2001-06-29 Michael Meeks <michael@ximian.com>
7144 * configure.in: add AM_CONFIG_HEADER to gen config.h