1 2005-03-08 Bill Haneman <bill.haneman@sun.com>
3 * configure.in, NEWS, README: Revved to 1.6.3.
5 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
7 * configure.in: Added "xh" to ALL_LINGUAS.
9 2005-02-07 Bill Haneman <bill.haneman@sun.com>
11 * atk-bridge/bridge.c:
12 (atk_bridge_init): Added missing NULL in g_strconcat(),
13 also check for symlink before logging to
14 insecure directory. Thanks to meissner@suse.de.
16 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
18 * tests/login-helper-server-test.c: Add return call to main
19 function. Patch from Chris Lahey. Fixes bug #165129.
21 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
23 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
25 2004-12-09 Bill Haneman <billh@gnome.org>
27 * registryd/registry-main.c:
28 Added #define <string.h> for strrchr. (bug 160862).
29 Thanks to Vincent Berger for catching.
31 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
33 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
34 restart registry process if the registry process is found to have died
35 and the current process is exiting.
36 (spi_atk_bridge_exit_func): Do not attempt to deregister the
37 application if the registry process has died.
38 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
39 does not return a registry object.
40 (spi_atk_tidy_windows): Give up if the registry process has died.
42 This fixes problems with hangs and crashes when logging out.
44 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
46 * registryd/desktop.c: Add checking that we are not exiting before
47 calling spi_desktop_remove_application in
48 abnormal_application_termination. Fix for bug #152147.
50 2004-12-02 Bill Haneman <billh@gnome.org>
52 * configure.in, NEWS, README: Revved to 1.6.1.
54 Patch from Padraig O'Briain <padraig.obriain@sun.com>
55 * atk-bridge/bridge.c:
56 (atk_bridge_init): Save the pid when we start, to detect forks.
57 (spi_atk_bridge_exit_func): Don't call the cleanup routines
58 if we're in a forked pid.
60 2004-10-09 Bill Haneman <billh@gnome.org>
62 * idl/Accessibility_LoginHelper.idl:
63 Improved inline documentation.
65 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
67 * configure.in: Added gl (Galician) to ALL_LINGUAS
69 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
71 * libspi/accessible.c:
72 (impl_accessibility_accessible_get_role_name),
73 (impl_accessibility_accessible_get_local_role_name):
76 (impl_accessibility_component_get_accessible_at_point):
78 * libspi/eventlistener.c: (spi_event_listener_new):
80 * libspi/stateset.c: (impl_compare): More of the same
81 * libspi/table.c: (impl_getRowDescription): Again.
82 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
83 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
84 (impl_generate_keyboard_event): Same.
85 * registryd/registry-main.c: (main): Same
86 * test/event-listener-test.c: (test_exit): Same
87 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
88 * test/keysynth-test.c: (test_key_synthesis): Same
89 * test/login-helper-server-test.c: (main): Fix warning.
90 * test/screen-review-test.c: (test_exit): Fix include.
91 * test/simple-at.c: (simple_at_exit), (_festival_init):
94 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
96 * configure.in, NEWS, README: Revved to 1.6.0.
98 2004-09-12 Bill Haneman <bill.haneman@sun.com>
100 * configure.in: Rev and re-dist, since the 1.5.4 tarball
101 was missing the HTML docs.
103 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
105 * configure.in: only cleanups:
106 - better looking PKG_CHECK_MODULES() output,
108 - declare in one common place required versions of other tools using
111 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
113 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
114 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
115 required ATK version accordingly.
117 2004-09-03 Bill Haneman <bill.haneman@sun.com>
119 * cspi/bonobo/cspi-bonobo.c:
120 (cspi_display_name): Fix C99ism.
121 * atk-bridge/bridge.c:
122 (spi_display_name): Fix C99ism.
123 Patch from Jens Granseuer, jensgr@gmx.net.
125 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
127 * configure.in: Added "or" to ALL_LINGUAS.
129 2004-08-20 Bill Haneman <bill.haneman@sun.com>
131 * configure.in, NEWS, README: Revved to 1.5.4.
133 * registryd/registry-main.c:
134 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
137 * cspi/bonobo/cspi-bonobo.c:
138 (cspi_display_name): New convenience method, gets DISPLAY with
139 screen number stripped, if AT_SPI_DISPLAY isn't already set.
140 (cspi_init): Set the activation env value above before getting
143 * atk-bridge/bridge.c:
144 (spi_display_name): Create the AT_SPI_DISPLAY activation
145 environment for an app, based on the DISPLAY environment with the
146 screen number stripped off.
147 (atk_bridge_init): Allow redirection of error messages to a log.
148 (spi_atk_bridge_get_registry): Call
149 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
151 Fixes for bugs #149962, #136986, #144086.
153 2004-08-16 Christian Rose <menthos@menthos.com>
155 * configure.in: Added "bs" to ALL_LINGUAS.
157 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
159 * configure.in: Added nb to ALL_LINGUAS.
161 2004-09-03 Bill Haneman <bill.haneman@sun.com>
164 (SPI_init): Return error code '2' if the activated
165 registry cannot be pinged. Fixes bug #147648.
167 2004-07-28 Bill Haneman <bill.haneman@sun.com>
169 * registryd/deviceeventcontroller.c:
170 (spi_dec_init_mouse_listener): Don't do XGrabButton,
171 rely on timer-poll instead, to avoid conflict with
174 2004-07-20 Bill Haneman <bill.haneman@sun.com>
176 * configure.in: Revved to 1.5.3.
178 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
180 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
182 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
184 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
186 2004-06-11 Bill Haneman <bill.haneman@sun.com>
188 * atk-bridge/bridge.c:
189 (spi_atk_bridge_do_registration):
190 Register with ATK for AtkComponent:bounds-changed events.
191 (api_atk_bridge_signal_listener):
192 Marshal the AtkRectangle info into the event notification
193 for object:bounds-changed events.
196 (spi_init_any_rect): New method, inits a corba struct of
197 type Accessibility_BoundingBox from an AtkRectangle.
199 * libspi/spi-private.h: Declared spi_init_any_rect (above).
202 (SPIRect): New struct definition.
203 (SPI_freeRect): New declaration.
204 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
207 (AccessibleBoundsChangedEvent_getNewBounds): New method,
208 implemented. Gets the bounding box data from the CORBA_any
209 associated with a bounds-changed event notification.
210 (cspi_internal_event_get_rect): New, used internally by above method.
213 (SPI_freeRect): Implemented this new method, for freeing
216 * test/event-listener-test.c:
217 (main, report_bounds_event):
218 Added a test for object:bounds-changed events.
220 2004-06-01 Bill Haneman <bill.haneman@sun.com>
222 * test/login-helper-server-test.c:
223 (main): Fix C99-ism. Thanks to Jens Granseuer.
225 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
227 * libloginhelper-1.0.pc.in:
228 * idl/Accessibility_LoginHelper.idl:
229 * login-helper/Makefile.am:
230 * login-helper/login-helper.[ch]:
231 * test/login-helper-client-test.c:
232 * test/login-helper-server-test.c: Added files missing from CVS.
233 Files obtained from at-spi-1.5.2 tarball.
235 2004-05-27 Bill Haneman <bill.haneman@sun.com>
237 * configure.in: Create login-helper/Makefile.
238 Incremented micro version.
240 * Makefile.am: Add login-helper subdir and pkgconfig data.
242 * login-helper: New subdir.
244 * libloginhelper-1.0.pc.in: New.
246 * idl/Accessibility_LoginHelper.idl: New file, defines
247 interface whereby authentication clients can identify agents which
248 need access to services during the login process, e.g. screen lock
251 * login-helper/Makefile.am : New.
253 * login-helper/login-helper.[ch] : New, implementation of
254 a LoginHelper base class. Services needing LoginHelper can subclass.
256 * test/Makefile.am : Added test for login-helper, client and
259 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
260 Use proper prefix in #include files.
262 * test/login-helper-client-test.c: New.
264 * test/login-helper-server-test.c: New.
266 2004-05-27 Alexander Shopov <ash@contact.bg>
268 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
270 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
272 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
273 is positive. This should make it easier to detect inapprorpiate unref
276 2004-05-11 James Henstridge <james@daa.com.au>
278 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
279 no-op and deprecated.
281 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
283 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
285 2004-04-28 Bill Haneman <billh@gnome.org>
287 * Makefile.am: Added --enable-gtk-doc to
288 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
290 2004-04-19 Bill Haneman <billh@gnome.org>
292 * configure.in: Revved to 1.5.1.
294 * registryd/deviceeventcontroller.c:
296 (DEControllerPrivateData): Added fields for
297 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
298 (spi_dec_replace_map_keysym): New internal utility for
299 replacing a keysym in the keymap - used to allow
300 synthesis of individual characters which aren't in the
302 (spi_dec_reset_reserved): New; resets the changed keysym value
304 (keycode_for_keysym): We now try to deal with failed
305 XKeysymToKeycode requests by changing a keymap value
306 and returning a reserved keycode. We now take
307 a DEController pointer as first arg.
308 (spi_controller_register_with_devices): Call XkbGetMap with
309 the XkbKeySymsMask. Find the highest keycode in the current
310 keymap which doesn't have any grabs, and mark that one for
311 temporary re-mapping when out-of-range KeySyms are synthesized.
312 (dec_synth_keycode_press): Call XFlush after synthesizing the key
315 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
317 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
319 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
321 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
323 2004-03-24 Bill Haneman <billh@gnome.org>
326 (AccessibleTable_addRowSelection),
327 (AccessibleTable_addColumnSelection),
328 (AccessibleTable_removeRowSelection),
329 (AccessibleTable_removeColumnSelection):
330 Add declarations for spi wrappers which were
331 inadvertantly omitted. Fixes bug #133413.
334 Revved to 1.5.0 (unstable series for GNOME 2.7).
336 2004-03-24 Bill Haneman <billh@gnome.org>
338 * atk-bridge/bridge.c:
339 Bracketed some debug output in
340 conditionals, to avoid printing it in normal use.
343 * libspi/hyperlink.c:
344 Don't cast 'object' to ATK_OBJECT when constructing
345 an AtkAction interface for a hyperlink.
346 See discussion in bug #120659.
348 * test/key-listener-test.c:
349 (report_all_key_event): Send output to stderr,
350 not stdout, for consistency with the rest of the test callbacks.
353 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
354 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
355 Incremented to 1.4.1 (but didn't dist yet - I'm going to
356 try incrementing the revision AFTER doing a dist, at least
359 2004-03-22 Bill Haneman <billh@gnome.org>
361 * configure.in: Revved to 1.4.0, libtool 9.14.9
363 2004-03-17 Laszlo Peter <laca@sun.com>
365 * libspi-1.0-uninstalled.pc.in: add idldir
367 * cspi-1.0-uninstalled.pc.in: add idldir
369 2004-03-16 Gareth Owen <gowen72@yahoo.com>
371 * configure.in: Added "en_GB" to ALL_LINGUAS
373 2004-03-15 Bill Haneman <billh@gnome.org>
375 * configure.in: Revved to 1.3.16,
378 2004-03-15 Laszlo Peter <laca@sun.com>
380 * libspi-1.0-uninstalled.pc.in: new file
382 * cspi-1.0-uninstalled.pc.in: new file
384 * configure.in: add the new pc files to AC_OUTPUT
386 * Makefile.am: add the new pc files to EXTRA_DIST
388 2004-03-12 Bill Haneman <billh@gnome.org>
390 * atk-bridge/bridge.c:
391 (spi_atk_bridge_key_listener):
392 Make sure to return consumed=FALSE if snoop
393 event is not dispatched to listener.
396 2004-03-01 Bill Haneman <billh@gnome.org>
398 * configure.in: Revved to 1.3.15,
401 2004-03-07 Danilo Segan <dsegan@gmx.net>
403 * configure.in: Added "sr@ije" to ALL_LINGUAS.
405 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
407 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
409 2004-03-01 Bill Haneman <billh@gnome.org>
411 * configure.in: Revved to 1.3.14.
414 (SPI_exit): Removed "bye-bye" exit message.
415 Moved "leak" report to happen before the
416 iteration over the leaked refs list.
417 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
419 2004-02-24 Bill Haneman <billh@gnome.org>
421 * configure.in: Revved to 1.3.13.
423 * docs/reference/cspi/Makefile.am:
424 Correct typo that was breaking the docs build.
426 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
428 * autogen.sh: Require version 1.7 of automake.
430 * configure.in: call GTK_DOC_CHECK([1.0])
432 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
434 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
436 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
438 * test/Makefile.am: Remove use of CFLAGS.
440 This fixes bug #132987.
442 2004-02-11 Bill Haneman <billh@gnome.org>
444 * reverted most of Tomasz' patch below, since it was breaking
445 builds (see bug #134058).
447 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
449 * docs/reference/cspi/at-spi-cspi.types: added empty file for
450 correct pass "make dist" (empty .. because seems no sach types in
451 header files with gtk-doc markups).
452 * docs/reference/cspi/Makefile.am, configure.in:
453 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
454 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
455 * Makefile.am: added:
456 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
457 for force correct pass generate documentation on "make distcheck".
458 * libspi/Makefile.am: fixes for automake >= 1.6.
459 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
460 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
463 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
465 * docs/reference/cspi/Makefile.am (install-data-local): Install
466 index.sgml since the doc autobuilder on widget.gnome.org looks for
469 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
471 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
474 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
476 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
478 2004-01-27 Brian Cameron <brian.cameron@sun.com>
480 * test/simple-at.c: Fixed null string problems that cause core
481 dumping problems on Solaris.
483 2004-01-12 Bill Haneman <billh@gnome.org>
485 * configure.in: Incremented version to 1.3.11.
487 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
489 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
490 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
493 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
495 * configure.in: Added "fa" to ALL_LINGUAS.
497 2003-12-20 Arafat Medini <lumina@silverpen.de>
499 * configure.in: Added "ar" to ALL_LINGUAS
501 2003-12-16 Bill Haneman <billh@gnome.org>
503 * registryd/registry-main.c:
505 Set the reg_env DISPLAY variable before registering the
506 activated registry service. Fixes bug #129479.
508 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
510 * configure.in: Added "id" in ALL_LINGUAS
511 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
513 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
515 * registryd/deviceeventcontroller.c (global_filter_fn):
516 When an event is consumed discard any XEvents were added to
517 the queue while dealing with the the event. This can happen if
518 processing of the event takes a long time. Call XUngrabKeyboard
519 if an event was discarded. This fixes bug $124837.
520 Only call wait_for_release_event for a KeyPress.
521 Use local variable display instead of spi_get_display().
522 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
525 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
527 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
528 Allow for mask to contain values other than NumLock mask.
531 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
533 * registryd/devieceventcontroller.c:
534 (wait_for_release_event): Change first parameter from GdkEvent to
536 (global_filter_fn); Correct call to wait_for_release_event.
540 2003-12-08 Bill Haneman <billh@gnome.org>
544 * registryd/ucs2keysym.c: New file.
546 * registryd/deviceeventcontroller.c:
547 (dec_keysym_for_unichar): Remove old partial implementation and
548 replace with call to ucs2keysym(), which is much more complete.
549 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
554 2003-12-05 Bill Haneman <billh@gnome.org>
556 * configure.in: Version 1.3.9.
558 * docs/reference/cspi/tmpl/spi_registry.sgml:
559 Added reference to libspi/keymasks.h to the
560 description of Registry queries: AccessibleKeyMaskType.
563 2003-12-04 Bill Haneman <billh@gnome.org>
567 * idl/Accessibility_Application.idl:
568 (Accessibility::LOCALE_TYPE): New enum, corresponds to
569 setlocale's LC_TYPEs.
570 (Accessibility::Application::getLocale): New method.
571 Allows clients to query the locale, by type, of an app.
574 * cspi/spi_application.c:
575 (AccessibleApplication_getLocale): New method, wraps IDL above.
577 * libspi/application.c:
578 (spi_application_class_init): Init epv entry for getLocale.
579 (impl_accessibility_application_get_locale): Impl for above.
581 * test/test-simple.c:
582 (test_application): Added assertion for getLocale, i.e.
583 that the string from AccessibleApplication_getLocale (app, type)
584 is the same as that from setlocale (type, NULL);
586 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
588 *registryd/deviceeventcontroller.c: Add an idle handler which polls
589 the keyboard on a timeout intil the key state goes from pressed to
590 released. Fixes bug #111429.
592 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
594 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
595 root object so that it is present when a context menu in an
596 out-of-process applet is popped up.
597 (spi_atk_bridge_do_registration): Create acceessible application root
598 object only if it does not exist.
600 This fixes bug #125834.
602 2003-12-01 Bill Haneman <billh@gnome.org>
604 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
607 Added enum for AccessibleStreamableContentSeekType.
608 (AccessibleStreamableContent_freeContentTypeList): New.
610 * cspi/spi_streamablecontent.c:
611 (accessible_bonobo_stream_client_seek): New private method.
612 (AccessibleStreamableContent_seek): Implemented this method,
613 using Bonobo_Stream_seek.
614 (AccessibleStreamableContent_freeContentTypeList): New method
615 for freeing the return value from
616 AccessibleStreamableContent_getContentTypes.
617 (stream_cache_item_free): Replaces stream_release; stop leaks.
618 (stream_release): removed.
619 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
620 free the memory properly.
622 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
626 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
628 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
630 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
632 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
634 2003-12-01 Bill Haneman <billh@gnome.org>
636 Fix for bug/rfe #127463.
638 * idl/Accessibility_Accessible.idl:
639 (getLocalizedRoleName): New.
640 (unimplemented4): Removed (replaced by above).
642 * libspi/accessible.c:
643 (impl_accessibility_accessible_get_local_role_name): New.
644 (spi_accessible_class_init): Add getLocalizedRoleName entry to
648 (Accessible_getLocalizedRoleName): New.
650 * cspi/spi_accessible.c:
651 (Accessible_getLocalizedRoleName): New.
653 2003-12-01 Bill Haneman <billh@gnome.org>
656 * idl/Accessibility_Text.idl:
657 (getDefaultAttributes): New.
658 (unimplemented4): Removed (replaced by above method).
661 (impl_getDefaultAttributes): New method.
662 (spi_text_class_init):
663 initialize the get_default_attributes slot in the epv.
666 (AccessibleText_getDefaultAttributes): New prototype.
669 (AccessibleText_getDefaultAttributes): New method.
671 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
673 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
674 write beyond the end of the table. Fixes bug #120473.
676 2003-09-30 Christian Rose <menthos@menthos.com>
678 * configure.in: Added "eu" to ALL_LINGUAS.
680 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
682 * configure.in: ALL_LINGUAS: Added no.
684 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
686 * configure.in: Added lt to ALL_LINGUAS.
688 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
690 * atk-bridge/bridge.c:
691 (atk_bridge_init): Register event listeners always even for
692 out-of-process applet.
693 (spi_atk_bridge_toplevel_added): Remove call to
694 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
695 (spi_atk_bridge_toplevelk_removed): Remove call to
696 spi_atk_deregister_event_listenersa as the listeners are now always
698 (spi_atk_bridge_register_application): Remove call to
699 spi_atk_register_event_listeners as it is not done in atk_bridge_init
701 This fixes bug #120991.
703 * libspi/table.c (impl_getColumnDescription): Correct typo,
704 pointed out by Bolian.Yin@sun.com.
706 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
708 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
710 2003-09-08 Bill Haneman <billh@gnome.org>
712 * configure.in: Revved to 1.3.7.
714 This is the GNOME 2.4.0 release of at-spi.
716 * docs/reference/cspi/Makefile.am:
717 Removed spurious inclusion of 'index.sgml' in the
718 html directory; this was breaking make distcheck and
719 also some other build environments.
721 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
723 * registryd/registry.[ch}:
724 Add queue_handler_id and focus_object to SpiRegistry data structure.
725 (registry_flush_event_queue): If event being discarded is
726 "state-change:focused" store object as focus_object.
727 (registry_start_queue): Remove queue handler and focus object
729 (registry_discard_event): New function which discards a focus event
730 if we had stored focus object in the registry.
731 (registry_queue_event): Add new check that is_queueing is set as this
732 function is reentrant.
733 (registry_filer_event): Add call to registry_discard_event.
735 This resolves issues raised in bug #108664.
737 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
739 * configure.in: Added "bn" to ALL_LINGUAS.
741 2003-09-04 Bill Haneman <billh@gnome.org>
743 * cspi/spi_event.c: Documentation improvements for
744 (SPI_registerAccessibleKeylistener).
746 * docs/reference/tmpl/spi_registry.sgml:
747 Documentation improvements for SpiAccessibleKeylistenerCB.
749 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
751 * configure.in: Added "ro" to ALL_LINGUAS.
754 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
756 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
757 not decremented to zero. Fixes bug #120725.
759 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
761 * configure.in: Added "ja" to ALL_LINGUAS.
763 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
765 * configure.in: Added "is" to ALL_LINGUAS.
767 2003-08-22 Christian Rose <menthos@menthos.com>
769 * configure.in: Added "nl" to ALL_LINGUAS.
771 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
773 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
774 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
776 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
778 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
779 type for unspecified exception.
780 * cspi_streamablecontect): Add include of string.h for memcpy.
781 (stream_release): Correct call to bonobo_object_release_unref
782 (stream_cache_item_free): Correct call to bonobo_object_release_unref
783 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
784 argument of _cspi_expection_throw.
785 * libspi/hyperlink.c: Add include of libspi/action.h:
786 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
787 * libspi/streamablecontent.c: add include of libspi/component.h.
788 * regisrtyd/deviceeventcontroller.c:
789 (spi_dec_translate_mask): Removed unused variable priv.
790 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
791 * registryd/registry.c:
792 (registry_filter_event): Remove unused variable queue_is-empty.
793 (impl_registry_notify_event): Use correct modifier in fprintf call.
795 This fixes compiler warnings reported in bug #120220.
797 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
799 * registryd/registryd.c: Remove this file.
801 2003-08-17 Sanlig Badral <badral@openmn.org>
803 * configure.in: Added mn to ALL_LINGUAS.
805 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
807 * configure.in: Added et to ALL_LINGUAS.
809 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
811 * test/event-listener-test.c: Change active-descendant to
812 active-descendant-changed.
814 2003-08-10 Sami Pesonen <sampeson@iki.fi>
816 * configure.in: Added "fi" in ALL_LINGUAS.
818 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
820 * configure.in: Added "hi" in ALL_LINGUAS.
822 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
824 * configure.in: Revved to 1.3.6.
828 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
830 * registryd/deviceeventcontroller.c
831 (spi_device_event_controller_object_finalize): Fix typo in previous
834 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
836 * registryd/deviceeventcontroller.c
837 (spi_device_event_controller_object_finalize): Fix build on
838 systems without XEvIE.
840 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
842 * acconfig.h, configure.in, registryd/Makefile.am,
843 registryd/devicecontoller.[ch]: Add XEViE support.
845 2003-08-06 Wang Jian <lark@linux.net.cn>
847 * configure.in: Added "zh_CN" to ALL_LINGUAS.
849 2003-08-06 Metin Amiroff<metin@karegen.com>
851 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
853 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
855 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
856 MODIFIER_ALT in correct place.
858 This fixes part of bug #118114.
860 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
862 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
864 2003-07-28 Changwoo Ryu <cwryu@debian.org>
866 * configure.in: Added "ko" to ALL_LINGUAS.
868 2003-07-28 Ole Laursen <olau@hardworking.dk>
870 * configure.in: Added "da" to the commented out ALL_LINGUAS.
872 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
874 * configure.in: Added "sq" to ALL_LINGUAS.
876 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
878 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
880 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
882 * configure.in: updated ALL_LINGUAS list
884 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
886 * configure.in: Added Belarusian to ALL_LINGUAS.
888 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
890 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
892 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
893 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
895 This fixes bug #116949.
897 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
899 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
900 Correct CSPI to SPI in function documentation.
902 This fixes bug #118054.
904 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
906 * configure.in: Added Russian to ALL_LINGUAS.
908 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
910 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
912 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
914 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
916 2003-07-10 Joel Brich <joel.brich@laposte.net>
918 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
920 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
922 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
924 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
926 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
927 resources allocated for AccessibleEvent. See cspi_event().
929 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
930 static variable streams to NULL.
932 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
933 Update so that AcessibleEvent_ref will work.
935 This fixes bug #116624.
937 2003-07-06 Jordi Mallach <jordi@sindominio.net>
939 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
941 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
943 * configure.in: Added "fr" (French) to ALL_LINGUAS.
945 2003-07-02 Christian Neumair <chris@gnome-de.org>
947 * configure.in: Added "de" (German) to ALL_LINGUAS.
949 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
951 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
953 2003-07-01 Miloslav Trmac <mitr@volny.cz>
955 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
957 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
959 * configure.in: Added "pl" to ALL_LINGUAS.
961 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
963 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
965 2003-06-30 Bill Haneman <bill.haneman@sun.com>
968 (get_action_from_servant):
969 Removed assertion that action is implemented on an AtkObject.
971 * libspi/hyperlink.c:
973 Aggregate AccessibleAction interface on the hyperlink object if
974 the object implements AtkAction. (This convention is used in
977 2003-06-30 Bill Haneman <bill.haneman@sun.com>
979 * configure.in: Revved to 1.3.5.
981 * registryd/Accessibility_Registry.server.in.in:
982 Marked up appropriate strings for translation.
984 * atk-bridge/bridge.c: Marked a couple of
985 user-visible warnings for translation. Questionable
986 whether they are really useful, but possibly so.
989 2003-06-28 Christian Rose <menthos@menthos.com>
991 * configure.in: Added "sv" to ALL_LINGUAS.
993 2003-06-26 Bill Haneman <bill.haneman@sun.com>
995 * registryd/registry.c:
996 (spi_registry_object_finalize): Unref the deviceeventcontroller.
997 (registry_defer_on_event): Defer focus: events, this is an
998 improvement to the patch for bug #108664.
1000 * TODO: Update with 2.4/"Dev Complete" items.
1002 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1004 * atk-bridge/bridge.c:
1005 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1006 looks up signals once.
1007 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1008 if doing registration.
1009 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1010 when doing registration.
1012 This fixes bug #115014.
1014 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1016 * atk-bridge/bridge.c:
1017 (atk_bridge_init): Add signal handler for children-changed:remove on
1018 root when in a BonoboComponent.
1019 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1020 for first toplevel only other incrememt variable toplevels.
1021 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1022 application and remove listeners.
1023 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1025 (spi_atk_deregister_event_listeners): New function which removes
1027 (reinit_register_vars): New fuction which reinitializes variables.
1029 This fixes bug #111578.
1031 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1033 * configure.in: version 1.3.4.
1035 * cspi/spi_accessible.c:
1036 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1039 2003-06-13 Michael Meeks <michael@ximian.com>
1041 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1043 * cspi/spi_main.c (cspi_peek_ev): impl.
1045 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1047 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1049 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1051 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1052 SPI_ROLE_AUTOCOMPLETE
1054 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1056 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1057 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1059 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1061 * libspi/streamablecontent.h:
1062 * libspi/streamablecontent.c:
1063 New files, provide implementation/wrappers for
1064 Accessibility_StreamableContent.
1066 * cspi/spi_streamablecontent.c:
1067 Connected the C wrappers to the libspi C bindings.
1068 (AccessibleStreamableContent_close): New method.
1071 (AccessibleStreamableContent_close): New method, needed
1072 since we have an "open, [seek], read, close" model in cspi.
1074 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1076 Fix for #108664; Padraig's revision of my original patch.
1078 * registryd/registry.h:
1079 Added event queue list, is_queuing, and exit_notify_timeout
1080 to the registry struct.
1082 * registryd/registry.c:
1083 (registry_init): Initialize new struct from registry.h.
1084 (impl_registry_notify_event):
1085 Filter events before notifying, in case some need to be
1087 (registry_filter_event): New,
1088 we defer certain incoming events (for instance
1089 window:deactivate) because we may wish to hide
1090 or reject them based on pending events. This is
1091 mostly a workaround for bug #108664.
1092 (registry_queue_event, registry_start_queue): New.
1093 (registry_defer_on_event): Test event to see if it
1095 (registry_reset_on_event): Returns TRUE if the
1096 event should cause a queue reset.
1097 (registry_discard_on_event): Returns TRUE if the event
1098 should cause the previous queue contents to be discarded.
1099 (registry_timeout_flush_queue): Flushes the pending event
1100 queue if no reset/discard-triggering events have come in
1101 within the timeout period.
1102 (registry_emit_event): New.
1103 (registry_clone_notify_context): New, used when queueing the
1104 event notify contexts.
1106 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1108 * configure.in: Version revved to 1.3.2, lt 0.9.2
1109 Incremented ATK required version to 1.3.4.
1111 * cspi/spi_registry.c:
1112 (SPI_generateKeyEvent):
1113 We now pass the keystring along if it's non-null.
1115 * registryd/deviceeventcontroller.c:
1116 (keysym_mod_mask): New method, returns modifier mask
1117 required to generate a keysym from a given keycode.
1118 (dec_synth_keysym): New method.
1119 (dec_synth_keystring): New method.
1120 (dec_get_modifier_state): New method.
1121 (dec_lock_modifiers): New
1122 (dec_unlock_modifiers): New.
1123 (dec_keysym_for_unichar): New, rather brute-force
1124 conversion from UCS-4 to X KeySyms. Only works for
1125 Latin at the moment, with partial implementations for
1126 Greek, Hebrew, and (incomplete) Katakana.
1127 (impl_generate_keyboard_event): Now implement
1128 "KEYSTRING" synthesis and implement "KEYSYM"
1130 (keycode_from_keysym): Improved, passes a returned
1131 modmask value now if the corresponding param is non-NULL.
1133 Fixes bugs #92143 and #109776.
1136 * test/keysynth-test.c:
1137 New test program for key synthesis, to confirm fixes for
1141 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1143 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1145 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1146 Add line for RELATION_POPUP_FOR
1148 * docs/reference/cspi/tmpl/spi_relation.sgml:
1149 Add relation SPI_RELATION_POPUP_FOR
1151 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1152 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1154 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1156 * libspi/relation.c (spi_init_relation_type_table):
1157 Add line for RELATION_POPUP_FOR
1159 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1161 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1162 there are still windows which have not been deleted and emit
1163 window:deactivate, if necessary and window:destroy events.
1164 This fixes bug #114370. The change on June 5th was not correct.
1166 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1168 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1171 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1173 New methods for client exception handling and interception.
1174 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1175 (SPI_exceptionHandlerPop): You guessed it...
1176 (SPI_getSourceType): Return the type of object which offended.
1177 (SPI_getExceptionCode): Return an enum code telling, possibly,
1178 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1179 (SPIAccessibleException_getSource): get the source object for
1180 exceptions that come from Accessibles, if SPIExceptionSourceType is
1181 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1182 (SPIException_getDescription): New, returns a string description of
1183 the problem. [Not yet a stable ABI, strings are not frozen]
1185 * cspi/spi-private.h:
1186 Added implementation details of opaque SPIException
1190 Implementations of above. Also
1191 (_cspi_exception_throw): new private method that
1192 dispatches exceptions to handlers, called from cspi-bonobo.c
1194 * cspi/bonobo/cspi-bonobo.c:
1195 (cspi_check_ev): call _cspi_exception_throw.
1196 Don't print a warning message if the exception has been
1197 handled by _cspi_exception_throw.
1199 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1201 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1202 there are still windows which have not been deleted and emit
1203 window:deactivate, if necessary and window:destroy events.
1204 This fixes bug #114370.
1206 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1209 (cspi_accessible_is_a): Make non-fatal
1210 if the object reference is dead.
1212 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1214 * cspi/spi_main.c: #include <stdio.h>
1215 * test/simple-at.c: ditto
1216 * test/event-listener-test.c: ditto
1217 * test/screen-review-test.c: ditto
1219 2003-05-30 Michael Meeks <michael@ximian.com>
1221 * test/test-simple.c (main): use CORBA_ORB_perform_work
1222 instead of an unnecessary linc_ call.
1224 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1226 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1227 Add SPI_STATE_INDETERMINATE.
1229 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1232 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1234 * libspi/stateset.c (init_state_type_tables): Add support for
1237 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1239 * configure: Update versions of atk and gail required.
1240 This fixes bug #113268.
1242 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1244 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1246 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1248 * libspi/Makefile.am:
1249 Ensure headers are generated before being used by c sources.
1251 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1254 Simplified lt versioning rules.
1255 Incremented version to 1.3.0, to indicate that we're on the
1256 unstable branch now.
1258 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1260 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1261 Add MKDB_OPTIONS=--outtput-format=xml
1263 * docs/reference/cspi/at-spi-cspi-docs.sgml
1264 docs/reference/idl/at-spi-idl-docs.sgml:
1265 Convert to Docbook XML.
1267 This fixes bug #111793.
1269 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1271 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1272 AcccessibleKeyEventType, AccessibleKeyMaskType.
1274 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1276 * cspi/state-types.h: Add documentation for AccessibleState.
1278 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1279 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1280 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1281 AccessibleComponentLayer.
1283 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1286 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1288 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1289 Accessible. Add description of AccessibleEvent,
1290 AccessibleEventListenerCB.
1292 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1295 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1296 documentation. Add description of AccessibleKeystrokeListenerCB,
1297 AccessibleKeyEventMask, AccessibleModifierMaskType,
1298 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1299 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1301 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1304 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1307 This fixes bug #104730.
1309 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1311 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1312 Set is_text field of Accessibility_DeviceEvent data structure.
1314 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1315 is-text field of AccessibleDeviceEvent data structure.
1317 This addresses part of bug #108666.
1319 * registryd/devcieeventcontroller.c: Unset debug option.
1321 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1323 * cspi/accessible.c:
1324 (cpi_initial_relation_type_table): New function which initializes
1325 mapping between Accessibility_RelationType and AccessibleRelationType.
1326 (cspi_relation_type_from_spi_relation_type): New function which
1327 translates an Accessibility_RelationType into an AccessibleRelationType.
1328 (AccessibleRelation_getRelationType): Use
1329 cpi_relation_type_get_spi_relation_type to return correct value.
1330 (spi_state_to_corba): Return correct type for default case.
1332 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1333 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1335 * cspi/cspi-bonobo-listener.c:
1336 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1339 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1340 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1341 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1342 libspi/image.c, libspi/listener.c, libspi/selection.c,
1343 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1344 registryd/desktop.c, registryd/registry.c:
1345 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1347 * libspi/eventlistener.c
1348 Remove semicolon after BONOBO_TYPE_FUNC.
1350 * libspi/relation.c:
1351 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1352 (spi_init_relation_type_table): Initialize using correct type.
1354 * registryd/desktop.c:
1355 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1356 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1357 of Accessibility_KeyEventType.
1359 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1362 * tests/simple-at.c, tests/screen-review-test.c:
1363 Add include for <strings.h>.
1365 * tests.stress-test.c:
1366 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1368 These changes fix compiler warnings when using FORTE compiler on
1369 Solaris; fixes bug #107479.
1372 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1375 * configure.in: revved to 1.1.10
1377 * libspi/keymasks.h:
1378 (SPI_KEYMASK_NUMLOCK): Added.
1380 * registryd/deviceeventcontroller.c:
1381 (spi_key_event_matches_listener): AND with a smaller
1382 bitmask (as we should).
1383 (spi_dec_translate_mask):
1384 New method, sets the virtual NumLock modifier bit
1385 if numlock is on. Eventually it can handle other virtual
1386 modifier bits if needed, or other marshalling from
1387 at-spi modifier masks to platform (X) masks.
1388 (spi_dec_key_listener_new):
1389 Call spi_dec_translate_mask to set up virtual mod bits
1390 in the 'mask' field when creating a new listener struct.
1391 (spi_dec_emit_modifier_event):
1392 Set the virtual (i.e. NumLock) bits before emitting event.
1393 (spi_controller_register_with_devices):
1394 Query for the NumLock modifier 'physical' bit if Xkb is
1395 present, for use in above methods.
1399 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1401 * registryd/deviceeventcontroller.c:
1402 (spi_keystroke_from_x_key_event):
1403 Instead of checking to see if the keysym is
1404 printable, check the string from XLookupString
1405 if available, get the first unicode character from it,
1406 and call g_unichar_isprint to determine whether the
1407 is_text flag should be TRUE or FALSE.
1411 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1413 * atk-bridge/bridge.c: Add support for extended events
1414 * cspi/spi_event.c: Add documentation and implementation for
1416 * tests/event-listener-test.c: Add tests for extended events.
1418 This fixes bugs #100424 and #100426.
1420 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1422 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1423 of LT_CURRENT. This fixes bug #89350.
1425 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1427 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1428 number of signal parameter values before accessing them. This fixes
1431 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1433 * configure.in: Fixed duplicate inclusion of -lspi.
1434 * branched for gnome-2-2/HEAD.
1435 [created tag "gnome-2-2"]
1437 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1439 * configure.in: 1.1.9 release.
1442 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1444 [needed by GOK, to fix bugs 107985 and 107988]
1445 * registryd/deviceeventcontroller.c:
1446 (spi_dec_clear_unlatch_pending):
1447 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1448 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1449 (spi_dec_init_mouse_listener):Emit warning if mouse button
1451 (spi_device_event_controller_forward_mouse_event):
1452 Removed unnecessary parens from a conditional.
1453 (global_filter_fn):Added TODO comment.
1454 (impl_generate_keyboard_event):
1455 Cancel a pending relatch if a 'delatching' key was
1458 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1460 * atk-bridge/bridge.c:
1461 Change atk_signal_child_changed to atk_signal_children_changed.
1462 Reorganize code in spi_atk_bridge_signal_listener().
1464 * test/event-listener-test.c:
1465 Add children_changed_listener and report_children_changed_event()
1466 to test AccessibleChildEvent_getChildAccessible.
1468 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1470 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1471 g_strdup to CORBA_String_dup (bug #105291)
1473 * test/event-listener-test.c (report_text_event): Add call to
1476 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1478 * registryd/deviceeventcontroller.c:
1479 (spi_keystroke_from_x_key_event):
1480 Fix string and keysym return codes to match modifier state.
1483 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1485 * registryd/deviceeventcontroller.c:
1486 (spi_keystroke_from_x_key_event):
1487 Fix segv due to improper use of isprint(c). [bug #107254]
1489 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1492 (get_accessible_text_boundary_type):
1493 Move default return value to (new) default case in switch.
1494 (get_accessible_text_clip_type):
1495 Move default return value to (new) default case in switch.
1497 * libspi/application.c:
1498 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1499 Remove unused methods.
1500 (impl_accessibility_application_register_object_event_listener):
1501 Remove unused methods.
1504 Added #include of <math.h>.
1506 * registryd/deviceeventcontroller.c:
1507 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1508 we don't currently use this method.
1509 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1511 (impl_generate_key_event):
1512 Remove unused variables.
1513 (impl_generate_mouse_event):
1514 Initialize button to zero, just in case we get an invalid
1515 input. Added support for mouse buttons 4 and 5.
1516 (spi_device_event_controller_new):
1517 Removed unused variable declaration for 'private'.
1519 Added #include of <gdk/gdk.h>
1521 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1523 * configure.in: Update to work when X is not installed in expected
1524 location. Fixes bug #105836.
1526 * atk-bridge/bridge.c
1527 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1529 (spi_atk_register_event_listener): Add signal listener for
1531 (spi_atk_bridge_signal_listener): Event event when link-selected
1532 signal is emitted. (bug #104622)
1534 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1535 on returned string. (bug #105291)
1537 * test/event-listener-test.c: Add test for link-selected.
1539 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1541 * atk-bridge/Makefile.am: Correct typo in previous commit.
1543 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1545 * atk-bridge/Makefile.am: Allow for build directory to be different
1546 from source directory
1548 * registryd/Makefile.am: Allow for build directory to be different
1549 from source directory
1553 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1556 Fixed dependencies for libcspi so that libspi gets pulled in
1557 properly. Fixes 104741.
1561 Clean up inline docs a little.
1563 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1565 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1566 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1567 the AtkObject within an SpiDesktop.
1568 This addresses bug #101524.
1570 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1571 Remove call to gdk_init().
1573 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1574 so that Display is set when SpiDesktop is created.
1576 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1578 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1579 This fixes bug #102830.
1581 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1583 * test/test-simple.c: Update to take account of fact that GailButton
1584 now implements AtkText.
1585 (create_text_window): Set name on AtkObject for GtkEntry.
1586 (validate_accessible): Check accessible name before calling test_text().
1588 * libspi/Makefile.am: Fix problem with building outside of source
1589 directory. Bug #98120.
1591 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1592 typo in documentation comments. Bug #94275.
1594 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1596 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1598 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1601 Add includes to avoid compiler warnings on Solaris.
1602 (impl_getRangeExtents): Bug fix.
1604 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1606 Fix for 100944, [API addition approved by Gman and murrayc].
1613 * idl/Accessibility_Text.idl:
1614 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1615 (Text::getRangeExtents): New method for efficient
1616 bounds query of a text range.
1617 (Text::getBoundedRanges): New method for efficient
1618 clipping of text to bounding boxes.
1619 (unImplemented7, unImplemented8):
1620 Removed these padding methods to preserve bincompat.
1623 (impl_getRangeExtents): implementation of new IDL.
1624 (impl_getBoundedRanges): implementation of new IDL.
1625 (SpiTextRect): Internal use struct.
1626 (_spi_text_rect_union): internal method, calculates union of two
1627 SpiTextRect bounding rects.
1628 (_spi_text_range_seq_from_gslist): internal method, allows us
1629 to build our sequence efficiently as a gslist then convert it
1631 (_spi_bounds_contain): internal method, determines whether
1632 a text character is "in" or "out" of a clip rect according to
1633 values of TEXT_CLIP_TYPE.
1634 (spi_text_class_init): Initialize the new methods in the epv.
1637 (AccessibleTextClipType): New enum used by screen review api.
1638 (AccessibleTextRange): New struct used by screen review api.
1639 (AccessibleText_getRangeExtents):
1640 cspi binding for Accessibility_Text_getRangeExtents.
1641 (AccessibleText_getBoundedRanges):
1642 cspi binding for Accessibility_Text_getBoundedRanges.
1643 (AccessibleTextRange_freeRanges): convenience method.
1646 (AccessibleText_getRangeExtents):
1647 cspi binding for Accessibility_Text_getRangeExtents.
1648 (AccessibleText_getBoundedRanges):
1649 cspi binding for Accessibility_Text_getBoundedRanges.
1650 (AccessibleTextRange_freeRanges): convenience method.
1651 (get_accessible_text_clip_type): internal conversion method.
1652 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1654 * registryd/deviceeventcontroller.c:
1655 (spi_dec_mouse_check):
1656 Improved behavior for mouse:abs events
1657 [same granularity as mouse:rel events, and no
1658 events when mouse is idle].
1660 2002-12-16 Michael Meeks <michael@ximian.com>
1662 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1664 * libspi/stateset.c (state_spi_to_atk): split out
1665 ( fix several remote array bounds nasties )
1666 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1667 (impl_remove): make safe from array bounds issues.
1668 (spi_atk_state_from_spi_state): impl.
1670 * libspi/stateset.h (spi_state_set_cache_is_empty):
1671 add a set of wrapper defines to get layering right.
1673 * cspi/spi_accessible.c: update state set stuff to
1676 2002-12-14 Michael Meeks <michael@ximian.com>
1678 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1679 to avoid 2 roundtrips to the registry per key event
1680 (spi_atk_bridge_key_listener): upd.
1681 (deregister_application): release the dec.
1683 * registryd/registry.c (notify_listeners_cb):
1684 bin lots of re-enterant complexity - we no longer
1685 do a round-trip bonobo ref here, ensure that a single
1686 listener's exception failure won't poison all other
1688 (impl_registry_notify_event): bin obvious memory leak.
1690 2002-12-13 Michael Meeks <michael@ximian.com>
1692 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1693 init the ev so the error is meaningful.
1694 (spi_atk_bridge_key_listener): ditto.
1696 * cspi/spi_main.c (cspi_ev): init the ev so we start
1697 with a clean slate, otherwise the first exception
1698 kills us completely.
1700 * cspi/spi_text.c (get_accessible_text_boundary_type):
1701 add a fallthrough for no warnings.
1703 * cspi/spi_registry.c: prune unused warnings.
1705 * cspi/spi_main.c (cspi_object_take): fix
1706 mind-blowing brokenness ( by watching the compile
1709 * cspi/spi_accessible.c (Accessible_getStateSet):
1710 re-impl. to use an AtkStateSet.
1711 (spi_state_type_from_accessible_state),
1712 (init_state_table): bin these.
1714 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1716 (atk_state_set_from_accessibility_state_set): here.
1718 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1719 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1720 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1721 (AccessibleStateSet_add, AccessibleStateSet_remove),
1722 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1723 (AccessibleStateSet_isEmpty): re-write to use a local
1726 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1728 * configure.in: Revved to 1.1.7 (new keymask vals).
1730 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1732 * libspi/keymasks.h:
1733 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1735 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1738 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1739 to compare two CORBA_TypeCodes.
1740 (cspi_internal_event_add): Silence warning from FORTE compiler.
1742 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1743 avoid implicit declaration of functions.
1745 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1747 * atk-bridge/bridge.c:
1748 (spi_atk_bridge_init_event_type_consts): Store signal id for
1749 active-descendant-changed signal.
1750 (spi_atk_register_event_listeners): Add signal listener for
1751 active-descendant-changed signal,
1752 (spi_atk_bridge_signal_listener): Move code in function
1753 spi_atk-signal_emit_event() into this function.
1754 Add support for active-descendant-changed
1755 Update support for child-changed signal.
1756 (spi_bridge_window_event_listener): Silence warning.
1758 * libspi/spi_private.[ch]:
1759 (spi_init_any_object): Change second parameter from CORBA_Object to
1761 Omit call to CORBA_Object_duplicate().
1762 Set CORBA_any's _value to CORBA_Object*.
1764 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1770 (AccessibleEvent_ref, AccessibleEvent_unref):
1771 New methods, for persisting an event outside the emission context.
1772 Must be used if the new accessor methods are to be called
1773 outside of the event listener's callback.
1775 * cspi/bonobo/cspi-bonobo.c:
1776 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1777 as second parameter instead of NULL, so we can call
1778 cspi_check_ev afterwards.
1781 (cspi_object_take): New internal method,
1782 converts a CORBA_Object reference to a hard ref on
1783 an Accessible if possible, returning NULL if the object
1784 reference is invalid or an Accessible * otherwise.
1787 (AccessibleEvent_ref):
1788 Increment the event's internal private refcount, and
1789 add the event's internal struct to an internal cache
1790 if it's not already there.
1791 (AccessibleEvent_unref):
1792 Decrement the event's refcount and remove it from
1793 the cspi event cache if refcount==0.
1794 (cspi_event_compare): New private method.
1795 Compares two event structs via their ids. Used
1797 (cspi_internal_event_lookup): New private method.
1798 (cspi_internal_event_check): New private method,
1799 a 0-order sanity check for events to make sure their
1800 private data is intact.
1801 (cspi_internal_event_add, cspi_internal_event_remove):
1802 New private methods for managiing the event cache.
1804 * cspi/bonobo/cspi-bonobo-listener.c:
1806 Initialize the new private data elements (id, magic, ref_count).
1808 * atk-bridge/bridge.c:
1809 (spi_atk_bridge_signal_listener):
1810 Fixed bug #100530, passing wrong params to emission func.
1812 * registryd/deviceeventcontroller.c:
1813 (spi_dec_button_update_and_emit):
1814 Fixed type in mask bit operations; fix for #99799.
1816 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1818 Removed some of the more dangerous workarounds from
1819 previous commit; they are only needed by GOK, which
1820 in reality should be using another method to accomplish
1821 the goals. So on reconsideration some of the workarounds
1822 need to be reverted:
1824 * registryd/deviceeventcontroller.c:
1825 (spi_keycodes_contain, spi_dec_init_keycode_list):
1826 Removed these methods, used only by a nasty hack to try
1827 and detect whether a key synthesis should be allowed
1828 to reset the XKB latch state or not. This code was only
1829 required to work around an interaction between GOK,
1830 button events, and XKB.
1831 (impl_generate_key_event):
1832 Removed hack at end of key generation that tried to
1833 "do the right thing" if XKB latch keys were generated
1834 in the midst of button press/release pairs.
1837 Added a check for HAVE_XINPUT. Not normally used yet.
1839 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1841 Workarounds and fixes for mouse event/XKB interaction.
1843 * registryd/deviceeventcontroller.c:
1844 (spi_keycodes_contain, spi_dec_init_keycode_list):
1845 New internal methods.
1846 (spi_dec_set_unlatch_pending):
1847 Split the method that tells XKB to expect an
1848 unlatch (and revert it) out of the rest of the
1849 event handling code. This method is called by the
1850 two mouse event handlers (the poll and the filter).
1851 (spi_dec_update_and_emit, spi_dec_mouse_check):
1852 New methods split from spi_dec_poll_mouse_moved.
1853 The second one is now called from inside the filterFn
1854 when an XKB delatch event is received, to determine
1855 whether to revert the delatch or not.
1856 (spi_poll_mouse_moved): Refactor; also we can now
1857 properly handle the case where multiple button states
1858 have changed between polling cycles and we didn't get
1859 notified due to another client's grab.
1861 Synchronize the server while handling an XKB notification.
1862 Ugly, but apparently necessary to avoid nasty races.
1863 Check the mouse state on receipt of an XKB latch change,
1864 to decide whether to revert the latch or not. (Latches are
1865 reverted if there is an immediately preceding mouse button
1866 event that a client has consumed, in which case we don't want
1867 the user to see the side-effect of the event).
1868 (spi_device_event_controller_forward_mouse_event):
1869 Check for modifier events and fire before resetting mouse_mask_state,
1870 prevents losing modifier events.
1872 (impl_generate_keyboard_event):
1873 If we've just generated a keyboard event for a non-shift key,
1874 we don't want to revert the pending XKB latch.
1875 Otherwise, check the modifier state (via a call to
1876 spi_dev_mouse_check) and set the relatch mask to
1877 that state before returning.
1879 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1882 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1885 * atk-bridge/bridge.c:
1886 (spi_atk_register_event_listeners):
1887 Don't re-register for ATK events if the registry has died
1888 and the app needs to re-register; the ATK listeners are in
1889 process and doing so will cause duplicate emission.
1891 * registryd/deviceeventcontroller.c:
1892 (spi_poll_mouse_moved):
1893 Reformat the source, detect and emit multiple button-change
1894 events (i.e. if multiple buttons have changed between poll
1896 Add code to detect mouse-down events even when the pointer
1897 is grabbed; workaround for GOK bug 98420.
1898 (spi_controller_register_with_devices):
1899 Call XTestGrabControl with 'impervious' flag set to True,
1900 allows us to synthesize events and query the pointer even during
1901 an active grab by another client.
1902 (spi_device_event_controller_forward_mouse_event):
1903 Set the mouse_mask_state to the mouse_button_state from
1904 the intercepted event, to synchronize the grab listener with
1907 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1909 * cspi/spi_accessible.c:
1910 (AccessibleRole_getName):
1911 Added necessary strings for making this (deprecated)
1912 method work with the new role types.
1913 (init_role_table, role_table):
1914 Added definition of SPI_ROLE_APPLICATION.
1916 * libspi/spi-roletypes.h:
1917 Added SPI_ROLE_APPLICATION.
1919 * idl/Accessibility_Role.idl:
1920 Added ROLE_APPLICATION.
1922 * docs/reference/cspi/at-spi-cspi-decl.txt:
1923 Added SPI_ROLE_APPLICATION to docs.
1925 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1927 * cspi/spi_accessible.c
1928 (cspi_init_role_table): Do not write beyond end of role_table.
1929 (Accessible_getRole): Use correct type for value returned by
1930 Accessibility_Accessible_getRole().
1932 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1933 beyond end of role_table. (This fixes bug #98269)
1935 * libspi/application.c: Add include file spi-private.h for
1936 definition of spi_init_any_nil.
1938 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1942 * libspi/spi-private.h:
1943 Added DGB() macro, and extern int _dbg declaration.
1945 * registryd/registry.c:
1946 (definitions) storage for _dbg.
1947 (spi_registry_init):
1948 Get environment variable "AT_SPI_DEBUG".
1949 (spi_registry_set_debug):
1950 New method, to initialize _dbg value.
1951 (spi_listener_struct_new, spi_registry_object_finalize):
1952 (notify_listeners_cb):
1953 Changed fprintfs to use DBG and g_warning().
1955 * registryd/deviceeventcontroller.c:
1956 (_deregister_keygrab, spi_controller_register_device_listener):
1957 Changed debug/warning messages to use DBG macro.
1959 * libspi/listener.c:
1960 (impl_notify_event):
1961 Changed warning messages to use DBG macro and g_warning().
1963 * atk-bridge/bridge.c:
1964 (atk_bridge_init, spi_atk_bridge_get_registry):
1965 (spi_atk_bridge_exit_func):
1966 (spi_atk_bridge_property_event_listener):
1967 Changed status, warning, and error messages to use
1968 g_warning, g_message, and DBG macros.
1971 Read the state of the AT_SPI_DEBUG environment variable
1972 and set a local '_dbg' accordingly.
1974 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1976 FIXES for 98836, 98842, other bugs.
1979 Revved to 1.1.4, interface-age=4, binary-age=4.
1981 * registryd/deviceeventcontroller.c:
1983 Fixed crasher bug in last_mouse_pos initialization.
1985 * registryd/registry.c:
1986 (desktop_add_application, desktop_remove_application):
1987 Added (and then commented out) some support for
1988 object context marshalling. [TODO]
1990 * atk-bridge/bridge.c:
1991 (spi_atk_bridge_event_context_create):
1992 Commented out object context creation until it can
1993 be properly tested and debugged.
1995 * registryd/registry.c:
1996 (impl_registry_notify_event):
1997 Fixed crasher bug, we were calling
1998 spi_re_entrant_list_foreach () with an empty list.
2000 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2002 * idl/Accessibility_Action.idl:
2003 * idl/Accessibility_Component.idl:
2004 * idl/Accessibility_Desktop.idl:
2005 * idl/Accessibility_Event.idl:
2006 * idl/Accessibility_Hyperlink.idl:
2007 * idl/Accessibility_Image.idl:
2008 * idl/Accessibility_Relation.idl:
2009 * idl/Accessibility_Selection.idl:
2010 * idl/Accessibility_State.idl:
2011 * idl/Accessibility_Value.idl:
2012 Updated unimplemented slot count to minimum of
2013 four for all interfaces, for ABI freeze.
2015 * idl/Accessibility_EditableText.idl:
2016 * idl/Accessibility_Text.idl:
2017 Updated unimplemented slot count to six
2020 * idl/Accessibility_Registry.idl:
2021 Updated unimplemented slot count to six
2022 (also for DeviceEventController),
2025 * idl/Accessibility_Table.idl:
2026 Updated unimplemented slot count to eight,
2029 * idl/Accessibility_Event.idl:
2030 Added CORBA_any "any_data" member to Event struct.
2032 * idl/Accessibility_Event.idl:
2033 Added CORBA_any "any_data" member to Event struct.
2035 * atk-bridge/bridge.c:
2037 atk_signal_text_changed, atk_signal_child_changed,
2038 signal ids queried from gtype system.
2039 (AtkBridgeEventContextType): New enum.
2040 (AtkBridgeEventContextData): New struct.
2041 (AtkBridgeEventContext): New struct.
2042 (atk_bridge_init_event_type_consts):
2043 New method, initializes type contants for comparison
2044 prior to emit_eventv.
2045 (atk_bridge_event_context_init): New method,
2046 initializes a CORBA_any from an AtkBridgeEventContext.
2047 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2048 initialize the event.any_data struct.
2049 (spi_atk_bridge_event_context_create): New method,
2050 creates an AtkBridgeEventContext from signal/event info.
2051 (spi_atk_bridge_event_context_free): New method.
2052 (spi_atk_emit_eventv): Changed to take an
2053 AtkBridgeEventContext parameter. We now initialize
2054 the event.any_data member prior to notifying the
2055 Registry, via the AtkBridgeEventContext.
2056 (spi_atk_bridge_property_event_listener):
2057 (spi_atk_bridge_state_event_listener):
2058 Match emit_eventv signature.
2059 (spi_atk_bridge_object_event_listener):
2060 Match emit_eventv signature, and create an
2061 event context from the event details.
2062 Free the event context afterwards.
2063 (spi_atk_bridge_window_event_listener):
2064 Create an event context, pass it to the
2068 (AccessibleEvent_getContextString):
2069 (AccessibleEvent_getContextObject):
2070 New methods, allow query of AccessibleEvent objects
2071 for more context details (via the "any_data" member
2072 of the Event struct, above).
2075 Definitions for AccessibleEvent_getContextString
2076 and AccessibleEvent_getContextObject.
2078 * cspi/spi_listener.h:
2079 (InternalEvent): New struct.
2082 (AccessibleEvent_getContextString):
2083 (AccessibleEvent_getContextObject):
2084 Implementations of new methods, for obtaining
2085 additional context information from some event types.
2087 * cspi/spi_registry.c:
2088 (SPI_registerGlobalEventListener):
2089 Added mention of active-descendant-changed event in docs.
2091 * cspi/cspi-bonobo-listener.c:
2093 Marshal the any into the AccessibleEvent via
2096 * libspi/spi-private.h:
2097 #include <orbit/orbit.h>
2099 (spi_init_any_string):
2100 (spi_init_any_object):
2101 New convenience function declarations.
2105 (spi_init_any_string):
2106 (spi_init_any_object):
2107 New convenience function implementations.
2109 * registryd/deviceeventcontroller.c:
2110 (spi_poll_dec_mouse_moved):
2111 (spi_device_event_controller_forward_mous_event):
2112 Initialize any_data member of event.
2113 (spi_deregister_controller_device_listener):
2114 Fix incorrect param pass which was preventing deregistration.
2116 * registryd/registry.c:
2117 (desktop_add_application):
2118 (desktop_remove_application):
2119 Add object data to event's any_data before dispatch.
2121 Fix for error messages from GAIL.
2123 * test/event-listener-test.c:
2124 Test new ContextString and "any_data" API:
2125 (report_text_event): New method query and output context string.
2126 (main): register a new text listener with report_text_event
2129 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2131 Fixes for bugs 98127 and 97914.
2132 * cspi/spi-roletypes.h:
2133 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2135 * cspi/spi-statetypes.h:
2136 Added SPI_STATE_MANAGES_DESCENDANTS
2138 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2139 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2140 * cspi/spi_accessible.c:
2141 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2142 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2143 Accessibility_STATE_MANAGES_DESCENDANTS
2144 * libspi/accessible.c:
2145 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2146 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2147 As requested by Bill, I also cleaned up the alignment.
2148 * libspi/relation.c:
2149 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2150 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2151 * libspi/stateset.c:
2152 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2153 Accessibility_STATE_MANAGES_DESCENDANTS
2154 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2155 Document changes reflecting modifications to roles.
2156 * docs/reference/cspi/tmpl/spi_relation.sgml:
2157 Document changes reflecting modifications to relations.
2158 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2159 Document changes reflecting modifications to states.
2161 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2164 Revved to 1.1.3, interface-age=3, binary-age=3.
2165 Added REBUILD macro.
2168 Removed accessx-gui from the tests, since we have a nice
2169 keyboard accessibility capplet now :-)
2171 * test/keysynth-demo.c:
2172 (increment_scan): removed do-nothing default: case,
2175 * test/visual-bell.c:
2176 (main) : removed do-nothing default: case,
2179 * cspi/spi_action.c:
2180 (AccessibleAction_getKeyBinding_):
2181 Documented keybinding string format.
2185 (AccessibleText_getAttributes):
2186 Documented the text attribute string format.
2187 It's changed to use semicolon delimiters also,
2188 to prevent clashes with CSS attributes, but the old
2189 trick of looking for ", " strings will still work
2190 (as unreliably as ever). Fix for bug related to 97916.
2193 Include <cspi/bonobo/cspi-bonobo-listener.h>
2194 Fixes build warning.
2195 (SPI_freeAccessibleKeySet):
2196 (AccessibleKeystrokeListener_addCallback):
2197 (AccessibleKeystrokeListener_removeCallback):
2198 Modify to use AccessibleDeviceListener API internally,
2199 instead of AccessibleKeystrokeListener.
2201 * idl/Accessibility_Event.idl:
2202 Added two more empty slots to EventListener (for a total of four).
2204 * idl/Accessibility_Accessible.idl:
2205 Added four empty slots to Accessible interface.
2207 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2209 * idl/Accessibility_Registry.idl:
2210 (KeyEventType, EventType):
2211 Marked KeyEventType as deprecated; it duplicates
2212 functionality of EventType, which has been extended to
2213 include Mouse-button events.
2214 (KeyEventTypeSeq): defined in terms of EventType.
2215 (registerDeviceEventListener, deregisterDeviceEventListener):
2216 New methods, for managing listeners to device events,
2217 which potentially may consume them.
2220 Added definition for AccessibleDeviceListener.
2222 * cspi/spi-listener.h:
2223 (enum AccessibleDeviceEventType):
2224 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2225 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2226 for backwards compat.
2227 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2228 and typedef'd AccessibleKeystroke to it for back-compat.
2229 (AccessibleDeviceListenerCB):
2230 New function prototype typedef.
2233 (AccessibleDeviceEventMask): New typedef.
2234 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2235 (AccessibleKeyMaskType):
2236 Set equivalent to AccessibleModifierMaskType for back-compat.
2237 (SPI_createAccessibleKeystrokeListener):
2238 (AccessibleKeystrokeListener_unref):
2239 Deprecated in favor of equivalent (better-named) new API below..
2240 keystroke listeners are like all device listeners.
2241 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2242 New API names for old features :-).
2243 (AccessibleDeviceListener_addCallback):
2244 (AccessibleDeviceListener_removeCallback):
2245 (SPI_registerDeviceEventListener):
2246 (SPI_deregisterDeviceEventListener):
2250 (SPI_createAccessibleKeystrokeListener):
2251 Use new preferred API, cspi_device_listener_new() and
2252 cspi_device_listener_add_cb().
2253 (AccessibleKeystrokeListener_removeCallback):
2254 Use new preferred API, cspi_device_listener_remove_cb().
2255 (AccessibleKeystrokeListener_unref):
2256 Use new preferred API, cspi_device_listener_unref().
2257 (SPI_createAccessibleDeviceListener):
2258 (AccessibleDeviceListener_addCallback):
2259 (AccessibleDeviceListener_removeCallback):
2260 Implementation of new API.
2262 * cspi/spi_registry.c:
2263 (SPI_registerDeviceEventListener):
2264 (SPI_deregisterDeviceEventListener):
2265 Implementation of new API. Fixed memory leak and removed need to
2266 allocate EventTypeSeq (thanks Michael for catching this).
2267 Squashed a wayward CORBA_exception_free that shouldn't get called.
2269 * cspi/bonobo/cspi-bonobo-listener.c:
2271 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2272 (cspi_key_event): renamed to cspi_device_event().
2273 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2274 Extended to handle mouse button events as well as key events.
2275 (CSpiKeystrokeListener):
2276 Class superceded by CSpiDeviceListener.
2277 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2278 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2280 * cspi/bonobo/cspi-bonobo-listener.h:
2281 (CSpiKeystrokeListener):
2282 Class superceded by CSpiDeviceListener.
2283 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2284 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2286 * libspi/Makefile.am:
2287 Replaced keystrokelistener.h and keystrokelistener.c
2288 with devicelistener.h and devicelistener.c; keystrokelisener.h
2289 stub retained for back-compat.
2291 * libspi/keystrokelistener.c:
2295 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2297 * registryd/deviceeventcontroller.c:
2298 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2299 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2300 (DEControllerPrivateData): Added xkb settings data.
2301 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2302 button release events (which can't be captured via XGrabButton).
2303 Don't dispatch via the 'normal' event mechanism if the device event was
2305 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2306 Handle the typeseq data in its new location (see above).
2307 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2308 New methods, for "generic" device listeners.
2309 (spi_controller_register_device_listener):
2310 Now handle mouse event listeners as well as key listeners.
2311 (spi_controller_notify_mouselisteners):
2312 New internal method.
2313 (spi_device_event_controller_forward_mouse_event):
2314 Now we notify mouse device listeners as well as generating the
2315 non-consumable "mouse:" events.
2317 We must check and restore the XKB
2318 modifier map if we consume the event, since the act of triggering
2319 a mouse event will normally reset the XKB latch. This is required for
2321 (spi_controller_register_with_devices):
2322 Load the XKB settings when registering, and register for XKB
2323 state notify events.
2324 (spi_key_eventtype_seq_contains_event):
2325 Renamed spi_eventtype_seq_contains_event, since it's used
2326 internally for all device event types now.
2327 (spi_key_event_matches_listener):
2328 Uses spi_eventtype_seq_contains_event now.
2329 (spi_device_event_controller_object_finalize):
2330 Free the private data and the XkbKeyboard struct.
2331 (impl_register_device_listener, impl_deregister_device_listener):
2332 Implementation of new IDL.
2333 (spi_deregister_controller_device_listener):
2334 New internal method.
2335 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2336 More efficient implementation, we don't have to create a new
2337 XkbControls structure every time we query.
2338 (spi_device_event_controller_class_init):
2339 Initialize the epv entries for the new IDL. Assign the
2340 "spi-dec-private" quark.
2341 (spi_device_event_controller_init):
2342 Initialize the private data.
2343 (spi_device_event_controller_forward_key_event):
2344 Removed a bogus CORBA_exception_free() call.
2346 * registryd/deviceeventcontroller.h:
2347 Replaced inclusion of keystrokelistener.h with
2350 * test/event-listener-test.c:
2351 (report_mouse_event):
2354 Added mouse-event device listener.
2356 * test/test-simple.c:
2357 (create_test_window):
2358 Fixed regression (we were instantiating a GtkRange,
2359 which is now an abstract class). Also fixed to match
2360 existing AtkRole names, this seems to have changed in ATK
2361 awhile ago; too late now I think, and the new
2362 mechanism is at least elegant and consistent with the
2363 glib enum "nick" APIs.
2365 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2367 * idl/Accessibility_Relation.idl:
2368 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2369 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2370 * idl/Accessibility_Role.idl:
2371 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2372 * idl/Accessibility_State.idl:
2373 add STATE_MANAGES_DESCENDANTS
2374 * test/event-listener-test.c:
2375 Added a listener for active-descendant events.
2377 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2379 * atk-bridge/bridge.c
2380 (atk_bridge_init): If application is Bonobo component wait until top
2381 level is added before registering
2382 (spi_atk_bridge_do_registration): New function which contains code,
2383 formerly in atk_bridge_init, to do application registration.
2384 (spi_atk_bridge_toplevel_added): Signal called when top level
2385 added to Bonobo component
2387 This fixes bug #83134.
2389 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2391 * registryd/deviceeventcontroller.c
2392 Fixed compilation error caused by calling gettimeofday()
2395 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2400 Added template for HAVE_XKB.
2403 Changes to check for XKB, and to set the HAVE_XKB #define if it
2406 * libspi/listener.c:
2407 ()impl_notify_event): Make failure to get event source name
2410 * registryd/deviceeventcontroller.c:
2411 (#include): include X11/XKBlib.h.
2412 (DEControllerPrivateData) : New struct.
2413 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2415 (dec_synth_keycode_press) (dec_synth_keycode_release):
2416 New methods; split the key synthesis code into these methods.
2417 They check XKB settings before determining the "time" values to
2418 pass to Xtest; this fixes bug #95828.
2419 (impl_generate_keyboard_event): Changed to use methods above,
2420 instead of callng Xtest directly.
2421 (spi_device_event_controller_init): Initialize new privae struct s
2423 (spi_device_event_controllr_object_finalize):
2424 Free the (new) private data.
2426 * registryd/deviceeventcontroller.h:
2427 Add new gpointer to end of struct data.
2429 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2432 Incremented revision to 1.1.2, SONAME is still '.so', library
2433 extensions are ".so.0.0.2".
2435 * registryd/deviceeventcontroller.c:
2436 FIXES FOR #93592 and #95940.
2437 (statics): renamed mouse_button_state to mouse_mask_state,
2438 added key_modifier_mask.
2439 (spi_dec_poll_mouse_moved):
2440 Added key modifier checks, and emit "keyboard:modifiers"
2441 events when the key modifiers currently in use change.
2442 Also generate "mouse:abs" events periodically, even if the mouse
2443 is stationary (should we?).
2444 Alternatively we could generate "mouse:abs" events for either all
2445 mouse movements, or every 'nth' mouse movement, or at the
2446 beginning and end of every "active" mouse period.
2448 * test/event-listener-test.c:
2449 (main): Added listener for "keyboard:modifiers" events.
2451 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2453 * libspi/keymasks.h:
2454 Added key mask #defines for mouse buttons; e.g.
2455 SPI_KEYMASK_BUTTON1, etc.
2458 Incremented dependency on ATK to version 1.1.0. (This dependency
2459 is probably premature but will soon be real enough).
2461 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2463 * libspi/hyperlink.[ch]
2464 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2465 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2468 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2473 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2475 * registryd/deviceeventcontroller.c
2476 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2477 events to be ignored.
2478 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2479 keyboard_mode so that XAllowEvents() can be called.
2483 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2485 * cspi/spi-accessible.c: Correct names of roles returned by
2486 AccessibleRole_getName(). Fixes bug #95055.
2488 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2490 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2493 * registryd/registry.c
2494 (desktop_remove_application: Write diagnostic message to stderr for
2497 (impl_accessibility_registry_deregister_global_event_listener):
2498 Correct size of lists array. This addresses bug #94555).
2500 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2502 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2505 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2507 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2510 * registryd/registry.c (impl_registry_notify_event): Remove
2511 unnecessary call to parser_event_type().
2513 * docs/reference/cspi/tmpl/spi_component.sgml:
2514 Add reference to SPI_LAYER_WINDOW.
2516 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2518 * registryd/registry.c
2519 (desktop_add_application): Remove leak.
2520 (desktop_remove_application): Remove leak.
2521 (parser_event_type): Remove leak.
2523 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2525 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2526 bogus call to CORBA_string_dup(). Also removed unnecessary
2527 g_string_dup/g_free calls.
2529 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2531 * registryd/deviceeventcontroller.c:
2532 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2534 * test/event-listener-test.c:
2535 main: commented out three redundant listeners, to reduce output
2536 noise. (They still are potentially useful for testing).
2539 2002-09-13 Michael Meeks <michael@ximian.com>
2541 * Update all the copyrights to include Ximian.
2543 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2545 * cspi/spi.h: add SPI_LAYER_WINDOW.
2547 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2548 add Accessibility_LAYER_WINDOW case.
2550 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2552 * libspi/component.c: (impl_accessibility_component_get_layer):
2553 add ATK_LAYER_WINDOW case.
2555 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2557 * configure.in: incremented micro version.
2559 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2561 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2564 Clarified and reworded our commit policy.
2567 Started an API "todo" addition list for 2.2.
2570 (impl_getSelection):
2571 Free char pointer from atk_text_get_selection, which was being leaked.
2573 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2576 Small revision to author acknowledgement.
2578 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2580 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2581 If signal has detail add it to the type of the event.
2584 2002-08-12 Michael Meeks <michael@ximian.com>
2586 * test/test-simple.c (global_listener_cb): bin bogosity.
2587 (test_keylisteners): disable, still doesn't work reliably,
2588 certainly not on my system anyway.
2590 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2591 don't leak a reference on the DEC. This round-trip
2592 fetching of the DEC per keystroke sucks, it should be
2595 * cspi/spi-private.h,
2596 * cspi/cspi-lowlevel.h,
2597 * cspi/bonobo/cspi-bonobo-listener.[ch],
2598 * cspi/bonobo/cspi-bonobo.c: get the copyright
2599 notices better - there is still a large amount of
2600 work in at-spi falsely attributed solely to Sun.
2602 * cspi/spi_main.c (cspi_object_ref): kill bogus
2603 hash lookup, just increment the ref.
2604 (SPI_freeString): make explicit the fact that we
2605 handle NULL strings just fine.
2606 (report_leaked_ref): obey coding standards.
2607 (cspi_object_hash, cspi_object_equal): kill retval.
2608 (cspi_object_release): only release if not on loan.
2609 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2610 (cspi_object_borrow, cspi_object_return): impl.
2612 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2613 use cspi_object_borrow / return.
2615 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2617 * cspi/bonobo/cspi-bonobo-listener.c:
2619 Don't call cspi_oject_new() because this is creating a new Accessible
2620 every single time that an event is fired. This causes ATs like at-poke
2621 to nolonger recognise the source of the event and thus ignore it.
2622 Re-use the object from the cache, ref it and then unref it after the
2623 listeners have been called.
2625 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2627 * test/event-listener-test.c:
2628 Added command-line options to disable mouse events (m) and
2631 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2633 * configure.in: Update required versions of ATK, GTK+ and GAIL
2635 * cspi-1.0.pc.in: Add dependency for X include files
2638 * cspi/bonobo/Makefile.am:
2639 Add $(X_CFLAGS) so that X include files
2640 are picked up even if not in standard place (bug #71686)
2642 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2644 * registryd/deviceeventcontroller.c: fix for 84261
2645 (spi_dec_mouse_moved):
2646 Added test of mouse button mask, so that we can detect mouse
2647 button release. Unfortunately we can't otherwise detect mouse
2648 button release events without consuming the mouse press event,
2649 because of the way XGrabButton works. This means that our mouse
2650 release events have a latency dependent on the polling period
2651 while the mouse button is down. At least in this case we only
2652 have to poll while the button is down, and not at other times.
2653 If the button masks don't match with what the last press event
2654 reported, we report the appropriate button release event.
2655 (spi_dec_ungrab_mouse):
2656 New method (not yet called).
2657 (spi_device_event_controller_forward_mouse_event):
2658 New method, sends mouse press event from GdkFilter.
2659 (spi_dec_init_mouse_listener):
2660 Added code to call XGrabButton, redirecting mouse button events to
2661 the root window and our Gdk event loop.
2663 Added code to filter mouse button events, and reordered.
2665 * test/event-listener-test.c:
2667 Added registration for mouse events of type "mouse:button".
2669 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2671 * registryd/deviceeventcontroller.c: partial fix for 84261
2672 (spi_dec_poll_mouse_idle):
2673 New method, a timeout which checks to see if the mouse
2675 (spi_dec_poll_mouse_moving):
2676 A timeout to be called when mouse motion is underway.
2677 (spi_dec_poll_mouse_moved):
2678 A method which fires an event if the mouse has moved, and reports
2679 whether or not it did so.
2680 (spi_dec_init_mouse_listener):
2681 A method which sets up the timeouts above.
2682 (spi_device_event_controller_new):
2683 Now calls spi_dec_init_mouse_listener.
2685 * registryd/registry.c:
2686 (spi_registry_init):
2687 Now we initialize the device event controller when the registry is
2688 initialized, instead of waiting until a client has requested a key
2689 event notification; this is because we need the event controller
2690 for mouse events, but the mouse event registration API is a
2691 "registry" call and doesn't explicitly call the
2692 deviceeventcontroller.
2693 We now report mouse motion events with a 100 ms idle latency and
2694 a 20 ms granularity when motion is in progress.
2696 * test/event-listener-test.c:
2698 We now register the "detail listener" for events of type
2699 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2700 delivered only for the first mouse event received, and thereafter
2701 "mouse:abs" events are delivered.)
2703 * cspi/spi_registry.c:
2704 DOCS: Documented the above mouse event typestrings.
2706 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2708 Happy Summer Solstice...
2710 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2711 (spi_controller_notify_keylisteners):
2712 Changes to remove a listener from the listener list, freeing its
2713 open keygrabs, if a notification to that listener fails. This
2714 means that although a dead listener can continue to hold a passive
2715 keygrab, a maximum of one dispatch to such a listener can fail
2716 before the listener is removed from the list, thus the keygrab
2717 will be released on the next occurrence.
2718 As part of this fix:
2719 (spi_notify_keylisteners):
2720 Renamed to spi_controller_notify_keylisteners, as the controller
2721 instance must now be passed as an argument.
2722 The copied 'notify' GList is now a list of DEControllerKeyListener
2723 objects, since we need more than just the CORBA reference if a
2724 notify fails and we need to deregister the listener.
2725 (impl_notify_listeners_sync):
2726 (impl_notify_listeners_async):
2727 (spi_device_event_controller_forward_key_event):
2728 Modify use of notify_keylisteners in accordance with above
2730 (spi_deregister_controller_key_listener):
2731 New method introduced by refactoring, from
2732 impl_deregister_keystroke_listener.
2733 (impl_deregister_keystroke_listener):
2734 Call spi_deregister_controller_key_listener.
2735 (spi_key_listener_clone):
2736 New method to copy a key listner without doing a 'ref' on the
2737 remote object instance; used to create a notifier list.
2738 (spi_key_listener_data_free):
2739 New method, frees data without unreffing the source.
2741 (spi_key_listener_clone_free): new method.
2742 (spi_key_listener_free):
2743 refactored to call spi_key_listener_data_free.
2745 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2747 * registryd/registry.c: [fix for bug 86048]
2748 (notify_listeners_cb):
2749 Clear CORBA system exceptions which occur when notifying
2750 listeners, before returning to the source of the original event,
2751 since the event source doesn't care if the relayed notify failed.
2752 In other words, don't complain to the atk-bridge if the registry
2753 could not notify all its listeners, that's no fault of the
2754 application and thus should not appear to be an error from the
2755 application's perspective.
2757 * cspi/spi_main.c: [fix for bug 85980]
2759 Replaced use of bonobo_object_dup_ref with call to the wrapper
2760 method, csou_dup_ref (); this silences a compiler warning and
2761 provided more portability.
2763 Ping the registry before return, and restart if necessary.
2765 * cspi/bonobo/cspi-bonobo.c:
2767 New internal method.
2769 Fixed this method to return an object reference, as it should have
2772 * cspi/cspi-lowlevel.h:
2773 Added internal definition for cspi_ping() and fixed
2774 return type of cspi_dup_ref().
2777 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2779 * atk-bridge/bridge.c: [fix for bug 85305]
2780 (spi_atk_bridge_register_application):
2781 New method where the initial application registry calls have been
2782 moved; it allows an application to re-register in response to
2783 certain error conditions (such as a registry restart, see below).
2785 Moved some initialization code to the method
2786 spi_atk_bridge_get_registry, below.
2787 (spi_atk_bridge_get_registry):
2788 New, private accessor function for the Accessibility_Registry
2789 instance. If the registry has not been started before, or has
2790 died (as detected by failure of a CORBA exception), it is
2791 restarted before return, and spi_atk_bridge_register_application
2792 is called again to register with the new bridge instance.
2793 (spi_atk_emit_eventv):
2794 Set registry_died on error; use spi_atk_bridge_get_registry () to
2795 access the registry.
2797 * registryd/registry.c:
2798 (impl_accessibility_registry_register_global_event_listener):
2799 Set listener's event_type_quark to etype.minor instead of
2800 etype.major (fix for bug 84856).
2802 * test/event-listener-test.c:
2803 (report_detail_event):
2804 Change the output string so that user/tester can tell that the
2805 'detail listener' was called instead of the 'generic listener'.
2807 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2809 Fixes for bugs 84900, 84908, 84897, 84898.
2814 Revved version to 1.1.0
2815 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2816 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2818 * idl/Accessibility_Registry.idl:
2819 (EventListener::notifyEvent):
2820 Removed 'oneway' directive after extensive consulation with
2821 ORBit2 team and others. This means also that unref() of the event
2822 source can and should be done synchronously after emission, rather
2823 than remotely in the client, after servicing the notify call on
2826 NOTE: This change speeds up listener performance considerably, but
2827 introduces new latency on the application side. We may want to
2828 add an event queue to the atk-bridge.
2830 * atk-bridge/bridge.c:
2831 (spi_atk_bridge_focus_tracker):
2832 Do a local unref() on the event source after emission.
2834 * registryd/registry.c:
2835 (desktop_remove_application):
2836 Do an unref() on the event source after emission.
2837 (desktop_add_application):
2838 Do an unref() on the event source after emission.
2839 (notify_listeners_cb):
2840 When relaying an event, don't automatically add the event source
2841 to the local object cache, just CORBA_dup it instead. Likewise,
2842 if this method reenters, release the ref rather than calling
2844 (impl_registry_notify_event):
2845 No longer call remote unref() on the event source after dispatch.
2847 * libspi/eventlistener.c:
2848 (impl_accessible_event_notify_event):
2849 Removed remote unref ()
2851 * cspi/bonobo/cspi-bonobo-listener.c:
2853 We now call cspi_object_new() instead of cspi_object_add() on
2854 receipt of an event; thus we only have an implicit object ref
2855 while the cspi_event method is being executed. If we need to keep
2856 a reference to the object, the listener must call ref() on the
2857 object. Thus also we don't need to call cspi_object_unref() after
2858 invoking the listener callbacks in this method.
2862 New internal API for creating a new cspi object, without adding it
2863 to the object cache.
2865 Now uses cspi_object_new() to create the cspi object instance.
2867 Now checks to see if the object is in the internal object cache,
2868 and adds it if necessary before incrementing its refcount (note
2869 that new objects are added with a refcount of 1).
2870 (report_leaked_ref):
2871 New method which gives some information on leaked object instances
2872 if leak detection is turned on.
2874 * test/event-listener-test.c:
2875 (timing_test_event):
2876 New method, used for testing event delivery timing for special
2877 events of type "object:test". It reports elapsed time and
2878 events/sec every 500 events.
2880 Added a new listener, 'test listener', to check timing of event
2881 receipt as noted above.
2883 Added some timing output here also, reports elapsed time every 100
2886 * test/stress-test.c:
2887 Emit events of type "object:test", for use with "event-listener-test".
2889 * test/test-simple.c:
2890 (global_listener_cb):
2891 Call Accessible_ref() on the event source before calling
2892 validate_accessible, since the validation process does pointer
2893 comparisons on the event source, meaning that the event source
2894 needs to be added to the local object cache first. Any use of
2895 such pointer comparisons between Accessible objects requires that
2896 the caller hold an explicit reference to those objects.
2897 We also must therefore call Accessible_unref() when leaving this method.
2899 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2901 * registryd/deviceeventcontroller.c:
2902 (spi_controller_update_key_grabs):
2903 Fix for #84735, subsequent keygrab listeners not informed of
2904 registration failure.
2907 (spi_base_construct):
2908 Add an assertion on construct, to make sure the GObject passed in
2909 is really a GObject.
2911 Explicitly initialize object->gobj pointer to NULL;
2913 * cspi/bonobo/cspi-bonobo-listener.c:
2914 (cspi_object_add_ref):
2915 New method, can specify whether to dup-ref a bonobo object passed
2916 in if it's newly added to the object cache.
2918 Now calls cspi_object_add_ref with second param of "FALSE". This
2919 prevents us from doing a pointless dup-ref followed by
2920 release-unref for all those cases where the object is already in
2921 our object cache (fix for #85205).
2923 * atk-bridge/bridge.c:
2924 (spi_atk_bridge_idle_init):
2925 Removed this method, we don't need to initialize in an idle
2928 Changed to call spi_atk_register_event_listeners directly, not via an
2929 idle handler. (fix for #81139)
2930 (gnome_accessibility_module_shutdown):
2931 Removed conditional around deregistration of listeners, since we
2932 don't use the idle handler and thus have always registered when
2934 (spi_init_keystroke_from_atk_key_event):
2935 Changed references to Accessibility_KEY_PRESSED to
2936 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2938 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2940 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2945 * test/stress-test.c:
2948 (may have been an incomplete commit yesterday?)
2950 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2953 Added target for new stress-test.
2955 * test/stress-test.c:
2956 New test, sends 1000 focus notifies in quick succession.
2958 * test/key-listener-test.c:
2959 Now we report whether a keylistener registration
2960 request succeeded or failed.
2962 * test/event-listener-test.c:
2963 Uncommented some listeners which are now implemented.
2966 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2968 * registryd/deviceeventcontroller.c:
2969 (spi_controller_update_key_grabs):
2970 Fix for #82509, lack of failure notification when
2971 ALL_WINDOWS keygrabs fail due to XGrabKey
2972 failure: we synchronize the server when
2973 registering a passive grab, to make sure we get the
2974 error message before the call returns.
2976 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2978 * test/test-simple.c:
2980 Removed #ifdef KEY_IMPL_WORKS guards.
2981 (test_keylisteners):
2982 Removed #ifdef KEY_IMPL_WORKS guards.
2983 Fixed bug which was causing a hang waiting for a
2984 "press" event (which was already overwritten by a "release"
2985 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2987 Added code to set globals 'key_press_received' and
2988 'key_release_received'.
2991 Added section "1.1 API Proposed Additions" which
2992 lists API additions desired for at-spi-1.1 (only one so far).
2993 Updated TODO list a little.
2995 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2997 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3000 * configure.in: Revved to 1.0.0.
3002 * idl/Accessibility_Registry.idl:
3003 (registerKeystrokeListener):
3004 Added boolean return value.
3006 * registryd/registry.c:
3007 (notify_listeners_cb): Minor fix to debug output.
3009 * registryd/Accessibility_Registry.server.in.in:
3010 Revved version number in OAFIID to 1.0.
3012 * registryd/registryd.c:
3014 Use new OAFIID version.
3016 * cspi/bonobo/cspi-bonobo.c:
3018 Use new OAFIID version.
3024 * atk-bridge/bridge.c:
3026 Use new OAFIID version.
3028 * registryd/deviceeventcontroller.c:
3029 (impl_register_keystroke_listener):
3030 Added CORBA_boolean return value.
3031 (spi_controller_register_device_listener):
3032 Added gboolean return value.
3033 (spi_controller_register_global_keygrabs):
3034 Added gboolean return value.
3035 (spi_key_set_contains_key):
3036 Added implementation for many more control keys,
3037 for instance F1-F12, arrow keys, End, Home, Page_Up,
3039 [TODO: some still not implemented].
3041 * text/screen-review-test.c:
3042 (text_chunk_pad_string):
3043 New function: it provides mapping between coordinate
3044 positions of text chunks and character positions in the
3045 screen-review-line output string.
3046 (text_chunk_to_string):
3047 New function, calls text_chunk_pad_string with various
3048 pad/delimiter characters. Pushbuttons are delimited with
3049 square brackets, Frames with vertical 'pipe' lines, and
3050 other text with double quotes.
3051 (text_chunk_list_to_string):
3052 Calls new function text_chunk_to_string.
3053 (toplevel_composite):
3054 New function to composite layers CANVAS through
3055 POPUP in each toplevel (other layers are composited
3056 across toplevels, i.e. BACKGROUND and OVERLAY).
3057 (review_buffer_composite):
3058 Revise to use new methods.
3064 2002-05-31 Laszlo Peter <laca@sun.com>
3066 * configure.in: add the Xtst libdir to the runpath on Solaris,
3067 since it's not in the default library search path.
3069 2002-05-29 jacob berkman <jacob@ximian.com>
3071 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3073 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3075 * test/screen-review-test.c:
3076 (text_chunk_pad_string):
3077 Added method, which pads the string according to the
3078 text bounds of the chunk. It also takes a 3-character
3079 string as a param which indicates the characters to be
3080 used for start, padding, and end delimitation of the chunk.
3081 (text_chunk_to_string):
3082 Changed to use text_chunk_pad_string.
3084 * configure.in: Fixed bug in AC_OUTPUT that was
3085 causing path substitution in Accessibility_Registry.server
3088 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3090 * text/screen-review-test.c:
3091 (guess_string_clip):
3092 New method which attempts a best-guess at clipping
3093 text from components (like Java labels) which don't
3094 actually implement AccessibleText. This inaccurate
3095 clip is based on the assumption that the label is
3096 justified left-and-right, and monospaced.
3097 (text_chunk_get_clipped_string):
3098 We now call guess_string_clip() for text-containing
3099 components that don't implement AccessibleText.
3101 * test/screen-review-test.c:
3102 (review_buffer_get_text_chunk):
3103 We now pull "name" from labels if they do not implement
3104 AccessibleText (i.e. for Java labels).
3105 (get_screen_review_line_at):
3106 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3109 Replaceded AC_OUTPUT target
3110 registryd/Accessibility_Registry.server with
3111 registryd/Accessibility_Registry.server.in.
3113 * registryd/Accessibility_Registry.server.in:
3114 Removed (this is now a Makefile target).
3116 * registryd/Accessibility_Registry.server.in.in:
3117 Added (source for target above). We now use $(libexecdir) as
3118 prefix for the executable at-spi-registryd.
3120 * registry/Makefile.am:
3121 Now install at-spi-registryd into $(libexecdir), and build .server
3122 file with path (see above).
3124 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3126 * test/screen-review-test.c:
3127 (text_chunk_get_clipped_string):
3128 We now check to see if words fall within clip bounds
3129 before resorting to character-by-character clip bounds testing.
3131 * TODO: Added a section for "2.2 Proposed API Additions".
3133 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3135 * test/screen-review-test.c:
3137 Added a screen review benchmarking and test program to test
3140 * cspi/spi_accessible.c:
3142 Made some of the debug strings passed to cspi_check_ev a
3143 little more specific.
3145 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3147 * test/screen-review-test.c: Fix crashes in debug statements
3149 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3151 * test/screen-review-test.c: Added this file.
3153 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3155 * atk-bridge/bridge.c: changed "object:state-change" to
3156 "object:state-changed" to match docs.
3158 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3160 * atk-bridge/bridge.c: Hooked up state-change event details.
3162 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3164 * registryd/registry.c:
3165 Fixed quarking bug in event string parsing; now events with
3166 detail parameters get matched correctly to listeners.
3169 * util/idl/Magnifier.idl: remove.
3171 * util/*.[ch]: Remove.
3172 Magnification utilities and IDL are now in module gnome-mag.
3174 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3176 * registryd/deviceeventcontroller.c:
3177 Fixed bug in grab key conversion which was causing keycode grabs
3178 to be converted to AnyKey grabs.
3181 updated NEWS file to reflect recent spin-off of gnome-mag.
3183 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3185 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3186 busted AccessibleStateSet_compare. Removed redundant casts.
3188 * cspi/spi-action.c: Removed redundant casts.
3190 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3192 * cspi/spi_component.c: Fixed typos and casting error.
3194 * cspi/spi_editabletext.c: Removed redundant casts.
3196 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3198 * cspi/spi_hypertext.c: Eliminated redundant casts.
3200 * cspi/spi_image.c: Eliminated redundant casts.
3202 * cspi/spi_registry.c: Eliminated redundant casts.
3203 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3204 * cspi/spi_selection.c: Removed redundant casts.
3205 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3206 handling. Screen geometry and text offsets were being returned as 0
3207 on error which is technically valid-- changed these to return -1.
3208 Added marshaller for text boundary types to fix bug with boundary
3209 types being passed incorrectly to atk.
3211 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3214 * cspi/spi_registry.c:
3215 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3216 which was uncovered by the recent key changes.
3218 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3220 * test/event-listener-test.c:
3222 Added new test, "event-listener-test";
3223 this code does two things; it benchmarks traversal time
3224 for the accessible hierarchy for the first running accessible
3225 app, and it connects listeners for all supported event types.
3226 It is thus useful as an example event listener and for
3227 diagnostics/debugging of event generation.
3229 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3232 Removed unnecessary dependency on libutil.
3235 Revved micro version: 0.13.1
3237 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3240 Removed util/Makefile from targets.
3243 Removed util subdir from SUBDIRS (temporarily,
3244 pending removal of magnifier-only code
3248 #ifdef-ed out magnifier dependencies, since
3249 magnifier IDL, headers, and binary now live in
3250 module gnome-mag and we don't want at-spi to depend
3251 on gnome-mag. A magnifier demo which can run alongside
3252 simple-at is forthcoming in the gnome-mag module.
3254 NOTE: Split magnifier binary, IDL, and magnification
3255 activation code from at-spi into module gnome-mag.
3257 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3259 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3260 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3262 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3265 Revved to version 0.13.0
3267 * idl/Accessibility_Registry.idl:
3268 Changed definition of KeySet from sequence of longs to sequence of
3269 KeyDefinitions, and added KeyDefinition struct.
3270 Required for fix to bug 80616.
3272 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3273 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3274 to use new definition (see above).
3276 * registryd/deviceeventcontroller.c: handle_keygrab(),
3277 spi_keyset_contains_key():
3278 Changed to make use of new struct; this allows matching based on
3279 string key-name, for instance "Tab". This also allows matching of
3280 composed characters, non-alphanumeric characters in a way that
3281 doesn't involve dependencies on X keysym codes directly, etc.
3283 * test/key-listener-test.c:
3284 Added test for Alt-Tab key using "string" specification of keyset,
3285 and modified one of the tests to use a keycode-based keyset.
3286 Thus this test both tests and demonstrates the creation and use of
3287 keysets of three forms: specified via keycode array,
3288 keysym array, and string array. (The string case only contains a
3289 single string, i.e. a string array of length 1).
3292 Turned on PRINT_TREE option by default. Also fixed a
3293 string-freeing bug in the PRINT_TREE code.
3294 Added a listener to window:minimize events.
3296 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3298 * atk-bridge/bridge.c:
3299 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3300 for window:activate and window:deactiveate
3301 (atk_bridge_property_event_listener atk_bridge_signal_listener
3302 atk_bridge_window_event_listener) Tidy debug code
3304 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3306 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3307 Fixed handling for NULL return value from ATK.
3309 * libspi/action.c libspi/component.c libspi/editabletext.
3310 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3311 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3312 Removed redundant casts.
3314 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3315 Fixed off by one bug.
3317 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3318 function not present in idl)
3320 2002-05-02 jacob berkman <jacob@ximian.com>
3322 * atk-bridge/Makefile.am: make atk-bridge a real module
3324 2002-04-26 Radek Doulik <rodo@ximian.com>
3326 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3327 atk_state_types table
3329 2002-04-22 jacob berkman <jacob@ximian.com>
3332 * libspi/Makefile.am: add deps on the built files to help
3333 automake, and don't version the ORBit typelib
3335 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3337 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3338 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3339 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3340 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3341 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3342 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3343 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3344 libspi/accessible.h libspi/accessible.h libspi/base.h
3345 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3346 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3347 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3348 libspi/spi-private.h libspi/statetset.h libspi/table.h
3349 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3350 util/mag_client.h util/mag_control.c util/mag_image.c
3351 util/mag_image.h util/magnifier.c util/magnifier.h:
3352 Add missing file headers; standardize existing ones
3354 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3356 * atk-bridge/bridge.c: Added window event support.
3358 2002-04-18 Michael Meeks <michael@ximian.com>
3360 * libspi/relation.c (impl_getNTargets): impl.
3361 (impl_getTarget): impl.
3363 * libspi/Makefile.am: fix stateset install.
3365 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3368 Started putting useful info in this file.
3370 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3372 * atk-bridge/bridge.c:
3373 Propagate state-changed notifications to ATs
3375 * cspi/spi_registry.c: update docs to reflect actual behavior of
3376 state-change events.
3378 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3381 Incremented version to 0.12.1
3383 * util/mag_client.h:
3384 Add missing declaration for magnifier_exit,
3385 used by mag_control.c - Forte compiler didn't like
3386 the implicit redeclaration of the function :-(
3389 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3392 Revved version to 0.12 due to API change (see below).
3394 * cspi/spi-roletypes.h:
3395 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3396 definition from the inline docs, and added docs
3397 for SPI_ROLE_LAST_DEFINED.
3400 * cspi/spi_streamablecontent.c:
3401 Added missing seek_type parameter to
3402 (so far unused) method,
3403 AccessibleStreamableContent_seek().
3404 [ RT approval JodyG. ]
3407 Fixed docs for SPI_createAccessibleKeystrokeListener.
3409 * cspi/spi_registry.c:
3410 Fixed docs for SPI_KEYSET_ALL_KEYS.
3412 * docs/reference/cspi/at-spi-cspi-sections.txt:
3413 Added a number of missing APIs to SECTIONS.
3415 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3417 * registryd/Makefile.am:
3419 * cspi/bonobo/Makefile.am:
3420 Add $(X_LIBS) to makefiles.
3422 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3425 Revved version to 0.11.
3427 * libspi/component.c:
3428 Added implementation for grabFocus.
3430 * idl/Accessibility_Component.idl
3431 (Accessibility_Component_grabFocus):
3432 Made this method return boolean to indicate success or failure, to
3433 be consistent with cspi and the corresponding ATK method.
3435 * idl/Accessibility_Selection.idl
3436 (Accessibility_Selection_selectAll) :
3437 Made these methods return boolean to indicate success or
3438 failure, to be consistent with cspi and the corresponding ATK methods.
3440 * idl/Accessibility_EditableText.idl
3441 (Accessibility_EditableText_setTextContents,
3442 Accessibility_EditableText_insertText,
3443 Accessibility_EditableText_cutText,
3444 Accessibility_EditableText_deleteText,
3445 Accessibility_EditableText_pasteText):
3446 Made these methods return boolean to indicate
3449 * cspi/spi_editabletext.c:
3450 Made these methods return booleans.
3452 * libspi/selection.c:
3453 * libspi/component.c:
3454 * libspi/editabletext.c:
3455 Connected the boolean returns from ATK
3456 to the server-side code referenced above.
3458 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3460 * idl/Accessibility_Table.idl: Added missing methods,
3461 Accessibility_Table_addRowSelection,
3462 Accessibility_Table_addColumnSelection,
3463 Accessibility_Table_removeRowSelection,
3464 Accessibility_Table_removeColumnSelection.
3467 Added C wrappers for above IDL:
3468 AccessibleTable_addRowSelection,
3469 AccessibleTable_addColumnSelection,
3470 AccessibleTable_removeRowSelection,
3471 AccessibleTable_removeColumnSelection.
3474 Added server-side implementation code for IDL above, connecting
3475 to pre-existing ATK api.
3477 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3479 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3481 * libspi/accessible.c: Added implementation fo
3482 Accessibility_Accessible_get_state.
3484 * libspi/libspi.h: Added stateset.h to the list of includes.
3486 * libspi/stateset.c: Fixed broken implementation.
3488 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3491 Added implementation code for Accessibility_Magnifier_exit ().
3493 * util/mag_control.c:
3494 Added test code for above method; you can
3495 now kill an existing magnifier via
3496 ./mag_control q, from the util directory.
3498 * test/key-listener-test.c:
3500 Added a new test, for our key listener API.
3502 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3504 * test/app.c, test/keysynth-demo.c:
3506 Replace use of snprintf with g_snprintf.
3507 (fix for bugzilla 78249)
3509 2002-03-27 Michael Meeks <michael@ximian.com>
3513 * util/Makefile.am (INCLUDES): fix.
3514 (DONT_DIST_SOURCE): don't distribute the
3517 * libspi/Makefile.am (dist-hook): ditto.
3519 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3521 * libspi/hypertext.c:
3522 Fix warnings when yelp is used with atk-bridge
3524 2002-03-21 Michael Meeks <michael@ximian.com>
3526 * libspi/application.c (spi_application_new):
3527 use spi_accessible_construct so we use the AtkObject
3530 2002-03-19 Michael Meeks <michael@ximian.com>
3532 * registryd/registry.c (desktop_remove_application),
3533 (desktop_add_application): clean coding style.
3535 * registryd/desktop.c (spi_desktop_remove_application),
3536 (spi_desktop_add_application): kill re-enterency hazards.
3537 (spi_desktop_dispose): remove bogus redundant cast
3538 obscuring bug; fix bug too.
3539 (spi_desktop_init): make the desktop object immortal.
3541 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3544 Added a #define-guarded tree-traversal step
3545 when enumerating the apps (diagnostic tool).
3547 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3549 * idl/Accessibility_Role.idl:
3550 Added ROLE_DRAWING_AREA which seemed to be missing from the
3553 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3555 * cspi/spi-roletypes.h cspi/spi_accessible.c
3556 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3559 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3560 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3561 AT when applications are added and removed from the desktop. This
3562 reverts the previous broken implementation using the backing
3563 AtkObject for the SpiDesktop.
3565 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3567 * registryd/desktop.c: emit the "children-changed::add" and
3568 "children-changed::remove" signals on the backing ATK object for
3569 the desktop so AT can tell when applications are started and shut
3572 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3574 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3576 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3578 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3580 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3582 * cspi/state-types.h: synched with IDL and ATK
3584 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3586 * libspi/accessible.c
3587 (impl_accessibility_accessible_get_child_at_index):
3588 Change return value for g_return_if_fail ()
3589 to CORBA_OBJECT_NIL instead of "0" (!)
3591 * registryd/Makefile.am:
3592 * registryd/Accessibility_Register.server.in:
3593 Changed name of executable, "registryd",
3594 to something more informative:
3597 2002-03-13 Michael Meeks <michael@ximian.com>
3599 * atk-bridge/bridge.c (atk_bridge_init): don't register
3600 if we're in a bonobo-component, rather than a bonobo app.
3602 2002-03-13 Michael Meeks <michael@ximian.com>
3604 * atk-bridge/bridge.c (gtk_module_init): split
3605 out body to (atk_bridge_init): here, since otherwise
3606 we get symbol conflicts and oddness when invoked
3607 from (gnome_accessibility_module_init): here (upd.)
3609 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3612 New file. Explicitly allow "build sheriff" putbacks provided
3613 they are tested on Solaris.
3615 * docs/reference/cspi/Makefile.am:
3616 Added '-' to the "cp" command for index.sgml.
3617 ("patch by thomasvs, soon coming to a GUADEC near you")
3620 Incremented version number (0.9.0) for new release.
3621 Changed macro that checks for popt, to better detect
3622 obsolete versions of popt.
3625 Added X_LIBS to AC_SUBST, for applications
3626 that call Xlib API directly.
3629 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3632 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3635 Fix regression caused by hard-coding major
3636 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3639 * test/test-simple.c (test_editable_text),
3640 (test_test): revert previous change (error was
3641 a regression in gail which is now fixed).
3643 2002-03-04 Michael Meeks <michael@ximian.com>
3645 * test/test-simple.c (test_editable_text),
3646 (test_text): pass G_MAXINT instead of '-1' for
3647 whole string - is this a good thing !?
3649 * cspi/spi_accessible.c
3650 (Accessible_getRelationSet): fix crasher bug
3651 overwriting the end of the array.
3653 * test/test-simple.c (validate_accessible): free,
3654 not g_free returned relation set.
3656 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3658 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3659 implemented stateset support
3661 * idl/Accessibility_State.idl: Made necessary changes to
3662 the IDL to support state sets.
3664 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3666 * registryd/deviceeventcontroller.c:
3667 Added implementation for generateMouseEvent.
3669 * cspi/spi_registry.c:
3670 Connected new implementation for generateMouseEvent
3673 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3676 Incremented revision (but no change in public API
3677 outside of 'utils', which are not installed public yet.)
3679 * libspi/component.c:
3680 Changed to use atk_component API for layers and
3681 mdi_zorder, instead of deprecated atk_object API.
3683 Magnification Utility Enhancements:
3686 Added implementation of createZoomRegion, clearAllZoomRegions,
3687 resizeZoomRegion. Added new commandline argument
3688 "--no-initial-region". Note that clearAllZoomRegions doesn't
3689 unmap the old '0' region as it should (yet), and the other
3690 methods only work when creating/resizing a single region,
3691 which is "region 0".
3692 (Code for multiple region support will be added later.)
3695 Now we raise the magnifier window each time it's refreshed;
3696 this will help keep it on top.
3698 * util/mag_client.h:
3699 Added simple wrappers for above, used by mag_control.
3700 For general use, it's recommended to use the bonobo magnifier
3701 control API directly instead of using these wrappers.
3704 Moved ZoomRegionData from magnifier.c to this file.
3706 * util/mag_control.c:
3707 Added some code to exercise new IDL implementations.
3709 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3711 * libspi/text.c: Provide implementation for getAttributes.
3713 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3716 Incremented revision.
3718 * test/test-simple.c:
3719 Replaced use of deprecated g_main_iteration with
3720 g_main_context_iteration.
3722 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3725 Incremented revision for desktop alpha 2.
3727 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3729 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3732 * test/simple-at.c: include netinet/in.h.
3734 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3736 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3737 use NULL, not CORBA_OBJECT_NIL.
3739 * libspi/accessible.c:
3740 (impl_accessibility_accessible_get_relation_set):
3741 allocate the sequence correctly.
3743 * libspi/remoteobject.h: kill spi_remote_object_new.
3745 * test/test-simple.c: (validate_accessible): add code
3746 to test relation sets, now all we need is to figure
3747 out how to excercise this code path :/
3749 2002-01-18 Michael Meeks <michael@ximian.com>
3751 * test/test-simple.c
3752 (key_listener_cb): consume the key.
3753 (test_keylisteners): update.
3754 (main): wait for any pending unrefs on events.
3756 * registryd/deviceeventcontroller.c
3757 (spi_controller_update_key_grabs): only re-issue the
3758 grab on a key release.
3759 (spi_device_event_controller_forward_key_event):
3760 refresh the keygrabs before we notify the listeners,
3761 to reduce the X ungrab / re-grab race.
3762 (spi_controller_register_with_devices): remove
3763 XSelectInput - we do that with the gdk_window_ call.
3764 (_spi_controller_device_error_handler): return a value.
3765 s/GDK_DISPLAY/spi_get_display/
3767 2002-01-17 Michael Meeks <michael@ximian.com>
3769 * registryd/deviceeventcontroller.c
3770 (_deregister_keygrab): don't blow out the later
3773 * test/test-simple.c (test_keylisteners): do a
3774 more intelligent validation.
3776 2002-01-14 Michael Meeks <michael@ximian.com>
3778 * atk-bridge/bridge.c
3779 (gnome_accessibility_module_init),
3780 (gnome_accessibility_module_shutdown): impl.
3781 (gtk_module_init): protect vs. double inits.
3782 (add_signal_listener): impl.
3783 (spi_atk_bridge_state_event_listener): kill
3784 (deregister_application): split out of
3785 (spi_atk_bridge_exit_func): here.
3787 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3790 Added caret tracking when using magnifier, and
3791 now use text bounds for focus tracking of text elements, rather than
3792 the component bounds - this is helpful for short text fields in long
3793 table cells, at high magnification.
3795 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3797 * registryd/deviceeventcontroller.c:
3798 Regression fix for keylistener de-registration; global keygrabs
3799 were not being released when deregisterKeystrokeListener was
3800 called in cspi, since
3801 Accessibility_DeviceEventController_deregisterKeystrokeListener
3802 was called with a zero-length keyset. That is because the cspi
3803 method, SPI_deregisterKeystrokeListener, does not take a keyset
3804 parameter but instead should remove all the key grabs held be a
3806 The code in impl_deregister_keystroke_listener was changed to copy
3807 the keylist from the listener instance previously registered with
3808 the DeviceEventController before releasing the grabs.
3810 * registryd/registry.c:
3811 * registryd/deviceeventcontroller.c:
3812 * libspi/spi-private.h:
3814 Changed spelling of "re-enterant" to "re-entrant" globally.
3816 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3818 * test/test-simple.c:
3819 Changed key listeners test - the test was slightly mis-using the
3820 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3821 It now uses '=' as the key event listened to and generated,
3822 relying on a keysym match rather than assuming that keycode 33
3823 is always equal to keysym '!'.
3825 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3828 Changed simple-at to use a specific keyset, rather than
3829 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3830 manager, desktop, etc.
3832 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3834 * registryd/deviceeventcontroller.c:
3835 Replaced standard X error handler with a special handler that
3836 is non-fatal for failed keygrabs. This works around
3837 problems with keygrab clashes sometimes observed on
3839 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3840 mouse handling code as yet).
3842 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3845 Incremented revision for desktop alpha release.
3848 Fixed a couple of the more glaring errors (still not
3851 2002-01-11 Michael Meeks <michael@ximian.com>
3853 * registryd/deviceeventcontroller.c
3854 (spi_device_event_controller_forward_key_event): kill
3855 XUngrabKey / XKeyGrab race.
3856 (spi_controller_grab_keyboard): rename to
3857 (spi_controller_update_key_grabs): this, and deal
3858 with incremental adding / removing grabs more
3860 (_register_keygrab): ensure we're not pending a remove.
3861 (spi_grab_mask_free): impl.
3862 (spi_controller_register_global_keygrabs): split out
3864 (handle_keygrab): impl.
3865 (_deregister_keygrab): impl.
3866 (spi_controller_deregister_global_keygrabs): impl.
3867 (spi_controller_update_key_grabs): re-issue the grab if
3868 we just recieved a notification.
3870 * test/test-simple.c (key_listener_cb): remove debug.
3872 * registryd/deviceeventcontroller.c
3873 (spi_controller_register_device_listener): after
3874 registering a global keygrab, actualy register it !
3875 don't wait for a timeout; doh !
3877 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3878 to make it more readable / manipulable.
3879 s/grabmask/grab_mask/ s/refcount/ref_count/
3880 s/keyval/key_val/ s/modmask/mod_mask
3882 2002-01-08 Michael Meeks <michael@ximian.com>
3884 * registryd/deviceeventcontroller.c
3885 (spi_controller_register_with_devices): use gdk calls to
3887 (global_filter_fn): implement the filter.
3888 (spi_device_event_controller_check_key_event): rename to
3889 (spi_device_event_controller_forward_key_event): this & upd.
3890 (spi_get_display): replace with GDK_DISPLAY.
3892 * registryd/deviceeventcontroller.c
3893 (spi_controller_deregister_device_listener): unroll into
3894 (impl_deregister_keystroke_listener): here to simplify.
3895 (spi_controller_register_global_keygrabs): split cut and
3896 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3897 (spi_controller_deregister_device_listener): remove.
3898 (impl_register_mouse_listener): remove, no mouse listener
3899 support in at-spi-1.0
3901 * registryd/registry.c
3902 (_device_event_controller_hook): kill.
3903 (spi_registry_init): upd.
3905 * registryd/deviceeventcontroller.c
3906 (spi_device_event_controller_class_init): upd.
3907 (spi_check_key_event): merge into.
3908 (spi_device_event_controller_check_key_event):
3909 here and kill strange static ev init, don't leak
3910 the x_event - nor dynamicaly allocate it.
3912 * registryd/registry-main.c (main): re-direct
3913 timeout to remove strange vtable mess.
3915 * registryd/deviceeventcontroller.c
3916 (remove_listener_cb): impl.
3917 (spi_controller_deregister_device_listener):
3918 fix re-enterancy hazard.
3920 2002-01-07 Michael Meeks <michael@ximian.com>
3922 * registryd/deviceeventcontroller.c
3923 (spi_device_event_controller_new): upd.
3924 (impl_notify_listeners_sync): upd. debug.
3925 (spi_notify_keylisteners): fix re-enterancy hazards,
3926 prettify, remove O(n*n) iteration.
3927 (spi_controller_grab_keyboard): fix iteration.
3928 (spi_check_key_event): re-format to suit coding style.
3929 Clean all the warnings - we're warning free.
3931 * registryd/deviceeventcontroller.h:
3932 * registryd/registry.h: make mutualy referential with
3933 typesafe forward references instead of (!) void pointer
3936 2002-01-11 Michael Meeks <michael@ximian.com>
3938 * cspi/spi_accessible.c (role_names): add a role name
3939 to sync this array with the enum; and make the regression
3942 2002-01-10 Michael Meeks <michael@ximian.com>
3944 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3945 allow expansion of enumeration & kill warning.
3947 * test/test-simple.c (key_listener_cb): impl.
3948 (test_keylisteners): impl.
3950 * cspi/spi-listener.h: make listener signatures const
3951 on the provided (const) events.
3953 * test/keysynth-demo.c: upd. to const events.
3955 * test/simple-at.c: ditto.
3957 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3960 Rev the version to 0.5 (the previous tarball was named 0.4,
3961 even though the micro number was 3), so we need to rev upwards
3962 again for beta2/"desktop-alpha"
3965 Checked in a demo script, which requires editing before use!
3966 Proceed with caution.
3969 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3971 * cspi/spi_accessible.c:
3972 Add a couple of missing enum initializations, and fix some enum
3975 * cspi/spi_registry.c:
3976 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3978 * docs/reference/cspi/at-spi-cspi-sections.txt:
3979 Remove/fix a couple of broken document references.
3982 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3983 as Alt-Control to listen for commands, since on some systems
3984 Control-Alt may already be grabbed.
3986 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3989 Update version number to 0.4 for Beta2.
3991 * libspi/accessible.c, libspi/accessible.h:
3992 Expose spi_accessible_construct, to enable libgail-gnome
3993 construction from spi_accessible subtype.
3995 * utils/magnifier.c:
3996 Workaround for bug in some non-gnome-compliant window managers
3997 which made magnifier resize improperly.
3999 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4001 * libspi/accessible.c: (spi_accessible_new) :
4002 Move the test for SPI_IS_REMOTE_OBJECT to
4003 spi_accessible_new_return, fixing a bug and compile time warning.
4005 2002-01-08 Michael Meeks <michael@ximian.com>
4007 * registryd/registry.c (parse_event_type): remove strndup.
4009 * libspi/Makefile.am (libspi_la_SOURCES): remove
4010 sources already included in the headers section.
4012 * libspi/util.c: add.
4014 * libspi/spi-private.h: add.
4016 * registryd/registry.c: update to moved list iterators.
4018 2002-01-05 Michael Meeks <michael@ximian.com>
4020 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4022 * test/test-simple.c (main): ditto.
4024 2002-01-04 Michael Meeks <michael@ximian.com>
4026 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4027 redundant construct.
4029 * registryd/registry.c
4030 (get_listener_list): impl.
4031 (impl_accessibility_registry_register_global_event_listener):
4032 re-impl. to simplify using ~, remove dodgy const cast off.
4033 (parse_event_type): constify.
4034 (impl_accessibility_registry_deregister_global_event_listener_all):
4035 re-write, more efficiency and simplicity, kill re-enterancy
4037 (compare_listener_corbaref, compare_corba_objects),
4038 (compare_listener_quarks): define out.
4039 (impl_accessibility_registry_deregister_global_event_listener):
4040 re-write for effiency, and nail re-enterancy hazard.
4041 (impl_accessibility_registry_get_desktop_list): impl.
4042 (re_enterant_list_delete_link): impl.
4043 (re_enterant_list_foreach): impl.
4044 (remove_listener_cb): impl.
4045 (_registry_notify_listeners): kill.
4046 (notify_listeners_cb): impl.
4048 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4049 (SPI_getDesktopList): impl.
4051 * test/test-simple.c (test_desktop): test the methods.
4053 2002-01-03 Michael Meeks <michael@ximian.com>
4055 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4056 keystrings since we free them
4057 (SPI_freeAccessibleKeySet): in here.
4059 * libspi/accessible.c (spi_accessible_new): kill warning,
4060 wonder what is going on with the constructor here.
4062 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4064 * libspi/accessible.c (spi_accessible_new ()) :
4065 Added check to see if AtkObject is an SpiRemoteObject before
4066 creating an SpiAccessible.
4068 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4070 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4071 Enable keygrabs using the Control modifier, now that they are
4072 working properly (they were previously disabled).
4075 Change the command keygrab for this demo to "Control+Alt", so as
4076 to conflict with fewer other key commands on the system; this
4077 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4079 Removed a pointlessly-chatty keylistener for unshifted keys
4080 (shifted keys are still reported).
4082 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4084 * libspi/remoteobject.h:
4085 * libspi/remoteobject.c:
4086 Added definitions for special AtkObject subtype, required for
4087 support of remote components (specifically, used by BonoboControl
4088 accessibility implementation).
4090 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4092 * cspi/spi.h: synched relation types with ATK
4094 * cspi/spi_accessible.c: Added implementations of
4095 AcccessibleRelation_* methods
4097 * idl/Accessibility_Relation.idl: added getRelationTypeName
4098 method. Synched known relation types with ATK. Allowed for
4099 relation type extension with the RELATION_EXTENDED type.
4101 * libspi/relation.c: Provided implementations for
4102 AccessibleRelation methods.
4104 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4106 API tweaks for today's API 'freeze'.
4109 Added placeholder functions to allow future compatible expansion
4110 of the IDL interfaces.
4112 * idl/Accessibility_Registry.idl:
4113 Changed generateKeyEvent to generateKeyboardEvent. Changed
4114 signature of this method to accept an optional keystring in
4115 parameter (for complex text input synthesis) and changed use of
4116 simple 'boolean' parameter in registerKeystrokeListener to a
4117 struct, EventListenerMode.
4119 * cspi/spi_accessible.c:
4121 * cspi/spi_streamablecontent.c:
4122 Added references to AccessibleStreamableContent interface, and
4123 definition and implementation of AccessibleStreamableContent
4126 * cspi/spi_registry.c:
4128 Changed generateKeyEvent API to generateKeyboardEvent,
4129 taking a new (optional) keystring parameter to support complex
4134 Renamed directory (to better reflect its actual purpose, bridging
4135 from at-spi to ATK). The .so module is also now named
4138 * idl/Accessibility_Hypertext.idl:
4139 * libspi/accessible.c:
4140 * libspi/hypertext.h:
4141 * libspi/hypertext.c:
4142 Changed Accessibility_Hypertext to *not* derive from
4145 * cspi/spi_registry.c:
4146 Added list of legal event type names for 'window' events, which
4147 completes the registry event API.
4149 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4151 * at-bridge/bridge.c: Added registration for separate
4152 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4153 signals. If either of the first two parameters to the generic
4154 bridge signal handler are ints, they are passed on as event
4155 details. This allows an AT to determine what text was inserted.
4157 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4159 * registryd/deviceeventcontroller.c:
4160 Fixed regressions in generateKeyEvent caused by the removal of
4161 gdk_init from registryd; we now use pure X calls to connect to the
4162 display, which makes sense because deviceeventcontroller already
4163 uses a fair bit of X API (should eventually be migrated to a
4164 'portability layer').
4166 * registryd/desktop.c:
4167 Fixed minor regression in spi_desktop_init, changed the way the
4168 desktop name is being set to work with new spi_base API
4169 (gobject-based, rather than AtkObject-based).
4171 * registryd/Makefile.am:
4172 Minor revision of makefile to use XTST_LIBS variable rather than
4173 hard-wiring the Xtst LD_ADD element.
4175 * test/keysynth-demo.c:
4176 Tweaked an output message; added initialization of the
4177 'keystrings' member of the "switch listener" key_set.
4179 * libspi/relation.c:
4180 Squashed compile-time warning.
4182 * libspi/accessible.c:
4183 Cosmetic and formatting fixes, renamed a static method.
4185 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4187 * libspi/accessible.c
4189 * libspi/application.c
4192 * libspi/component.c
4193 * libspi/editabletext.c
4194 * libspi/hyperlink.c
4195 * libspi/hypertext.c
4197 * libspi/selection.c
4201 * registryd/desktop.c:
4202 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4204 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4206 * idl/Accessibility_Registry.idl:
4207 Added boolean member 'is_text' to DeviceEvent. This is for the
4208 use of key events, and helps prevent ambiguity between composed
4209 key strings and keysym names, since both may potentially be
4210 returned in the 'event_string' member.
4212 * at-bridge/bridge.c:
4213 * registryd/deviceeventcontroller.c:
4214 Use the 'is_text' member when notifying device event listeners.
4215 Knon issue: composed characters are not dealt with correctly by
4216 the global key listener implementation yet.
4218 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4220 * at-bridge/bridge.c:
4221 Namespaced local static methods to spi_atk_bridge_* where
4222 previously named bridge_*, and spi_* elsewhere.
4224 * at-bridge/bridge.c:
4225 * cspi/bonobo/cspi-bonobo-listener.c:
4226 Added demarshalling/conversion for string member of
4227 Accessibility_DeviceEvent to AccessibleKeystroke.
4229 * registryd/deviceeventcontroller.c:
4230 Added code to fill the Accessibility_DeviceEvent key string value
4231 member for global key events (i.e. from XGrabKey), to match
4232 behavior of Accessibility_DeviceEvent from the toolkit key events
4233 from the bridge. Fixed timestamp in global key event notifications.
4236 Added printout of key event's string value to
4237 report_ordinary_key_event, for demo/debugging purposes.
4239 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4241 * idl/Accessibility_Registry.idl:
4242 Removed Accessibility_KeyStroke structure in favor of generic
4243 Accessibility_DeviceEvent structure.
4244 Changed Accessibility_ControllerEventMask from a struct to an
4247 * at-bridge/bridge.c:
4248 Changed APIs to use DeviceEvent structure as above, and removed
4249 bogus casting between these event structures.
4251 * cspi/spi-listener.h:
4252 Added keystring member of AccessibleKeystroke structure, to enable
4253 matching on event "names" rather than only hardware codes and
4257 Added keystrings member of AccessibleKeySet struct, to allow
4258 matching on event names (as above).
4259 Added declarations for SPI_createAccessibleKeySet and
4260 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4261 event modmasks directly as unsigned ints rather than structs with
4262 refcounts, in the DeviceEventController methods.
4264 * cspi/spi_registry.c:
4265 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4267 * cspi/spi-roletypes.h:
4268 Added documentation of newly added SPI Roles.
4270 * cspi/bonobo/cspi-bonobo-listener.c:
4271 Changes in support of API changes above.
4273 * libspi/accessible.c:
4274 Converted APIs to use DeviceEvent structure (see IDL changes
4277 * registryd/deviceeventcontroller.c:
4278 Added DEControllerGrabMask structure to track keygrabs not only by
4279 modmask but by keyset as well; this allows us to do "global"
4280 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4281 grabbing on AnyKey and then filtering after-the-fact.
4282 Bugfixes for event filtration mean that we don't get false matches
4283 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4285 * registryd/deviceeventcontroller.c:
4286 Namespaced a number of static methods to use spi_ prefix. Major
4287 revision to internals of global (i.e. X) key grabs.
4289 * registryd/deviceeventcontroller.h:
4290 Removed keymask_list and added keygrabs_list to
4291 SpiDeviceEventController struct.
4294 Added use of SPI_createAccessibleKeySet API when creating a
4295 listener for only one key. Attach a listener to "shift spacebar
4296 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4297 X key event names to SPI key event names, so that listeners are
4298 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4300 * test/keysynth-demo.c:
4301 Changed (incorrect) use of X key event names (KeyPressed,
4302 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4305 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4307 * libspi/accessible.c:
4308 Convert all AtkRole enumerations to Accessibility_Role enums when
4309 getting a role from an AtkObject.
4311 * cspi/spi_accessible.c:
4312 Complete the conversion of Accessibility_Role enums at runtime to
4313 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4314 role enums correctly match those given in spi-roletypes.h.
4315 Re-synchronize the local names list for AccessibleRole_getName ().
4316 AccessibleRole_getName is now deprecated, since it duplicates the
4317 more reliable Accessible_getRoleName.
4318 Added some role types from Accessibility_Role.idl.
4320 * idl/Accessibility_Role.idl:
4321 Added some role types used by AtkRole.
4323 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4326 * cspi/spi_registry.c:
4328 * cspi/cspi-bonobo-listener.c:
4329 Namespaced all methods that did not begin with an "SPI_" or
4330 "Accessible" prefix to "SPI_".
4333 Homogenized internal function namespace to "cspi_" for statics.
4336 Patched tests to use the new CSPI API.
4338 * docs/reference/cspi/at-spi-cspi-sections.txt:
4339 Updated docs to reflect namespace changes, and added a number of
4340 methods to the documentation.
4342 * registryd/registry.c:
4343 Changed use of strings and string hashes in listener event
4344 matching and parse_event_string to use GQuark, which is guaranteed
4347 * registryd/registry.h:
4348 Squashed annoying warning.
4350 * idl/Accessibility_Role.idl:
4351 Extended range of available Accessibility_Role values.
4353 * cspi/spi_accessible.c:
4354 Re-ordered role names.
4356 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4358 * idl/Accessibility_Value.idl:
4359 Revert use of union back to CORBA_double, since the double type is
4360 more efficient and can contain the other types without loss of
4363 * idl/Accessibility_Accessible.idl:
4364 Added method Accessibility:Accessible:getRoleName, to complement
4365 Accessibility:Accessible:getRole.
4367 * cspi/spi_accessible.c:
4369 Added C binding for above, Accessible_getRoleName (), and changed
4370 signature of Accessible_getRole () to return an AccessibleRole.
4372 * cspi/spi-roletypes.h:
4373 Changed AccessibleRole_getName to return a char * instead of a
4374 const char *. This method is now at least temporarily deprecated
4375 in favor of asking Accessibles for their RoleNames directly.
4378 Revert to match Accessibility_Value.idl;
4382 Change signature of AccessibleValue methods to use double rather
4386 * cspi/spi_accessible.c:
4387 Changed Accessible_getRole to return an AccessibleRole enum rather
4388 than a UTF-8 string. The UTF-8 string can still be obtained via
4389 AccessibleRole_getName ().
4391 * test/test-simple.c:
4392 Add test_action. Small fixup to match API change to Accessible_getRole.
4395 Bugfix for get_action_from_servant ().
4397 2001-12-11 Michael Meeks <michael@ximian.com>
4399 * libspi/libspi.h: remove registry.h and
4400 desktop.h, deviceeventcontroller.h
4402 * libspi/Makefile.am: remove registry.[ch],
4403 desktop.[ch], deviceeventcontroller.[ch]
4405 * registryd/Makefile.am: add registry.[ch],
4406 desktop.[ch], rename registryd.c to registry-main.c.
4407 add deviceeventcontroller.[ch]
4409 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4412 Replace setenv() call with putenv ().
4414 * libspi/component.c:
4415 Bugfix in AccessibleComponent_getExtents (),
4418 2001-12-11 Michael Meeks <michael@ximian.com>
4420 * libspi/image.c (impl_getImageExtents): impl.
4421 (spi_image_class_init): upd.
4424 (AccessibleImage_getImageDescription): fix daft bug
4427 * test/test-simple.c (global_listener_cb): update
4428 to only quit if not --poke
4429 (main): catch --poke.
4430 (validate_accessible): upd. dumping, call test_image
4433 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4436 * idl/Accessibility.idl: update all IDL includes.
4438 * idl/*.idl - rename to namespace - this sucks, blame
4439 mjs' bad decision for oafd.
4441 * test/test-simple.c (create_test_window): add more tests.
4442 (create_tree): split this out.
4443 (validate_accessible): bugfix.
4445 2001-12-11 Michael Meeks <michael@ximian.com>
4447 * cspi/bonobo/cspi-bonobo-listener.c:
4448 (cspi_kestroke_listener_unref),
4449 (cspi_event_listener_unref): impl. undoing previous
4450 homenous environment - for Bill.
4452 * cspi/spi_table.c (long_seq_to_array): use
4455 * cspi/spi_main.c: split out all bonoboish bits into
4458 * cspi/spi-impl.h: upd. typedefs.
4460 * cspi/spi_registry.c: update to lowlevel API,
4461 return booleans to indicate success in some places.
4463 * cspi/spi_event.c: update to lowlevel API.
4465 * cspi/bonobo/Makefile.am: add.
4467 * cspi/bonobo/cspi-lowlevel.h: add
4469 * cspi/bonobo/cspi-bonobo.c: add
4471 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4473 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4474 (SUBDIRS): add bonobo, link in the libs.
4476 * cspi/spi-util.c: kill this file.
4478 * TODO: merge in my bits.
4480 2001-12-11 Michael Meeks <michael@ximian.com>
4482 * test/test-simple.c (test_value, test_table, main):
4483 remove unused variables causing warnings.
4485 * configure.in: cleanup checks - require gail.
4487 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4490 Changed Value interface to use SValue (scalars) rather than
4491 assuming all values are floats. This allows floats, doubles,
4492 longs, shorts, and unsigned values to be manipulated.
4493 Introduced Accessibility:SValue union.
4496 Updated to use new API above, and to work correctly with GValues
4497 of different types in AtkValue.
4500 Updated to use new API above. cspi's API is as yet unchanged.
4503 Updated the Value revision action item.
4505 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4507 * test/test-simple.c:
4508 Added test_table (GtkTreeView widget in test window to follow).
4509 Un-commented test_value, added GtkRange widget.
4510 Added GtkTreeView widget with GtkListStore. It passes regression
4511 test but leaks one SPI object for some reason.
4514 Fixed bug in impl__set_currentValue.
4516 2001-12-10 Michael Meeks <michael@ximian.com>
4518 * cspi/spi_text.c: audit for exception handling,
4519 tolerating NULL object references safely etc.
4521 * cspi/spi_value.c: ditto.
4523 * cspi/spi_table.c (AccessibleTable_getSummary),
4524 (AccessibleTable_getAccessibleAt),
4525 (AccessibleTable_getRowHeader),
4526 (AccessibleTable_getColumnHeader),
4527 (AccessibleTable_getCaption): fix bugs hidden by
4529 (long_seq_to_array): impl.
4530 (AccessibleTable_getSelectedRows),
4531 (AccessibleTable_getSelectedColumns): use it.
4533 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4536 Added a TODO list (rough and short for now).
4538 * cspi/spi_hyperlink.c:
4539 * cspi/spi_hypertext.c:
4540 Fixed macro name typos, and remove use of obsolete macro in
4541 AccessibleHyperlink_getLink.
4543 * cspi/spi_action.c:
4544 * cspi/spi_accessible.c:
4545 * cspi/spi_application.c:
4546 * cspi/spi_component.c:
4547 * cspi/spi_selection.c:
4550 Documentation fixes (removed return values from ref/unref methods).
4552 2001-12-10 Michael Meeks <michael@ximian.com>
4554 * cspi/spi_action.c: audit for exception handling,
4555 tolerating NULL object references safely etc.
4557 * cspi/spi_accessible.c: ditto.
4559 * cspi/spi_component.c: ditto.
4561 * cspi/spi_editabletext.c: ditto.
4563 * cspi/spi_hyperlink.c: ditto.
4565 * cspi/spi_hypertext.c: ditto.
4567 * cspi/spi_image.c: ditto.
4569 * cspi/spi_selection.c: ditto.
4571 2001-12-10 Michael Meeks <michael@ximian.com>
4573 * configure.in: use cspi/libspi.pc.in instead.
4575 * Makefile.am (pkgconfig_DATA): upd. to match.
4577 * test/simple-at.c (report_focus_event): kill hacks around
4578 bad return values, use putenv not setenv
4580 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4581 fire ChildGone - I killed it.
4583 * libspi/component.c
4584 (impl_accessibility_component_get_extents): remove
4587 * idl/Accessible.idl: kill ChildGone exception.
4589 * cspi/*.[ch]: kill int return from ref / unref.
4591 * cspi/spi_main.c (cspi_object_add_check): fold into
4592 (cspi_object_add): here.
4594 * cspi/spi_component.c (AccessibleComponent_getExtents):
4595 handle exceptions elegantly.
4597 * cspi/spi-private.h (cspi_check_ev_return),
4598 (cspi_return_if_fail): impl.
4600 * cspi/spi_accessible.c: use extensively.
4601 (AccessibleStateSet_equals): add direct compare check.
4603 * cspi/spi_selection.c: tolerate NULL objs, and check
4604 exceptions before return.
4606 * cspi/spi-util.c (cspi_warn_ev): rename to
4607 (cspi_check_ev): this & don't pass ev in; no point.
4609 2001-12-10 Michael Meeks <michael@ximian.com>
4611 * test/test-simple.c: use putenv not setenv
4612 (get_environment_vars): more chatty if you're not using
4615 * test/simple-at.c: do the setenv so more people see the
4618 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4620 * libspi/registry.c:
4621 Changed check of CORBA_environment on notification to be a warning
4622 instead of an error for the moment, since we can recover from this
4623 error when caused by a queued notification from a dead app.
4626 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4627 used by all current implementors of AtkValue), and coerce to
4628 CORBA_float. (Proper general case fix may require change to Value.idl).
4630 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4634 * cspi/spi_accessible.c:
4635 Documentation fixes: added user_data params to documentation for
4636 listeners and callbacks.
4638 * cspi/spi_accessible.c:
4639 Changed AccessibleStateSet_compare to return a
4640 StateSet rather than return the difference set into a third parameter.
4643 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4646 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4647 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4651 Remove subdirectory po from SUBDIRS for now.
4653 * at-bridge/bridge.c:
4654 Beefed up a couple of debug printouts.
4655 One-line fix for signal notification name formatting.
4657 * libspi/accessible.c:
4658 Added assertion to spi_accessible_new ().
4660 * libspi/application.c:
4661 Put #ifdef qualifiers around a printf.
4664 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4666 * registryd/Makefile.am:
4668 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4669 INTLTOOL_SERVER_RULE macro.
4672 Added an event listener for several ATK signals, for
4673 testing and debugging. Removed a few g_warnings.
4674 Added test output if focussed item implements the Value interface.
4676 * test/test-simple.c:
4677 Added test_value () function (known not to pass at the moment, so
4678 not actually called yet.
4680 2001-12-08 Michael Meeks <michael@ximian.com>
4682 * at-bridge/bridge.c (bridge_focus_tracker),
4683 (emit_eventv): fix the same ref. leak.
4684 (register_atk_event_listeners): don't leak.
4686 * cspi/spi-listener-impl.c (cspi_event): more
4687 protection from client code.
4689 * test/test-simple.c (test_desktop): unref the app.
4691 * test/Makefile.am: upd. TESTS.
4693 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4695 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4697 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4699 * cspi/spi_registry.c: constify in strings.
4700 (deregisterGlobalEventListenerAll): don't release the ref.
4702 * cspi/spi.h: start removing redundant / conflicting
4703 gtkdoc comments, making the API readable at a glance :-)
4705 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4707 * test/keysynth-demo.c (keysynth_exit, main): upd.
4709 * test/simple-at.c (main, simple_at_exit): upd.
4711 * test/test-simple.c (unutterable_horror): kill.
4712 (utterable_normal_derefs): kill.
4713 (main): upd & do a setenv before gtk_init, so that we
4714 can use memprof - and to save the pain of remembering
4715 this, if we're running under memprof - don't exit.
4717 * cspi/spi_main.c (SPI_exit): return exit status
4719 (SPI_event_quit): impl.
4720 (SPI_event_main): simplify.
4721 (cspi_is_gnome_app): kill.
4722 (SPI_init): kill isGNOMEapp arg.
4724 * at-bridge/bridge.c (register_atk_event_listeners):
4725 re-instate the unref.
4726 (bridge_exit_func): don't re-activate the registry,
4727 protect vs. theoretical re-entry, use the
4728 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4729 assert a clean shutdown - for regression tests.
4731 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4733 * configure.in: Comment out dummy i18n support for now,
4734 otherwise it fails to build.
4735 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4736 EXTRA_DIST. They are missing in tarball.
4738 2001-12-07 Michael Meeks <michael@ximian.com>
4740 * util/magnifier.c: kill bonobo activation reg. race.
4742 * libspi/component.c
4743 (impl_accessibility_component_get_extents): make it match
4746 * libspi/registry.c (_registry_notify_listeners):
4747 re-remove X headers & reconcile conflicts.
4748 (spi_listener_struct_free): bad conflict resolve.
4749 (impl_accessibility_registry_register_application):
4750 more bad merging fixed.
4751 (impl_accessibility_registry_deregister_application): ditto.
4752 (spi_registry_new): ditto.
4753 (spi_registry_init): don't have an applications field.
4755 [ merge fixups2 branch to here ]
4756 2001-12-07 Michael Meeks <michael@ximian.com>
4758 * test/simple-at.c (report_focus_event),
4759 (report_focussed_accessible): remove g_warning debug.
4761 2001-12-07 Michael Meeks <michael@ximian.com>
4763 * test/test-simple.c (validate_tree): comment out some checks.
4764 (test_desktop): app now not registered idly - horay.
4766 2001-12-07 Michael Meeks <michael@ximian.com>
4768 * cspi/spi_registry.c
4769 (registerAccessibleKeystrokeListener): clean, stop it leaking
4770 great swathes of memory, and device event controller references.
4771 ensure we always pass valid sequences.
4772 (deregisterAccessibleKeystrokeListener): ditto.
4773 (generateKeyEvent): upd.
4775 * at-bridge/bridge.c (bridge_key_listener): handle
4776 registry dead exception gracefully.
4777 (bridge_focus_tracker, emit_eventv): free ev.
4779 * test/simple-at.c (report_focus_event): fix polarity.
4781 * libspi/application.c (notify_listeners): kill the ev
4782 argument, and make sure we init the ev we use.
4783 (spi_application_object_event_listener): split out a chunk
4784 (get_atk_object_ref): here & fixup.
4785 (reverse_lookup_name_for_toolkit_event): make const.
4786 (spi_application_toolkit_event_listener): fixup, kill leaks
4789 * at-bridge/bridge.c (register_atk_event_listeners):
4790 don't unref the noop object - causes grief.
4792 * libspi/registry.c: remove the X headers.
4793 turn off the debug churn.
4795 * libspi/accessible.c (spi_accessible_new_return): only
4796 release the ref if we are supposed to [doh]
4798 * test/simple-at.c (report_button_press, report_focus_event):
4799 guard vs. unexpected exit.
4801 * at-bridge/bridge.c (gtk_module_init): prune printf.
4802 (bridge_exit_func): fix app unref.
4804 * libspi/Makefile.am: don't install registry or desktop.h
4806 * libspi/*.h: update includes.
4808 * libspi/application.h: don't include ourself, or
4809 other redundant headers.
4811 2001-12-06 Michael Meeks <michael@ximian.com>
4813 * libspi/accessible.c
4814 (get_accessible_from_servant): impl.
4815 Upd. all CORBA impl.s to use it killing cut and paste.
4817 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4819 (SPI_init): register atexit cleanup handler here.
4821 2001-12-06 Michael Meeks <michael@ximian.com>
4823 * at-bridge/bridge.c (gtk_module_init): g_error on
4824 activation exception
4826 2001-12-06 Michael Meeks <michael@ximian.com>
4828 * at-bridge/bridge.c (gtk_module_init): some sort of
4829 confusing merge clash - reverted.
4830 (bridge_idle_init): ditto.
4832 * test/test-simple.c (main, utterable_normal_derefs):
4833 merge from Bill - somehow not committed.
4835 2001-12-06 Michael Meeks <michael@ximian.com>
4837 * libspi/value.c (spi_value_class_init): upd.
4838 (spi_value_finalize): kill.
4840 * libspi/table.c (spi_table_finalize): kill.
4841 (spi_table_interface_new): upd.
4842 (spi_table_class_init): upd.
4843 (get_table_from_servant): impl.
4844 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4846 * libspi/selection.c (spi_selection_finalize): kill.
4847 (spi_selection_interface_new): upd.
4848 (spi_selection_class_init): upd.
4849 (get_selection_from_servant): impl.
4850 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4852 * libspi/relation.c (spi_relation_finalize): kill.
4853 (spi_relation_class_init, spi_relation_new): upd
4855 * libspi/image.c (spi_image_finalize): kill.
4856 (spi_image_class_init): upd.
4857 (spi_image_interface_new): upd.
4858 (get_image_from_servant): impl.
4859 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4861 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4862 (spi_hyperlink_finalize): kill.
4863 (spi_hyperlink_new): upd.
4864 (get_hyperlink_from_servant): impl.
4865 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4867 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4868 (spi_hypertext_finalize): kill.
4869 (spi_hypertext_class_init): upd.
4870 (get_hypertext_from_servant): impl.
4871 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4873 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4874 (spi_editable_text_interface_new): upd.
4875 (get_editable_text_from_servant): impl.
4876 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4878 * libspi/text.c (get_text_from_servant): impl.
4879 All impls - update to use it killing more cut and paste,
4880 also fix bad string returns on duff args ( a somewhat
4881 impossible case to handle - but hey ).
4882 (spi_text_construct): impl.
4883 (spi_text_interface_new): upd.
4884 (spi_text_object_finalize): kill.
4886 * libspi/component.c
4887 (accessibility_component_object_finalize): kill.
4888 (spi_component_class_init): upd.
4889 (get_component_from_servant): impl. helper to kill cut & paste.
4890 (impl_accessibility_component_contains):
4891 (impl_accessibility_component_get_accessible_at_point):
4892 (impl_accessibility_component_get_position):
4893 (impl_accessibility_component_get_extents):
4894 (impl_accessibility_component_get_mdi_z_order):
4895 (impl_accessibility_component_get_layer):
4896 (spi_component_interface_new): upd.
4898 * libspi/action.c (spi_action_finalize): kill.
4899 (spi_action_class_init): upd. inherit from SpiObject.
4900 (spi_action_interface_new): upd.
4901 (get_action_from_servant): impl. helper to reduce cut & paste.
4902 (impl_getKeyBinding, impl_getName, impl_doAction),
4903 (impl_getDescription): Use it everywhere.
4905 * cspi/spi_main.c (get_live_refs): a pointer hash.
4906 (spi_object_hash, spi_object_equal): comment out.
4907 There are issues with CORBA object hashing that need
4910 * libspi/application.c (spi_application_init),
4911 (spi_application_new): upd.
4913 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4914 (spi_accessible_class_init): upd.
4915 s/accessible/object/ in epv methods.
4917 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4919 * at-bridge/bridge.c:
4920 Reorder the bridge initialization into the bridge gtk_module_init,
4921 an immediate call to bridge_register_app, and an idle_add for
4922 register_atk_event_listeners (the only code that *must* wait until
4923 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4924 the activation, creates the application's Accessible object, and
4925 queues the bridge_idle_init function. Restored call to
4926 Accessibility_Registry_deregisterApplication().
4927 Prior to making this call we obtain a new reference to the
4928 registry, which is a temporary hack that helps us handle apps that
4929 shut down the bonobo mainloop before we get there.
4931 * libspi/registry.c:
4932 Fix string leakage in debug block, and don't segv if a an app
4933 dies before its event notifications have been propagated.
4936 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4937 as stopgap measure until we get proper exception handling when
4938 objects die during or before interrogation.
4942 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4943 Also changed default value of is_gnome_app to TRUE.
4946 * test/keysynth-demo.c:
4947 Changed use of SPI_init and SPI_event_main to reflect API change above.
4950 Made report_focus_event check the warning value from getName
4951 before reporting on focussed accessible; simplifies handling of
4952 notifications from dead objects.
4954 * test/test-simple.c: (Changes not in this patch since source is
4957 2001-12-05 Michael Meeks <michael@ximian.com>
4959 * registryd/registryd.c (main): protect against
4960 bonobo-activation startup race condition.
4962 * cspi/spi_main.c (cspi_object_add_check): cope
4963 with the exception elegantly.
4965 * idl/Accessible.idl: decl. ChildGone
4967 * libspi/desktop.c (spi_desktop_dispose): impl.
4968 (spi_desktop_class_init): upd.
4969 (spi_desktop_add_application),
4970 (spi_desktop_remove_application),
4971 (abnormal_application_termination): impl.
4972 (impl_desktop_get_child_at_index): re-impl.
4975 (impl_accessibility_registry_deregister_application),
4976 (impl_accessibility_registry_register_application):
4977 kill excessive debug clutter.
4979 * test/test-simple.c (test_misc): test some NULL
4980 tolerance. (main): upd.
4982 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4983 implements no interfaces - so let's not crash.
4985 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4987 * libspi/accessible.c (spi_accessible_new_return): impl.
4988 helper to calm the cut and paste, to cope with
4989 NULL AtkObjects effectively and efficiently, and to kill
4990 the referencing bugs.
4992 * libspi/table.c (impl_getAccessibleAt),
4993 (impl_getRowHeader, impl_getColumnHeader): upd.
4995 * libspi/hyperlink.c (impl_getObject): upd.
4997 * libspi/accessible.c
4998 (impl_accessibility_accessible_get_child_at_index): upd.
5000 * libspi/component.c
5001 (impl_accessibility_component_get_accessible_at_point): upd.
5003 * test/test-simple.c (test_editable_text, test_text): impl.
5006 * cspi/spi_editabletext.c
5007 (AccessibleEditableText_insertText): constify.
5009 * test/test-simple.c (focus_me): make more robust.
5011 * libspi/accessible.c: remove some printfs in methods that
5012 we test and work fine, so we can get a clean tree dump.
5014 * test/test-simple.c (validate_accessible),
5015 (validate_tree): make tree dumping pretty too.
5017 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5018 it builds without debug on.
5020 * test/test-simple.c (validate_accessible): fix the most
5023 * cspi/spi_main.c (spi_object_release): leave the nicely
5024 blanked memory around if in debug mode.
5026 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5028 [committed to fixups2]
5029 2001-12-05 Michael Meeks <michael@ximian.com>
5031 * libspi/editabletext.c
5032 (spi_editable_text_class_init): g_type_class_peek_parent,
5033 not interface peek - so we finalize cleanly.
5035 * libspi/accessible.c (spi_accessible_new): kill debug.
5037 * test/test-simple.c (validate_accessible): fix ref.
5038 leak, print strings before freeing them; sigh, comment a
5039 chunk out due to strangeness.
5040 (validate_tree): unref the child after use.
5042 * cspi/spi_component.c (AccessibleComponent_getLayer):
5043 add missing break statement, switch on zlayer not the
5044 uninitialized retval.
5046 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5047 before (possibly re-entering) remote unref.
5049 * test/simple-at.c (main): unref the desktop.
5051 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5054 * cspi/spi_main.c (cspi_accessible_is_a): here to
5055 isolate bonobo API usage more.
5057 * libspi/registry.c (impl_accessibility_registry_register_application):
5058 prune bogus comment.
5060 2001-12-04 Michael Meeks <michael@ximian.com>
5062 * test/test-simple.c (validate_tree): upd.
5063 IndexInParent check to make it more lucid.
5064 (validate_accessible): dump the tree.
5066 * libspi/accessible.c (de_register_public_ref),
5067 (get_public_refs): impl.
5068 (spi_accessible_new): make more efficient & intuitive.
5069 Now IndexInParent check works.
5071 2001-12-04 Michael Meeks <michael@ximian.com>
5073 * cspi/spi-util.h: remove.
5075 * cspi/spi.h: move SPI_freeString here
5077 * libspi/component.c (impl_accessibility_component_get_layer):
5079 (impl_accessibility_component_get_mdi_z_order): ditto,
5080 return -1 on error - is this ok ?
5082 * test/test-simple.c (test_application): impl.
5084 * cspi/spi_accessible.c (Accessible_getApplication),
5085 (Accessible_isApplication): impl.
5087 * libspi/registry.c (spi_listener_struct_free): release
5088 the CORBA reference too.
5090 * libspi/accessible.c
5091 (impl_accessibility_accessible_get_parent): fix ref leak.
5093 * libspi/registry.c (spi_registry_new): make the registry
5094 immortal - we don't want it to go away ever.
5096 * libspi/application.c
5097 (spi_accessible_application_finalize): impl. cleanup.
5099 * cspi/spi_registry.c
5100 (deregisterGlobalEventListenerAll),
5101 (deregisterGlobalEventListener),
5102 (deregisterAccessibleKeystrokeListener): fix ref leak.
5104 * cspi/spi_main.c (SPI_init): remove redundant ref.
5106 * test/test-simple.c (unutterable_horror): impl. to force a
5111 (impl_accessibility_registry_deregister_application): release
5112 the application when we de-register it.
5114 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5115 until we have the infastructure to get it right.
5117 2001-12-03 Michael Meeks <michael@ximian.com>
5119 * libspi/Makefile.am: only build eventlistener.[ch]
5121 * libspi/accessible.c
5122 (impl_accessibility_accessible_get_child_at_index): don't leak.
5124 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5125 before we hit the idle handler.
5127 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5128 debugging than exit.
5130 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5132 * libspi/listener.c (impl_notify_event): check source
5133 not NIL before unref.
5135 * libspi/registry.c (impl_registry_notify_event): ditto.
5137 * libspi/eventlistener.c
5138 (impl_accessible_event_notify_event): unref the source.
5140 * libspi/accessibleeventlistener.c
5141 (impl_accessible_event_notify_event): unref the source.
5143 * idl/Event.idl: remove 'hash_id' attribute - of no
5146 * libspi/application.c (notify_listeners): upd list
5148 (spi_application_object_event_listener),
5149 (spi_application_toolkit_event_listener): upd to do correct
5153 (_registry_notify_listeners): update.
5154 (parse_event_type): this method also leaks like a sieve.
5155 (impl_accessibility_registry_deregister_global_event_listener):
5156 fix ETYPE_WINDOW case.
5158 * libspi/application.c
5159 (impl_accessibility_application_register_object_event_listener):
5162 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5164 * libspi/hypertext.c (impl_getLink): ditto.
5166 * cspi/spi_main.c (cspi_object_add): remove
5167 bogus CORBA_Object_duplicate.
5169 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5172 * cspi/spi_accessible.c
5173 (Accessible_getRelationSet): fix leak / referencing issue.
5175 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5176 (cspi_object_add, cspi_object_unref): upd.
5177 (spi_object_release, get_live_refs): impl.
5178 (cspi_cleanup): simplify.
5180 * *.[ch]: s/boolean/SpiBoolean/
5182 * cspi/spi_accessible.c (role_names): actualy order so it
5183 corresponds with the enum !
5185 * test/test-simple.c (test_roles): check some role strings
5186 vs. enums to detect offset errors.
5188 2001-12-01 Michael Meeks <michael@ximian.com>
5190 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5192 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5194 (Accessible_getChildAtIndex): use cspi_add_check so we
5195 check the ev before using a (possibly) invalid value.
5197 * libspi/accessible.c
5198 (impl_accessibility_accessible_get_parent): don't segv
5201 * at-bridge/bridge.c (gtk_module_init): upd.
5202 (bridge_property_event_listener): don't leak strings
5204 (bridge_state_event_listener),
5205 (bridge_property_event_listener): don't use a static
5206 buffer in case of recursive event emission &
5207 re-enterancy - split out the swathe of cut and paste
5209 (emit_eventv): and fix 2 ref leaks here & comply to the
5211 (bridge_register_app): rename to
5212 (bridge_idle_init): this and kill arg parsing, split
5213 various inits & bonobo-activation registration to module
5214 init time, kill referencing error.
5215 (bridge_exit_func): fix the same leak.
5216 (bridge_focus_tracker): don't leak event structures
5218 (bridge_signal_listener): more leakage and cut & paste
5220 (bridge_key_listener): return the result - FIXME is
5221 this polarity correct ?
5222 (accessibility_keystroke_from_atk_key_event): rename
5223 (accessibility_init_keystroke_from_atk_key_event): and stop
5225 (gtk_module_init): return a value - not that it is checked by
5227 (bridge_key_listener): register my horror at casting between
5228 IDL defined structs.
5229 (bridge_get_registry): kill - not used.
5231 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5233 * test/test-simple.c (test_roles): impl.
5234 (test_desktop, validate_accessible, validate_tree): impl.
5236 * cspi/spi_accessible.c (role_names): fixup bogus
5237 MAX_ROLES setup, make constants const for efficient linkage
5238 (AccessibleRole_getName): conform to coding style, make
5241 2001-11-30 Michael Meeks <michael@ximian.com>
5243 * cspi/spi.h: add missing prototype.
5245 * libspi/registry.c (spi_listener_struct_new): fix sig.
5247 * test/Makefile.am: add test-simple
5249 * test/test-simple.c: add
5251 * test/test.sh: add.
5253 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5255 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5256 do it straight - since otherwise we often get an activation race.
5258 [ work before Bill duplicated a chunk of it ... ]
5259 2001-11-30 Michael Meeks <michael@ximian.com>
5261 * libspi/keystrokelistener.c
5262 (spi_keystroke_listener_class_init): fixup arg
5265 * libspi/eventlistener.c
5266 (spi_event_listener_class_init): ditto.
5268 * tests/test.sh: add.
5270 * cspi/spi-listener-impl.h: update macros.
5272 * cspi/spi-listener-impl.c
5273 (cspi_event_listener_remove_callback): add
5274 correct pre-conditions.
5276 * cspi/spi_main.c (SPI_exit): guard vs. double
5277 exits, exit the mainloop nicely.
5278 (SPI_event_main): make more sense.
5279 (SPI_init): move the atexit evilness here so we
5280 always do it (yuck).
5281 (SPI_event_main): upd.
5283 * test/simple-at.c: update for listener changes.
5285 * registryd/registryd.c (main): prune kruft.
5287 * libspi/libspi.h: upd.
5289 * libspi/eventlistener.[ch]: rename broken macros.
5291 * libspi/accessibleeventlistener.[ch]: remove.
5293 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5295 * test/test-simple.c: Add - automated tests.
5297 * cspi/spi-listener-impl.c (cspi_event),
5298 (cspi_key_event): add user_data to invoke.
5299 (cspi_keystroke_listener_finalize): impl.
5300 (cspi_keystroke_listener_class_init): upd.
5303 (createAccessibleEventListener),
5304 (AccessibleEventListener_addCallback),
5305 (createAccessibleKeystrokeListener),
5306 (AccessibleKeystrokeListener_addCallback): upd.
5308 * libspi/deviceeventcontroller.c
5309 (spi_device_event_controller_check_key_event): add public proto.
5312 (impl_accessibility_registry_deregister_global_event_listener):
5313 always init listeners.
5314 (_registry_notify_listeners): yes it is.
5316 * cspi/spi-listener-impl.c (cspi_key_event):
5318 (cspi_event_listener_finalize): impl.
5319 (cspi_event_listener_class_init): hook up.
5320 (event_handler_new, event_handler_free),
5321 (event_list_remove_by_callback): impl.
5322 (cspi_event_listener_remove_callback),
5323 (cspi_keystroke_listener_remove_callback),
5324 (cspi_keystroke_listener_add_callback),
5325 (cspi_event_listener_add_callback): upd.
5327 * libspi/keystrokelistener.c
5328 (keystroke_listener_object_finalize): kill
5329 (spi_keystroke_listener_class_init): upd.
5330 (spi_keystroke_listener_add_callback),
5331 (spi_keystroke_listener_remove_callback): kill,
5333 (impl_key_event): prune drasticaly.
5335 * libspi/eventlistener.c
5336 (spi_event_listener_add_callback),
5337 (spi_event_listener_remove_callback): kill, use
5339 (impl_accessible_event_notify_event): upd.
5340 (spi_event_listener_object_finalize): remove.
5342 * libspi/Makefile.am: use eventlistener.[ch]
5344 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5346 * libspi/registry.c (_registry_notify_listeners):
5347 Changed listener loop iteration to use preferred convention.
5348 Got rid of string memory leaks caused be calling g_strconcat
5349 inside function calls.
5351 * libspi/registry.c (parse_event_type):
5352 Stopped g_strconcat memory leaks, free the g_strsplit return,
5353 g_strdup the split pieces when used, etc.
5355 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5358 Change method 'compare' to return a 'difference set' rather than
5359 taking a StateSet as an out parameter (more Java-friendly).
5361 * idl/Accessible.idl:
5362 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5364 * idl/Component.idl:
5366 Changed methods 'getExtents' and 'getImageExtents' in these
5367 interfaces to return a BoundingBox structure.
5368 (getPosition and getSize are redundant and possibly should be
5369 removed, rather than creating a corresponding Point struct.)
5371 * cspi/spi_component.c:
5372 Modify implementation of getExtents to reflect the above IDL
5377 Add (missing) AccessibleImage_getExtents () API.
5379 * docs/reference/cspi/at-spi-cspi-sections.txt:
5380 Added AccessibleImage_getImageExtents () to docs.
5382 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5384 * idl/Component.idl:
5385 Added two methods, getLayer () and getMDIZOrder (), to reflect
5386 the new ATK methods atk_object_get_layer and
5387 atk_object_get_mdi_z_order. (Which arguably should be part of the
5388 AtkComponent API and AtkObject). Also added an enum,
5389 ComponentLayer, for the first method's return value.
5391 * libspi/component.c:
5392 Added implementations for these methods.
5394 * cspi/spi_component.c:
5396 Added cspi binding methods for above,
5397 AccessibleComponent_getLayer() and
5398 AccessibleComponent_getMDIZOrder().
5399 Added cspi enum 'AccessibleComponentLayer'.
5401 * docs/reference/cspi/at-spi-cspi-sections.txt:
5402 Added above methods to docs.
5406 Changed typedef for 'boolean' type (and all references to it) to
5407 SPIBoolean, to avoid keyword clashes with C++.
5410 Changed usages of 'boolean' to SPIBoolean.
5412 * test/keysynth-demo.c:
5413 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5414 app), except where SPIBoolean is required by the callbacks API.
5416 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5418 * cspi/spi_registry.c:
5419 Removed obsolete X event loop for passive keygrabs (which now
5422 * registryd/registryd.c:
5423 Removed unnecessary call to gdk_init() [cruft]. This also allows
5424 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5427 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5429 * docs/reference/cspi:
5430 Included docs for SPI_freeString in generated documentation.
5433 Renamed spi_freeString to SPI_freeString, for consistency. Added
5434 documentation for this function.
5437 Renamed spi_freeString to SPI_freeString, for consistency.
5438 Removed obsolete method declaration string_from_corba_string.
5440 * test/keysynth-demo.c:
5441 Small tweak to comments.
5444 Stopped leaking the strings returned from CSPI.
5446 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5448 Merged Michael's branch (see his ChangeLog entries below).
5450 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5451 bridge is alive, release on exit.
5453 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5454 Fix type check macro.
5457 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5460 Added is_gnome_app static, and method cspi_is_gnome_app(),
5461 so we can call the appropriate shutdown routine at exit in SPI_exit.
5463 * cspi/spi_main.c (cspi_object_ref):
5464 Duplicate the corba object passed in, since we're keeping it around.
5466 * cspi/SPI_exit.c, cspi_cleanup:
5467 Moved the releasing of the live refs to its own function, so we
5468 can put it in g_atexit (). Call the appropriate shutdown API
5469 depending on whethe calling client is a gnome app or not
5470 (bonobo_main_quit or CORBA_ORB_shutdown).
5472 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5473 Unref the listener when this method is called, after
5474 deregistration. Updated the API docs to note this behavior.
5476 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5477 Bugfixes: Ref the bonobo object when returning a parent or child
5478 reference, or an AccessibleRelation. Generally made sure
5479 BonoboObject refcount is incremented whenever we return an
5482 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5483 Fixed typo/bug in signal declaration.
5485 * libspi/accessibleeventlistener.h:
5488 * libspi/application.c (spi_application_new):
5489 Fixed leak in initialization.
5492 Remembered to increment bonobo-object refcount when returning
5493 children (applications) from desktop object.
5494 Added (empty) finalize method.
5496 * libspi/deviceeventcontroller.c:
5497 Hold a ref to listeners inside DEControllerKeyListeners.
5498 Added dec_key_listener_free() method. Use prepend instead of
5499 append in key_listener list. Fixed some refcount madness and
5500 leaks in the listener registration/deregistration - deregistration
5501 now calls dec_key_listener_free() on listeners, and on the
5502 temporarily constructed dec_key_listener() used to perform the search/match.
5504 * libspi/hypertext.c (spi_hypertest_finalize):
5505 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5506 class. Also fixed spi_hypertext_interface_new() and
5507 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5509 * libspi/hypertext.h:
5510 Removed pointless and duplicate AtkObject pointer from
5513 * libspi/keystrokelistener.c:
5514 Fixed incorrect type of keystroke_listener_parent_class,
5515 renamed keystroke_listener_object_finalize to
5516 spi_keystroke_listener_object_finalize.
5517 Fixed typo in signal declaration
5518 (spi_keystroke_listener_class_init).
5520 * libspi/registry.c:
5521 Added funcsions spi_listener_struct_new() and
5522 spi_listener_struct_free() to help with memory management issues.
5523 We also now use these methods instead of gnew + poking stuff into
5524 the struct, and to decrement listener counts/free the listeners
5525 when deregistering them.
5526 Fix more refcount bugs in getDesktop() and
5527 getDeviceEventController().
5530 De-ref the desktop after enumerating the applications. Explicitly
5531 decrement the refcounts on the created listeners on exit (using
5532 _unref for keystroke listeners, and via the
5533 deregisterGlobalEventListenerAll command for other event
5536 2001-11-27 Michael Meeks <michael@ximian.com>
5538 * cspi/spi-listener.h: fixup enum.
5540 2001-11-27 Michael Meeks <michael@ximian.com>
5542 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5543 (cspi_keystroke_listener_new): Use the cspi variants.
5545 2001-11-26 Michael Meeks <michael@ximian.com>
5547 * test/keysynth-demo.c: fix 2 compile warnings, missing
5550 * test/simple-at.c (report_focussed_accessible),
5551 (report_focus_event, report_button_press),
5552 (check_property_change, is_command_key),
5553 (report_ordinary_key_event, report_command_key_event): upd.
5555 * util/mag_client.h: include pre-requisites.
5557 * libspi/accessibleeventlistener.c
5558 (spi_event_listener_object_finalize): free any lingering
5561 * libspi/keystrokelistener.c
5562 (keystroke_listener_object_finalize): ditto.
5564 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5565 callbacks, with cspi types.
5567 * cspi/spi_event.c (createAccessibleEventListener): chain to
5568 (AccessibleEventListener_addCallback): here.
5569 (createAccessibleKeystrokeListener): chain to
5570 (AccessibleKeystrokeListener_addCallback): here.
5572 * libspi/keystrokelistener.c
5573 (spi_keystroke_listener_class_init): add signal.
5574 (impl_key_event): emit the event.
5575 (boolean_handled_accumulator): impl.
5576 (marshal_BOOLEAN__POINTER): add, gack.
5578 * libspi/accessibleeventlistener.c
5579 (spi_event_listener_class_init): add signal.
5580 (impl_accessible_event_notify_event): emit the signal &
5581 make the loop efficient.
5582 (spi_event_listener_add_callback): prepend the callback.
5584 * libspi/accessibleeventlistener.h: add an 'event' signal,
5585 decl type on callback.
5587 * libspi/keystrokelistener.h: ditto.
5589 * cspi/spi-listener.h: make methods typesafe and
5590 make them use the new event typedefs.
5592 * test/simple-at.c (report_focussed_accessible):
5593 include mag_client.h
5594 Use *(void *)text_interface not the other thing.
5596 * configure.in: add gtk to registryd bits - since we use
5599 * util/magnifier.c: include libbonobo.h
5601 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5603 * test/keysynth-demo.c:
5604 Turned this into a simple scanning keyboard, to demonstrate the
5605 use of g_timeout_add () as a means of creating timers for
5606 scanning, and the use of GtkStyle for visually indicating when
5607 virtual keyboard elements are selected.
5609 keysynth-demo now listens to any keyboard keys with zero-valued
5610 keycodes (i.e. 'unused' keys) and interprets them as
5613 Reworked the shiftlatch code so that shift-down state isn't held
5614 for long periods (it's only synthesized immediately prior to
5615 the keysynth event it's modifying). Note that shiftlatch in this
5616 demo is a convenience, not intended to take the place of AccessX
5617 which is the better choice for getting 'sticky' modifier keys.
5619 * libspi/deviceeventcontroller.c:
5620 * at-bridge/bridge.c:
5621 * cspi/spi_registry.c:
5622 Removed some debug print stuff, and put other verbosity in #ifdef
5627 Implemented some more of the magnifier IDL for the simple
5628 magnifier: namely, getZoomRegionParams.
5629 Added mag_x and mag_y members to MagnifierData struct, aid of this
5631 Added GtkWindow::realize signal handler to magnifier, to keep it
5632 from receiving keyboard focus from the WM.
5634 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5636 * cspi/spi-private.h: my guess at what michael forgot
5637 before he ran off to NZ :-)
5639 2001-11-23 Michael Meeks <michael@ximian.com>
5641 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5642 comment out non existant method invoke so we link.
5644 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5645 use bonobo_exception_get_text for more friendly warnings.
5647 * cspi/spi.c (Obj_Add): move into spi_main & rename
5648 spi_object_add; kill spi.c
5650 * cspi/spi_registry.c
5651 (deregisterGlobalEventListener),
5652 (deregisterGlobalEventListenerAll),
5653 (registerGlobalEventListener): fix exception leaks.
5655 * cspi/spi_main.c (spi_exception): impl. helper, so we
5656 don't leak exceptions.
5658 * cspi/spi_selection.c
5659 (AccessibleSelection_deselectSelectedChild): return the
5662 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5663 (spi_registry): ditto.
5664 (SPI_init): guard against double inits.
5666 * cspi/*.c: use spi_ev (), and spi_registry () where
5667 appropriate - a temporary hack until we have something
5668 better. Use spi_object_add
5670 2001-11-22 Michael Meeks <michael@ximian.com>
5672 * cspi/Makefile.am: re organise, install the headers.
5674 * cspi/*.h: add G_BEGIN/END_DECLS
5676 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5679 Added non-preemptive keylistener for key events with no modifiers
5680 and shift-only modifier.
5682 * libspi/keystrokelistener.c:
5683 Removed some verbose diagnostics printout.
5685 * cspi/spi_registry.c:
5686 Fixed a bug that caused all key listeners to be registered as
5689 * libspi/deviceeventcontroller.c:
5690 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5691 for non-preemptive key masks.
5694 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5696 * docs/reference/idl/at-spi-idl-docs.sgml:
5697 * docs/reference/idl/at-spi-idl-sections.txt:
5698 * docs/reference/idl/at-spi-idl-overrides.txt:
5699 Added missing files.
5701 * docs/reference/Makefile.am:
5702 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5703 to scan the IDL files :-(
5708 Added .cvsignore files.
5710 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5712 * libspi/deviceeventcontroller.c:
5713 * libspi/keystrokelistener.c:
5715 * cspi/spi_registry.c:
5716 Added filters for KeySets, KeyEventSeq, and event types to key
5717 event dispatching, so listeners should only receive those events
5718 that they requested :-)
5720 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5725 * docs/reference:Makefile.am:
5726 * docs/reference/cspi:
5727 * docs/reference/cspi:Makefile.am:
5728 * docs/reference/cspi:tmpl:
5729 * docs/reference/cspi:tmpl:*.sgml:
5730 * docs/reference/idl:
5731 * docs/reference/idl:Makefile.am:
5732 * docs/reference/idl:at-spi-idl-sections.txt:
5733 * docs/reference/idl:at-spi-idl-docs.sgml:
5734 * docs/reference/idl:tmpl:
5735 * docs/reference/idl:tmpl:*.sgml:
5737 Restructured docs directory to allow separate 'reference' docs
5738 section, and forked idl and cspi docs. Added the sgml template
5739 files to CVS. Added the first sections/structural sgml for the
5742 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5744 * configure.in, libspi/Makefile.am: find libXtst.
5746 2001-11-21 Michael Meeks <michael@ximian.com>
5748 * test/accessx-gui.c: s/spi_value/value/ - doh.
5750 * libspi/base.[ch]: add.
5752 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5754 * idl/Accessible.idl:
5755 * idl/Application.idl:
5758 Started gtk-doc cleanup on IDL.
5760 * libspi/deviceeventcontroller.c:
5761 Added and connected non-preemptive key notification from the
5762 toolkits (in addition to the pre-emptive support from XServer
5763 which we had before, but which causes 'focus flashing'). Filters
5764 are presently limited to key modifiers and global/non-global,
5765 KeySets are presently ignored, as are KeyEvent masks.
5767 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5768 structs into the persistant structure rather than just storing
5769 pointers to things that might not persist across servant
5772 The XGrabKey call now does async keygrabs, because synchronous
5773 ones were deadlocking with GDK_event code in a very nasty way.
5775 Added boolean to internal method notify_keylisteners, to indicate
5776 whether the event came from the 'toolkit source' or the 'global
5777 (XServer) source' - this is used in the notification process to
5778 determine which listeners to send the event to.
5780 deviceeventcontroller.c is now warning-free.
5782 * libspi/registry.c:
5783 Fixed regression in application de-registration.
5784 Also fixed some really brain-dead weirdness having to do with
5785 event dispatching - event structs are now duplicated before being
5786 re-marshalled in the dispatch to listeners. This also fixes a
5787 Solaris build problem.
5790 2001-11-20 Michael Meeks <michael@ximian.com>
5793 (impl_accessibility_registry_deregister_global_event_listener):
5796 * libspi/deviceeventcontroller.c
5797 (spi_device_event_controller_check_key_event): return
5798 FALSE on no virtual method.
5800 * libspi/*..h: make includes work on a correctly pathed install.
5802 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5804 * libspi/application.h: kill unused ( and whacked out )
5805 gboolean *spi_application_set_id (AtkObject *app, long id);
5807 2001-11-20 Michael Meeks <michael@ximian.com>
5809 * libspi/*.[ch]: further convert to bonobo's type func
5810 macros, remove redundnant casts etc.
5812 * libspi/text.c s/accessibility_text/spi_text/g,
5813 re-order to de-cruft.
5815 * libspi/hypertext.c: re-order to kill a huge slew
5816 of redundant forward decls.
5818 * libspi/relation.c: ditto.
5820 * libspi/image.c: ditto.
5822 * */.cvsignore: update
5824 2001-11-20 Michael Meeks <michael@ximian.com>
5826 * libspi/deviceeventcontroller.c
5827 (_controller_register_with_devices): use g_getenv,
5828 kill stdlib.h include.
5830 * libspi/keystrokelistener.c
5831 (spi_keystroke_listener_get_type): kill
5832 (spi_keystroke_listener_class_init),
5833 (spi_keystroke_listener_init): rename to this.
5835 * libspi/text.c (impl_getAttributes): fix warning / bug.
5837 * libspi/*.[ch]: more headers, includes and over commenting.
5839 2001-11-20 Michael Meeks <michael@ximian.com>
5841 * libspi/*.[ch]: fixup headers, includes and over commenting.
5843 * libspi/image.c (impl__get_imageDescription): const
5844 correctness warning fix. remove redundant casting.
5846 * libspi/table.c (impl_getRowDescription): ditto.
5847 (impl_getColumnDescription): ditto.
5849 * libspi/libspi.h: add.
5851 2001-11-19 Michael Meeks <michael@ximian.com>
5853 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5855 * libspi/component.c (accessibility_component_get_type):
5856 rename to (spi_component_get_type): and macroify.
5857 (accessibility_component_init): rename to
5858 (spi_component_init): this
5859 (accessibility_component_class_init): rename to
5860 (spi_component_class_init): this
5862 * libspi/action.c (spi_action_get_type): kill, use the macro.
5864 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5867 * libspi/application.c (spi_application_object_event_listener),
5868 (impl_accessibility_application_register_object_event_listener):
5869 warning fixes / const understanding updates.
5871 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5874 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5876 * libspi/spi_accessible.c: Added docs and C bindings for
5877 AccessibleStateSet. (No implementations yet). Documentation
5878 coverage for C bindings now 100%. Made docs for event listeners
5883 boolean notifyListenersSync (in DeviceEventListener listener,
5884 in DeviceEvent event);
5886 oneway void notifyListenersAsync (in DeviceEventListener listener,
5887 in DeviceEvent event);
5889 Added DeviceEventListener and DeviceEvent structs (may deprecate
5890 KeyStroke and KeystrokeListener in favor of this generic
5891 event/listener framework for devices).
5893 * libspi/deviceeventcontroller.c:
5895 Changed some key listener code to take masks, etc., and paved the
5896 way for integration of toolkit/non-preemptive key events. Changed
5897 signatures of some internal methods.
5899 * at-bridge/bridge.c:
5900 Fixed regression connecting to interface signals, apparently
5901 caused by GTK+ changes.
5903 Added an internal bridge_state_listener to deal with
5904 property-change:accessible-state signals.
5906 Changed the key_listeners GList to store structs (including masks,
5907 etc.) instead of just CORBA_Objects (required for full
5908 implementation of key listener API).
5910 Connected the bridge to all currently supported Atk signals.
5911 Events now supported:
5912 object:property-change
5913 object:property-change:accessible-name
5914 object:property-change:accessible-state
5915 object:property-change:accessible-description
5916 object:property-change:accessible-parent
5917 object:property-change:accessible-value
5918 object:property-change:accessible-role
5919 object:property-change:accessible-table-caption
5920 object:property-change:accessible-table-column-description
5921 object:property-change:accessible-table-column-header
5922 object:property-change:accessible-table-row-description
5923 object:property-change:accessible-table-row-header
5924 object:property-change:accessible-table-summary
5925 object:children-changed
5926 object:visible-data-changed
5927 object:selection-changed
5928 object:text-selection-changed
5930 object:text-caret-moved
5932 object:row-reordered
5934 object:column-inserted
5935 object:column-reordered
5936 object:column-deleted
5937 object:model-changed
5939 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5941 * libspi/hyperlink.c,h:
5942 Fixed some broken stuff in hyperlink.
5944 * libspi/relation.h:
5945 * libspi/relation.c:
5946 * cspi/spi_accessible.c:
5947 Initial implementations of AccessibleRelation methods, and docs.
5949 * libspi/accessible.c:
5950 Fixed a bug that caused SEGV if an accessible
5951 object's description is NULL, and a client
5952 requests it. An empty string is now returned.
5954 * cspi/spi_editabletext.c:
5955 * cspi/spi_hypertext.c:
5957 * cspi/spi_hyperlink.c:
5961 Doc coverage now 95%.
5963 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5965 One last namespacing revision:
5966 * libspi/accessibleeventlistener.[ch]:
5967 Renamed SpiAccessibleEventListener to SpiEventListener,
5968 (no need for two namespaces ;-)
5970 And lots of documentation fixes:
5972 * docs/at-spi-docs.sgml:
5973 Fixed 'underscore vs. hyphen' bug that was preventing
5974 the gtk-doc API docs from being automatically generated.
5977 * cspi/spi-listener.h
5979 * cspi/spi_accessible.c
5981 * cspi/spi_application.c
5982 * cspi/spi_component.c
5983 * cspi/spi_editabletext.c
5985 * cspi/spi_hypertext.c
5987 * cspi/spi_registry.c
5988 * cspi/spi_selection.c
5992 * docs/at-spi-docs.sgml
5993 * docs/at-spi-sections.txt
5995 Added and fixed up gtk-doc documentation in cspi.
5997 Interfaces now (fully) documented (subject to revision and enhancement):
5999 Event Listener Support
6001 AccessibleApplication
6005 AccessibleEditableText
6012 AccessibleRelationSet
6017 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6019 * at-bridge/bridge.c:
6020 Initial work for toolkit-level key snooper connection by bridge.
6025 New typedefs and fixes to support new namespacing, and cleaner
6026 separation of cspi bindings from libspi bonobo implementation.
6027 Removed inconsistent and extraneous Spi* namespace prefix that
6028 had crept into cspi headers.
6029 Lots of comment fixes that sed had missed.
6031 * cspi/spi-roletypes.h:
6032 * cspi/spi-statetypes.h:
6033 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6034 to AccessibleRoleType.
6036 * libspi/accessibleeventlistener.h:
6037 Fixed minor namespacing weirdness.
6039 * libspi/deviceeventcontroller.c:
6040 Reordered some internal API for device listeners.
6041 Changed the key registry final boolean to 'is_system_global'
6042 rather than 'is_synchronous', which is more descriptive of its
6044 Added spi_device_event_controller_new().
6045 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6047 * libspi/keystrokelistener.[ch]:
6048 Namespaced KeystrokeListener to SpiKeystrokeListener.
6049 Changed uses of keymasks to use SPI_ prefix, and did other
6052 * libspi/keymasks.h:
6053 Namespaced keymask constants with SPI_ prefix.
6055 * libspi/registry.c:
6056 Some warning fixes, and knock-on fixes from namespace changes.
6059 Added rules for accessx-gui test program.
6061 * test/accessx-gui.c:
6062 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6063 utility. It doesn't actually use at-spi, but it's still cool and
6066 * test/keysynth-demo.c:
6070 Fixes so that these test clients work properly with the namespaced
6071 libraries. (Incompletely tested for technical reasons, fixes may follow)
6074 2001-11-13 Michael Meeks <michael@ximian.com>
6076 * libspi/application.c
6077 (impl_accessibility_application_get_version),
6078 (impl_accessibility_application_get_toolkit_name):
6080 (impl_accessibility_application_set_id),
6081 (impl_accessibility_application_get_id): remove
6082 redundant casting code.
6084 * libspi/action.c (impl_getDescription): fix warnings.
6086 * libspi/accessible.c
6087 (impl_accessibility_accessible_get_parent),
6088 (impl_accessibility_accessible_get_child_at_index),
6089 (impl_accessibility_accessible_get_state),
6090 (impl_accessibility_accessible_get_relation_set):
6091 warning fixes & include action.h
6093 2001-11-13 Michael Meeks <michael@ximian.com>
6095 * *.[ch] fix bits I screwed up:
6097 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6098 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6100 2001-11-13 Michael Meeks <michael@ximian.com>
6102 * *.[ch] Namespace libspi into spi_ and Spi.
6104 2001-13-11 Michael Meeks <michael@ximian.com>
6106 * Makefile.am: dist & install at-spi-1.0.pc
6108 * libspi/Makefile.am: install into at-spi-1.0
6110 * idl/Makefile.am (idldir): install into at-spi-1.0
6112 * at-spi-1.0.pc.in: add.
6114 * configure.in: build it.
6116 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6118 * test/keysynth-demo.c:
6119 Use a 'realize' signal-handler to set the WM properties for
6120 the virtual keyboard, rather than making it a "POPUP" type
6121 override-redirect window (thanks to anders carlsson for that
6124 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6127 * test/keysynth-demo.c:
6128 Added new test of key synthesis, which creates a simple
6129 (mouse-operated) onscreen keyboard. It inserts key events into
6130 the currently-focused window, thus it does not grab keyboard focus
6133 * cspi/spi_registry.c:
6134 Added C binding for AT-SPI generateKeyEvent.
6136 * libspi/deviceeventcontroller.c:
6137 Added call to XFilterEvent so that key listener works with XIM (we
6138 hope). Added event_synth_type to generateKeyEvent, so that we can
6139 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6140 synthesize a press/release pair for KeySyms.
6142 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6144 * libspi/Makefile.am:
6145 * registryd/Makefile.am:
6146 (temporary) hack to include libXtst in libspi and registryd.
6147 (Needed for keystroke synthesis, see below).
6150 Improved API for registerKeystrokeListener, in accordance with
6151 discussions with Gnopernicus team and X server research.
6153 * libspi/registry.c:
6154 * libspi/deviceeventcontroller.c:
6155 * libspi/accessible.c:
6156 * libspi/keystrokelistener.c:
6157 Changes and fixes to support keylisteners for potentially
6158 consumed key events (that is, 'passive grabs').
6159 Added implementation for generateKeyEvent() [untested].
6162 Changes to registerKeystrokeListener() API, as above.
6163 Added deregisterGlobalEventListenerAll(), and
6164 deregisterKeystrokeListener(), which are needed for clean exit of
6166 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6167 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6169 * cspi/spi_registry.c:
6170 Added implementations of function prototypes mentioned above.
6172 * registryd/registryd.c:
6173 Added the key listener event source as a g_timeout(), to allow
6174 receipt of key events that are not caught by GDK (since GDK
6175 doesn't support passive keygrabs, this was necessary).
6178 Changed to attach a keylistener to 'Alt' keys, and
6179 respond to the following keycommands: Alt-M (toggle magnifier);
6180 Alt-F (toggle speech); Alt-Q (quit).
6181 Added an exit routine to deregister the listeners, and a key
6182 listener that prints some key info to the console when a key
6183 matches the listener mask (and is thus received by the listener).
6185 * util/idl/Magnifier.idl:
6186 Changes to magnifier API to support multiple zoom regions,
6187 non-uniform scaling in x and y, markDirty, and a host of other
6188 features that would be useful to magnification.
6191 * util/mag_client.c:
6192 * util/mag_client.h:
6193 * util/mag_control.c:
6195 Source code changes to support the above IDL changes.
6198 As above, and also changes to use a (slower) generic conversion
6199 path for colormap conversions, since the fast RGB conversions have been
6200 reported to fail for 16-bit displays.
6202 2001-10-26 Michael Meeks <michael@ximian.com>
6204 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6206 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6208 * at-bridge/Makefile.am: fix LDFLAGS.
6210 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6212 * at-bridge/bridge.c:
6213 Re-worked listeners for toolkit events, now we have signal
6214 and property listeners. Added a private method
6215 register_atk_event_listeners(), which registers with the
6216 various atk and gtk signals we need to monitor in order to emit
6218 Added emission hook for AtkObject:property-change events, to
6219 support the 'property listeners'.
6220 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6223 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6224 which emit warnings and exit, respectively, if CORBA errors occur
6225 during remote calls, and we now use these methods to check most of
6226 our CORBA calls in the C bindings.
6228 * cspi/spi_accessible.c:
6229 Changed AccessibleSelection_refSelectedChild() to
6230 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6231 now increment refcounts.
6233 * cspi/spi_component.c:
6234 Fixed some long pointer casts (dangerous!) to pass pointers to
6235 CORBA_longs of the proper type to the CORBA stubs, and copy the
6236 data into the longs that were passed into the C bindings code.
6238 * at-bridge/bridge.c:
6240 * libspi/accessible.c:
6241 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6242 hyperlinks, AtkHyperlink is an object type.
6244 * libspi/application.c:
6245 Added various conversions to and from "generic" event types and
6246 atk-specific types; this is really part of the 'bridge'
6247 implementation but is valid for all AtkObject-based accessibility
6250 * libspi/editabletext.c:
6251 Fixed nasty bug wherein editable text's finalize method was
6252 unref'ing tha AtkObject reference that the text parent class was
6253 about to unref _again_. There was also a nasty inheritance bug
6254 that meant that the AccessibleEditableText class was corrupt.
6256 * libspi/selection.c:
6257 Provided implementations for some selection API that was broken.
6259 * idl/Application.idl:
6260 Added registerObjectEventListener () method.
6263 Fixed a number of return values that were Bonobo_Unknowns from
6264 bonobo_object_corba_objref(), which I
6265 forgot to dup before returning. Changed instances of
6266 bonobo_object_corba_objref (bonobo_object(o)) to
6267 BONOBO_OBJREF(o), for concision and clarity.
6269 2001-10-13 Louise Miller <louise.miller@sun.com>
6271 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6272 idl/Event.idl, idl/Registry.idl
6273 Changed these files to include Bonobo_Unknown.idl instead
6276 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6278 * libspi/component.c libspi/component.h:
6279 Fixed typo. Added assertions for object checks in
6280 AccessibleComponent code.
6282 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6284 * idl/Accessible.idl:
6285 Added 'isEqual (Accessible *object)'
6286 method for Accessible. (Not Yet Implemented).
6289 Changed signature of registerKeystrokeListener() to
6290 take a KeySet and KeyEventSeq so that specific keys and event
6291 types could be requested for monitoring, and added a flag
6292 is_synchronous so that either synchronous or asynchronous
6293 notification could be requested. (However this is not all
6294 implemented yet). This also meant adding two new typedefs,
6295 KeyEventSeq and KeySet.
6298 Added two new relations, RELATION_TOOLTIP_FOR and
6299 RELATION_LEAFNODE_OF.
6302 Added new state, STATE_HAS_TOOLTIP.
6304 * libspi/text.c, editabletext.c:
6305 Added new assertions to all casts of bonobo-objects from
6306 CORBA servants, to prevent Text API calls on non-text objects.
6307 Changed suspect casts of int-pointer types, so that we
6308 always send a valid CORBA_long pointer to the CORBA APIs that use
6309 in/out long parameters. We then have to copy from the CORBA_long
6310 into the regular long or int for return to the C bindings, or
6311 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6314 * libspi/deviceeventcontroller.c:
6315 Cleaned these sources up.
6317 Changed return type for getCharacterAtOffset to
6318 CORBA_unsigned_long, to allow for 32-bit characters.
6321 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6325 Fixed 'make dist' so that distro compiles...
6326 * libspi/keymasks.h:
6328 * cspi/spi-listener.c:
6329 KeystrokeListenerCB now returns a boolean.
6331 Added KeyEventType struct, and KeyStroke.
6332 Also added createKeystrokeListener(),
6333 KeystrokeListener_addCallback(),
6334 KeystrokeListener_removeCallback(), and added a keymask to
6335 registerKeystrokeListener().
6336 * cspi/spi_accessible.c:
6337 Changed numerous return types for interfaces from
6338 AccessibleComponent to Accessible<InterfaceName>; this was
6339 probably a cut-and-paste error.
6341 Implementations of new KeystrokeListener api (from spi.h,
6344 Changes to key modifier mapping.
6345 Created ControllerEventMask struct.
6346 Made DeviceEventController derive from Bonobo::Unknown.
6348 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6349 * libspi/deviceeventcontroller.c:
6350 Added a number of new internal (private) methods.
6351 * libspi/editabletext.c:
6352 * libspi/editabletext.h:
6353 Fixed a number of bugs related to the fact that
6354 editabletext inherits from text. Fixed the EditableText struct,
6355 the init() call, and use correct casts when calling Text methods
6356 from an EditableText object. Removed (duplicate) atko from the
6357 EditableText structure, we use the one in the parent Text
6358 structure via the casts mentioned above.
6359 * libspi/keystrokelistener.[ch]:
6360 * libspi/registry.c:
6361 Changes in support of keyboard handling (above).
6363 Keyboard handling, though partly functional, is still not
6364 recommended for at-spi client use as there is considerable
6365 work yet to be done.
6368 Changed some places where pointers to various int types
6369 are cast to be pointers to CORBA_long types and vice-versa:
6370 pointer casting is not safe so we pass pointers of the correct
6371 types and then cast the result before putting it into the target
6374 * libspi/text.h: minor typos corrected.
6376 We now speak not only the name of a Text element, but the
6377 first sentence of its content, when it receives focus.
6378 I also changed the text compression to 75% from 50%.
6379 * util/Accessibility_Util.server.in:
6380 Changed the default magnifier type to be a 3x vertical
6381 splitscreen magnifier (was previously a 2x horizontal one).
6383 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6385 * libspi/keystrokelistener.h:
6386 * libspi/keystrokelistener.c:
6387 Initial functional implementations of KeystrokeListener.
6390 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6392 Fixed string handling for NULL strings in libspi.
6393 Added spi_freeString to free strings returned by C bindings.
6395 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6397 * libspi/keystrokelistener.h:
6398 * libspi/keystrokelistener.c:
6399 Began (no-op) implementations of KeystrokeListener
6401 * libspi/deviceeventcontroller.c:
6402 * libspi/deviceeventcontroller.h:
6403 Began creating implementations of DeviceEventController,
6404 to handle keystroke and mouse event listening and
6406 * libspi/accessible.c:
6407 Stubbed-in the implementations for
6408 Accessibility_Accessible_getState and
6409 Accessibility_Accessible_getRelationSet.
6410 * libspi/registry.c:
6411 Improved de-registration process and fixed some bugs,
6412 deregistration now works correctly.
6414 Added initialization of applications list (to NULL).
6416 Reduced speech compression from 0.5 to 0.7, for demo.
6417 Changed call to gdk_window_set_decorations()
6418 to gtk_window_set_decorated().
6419 * at-bridge/bridge.c:
6420 Bridge now deregisters when app exits, via
6421 registration of a cleanup function
6422 with the g_atexit() call.
6423 Required making 'app' static, renamed 'this_app'.
6424 Fixed broken use of bonobo_init, passing argv wrongly.
6426 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6430 Created a new directory for
6431 accessibility-related utilities, primarily for
6432 testing and demo purposes, but with possible
6439 Onscreen magnifier utility that
6440 is implemented as a bonobo service.
6442 * util/mag_client.c:
6443 * util/mag_client.h:
6444 Client-side support (simple C bindings)
6445 for Magnification service
6447 * util/mag_control.c:
6448 Client program example for
6449 Magnification service
6451 * util/Accessibility_Magnifier.server.in:
6452 Bonobo-activation file for the
6453 Magnification service.
6456 * util/idl/Magnifier.idl:
6457 IDL defining the bonobo Magnification
6461 Modifications to use the bonobo-activated magnifier
6462 above, in place of trying to connect to an existing
6463 magnifier that uses socket-listening IPC.
6465 If env variable MAGNIFIER is set, a magnifier service
6466 will be started if one does not exist.
6468 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6470 * at-bridge/bridge.c:
6471 applied patch from Marc to build and run
6472 against new glib and gtk+ (seemed like a change
6473 to bonobo_init signature was made ?)
6475 made festival-server support turned off by default.
6476 Added support for a simple magnifier (off by default)
6477 which will be added to a 'util' directory later.
6478 * at-bridge/Makefile.am:
6479 Changed "application.h" header from a 'source'
6480 to a 'dependency' of libat-bridge.
6482 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6491 Added interface implementation c files to list of
6492 includes so they are included in libcspi.
6495 Changed prototype of AccessibleAction_doAction to return a
6497 Changed prototype of AccessibleTable_getCaption to
6498 return an Accessible.
6499 Changed prototype of AccessibleTable_getSelectedRows
6500 and AccessibleTable_getSelectedColumns to
6501 return a long (returns the number of selected rows
6502 or columns respectively).
6503 Changed name of AccessibleText_refRunAttributes to
6504 AccessibleText_getAttributes.
6505 Changed prototype of AccessibleText_getCharacterExtents to
6506 return a void rather than a boolean.
6507 Added support for a AccessibleCoordType parameter
6508 specifying what type of coordinates are desired.
6509 Added an AccessibleCordType parameter to
6510 AccessibleText_getPointAtOffset.
6512 * cspi/spi_accessible.c:
6513 Added code to return the outstanding interfaces from
6514 Accessible_queryInterface.
6516 * cspi/spi_action.c:
6518 Corrected call to getNActions to call the c binding
6521 * cspi/spi_editabletext.c:
6523 Changed name from setRunAttributes to setAttributes.
6525 * cspi/spi_hyperlink.c:
6527 Changed call to getNAnchors to correctly call the c
6528 binding for an attribute.
6530 * cspi/spi_hypertext.c:
6532 Changed getImageDescription to correctly call the
6533 binding for an attribute.
6535 * cspi/spi_selection.c:
6536 Changed getNSelectedChildren to correctly call the c
6537 binding for the attribute.
6538 Changed refSelectedChild to getSelectedChild.
6542 Changed getCaption to return an Accessible.
6543 Fixed calls which retrieve attributes.
6544 Changed refAt to getAccessibleAt.
6545 Changed getNSelectedRows and getNSelectedColumns to
6549 Changed getCharacterExtents and getPointAtOffset to accept an
6550 AccessibleCoordType.
6552 Changed calls which retrieve attributes.
6553 Changed refRunAttributes to getAttributes.
6558 * idl/Hyperlink.idl:
6559 Changed n_anchors attribute to nAnchors to keep naming
6560 convention consistent.
6563 Made Table inherit from Bonobo::Unknown.
6564 Added nSelectedColumns and nSelectedRows attributes.
6567 Made Value inherit from Bonobo::Unknown.
6569 * libspi/hyperlink.c:
6570 Change for nAnchors attributte name change.
6572 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6580 Added interface implementation c files to list of
6581 includes so they are included in libcspi.
6584 Changed prototype of AccessibleAction_doAction to return a
6586 Changed prototype of AccessibleTable_getCaption to
6587 return an Accessible.
6588 Changed prototype of AccessibleTable_getSelectedRows
6589 and AccessibleTable_getSelectedColumns to
6590 return a long (returns the number of selected rows
6591 or columns respectively).
6592 Changed name of AccessibleText_refRunAttributes to
6593 AccessibleText_getAttributes.
6594 Changed prototype of AccessibleText_getCharacterExtents to
6595 return a void rather than a boolean.
6596 Added support for a AccessibleCoordType parameter
6597 specifying what type of coordinates are desired.
6598 Added an AccessibleCordType parameter to
6599 AccessibleText_getPointAtOffset.
6601 * cspi/spi_accessible.c:
6602 Added code to return the outstanding interfaces from
6603 Accessible_queryInterface.
6605 * cspi/spi_action.c:
6607 Corrected call to getNActions to call the c binding
6610 * cspi/spi_editabletext.c:
6612 Changed name from setRunAttributes to setAttributes.
6614 * cspi/spi_hyperlink.c:
6616 Changed call to getNAnchors to correctly call the c
6617 binding for an attribute.
6619 * cspi/spi_hypertext.c:
6621 Changed getImageDescription to correctly call the
6622 binding for an attribute.
6624 * cspi/spi_selection.c:
6625 Changed getNSelectedChildren to correctly call the c
6626 binding for the attribute.
6627 Changed refSelectedChild to getSelectedChild.
6631 Changed getCaption to return an Accessible.
6632 Fixed calls which retrieve attributes.
6633 Changed refAt to getAccessibleAt.
6634 Changed getNSelectedRows and getNSelectedColumns to
6638 Changed getCharacterExtents and getPointAtOffset to accept an
6639 AccessibleCoordType.
6641 Changed calls which retrieve attributes.
6642 Changed refRunAttributes to getAttributes.
6647 * idl/Hyperlink.idl:
6648 Changed n_anchors attribute to nAnchors to keep naming
6649 convention consistent.
6652 Made Table inherit from Bonobo::Unknown.
6653 Added nSelectedColumns and nSelectedRows attributes.
6656 Made Value inherit from Bonobo::Unknown.
6658 * libspi/hyperlink.c:
6659 Change for nAnchors attributte name change.
6662 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6664 implementations-- made server implementations own AtkObject pointers
6665 rather than their respective AtkInterrface pointers to fix
6666 refcounting. AtkHyperlink is still broken.
6668 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6669 * cspi/spi_accessible.c:
6670 Added method Accessible_Role_getName(),
6671 and requisite string array (role_names).
6672 Added conversion string_from_corba_strin() call
6673 to Accessible_getName and _getDescription.
6674 * libspi/accessible.c:
6675 Added implementation for Accessible_getRole()
6677 Added festival support, used if environment variable
6680 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6682 * at-bridge/bridge.c:
6683 Now allocate Accessibility_Event using
6684 Accessibility_Event__alloc() instead of g_new0().
6685 * libspi/accessibleeventlistener.c:
6686 Initialize AccessibleEventListener->callbacks to NULL.
6687 Fixed accessible__event_listener_init() param, changed to
6688 "AccessibleEventListener *" type.
6689 Changed a bonobo_object_release_unref() call to
6690 Accessibility_Accessible_unref().
6691 * libspi/listener.c:
6692 Changed Bonobo_Unknown_unref to (equivalent)
6693 Accessibility_Accessible_unref.
6694 * libspi/registry.c:
6695 Changed bonobo_object_release_unref to
6696 Accessibility_Accessible_unref.
6698 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6701 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6702 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6703 spi-util.c spi-util.h
6704 Implementations for C bindings to remaining accessibility
6707 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6710 changed return value of Action from void to boolean to
6711 bring in line with ATK.
6714 Changed getText funcions to return "out" start and end offsets.
6715 Changed getAttributes to take and offset and return the start
6716 and end offset of the attribute run.
6717 Changed getOffsetAtPoint and getCharacterExtents to take an
6718 enum describing whether coordinates are window or screen.
6721 libspi/action.c libspi/action.h libspi/editabletext.c
6722 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6723 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6724 libspi/image.h libspi/selection.c libspi/selection.h
6725 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6726 libspi/value.c libspi/value.h
6727 Added server implementations for outstanding ATK interfaces
6728 not yet implemented.
6730 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6733 Added (missing) getName() method.
6734 Made nActions an attribute.
6735 * idl/EditableText.idl:
6736 Changed order of params in setAttributes.
6737 * idl/Hyperlink.idl:
6738 Removed getAnchor, added getURI.
6740 Changed attributes to methods, for efficiency
6741 (so that getting extents can be done in one call)
6742 * idl/Selection.idl:
6743 Changed nSelectedChildren to attribute, and re-indented.
6744 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6746 * idl/Text.idl: reformatted to match our coding style.
6747 (temporarily?) removed getRowColumnAtOffset().
6748 Changed text selection API to support multi-select and
6749 non-contiguous selections, as in ATK.
6750 * idl/Value.idl: changed some methods to attributes.
6752 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6754 * libspi/listener.c(impl_notify_event):
6755 BonoboUnkown_unref the source instead
6756 of bonobo_object_release_unref - the ORB
6757 handles the releasing.
6759 * configure.in: require ORBit-2.3.94 for
6762 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6764 Tagged CVS repository 'EA_1_0'.
6765 * README.EARLY_ACCESS:
6766 Alphabetized acknowledgements list, and
6768 Listed some known dependencies of at-spi.
6770 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6772 * docs/at-spi-docs.sgml:
6773 * docs/at-spi-sections.txt:
6774 * docs/at-spi-overrides.txt: (Added zero-length file)
6775 Documentation improvements - gtk-doc should build
6776 docs for all implemented C bindings now.
6779 * cspi/spi.c: (New file)
6780 * cspi/spi_event.c: (New file)
6781 * cspi/spi_registry.c: (New file)
6782 * cspi/spi_accessible.c: (New file)
6783 * cspi/spi_application.c: (New file)
6784 * cspi/spi_component.c: (New file)
6785 Split spi_main.c into six parts, and included them from
6786 "spi.c". This is a bit of a hack, probably temporary,
6787 but required by gtk-doc, apparently.
6789 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6792 * docs/at-spi-docs.sgml:
6793 * docs/at-spi-sections.txt:
6795 Initial checkins/modifications for gtk-doc generation.
6798 Added (missing) interface query methods to Accessible's C binding.
6800 Added GenericInterface type definition.
6802 Added query for AccessibleComponent interface to focus event handler.
6803 Added printout of bounding box for focussed component.
6804 * libspi/component.c:
6805 Added partial implementation for AccessibleComponent to C binding.
6806 * idl/Application.idl:
6807 * libspi/registry.c:
6808 * libspi/listener.c:
6809 * libspi/application.c:
6810 * libspi/application.h:
6811 Changed "ID" attribute type from string to long.
6813 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6817 Made method naming consistent: methods taking object args
6818 start with uppercase, other methods (except those using
6819 acronyms) start with lowercase. Underscores delimit between
6820 object names and method names:
6821 SPI_init() - uppercase since it starts with an acronym.
6822 getDesktopCount () - lowercase start since no object param0.
6823 Accessible_getName() - uppercase object type name, studlyCaps method
6827 Added gtk-doc documentation for all currently implemented
6828 methods in the C bindings API.
6830 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6832 * Makefile.am : changed build order to build test last.
6835 Changed "createEventListener" to "CreateEventListener".
6836 * libspi/accessibleeventlistener.c :
6837 Bugfix for addition of callbacks.
6838 * test/Makefile.am :
6839 * test/simple-at.c :
6840 Added new test that uses the C bindings API.
6842 * libspi/listener.c :
6843 * libspi/registry.c :
6844 * libspi/accessibleeventlistener.c :
6845 * at-bridge/bridge.c :
6846 Renamed member "target" of Accessibility_Event to "source",
6847 which is more descriptive.
6850 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6854 * cspi/Makefile.am :
6855 Added makefile support for at-spi/cspi directory.
6858 * cspi/spi-listener.h : (NEW FILE)
6859 Added support for/use of spi-listener.h.
6861 C bindings now build successfully, with no warnings.
6862 * libspi/accessibleeventlistener.h : (NEW FILE)
6863 * libspi/accessibleeventlistener.c : (NEW FILE)
6864 * libspi/Makefile.am :
6865 Added new object type "AccessibleEventListener"
6866 which inherits from Listener, and allows attachment
6867 of in-process callbacks (so that a client with a listening
6868 object instance can add functionality to the local
6869 implementation, dynamically).
6871 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6873 * libspi/accessible.c:
6874 Add implementation for get_index_in_parent().
6876 Added #include of "spi-roletypes.h", and
6877 added enumerated type AccessibleCoordType.
6878 Added definition for KeystrokeListener (function type).
6881 * cspi/spi-statetypes.h :
6882 * cspi/spi-roletypes.h :
6884 Added these headers, used by spi.h.
6886 Added code (NOTE: not yet built by make).
6888 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6890 * libspi/Makefile.am: generate imodule
6891 at the same time as other idl compiler
6894 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6895 * libspi/registry.c :
6896 * libspi/application.c :
6897 * idl/Application.idl :
6898 Made registration with toolkit an application method,
6899 which is required since each app has its own toolkit static
6900 environment. Thus the bridge must register for
6901 notification of toolkit events from each application in turn.
6902 Toolkit notifications are now successfully registered for, and
6903 sent to the listening at client.
6905 Changed toolkit event string to use hyphens rather than underscores.
6906 * libspi/listener.c :
6907 listner now gives more info in debug mode - it reports the
6908 name of the event received, as well as the name of the source.
6911 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6913 * libspi/registry.c :
6914 added more implementation for toolkit events.
6915 Fixed bug such that toolkit event registrations
6916 (via atk) use the whole event name string, not
6918 Removed a useless call to an ORBit_ method.
6919 * at-bridge/bridge.c :
6920 Removed unused local sbuf[] variable.
6922 We now register for Gtk:GtkWidget:button_press_event
6923 events as well as "focus:" events.
6925 Add some more API from Registry.idl that was missing,
6926 for keystroke listening, keystroke and mouse event
6927 synthesis, and enumeration of accessible desktops.
6929 2001-08-16 Michael Meeks <michael@ximian.com>
6931 * configure.in: use AM_GLIB_GNU_GETTEXT.
6933 * Makefile.am (SUBDIRS): kill intl.
6935 2001-08-15 Michael Meeks <michael@ximian.com>
6937 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6939 * configure.in: upd.
6941 * configure.in: depend on a recent bonobo-activation that
6942 will find our server files ...
6944 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6946 * libspi/accessible.c : accessible_new() :
6947 Now we add the Component interface via bonobo_object_add_interface,
6948 if the contained AtkObject implements AtkComponent.
6949 * libspi/accessible.h : now include "component.h"
6950 * libspi/component.h :
6951 * libspi/component.c : added files - implementation of
6952 bonobo wrapper object for Accessibility/Component
6953 * libspi/listener.c :
6954 Added test code to check for Accessibility/Component:1.0
6955 interface and report whether it is implemented by the
6957 * libspi/registry.c :
6958 Now we check for not only the hash of the whole event
6959 string before relaying the event, we also check the
6960 "minor" event string (without the detail string).
6961 This allows event listeners to be registered against
6962 all events of a certain major+minor type, or just
6963 against a specific major+minor+detail type.
6964 * libspi/accessible.c :
6965 Added implementations for Accessible:get_parent(),
6966 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6967 * libspi/registry.c :
6968 * libspi/listener.c :
6969 Replaced calls to Accessibility_Accessible_ref() and
6970 Accessibility_Accessible_unref() with
6971 calls to bonobo_object_dup_ref() and
6972 bonobo_object_release_unref(), so that the CORBA object
6973 is dup-ed and released when relayed, as well as the bonobo object.
6975 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6977 * libspi/Makefile.am,
6978 registryd/Makefile.am,
6979 at-bridge/Makefile.am.
6980 test/Makefile.am, configure.in:
6981 reverse previous changes.
6983 * /idl/Image.idl: fix typo.
6985 * test/Makefile.am: put DEBUG_FLAGS
6988 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6990 * test/app.c: use argv[0] instead of
6993 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6995 * libspi/Makefile.am,
6996 registryd/Makefile.am,
6997 at-bridge/Makefile.am.
6998 test/Makefile.am, configure.in:
6999 cleanup, replace individual LIBS/CFLAGS with
7000 AT_COMMON_{LIBS|CFLAGS}.
7004 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7006 * configure.in, libspi/Makefile.am:
7007 Change IDL path checking for bonobo-activation
7010 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7012 * registryd/registry.c : separated event listeners to use
7013 3 separate lists (focus, window, toolkit). Began testing
7014 event names against hashes before relaying events.
7015 * test/at.c : now register for events of type "focus:"
7016 * test/app.c : now generate events of type "focus:"
7017 * at-bridge/bridge.c : register with ATK for focus events,
7018 and we now relay those focus events to any "focus:" listeners.
7019 This now works with the bridge as a GTK_MODULE when running test/at.
7020 * libspi/registry.c :
7021 * libspi/listener.c :
7022 now we ref event sources before propagating, and unref on receipt.
7023 * libspi/registry.c :
7024 some changes to internal structs, to support event typestring hashes.
7025 * text/app.c : changed the way the appname is generated.
7026 * cspi : added directory that will hold the C bindings library for
7027 non-CORBA/bonobo-savvy clients.
7028 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7029 * idl/Component.idl : added in parameter to indicate coord system for
7030 geometry-related calls.
7031 * idl/Hyperlink.idl : added readonly n_links attribute
7032 * idl/Image.idl : changed methods to attributes.
7034 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7036 * at-bridge/Makefile.am: link against
7037 ../libspi/libspi.la instead of -lspi.
7039 * at-spi/test/app.c: include
7040 bonobo-activation.h. Use a default appname
7041 if one is not provided.
7043 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7045 * idl/Registry.idl : temporarily changed register_Application
7046 to oneway, to work around issue with initial registration
7048 * idl/Application.idl : changed attribute "id" from readonly
7049 to read-write, since it needs to be assigned by Registry.
7050 * registryd/registryd.c : added call to set application id
7052 * registryd/registry.c : changed de-registration procedure to
7053 use CORBA_Object_hash() to find matching object ref in application
7054 lists and listener lists.
7055 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7056 began distinguishing between event types (work in progress).
7058 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7061 * libspi/application.c:
7062 Added implementations for get/set id, get_toolkitName,
7064 * registryd/registryd.c :
7068 Converted from use of OAF to bonobo-activation.
7069 * libspi/desktop.h :
7070 * libspi/desktop.c :
7072 Removed references to atksimpleobject, since base atkobject
7073 implementation now provides functionality we need.
7074 * libspi/atksimpleobject.c :
7075 * libspi/atksimpleobject.h :
7080 * at-bridge/Makefile.am
7081 * at-bridge/bridge.c
7084 Added directory "bridge" and contents, and added dependencies
7085 in Makefile.am/configure.in.
7086 Initial checkin of "at-bridge".
7087 This code is a GTK_MODULE which automatically registers
7088 GTK+ apps with the accessibility registry, using an object
7089 reference to the root ATK object.
7091 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7093 * po/Makefile.in.in: Remove. Again. If this
7094 doesn't get autogenerated - you need to update
7097 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7099 * po/Makefile.in.in: Add. Again.
7101 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7103 * libspi/accessible.c : added support for 'description' property.
7104 * libspi/accessible.c
7106 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7107 (since the two are now equivalent in libbonobo)
7115 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7116 Bonobo::Unknown as does Accessibility::Accessible.
7117 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7118 interface with Bonobo::Stream, since it was redundant with it.
7119 (The Stream returned by a StreamableContext object is expected to
7120 implement only a subset of Bonobo::Stream)
7122 2001-07-28 Anders Carlsson <andersca@gnome.org>
7124 * libspi/accessible.c (accessible_object_finalize): Change
7125 g_free to g_object_unref since the AtkObject is a GObject.
7127 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7129 * idl/Accessibility.idl: add new IDL files
7132 * idl/Action.idl: Definitions of actionable UI object
7133 * idl/Component.idl: Definitions of UI component geometry, etc.
7134 * idl/Hyperlink.idl: Defs of hyperlink behavior
7135 * idl/Image.idl: Def of accessible image
7136 * idl/Selection.idl: Definition of UI object with selectable children
7137 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7138 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7139 * idl/Text.idl: Interface defs for UI elements with complex textual content
7140 * idl/Value.idl: Definition of UI element that is a value controller or display
7142 2001-07-27 Michael Meeks <michael@ximian.com>
7144 * po/Makefile.in.in: remove autogenerated file from CVS.
7146 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7149 * idl/Registry.idl: include guard.
7151 * idl/Accessibility.idl: Add, and include all the other IDL
7154 * idl/*.idl: remove mass of pragmas etc.
7156 2001-07-26 Michael Meeks <michael@ximian.com>
7158 * registryd/Makefile.am (registryd_SOURCES): remove
7161 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7163 * libspi/.cvsignore, registryd/.cvsignore,
7164 test/.cvsignore: updated.
7166 * po/Makefile.in.in: gettext update.
7168 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7170 * initial CVS checkin
7172 2001-06-29 Michael Meeks <michael@ximian.com>
7174 * configure.in: add AM_CONFIG_HEADER to gen config.h