1 2005-02-07 Bill Haneman <bill.haneman@sun.com>
4 (atk_bridge_init): Added missing NULL in g_strconcat(),
5 also check for symlink before logging to
6 insecure directory. Thanks to meissner@suse.de.
8 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
10 * tests/login-helper-server-test.c: Add return call to main
11 function. Patch from Chris Lahey. Fixes bug #165129.
13 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
15 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
17 2004-12-09 Bill Haneman <billh@gnome.org>
19 * registryd/registry-main.c:
20 Added #define <string.h> for strrchr. (bug 160862).
21 Thanks to Vincent Berger for catching.
23 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
25 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
26 restart registry process if the registry process is found to have died
27 and the current process is exiting.
28 (spi_atk_bridge_exit_func): Do not attempt to deregister the
29 application if the registry process has died.
30 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
31 does not return a registry object.
32 (spi_atk_tidy_windows): Give up if the registry process has died.
34 This fixes problems with hangs and crashes when logging out.
36 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
38 * registryd/desktop.c: Add checking that we are not exiting before
39 calling spi_desktop_remove_application in
40 abnormal_application_termination. Fix for bug #152147.
42 2004-12-02 Bill Haneman <billh@gnome.org>
44 * configure.in, NEWS, README: Revved to 1.6.1.
46 Patch from Padraig O'Briain <padraig.obriain@sun.com>
47 * atk-bridge/bridge.c:
48 (atk_bridge_init): Save the pid when we start, to detect forks.
49 (spi_atk_bridge_exit_func): Don't call the cleanup routines
50 if we're in a forked pid.
52 2004-10-09 Bill Haneman <billh@gnome.org>
54 * idl/Accessibility_LoginHelper.idl:
55 Improved inline documentation.
57 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
59 * configure.in: Added gl (Galician) to ALL_LINGUAS
61 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
63 * libspi/accessible.c:
64 (impl_accessibility_accessible_get_role_name),
65 (impl_accessibility_accessible_get_local_role_name):
68 (impl_accessibility_component_get_accessible_at_point):
70 * libspi/eventlistener.c: (spi_event_listener_new):
72 * libspi/stateset.c: (impl_compare): More of the same
73 * libspi/table.c: (impl_getRowDescription): Again.
74 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
75 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
76 (impl_generate_keyboard_event): Same.
77 * registryd/registry-main.c: (main): Same
78 * test/event-listener-test.c: (test_exit): Same
79 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
80 * test/keysynth-test.c: (test_key_synthesis): Same
81 * test/login-helper-server-test.c: (main): Fix warning.
82 * test/screen-review-test.c: (test_exit): Fix include.
83 * test/simple-at.c: (simple_at_exit), (_festival_init):
86 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
88 * configure.in, NEWS, README: Revved to 1.6.0.
90 2004-09-12 Bill Haneman <bill.haneman@sun.com>
92 * configure.in: Rev and re-dist, since the 1.5.4 tarball
93 was missing the HTML docs.
95 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
97 * configure.in: only cleanups:
98 - better looking PKG_CHECK_MODULES() output,
100 - declare in one common place required versions of other tools using
103 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
105 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
106 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
107 required ATK version accordingly.
109 2004-09-03 Bill Haneman <bill.haneman@sun.com>
111 * cspi/bonobo/cspi-bonobo.c:
112 (cspi_display_name): Fix C99ism.
113 * atk-bridge/bridge.c:
114 (spi_display_name): Fix C99ism.
115 Patch from Jens Granseuer, jensgr@gmx.net.
117 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
119 * configure.in: Added "or" to ALL_LINGUAS.
121 2004-08-20 Bill Haneman <bill.haneman@sun.com>
123 * configure.in, NEWS, README: Revved to 1.5.4.
125 * registryd/registry-main.c:
126 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
129 * cspi/bonobo/cspi-bonobo.c:
130 (cspi_display_name): New convenience method, gets DISPLAY with
131 screen number stripped, if AT_SPI_DISPLAY isn't already set.
132 (cspi_init): Set the activation env value above before getting
135 * atk-bridge/bridge.c:
136 (spi_display_name): Create the AT_SPI_DISPLAY activation
137 environment for an app, based on the DISPLAY environment with the
138 screen number stripped off.
139 (atk_bridge_init): Allow redirection of error messages to a log.
140 (spi_atk_bridge_get_registry): Call
141 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
143 Fixes for bugs #149962, #136986, #144086.
145 2004-08-16 Christian Rose <menthos@menthos.com>
147 * configure.in: Added "bs" to ALL_LINGUAS.
149 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
151 * configure.in: Added nb to ALL_LINGUAS.
153 2004-09-03 Bill Haneman <bill.haneman@sun.com>
156 (SPI_init): Return error code '2' if the activated
157 registry cannot be pinged. Fixes bug #147648.
159 2004-07-28 Bill Haneman <bill.haneman@sun.com>
161 * registryd/deviceeventcontroller.c:
162 (spi_dec_init_mouse_listener): Don't do XGrabButton,
163 rely on timer-poll instead, to avoid conflict with
166 2004-07-20 Bill Haneman <bill.haneman@sun.com>
168 * configure.in: Revved to 1.5.3.
170 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
172 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
174 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
176 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
178 2004-06-11 Bill Haneman <bill.haneman@sun.com>
180 * atk-bridge/bridge.c:
181 (spi_atk_bridge_do_registration):
182 Register with ATK for AtkComponent:bounds-changed events.
183 (api_atk_bridge_signal_listener):
184 Marshal the AtkRectangle info into the event notification
185 for object:bounds-changed events.
188 (spi_init_any_rect): New method, inits a corba struct of
189 type Accessibility_BoundingBox from an AtkRectangle.
191 * libspi/spi-private.h: Declared spi_init_any_rect (above).
194 (SPIRect): New struct definition.
195 (SPI_freeRect): New declaration.
196 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
199 (AccessibleBoundsChangedEvent_getNewBounds): New method,
200 implemented. Gets the bounding box data from the CORBA_any
201 associated with a bounds-changed event notification.
202 (cspi_internal_event_get_rect): New, used internally by above method.
205 (SPI_freeRect): Implemented this new method, for freeing
208 * test/event-listener-test.c:
209 (main, report_bounds_event):
210 Added a test for object:bounds-changed events.
212 2004-06-01 Bill Haneman <bill.haneman@sun.com>
214 * test/login-helper-server-test.c:
215 (main): Fix C99-ism. Thanks to Jens Granseuer.
217 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
219 * libloginhelper-1.0.pc.in:
220 * idl/Accessibility_LoginHelper.idl:
221 * login-helper/Makefile.am:
222 * login-helper/login-helper.[ch]:
223 * test/login-helper-client-test.c:
224 * test/login-helper-server-test.c: Added files missing from CVS.
225 Files obtained from at-spi-1.5.2 tarball.
227 2004-05-27 Bill Haneman <bill.haneman@sun.com>
229 * configure.in: Create login-helper/Makefile.
230 Incremented micro version.
232 * Makefile.am: Add login-helper subdir and pkgconfig data.
234 * login-helper: New subdir.
236 * libloginhelper-1.0.pc.in: New.
238 * idl/Accessibility_LoginHelper.idl: New file, defines
239 interface whereby authentication clients can identify agents which
240 need access to services during the login process, e.g. screen lock
243 * login-helper/Makefile.am : New.
245 * login-helper/login-helper.[ch] : New, implementation of
246 a LoginHelper base class. Services needing LoginHelper can subclass.
248 * test/Makefile.am : Added test for login-helper, client and
251 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
252 Use proper prefix in #include files.
254 * test/login-helper-client-test.c: New.
256 * test/login-helper-server-test.c: New.
258 2004-05-27 Alexander Shopov <ash@contact.bg>
260 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
262 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
264 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
265 is positive. This should make it easier to detect inapprorpiate unref
268 2004-05-11 James Henstridge <james@daa.com.au>
270 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
271 no-op and deprecated.
273 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
275 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
277 2004-04-28 Bill Haneman <billh@gnome.org>
279 * Makefile.am: Added --enable-gtk-doc to
280 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
282 2004-04-19 Bill Haneman <billh@gnome.org>
284 * configure.in: Revved to 1.5.1.
286 * registryd/deviceeventcontroller.c:
288 (DEControllerPrivateData): Added fields for
289 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
290 (spi_dec_replace_map_keysym): New internal utility for
291 replacing a keysym in the keymap - used to allow
292 synthesis of individual characters which aren't in the
294 (spi_dec_reset_reserved): New; resets the changed keysym value
296 (keycode_for_keysym): We now try to deal with failed
297 XKeysymToKeycode requests by changing a keymap value
298 and returning a reserved keycode. We now take
299 a DEController pointer as first arg.
300 (spi_controller_register_with_devices): Call XkbGetMap with
301 the XkbKeySymsMask. Find the highest keycode in the current
302 keymap which doesn't have any grabs, and mark that one for
303 temporary re-mapping when out-of-range KeySyms are synthesized.
304 (dec_synth_keycode_press): Call XFlush after synthesizing the key
307 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
309 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
311 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
313 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
315 2004-03-24 Bill Haneman <billh@gnome.org>
318 (AccessibleTable_addRowSelection),
319 (AccessibleTable_addColumnSelection),
320 (AccessibleTable_removeRowSelection),
321 (AccessibleTable_removeColumnSelection):
322 Add declarations for spi wrappers which were
323 inadvertantly omitted. Fixes bug #133413.
326 Revved to 1.5.0 (unstable series for GNOME 2.7).
328 2004-03-24 Bill Haneman <billh@gnome.org>
330 * atk-bridge/bridge.c:
331 Bracketed some debug output in
332 conditionals, to avoid printing it in normal use.
335 * libspi/hyperlink.c:
336 Don't cast 'object' to ATK_OBJECT when constructing
337 an AtkAction interface for a hyperlink.
338 See discussion in bug #120659.
340 * test/key-listener-test.c:
341 (report_all_key_event): Send output to stderr,
342 not stdout, for consistency with the rest of the test callbacks.
345 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
346 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
347 Incremented to 1.4.1 (but didn't dist yet - I'm going to
348 try incrementing the revision AFTER doing a dist, at least
351 2004-03-22 Bill Haneman <billh@gnome.org>
353 * configure.in: Revved to 1.4.0, libtool 9.14.9
355 2004-03-17 Laszlo Peter <laca@sun.com>
357 * libspi-1.0-uninstalled.pc.in: add idldir
359 * cspi-1.0-uninstalled.pc.in: add idldir
361 2004-03-16 Gareth Owen <gowen72@yahoo.com>
363 * configure.in: Added "en_GB" to ALL_LINGUAS
365 2004-03-15 Bill Haneman <billh@gnome.org>
367 * configure.in: Revved to 1.3.16,
370 2004-03-15 Laszlo Peter <laca@sun.com>
372 * libspi-1.0-uninstalled.pc.in: new file
374 * cspi-1.0-uninstalled.pc.in: new file
376 * configure.in: add the new pc files to AC_OUTPUT
378 * Makefile.am: add the new pc files to EXTRA_DIST
380 2004-03-12 Bill Haneman <billh@gnome.org>
382 * atk-bridge/bridge.c:
383 (spi_atk_bridge_key_listener):
384 Make sure to return consumed=FALSE if snoop
385 event is not dispatched to listener.
388 2004-03-01 Bill Haneman <billh@gnome.org>
390 * configure.in: Revved to 1.3.15,
393 2004-03-07 Danilo Segan <dsegan@gmx.net>
395 * configure.in: Added "sr@ije" to ALL_LINGUAS.
397 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
399 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
401 2004-03-01 Bill Haneman <billh@gnome.org>
403 * configure.in: Revved to 1.3.14.
406 (SPI_exit): Removed "bye-bye" exit message.
407 Moved "leak" report to happen before the
408 iteration over the leaked refs list.
409 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
411 2004-02-24 Bill Haneman <billh@gnome.org>
413 * configure.in: Revved to 1.3.13.
415 * docs/reference/cspi/Makefile.am:
416 Correct typo that was breaking the docs build.
418 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
420 * autogen.sh: Require version 1.7 of automake.
422 * configure.in: call GTK_DOC_CHECK([1.0])
424 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
426 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
428 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
430 * test/Makefile.am: Remove use of CFLAGS.
432 This fixes bug #132987.
434 2004-02-11 Bill Haneman <billh@gnome.org>
436 * reverted most of Tomasz' patch below, since it was breaking
437 builds (see bug #134058).
439 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
441 * docs/reference/cspi/at-spi-cspi.types: added empty file for
442 correct pass "make dist" (empty .. because seems no sach types in
443 header files with gtk-doc markups).
444 * docs/reference/cspi/Makefile.am, configure.in:
445 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
446 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
447 * Makefile.am: added:
448 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
449 for force correct pass generate documentation on "make distcheck".
450 * libspi/Makefile.am: fixes for automake >= 1.6.
451 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
452 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
455 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
457 * docs/reference/cspi/Makefile.am (install-data-local): Install
458 index.sgml since the doc autobuilder on widget.gnome.org looks for
461 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
463 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
466 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
468 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
470 2004-01-27 Brian Cameron <brian.cameron@sun.com>
472 * test/simple-at.c: Fixed null string problems that cause core
473 dumping problems on Solaris.
475 2004-01-12 Bill Haneman <billh@gnome.org>
477 * configure.in: Incremented version to 1.3.11.
479 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
481 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
482 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
485 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
487 * configure.in: Added "fa" to ALL_LINGUAS.
489 2003-12-20 Arafat Medini <lumina@silverpen.de>
491 * configure.in: Added "ar" to ALL_LINGUAS
493 2003-12-16 Bill Haneman <billh@gnome.org>
495 * registryd/registry-main.c:
497 Set the reg_env DISPLAY variable before registering the
498 activated registry service. Fixes bug #129479.
500 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
502 * configure.in: Added "id" in ALL_LINGUAS
503 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
505 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
507 * registryd/deviceeventcontroller.c (global_filter_fn):
508 When an event is consumed discard any XEvents were added to
509 the queue while dealing with the the event. This can happen if
510 processing of the event takes a long time. Call XUngrabKeyboard
511 if an event was discarded. This fixes bug $124837.
512 Only call wait_for_release_event for a KeyPress.
513 Use local variable display instead of spi_get_display().
514 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
517 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
519 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
520 Allow for mask to contain values other than NumLock mask.
523 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
525 * registryd/devieceventcontroller.c:
526 (wait_for_release_event): Change first parameter from GdkEvent to
528 (global_filter_fn); Correct call to wait_for_release_event.
532 2003-12-08 Bill Haneman <billh@gnome.org>
536 * registryd/ucs2keysym.c: New file.
538 * registryd/deviceeventcontroller.c:
539 (dec_keysym_for_unichar): Remove old partial implementation and
540 replace with call to ucs2keysym(), which is much more complete.
541 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
546 2003-12-05 Bill Haneman <billh@gnome.org>
548 * configure.in: Version 1.3.9.
550 * docs/reference/cspi/tmpl/spi_registry.sgml:
551 Added reference to libspi/keymasks.h to the
552 description of Registry queries: AccessibleKeyMaskType.
555 2003-12-04 Bill Haneman <billh@gnome.org>
559 * idl/Accessibility_Application.idl:
560 (Accessibility::LOCALE_TYPE): New enum, corresponds to
561 setlocale's LC_TYPEs.
562 (Accessibility::Application::getLocale): New method.
563 Allows clients to query the locale, by type, of an app.
566 * cspi/spi_application.c:
567 (AccessibleApplication_getLocale): New method, wraps IDL above.
569 * libspi/application.c:
570 (spi_application_class_init): Init epv entry for getLocale.
571 (impl_accessibility_application_get_locale): Impl for above.
573 * test/test-simple.c:
574 (test_application): Added assertion for getLocale, i.e.
575 that the string from AccessibleApplication_getLocale (app, type)
576 is the same as that from setlocale (type, NULL);
578 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
580 *registryd/deviceeventcontroller.c: Add an idle handler which polls
581 the keyboard on a timeout intil the key state goes from pressed to
582 released. Fixes bug #111429.
584 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
586 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
587 root object so that it is present when a context menu in an
588 out-of-process applet is popped up.
589 (spi_atk_bridge_do_registration): Create acceessible application root
590 object only if it does not exist.
592 This fixes bug #125834.
594 2003-12-01 Bill Haneman <billh@gnome.org>
596 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
599 Added enum for AccessibleStreamableContentSeekType.
600 (AccessibleStreamableContent_freeContentTypeList): New.
602 * cspi/spi_streamablecontent.c:
603 (accessible_bonobo_stream_client_seek): New private method.
604 (AccessibleStreamableContent_seek): Implemented this method,
605 using Bonobo_Stream_seek.
606 (AccessibleStreamableContent_freeContentTypeList): New method
607 for freeing the return value from
608 AccessibleStreamableContent_getContentTypes.
609 (stream_cache_item_free): Replaces stream_release; stop leaks.
610 (stream_release): removed.
611 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
612 free the memory properly.
614 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
618 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
620 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
622 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
624 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
626 2003-12-01 Bill Haneman <billh@gnome.org>
628 Fix for bug/rfe #127463.
630 * idl/Accessibility_Accessible.idl:
631 (getLocalizedRoleName): New.
632 (unimplemented4): Removed (replaced by above).
634 * libspi/accessible.c:
635 (impl_accessibility_accessible_get_local_role_name): New.
636 (spi_accessible_class_init): Add getLocalizedRoleName entry to
640 (Accessible_getLocalizedRoleName): New.
642 * cspi/spi_accessible.c:
643 (Accessible_getLocalizedRoleName): New.
645 2003-12-01 Bill Haneman <billh@gnome.org>
648 * idl/Accessibility_Text.idl:
649 (getDefaultAttributes): New.
650 (unimplemented4): Removed (replaced by above method).
653 (impl_getDefaultAttributes): New method.
654 (spi_text_class_init):
655 initialize the get_default_attributes slot in the epv.
658 (AccessibleText_getDefaultAttributes): New prototype.
661 (AccessibleText_getDefaultAttributes): New method.
663 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
665 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
666 write beyond the end of the table. Fixes bug #120473.
668 2003-09-30 Christian Rose <menthos@menthos.com>
670 * configure.in: Added "eu" to ALL_LINGUAS.
672 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
674 * configure.in: ALL_LINGUAS: Added no.
676 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
678 * configure.in: Added lt to ALL_LINGUAS.
680 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
682 * atk-bridge/bridge.c:
683 (atk_bridge_init): Register event listeners always even for
684 out-of-process applet.
685 (spi_atk_bridge_toplevel_added): Remove call to
686 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
687 (spi_atk_bridge_toplevelk_removed): Remove call to
688 spi_atk_deregister_event_listenersa as the listeners are now always
690 (spi_atk_bridge_register_application): Remove call to
691 spi_atk_register_event_listeners as it is not done in atk_bridge_init
693 This fixes bug #120991.
695 * libspi/table.c (impl_getColumnDescription): Correct typo,
696 pointed out by Bolian.Yin@sun.com.
698 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
700 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
702 2003-09-08 Bill Haneman <billh@gnome.org>
704 * configure.in: Revved to 1.3.7.
706 This is the GNOME 2.4.0 release of at-spi.
708 * docs/reference/cspi/Makefile.am:
709 Removed spurious inclusion of 'index.sgml' in the
710 html directory; this was breaking make distcheck and
711 also some other build environments.
713 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
715 * registryd/registry.[ch}:
716 Add queue_handler_id and focus_object to SpiRegistry data structure.
717 (registry_flush_event_queue): If event being discarded is
718 "state-change:focused" store object as focus_object.
719 (registry_start_queue): Remove queue handler and focus object
721 (registry_discard_event): New function which discards a focus event
722 if we had stored focus object in the registry.
723 (registry_queue_event): Add new check that is_queueing is set as this
724 function is reentrant.
725 (registry_filer_event): Add call to registry_discard_event.
727 This resolves issues raised in bug #108664.
729 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
731 * configure.in: Added "bn" to ALL_LINGUAS.
733 2003-09-04 Bill Haneman <billh@gnome.org>
735 * cspi/spi_event.c: Documentation improvements for
736 (SPI_registerAccessibleKeylistener).
738 * docs/reference/tmpl/spi_registry.sgml:
739 Documentation improvements for SpiAccessibleKeylistenerCB.
741 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
743 * configure.in: Added "ro" to ALL_LINGUAS.
746 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
748 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
749 not decremented to zero. Fixes bug #120725.
751 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
753 * configure.in: Added "ja" to ALL_LINGUAS.
755 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
757 * configure.in: Added "is" to ALL_LINGUAS.
759 2003-08-22 Christian Rose <menthos@menthos.com>
761 * configure.in: Added "nl" to ALL_LINGUAS.
763 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
765 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
766 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
768 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
770 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
771 type for unspecified exception.
772 * cspi_streamablecontect): Add include of string.h for memcpy.
773 (stream_release): Correct call to bonobo_object_release_unref
774 (stream_cache_item_free): Correct call to bonobo_object_release_unref
775 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
776 argument of _cspi_expection_throw.
777 * libspi/hyperlink.c: Add include of libspi/action.h:
778 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
779 * libspi/streamablecontent.c: add include of libspi/component.h.
780 * regisrtyd/deviceeventcontroller.c:
781 (spi_dec_translate_mask): Removed unused variable priv.
782 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
783 * registryd/registry.c:
784 (registry_filter_event): Remove unused variable queue_is-empty.
785 (impl_registry_notify_event): Use correct modifier in fprintf call.
787 This fixes compiler warnings reported in bug #120220.
789 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
791 * registryd/registryd.c: Remove this file.
793 2003-08-17 Sanlig Badral <badral@openmn.org>
795 * configure.in: Added mn to ALL_LINGUAS.
797 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
799 * configure.in: Added et to ALL_LINGUAS.
801 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
803 * test/event-listener-test.c: Change active-descendant to
804 active-descendant-changed.
806 2003-08-10 Sami Pesonen <sampeson@iki.fi>
808 * configure.in: Added "fi" in ALL_LINGUAS.
810 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
812 * configure.in: Added "hi" in ALL_LINGUAS.
814 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
816 * configure.in: Revved to 1.3.6.
820 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
822 * registryd/deviceeventcontroller.c
823 (spi_device_event_controller_object_finalize): Fix typo in previous
826 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
828 * registryd/deviceeventcontroller.c
829 (spi_device_event_controller_object_finalize): Fix build on
830 systems without XEvIE.
832 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
834 * acconfig.h, configure.in, registryd/Makefile.am,
835 registryd/devicecontoller.[ch]: Add XEViE support.
837 2003-08-06 Wang Jian <lark@linux.net.cn>
839 * configure.in: Added "zh_CN" to ALL_LINGUAS.
841 2003-08-06 Metin Amiroff<metin@karegen.com>
843 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
845 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
847 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
848 MODIFIER_ALT in correct place.
850 This fixes part of bug #118114.
852 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
854 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
856 2003-07-28 Changwoo Ryu <cwryu@debian.org>
858 * configure.in: Added "ko" to ALL_LINGUAS.
860 2003-07-28 Ole Laursen <olau@hardworking.dk>
862 * configure.in: Added "da" to the commented out ALL_LINGUAS.
864 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
866 * configure.in: Added "sq" to ALL_LINGUAS.
868 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
870 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
872 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
874 * configure.in: updated ALL_LINGUAS list
876 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
878 * configure.in: Added Belarusian to ALL_LINGUAS.
880 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
882 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
884 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
885 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
887 This fixes bug #116949.
889 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
891 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
892 Correct CSPI to SPI in function documentation.
894 This fixes bug #118054.
896 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
898 * configure.in: Added Russian to ALL_LINGUAS.
900 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
902 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
904 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
906 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
908 2003-07-10 Joel Brich <joel.brich@laposte.net>
910 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
912 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
914 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
916 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
918 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
919 resources allocated for AccessibleEvent. See cspi_event().
921 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
922 static variable streams to NULL.
924 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
925 Update so that AcessibleEvent_ref will work.
927 This fixes bug #116624.
929 2003-07-06 Jordi Mallach <jordi@sindominio.net>
931 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
933 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
935 * configure.in: Added "fr" (French) to ALL_LINGUAS.
937 2003-07-02 Christian Neumair <chris@gnome-de.org>
939 * configure.in: Added "de" (German) to ALL_LINGUAS.
941 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
943 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
945 2003-07-01 Miloslav Trmac <mitr@volny.cz>
947 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
949 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
951 * configure.in: Added "pl" to ALL_LINGUAS.
953 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
955 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
957 2003-06-30 Bill Haneman <bill.haneman@sun.com>
960 (get_action_from_servant):
961 Removed assertion that action is implemented on an AtkObject.
963 * libspi/hyperlink.c:
965 Aggregate AccessibleAction interface on the hyperlink object if
966 the object implements AtkAction. (This convention is used in
969 2003-06-30 Bill Haneman <bill.haneman@sun.com>
971 * configure.in: Revved to 1.3.5.
973 * registryd/Accessibility_Registry.server.in.in:
974 Marked up appropriate strings for translation.
976 * atk-bridge/bridge.c: Marked a couple of
977 user-visible warnings for translation. Questionable
978 whether they are really useful, but possibly so.
981 2003-06-28 Christian Rose <menthos@menthos.com>
983 * configure.in: Added "sv" to ALL_LINGUAS.
985 2003-06-26 Bill Haneman <bill.haneman@sun.com>
987 * registryd/registry.c:
988 (spi_registry_object_finalize): Unref the deviceeventcontroller.
989 (registry_defer_on_event): Defer focus: events, this is an
990 improvement to the patch for bug #108664.
992 * TODO: Update with 2.4/"Dev Complete" items.
994 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
996 * atk-bridge/bridge.c:
997 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
998 looks up signals once.
999 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1000 if doing registration.
1001 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1002 when doing registration.
1004 This fixes bug #115014.
1006 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1008 * atk-bridge/bridge.c:
1009 (atk_bridge_init): Add signal handler for children-changed:remove on
1010 root when in a BonoboComponent.
1011 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1012 for first toplevel only other incrememt variable toplevels.
1013 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1014 application and remove listeners.
1015 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1017 (spi_atk_deregister_event_listeners): New function which removes
1019 (reinit_register_vars): New fuction which reinitializes variables.
1021 This fixes bug #111578.
1023 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1025 * configure.in: version 1.3.4.
1027 * cspi/spi_accessible.c:
1028 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1031 2003-06-13 Michael Meeks <michael@ximian.com>
1033 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1035 * cspi/spi_main.c (cspi_peek_ev): impl.
1037 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1039 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1041 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1043 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1044 SPI_ROLE_AUTOCOMPLETE
1046 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1048 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1049 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1051 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1053 * libspi/streamablecontent.h:
1054 * libspi/streamablecontent.c:
1055 New files, provide implementation/wrappers for
1056 Accessibility_StreamableContent.
1058 * cspi/spi_streamablecontent.c:
1059 Connected the C wrappers to the libspi C bindings.
1060 (AccessibleStreamableContent_close): New method.
1063 (AccessibleStreamableContent_close): New method, needed
1064 since we have an "open, [seek], read, close" model in cspi.
1066 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1068 Fix for #108664; Padraig's revision of my original patch.
1070 * registryd/registry.h:
1071 Added event queue list, is_queuing, and exit_notify_timeout
1072 to the registry struct.
1074 * registryd/registry.c:
1075 (registry_init): Initialize new struct from registry.h.
1076 (impl_registry_notify_event):
1077 Filter events before notifying, in case some need to be
1079 (registry_filter_event): New,
1080 we defer certain incoming events (for instance
1081 window:deactivate) because we may wish to hide
1082 or reject them based on pending events. This is
1083 mostly a workaround for bug #108664.
1084 (registry_queue_event, registry_start_queue): New.
1085 (registry_defer_on_event): Test event to see if it
1087 (registry_reset_on_event): Returns TRUE if the
1088 event should cause a queue reset.
1089 (registry_discard_on_event): Returns TRUE if the event
1090 should cause the previous queue contents to be discarded.
1091 (registry_timeout_flush_queue): Flushes the pending event
1092 queue if no reset/discard-triggering events have come in
1093 within the timeout period.
1094 (registry_emit_event): New.
1095 (registry_clone_notify_context): New, used when queueing the
1096 event notify contexts.
1098 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1100 * configure.in: Version revved to 1.3.2, lt 0.9.2
1101 Incremented ATK required version to 1.3.4.
1103 * cspi/spi_registry.c:
1104 (SPI_generateKeyEvent):
1105 We now pass the keystring along if it's non-null.
1107 * registryd/deviceeventcontroller.c:
1108 (keysym_mod_mask): New method, returns modifier mask
1109 required to generate a keysym from a given keycode.
1110 (dec_synth_keysym): New method.
1111 (dec_synth_keystring): New method.
1112 (dec_get_modifier_state): New method.
1113 (dec_lock_modifiers): New
1114 (dec_unlock_modifiers): New.
1115 (dec_keysym_for_unichar): New, rather brute-force
1116 conversion from UCS-4 to X KeySyms. Only works for
1117 Latin at the moment, with partial implementations for
1118 Greek, Hebrew, and (incomplete) Katakana.
1119 (impl_generate_keyboard_event): Now implement
1120 "KEYSTRING" synthesis and implement "KEYSYM"
1122 (keycode_from_keysym): Improved, passes a returned
1123 modmask value now if the corresponding param is non-NULL.
1125 Fixes bugs #92143 and #109776.
1128 * test/keysynth-test.c:
1129 New test program for key synthesis, to confirm fixes for
1133 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1135 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1137 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1138 Add line for RELATION_POPUP_FOR
1140 * docs/reference/cspi/tmpl/spi_relation.sgml:
1141 Add relation SPI_RELATION_POPUP_FOR
1143 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1144 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1146 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1148 * libspi/relation.c (spi_init_relation_type_table):
1149 Add line for RELATION_POPUP_FOR
1151 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1153 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1154 there are still windows which have not been deleted and emit
1155 window:deactivate, if necessary and window:destroy events.
1156 This fixes bug #114370. The change on June 5th was not correct.
1158 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1160 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1163 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1165 New methods for client exception handling and interception.
1166 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1167 (SPI_exceptionHandlerPop): You guessed it...
1168 (SPI_getSourceType): Return the type of object which offended.
1169 (SPI_getExceptionCode): Return an enum code telling, possibly,
1170 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1171 (SPIAccessibleException_getSource): get the source object for
1172 exceptions that come from Accessibles, if SPIExceptionSourceType is
1173 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1174 (SPIException_getDescription): New, returns a string description of
1175 the problem. [Not yet a stable ABI, strings are not frozen]
1177 * cspi/spi-private.h:
1178 Added implementation details of opaque SPIException
1182 Implementations of above. Also
1183 (_cspi_exception_throw): new private method that
1184 dispatches exceptions to handlers, called from cspi-bonobo.c
1186 * cspi/bonobo/cspi-bonobo.c:
1187 (cspi_check_ev): call _cspi_exception_throw.
1188 Don't print a warning message if the exception has been
1189 handled by _cspi_exception_throw.
1191 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1193 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1194 there are still windows which have not been deleted and emit
1195 window:deactivate, if necessary and window:destroy events.
1196 This fixes bug #114370.
1198 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1201 (cspi_accessible_is_a): Make non-fatal
1202 if the object reference is dead.
1204 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1206 * cspi/spi_main.c: #include <stdio.h>
1207 * test/simple-at.c: ditto
1208 * test/event-listener-test.c: ditto
1209 * test/screen-review-test.c: ditto
1211 2003-05-30 Michael Meeks <michael@ximian.com>
1213 * test/test-simple.c (main): use CORBA_ORB_perform_work
1214 instead of an unnecessary linc_ call.
1216 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1218 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1219 Add SPI_STATE_INDETERMINATE.
1221 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1224 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1226 * libspi/stateset.c (init_state_type_tables): Add support for
1229 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1231 * configure: Update versions of atk and gail required.
1232 This fixes bug #113268.
1234 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1236 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1238 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1240 * libspi/Makefile.am:
1241 Ensure headers are generated before being used by c sources.
1243 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1246 Simplified lt versioning rules.
1247 Incremented version to 1.3.0, to indicate that we're on the
1248 unstable branch now.
1250 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1252 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1253 Add MKDB_OPTIONS=--outtput-format=xml
1255 * docs/reference/cspi/at-spi-cspi-docs.sgml
1256 docs/reference/idl/at-spi-idl-docs.sgml:
1257 Convert to Docbook XML.
1259 This fixes bug #111793.
1261 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1263 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1264 AcccessibleKeyEventType, AccessibleKeyMaskType.
1266 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1268 * cspi/state-types.h: Add documentation for AccessibleState.
1270 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1271 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1272 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1273 AccessibleComponentLayer.
1275 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1278 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1280 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1281 Accessible. Add description of AccessibleEvent,
1282 AccessibleEventListenerCB.
1284 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1287 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1288 documentation. Add description of AccessibleKeystrokeListenerCB,
1289 AccessibleKeyEventMask, AccessibleModifierMaskType,
1290 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1291 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1293 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1296 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1299 This fixes bug #104730.
1301 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1303 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1304 Set is_text field of Accessibility_DeviceEvent data structure.
1306 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1307 is-text field of AccessibleDeviceEvent data structure.
1309 This addresses part of bug #108666.
1311 * registryd/devcieeventcontroller.c: Unset debug option.
1313 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1315 * cspi/accessible.c:
1316 (cpi_initial_relation_type_table): New function which initializes
1317 mapping between Accessibility_RelationType and AccessibleRelationType.
1318 (cspi_relation_type_from_spi_relation_type): New function which
1319 translates an Accessibility_RelationType into an AccessibleRelationType.
1320 (AccessibleRelation_getRelationType): Use
1321 cpi_relation_type_get_spi_relation_type to return correct value.
1322 (spi_state_to_corba): Return correct type for default case.
1324 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1325 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1327 * cspi/cspi-bonobo-listener.c:
1328 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1331 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1332 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1333 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1334 libspi/image.c, libspi/listener.c, libspi/selection.c,
1335 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1336 registryd/desktop.c, registryd/registry.c:
1337 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1339 * libspi/eventlistener.c
1340 Remove semicolon after BONOBO_TYPE_FUNC.
1342 * libspi/relation.c:
1343 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1344 (spi_init_relation_type_table): Initialize using correct type.
1346 * registryd/desktop.c:
1347 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1348 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1349 of Accessibility_KeyEventType.
1351 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1354 * tests/simple-at.c, tests/screen-review-test.c:
1355 Add include for <strings.h>.
1357 * tests.stress-test.c:
1358 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1360 These changes fix compiler warnings when using FORTE compiler on
1361 Solaris; fixes bug #107479.
1364 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1367 * configure.in: revved to 1.1.10
1369 * libspi/keymasks.h:
1370 (SPI_KEYMASK_NUMLOCK): Added.
1372 * registryd/deviceeventcontroller.c:
1373 (spi_key_event_matches_listener): AND with a smaller
1374 bitmask (as we should).
1375 (spi_dec_translate_mask):
1376 New method, sets the virtual NumLock modifier bit
1377 if numlock is on. Eventually it can handle other virtual
1378 modifier bits if needed, or other marshalling from
1379 at-spi modifier masks to platform (X) masks.
1380 (spi_dec_key_listener_new):
1381 Call spi_dec_translate_mask to set up virtual mod bits
1382 in the 'mask' field when creating a new listener struct.
1383 (spi_dec_emit_modifier_event):
1384 Set the virtual (i.e. NumLock) bits before emitting event.
1385 (spi_controller_register_with_devices):
1386 Query for the NumLock modifier 'physical' bit if Xkb is
1387 present, for use in above methods.
1391 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1393 * registryd/deviceeventcontroller.c:
1394 (spi_keystroke_from_x_key_event):
1395 Instead of checking to see if the keysym is
1396 printable, check the string from XLookupString
1397 if available, get the first unicode character from it,
1398 and call g_unichar_isprint to determine whether the
1399 is_text flag should be TRUE or FALSE.
1403 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1405 * atk-bridge/bridge.c: Add support for extended events
1406 * cspi/spi_event.c: Add documentation and implementation for
1408 * tests/event-listener-test.c: Add tests for extended events.
1410 This fixes bugs #100424 and #100426.
1412 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1414 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1415 of LT_CURRENT. This fixes bug #89350.
1417 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1419 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1420 number of signal parameter values before accessing them. This fixes
1423 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1425 * configure.in: Fixed duplicate inclusion of -lspi.
1426 * branched for gnome-2-2/HEAD.
1427 [created tag "gnome-2-2"]
1429 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1431 * configure.in: 1.1.9 release.
1434 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1436 [needed by GOK, to fix bugs 107985 and 107988]
1437 * registryd/deviceeventcontroller.c:
1438 (spi_dec_clear_unlatch_pending):
1439 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1440 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1441 (spi_dec_init_mouse_listener):Emit warning if mouse button
1443 (spi_device_event_controller_forward_mouse_event):
1444 Removed unnecessary parens from a conditional.
1445 (global_filter_fn):Added TODO comment.
1446 (impl_generate_keyboard_event):
1447 Cancel a pending relatch if a 'delatching' key was
1450 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1452 * atk-bridge/bridge.c:
1453 Change atk_signal_child_changed to atk_signal_children_changed.
1454 Reorganize code in spi_atk_bridge_signal_listener().
1456 * test/event-listener-test.c:
1457 Add children_changed_listener and report_children_changed_event()
1458 to test AccessibleChildEvent_getChildAccessible.
1460 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1462 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1463 g_strdup to CORBA_String_dup (bug #105291)
1465 * test/event-listener-test.c (report_text_event): Add call to
1468 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1470 * registryd/deviceeventcontroller.c:
1471 (spi_keystroke_from_x_key_event):
1472 Fix string and keysym return codes to match modifier state.
1475 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1477 * registryd/deviceeventcontroller.c:
1478 (spi_keystroke_from_x_key_event):
1479 Fix segv due to improper use of isprint(c). [bug #107254]
1481 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1484 (get_accessible_text_boundary_type):
1485 Move default return value to (new) default case in switch.
1486 (get_accessible_text_clip_type):
1487 Move default return value to (new) default case in switch.
1489 * libspi/application.c:
1490 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1491 Remove unused methods.
1492 (impl_accessibility_application_register_object_event_listener):
1493 Remove unused methods.
1496 Added #include of <math.h>.
1498 * registryd/deviceeventcontroller.c:
1499 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1500 we don't currently use this method.
1501 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1503 (impl_generate_key_event):
1504 Remove unused variables.
1505 (impl_generate_mouse_event):
1506 Initialize button to zero, just in case we get an invalid
1507 input. Added support for mouse buttons 4 and 5.
1508 (spi_device_event_controller_new):
1509 Removed unused variable declaration for 'private'.
1511 Added #include of <gdk/gdk.h>
1513 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1515 * configure.in: Update to work when X is not installed in expected
1516 location. Fixes bug #105836.
1518 * atk-bridge/bridge.c
1519 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1521 (spi_atk_register_event_listener): Add signal listener for
1523 (spi_atk_bridge_signal_listener): Event event when link-selected
1524 signal is emitted. (bug #104622)
1526 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1527 on returned string. (bug #105291)
1529 * test/event-listener-test.c: Add test for link-selected.
1531 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1533 * atk-bridge/Makefile.am: Correct typo in previous commit.
1535 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1537 * atk-bridge/Makefile.am: Allow for build directory to be different
1538 from source directory
1540 * registryd/Makefile.am: Allow for build directory to be different
1541 from source directory
1545 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1548 Fixed dependencies for libcspi so that libspi gets pulled in
1549 properly. Fixes 104741.
1553 Clean up inline docs a little.
1555 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1557 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1558 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1559 the AtkObject within an SpiDesktop.
1560 This addresses bug #101524.
1562 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1563 Remove call to gdk_init().
1565 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1566 so that Display is set when SpiDesktop is created.
1568 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1570 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1571 This fixes bug #102830.
1573 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1575 * test/test-simple.c: Update to take account of fact that GailButton
1576 now implements AtkText.
1577 (create_text_window): Set name on AtkObject for GtkEntry.
1578 (validate_accessible): Check accessible name before calling test_text().
1580 * libspi/Makefile.am: Fix problem with building outside of source
1581 directory. Bug #98120.
1583 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1584 typo in documentation comments. Bug #94275.
1586 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1588 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1590 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1593 Add includes to avoid compiler warnings on Solaris.
1594 (impl_getRangeExtents): Bug fix.
1596 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1598 Fix for 100944, [API addition approved by Gman and murrayc].
1605 * idl/Accessibility_Text.idl:
1606 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1607 (Text::getRangeExtents): New method for efficient
1608 bounds query of a text range.
1609 (Text::getBoundedRanges): New method for efficient
1610 clipping of text to bounding boxes.
1611 (unImplemented7, unImplemented8):
1612 Removed these padding methods to preserve bincompat.
1615 (impl_getRangeExtents): implementation of new IDL.
1616 (impl_getBoundedRanges): implementation of new IDL.
1617 (SpiTextRect): Internal use struct.
1618 (_spi_text_rect_union): internal method, calculates union of two
1619 SpiTextRect bounding rects.
1620 (_spi_text_range_seq_from_gslist): internal method, allows us
1621 to build our sequence efficiently as a gslist then convert it
1623 (_spi_bounds_contain): internal method, determines whether
1624 a text character is "in" or "out" of a clip rect according to
1625 values of TEXT_CLIP_TYPE.
1626 (spi_text_class_init): Initialize the new methods in the epv.
1629 (AccessibleTextClipType): New enum used by screen review api.
1630 (AccessibleTextRange): New struct used by screen review api.
1631 (AccessibleText_getRangeExtents):
1632 cspi binding for Accessibility_Text_getRangeExtents.
1633 (AccessibleText_getBoundedRanges):
1634 cspi binding for Accessibility_Text_getBoundedRanges.
1635 (AccessibleTextRange_freeRanges): convenience method.
1638 (AccessibleText_getRangeExtents):
1639 cspi binding for Accessibility_Text_getRangeExtents.
1640 (AccessibleText_getBoundedRanges):
1641 cspi binding for Accessibility_Text_getBoundedRanges.
1642 (AccessibleTextRange_freeRanges): convenience method.
1643 (get_accessible_text_clip_type): internal conversion method.
1644 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1646 * registryd/deviceeventcontroller.c:
1647 (spi_dec_mouse_check):
1648 Improved behavior for mouse:abs events
1649 [same granularity as mouse:rel events, and no
1650 events when mouse is idle].
1652 2002-12-16 Michael Meeks <michael@ximian.com>
1654 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1656 * libspi/stateset.c (state_spi_to_atk): split out
1657 ( fix several remote array bounds nasties )
1658 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1659 (impl_remove): make safe from array bounds issues.
1660 (spi_atk_state_from_spi_state): impl.
1662 * libspi/stateset.h (spi_state_set_cache_is_empty):
1663 add a set of wrapper defines to get layering right.
1665 * cspi/spi_accessible.c: update state set stuff to
1668 2002-12-14 Michael Meeks <michael@ximian.com>
1670 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1671 to avoid 2 roundtrips to the registry per key event
1672 (spi_atk_bridge_key_listener): upd.
1673 (deregister_application): release the dec.
1675 * registryd/registry.c (notify_listeners_cb):
1676 bin lots of re-enterant complexity - we no longer
1677 do a round-trip bonobo ref here, ensure that a single
1678 listener's exception failure won't poison all other
1680 (impl_registry_notify_event): bin obvious memory leak.
1682 2002-12-13 Michael Meeks <michael@ximian.com>
1684 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1685 init the ev so the error is meaningful.
1686 (spi_atk_bridge_key_listener): ditto.
1688 * cspi/spi_main.c (cspi_ev): init the ev so we start
1689 with a clean slate, otherwise the first exception
1690 kills us completely.
1692 * cspi/spi_text.c (get_accessible_text_boundary_type):
1693 add a fallthrough for no warnings.
1695 * cspi/spi_registry.c: prune unused warnings.
1697 * cspi/spi_main.c (cspi_object_take): fix
1698 mind-blowing brokenness ( by watching the compile
1701 * cspi/spi_accessible.c (Accessible_getStateSet):
1702 re-impl. to use an AtkStateSet.
1703 (spi_state_type_from_accessible_state),
1704 (init_state_table): bin these.
1706 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1708 (atk_state_set_from_accessibility_state_set): here.
1710 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1711 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1712 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1713 (AccessibleStateSet_add, AccessibleStateSet_remove),
1714 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1715 (AccessibleStateSet_isEmpty): re-write to use a local
1718 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1720 * configure.in: Revved to 1.1.7 (new keymask vals).
1722 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1724 * libspi/keymasks.h:
1725 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1727 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1730 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1731 to compare two CORBA_TypeCodes.
1732 (cspi_internal_event_add): Silence warning from FORTE compiler.
1734 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1735 avoid implicit declaration of functions.
1737 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1739 * atk-bridge/bridge.c:
1740 (spi_atk_bridge_init_event_type_consts): Store signal id for
1741 active-descendant-changed signal.
1742 (spi_atk_register_event_listeners): Add signal listener for
1743 active-descendant-changed signal,
1744 (spi_atk_bridge_signal_listener): Move code in function
1745 spi_atk-signal_emit_event() into this function.
1746 Add support for active-descendant-changed
1747 Update support for child-changed signal.
1748 (spi_bridge_window_event_listener): Silence warning.
1750 * libspi/spi_private.[ch]:
1751 (spi_init_any_object): Change second parameter from CORBA_Object to
1753 Omit call to CORBA_Object_duplicate().
1754 Set CORBA_any's _value to CORBA_Object*.
1756 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1762 (AccessibleEvent_ref, AccessibleEvent_unref):
1763 New methods, for persisting an event outside the emission context.
1764 Must be used if the new accessor methods are to be called
1765 outside of the event listener's callback.
1767 * cspi/bonobo/cspi-bonobo.c:
1768 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1769 as second parameter instead of NULL, so we can call
1770 cspi_check_ev afterwards.
1773 (cspi_object_take): New internal method,
1774 converts a CORBA_Object reference to a hard ref on
1775 an Accessible if possible, returning NULL if the object
1776 reference is invalid or an Accessible * otherwise.
1779 (AccessibleEvent_ref):
1780 Increment the event's internal private refcount, and
1781 add the event's internal struct to an internal cache
1782 if it's not already there.
1783 (AccessibleEvent_unref):
1784 Decrement the event's refcount and remove it from
1785 the cspi event cache if refcount==0.
1786 (cspi_event_compare): New private method.
1787 Compares two event structs via their ids. Used
1789 (cspi_internal_event_lookup): New private method.
1790 (cspi_internal_event_check): New private method,
1791 a 0-order sanity check for events to make sure their
1792 private data is intact.
1793 (cspi_internal_event_add, cspi_internal_event_remove):
1794 New private methods for managiing the event cache.
1796 * cspi/bonobo/cspi-bonobo-listener.c:
1798 Initialize the new private data elements (id, magic, ref_count).
1800 * atk-bridge/bridge.c:
1801 (spi_atk_bridge_signal_listener):
1802 Fixed bug #100530, passing wrong params to emission func.
1804 * registryd/deviceeventcontroller.c:
1805 (spi_dec_button_update_and_emit):
1806 Fixed type in mask bit operations; fix for #99799.
1808 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1810 Removed some of the more dangerous workarounds from
1811 previous commit; they are only needed by GOK, which
1812 in reality should be using another method to accomplish
1813 the goals. So on reconsideration some of the workarounds
1814 need to be reverted:
1816 * registryd/deviceeventcontroller.c:
1817 (spi_keycodes_contain, spi_dec_init_keycode_list):
1818 Removed these methods, used only by a nasty hack to try
1819 and detect whether a key synthesis should be allowed
1820 to reset the XKB latch state or not. This code was only
1821 required to work around an interaction between GOK,
1822 button events, and XKB.
1823 (impl_generate_key_event):
1824 Removed hack at end of key generation that tried to
1825 "do the right thing" if XKB latch keys were generated
1826 in the midst of button press/release pairs.
1829 Added a check for HAVE_XINPUT. Not normally used yet.
1831 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1833 Workarounds and fixes for mouse event/XKB interaction.
1835 * registryd/deviceeventcontroller.c:
1836 (spi_keycodes_contain, spi_dec_init_keycode_list):
1837 New internal methods.
1838 (spi_dec_set_unlatch_pending):
1839 Split the method that tells XKB to expect an
1840 unlatch (and revert it) out of the rest of the
1841 event handling code. This method is called by the
1842 two mouse event handlers (the poll and the filter).
1843 (spi_dec_update_and_emit, spi_dec_mouse_check):
1844 New methods split from spi_dec_poll_mouse_moved.
1845 The second one is now called from inside the filterFn
1846 when an XKB delatch event is received, to determine
1847 whether to revert the delatch or not.
1848 (spi_poll_mouse_moved): Refactor; also we can now
1849 properly handle the case where multiple button states
1850 have changed between polling cycles and we didn't get
1851 notified due to another client's grab.
1853 Synchronize the server while handling an XKB notification.
1854 Ugly, but apparently necessary to avoid nasty races.
1855 Check the mouse state on receipt of an XKB latch change,
1856 to decide whether to revert the latch or not. (Latches are
1857 reverted if there is an immediately preceding mouse button
1858 event that a client has consumed, in which case we don't want
1859 the user to see the side-effect of the event).
1860 (spi_device_event_controller_forward_mouse_event):
1861 Check for modifier events and fire before resetting mouse_mask_state,
1862 prevents losing modifier events.
1864 (impl_generate_keyboard_event):
1865 If we've just generated a keyboard event for a non-shift key,
1866 we don't want to revert the pending XKB latch.
1867 Otherwise, check the modifier state (via a call to
1868 spi_dev_mouse_check) and set the relatch mask to
1869 that state before returning.
1871 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1874 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1877 * atk-bridge/bridge.c:
1878 (spi_atk_register_event_listeners):
1879 Don't re-register for ATK events if the registry has died
1880 and the app needs to re-register; the ATK listeners are in
1881 process and doing so will cause duplicate emission.
1883 * registryd/deviceeventcontroller.c:
1884 (spi_poll_mouse_moved):
1885 Reformat the source, detect and emit multiple button-change
1886 events (i.e. if multiple buttons have changed between poll
1888 Add code to detect mouse-down events even when the pointer
1889 is grabbed; workaround for GOK bug 98420.
1890 (spi_controller_register_with_devices):
1891 Call XTestGrabControl with 'impervious' flag set to True,
1892 allows us to synthesize events and query the pointer even during
1893 an active grab by another client.
1894 (spi_device_event_controller_forward_mouse_event):
1895 Set the mouse_mask_state to the mouse_button_state from
1896 the intercepted event, to synchronize the grab listener with
1899 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1901 * cspi/spi_accessible.c:
1902 (AccessibleRole_getName):
1903 Added necessary strings for making this (deprecated)
1904 method work with the new role types.
1905 (init_role_table, role_table):
1906 Added definition of SPI_ROLE_APPLICATION.
1908 * libspi/spi-roletypes.h:
1909 Added SPI_ROLE_APPLICATION.
1911 * idl/Accessibility_Role.idl:
1912 Added ROLE_APPLICATION.
1914 * docs/reference/cspi/at-spi-cspi-decl.txt:
1915 Added SPI_ROLE_APPLICATION to docs.
1917 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1919 * cspi/spi_accessible.c
1920 (cspi_init_role_table): Do not write beyond end of role_table.
1921 (Accessible_getRole): Use correct type for value returned by
1922 Accessibility_Accessible_getRole().
1924 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1925 beyond end of role_table. (This fixes bug #98269)
1927 * libspi/application.c: Add include file spi-private.h for
1928 definition of spi_init_any_nil.
1930 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1934 * libspi/spi-private.h:
1935 Added DGB() macro, and extern int _dbg declaration.
1937 * registryd/registry.c:
1938 (definitions) storage for _dbg.
1939 (spi_registry_init):
1940 Get environment variable "AT_SPI_DEBUG".
1941 (spi_registry_set_debug):
1942 New method, to initialize _dbg value.
1943 (spi_listener_struct_new, spi_registry_object_finalize):
1944 (notify_listeners_cb):
1945 Changed fprintfs to use DBG and g_warning().
1947 * registryd/deviceeventcontroller.c:
1948 (_deregister_keygrab, spi_controller_register_device_listener):
1949 Changed debug/warning messages to use DBG macro.
1951 * libspi/listener.c:
1952 (impl_notify_event):
1953 Changed warning messages to use DBG macro and g_warning().
1955 * atk-bridge/bridge.c:
1956 (atk_bridge_init, spi_atk_bridge_get_registry):
1957 (spi_atk_bridge_exit_func):
1958 (spi_atk_bridge_property_event_listener):
1959 Changed status, warning, and error messages to use
1960 g_warning, g_message, and DBG macros.
1963 Read the state of the AT_SPI_DEBUG environment variable
1964 and set a local '_dbg' accordingly.
1966 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1968 FIXES for 98836, 98842, other bugs.
1971 Revved to 1.1.4, interface-age=4, binary-age=4.
1973 * registryd/deviceeventcontroller.c:
1975 Fixed crasher bug in last_mouse_pos initialization.
1977 * registryd/registry.c:
1978 (desktop_add_application, desktop_remove_application):
1979 Added (and then commented out) some support for
1980 object context marshalling. [TODO]
1982 * atk-bridge/bridge.c:
1983 (spi_atk_bridge_event_context_create):
1984 Commented out object context creation until it can
1985 be properly tested and debugged.
1987 * registryd/registry.c:
1988 (impl_registry_notify_event):
1989 Fixed crasher bug, we were calling
1990 spi_re_entrant_list_foreach () with an empty list.
1992 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1994 * idl/Accessibility_Action.idl:
1995 * idl/Accessibility_Component.idl:
1996 * idl/Accessibility_Desktop.idl:
1997 * idl/Accessibility_Event.idl:
1998 * idl/Accessibility_Hyperlink.idl:
1999 * idl/Accessibility_Image.idl:
2000 * idl/Accessibility_Relation.idl:
2001 * idl/Accessibility_Selection.idl:
2002 * idl/Accessibility_State.idl:
2003 * idl/Accessibility_Value.idl:
2004 Updated unimplemented slot count to minimum of
2005 four for all interfaces, for ABI freeze.
2007 * idl/Accessibility_EditableText.idl:
2008 * idl/Accessibility_Text.idl:
2009 Updated unimplemented slot count to six
2012 * idl/Accessibility_Registry.idl:
2013 Updated unimplemented slot count to six
2014 (also for DeviceEventController),
2017 * idl/Accessibility_Table.idl:
2018 Updated unimplemented slot count to eight,
2021 * idl/Accessibility_Event.idl:
2022 Added CORBA_any "any_data" member to Event struct.
2024 * idl/Accessibility_Event.idl:
2025 Added CORBA_any "any_data" member to Event struct.
2027 * atk-bridge/bridge.c:
2029 atk_signal_text_changed, atk_signal_child_changed,
2030 signal ids queried from gtype system.
2031 (AtkBridgeEventContextType): New enum.
2032 (AtkBridgeEventContextData): New struct.
2033 (AtkBridgeEventContext): New struct.
2034 (atk_bridge_init_event_type_consts):
2035 New method, initializes type contants for comparison
2036 prior to emit_eventv.
2037 (atk_bridge_event_context_init): New method,
2038 initializes a CORBA_any from an AtkBridgeEventContext.
2039 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2040 initialize the event.any_data struct.
2041 (spi_atk_bridge_event_context_create): New method,
2042 creates an AtkBridgeEventContext from signal/event info.
2043 (spi_atk_bridge_event_context_free): New method.
2044 (spi_atk_emit_eventv): Changed to take an
2045 AtkBridgeEventContext parameter. We now initialize
2046 the event.any_data member prior to notifying the
2047 Registry, via the AtkBridgeEventContext.
2048 (spi_atk_bridge_property_event_listener):
2049 (spi_atk_bridge_state_event_listener):
2050 Match emit_eventv signature.
2051 (spi_atk_bridge_object_event_listener):
2052 Match emit_eventv signature, and create an
2053 event context from the event details.
2054 Free the event context afterwards.
2055 (spi_atk_bridge_window_event_listener):
2056 Create an event context, pass it to the
2060 (AccessibleEvent_getContextString):
2061 (AccessibleEvent_getContextObject):
2062 New methods, allow query of AccessibleEvent objects
2063 for more context details (via the "any_data" member
2064 of the Event struct, above).
2067 Definitions for AccessibleEvent_getContextString
2068 and AccessibleEvent_getContextObject.
2070 * cspi/spi_listener.h:
2071 (InternalEvent): New struct.
2074 (AccessibleEvent_getContextString):
2075 (AccessibleEvent_getContextObject):
2076 Implementations of new methods, for obtaining
2077 additional context information from some event types.
2079 * cspi/spi_registry.c:
2080 (SPI_registerGlobalEventListener):
2081 Added mention of active-descendant-changed event in docs.
2083 * cspi/cspi-bonobo-listener.c:
2085 Marshal the any into the AccessibleEvent via
2088 * libspi/spi-private.h:
2089 #include <orbit/orbit.h>
2091 (spi_init_any_string):
2092 (spi_init_any_object):
2093 New convenience function declarations.
2097 (spi_init_any_string):
2098 (spi_init_any_object):
2099 New convenience function implementations.
2101 * registryd/deviceeventcontroller.c:
2102 (spi_poll_dec_mouse_moved):
2103 (spi_device_event_controller_forward_mous_event):
2104 Initialize any_data member of event.
2105 (spi_deregister_controller_device_listener):
2106 Fix incorrect param pass which was preventing deregistration.
2108 * registryd/registry.c:
2109 (desktop_add_application):
2110 (desktop_remove_application):
2111 Add object data to event's any_data before dispatch.
2113 Fix for error messages from GAIL.
2115 * test/event-listener-test.c:
2116 Test new ContextString and "any_data" API:
2117 (report_text_event): New method query and output context string.
2118 (main): register a new text listener with report_text_event
2121 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2123 Fixes for bugs 98127 and 97914.
2124 * cspi/spi-roletypes.h:
2125 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2127 * cspi/spi-statetypes.h:
2128 Added SPI_STATE_MANAGES_DESCENDANTS
2130 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2131 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2132 * cspi/spi_accessible.c:
2133 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2134 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2135 Accessibility_STATE_MANAGES_DESCENDANTS
2136 * libspi/accessible.c:
2137 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2138 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2139 As requested by Bill, I also cleaned up the alignment.
2140 * libspi/relation.c:
2141 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2142 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2143 * libspi/stateset.c:
2144 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2145 Accessibility_STATE_MANAGES_DESCENDANTS
2146 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2147 Document changes reflecting modifications to roles.
2148 * docs/reference/cspi/tmpl/spi_relation.sgml:
2149 Document changes reflecting modifications to relations.
2150 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2151 Document changes reflecting modifications to states.
2153 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2156 Revved to 1.1.3, interface-age=3, binary-age=3.
2157 Added REBUILD macro.
2160 Removed accessx-gui from the tests, since we have a nice
2161 keyboard accessibility capplet now :-)
2163 * test/keysynth-demo.c:
2164 (increment_scan): removed do-nothing default: case,
2167 * test/visual-bell.c:
2168 (main) : removed do-nothing default: case,
2171 * cspi/spi_action.c:
2172 (AccessibleAction_getKeyBinding_):
2173 Documented keybinding string format.
2177 (AccessibleText_getAttributes):
2178 Documented the text attribute string format.
2179 It's changed to use semicolon delimiters also,
2180 to prevent clashes with CSS attributes, but the old
2181 trick of looking for ", " strings will still work
2182 (as unreliably as ever). Fix for bug related to 97916.
2185 Include <cspi/bonobo/cspi-bonobo-listener.h>
2186 Fixes build warning.
2187 (SPI_freeAccessibleKeySet):
2188 (AccessibleKeystrokeListener_addCallback):
2189 (AccessibleKeystrokeListener_removeCallback):
2190 Modify to use AccessibleDeviceListener API internally,
2191 instead of AccessibleKeystrokeListener.
2193 * idl/Accessibility_Event.idl:
2194 Added two more empty slots to EventListener (for a total of four).
2196 * idl/Accessibility_Accessible.idl:
2197 Added four empty slots to Accessible interface.
2199 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2201 * idl/Accessibility_Registry.idl:
2202 (KeyEventType, EventType):
2203 Marked KeyEventType as deprecated; it duplicates
2204 functionality of EventType, which has been extended to
2205 include Mouse-button events.
2206 (KeyEventTypeSeq): defined in terms of EventType.
2207 (registerDeviceEventListener, deregisterDeviceEventListener):
2208 New methods, for managing listeners to device events,
2209 which potentially may consume them.
2212 Added definition for AccessibleDeviceListener.
2214 * cspi/spi-listener.h:
2215 (enum AccessibleDeviceEventType):
2216 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2217 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2218 for backwards compat.
2219 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2220 and typedef'd AccessibleKeystroke to it for back-compat.
2221 (AccessibleDeviceListenerCB):
2222 New function prototype typedef.
2225 (AccessibleDeviceEventMask): New typedef.
2226 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2227 (AccessibleKeyMaskType):
2228 Set equivalent to AccessibleModifierMaskType for back-compat.
2229 (SPI_createAccessibleKeystrokeListener):
2230 (AccessibleKeystrokeListener_unref):
2231 Deprecated in favor of equivalent (better-named) new API below..
2232 keystroke listeners are like all device listeners.
2233 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2234 New API names for old features :-).
2235 (AccessibleDeviceListener_addCallback):
2236 (AccessibleDeviceListener_removeCallback):
2237 (SPI_registerDeviceEventListener):
2238 (SPI_deregisterDeviceEventListener):
2242 (SPI_createAccessibleKeystrokeListener):
2243 Use new preferred API, cspi_device_listener_new() and
2244 cspi_device_listener_add_cb().
2245 (AccessibleKeystrokeListener_removeCallback):
2246 Use new preferred API, cspi_device_listener_remove_cb().
2247 (AccessibleKeystrokeListener_unref):
2248 Use new preferred API, cspi_device_listener_unref().
2249 (SPI_createAccessibleDeviceListener):
2250 (AccessibleDeviceListener_addCallback):
2251 (AccessibleDeviceListener_removeCallback):
2252 Implementation of new API.
2254 * cspi/spi_registry.c:
2255 (SPI_registerDeviceEventListener):
2256 (SPI_deregisterDeviceEventListener):
2257 Implementation of new API. Fixed memory leak and removed need to
2258 allocate EventTypeSeq (thanks Michael for catching this).
2259 Squashed a wayward CORBA_exception_free that shouldn't get called.
2261 * cspi/bonobo/cspi-bonobo-listener.c:
2263 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2264 (cspi_key_event): renamed to cspi_device_event().
2265 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2266 Extended to handle mouse button events as well as key events.
2267 (CSpiKeystrokeListener):
2268 Class superceded by CSpiDeviceListener.
2269 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2270 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2272 * cspi/bonobo/cspi-bonobo-listener.h:
2273 (CSpiKeystrokeListener):
2274 Class superceded by CSpiDeviceListener.
2275 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2276 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2278 * libspi/Makefile.am:
2279 Replaced keystrokelistener.h and keystrokelistener.c
2280 with devicelistener.h and devicelistener.c; keystrokelisener.h
2281 stub retained for back-compat.
2283 * libspi/keystrokelistener.c:
2287 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2289 * registryd/deviceeventcontroller.c:
2290 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2291 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2292 (DEControllerPrivateData): Added xkb settings data.
2293 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2294 button release events (which can't be captured via XGrabButton).
2295 Don't dispatch via the 'normal' event mechanism if the device event was
2297 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2298 Handle the typeseq data in its new location (see above).
2299 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2300 New methods, for "generic" device listeners.
2301 (spi_controller_register_device_listener):
2302 Now handle mouse event listeners as well as key listeners.
2303 (spi_controller_notify_mouselisteners):
2304 New internal method.
2305 (spi_device_event_controller_forward_mouse_event):
2306 Now we notify mouse device listeners as well as generating the
2307 non-consumable "mouse:" events.
2309 We must check and restore the XKB
2310 modifier map if we consume the event, since the act of triggering
2311 a mouse event will normally reset the XKB latch. This is required for
2313 (spi_controller_register_with_devices):
2314 Load the XKB settings when registering, and register for XKB
2315 state notify events.
2316 (spi_key_eventtype_seq_contains_event):
2317 Renamed spi_eventtype_seq_contains_event, since it's used
2318 internally for all device event types now.
2319 (spi_key_event_matches_listener):
2320 Uses spi_eventtype_seq_contains_event now.
2321 (spi_device_event_controller_object_finalize):
2322 Free the private data and the XkbKeyboard struct.
2323 (impl_register_device_listener, impl_deregister_device_listener):
2324 Implementation of new IDL.
2325 (spi_deregister_controller_device_listener):
2326 New internal method.
2327 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2328 More efficient implementation, we don't have to create a new
2329 XkbControls structure every time we query.
2330 (spi_device_event_controller_class_init):
2331 Initialize the epv entries for the new IDL. Assign the
2332 "spi-dec-private" quark.
2333 (spi_device_event_controller_init):
2334 Initialize the private data.
2335 (spi_device_event_controller_forward_key_event):
2336 Removed a bogus CORBA_exception_free() call.
2338 * registryd/deviceeventcontroller.h:
2339 Replaced inclusion of keystrokelistener.h with
2342 * test/event-listener-test.c:
2343 (report_mouse_event):
2346 Added mouse-event device listener.
2348 * test/test-simple.c:
2349 (create_test_window):
2350 Fixed regression (we were instantiating a GtkRange,
2351 which is now an abstract class). Also fixed to match
2352 existing AtkRole names, this seems to have changed in ATK
2353 awhile ago; too late now I think, and the new
2354 mechanism is at least elegant and consistent with the
2355 glib enum "nick" APIs.
2357 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2359 * idl/Accessibility_Relation.idl:
2360 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2361 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2362 * idl/Accessibility_Role.idl:
2363 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2364 * idl/Accessibility_State.idl:
2365 add STATE_MANAGES_DESCENDANTS
2366 * test/event-listener-test.c:
2367 Added a listener for active-descendant events.
2369 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2371 * atk-bridge/bridge.c
2372 (atk_bridge_init): If application is Bonobo component wait until top
2373 level is added before registering
2374 (spi_atk_bridge_do_registration): New function which contains code,
2375 formerly in atk_bridge_init, to do application registration.
2376 (spi_atk_bridge_toplevel_added): Signal called when top level
2377 added to Bonobo component
2379 This fixes bug #83134.
2381 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2383 * registryd/deviceeventcontroller.c
2384 Fixed compilation error caused by calling gettimeofday()
2387 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2392 Added template for HAVE_XKB.
2395 Changes to check for XKB, and to set the HAVE_XKB #define if it
2398 * libspi/listener.c:
2399 ()impl_notify_event): Make failure to get event source name
2402 * registryd/deviceeventcontroller.c:
2403 (#include): include X11/XKBlib.h.
2404 (DEControllerPrivateData) : New struct.
2405 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2407 (dec_synth_keycode_press) (dec_synth_keycode_release):
2408 New methods; split the key synthesis code into these methods.
2409 They check XKB settings before determining the "time" values to
2410 pass to Xtest; this fixes bug #95828.
2411 (impl_generate_keyboard_event): Changed to use methods above,
2412 instead of callng Xtest directly.
2413 (spi_device_event_controller_init): Initialize new privae struct s
2415 (spi_device_event_controllr_object_finalize):
2416 Free the (new) private data.
2418 * registryd/deviceeventcontroller.h:
2419 Add new gpointer to end of struct data.
2421 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2424 Incremented revision to 1.1.2, SONAME is still '.so', library
2425 extensions are ".so.0.0.2".
2427 * registryd/deviceeventcontroller.c:
2428 FIXES FOR #93592 and #95940.
2429 (statics): renamed mouse_button_state to mouse_mask_state,
2430 added key_modifier_mask.
2431 (spi_dec_poll_mouse_moved):
2432 Added key modifier checks, and emit "keyboard:modifiers"
2433 events when the key modifiers currently in use change.
2434 Also generate "mouse:abs" events periodically, even if the mouse
2435 is stationary (should we?).
2436 Alternatively we could generate "mouse:abs" events for either all
2437 mouse movements, or every 'nth' mouse movement, or at the
2438 beginning and end of every "active" mouse period.
2440 * test/event-listener-test.c:
2441 (main): Added listener for "keyboard:modifiers" events.
2443 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2445 * libspi/keymasks.h:
2446 Added key mask #defines for mouse buttons; e.g.
2447 SPI_KEYMASK_BUTTON1, etc.
2450 Incremented dependency on ATK to version 1.1.0. (This dependency
2451 is probably premature but will soon be real enough).
2453 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2455 * libspi/hyperlink.[ch]
2456 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2457 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2460 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2465 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2467 * registryd/deviceeventcontroller.c
2468 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2469 events to be ignored.
2470 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2471 keyboard_mode so that XAllowEvents() can be called.
2475 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2477 * cspi/spi-accessible.c: Correct names of roles returned by
2478 AccessibleRole_getName(). Fixes bug #95055.
2480 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2482 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2485 * registryd/registry.c
2486 (desktop_remove_application: Write diagnostic message to stderr for
2489 (impl_accessibility_registry_deregister_global_event_listener):
2490 Correct size of lists array. This addresses bug #94555).
2492 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2494 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2497 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2499 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2502 * registryd/registry.c (impl_registry_notify_event): Remove
2503 unnecessary call to parser_event_type().
2505 * docs/reference/cspi/tmpl/spi_component.sgml:
2506 Add reference to SPI_LAYER_WINDOW.
2508 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2510 * registryd/registry.c
2511 (desktop_add_application): Remove leak.
2512 (desktop_remove_application): Remove leak.
2513 (parser_event_type): Remove leak.
2515 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2517 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2518 bogus call to CORBA_string_dup(). Also removed unnecessary
2519 g_string_dup/g_free calls.
2521 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2523 * registryd/deviceeventcontroller.c:
2524 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2526 * test/event-listener-test.c:
2527 main: commented out three redundant listeners, to reduce output
2528 noise. (They still are potentially useful for testing).
2531 2002-09-13 Michael Meeks <michael@ximian.com>
2533 * Update all the copyrights to include Ximian.
2535 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2537 * cspi/spi.h: add SPI_LAYER_WINDOW.
2539 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2540 add Accessibility_LAYER_WINDOW case.
2542 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2544 * libspi/component.c: (impl_accessibility_component_get_layer):
2545 add ATK_LAYER_WINDOW case.
2547 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2549 * configure.in: incremented micro version.
2551 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2553 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2556 Clarified and reworded our commit policy.
2559 Started an API "todo" addition list for 2.2.
2562 (impl_getSelection):
2563 Free char pointer from atk_text_get_selection, which was being leaked.
2565 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2568 Small revision to author acknowledgement.
2570 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2572 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2573 If signal has detail add it to the type of the event.
2576 2002-08-12 Michael Meeks <michael@ximian.com>
2578 * test/test-simple.c (global_listener_cb): bin bogosity.
2579 (test_keylisteners): disable, still doesn't work reliably,
2580 certainly not on my system anyway.
2582 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2583 don't leak a reference on the DEC. This round-trip
2584 fetching of the DEC per keystroke sucks, it should be
2587 * cspi/spi-private.h,
2588 * cspi/cspi-lowlevel.h,
2589 * cspi/bonobo/cspi-bonobo-listener.[ch],
2590 * cspi/bonobo/cspi-bonobo.c: get the copyright
2591 notices better - there is still a large amount of
2592 work in at-spi falsely attributed solely to Sun.
2594 * cspi/spi_main.c (cspi_object_ref): kill bogus
2595 hash lookup, just increment the ref.
2596 (SPI_freeString): make explicit the fact that we
2597 handle NULL strings just fine.
2598 (report_leaked_ref): obey coding standards.
2599 (cspi_object_hash, cspi_object_equal): kill retval.
2600 (cspi_object_release): only release if not on loan.
2601 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2602 (cspi_object_borrow, cspi_object_return): impl.
2604 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2605 use cspi_object_borrow / return.
2607 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2609 * cspi/bonobo/cspi-bonobo-listener.c:
2611 Don't call cspi_oject_new() because this is creating a new Accessible
2612 every single time that an event is fired. This causes ATs like at-poke
2613 to nolonger recognise the source of the event and thus ignore it.
2614 Re-use the object from the cache, ref it and then unref it after the
2615 listeners have been called.
2617 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2619 * test/event-listener-test.c:
2620 Added command-line options to disable mouse events (m) and
2623 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2625 * configure.in: Update required versions of ATK, GTK+ and GAIL
2627 * cspi-1.0.pc.in: Add dependency for X include files
2630 * cspi/bonobo/Makefile.am:
2631 Add $(X_CFLAGS) so that X include files
2632 are picked up even if not in standard place (bug #71686)
2634 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2636 * registryd/deviceeventcontroller.c: fix for 84261
2637 (spi_dec_mouse_moved):
2638 Added test of mouse button mask, so that we can detect mouse
2639 button release. Unfortunately we can't otherwise detect mouse
2640 button release events without consuming the mouse press event,
2641 because of the way XGrabButton works. This means that our mouse
2642 release events have a latency dependent on the polling period
2643 while the mouse button is down. At least in this case we only
2644 have to poll while the button is down, and not at other times.
2645 If the button masks don't match with what the last press event
2646 reported, we report the appropriate button release event.
2647 (spi_dec_ungrab_mouse):
2648 New method (not yet called).
2649 (spi_device_event_controller_forward_mouse_event):
2650 New method, sends mouse press event from GdkFilter.
2651 (spi_dec_init_mouse_listener):
2652 Added code to call XGrabButton, redirecting mouse button events to
2653 the root window and our Gdk event loop.
2655 Added code to filter mouse button events, and reordered.
2657 * test/event-listener-test.c:
2659 Added registration for mouse events of type "mouse:button".
2661 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2663 * registryd/deviceeventcontroller.c: partial fix for 84261
2664 (spi_dec_poll_mouse_idle):
2665 New method, a timeout which checks to see if the mouse
2667 (spi_dec_poll_mouse_moving):
2668 A timeout to be called when mouse motion is underway.
2669 (spi_dec_poll_mouse_moved):
2670 A method which fires an event if the mouse has moved, and reports
2671 whether or not it did so.
2672 (spi_dec_init_mouse_listener):
2673 A method which sets up the timeouts above.
2674 (spi_device_event_controller_new):
2675 Now calls spi_dec_init_mouse_listener.
2677 * registryd/registry.c:
2678 (spi_registry_init):
2679 Now we initialize the device event controller when the registry is
2680 initialized, instead of waiting until a client has requested a key
2681 event notification; this is because we need the event controller
2682 for mouse events, but the mouse event registration API is a
2683 "registry" call and doesn't explicitly call the
2684 deviceeventcontroller.
2685 We now report mouse motion events with a 100 ms idle latency and
2686 a 20 ms granularity when motion is in progress.
2688 * test/event-listener-test.c:
2690 We now register the "detail listener" for events of type
2691 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2692 delivered only for the first mouse event received, and thereafter
2693 "mouse:abs" events are delivered.)
2695 * cspi/spi_registry.c:
2696 DOCS: Documented the above mouse event typestrings.
2698 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2700 Happy Summer Solstice...
2702 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2703 (spi_controller_notify_keylisteners):
2704 Changes to remove a listener from the listener list, freeing its
2705 open keygrabs, if a notification to that listener fails. This
2706 means that although a dead listener can continue to hold a passive
2707 keygrab, a maximum of one dispatch to such a listener can fail
2708 before the listener is removed from the list, thus the keygrab
2709 will be released on the next occurrence.
2710 As part of this fix:
2711 (spi_notify_keylisteners):
2712 Renamed to spi_controller_notify_keylisteners, as the controller
2713 instance must now be passed as an argument.
2714 The copied 'notify' GList is now a list of DEControllerKeyListener
2715 objects, since we need more than just the CORBA reference if a
2716 notify fails and we need to deregister the listener.
2717 (impl_notify_listeners_sync):
2718 (impl_notify_listeners_async):
2719 (spi_device_event_controller_forward_key_event):
2720 Modify use of notify_keylisteners in accordance with above
2722 (spi_deregister_controller_key_listener):
2723 New method introduced by refactoring, from
2724 impl_deregister_keystroke_listener.
2725 (impl_deregister_keystroke_listener):
2726 Call spi_deregister_controller_key_listener.
2727 (spi_key_listener_clone):
2728 New method to copy a key listner without doing a 'ref' on the
2729 remote object instance; used to create a notifier list.
2730 (spi_key_listener_data_free):
2731 New method, frees data without unreffing the source.
2733 (spi_key_listener_clone_free): new method.
2734 (spi_key_listener_free):
2735 refactored to call spi_key_listener_data_free.
2737 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2739 * registryd/registry.c: [fix for bug 86048]
2740 (notify_listeners_cb):
2741 Clear CORBA system exceptions which occur when notifying
2742 listeners, before returning to the source of the original event,
2743 since the event source doesn't care if the relayed notify failed.
2744 In other words, don't complain to the atk-bridge if the registry
2745 could not notify all its listeners, that's no fault of the
2746 application and thus should not appear to be an error from the
2747 application's perspective.
2749 * cspi/spi_main.c: [fix for bug 85980]
2751 Replaced use of bonobo_object_dup_ref with call to the wrapper
2752 method, csou_dup_ref (); this silences a compiler warning and
2753 provided more portability.
2755 Ping the registry before return, and restart if necessary.
2757 * cspi/bonobo/cspi-bonobo.c:
2759 New internal method.
2761 Fixed this method to return an object reference, as it should have
2764 * cspi/cspi-lowlevel.h:
2765 Added internal definition for cspi_ping() and fixed
2766 return type of cspi_dup_ref().
2769 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2771 * atk-bridge/bridge.c: [fix for bug 85305]
2772 (spi_atk_bridge_register_application):
2773 New method where the initial application registry calls have been
2774 moved; it allows an application to re-register in response to
2775 certain error conditions (such as a registry restart, see below).
2777 Moved some initialization code to the method
2778 spi_atk_bridge_get_registry, below.
2779 (spi_atk_bridge_get_registry):
2780 New, private accessor function for the Accessibility_Registry
2781 instance. If the registry has not been started before, or has
2782 died (as detected by failure of a CORBA exception), it is
2783 restarted before return, and spi_atk_bridge_register_application
2784 is called again to register with the new bridge instance.
2785 (spi_atk_emit_eventv):
2786 Set registry_died on error; use spi_atk_bridge_get_registry () to
2787 access the registry.
2789 * registryd/registry.c:
2790 (impl_accessibility_registry_register_global_event_listener):
2791 Set listener's event_type_quark to etype.minor instead of
2792 etype.major (fix for bug 84856).
2794 * test/event-listener-test.c:
2795 (report_detail_event):
2796 Change the output string so that user/tester can tell that the
2797 'detail listener' was called instead of the 'generic listener'.
2799 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2801 Fixes for bugs 84900, 84908, 84897, 84898.
2806 Revved version to 1.1.0
2807 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2808 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2810 * idl/Accessibility_Registry.idl:
2811 (EventListener::notifyEvent):
2812 Removed 'oneway' directive after extensive consulation with
2813 ORBit2 team and others. This means also that unref() of the event
2814 source can and should be done synchronously after emission, rather
2815 than remotely in the client, after servicing the notify call on
2818 NOTE: This change speeds up listener performance considerably, but
2819 introduces new latency on the application side. We may want to
2820 add an event queue to the atk-bridge.
2822 * atk-bridge/bridge.c:
2823 (spi_atk_bridge_focus_tracker):
2824 Do a local unref() on the event source after emission.
2826 * registryd/registry.c:
2827 (desktop_remove_application):
2828 Do an unref() on the event source after emission.
2829 (desktop_add_application):
2830 Do an unref() on the event source after emission.
2831 (notify_listeners_cb):
2832 When relaying an event, don't automatically add the event source
2833 to the local object cache, just CORBA_dup it instead. Likewise,
2834 if this method reenters, release the ref rather than calling
2836 (impl_registry_notify_event):
2837 No longer call remote unref() on the event source after dispatch.
2839 * libspi/eventlistener.c:
2840 (impl_accessible_event_notify_event):
2841 Removed remote unref ()
2843 * cspi/bonobo/cspi-bonobo-listener.c:
2845 We now call cspi_object_new() instead of cspi_object_add() on
2846 receipt of an event; thus we only have an implicit object ref
2847 while the cspi_event method is being executed. If we need to keep
2848 a reference to the object, the listener must call ref() on the
2849 object. Thus also we don't need to call cspi_object_unref() after
2850 invoking the listener callbacks in this method.
2854 New internal API for creating a new cspi object, without adding it
2855 to the object cache.
2857 Now uses cspi_object_new() to create the cspi object instance.
2859 Now checks to see if the object is in the internal object cache,
2860 and adds it if necessary before incrementing its refcount (note
2861 that new objects are added with a refcount of 1).
2862 (report_leaked_ref):
2863 New method which gives some information on leaked object instances
2864 if leak detection is turned on.
2866 * test/event-listener-test.c:
2867 (timing_test_event):
2868 New method, used for testing event delivery timing for special
2869 events of type "object:test". It reports elapsed time and
2870 events/sec every 500 events.
2872 Added a new listener, 'test listener', to check timing of event
2873 receipt as noted above.
2875 Added some timing output here also, reports elapsed time every 100
2878 * test/stress-test.c:
2879 Emit events of type "object:test", for use with "event-listener-test".
2881 * test/test-simple.c:
2882 (global_listener_cb):
2883 Call Accessible_ref() on the event source before calling
2884 validate_accessible, since the validation process does pointer
2885 comparisons on the event source, meaning that the event source
2886 needs to be added to the local object cache first. Any use of
2887 such pointer comparisons between Accessible objects requires that
2888 the caller hold an explicit reference to those objects.
2889 We also must therefore call Accessible_unref() when leaving this method.
2891 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2893 * registryd/deviceeventcontroller.c:
2894 (spi_controller_update_key_grabs):
2895 Fix for #84735, subsequent keygrab listeners not informed of
2896 registration failure.
2899 (spi_base_construct):
2900 Add an assertion on construct, to make sure the GObject passed in
2901 is really a GObject.
2903 Explicitly initialize object->gobj pointer to NULL;
2905 * cspi/bonobo/cspi-bonobo-listener.c:
2906 (cspi_object_add_ref):
2907 New method, can specify whether to dup-ref a bonobo object passed
2908 in if it's newly added to the object cache.
2910 Now calls cspi_object_add_ref with second param of "FALSE". This
2911 prevents us from doing a pointless dup-ref followed by
2912 release-unref for all those cases where the object is already in
2913 our object cache (fix for #85205).
2915 * atk-bridge/bridge.c:
2916 (spi_atk_bridge_idle_init):
2917 Removed this method, we don't need to initialize in an idle
2920 Changed to call spi_atk_register_event_listeners directly, not via an
2921 idle handler. (fix for #81139)
2922 (gnome_accessibility_module_shutdown):
2923 Removed conditional around deregistration of listeners, since we
2924 don't use the idle handler and thus have always registered when
2926 (spi_init_keystroke_from_atk_key_event):
2927 Changed references to Accessibility_KEY_PRESSED to
2928 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2930 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2932 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2937 * test/stress-test.c:
2940 (may have been an incomplete commit yesterday?)
2942 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2945 Added target for new stress-test.
2947 * test/stress-test.c:
2948 New test, sends 1000 focus notifies in quick succession.
2950 * test/key-listener-test.c:
2951 Now we report whether a keylistener registration
2952 request succeeded or failed.
2954 * test/event-listener-test.c:
2955 Uncommented some listeners which are now implemented.
2958 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2960 * registryd/deviceeventcontroller.c:
2961 (spi_controller_update_key_grabs):
2962 Fix for #82509, lack of failure notification when
2963 ALL_WINDOWS keygrabs fail due to XGrabKey
2964 failure: we synchronize the server when
2965 registering a passive grab, to make sure we get the
2966 error message before the call returns.
2968 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2970 * test/test-simple.c:
2972 Removed #ifdef KEY_IMPL_WORKS guards.
2973 (test_keylisteners):
2974 Removed #ifdef KEY_IMPL_WORKS guards.
2975 Fixed bug which was causing a hang waiting for a
2976 "press" event (which was already overwritten by a "release"
2977 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2979 Added code to set globals 'key_press_received' and
2980 'key_release_received'.
2983 Added section "1.1 API Proposed Additions" which
2984 lists API additions desired for at-spi-1.1 (only one so far).
2985 Updated TODO list a little.
2987 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2989 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2992 * configure.in: Revved to 1.0.0.
2994 * idl/Accessibility_Registry.idl:
2995 (registerKeystrokeListener):
2996 Added boolean return value.
2998 * registryd/registry.c:
2999 (notify_listeners_cb): Minor fix to debug output.
3001 * registryd/Accessibility_Registry.server.in.in:
3002 Revved version number in OAFIID to 1.0.
3004 * registryd/registryd.c:
3006 Use new OAFIID version.
3008 * cspi/bonobo/cspi-bonobo.c:
3010 Use new OAFIID version.
3016 * atk-bridge/bridge.c:
3018 Use new OAFIID version.
3020 * registryd/deviceeventcontroller.c:
3021 (impl_register_keystroke_listener):
3022 Added CORBA_boolean return value.
3023 (spi_controller_register_device_listener):
3024 Added gboolean return value.
3025 (spi_controller_register_global_keygrabs):
3026 Added gboolean return value.
3027 (spi_key_set_contains_key):
3028 Added implementation for many more control keys,
3029 for instance F1-F12, arrow keys, End, Home, Page_Up,
3031 [TODO: some still not implemented].
3033 * text/screen-review-test.c:
3034 (text_chunk_pad_string):
3035 New function: it provides mapping between coordinate
3036 positions of text chunks and character positions in the
3037 screen-review-line output string.
3038 (text_chunk_to_string):
3039 New function, calls text_chunk_pad_string with various
3040 pad/delimiter characters. Pushbuttons are delimited with
3041 square brackets, Frames with vertical 'pipe' lines, and
3042 other text with double quotes.
3043 (text_chunk_list_to_string):
3044 Calls new function text_chunk_to_string.
3045 (toplevel_composite):
3046 New function to composite layers CANVAS through
3047 POPUP in each toplevel (other layers are composited
3048 across toplevels, i.e. BACKGROUND and OVERLAY).
3049 (review_buffer_composite):
3050 Revise to use new methods.
3056 2002-05-31 Laszlo Peter <laca@sun.com>
3058 * configure.in: add the Xtst libdir to the runpath on Solaris,
3059 since it's not in the default library search path.
3061 2002-05-29 jacob berkman <jacob@ximian.com>
3063 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3065 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3067 * test/screen-review-test.c:
3068 (text_chunk_pad_string):
3069 Added method, which pads the string according to the
3070 text bounds of the chunk. It also takes a 3-character
3071 string as a param which indicates the characters to be
3072 used for start, padding, and end delimitation of the chunk.
3073 (text_chunk_to_string):
3074 Changed to use text_chunk_pad_string.
3076 * configure.in: Fixed bug in AC_OUTPUT that was
3077 causing path substitution in Accessibility_Registry.server
3080 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3082 * text/screen-review-test.c:
3083 (guess_string_clip):
3084 New method which attempts a best-guess at clipping
3085 text from components (like Java labels) which don't
3086 actually implement AccessibleText. This inaccurate
3087 clip is based on the assumption that the label is
3088 justified left-and-right, and monospaced.
3089 (text_chunk_get_clipped_string):
3090 We now call guess_string_clip() for text-containing
3091 components that don't implement AccessibleText.
3093 * test/screen-review-test.c:
3094 (review_buffer_get_text_chunk):
3095 We now pull "name" from labels if they do not implement
3096 AccessibleText (i.e. for Java labels).
3097 (get_screen_review_line_at):
3098 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3101 Replaceded AC_OUTPUT target
3102 registryd/Accessibility_Registry.server with
3103 registryd/Accessibility_Registry.server.in.
3105 * registryd/Accessibility_Registry.server.in:
3106 Removed (this is now a Makefile target).
3108 * registryd/Accessibility_Registry.server.in.in:
3109 Added (source for target above). We now use $(libexecdir) as
3110 prefix for the executable at-spi-registryd.
3112 * registry/Makefile.am:
3113 Now install at-spi-registryd into $(libexecdir), and build .server
3114 file with path (see above).
3116 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3118 * test/screen-review-test.c:
3119 (text_chunk_get_clipped_string):
3120 We now check to see if words fall within clip bounds
3121 before resorting to character-by-character clip bounds testing.
3123 * TODO: Added a section for "2.2 Proposed API Additions".
3125 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3127 * test/screen-review-test.c:
3129 Added a screen review benchmarking and test program to test
3132 * cspi/spi_accessible.c:
3134 Made some of the debug strings passed to cspi_check_ev a
3135 little more specific.
3137 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3139 * test/screen-review-test.c: Fix crashes in debug statements
3141 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3143 * test/screen-review-test.c: Added this file.
3145 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3147 * atk-bridge/bridge.c: changed "object:state-change" to
3148 "object:state-changed" to match docs.
3150 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3152 * atk-bridge/bridge.c: Hooked up state-change event details.
3154 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3156 * registryd/registry.c:
3157 Fixed quarking bug in event string parsing; now events with
3158 detail parameters get matched correctly to listeners.
3161 * util/idl/Magnifier.idl: remove.
3163 * util/*.[ch]: Remove.
3164 Magnification utilities and IDL are now in module gnome-mag.
3166 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3168 * registryd/deviceeventcontroller.c:
3169 Fixed bug in grab key conversion which was causing keycode grabs
3170 to be converted to AnyKey grabs.
3173 updated NEWS file to reflect recent spin-off of gnome-mag.
3175 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3177 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3178 busted AccessibleStateSet_compare. Removed redundant casts.
3180 * cspi/spi-action.c: Removed redundant casts.
3182 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3184 * cspi/spi_component.c: Fixed typos and casting error.
3186 * cspi/spi_editabletext.c: Removed redundant casts.
3188 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3190 * cspi/spi_hypertext.c: Eliminated redundant casts.
3192 * cspi/spi_image.c: Eliminated redundant casts.
3194 * cspi/spi_registry.c: Eliminated redundant casts.
3195 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3196 * cspi/spi_selection.c: Removed redundant casts.
3197 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3198 handling. Screen geometry and text offsets were being returned as 0
3199 on error which is technically valid-- changed these to return -1.
3200 Added marshaller for text boundary types to fix bug with boundary
3201 types being passed incorrectly to atk.
3203 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3206 * cspi/spi_registry.c:
3207 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3208 which was uncovered by the recent key changes.
3210 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3212 * test/event-listener-test.c:
3214 Added new test, "event-listener-test";
3215 this code does two things; it benchmarks traversal time
3216 for the accessible hierarchy for the first running accessible
3217 app, and it connects listeners for all supported event types.
3218 It is thus useful as an example event listener and for
3219 diagnostics/debugging of event generation.
3221 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3224 Removed unnecessary dependency on libutil.
3227 Revved micro version: 0.13.1
3229 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3232 Removed util/Makefile from targets.
3235 Removed util subdir from SUBDIRS (temporarily,
3236 pending removal of magnifier-only code
3240 #ifdef-ed out magnifier dependencies, since
3241 magnifier IDL, headers, and binary now live in
3242 module gnome-mag and we don't want at-spi to depend
3243 on gnome-mag. A magnifier demo which can run alongside
3244 simple-at is forthcoming in the gnome-mag module.
3246 NOTE: Split magnifier binary, IDL, and magnification
3247 activation code from at-spi into module gnome-mag.
3249 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3251 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3252 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3254 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3257 Revved to version 0.13.0
3259 * idl/Accessibility_Registry.idl:
3260 Changed definition of KeySet from sequence of longs to sequence of
3261 KeyDefinitions, and added KeyDefinition struct.
3262 Required for fix to bug 80616.
3264 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3265 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3266 to use new definition (see above).
3268 * registryd/deviceeventcontroller.c: handle_keygrab(),
3269 spi_keyset_contains_key():
3270 Changed to make use of new struct; this allows matching based on
3271 string key-name, for instance "Tab". This also allows matching of
3272 composed characters, non-alphanumeric characters in a way that
3273 doesn't involve dependencies on X keysym codes directly, etc.
3275 * test/key-listener-test.c:
3276 Added test for Alt-Tab key using "string" specification of keyset,
3277 and modified one of the tests to use a keycode-based keyset.
3278 Thus this test both tests and demonstrates the creation and use of
3279 keysets of three forms: specified via keycode array,
3280 keysym array, and string array. (The string case only contains a
3281 single string, i.e. a string array of length 1).
3284 Turned on PRINT_TREE option by default. Also fixed a
3285 string-freeing bug in the PRINT_TREE code.
3286 Added a listener to window:minimize events.
3288 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3290 * atk-bridge/bridge.c:
3291 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3292 for window:activate and window:deactiveate
3293 (atk_bridge_property_event_listener atk_bridge_signal_listener
3294 atk_bridge_window_event_listener) Tidy debug code
3296 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3298 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3299 Fixed handling for NULL return value from ATK.
3301 * libspi/action.c libspi/component.c libspi/editabletext.
3302 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3303 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3304 Removed redundant casts.
3306 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3307 Fixed off by one bug.
3309 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3310 function not present in idl)
3312 2002-05-02 jacob berkman <jacob@ximian.com>
3314 * atk-bridge/Makefile.am: make atk-bridge a real module
3316 2002-04-26 Radek Doulik <rodo@ximian.com>
3318 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3319 atk_state_types table
3321 2002-04-22 jacob berkman <jacob@ximian.com>
3324 * libspi/Makefile.am: add deps on the built files to help
3325 automake, and don't version the ORBit typelib
3327 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3329 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3330 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3331 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3332 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3333 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3334 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3335 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3336 libspi/accessible.h libspi/accessible.h libspi/base.h
3337 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3338 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3339 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3340 libspi/spi-private.h libspi/statetset.h libspi/table.h
3341 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3342 util/mag_client.h util/mag_control.c util/mag_image.c
3343 util/mag_image.h util/magnifier.c util/magnifier.h:
3344 Add missing file headers; standardize existing ones
3346 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3348 * atk-bridge/bridge.c: Added window event support.
3350 2002-04-18 Michael Meeks <michael@ximian.com>
3352 * libspi/relation.c (impl_getNTargets): impl.
3353 (impl_getTarget): impl.
3355 * libspi/Makefile.am: fix stateset install.
3357 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3360 Started putting useful info in this file.
3362 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3364 * atk-bridge/bridge.c:
3365 Propagate state-changed notifications to ATs
3367 * cspi/spi_registry.c: update docs to reflect actual behavior of
3368 state-change events.
3370 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3373 Incremented version to 0.12.1
3375 * util/mag_client.h:
3376 Add missing declaration for magnifier_exit,
3377 used by mag_control.c - Forte compiler didn't like
3378 the implicit redeclaration of the function :-(
3381 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3384 Revved version to 0.12 due to API change (see below).
3386 * cspi/spi-roletypes.h:
3387 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3388 definition from the inline docs, and added docs
3389 for SPI_ROLE_LAST_DEFINED.
3392 * cspi/spi_streamablecontent.c:
3393 Added missing seek_type parameter to
3394 (so far unused) method,
3395 AccessibleStreamableContent_seek().
3396 [ RT approval JodyG. ]
3399 Fixed docs for SPI_createAccessibleKeystrokeListener.
3401 * cspi/spi_registry.c:
3402 Fixed docs for SPI_KEYSET_ALL_KEYS.
3404 * docs/reference/cspi/at-spi-cspi-sections.txt:
3405 Added a number of missing APIs to SECTIONS.
3407 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3409 * registryd/Makefile.am:
3411 * cspi/bonobo/Makefile.am:
3412 Add $(X_LIBS) to makefiles.
3414 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3417 Revved version to 0.11.
3419 * libspi/component.c:
3420 Added implementation for grabFocus.
3422 * idl/Accessibility_Component.idl
3423 (Accessibility_Component_grabFocus):
3424 Made this method return boolean to indicate success or failure, to
3425 be consistent with cspi and the corresponding ATK method.
3427 * idl/Accessibility_Selection.idl
3428 (Accessibility_Selection_selectAll) :
3429 Made these methods return boolean to indicate success or
3430 failure, to be consistent with cspi and the corresponding ATK methods.
3432 * idl/Accessibility_EditableText.idl
3433 (Accessibility_EditableText_setTextContents,
3434 Accessibility_EditableText_insertText,
3435 Accessibility_EditableText_cutText,
3436 Accessibility_EditableText_deleteText,
3437 Accessibility_EditableText_pasteText):
3438 Made these methods return boolean to indicate
3441 * cspi/spi_editabletext.c:
3442 Made these methods return booleans.
3444 * libspi/selection.c:
3445 * libspi/component.c:
3446 * libspi/editabletext.c:
3447 Connected the boolean returns from ATK
3448 to the server-side code referenced above.
3450 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3452 * idl/Accessibility_Table.idl: Added missing methods,
3453 Accessibility_Table_addRowSelection,
3454 Accessibility_Table_addColumnSelection,
3455 Accessibility_Table_removeRowSelection,
3456 Accessibility_Table_removeColumnSelection.
3459 Added C wrappers for above IDL:
3460 AccessibleTable_addRowSelection,
3461 AccessibleTable_addColumnSelection,
3462 AccessibleTable_removeRowSelection,
3463 AccessibleTable_removeColumnSelection.
3466 Added server-side implementation code for IDL above, connecting
3467 to pre-existing ATK api.
3469 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3471 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3473 * libspi/accessible.c: Added implementation fo
3474 Accessibility_Accessible_get_state.
3476 * libspi/libspi.h: Added stateset.h to the list of includes.
3478 * libspi/stateset.c: Fixed broken implementation.
3480 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3483 Added implementation code for Accessibility_Magnifier_exit ().
3485 * util/mag_control.c:
3486 Added test code for above method; you can
3487 now kill an existing magnifier via
3488 ./mag_control q, from the util directory.
3490 * test/key-listener-test.c:
3492 Added a new test, for our key listener API.
3494 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3496 * test/app.c, test/keysynth-demo.c:
3498 Replace use of snprintf with g_snprintf.
3499 (fix for bugzilla 78249)
3501 2002-03-27 Michael Meeks <michael@ximian.com>
3505 * util/Makefile.am (INCLUDES): fix.
3506 (DONT_DIST_SOURCE): don't distribute the
3509 * libspi/Makefile.am (dist-hook): ditto.
3511 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3513 * libspi/hypertext.c:
3514 Fix warnings when yelp is used with atk-bridge
3516 2002-03-21 Michael Meeks <michael@ximian.com>
3518 * libspi/application.c (spi_application_new):
3519 use spi_accessible_construct so we use the AtkObject
3522 2002-03-19 Michael Meeks <michael@ximian.com>
3524 * registryd/registry.c (desktop_remove_application),
3525 (desktop_add_application): clean coding style.
3527 * registryd/desktop.c (spi_desktop_remove_application),
3528 (spi_desktop_add_application): kill re-enterency hazards.
3529 (spi_desktop_dispose): remove bogus redundant cast
3530 obscuring bug; fix bug too.
3531 (spi_desktop_init): make the desktop object immortal.
3533 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3536 Added a #define-guarded tree-traversal step
3537 when enumerating the apps (diagnostic tool).
3539 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3541 * idl/Accessibility_Role.idl:
3542 Added ROLE_DRAWING_AREA which seemed to be missing from the
3545 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3547 * cspi/spi-roletypes.h cspi/spi_accessible.c
3548 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3551 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3552 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3553 AT when applications are added and removed from the desktop. This
3554 reverts the previous broken implementation using the backing
3555 AtkObject for the SpiDesktop.
3557 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3559 * registryd/desktop.c: emit the "children-changed::add" and
3560 "children-changed::remove" signals on the backing ATK object for
3561 the desktop so AT can tell when applications are started and shut
3564 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3566 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3568 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3570 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3572 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3574 * cspi/state-types.h: synched with IDL and ATK
3576 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3578 * libspi/accessible.c
3579 (impl_accessibility_accessible_get_child_at_index):
3580 Change return value for g_return_if_fail ()
3581 to CORBA_OBJECT_NIL instead of "0" (!)
3583 * registryd/Makefile.am:
3584 * registryd/Accessibility_Register.server.in:
3585 Changed name of executable, "registryd",
3586 to something more informative:
3589 2002-03-13 Michael Meeks <michael@ximian.com>
3591 * atk-bridge/bridge.c (atk_bridge_init): don't register
3592 if we're in a bonobo-component, rather than a bonobo app.
3594 2002-03-13 Michael Meeks <michael@ximian.com>
3596 * atk-bridge/bridge.c (gtk_module_init): split
3597 out body to (atk_bridge_init): here, since otherwise
3598 we get symbol conflicts and oddness when invoked
3599 from (gnome_accessibility_module_init): here (upd.)
3601 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3604 New file. Explicitly allow "build sheriff" putbacks provided
3605 they are tested on Solaris.
3607 * docs/reference/cspi/Makefile.am:
3608 Added '-' to the "cp" command for index.sgml.
3609 ("patch by thomasvs, soon coming to a GUADEC near you")
3612 Incremented version number (0.9.0) for new release.
3613 Changed macro that checks for popt, to better detect
3614 obsolete versions of popt.
3617 Added X_LIBS to AC_SUBST, for applications
3618 that call Xlib API directly.
3621 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3624 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3627 Fix regression caused by hard-coding major
3628 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3631 * test/test-simple.c (test_editable_text),
3632 (test_test): revert previous change (error was
3633 a regression in gail which is now fixed).
3635 2002-03-04 Michael Meeks <michael@ximian.com>
3637 * test/test-simple.c (test_editable_text),
3638 (test_text): pass G_MAXINT instead of '-1' for
3639 whole string - is this a good thing !?
3641 * cspi/spi_accessible.c
3642 (Accessible_getRelationSet): fix crasher bug
3643 overwriting the end of the array.
3645 * test/test-simple.c (validate_accessible): free,
3646 not g_free returned relation set.
3648 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3650 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3651 implemented stateset support
3653 * idl/Accessibility_State.idl: Made necessary changes to
3654 the IDL to support state sets.
3656 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3658 * registryd/deviceeventcontroller.c:
3659 Added implementation for generateMouseEvent.
3661 * cspi/spi_registry.c:
3662 Connected new implementation for generateMouseEvent
3665 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3668 Incremented revision (but no change in public API
3669 outside of 'utils', which are not installed public yet.)
3671 * libspi/component.c:
3672 Changed to use atk_component API for layers and
3673 mdi_zorder, instead of deprecated atk_object API.
3675 Magnification Utility Enhancements:
3678 Added implementation of createZoomRegion, clearAllZoomRegions,
3679 resizeZoomRegion. Added new commandline argument
3680 "--no-initial-region". Note that clearAllZoomRegions doesn't
3681 unmap the old '0' region as it should (yet), and the other
3682 methods only work when creating/resizing a single region,
3683 which is "region 0".
3684 (Code for multiple region support will be added later.)
3687 Now we raise the magnifier window each time it's refreshed;
3688 this will help keep it on top.
3690 * util/mag_client.h:
3691 Added simple wrappers for above, used by mag_control.
3692 For general use, it's recommended to use the bonobo magnifier
3693 control API directly instead of using these wrappers.
3696 Moved ZoomRegionData from magnifier.c to this file.
3698 * util/mag_control.c:
3699 Added some code to exercise new IDL implementations.
3701 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3703 * libspi/text.c: Provide implementation for getAttributes.
3705 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3708 Incremented revision.
3710 * test/test-simple.c:
3711 Replaced use of deprecated g_main_iteration with
3712 g_main_context_iteration.
3714 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3717 Incremented revision for desktop alpha 2.
3719 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3721 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3724 * test/simple-at.c: include netinet/in.h.
3726 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3728 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3729 use NULL, not CORBA_OBJECT_NIL.
3731 * libspi/accessible.c:
3732 (impl_accessibility_accessible_get_relation_set):
3733 allocate the sequence correctly.
3735 * libspi/remoteobject.h: kill spi_remote_object_new.
3737 * test/test-simple.c: (validate_accessible): add code
3738 to test relation sets, now all we need is to figure
3739 out how to excercise this code path :/
3741 2002-01-18 Michael Meeks <michael@ximian.com>
3743 * test/test-simple.c
3744 (key_listener_cb): consume the key.
3745 (test_keylisteners): update.
3746 (main): wait for any pending unrefs on events.
3748 * registryd/deviceeventcontroller.c
3749 (spi_controller_update_key_grabs): only re-issue the
3750 grab on a key release.
3751 (spi_device_event_controller_forward_key_event):
3752 refresh the keygrabs before we notify the listeners,
3753 to reduce the X ungrab / re-grab race.
3754 (spi_controller_register_with_devices): remove
3755 XSelectInput - we do that with the gdk_window_ call.
3756 (_spi_controller_device_error_handler): return a value.
3757 s/GDK_DISPLAY/spi_get_display/
3759 2002-01-17 Michael Meeks <michael@ximian.com>
3761 * registryd/deviceeventcontroller.c
3762 (_deregister_keygrab): don't blow out the later
3765 * test/test-simple.c (test_keylisteners): do a
3766 more intelligent validation.
3768 2002-01-14 Michael Meeks <michael@ximian.com>
3770 * atk-bridge/bridge.c
3771 (gnome_accessibility_module_init),
3772 (gnome_accessibility_module_shutdown): impl.
3773 (gtk_module_init): protect vs. double inits.
3774 (add_signal_listener): impl.
3775 (spi_atk_bridge_state_event_listener): kill
3776 (deregister_application): split out of
3777 (spi_atk_bridge_exit_func): here.
3779 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3782 Added caret tracking when using magnifier, and
3783 now use text bounds for focus tracking of text elements, rather than
3784 the component bounds - this is helpful for short text fields in long
3785 table cells, at high magnification.
3787 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3789 * registryd/deviceeventcontroller.c:
3790 Regression fix for keylistener de-registration; global keygrabs
3791 were not being released when deregisterKeystrokeListener was
3792 called in cspi, since
3793 Accessibility_DeviceEventController_deregisterKeystrokeListener
3794 was called with a zero-length keyset. That is because the cspi
3795 method, SPI_deregisterKeystrokeListener, does not take a keyset
3796 parameter but instead should remove all the key grabs held be a
3798 The code in impl_deregister_keystroke_listener was changed to copy
3799 the keylist from the listener instance previously registered with
3800 the DeviceEventController before releasing the grabs.
3802 * registryd/registry.c:
3803 * registryd/deviceeventcontroller.c:
3804 * libspi/spi-private.h:
3806 Changed spelling of "re-enterant" to "re-entrant" globally.
3808 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3810 * test/test-simple.c:
3811 Changed key listeners test - the test was slightly mis-using the
3812 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3813 It now uses '=' as the key event listened to and generated,
3814 relying on a keysym match rather than assuming that keycode 33
3815 is always equal to keysym '!'.
3817 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3820 Changed simple-at to use a specific keyset, rather than
3821 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3822 manager, desktop, etc.
3824 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3826 * registryd/deviceeventcontroller.c:
3827 Replaced standard X error handler with a special handler that
3828 is non-fatal for failed keygrabs. This works around
3829 problems with keygrab clashes sometimes observed on
3831 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3832 mouse handling code as yet).
3834 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3837 Incremented revision for desktop alpha release.
3840 Fixed a couple of the more glaring errors (still not
3843 2002-01-11 Michael Meeks <michael@ximian.com>
3845 * registryd/deviceeventcontroller.c
3846 (spi_device_event_controller_forward_key_event): kill
3847 XUngrabKey / XKeyGrab race.
3848 (spi_controller_grab_keyboard): rename to
3849 (spi_controller_update_key_grabs): this, and deal
3850 with incremental adding / removing grabs more
3852 (_register_keygrab): ensure we're not pending a remove.
3853 (spi_grab_mask_free): impl.
3854 (spi_controller_register_global_keygrabs): split out
3856 (handle_keygrab): impl.
3857 (_deregister_keygrab): impl.
3858 (spi_controller_deregister_global_keygrabs): impl.
3859 (spi_controller_update_key_grabs): re-issue the grab if
3860 we just recieved a notification.
3862 * test/test-simple.c (key_listener_cb): remove debug.
3864 * registryd/deviceeventcontroller.c
3865 (spi_controller_register_device_listener): after
3866 registering a global keygrab, actualy register it !
3867 don't wait for a timeout; doh !
3869 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3870 to make it more readable / manipulable.
3871 s/grabmask/grab_mask/ s/refcount/ref_count/
3872 s/keyval/key_val/ s/modmask/mod_mask
3874 2002-01-08 Michael Meeks <michael@ximian.com>
3876 * registryd/deviceeventcontroller.c
3877 (spi_controller_register_with_devices): use gdk calls to
3879 (global_filter_fn): implement the filter.
3880 (spi_device_event_controller_check_key_event): rename to
3881 (spi_device_event_controller_forward_key_event): this & upd.
3882 (spi_get_display): replace with GDK_DISPLAY.
3884 * registryd/deviceeventcontroller.c
3885 (spi_controller_deregister_device_listener): unroll into
3886 (impl_deregister_keystroke_listener): here to simplify.
3887 (spi_controller_register_global_keygrabs): split cut and
3888 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3889 (spi_controller_deregister_device_listener): remove.
3890 (impl_register_mouse_listener): remove, no mouse listener
3891 support in at-spi-1.0
3893 * registryd/registry.c
3894 (_device_event_controller_hook): kill.
3895 (spi_registry_init): upd.
3897 * registryd/deviceeventcontroller.c
3898 (spi_device_event_controller_class_init): upd.
3899 (spi_check_key_event): merge into.
3900 (spi_device_event_controller_check_key_event):
3901 here and kill strange static ev init, don't leak
3902 the x_event - nor dynamicaly allocate it.
3904 * registryd/registry-main.c (main): re-direct
3905 timeout to remove strange vtable mess.
3907 * registryd/deviceeventcontroller.c
3908 (remove_listener_cb): impl.
3909 (spi_controller_deregister_device_listener):
3910 fix re-enterancy hazard.
3912 2002-01-07 Michael Meeks <michael@ximian.com>
3914 * registryd/deviceeventcontroller.c
3915 (spi_device_event_controller_new): upd.
3916 (impl_notify_listeners_sync): upd. debug.
3917 (spi_notify_keylisteners): fix re-enterancy hazards,
3918 prettify, remove O(n*n) iteration.
3919 (spi_controller_grab_keyboard): fix iteration.
3920 (spi_check_key_event): re-format to suit coding style.
3921 Clean all the warnings - we're warning free.
3923 * registryd/deviceeventcontroller.h:
3924 * registryd/registry.h: make mutualy referential with
3925 typesafe forward references instead of (!) void pointer
3928 2002-01-11 Michael Meeks <michael@ximian.com>
3930 * cspi/spi_accessible.c (role_names): add a role name
3931 to sync this array with the enum; and make the regression
3934 2002-01-10 Michael Meeks <michael@ximian.com>
3936 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3937 allow expansion of enumeration & kill warning.
3939 * test/test-simple.c (key_listener_cb): impl.
3940 (test_keylisteners): impl.
3942 * cspi/spi-listener.h: make listener signatures const
3943 on the provided (const) events.
3945 * test/keysynth-demo.c: upd. to const events.
3947 * test/simple-at.c: ditto.
3949 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3952 Rev the version to 0.5 (the previous tarball was named 0.4,
3953 even though the micro number was 3), so we need to rev upwards
3954 again for beta2/"desktop-alpha"
3957 Checked in a demo script, which requires editing before use!
3958 Proceed with caution.
3961 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3963 * cspi/spi_accessible.c:
3964 Add a couple of missing enum initializations, and fix some enum
3967 * cspi/spi_registry.c:
3968 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3970 * docs/reference/cspi/at-spi-cspi-sections.txt:
3971 Remove/fix a couple of broken document references.
3974 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3975 as Alt-Control to listen for commands, since on some systems
3976 Control-Alt may already be grabbed.
3978 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3981 Update version number to 0.4 for Beta2.
3983 * libspi/accessible.c, libspi/accessible.h:
3984 Expose spi_accessible_construct, to enable libgail-gnome
3985 construction from spi_accessible subtype.
3987 * utils/magnifier.c:
3988 Workaround for bug in some non-gnome-compliant window managers
3989 which made magnifier resize improperly.
3991 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3993 * libspi/accessible.c: (spi_accessible_new) :
3994 Move the test for SPI_IS_REMOTE_OBJECT to
3995 spi_accessible_new_return, fixing a bug and compile time warning.
3997 2002-01-08 Michael Meeks <michael@ximian.com>
3999 * registryd/registry.c (parse_event_type): remove strndup.
4001 * libspi/Makefile.am (libspi_la_SOURCES): remove
4002 sources already included in the headers section.
4004 * libspi/util.c: add.
4006 * libspi/spi-private.h: add.
4008 * registryd/registry.c: update to moved list iterators.
4010 2002-01-05 Michael Meeks <michael@ximian.com>
4012 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4014 * test/test-simple.c (main): ditto.
4016 2002-01-04 Michael Meeks <michael@ximian.com>
4018 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4019 redundant construct.
4021 * registryd/registry.c
4022 (get_listener_list): impl.
4023 (impl_accessibility_registry_register_global_event_listener):
4024 re-impl. to simplify using ~, remove dodgy const cast off.
4025 (parse_event_type): constify.
4026 (impl_accessibility_registry_deregister_global_event_listener_all):
4027 re-write, more efficiency and simplicity, kill re-enterancy
4029 (compare_listener_corbaref, compare_corba_objects),
4030 (compare_listener_quarks): define out.
4031 (impl_accessibility_registry_deregister_global_event_listener):
4032 re-write for effiency, and nail re-enterancy hazard.
4033 (impl_accessibility_registry_get_desktop_list): impl.
4034 (re_enterant_list_delete_link): impl.
4035 (re_enterant_list_foreach): impl.
4036 (remove_listener_cb): impl.
4037 (_registry_notify_listeners): kill.
4038 (notify_listeners_cb): impl.
4040 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4041 (SPI_getDesktopList): impl.
4043 * test/test-simple.c (test_desktop): test the methods.
4045 2002-01-03 Michael Meeks <michael@ximian.com>
4047 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4048 keystrings since we free them
4049 (SPI_freeAccessibleKeySet): in here.
4051 * libspi/accessible.c (spi_accessible_new): kill warning,
4052 wonder what is going on with the constructor here.
4054 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4056 * libspi/accessible.c (spi_accessible_new ()) :
4057 Added check to see if AtkObject is an SpiRemoteObject before
4058 creating an SpiAccessible.
4060 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4062 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4063 Enable keygrabs using the Control modifier, now that they are
4064 working properly (they were previously disabled).
4067 Change the command keygrab for this demo to "Control+Alt", so as
4068 to conflict with fewer other key commands on the system; this
4069 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4071 Removed a pointlessly-chatty keylistener for unshifted keys
4072 (shifted keys are still reported).
4074 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4076 * libspi/remoteobject.h:
4077 * libspi/remoteobject.c:
4078 Added definitions for special AtkObject subtype, required for
4079 support of remote components (specifically, used by BonoboControl
4080 accessibility implementation).
4082 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4084 * cspi/spi.h: synched relation types with ATK
4086 * cspi/spi_accessible.c: Added implementations of
4087 AcccessibleRelation_* methods
4089 * idl/Accessibility_Relation.idl: added getRelationTypeName
4090 method. Synched known relation types with ATK. Allowed for
4091 relation type extension with the RELATION_EXTENDED type.
4093 * libspi/relation.c: Provided implementations for
4094 AccessibleRelation methods.
4096 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4098 API tweaks for today's API 'freeze'.
4101 Added placeholder functions to allow future compatible expansion
4102 of the IDL interfaces.
4104 * idl/Accessibility_Registry.idl:
4105 Changed generateKeyEvent to generateKeyboardEvent. Changed
4106 signature of this method to accept an optional keystring in
4107 parameter (for complex text input synthesis) and changed use of
4108 simple 'boolean' parameter in registerKeystrokeListener to a
4109 struct, EventListenerMode.
4111 * cspi/spi_accessible.c:
4113 * cspi/spi_streamablecontent.c:
4114 Added references to AccessibleStreamableContent interface, and
4115 definition and implementation of AccessibleStreamableContent
4118 * cspi/spi_registry.c:
4120 Changed generateKeyEvent API to generateKeyboardEvent,
4121 taking a new (optional) keystring parameter to support complex
4126 Renamed directory (to better reflect its actual purpose, bridging
4127 from at-spi to ATK). The .so module is also now named
4130 * idl/Accessibility_Hypertext.idl:
4131 * libspi/accessible.c:
4132 * libspi/hypertext.h:
4133 * libspi/hypertext.c:
4134 Changed Accessibility_Hypertext to *not* derive from
4137 * cspi/spi_registry.c:
4138 Added list of legal event type names for 'window' events, which
4139 completes the registry event API.
4141 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4143 * at-bridge/bridge.c: Added registration for separate
4144 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4145 signals. If either of the first two parameters to the generic
4146 bridge signal handler are ints, they are passed on as event
4147 details. This allows an AT to determine what text was inserted.
4149 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4151 * registryd/deviceeventcontroller.c:
4152 Fixed regressions in generateKeyEvent caused by the removal of
4153 gdk_init from registryd; we now use pure X calls to connect to the
4154 display, which makes sense because deviceeventcontroller already
4155 uses a fair bit of X API (should eventually be migrated to a
4156 'portability layer').
4158 * registryd/desktop.c:
4159 Fixed minor regression in spi_desktop_init, changed the way the
4160 desktop name is being set to work with new spi_base API
4161 (gobject-based, rather than AtkObject-based).
4163 * registryd/Makefile.am:
4164 Minor revision of makefile to use XTST_LIBS variable rather than
4165 hard-wiring the Xtst LD_ADD element.
4167 * test/keysynth-demo.c:
4168 Tweaked an output message; added initialization of the
4169 'keystrings' member of the "switch listener" key_set.
4171 * libspi/relation.c:
4172 Squashed compile-time warning.
4174 * libspi/accessible.c:
4175 Cosmetic and formatting fixes, renamed a static method.
4177 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4179 * libspi/accessible.c
4181 * libspi/application.c
4184 * libspi/component.c
4185 * libspi/editabletext.c
4186 * libspi/hyperlink.c
4187 * libspi/hypertext.c
4189 * libspi/selection.c
4193 * registryd/desktop.c:
4194 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4196 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4198 * idl/Accessibility_Registry.idl:
4199 Added boolean member 'is_text' to DeviceEvent. This is for the
4200 use of key events, and helps prevent ambiguity between composed
4201 key strings and keysym names, since both may potentially be
4202 returned in the 'event_string' member.
4204 * at-bridge/bridge.c:
4205 * registryd/deviceeventcontroller.c:
4206 Use the 'is_text' member when notifying device event listeners.
4207 Knon issue: composed characters are not dealt with correctly by
4208 the global key listener implementation yet.
4210 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4212 * at-bridge/bridge.c:
4213 Namespaced local static methods to spi_atk_bridge_* where
4214 previously named bridge_*, and spi_* elsewhere.
4216 * at-bridge/bridge.c:
4217 * cspi/bonobo/cspi-bonobo-listener.c:
4218 Added demarshalling/conversion for string member of
4219 Accessibility_DeviceEvent to AccessibleKeystroke.
4221 * registryd/deviceeventcontroller.c:
4222 Added code to fill the Accessibility_DeviceEvent key string value
4223 member for global key events (i.e. from XGrabKey), to match
4224 behavior of Accessibility_DeviceEvent from the toolkit key events
4225 from the bridge. Fixed timestamp in global key event notifications.
4228 Added printout of key event's string value to
4229 report_ordinary_key_event, for demo/debugging purposes.
4231 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4233 * idl/Accessibility_Registry.idl:
4234 Removed Accessibility_KeyStroke structure in favor of generic
4235 Accessibility_DeviceEvent structure.
4236 Changed Accessibility_ControllerEventMask from a struct to an
4239 * at-bridge/bridge.c:
4240 Changed APIs to use DeviceEvent structure as above, and removed
4241 bogus casting between these event structures.
4243 * cspi/spi-listener.h:
4244 Added keystring member of AccessibleKeystroke structure, to enable
4245 matching on event "names" rather than only hardware codes and
4249 Added keystrings member of AccessibleKeySet struct, to allow
4250 matching on event names (as above).
4251 Added declarations for SPI_createAccessibleKeySet and
4252 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4253 event modmasks directly as unsigned ints rather than structs with
4254 refcounts, in the DeviceEventController methods.
4256 * cspi/spi_registry.c:
4257 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4259 * cspi/spi-roletypes.h:
4260 Added documentation of newly added SPI Roles.
4262 * cspi/bonobo/cspi-bonobo-listener.c:
4263 Changes in support of API changes above.
4265 * libspi/accessible.c:
4266 Converted APIs to use DeviceEvent structure (see IDL changes
4269 * registryd/deviceeventcontroller.c:
4270 Added DEControllerGrabMask structure to track keygrabs not only by
4271 modmask but by keyset as well; this allows us to do "global"
4272 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4273 grabbing on AnyKey and then filtering after-the-fact.
4274 Bugfixes for event filtration mean that we don't get false matches
4275 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4277 * registryd/deviceeventcontroller.c:
4278 Namespaced a number of static methods to use spi_ prefix. Major
4279 revision to internals of global (i.e. X) key grabs.
4281 * registryd/deviceeventcontroller.h:
4282 Removed keymask_list and added keygrabs_list to
4283 SpiDeviceEventController struct.
4286 Added use of SPI_createAccessibleKeySet API when creating a
4287 listener for only one key. Attach a listener to "shift spacebar
4288 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4289 X key event names to SPI key event names, so that listeners are
4290 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4292 * test/keysynth-demo.c:
4293 Changed (incorrect) use of X key event names (KeyPressed,
4294 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4297 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4299 * libspi/accessible.c:
4300 Convert all AtkRole enumerations to Accessibility_Role enums when
4301 getting a role from an AtkObject.
4303 * cspi/spi_accessible.c:
4304 Complete the conversion of Accessibility_Role enums at runtime to
4305 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4306 role enums correctly match those given in spi-roletypes.h.
4307 Re-synchronize the local names list for AccessibleRole_getName ().
4308 AccessibleRole_getName is now deprecated, since it duplicates the
4309 more reliable Accessible_getRoleName.
4310 Added some role types from Accessibility_Role.idl.
4312 * idl/Accessibility_Role.idl:
4313 Added some role types used by AtkRole.
4315 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4318 * cspi/spi_registry.c:
4320 * cspi/cspi-bonobo-listener.c:
4321 Namespaced all methods that did not begin with an "SPI_" or
4322 "Accessible" prefix to "SPI_".
4325 Homogenized internal function namespace to "cspi_" for statics.
4328 Patched tests to use the new CSPI API.
4330 * docs/reference/cspi/at-spi-cspi-sections.txt:
4331 Updated docs to reflect namespace changes, and added a number of
4332 methods to the documentation.
4334 * registryd/registry.c:
4335 Changed use of strings and string hashes in listener event
4336 matching and parse_event_string to use GQuark, which is guaranteed
4339 * registryd/registry.h:
4340 Squashed annoying warning.
4342 * idl/Accessibility_Role.idl:
4343 Extended range of available Accessibility_Role values.
4345 * cspi/spi_accessible.c:
4346 Re-ordered role names.
4348 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4350 * idl/Accessibility_Value.idl:
4351 Revert use of union back to CORBA_double, since the double type is
4352 more efficient and can contain the other types without loss of
4355 * idl/Accessibility_Accessible.idl:
4356 Added method Accessibility:Accessible:getRoleName, to complement
4357 Accessibility:Accessible:getRole.
4359 * cspi/spi_accessible.c:
4361 Added C binding for above, Accessible_getRoleName (), and changed
4362 signature of Accessible_getRole () to return an AccessibleRole.
4364 * cspi/spi-roletypes.h:
4365 Changed AccessibleRole_getName to return a char * instead of a
4366 const char *. This method is now at least temporarily deprecated
4367 in favor of asking Accessibles for their RoleNames directly.
4370 Revert to match Accessibility_Value.idl;
4374 Change signature of AccessibleValue methods to use double rather
4378 * cspi/spi_accessible.c:
4379 Changed Accessible_getRole to return an AccessibleRole enum rather
4380 than a UTF-8 string. The UTF-8 string can still be obtained via
4381 AccessibleRole_getName ().
4383 * test/test-simple.c:
4384 Add test_action. Small fixup to match API change to Accessible_getRole.
4387 Bugfix for get_action_from_servant ().
4389 2001-12-11 Michael Meeks <michael@ximian.com>
4391 * libspi/libspi.h: remove registry.h and
4392 desktop.h, deviceeventcontroller.h
4394 * libspi/Makefile.am: remove registry.[ch],
4395 desktop.[ch], deviceeventcontroller.[ch]
4397 * registryd/Makefile.am: add registry.[ch],
4398 desktop.[ch], rename registryd.c to registry-main.c.
4399 add deviceeventcontroller.[ch]
4401 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4404 Replace setenv() call with putenv ().
4406 * libspi/component.c:
4407 Bugfix in AccessibleComponent_getExtents (),
4410 2001-12-11 Michael Meeks <michael@ximian.com>
4412 * libspi/image.c (impl_getImageExtents): impl.
4413 (spi_image_class_init): upd.
4416 (AccessibleImage_getImageDescription): fix daft bug
4419 * test/test-simple.c (global_listener_cb): update
4420 to only quit if not --poke
4421 (main): catch --poke.
4422 (validate_accessible): upd. dumping, call test_image
4425 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4428 * idl/Accessibility.idl: update all IDL includes.
4430 * idl/*.idl - rename to namespace - this sucks, blame
4431 mjs' bad decision for oafd.
4433 * test/test-simple.c (create_test_window): add more tests.
4434 (create_tree): split this out.
4435 (validate_accessible): bugfix.
4437 2001-12-11 Michael Meeks <michael@ximian.com>
4439 * cspi/bonobo/cspi-bonobo-listener.c:
4440 (cspi_kestroke_listener_unref),
4441 (cspi_event_listener_unref): impl. undoing previous
4442 homenous environment - for Bill.
4444 * cspi/spi_table.c (long_seq_to_array): use
4447 * cspi/spi_main.c: split out all bonoboish bits into
4450 * cspi/spi-impl.h: upd. typedefs.
4452 * cspi/spi_registry.c: update to lowlevel API,
4453 return booleans to indicate success in some places.
4455 * cspi/spi_event.c: update to lowlevel API.
4457 * cspi/bonobo/Makefile.am: add.
4459 * cspi/bonobo/cspi-lowlevel.h: add
4461 * cspi/bonobo/cspi-bonobo.c: add
4463 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4465 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4466 (SUBDIRS): add bonobo, link in the libs.
4468 * cspi/spi-util.c: kill this file.
4470 * TODO: merge in my bits.
4472 2001-12-11 Michael Meeks <michael@ximian.com>
4474 * test/test-simple.c (test_value, test_table, main):
4475 remove unused variables causing warnings.
4477 * configure.in: cleanup checks - require gail.
4479 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4482 Changed Value interface to use SValue (scalars) rather than
4483 assuming all values are floats. This allows floats, doubles,
4484 longs, shorts, and unsigned values to be manipulated.
4485 Introduced Accessibility:SValue union.
4488 Updated to use new API above, and to work correctly with GValues
4489 of different types in AtkValue.
4492 Updated to use new API above. cspi's API is as yet unchanged.
4495 Updated the Value revision action item.
4497 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4499 * test/test-simple.c:
4500 Added test_table (GtkTreeView widget in test window to follow).
4501 Un-commented test_value, added GtkRange widget.
4502 Added GtkTreeView widget with GtkListStore. It passes regression
4503 test but leaks one SPI object for some reason.
4506 Fixed bug in impl__set_currentValue.
4508 2001-12-10 Michael Meeks <michael@ximian.com>
4510 * cspi/spi_text.c: audit for exception handling,
4511 tolerating NULL object references safely etc.
4513 * cspi/spi_value.c: ditto.
4515 * cspi/spi_table.c (AccessibleTable_getSummary),
4516 (AccessibleTable_getAccessibleAt),
4517 (AccessibleTable_getRowHeader),
4518 (AccessibleTable_getColumnHeader),
4519 (AccessibleTable_getCaption): fix bugs hidden by
4521 (long_seq_to_array): impl.
4522 (AccessibleTable_getSelectedRows),
4523 (AccessibleTable_getSelectedColumns): use it.
4525 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4528 Added a TODO list (rough and short for now).
4530 * cspi/spi_hyperlink.c:
4531 * cspi/spi_hypertext.c:
4532 Fixed macro name typos, and remove use of obsolete macro in
4533 AccessibleHyperlink_getLink.
4535 * cspi/spi_action.c:
4536 * cspi/spi_accessible.c:
4537 * cspi/spi_application.c:
4538 * cspi/spi_component.c:
4539 * cspi/spi_selection.c:
4542 Documentation fixes (removed return values from ref/unref methods).
4544 2001-12-10 Michael Meeks <michael@ximian.com>
4546 * cspi/spi_action.c: audit for exception handling,
4547 tolerating NULL object references safely etc.
4549 * cspi/spi_accessible.c: ditto.
4551 * cspi/spi_component.c: ditto.
4553 * cspi/spi_editabletext.c: ditto.
4555 * cspi/spi_hyperlink.c: ditto.
4557 * cspi/spi_hypertext.c: ditto.
4559 * cspi/spi_image.c: ditto.
4561 * cspi/spi_selection.c: ditto.
4563 2001-12-10 Michael Meeks <michael@ximian.com>
4565 * configure.in: use cspi/libspi.pc.in instead.
4567 * Makefile.am (pkgconfig_DATA): upd. to match.
4569 * test/simple-at.c (report_focus_event): kill hacks around
4570 bad return values, use putenv not setenv
4572 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4573 fire ChildGone - I killed it.
4575 * libspi/component.c
4576 (impl_accessibility_component_get_extents): remove
4579 * idl/Accessible.idl: kill ChildGone exception.
4581 * cspi/*.[ch]: kill int return from ref / unref.
4583 * cspi/spi_main.c (cspi_object_add_check): fold into
4584 (cspi_object_add): here.
4586 * cspi/spi_component.c (AccessibleComponent_getExtents):
4587 handle exceptions elegantly.
4589 * cspi/spi-private.h (cspi_check_ev_return),
4590 (cspi_return_if_fail): impl.
4592 * cspi/spi_accessible.c: use extensively.
4593 (AccessibleStateSet_equals): add direct compare check.
4595 * cspi/spi_selection.c: tolerate NULL objs, and check
4596 exceptions before return.
4598 * cspi/spi-util.c (cspi_warn_ev): rename to
4599 (cspi_check_ev): this & don't pass ev in; no point.
4601 2001-12-10 Michael Meeks <michael@ximian.com>
4603 * test/test-simple.c: use putenv not setenv
4604 (get_environment_vars): more chatty if you're not using
4607 * test/simple-at.c: do the setenv so more people see the
4610 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4612 * libspi/registry.c:
4613 Changed check of CORBA_environment on notification to be a warning
4614 instead of an error for the moment, since we can recover from this
4615 error when caused by a queued notification from a dead app.
4618 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4619 used by all current implementors of AtkValue), and coerce to
4620 CORBA_float. (Proper general case fix may require change to Value.idl).
4622 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4626 * cspi/spi_accessible.c:
4627 Documentation fixes: added user_data params to documentation for
4628 listeners and callbacks.
4630 * cspi/spi_accessible.c:
4631 Changed AccessibleStateSet_compare to return a
4632 StateSet rather than return the difference set into a third parameter.
4635 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4638 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4639 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4643 Remove subdirectory po from SUBDIRS for now.
4645 * at-bridge/bridge.c:
4646 Beefed up a couple of debug printouts.
4647 One-line fix for signal notification name formatting.
4649 * libspi/accessible.c:
4650 Added assertion to spi_accessible_new ().
4652 * libspi/application.c:
4653 Put #ifdef qualifiers around a printf.
4656 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4658 * registryd/Makefile.am:
4660 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4661 INTLTOOL_SERVER_RULE macro.
4664 Added an event listener for several ATK signals, for
4665 testing and debugging. Removed a few g_warnings.
4666 Added test output if focussed item implements the Value interface.
4668 * test/test-simple.c:
4669 Added test_value () function (known not to pass at the moment, so
4670 not actually called yet.
4672 2001-12-08 Michael Meeks <michael@ximian.com>
4674 * at-bridge/bridge.c (bridge_focus_tracker),
4675 (emit_eventv): fix the same ref. leak.
4676 (register_atk_event_listeners): don't leak.
4678 * cspi/spi-listener-impl.c (cspi_event): more
4679 protection from client code.
4681 * test/test-simple.c (test_desktop): unref the app.
4683 * test/Makefile.am: upd. TESTS.
4685 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4687 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4689 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4691 * cspi/spi_registry.c: constify in strings.
4692 (deregisterGlobalEventListenerAll): don't release the ref.
4694 * cspi/spi.h: start removing redundant / conflicting
4695 gtkdoc comments, making the API readable at a glance :-)
4697 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4699 * test/keysynth-demo.c (keysynth_exit, main): upd.
4701 * test/simple-at.c (main, simple_at_exit): upd.
4703 * test/test-simple.c (unutterable_horror): kill.
4704 (utterable_normal_derefs): kill.
4705 (main): upd & do a setenv before gtk_init, so that we
4706 can use memprof - and to save the pain of remembering
4707 this, if we're running under memprof - don't exit.
4709 * cspi/spi_main.c (SPI_exit): return exit status
4711 (SPI_event_quit): impl.
4712 (SPI_event_main): simplify.
4713 (cspi_is_gnome_app): kill.
4714 (SPI_init): kill isGNOMEapp arg.
4716 * at-bridge/bridge.c (register_atk_event_listeners):
4717 re-instate the unref.
4718 (bridge_exit_func): don't re-activate the registry,
4719 protect vs. theoretical re-entry, use the
4720 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4721 assert a clean shutdown - for regression tests.
4723 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4725 * configure.in: Comment out dummy i18n support for now,
4726 otherwise it fails to build.
4727 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4728 EXTRA_DIST. They are missing in tarball.
4730 2001-12-07 Michael Meeks <michael@ximian.com>
4732 * util/magnifier.c: kill bonobo activation reg. race.
4734 * libspi/component.c
4735 (impl_accessibility_component_get_extents): make it match
4738 * libspi/registry.c (_registry_notify_listeners):
4739 re-remove X headers & reconcile conflicts.
4740 (spi_listener_struct_free): bad conflict resolve.
4741 (impl_accessibility_registry_register_application):
4742 more bad merging fixed.
4743 (impl_accessibility_registry_deregister_application): ditto.
4744 (spi_registry_new): ditto.
4745 (spi_registry_init): don't have an applications field.
4747 [ merge fixups2 branch to here ]
4748 2001-12-07 Michael Meeks <michael@ximian.com>
4750 * test/simple-at.c (report_focus_event),
4751 (report_focussed_accessible): remove g_warning debug.
4753 2001-12-07 Michael Meeks <michael@ximian.com>
4755 * test/test-simple.c (validate_tree): comment out some checks.
4756 (test_desktop): app now not registered idly - horay.
4758 2001-12-07 Michael Meeks <michael@ximian.com>
4760 * cspi/spi_registry.c
4761 (registerAccessibleKeystrokeListener): clean, stop it leaking
4762 great swathes of memory, and device event controller references.
4763 ensure we always pass valid sequences.
4764 (deregisterAccessibleKeystrokeListener): ditto.
4765 (generateKeyEvent): upd.
4767 * at-bridge/bridge.c (bridge_key_listener): handle
4768 registry dead exception gracefully.
4769 (bridge_focus_tracker, emit_eventv): free ev.
4771 * test/simple-at.c (report_focus_event): fix polarity.
4773 * libspi/application.c (notify_listeners): kill the ev
4774 argument, and make sure we init the ev we use.
4775 (spi_application_object_event_listener): split out a chunk
4776 (get_atk_object_ref): here & fixup.
4777 (reverse_lookup_name_for_toolkit_event): make const.
4778 (spi_application_toolkit_event_listener): fixup, kill leaks
4781 * at-bridge/bridge.c (register_atk_event_listeners):
4782 don't unref the noop object - causes grief.
4784 * libspi/registry.c: remove the X headers.
4785 turn off the debug churn.
4787 * libspi/accessible.c (spi_accessible_new_return): only
4788 release the ref if we are supposed to [doh]
4790 * test/simple-at.c (report_button_press, report_focus_event):
4791 guard vs. unexpected exit.
4793 * at-bridge/bridge.c (gtk_module_init): prune printf.
4794 (bridge_exit_func): fix app unref.
4796 * libspi/Makefile.am: don't install registry or desktop.h
4798 * libspi/*.h: update includes.
4800 * libspi/application.h: don't include ourself, or
4801 other redundant headers.
4803 2001-12-06 Michael Meeks <michael@ximian.com>
4805 * libspi/accessible.c
4806 (get_accessible_from_servant): impl.
4807 Upd. all CORBA impl.s to use it killing cut and paste.
4809 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4811 (SPI_init): register atexit cleanup handler here.
4813 2001-12-06 Michael Meeks <michael@ximian.com>
4815 * at-bridge/bridge.c (gtk_module_init): g_error on
4816 activation exception
4818 2001-12-06 Michael Meeks <michael@ximian.com>
4820 * at-bridge/bridge.c (gtk_module_init): some sort of
4821 confusing merge clash - reverted.
4822 (bridge_idle_init): ditto.
4824 * test/test-simple.c (main, utterable_normal_derefs):
4825 merge from Bill - somehow not committed.
4827 2001-12-06 Michael Meeks <michael@ximian.com>
4829 * libspi/value.c (spi_value_class_init): upd.
4830 (spi_value_finalize): kill.
4832 * libspi/table.c (spi_table_finalize): kill.
4833 (spi_table_interface_new): upd.
4834 (spi_table_class_init): upd.
4835 (get_table_from_servant): impl.
4836 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4838 * libspi/selection.c (spi_selection_finalize): kill.
4839 (spi_selection_interface_new): upd.
4840 (spi_selection_class_init): upd.
4841 (get_selection_from_servant): impl.
4842 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4844 * libspi/relation.c (spi_relation_finalize): kill.
4845 (spi_relation_class_init, spi_relation_new): upd
4847 * libspi/image.c (spi_image_finalize): kill.
4848 (spi_image_class_init): upd.
4849 (spi_image_interface_new): upd.
4850 (get_image_from_servant): impl.
4851 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4853 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4854 (spi_hyperlink_finalize): kill.
4855 (spi_hyperlink_new): upd.
4856 (get_hyperlink_from_servant): impl.
4857 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4859 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4860 (spi_hypertext_finalize): kill.
4861 (spi_hypertext_class_init): upd.
4862 (get_hypertext_from_servant): impl.
4863 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4865 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4866 (spi_editable_text_interface_new): upd.
4867 (get_editable_text_from_servant): impl.
4868 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4870 * libspi/text.c (get_text_from_servant): impl.
4871 All impls - update to use it killing more cut and paste,
4872 also fix bad string returns on duff args ( a somewhat
4873 impossible case to handle - but hey ).
4874 (spi_text_construct): impl.
4875 (spi_text_interface_new): upd.
4876 (spi_text_object_finalize): kill.
4878 * libspi/component.c
4879 (accessibility_component_object_finalize): kill.
4880 (spi_component_class_init): upd.
4881 (get_component_from_servant): impl. helper to kill cut & paste.
4882 (impl_accessibility_component_contains):
4883 (impl_accessibility_component_get_accessible_at_point):
4884 (impl_accessibility_component_get_position):
4885 (impl_accessibility_component_get_extents):
4886 (impl_accessibility_component_get_mdi_z_order):
4887 (impl_accessibility_component_get_layer):
4888 (spi_component_interface_new): upd.
4890 * libspi/action.c (spi_action_finalize): kill.
4891 (spi_action_class_init): upd. inherit from SpiObject.
4892 (spi_action_interface_new): upd.
4893 (get_action_from_servant): impl. helper to reduce cut & paste.
4894 (impl_getKeyBinding, impl_getName, impl_doAction),
4895 (impl_getDescription): Use it everywhere.
4897 * cspi/spi_main.c (get_live_refs): a pointer hash.
4898 (spi_object_hash, spi_object_equal): comment out.
4899 There are issues with CORBA object hashing that need
4902 * libspi/application.c (spi_application_init),
4903 (spi_application_new): upd.
4905 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4906 (spi_accessible_class_init): upd.
4907 s/accessible/object/ in epv methods.
4909 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4911 * at-bridge/bridge.c:
4912 Reorder the bridge initialization into the bridge gtk_module_init,
4913 an immediate call to bridge_register_app, and an idle_add for
4914 register_atk_event_listeners (the only code that *must* wait until
4915 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4916 the activation, creates the application's Accessible object, and
4917 queues the bridge_idle_init function. Restored call to
4918 Accessibility_Registry_deregisterApplication().
4919 Prior to making this call we obtain a new reference to the
4920 registry, which is a temporary hack that helps us handle apps that
4921 shut down the bonobo mainloop before we get there.
4923 * libspi/registry.c:
4924 Fix string leakage in debug block, and don't segv if a an app
4925 dies before its event notifications have been propagated.
4928 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4929 as stopgap measure until we get proper exception handling when
4930 objects die during or before interrogation.
4934 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4935 Also changed default value of is_gnome_app to TRUE.
4938 * test/keysynth-demo.c:
4939 Changed use of SPI_init and SPI_event_main to reflect API change above.
4942 Made report_focus_event check the warning value from getName
4943 before reporting on focussed accessible; simplifies handling of
4944 notifications from dead objects.
4946 * test/test-simple.c: (Changes not in this patch since source is
4949 2001-12-05 Michael Meeks <michael@ximian.com>
4951 * registryd/registryd.c (main): protect against
4952 bonobo-activation startup race condition.
4954 * cspi/spi_main.c (cspi_object_add_check): cope
4955 with the exception elegantly.
4957 * idl/Accessible.idl: decl. ChildGone
4959 * libspi/desktop.c (spi_desktop_dispose): impl.
4960 (spi_desktop_class_init): upd.
4961 (spi_desktop_add_application),
4962 (spi_desktop_remove_application),
4963 (abnormal_application_termination): impl.
4964 (impl_desktop_get_child_at_index): re-impl.
4967 (impl_accessibility_registry_deregister_application),
4968 (impl_accessibility_registry_register_application):
4969 kill excessive debug clutter.
4971 * test/test-simple.c (test_misc): test some NULL
4972 tolerance. (main): upd.
4974 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4975 implements no interfaces - so let's not crash.
4977 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4979 * libspi/accessible.c (spi_accessible_new_return): impl.
4980 helper to calm the cut and paste, to cope with
4981 NULL AtkObjects effectively and efficiently, and to kill
4982 the referencing bugs.
4984 * libspi/table.c (impl_getAccessibleAt),
4985 (impl_getRowHeader, impl_getColumnHeader): upd.
4987 * libspi/hyperlink.c (impl_getObject): upd.
4989 * libspi/accessible.c
4990 (impl_accessibility_accessible_get_child_at_index): upd.
4992 * libspi/component.c
4993 (impl_accessibility_component_get_accessible_at_point): upd.
4995 * test/test-simple.c (test_editable_text, test_text): impl.
4998 * cspi/spi_editabletext.c
4999 (AccessibleEditableText_insertText): constify.
5001 * test/test-simple.c (focus_me): make more robust.
5003 * libspi/accessible.c: remove some printfs in methods that
5004 we test and work fine, so we can get a clean tree dump.
5006 * test/test-simple.c (validate_accessible),
5007 (validate_tree): make tree dumping pretty too.
5009 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5010 it builds without debug on.
5012 * test/test-simple.c (validate_accessible): fix the most
5015 * cspi/spi_main.c (spi_object_release): leave the nicely
5016 blanked memory around if in debug mode.
5018 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5020 [committed to fixups2]
5021 2001-12-05 Michael Meeks <michael@ximian.com>
5023 * libspi/editabletext.c
5024 (spi_editable_text_class_init): g_type_class_peek_parent,
5025 not interface peek - so we finalize cleanly.
5027 * libspi/accessible.c (spi_accessible_new): kill debug.
5029 * test/test-simple.c (validate_accessible): fix ref.
5030 leak, print strings before freeing them; sigh, comment a
5031 chunk out due to strangeness.
5032 (validate_tree): unref the child after use.
5034 * cspi/spi_component.c (AccessibleComponent_getLayer):
5035 add missing break statement, switch on zlayer not the
5036 uninitialized retval.
5038 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5039 before (possibly re-entering) remote unref.
5041 * test/simple-at.c (main): unref the desktop.
5043 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5046 * cspi/spi_main.c (cspi_accessible_is_a): here to
5047 isolate bonobo API usage more.
5049 * libspi/registry.c (impl_accessibility_registry_register_application):
5050 prune bogus comment.
5052 2001-12-04 Michael Meeks <michael@ximian.com>
5054 * test/test-simple.c (validate_tree): upd.
5055 IndexInParent check to make it more lucid.
5056 (validate_accessible): dump the tree.
5058 * libspi/accessible.c (de_register_public_ref),
5059 (get_public_refs): impl.
5060 (spi_accessible_new): make more efficient & intuitive.
5061 Now IndexInParent check works.
5063 2001-12-04 Michael Meeks <michael@ximian.com>
5065 * cspi/spi-util.h: remove.
5067 * cspi/spi.h: move SPI_freeString here
5069 * libspi/component.c (impl_accessibility_component_get_layer):
5071 (impl_accessibility_component_get_mdi_z_order): ditto,
5072 return -1 on error - is this ok ?
5074 * test/test-simple.c (test_application): impl.
5076 * cspi/spi_accessible.c (Accessible_getApplication),
5077 (Accessible_isApplication): impl.
5079 * libspi/registry.c (spi_listener_struct_free): release
5080 the CORBA reference too.
5082 * libspi/accessible.c
5083 (impl_accessibility_accessible_get_parent): fix ref leak.
5085 * libspi/registry.c (spi_registry_new): make the registry
5086 immortal - we don't want it to go away ever.
5088 * libspi/application.c
5089 (spi_accessible_application_finalize): impl. cleanup.
5091 * cspi/spi_registry.c
5092 (deregisterGlobalEventListenerAll),
5093 (deregisterGlobalEventListener),
5094 (deregisterAccessibleKeystrokeListener): fix ref leak.
5096 * cspi/spi_main.c (SPI_init): remove redundant ref.
5098 * test/test-simple.c (unutterable_horror): impl. to force a
5103 (impl_accessibility_registry_deregister_application): release
5104 the application when we de-register it.
5106 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5107 until we have the infastructure to get it right.
5109 2001-12-03 Michael Meeks <michael@ximian.com>
5111 * libspi/Makefile.am: only build eventlistener.[ch]
5113 * libspi/accessible.c
5114 (impl_accessibility_accessible_get_child_at_index): don't leak.
5116 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5117 before we hit the idle handler.
5119 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5120 debugging than exit.
5122 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5124 * libspi/listener.c (impl_notify_event): check source
5125 not NIL before unref.
5127 * libspi/registry.c (impl_registry_notify_event): ditto.
5129 * libspi/eventlistener.c
5130 (impl_accessible_event_notify_event): unref the source.
5132 * libspi/accessibleeventlistener.c
5133 (impl_accessible_event_notify_event): unref the source.
5135 * idl/Event.idl: remove 'hash_id' attribute - of no
5138 * libspi/application.c (notify_listeners): upd list
5140 (spi_application_object_event_listener),
5141 (spi_application_toolkit_event_listener): upd to do correct
5145 (_registry_notify_listeners): update.
5146 (parse_event_type): this method also leaks like a sieve.
5147 (impl_accessibility_registry_deregister_global_event_listener):
5148 fix ETYPE_WINDOW case.
5150 * libspi/application.c
5151 (impl_accessibility_application_register_object_event_listener):
5154 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5156 * libspi/hypertext.c (impl_getLink): ditto.
5158 * cspi/spi_main.c (cspi_object_add): remove
5159 bogus CORBA_Object_duplicate.
5161 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5164 * cspi/spi_accessible.c
5165 (Accessible_getRelationSet): fix leak / referencing issue.
5167 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5168 (cspi_object_add, cspi_object_unref): upd.
5169 (spi_object_release, get_live_refs): impl.
5170 (cspi_cleanup): simplify.
5172 * *.[ch]: s/boolean/SpiBoolean/
5174 * cspi/spi_accessible.c (role_names): actualy order so it
5175 corresponds with the enum !
5177 * test/test-simple.c (test_roles): check some role strings
5178 vs. enums to detect offset errors.
5180 2001-12-01 Michael Meeks <michael@ximian.com>
5182 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5184 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5186 (Accessible_getChildAtIndex): use cspi_add_check so we
5187 check the ev before using a (possibly) invalid value.
5189 * libspi/accessible.c
5190 (impl_accessibility_accessible_get_parent): don't segv
5193 * at-bridge/bridge.c (gtk_module_init): upd.
5194 (bridge_property_event_listener): don't leak strings
5196 (bridge_state_event_listener),
5197 (bridge_property_event_listener): don't use a static
5198 buffer in case of recursive event emission &
5199 re-enterancy - split out the swathe of cut and paste
5201 (emit_eventv): and fix 2 ref leaks here & comply to the
5203 (bridge_register_app): rename to
5204 (bridge_idle_init): this and kill arg parsing, split
5205 various inits & bonobo-activation registration to module
5206 init time, kill referencing error.
5207 (bridge_exit_func): fix the same leak.
5208 (bridge_focus_tracker): don't leak event structures
5210 (bridge_signal_listener): more leakage and cut & paste
5212 (bridge_key_listener): return the result - FIXME is
5213 this polarity correct ?
5214 (accessibility_keystroke_from_atk_key_event): rename
5215 (accessibility_init_keystroke_from_atk_key_event): and stop
5217 (gtk_module_init): return a value - not that it is checked by
5219 (bridge_key_listener): register my horror at casting between
5220 IDL defined structs.
5221 (bridge_get_registry): kill - not used.
5223 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5225 * test/test-simple.c (test_roles): impl.
5226 (test_desktop, validate_accessible, validate_tree): impl.
5228 * cspi/spi_accessible.c (role_names): fixup bogus
5229 MAX_ROLES setup, make constants const for efficient linkage
5230 (AccessibleRole_getName): conform to coding style, make
5233 2001-11-30 Michael Meeks <michael@ximian.com>
5235 * cspi/spi.h: add missing prototype.
5237 * libspi/registry.c (spi_listener_struct_new): fix sig.
5239 * test/Makefile.am: add test-simple
5241 * test/test-simple.c: add
5243 * test/test.sh: add.
5245 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5247 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5248 do it straight - since otherwise we often get an activation race.
5250 [ work before Bill duplicated a chunk of it ... ]
5251 2001-11-30 Michael Meeks <michael@ximian.com>
5253 * libspi/keystrokelistener.c
5254 (spi_keystroke_listener_class_init): fixup arg
5257 * libspi/eventlistener.c
5258 (spi_event_listener_class_init): ditto.
5260 * tests/test.sh: add.
5262 * cspi/spi-listener-impl.h: update macros.
5264 * cspi/spi-listener-impl.c
5265 (cspi_event_listener_remove_callback): add
5266 correct pre-conditions.
5268 * cspi/spi_main.c (SPI_exit): guard vs. double
5269 exits, exit the mainloop nicely.
5270 (SPI_event_main): make more sense.
5271 (SPI_init): move the atexit evilness here so we
5272 always do it (yuck).
5273 (SPI_event_main): upd.
5275 * test/simple-at.c: update for listener changes.
5277 * registryd/registryd.c (main): prune kruft.
5279 * libspi/libspi.h: upd.
5281 * libspi/eventlistener.[ch]: rename broken macros.
5283 * libspi/accessibleeventlistener.[ch]: remove.
5285 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5287 * test/test-simple.c: Add - automated tests.
5289 * cspi/spi-listener-impl.c (cspi_event),
5290 (cspi_key_event): add user_data to invoke.
5291 (cspi_keystroke_listener_finalize): impl.
5292 (cspi_keystroke_listener_class_init): upd.
5295 (createAccessibleEventListener),
5296 (AccessibleEventListener_addCallback),
5297 (createAccessibleKeystrokeListener),
5298 (AccessibleKeystrokeListener_addCallback): upd.
5300 * libspi/deviceeventcontroller.c
5301 (spi_device_event_controller_check_key_event): add public proto.
5304 (impl_accessibility_registry_deregister_global_event_listener):
5305 always init listeners.
5306 (_registry_notify_listeners): yes it is.
5308 * cspi/spi-listener-impl.c (cspi_key_event):
5310 (cspi_event_listener_finalize): impl.
5311 (cspi_event_listener_class_init): hook up.
5312 (event_handler_new, event_handler_free),
5313 (event_list_remove_by_callback): impl.
5314 (cspi_event_listener_remove_callback),
5315 (cspi_keystroke_listener_remove_callback),
5316 (cspi_keystroke_listener_add_callback),
5317 (cspi_event_listener_add_callback): upd.
5319 * libspi/keystrokelistener.c
5320 (keystroke_listener_object_finalize): kill
5321 (spi_keystroke_listener_class_init): upd.
5322 (spi_keystroke_listener_add_callback),
5323 (spi_keystroke_listener_remove_callback): kill,
5325 (impl_key_event): prune drasticaly.
5327 * libspi/eventlistener.c
5328 (spi_event_listener_add_callback),
5329 (spi_event_listener_remove_callback): kill, use
5331 (impl_accessible_event_notify_event): upd.
5332 (spi_event_listener_object_finalize): remove.
5334 * libspi/Makefile.am: use eventlistener.[ch]
5336 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5338 * libspi/registry.c (_registry_notify_listeners):
5339 Changed listener loop iteration to use preferred convention.
5340 Got rid of string memory leaks caused be calling g_strconcat
5341 inside function calls.
5343 * libspi/registry.c (parse_event_type):
5344 Stopped g_strconcat memory leaks, free the g_strsplit return,
5345 g_strdup the split pieces when used, etc.
5347 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5350 Change method 'compare' to return a 'difference set' rather than
5351 taking a StateSet as an out parameter (more Java-friendly).
5353 * idl/Accessible.idl:
5354 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5356 * idl/Component.idl:
5358 Changed methods 'getExtents' and 'getImageExtents' in these
5359 interfaces to return a BoundingBox structure.
5360 (getPosition and getSize are redundant and possibly should be
5361 removed, rather than creating a corresponding Point struct.)
5363 * cspi/spi_component.c:
5364 Modify implementation of getExtents to reflect the above IDL
5369 Add (missing) AccessibleImage_getExtents () API.
5371 * docs/reference/cspi/at-spi-cspi-sections.txt:
5372 Added AccessibleImage_getImageExtents () to docs.
5374 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5376 * idl/Component.idl:
5377 Added two methods, getLayer () and getMDIZOrder (), to reflect
5378 the new ATK methods atk_object_get_layer and
5379 atk_object_get_mdi_z_order. (Which arguably should be part of the
5380 AtkComponent API and AtkObject). Also added an enum,
5381 ComponentLayer, for the first method's return value.
5383 * libspi/component.c:
5384 Added implementations for these methods.
5386 * cspi/spi_component.c:
5388 Added cspi binding methods for above,
5389 AccessibleComponent_getLayer() and
5390 AccessibleComponent_getMDIZOrder().
5391 Added cspi enum 'AccessibleComponentLayer'.
5393 * docs/reference/cspi/at-spi-cspi-sections.txt:
5394 Added above methods to docs.
5398 Changed typedef for 'boolean' type (and all references to it) to
5399 SPIBoolean, to avoid keyword clashes with C++.
5402 Changed usages of 'boolean' to SPIBoolean.
5404 * test/keysynth-demo.c:
5405 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5406 app), except where SPIBoolean is required by the callbacks API.
5408 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5410 * cspi/spi_registry.c:
5411 Removed obsolete X event loop for passive keygrabs (which now
5414 * registryd/registryd.c:
5415 Removed unnecessary call to gdk_init() [cruft]. This also allows
5416 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5419 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5421 * docs/reference/cspi:
5422 Included docs for SPI_freeString in generated documentation.
5425 Renamed spi_freeString to SPI_freeString, for consistency. Added
5426 documentation for this function.
5429 Renamed spi_freeString to SPI_freeString, for consistency.
5430 Removed obsolete method declaration string_from_corba_string.
5432 * test/keysynth-demo.c:
5433 Small tweak to comments.
5436 Stopped leaking the strings returned from CSPI.
5438 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5440 Merged Michael's branch (see his ChangeLog entries below).
5442 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5443 bridge is alive, release on exit.
5445 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5446 Fix type check macro.
5449 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5452 Added is_gnome_app static, and method cspi_is_gnome_app(),
5453 so we can call the appropriate shutdown routine at exit in SPI_exit.
5455 * cspi/spi_main.c (cspi_object_ref):
5456 Duplicate the corba object passed in, since we're keeping it around.
5458 * cspi/SPI_exit.c, cspi_cleanup:
5459 Moved the releasing of the live refs to its own function, so we
5460 can put it in g_atexit (). Call the appropriate shutdown API
5461 depending on whethe calling client is a gnome app or not
5462 (bonobo_main_quit or CORBA_ORB_shutdown).
5464 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5465 Unref the listener when this method is called, after
5466 deregistration. Updated the API docs to note this behavior.
5468 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5469 Bugfixes: Ref the bonobo object when returning a parent or child
5470 reference, or an AccessibleRelation. Generally made sure
5471 BonoboObject refcount is incremented whenever we return an
5474 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5475 Fixed typo/bug in signal declaration.
5477 * libspi/accessibleeventlistener.h:
5480 * libspi/application.c (spi_application_new):
5481 Fixed leak in initialization.
5484 Remembered to increment bonobo-object refcount when returning
5485 children (applications) from desktop object.
5486 Added (empty) finalize method.
5488 * libspi/deviceeventcontroller.c:
5489 Hold a ref to listeners inside DEControllerKeyListeners.
5490 Added dec_key_listener_free() method. Use prepend instead of
5491 append in key_listener list. Fixed some refcount madness and
5492 leaks in the listener registration/deregistration - deregistration
5493 now calls dec_key_listener_free() on listeners, and on the
5494 temporarily constructed dec_key_listener() used to perform the search/match.
5496 * libspi/hypertext.c (spi_hypertest_finalize):
5497 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5498 class. Also fixed spi_hypertext_interface_new() and
5499 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5501 * libspi/hypertext.h:
5502 Removed pointless and duplicate AtkObject pointer from
5505 * libspi/keystrokelistener.c:
5506 Fixed incorrect type of keystroke_listener_parent_class,
5507 renamed keystroke_listener_object_finalize to
5508 spi_keystroke_listener_object_finalize.
5509 Fixed typo in signal declaration
5510 (spi_keystroke_listener_class_init).
5512 * libspi/registry.c:
5513 Added funcsions spi_listener_struct_new() and
5514 spi_listener_struct_free() to help with memory management issues.
5515 We also now use these methods instead of gnew + poking stuff into
5516 the struct, and to decrement listener counts/free the listeners
5517 when deregistering them.
5518 Fix more refcount bugs in getDesktop() and
5519 getDeviceEventController().
5522 De-ref the desktop after enumerating the applications. Explicitly
5523 decrement the refcounts on the created listeners on exit (using
5524 _unref for keystroke listeners, and via the
5525 deregisterGlobalEventListenerAll command for other event
5528 2001-11-27 Michael Meeks <michael@ximian.com>
5530 * cspi/spi-listener.h: fixup enum.
5532 2001-11-27 Michael Meeks <michael@ximian.com>
5534 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5535 (cspi_keystroke_listener_new): Use the cspi variants.
5537 2001-11-26 Michael Meeks <michael@ximian.com>
5539 * test/keysynth-demo.c: fix 2 compile warnings, missing
5542 * test/simple-at.c (report_focussed_accessible),
5543 (report_focus_event, report_button_press),
5544 (check_property_change, is_command_key),
5545 (report_ordinary_key_event, report_command_key_event): upd.
5547 * util/mag_client.h: include pre-requisites.
5549 * libspi/accessibleeventlistener.c
5550 (spi_event_listener_object_finalize): free any lingering
5553 * libspi/keystrokelistener.c
5554 (keystroke_listener_object_finalize): ditto.
5556 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5557 callbacks, with cspi types.
5559 * cspi/spi_event.c (createAccessibleEventListener): chain to
5560 (AccessibleEventListener_addCallback): here.
5561 (createAccessibleKeystrokeListener): chain to
5562 (AccessibleKeystrokeListener_addCallback): here.
5564 * libspi/keystrokelistener.c
5565 (spi_keystroke_listener_class_init): add signal.
5566 (impl_key_event): emit the event.
5567 (boolean_handled_accumulator): impl.
5568 (marshal_BOOLEAN__POINTER): add, gack.
5570 * libspi/accessibleeventlistener.c
5571 (spi_event_listener_class_init): add signal.
5572 (impl_accessible_event_notify_event): emit the signal &
5573 make the loop efficient.
5574 (spi_event_listener_add_callback): prepend the callback.
5576 * libspi/accessibleeventlistener.h: add an 'event' signal,
5577 decl type on callback.
5579 * libspi/keystrokelistener.h: ditto.
5581 * cspi/spi-listener.h: make methods typesafe and
5582 make them use the new event typedefs.
5584 * test/simple-at.c (report_focussed_accessible):
5585 include mag_client.h
5586 Use *(void *)text_interface not the other thing.
5588 * configure.in: add gtk to registryd bits - since we use
5591 * util/magnifier.c: include libbonobo.h
5593 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5595 * test/keysynth-demo.c:
5596 Turned this into a simple scanning keyboard, to demonstrate the
5597 use of g_timeout_add () as a means of creating timers for
5598 scanning, and the use of GtkStyle for visually indicating when
5599 virtual keyboard elements are selected.
5601 keysynth-demo now listens to any keyboard keys with zero-valued
5602 keycodes (i.e. 'unused' keys) and interprets them as
5605 Reworked the shiftlatch code so that shift-down state isn't held
5606 for long periods (it's only synthesized immediately prior to
5607 the keysynth event it's modifying). Note that shiftlatch in this
5608 demo is a convenience, not intended to take the place of AccessX
5609 which is the better choice for getting 'sticky' modifier keys.
5611 * libspi/deviceeventcontroller.c:
5612 * at-bridge/bridge.c:
5613 * cspi/spi_registry.c:
5614 Removed some debug print stuff, and put other verbosity in #ifdef
5619 Implemented some more of the magnifier IDL for the simple
5620 magnifier: namely, getZoomRegionParams.
5621 Added mag_x and mag_y members to MagnifierData struct, aid of this
5623 Added GtkWindow::realize signal handler to magnifier, to keep it
5624 from receiving keyboard focus from the WM.
5626 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5628 * cspi/spi-private.h: my guess at what michael forgot
5629 before he ran off to NZ :-)
5631 2001-11-23 Michael Meeks <michael@ximian.com>
5633 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5634 comment out non existant method invoke so we link.
5636 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5637 use bonobo_exception_get_text for more friendly warnings.
5639 * cspi/spi.c (Obj_Add): move into spi_main & rename
5640 spi_object_add; kill spi.c
5642 * cspi/spi_registry.c
5643 (deregisterGlobalEventListener),
5644 (deregisterGlobalEventListenerAll),
5645 (registerGlobalEventListener): fix exception leaks.
5647 * cspi/spi_main.c (spi_exception): impl. helper, so we
5648 don't leak exceptions.
5650 * cspi/spi_selection.c
5651 (AccessibleSelection_deselectSelectedChild): return the
5654 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5655 (spi_registry): ditto.
5656 (SPI_init): guard against double inits.
5658 * cspi/*.c: use spi_ev (), and spi_registry () where
5659 appropriate - a temporary hack until we have something
5660 better. Use spi_object_add
5662 2001-11-22 Michael Meeks <michael@ximian.com>
5664 * cspi/Makefile.am: re organise, install the headers.
5666 * cspi/*.h: add G_BEGIN/END_DECLS
5668 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5671 Added non-preemptive keylistener for key events with no modifiers
5672 and shift-only modifier.
5674 * libspi/keystrokelistener.c:
5675 Removed some verbose diagnostics printout.
5677 * cspi/spi_registry.c:
5678 Fixed a bug that caused all key listeners to be registered as
5681 * libspi/deviceeventcontroller.c:
5682 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5683 for non-preemptive key masks.
5686 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5688 * docs/reference/idl/at-spi-idl-docs.sgml:
5689 * docs/reference/idl/at-spi-idl-sections.txt:
5690 * docs/reference/idl/at-spi-idl-overrides.txt:
5691 Added missing files.
5693 * docs/reference/Makefile.am:
5694 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5695 to scan the IDL files :-(
5700 Added .cvsignore files.
5702 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5704 * libspi/deviceeventcontroller.c:
5705 * libspi/keystrokelistener.c:
5707 * cspi/spi_registry.c:
5708 Added filters for KeySets, KeyEventSeq, and event types to key
5709 event dispatching, so listeners should only receive those events
5710 that they requested :-)
5712 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5717 * docs/reference:Makefile.am:
5718 * docs/reference/cspi:
5719 * docs/reference/cspi:Makefile.am:
5720 * docs/reference/cspi:tmpl:
5721 * docs/reference/cspi:tmpl:*.sgml:
5722 * docs/reference/idl:
5723 * docs/reference/idl:Makefile.am:
5724 * docs/reference/idl:at-spi-idl-sections.txt:
5725 * docs/reference/idl:at-spi-idl-docs.sgml:
5726 * docs/reference/idl:tmpl:
5727 * docs/reference/idl:tmpl:*.sgml:
5729 Restructured docs directory to allow separate 'reference' docs
5730 section, and forked idl and cspi docs. Added the sgml template
5731 files to CVS. Added the first sections/structural sgml for the
5734 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5736 * configure.in, libspi/Makefile.am: find libXtst.
5738 2001-11-21 Michael Meeks <michael@ximian.com>
5740 * test/accessx-gui.c: s/spi_value/value/ - doh.
5742 * libspi/base.[ch]: add.
5744 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5746 * idl/Accessible.idl:
5747 * idl/Application.idl:
5750 Started gtk-doc cleanup on IDL.
5752 * libspi/deviceeventcontroller.c:
5753 Added and connected non-preemptive key notification from the
5754 toolkits (in addition to the pre-emptive support from XServer
5755 which we had before, but which causes 'focus flashing'). Filters
5756 are presently limited to key modifiers and global/non-global,
5757 KeySets are presently ignored, as are KeyEvent masks.
5759 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5760 structs into the persistant structure rather than just storing
5761 pointers to things that might not persist across servant
5764 The XGrabKey call now does async keygrabs, because synchronous
5765 ones were deadlocking with GDK_event code in a very nasty way.
5767 Added boolean to internal method notify_keylisteners, to indicate
5768 whether the event came from the 'toolkit source' or the 'global
5769 (XServer) source' - this is used in the notification process to
5770 determine which listeners to send the event to.
5772 deviceeventcontroller.c is now warning-free.
5774 * libspi/registry.c:
5775 Fixed regression in application de-registration.
5776 Also fixed some really brain-dead weirdness having to do with
5777 event dispatching - event structs are now duplicated before being
5778 re-marshalled in the dispatch to listeners. This also fixes a
5779 Solaris build problem.
5782 2001-11-20 Michael Meeks <michael@ximian.com>
5785 (impl_accessibility_registry_deregister_global_event_listener):
5788 * libspi/deviceeventcontroller.c
5789 (spi_device_event_controller_check_key_event): return
5790 FALSE on no virtual method.
5792 * libspi/*..h: make includes work on a correctly pathed install.
5794 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5796 * libspi/application.h: kill unused ( and whacked out )
5797 gboolean *spi_application_set_id (AtkObject *app, long id);
5799 2001-11-20 Michael Meeks <michael@ximian.com>
5801 * libspi/*.[ch]: further convert to bonobo's type func
5802 macros, remove redundnant casts etc.
5804 * libspi/text.c s/accessibility_text/spi_text/g,
5805 re-order to de-cruft.
5807 * libspi/hypertext.c: re-order to kill a huge slew
5808 of redundant forward decls.
5810 * libspi/relation.c: ditto.
5812 * libspi/image.c: ditto.
5814 * */.cvsignore: update
5816 2001-11-20 Michael Meeks <michael@ximian.com>
5818 * libspi/deviceeventcontroller.c
5819 (_controller_register_with_devices): use g_getenv,
5820 kill stdlib.h include.
5822 * libspi/keystrokelistener.c
5823 (spi_keystroke_listener_get_type): kill
5824 (spi_keystroke_listener_class_init),
5825 (spi_keystroke_listener_init): rename to this.
5827 * libspi/text.c (impl_getAttributes): fix warning / bug.
5829 * libspi/*.[ch]: more headers, includes and over commenting.
5831 2001-11-20 Michael Meeks <michael@ximian.com>
5833 * libspi/*.[ch]: fixup headers, includes and over commenting.
5835 * libspi/image.c (impl__get_imageDescription): const
5836 correctness warning fix. remove redundant casting.
5838 * libspi/table.c (impl_getRowDescription): ditto.
5839 (impl_getColumnDescription): ditto.
5841 * libspi/libspi.h: add.
5843 2001-11-19 Michael Meeks <michael@ximian.com>
5845 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5847 * libspi/component.c (accessibility_component_get_type):
5848 rename to (spi_component_get_type): and macroify.
5849 (accessibility_component_init): rename to
5850 (spi_component_init): this
5851 (accessibility_component_class_init): rename to
5852 (spi_component_class_init): this
5854 * libspi/action.c (spi_action_get_type): kill, use the macro.
5856 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5859 * libspi/application.c (spi_application_object_event_listener),
5860 (impl_accessibility_application_register_object_event_listener):
5861 warning fixes / const understanding updates.
5863 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5866 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5868 * libspi/spi_accessible.c: Added docs and C bindings for
5869 AccessibleStateSet. (No implementations yet). Documentation
5870 coverage for C bindings now 100%. Made docs for event listeners
5875 boolean notifyListenersSync (in DeviceEventListener listener,
5876 in DeviceEvent event);
5878 oneway void notifyListenersAsync (in DeviceEventListener listener,
5879 in DeviceEvent event);
5881 Added DeviceEventListener and DeviceEvent structs (may deprecate
5882 KeyStroke and KeystrokeListener in favor of this generic
5883 event/listener framework for devices).
5885 * libspi/deviceeventcontroller.c:
5887 Changed some key listener code to take masks, etc., and paved the
5888 way for integration of toolkit/non-preemptive key events. Changed
5889 signatures of some internal methods.
5891 * at-bridge/bridge.c:
5892 Fixed regression connecting to interface signals, apparently
5893 caused by GTK+ changes.
5895 Added an internal bridge_state_listener to deal with
5896 property-change:accessible-state signals.
5898 Changed the key_listeners GList to store structs (including masks,
5899 etc.) instead of just CORBA_Objects (required for full
5900 implementation of key listener API).
5902 Connected the bridge to all currently supported Atk signals.
5903 Events now supported:
5904 object:property-change
5905 object:property-change:accessible-name
5906 object:property-change:accessible-state
5907 object:property-change:accessible-description
5908 object:property-change:accessible-parent
5909 object:property-change:accessible-value
5910 object:property-change:accessible-role
5911 object:property-change:accessible-table-caption
5912 object:property-change:accessible-table-column-description
5913 object:property-change:accessible-table-column-header
5914 object:property-change:accessible-table-row-description
5915 object:property-change:accessible-table-row-header
5916 object:property-change:accessible-table-summary
5917 object:children-changed
5918 object:visible-data-changed
5919 object:selection-changed
5920 object:text-selection-changed
5922 object:text-caret-moved
5924 object:row-reordered
5926 object:column-inserted
5927 object:column-reordered
5928 object:column-deleted
5929 object:model-changed
5931 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5933 * libspi/hyperlink.c,h:
5934 Fixed some broken stuff in hyperlink.
5936 * libspi/relation.h:
5937 * libspi/relation.c:
5938 * cspi/spi_accessible.c:
5939 Initial implementations of AccessibleRelation methods, and docs.
5941 * libspi/accessible.c:
5942 Fixed a bug that caused SEGV if an accessible
5943 object's description is NULL, and a client
5944 requests it. An empty string is now returned.
5946 * cspi/spi_editabletext.c:
5947 * cspi/spi_hypertext.c:
5949 * cspi/spi_hyperlink.c:
5953 Doc coverage now 95%.
5955 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5957 One last namespacing revision:
5958 * libspi/accessibleeventlistener.[ch]:
5959 Renamed SpiAccessibleEventListener to SpiEventListener,
5960 (no need for two namespaces ;-)
5962 And lots of documentation fixes:
5964 * docs/at-spi-docs.sgml:
5965 Fixed 'underscore vs. hyphen' bug that was preventing
5966 the gtk-doc API docs from being automatically generated.
5969 * cspi/spi-listener.h
5971 * cspi/spi_accessible.c
5973 * cspi/spi_application.c
5974 * cspi/spi_component.c
5975 * cspi/spi_editabletext.c
5977 * cspi/spi_hypertext.c
5979 * cspi/spi_registry.c
5980 * cspi/spi_selection.c
5984 * docs/at-spi-docs.sgml
5985 * docs/at-spi-sections.txt
5987 Added and fixed up gtk-doc documentation in cspi.
5989 Interfaces now (fully) documented (subject to revision and enhancement):
5991 Event Listener Support
5993 AccessibleApplication
5997 AccessibleEditableText
6004 AccessibleRelationSet
6009 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6011 * at-bridge/bridge.c:
6012 Initial work for toolkit-level key snooper connection by bridge.
6017 New typedefs and fixes to support new namespacing, and cleaner
6018 separation of cspi bindings from libspi bonobo implementation.
6019 Removed inconsistent and extraneous Spi* namespace prefix that
6020 had crept into cspi headers.
6021 Lots of comment fixes that sed had missed.
6023 * cspi/spi-roletypes.h:
6024 * cspi/spi-statetypes.h:
6025 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6026 to AccessibleRoleType.
6028 * libspi/accessibleeventlistener.h:
6029 Fixed minor namespacing weirdness.
6031 * libspi/deviceeventcontroller.c:
6032 Reordered some internal API for device listeners.
6033 Changed the key registry final boolean to 'is_system_global'
6034 rather than 'is_synchronous', which is more descriptive of its
6036 Added spi_device_event_controller_new().
6037 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6039 * libspi/keystrokelistener.[ch]:
6040 Namespaced KeystrokeListener to SpiKeystrokeListener.
6041 Changed uses of keymasks to use SPI_ prefix, and did other
6044 * libspi/keymasks.h:
6045 Namespaced keymask constants with SPI_ prefix.
6047 * libspi/registry.c:
6048 Some warning fixes, and knock-on fixes from namespace changes.
6051 Added rules for accessx-gui test program.
6053 * test/accessx-gui.c:
6054 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6055 utility. It doesn't actually use at-spi, but it's still cool and
6058 * test/keysynth-demo.c:
6062 Fixes so that these test clients work properly with the namespaced
6063 libraries. (Incompletely tested for technical reasons, fixes may follow)
6066 2001-11-13 Michael Meeks <michael@ximian.com>
6068 * libspi/application.c
6069 (impl_accessibility_application_get_version),
6070 (impl_accessibility_application_get_toolkit_name):
6072 (impl_accessibility_application_set_id),
6073 (impl_accessibility_application_get_id): remove
6074 redundant casting code.
6076 * libspi/action.c (impl_getDescription): fix warnings.
6078 * libspi/accessible.c
6079 (impl_accessibility_accessible_get_parent),
6080 (impl_accessibility_accessible_get_child_at_index),
6081 (impl_accessibility_accessible_get_state),
6082 (impl_accessibility_accessible_get_relation_set):
6083 warning fixes & include action.h
6085 2001-11-13 Michael Meeks <michael@ximian.com>
6087 * *.[ch] fix bits I screwed up:
6089 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6090 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6092 2001-11-13 Michael Meeks <michael@ximian.com>
6094 * *.[ch] Namespace libspi into spi_ and Spi.
6096 2001-13-11 Michael Meeks <michael@ximian.com>
6098 * Makefile.am: dist & install at-spi-1.0.pc
6100 * libspi/Makefile.am: install into at-spi-1.0
6102 * idl/Makefile.am (idldir): install into at-spi-1.0
6104 * at-spi-1.0.pc.in: add.
6106 * configure.in: build it.
6108 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6110 * test/keysynth-demo.c:
6111 Use a 'realize' signal-handler to set the WM properties for
6112 the virtual keyboard, rather than making it a "POPUP" type
6113 override-redirect window (thanks to anders carlsson for that
6116 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6119 * test/keysynth-demo.c:
6120 Added new test of key synthesis, which creates a simple
6121 (mouse-operated) onscreen keyboard. It inserts key events into
6122 the currently-focused window, thus it does not grab keyboard focus
6125 * cspi/spi_registry.c:
6126 Added C binding for AT-SPI generateKeyEvent.
6128 * libspi/deviceeventcontroller.c:
6129 Added call to XFilterEvent so that key listener works with XIM (we
6130 hope). Added event_synth_type to generateKeyEvent, so that we can
6131 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6132 synthesize a press/release pair for KeySyms.
6134 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6136 * libspi/Makefile.am:
6137 * registryd/Makefile.am:
6138 (temporary) hack to include libXtst in libspi and registryd.
6139 (Needed for keystroke synthesis, see below).
6142 Improved API for registerKeystrokeListener, in accordance with
6143 discussions with Gnopernicus team and X server research.
6145 * libspi/registry.c:
6146 * libspi/deviceeventcontroller.c:
6147 * libspi/accessible.c:
6148 * libspi/keystrokelistener.c:
6149 Changes and fixes to support keylisteners for potentially
6150 consumed key events (that is, 'passive grabs').
6151 Added implementation for generateKeyEvent() [untested].
6154 Changes to registerKeystrokeListener() API, as above.
6155 Added deregisterGlobalEventListenerAll(), and
6156 deregisterKeystrokeListener(), which are needed for clean exit of
6158 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6159 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6161 * cspi/spi_registry.c:
6162 Added implementations of function prototypes mentioned above.
6164 * registryd/registryd.c:
6165 Added the key listener event source as a g_timeout(), to allow
6166 receipt of key events that are not caught by GDK (since GDK
6167 doesn't support passive keygrabs, this was necessary).
6170 Changed to attach a keylistener to 'Alt' keys, and
6171 respond to the following keycommands: Alt-M (toggle magnifier);
6172 Alt-F (toggle speech); Alt-Q (quit).
6173 Added an exit routine to deregister the listeners, and a key
6174 listener that prints some key info to the console when a key
6175 matches the listener mask (and is thus received by the listener).
6177 * util/idl/Magnifier.idl:
6178 Changes to magnifier API to support multiple zoom regions,
6179 non-uniform scaling in x and y, markDirty, and a host of other
6180 features that would be useful to magnification.
6183 * util/mag_client.c:
6184 * util/mag_client.h:
6185 * util/mag_control.c:
6187 Source code changes to support the above IDL changes.
6190 As above, and also changes to use a (slower) generic conversion
6191 path for colormap conversions, since the fast RGB conversions have been
6192 reported to fail for 16-bit displays.
6194 2001-10-26 Michael Meeks <michael@ximian.com>
6196 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6198 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6200 * at-bridge/Makefile.am: fix LDFLAGS.
6202 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6204 * at-bridge/bridge.c:
6205 Re-worked listeners for toolkit events, now we have signal
6206 and property listeners. Added a private method
6207 register_atk_event_listeners(), which registers with the
6208 various atk and gtk signals we need to monitor in order to emit
6210 Added emission hook for AtkObject:property-change events, to
6211 support the 'property listeners'.
6212 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6215 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6216 which emit warnings and exit, respectively, if CORBA errors occur
6217 during remote calls, and we now use these methods to check most of
6218 our CORBA calls in the C bindings.
6220 * cspi/spi_accessible.c:
6221 Changed AccessibleSelection_refSelectedChild() to
6222 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6223 now increment refcounts.
6225 * cspi/spi_component.c:
6226 Fixed some long pointer casts (dangerous!) to pass pointers to
6227 CORBA_longs of the proper type to the CORBA stubs, and copy the
6228 data into the longs that were passed into the C bindings code.
6230 * at-bridge/bridge.c:
6232 * libspi/accessible.c:
6233 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6234 hyperlinks, AtkHyperlink is an object type.
6236 * libspi/application.c:
6237 Added various conversions to and from "generic" event types and
6238 atk-specific types; this is really part of the 'bridge'
6239 implementation but is valid for all AtkObject-based accessibility
6242 * libspi/editabletext.c:
6243 Fixed nasty bug wherein editable text's finalize method was
6244 unref'ing tha AtkObject reference that the text parent class was
6245 about to unref _again_. There was also a nasty inheritance bug
6246 that meant that the AccessibleEditableText class was corrupt.
6248 * libspi/selection.c:
6249 Provided implementations for some selection API that was broken.
6251 * idl/Application.idl:
6252 Added registerObjectEventListener () method.
6255 Fixed a number of return values that were Bonobo_Unknowns from
6256 bonobo_object_corba_objref(), which I
6257 forgot to dup before returning. Changed instances of
6258 bonobo_object_corba_objref (bonobo_object(o)) to
6259 BONOBO_OBJREF(o), for concision and clarity.
6261 2001-10-13 Louise Miller <louise.miller@sun.com>
6263 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6264 idl/Event.idl, idl/Registry.idl
6265 Changed these files to include Bonobo_Unknown.idl instead
6268 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6270 * libspi/component.c libspi/component.h:
6271 Fixed typo. Added assertions for object checks in
6272 AccessibleComponent code.
6274 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6276 * idl/Accessible.idl:
6277 Added 'isEqual (Accessible *object)'
6278 method for Accessible. (Not Yet Implemented).
6281 Changed signature of registerKeystrokeListener() to
6282 take a KeySet and KeyEventSeq so that specific keys and event
6283 types could be requested for monitoring, and added a flag
6284 is_synchronous so that either synchronous or asynchronous
6285 notification could be requested. (However this is not all
6286 implemented yet). This also meant adding two new typedefs,
6287 KeyEventSeq and KeySet.
6290 Added two new relations, RELATION_TOOLTIP_FOR and
6291 RELATION_LEAFNODE_OF.
6294 Added new state, STATE_HAS_TOOLTIP.
6296 * libspi/text.c, editabletext.c:
6297 Added new assertions to all casts of bonobo-objects from
6298 CORBA servants, to prevent Text API calls on non-text objects.
6299 Changed suspect casts of int-pointer types, so that we
6300 always send a valid CORBA_long pointer to the CORBA APIs that use
6301 in/out long parameters. We then have to copy from the CORBA_long
6302 into the regular long or int for return to the C bindings, or
6303 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6306 * libspi/deviceeventcontroller.c:
6307 Cleaned these sources up.
6309 Changed return type for getCharacterAtOffset to
6310 CORBA_unsigned_long, to allow for 32-bit characters.
6313 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6317 Fixed 'make dist' so that distro compiles...
6318 * libspi/keymasks.h:
6320 * cspi/spi-listener.c:
6321 KeystrokeListenerCB now returns a boolean.
6323 Added KeyEventType struct, and KeyStroke.
6324 Also added createKeystrokeListener(),
6325 KeystrokeListener_addCallback(),
6326 KeystrokeListener_removeCallback(), and added a keymask to
6327 registerKeystrokeListener().
6328 * cspi/spi_accessible.c:
6329 Changed numerous return types for interfaces from
6330 AccessibleComponent to Accessible<InterfaceName>; this was
6331 probably a cut-and-paste error.
6333 Implementations of new KeystrokeListener api (from spi.h,
6336 Changes to key modifier mapping.
6337 Created ControllerEventMask struct.
6338 Made DeviceEventController derive from Bonobo::Unknown.
6340 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6341 * libspi/deviceeventcontroller.c:
6342 Added a number of new internal (private) methods.
6343 * libspi/editabletext.c:
6344 * libspi/editabletext.h:
6345 Fixed a number of bugs related to the fact that
6346 editabletext inherits from text. Fixed the EditableText struct,
6347 the init() call, and use correct casts when calling Text methods
6348 from an EditableText object. Removed (duplicate) atko from the
6349 EditableText structure, we use the one in the parent Text
6350 structure via the casts mentioned above.
6351 * libspi/keystrokelistener.[ch]:
6352 * libspi/registry.c:
6353 Changes in support of keyboard handling (above).
6355 Keyboard handling, though partly functional, is still not
6356 recommended for at-spi client use as there is considerable
6357 work yet to be done.
6360 Changed some places where pointers to various int types
6361 are cast to be pointers to CORBA_long types and vice-versa:
6362 pointer casting is not safe so we pass pointers of the correct
6363 types and then cast the result before putting it into the target
6366 * libspi/text.h: minor typos corrected.
6368 We now speak not only the name of a Text element, but the
6369 first sentence of its content, when it receives focus.
6370 I also changed the text compression to 75% from 50%.
6371 * util/Accessibility_Util.server.in:
6372 Changed the default magnifier type to be a 3x vertical
6373 splitscreen magnifier (was previously a 2x horizontal one).
6375 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6377 * libspi/keystrokelistener.h:
6378 * libspi/keystrokelistener.c:
6379 Initial functional implementations of KeystrokeListener.
6382 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6384 Fixed string handling for NULL strings in libspi.
6385 Added spi_freeString to free strings returned by C bindings.
6387 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6389 * libspi/keystrokelistener.h:
6390 * libspi/keystrokelistener.c:
6391 Began (no-op) implementations of KeystrokeListener
6393 * libspi/deviceeventcontroller.c:
6394 * libspi/deviceeventcontroller.h:
6395 Began creating implementations of DeviceEventController,
6396 to handle keystroke and mouse event listening and
6398 * libspi/accessible.c:
6399 Stubbed-in the implementations for
6400 Accessibility_Accessible_getState and
6401 Accessibility_Accessible_getRelationSet.
6402 * libspi/registry.c:
6403 Improved de-registration process and fixed some bugs,
6404 deregistration now works correctly.
6406 Added initialization of applications list (to NULL).
6408 Reduced speech compression from 0.5 to 0.7, for demo.
6409 Changed call to gdk_window_set_decorations()
6410 to gtk_window_set_decorated().
6411 * at-bridge/bridge.c:
6412 Bridge now deregisters when app exits, via
6413 registration of a cleanup function
6414 with the g_atexit() call.
6415 Required making 'app' static, renamed 'this_app'.
6416 Fixed broken use of bonobo_init, passing argv wrongly.
6418 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6422 Created a new directory for
6423 accessibility-related utilities, primarily for
6424 testing and demo purposes, but with possible
6431 Onscreen magnifier utility that
6432 is implemented as a bonobo service.
6434 * util/mag_client.c:
6435 * util/mag_client.h:
6436 Client-side support (simple C bindings)
6437 for Magnification service
6439 * util/mag_control.c:
6440 Client program example for
6441 Magnification service
6443 * util/Accessibility_Magnifier.server.in:
6444 Bonobo-activation file for the
6445 Magnification service.
6448 * util/idl/Magnifier.idl:
6449 IDL defining the bonobo Magnification
6453 Modifications to use the bonobo-activated magnifier
6454 above, in place of trying to connect to an existing
6455 magnifier that uses socket-listening IPC.
6457 If env variable MAGNIFIER is set, a magnifier service
6458 will be started if one does not exist.
6460 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6462 * at-bridge/bridge.c:
6463 applied patch from Marc to build and run
6464 against new glib and gtk+ (seemed like a change
6465 to bonobo_init signature was made ?)
6467 made festival-server support turned off by default.
6468 Added support for a simple magnifier (off by default)
6469 which will be added to a 'util' directory later.
6470 * at-bridge/Makefile.am:
6471 Changed "application.h" header from a 'source'
6472 to a 'dependency' of libat-bridge.
6474 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6483 Added interface implementation c files to list of
6484 includes so they are included in libcspi.
6487 Changed prototype of AccessibleAction_doAction to return a
6489 Changed prototype of AccessibleTable_getCaption to
6490 return an Accessible.
6491 Changed prototype of AccessibleTable_getSelectedRows
6492 and AccessibleTable_getSelectedColumns to
6493 return a long (returns the number of selected rows
6494 or columns respectively).
6495 Changed name of AccessibleText_refRunAttributes to
6496 AccessibleText_getAttributes.
6497 Changed prototype of AccessibleText_getCharacterExtents to
6498 return a void rather than a boolean.
6499 Added support for a AccessibleCoordType parameter
6500 specifying what type of coordinates are desired.
6501 Added an AccessibleCordType parameter to
6502 AccessibleText_getPointAtOffset.
6504 * cspi/spi_accessible.c:
6505 Added code to return the outstanding interfaces from
6506 Accessible_queryInterface.
6508 * cspi/spi_action.c:
6510 Corrected call to getNActions to call the c binding
6513 * cspi/spi_editabletext.c:
6515 Changed name from setRunAttributes to setAttributes.
6517 * cspi/spi_hyperlink.c:
6519 Changed call to getNAnchors to correctly call the c
6520 binding for an attribute.
6522 * cspi/spi_hypertext.c:
6524 Changed getImageDescription to correctly call the
6525 binding for an attribute.
6527 * cspi/spi_selection.c:
6528 Changed getNSelectedChildren to correctly call the c
6529 binding for the attribute.
6530 Changed refSelectedChild to getSelectedChild.
6534 Changed getCaption to return an Accessible.
6535 Fixed calls which retrieve attributes.
6536 Changed refAt to getAccessibleAt.
6537 Changed getNSelectedRows and getNSelectedColumns to
6541 Changed getCharacterExtents and getPointAtOffset to accept an
6542 AccessibleCoordType.
6544 Changed calls which retrieve attributes.
6545 Changed refRunAttributes to getAttributes.
6550 * idl/Hyperlink.idl:
6551 Changed n_anchors attribute to nAnchors to keep naming
6552 convention consistent.
6555 Made Table inherit from Bonobo::Unknown.
6556 Added nSelectedColumns and nSelectedRows attributes.
6559 Made Value inherit from Bonobo::Unknown.
6561 * libspi/hyperlink.c:
6562 Change for nAnchors attributte name change.
6564 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6572 Added interface implementation c files to list of
6573 includes so they are included in libcspi.
6576 Changed prototype of AccessibleAction_doAction to return a
6578 Changed prototype of AccessibleTable_getCaption to
6579 return an Accessible.
6580 Changed prototype of AccessibleTable_getSelectedRows
6581 and AccessibleTable_getSelectedColumns to
6582 return a long (returns the number of selected rows
6583 or columns respectively).
6584 Changed name of AccessibleText_refRunAttributes to
6585 AccessibleText_getAttributes.
6586 Changed prototype of AccessibleText_getCharacterExtents to
6587 return a void rather than a boolean.
6588 Added support for a AccessibleCoordType parameter
6589 specifying what type of coordinates are desired.
6590 Added an AccessibleCordType parameter to
6591 AccessibleText_getPointAtOffset.
6593 * cspi/spi_accessible.c:
6594 Added code to return the outstanding interfaces from
6595 Accessible_queryInterface.
6597 * cspi/spi_action.c:
6599 Corrected call to getNActions to call the c binding
6602 * cspi/spi_editabletext.c:
6604 Changed name from setRunAttributes to setAttributes.
6606 * cspi/spi_hyperlink.c:
6608 Changed call to getNAnchors to correctly call the c
6609 binding for an attribute.
6611 * cspi/spi_hypertext.c:
6613 Changed getImageDescription to correctly call the
6614 binding for an attribute.
6616 * cspi/spi_selection.c:
6617 Changed getNSelectedChildren to correctly call the c
6618 binding for the attribute.
6619 Changed refSelectedChild to getSelectedChild.
6623 Changed getCaption to return an Accessible.
6624 Fixed calls which retrieve attributes.
6625 Changed refAt to getAccessibleAt.
6626 Changed getNSelectedRows and getNSelectedColumns to
6630 Changed getCharacterExtents and getPointAtOffset to accept an
6631 AccessibleCoordType.
6633 Changed calls which retrieve attributes.
6634 Changed refRunAttributes to getAttributes.
6639 * idl/Hyperlink.idl:
6640 Changed n_anchors attribute to nAnchors to keep naming
6641 convention consistent.
6644 Made Table inherit from Bonobo::Unknown.
6645 Added nSelectedColumns and nSelectedRows attributes.
6648 Made Value inherit from Bonobo::Unknown.
6650 * libspi/hyperlink.c:
6651 Change for nAnchors attributte name change.
6654 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6656 implementations-- made server implementations own AtkObject pointers
6657 rather than their respective AtkInterrface pointers to fix
6658 refcounting. AtkHyperlink is still broken.
6660 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6661 * cspi/spi_accessible.c:
6662 Added method Accessible_Role_getName(),
6663 and requisite string array (role_names).
6664 Added conversion string_from_corba_strin() call
6665 to Accessible_getName and _getDescription.
6666 * libspi/accessible.c:
6667 Added implementation for Accessible_getRole()
6669 Added festival support, used if environment variable
6672 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6674 * at-bridge/bridge.c:
6675 Now allocate Accessibility_Event using
6676 Accessibility_Event__alloc() instead of g_new0().
6677 * libspi/accessibleeventlistener.c:
6678 Initialize AccessibleEventListener->callbacks to NULL.
6679 Fixed accessible__event_listener_init() param, changed to
6680 "AccessibleEventListener *" type.
6681 Changed a bonobo_object_release_unref() call to
6682 Accessibility_Accessible_unref().
6683 * libspi/listener.c:
6684 Changed Bonobo_Unknown_unref to (equivalent)
6685 Accessibility_Accessible_unref.
6686 * libspi/registry.c:
6687 Changed bonobo_object_release_unref to
6688 Accessibility_Accessible_unref.
6690 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6693 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6694 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6695 spi-util.c spi-util.h
6696 Implementations for C bindings to remaining accessibility
6699 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6702 changed return value of Action from void to boolean to
6703 bring in line with ATK.
6706 Changed getText funcions to return "out" start and end offsets.
6707 Changed getAttributes to take and offset and return the start
6708 and end offset of the attribute run.
6709 Changed getOffsetAtPoint and getCharacterExtents to take an
6710 enum describing whether coordinates are window or screen.
6713 libspi/action.c libspi/action.h libspi/editabletext.c
6714 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6715 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6716 libspi/image.h libspi/selection.c libspi/selection.h
6717 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6718 libspi/value.c libspi/value.h
6719 Added server implementations for outstanding ATK interfaces
6720 not yet implemented.
6722 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6725 Added (missing) getName() method.
6726 Made nActions an attribute.
6727 * idl/EditableText.idl:
6728 Changed order of params in setAttributes.
6729 * idl/Hyperlink.idl:
6730 Removed getAnchor, added getURI.
6732 Changed attributes to methods, for efficiency
6733 (so that getting extents can be done in one call)
6734 * idl/Selection.idl:
6735 Changed nSelectedChildren to attribute, and re-indented.
6736 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6738 * idl/Text.idl: reformatted to match our coding style.
6739 (temporarily?) removed getRowColumnAtOffset().
6740 Changed text selection API to support multi-select and
6741 non-contiguous selections, as in ATK.
6742 * idl/Value.idl: changed some methods to attributes.
6744 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6746 * libspi/listener.c(impl_notify_event):
6747 BonoboUnkown_unref the source instead
6748 of bonobo_object_release_unref - the ORB
6749 handles the releasing.
6751 * configure.in: require ORBit-2.3.94 for
6754 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6756 Tagged CVS repository 'EA_1_0'.
6757 * README.EARLY_ACCESS:
6758 Alphabetized acknowledgements list, and
6760 Listed some known dependencies of at-spi.
6762 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6764 * docs/at-spi-docs.sgml:
6765 * docs/at-spi-sections.txt:
6766 * docs/at-spi-overrides.txt: (Added zero-length file)
6767 Documentation improvements - gtk-doc should build
6768 docs for all implemented C bindings now.
6771 * cspi/spi.c: (New file)
6772 * cspi/spi_event.c: (New file)
6773 * cspi/spi_registry.c: (New file)
6774 * cspi/spi_accessible.c: (New file)
6775 * cspi/spi_application.c: (New file)
6776 * cspi/spi_component.c: (New file)
6777 Split spi_main.c into six parts, and included them from
6778 "spi.c". This is a bit of a hack, probably temporary,
6779 but required by gtk-doc, apparently.
6781 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6784 * docs/at-spi-docs.sgml:
6785 * docs/at-spi-sections.txt:
6787 Initial checkins/modifications for gtk-doc generation.
6790 Added (missing) interface query methods to Accessible's C binding.
6792 Added GenericInterface type definition.
6794 Added query for AccessibleComponent interface to focus event handler.
6795 Added printout of bounding box for focussed component.
6796 * libspi/component.c:
6797 Added partial implementation for AccessibleComponent to C binding.
6798 * idl/Application.idl:
6799 * libspi/registry.c:
6800 * libspi/listener.c:
6801 * libspi/application.c:
6802 * libspi/application.h:
6803 Changed "ID" attribute type from string to long.
6805 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6809 Made method naming consistent: methods taking object args
6810 start with uppercase, other methods (except those using
6811 acronyms) start with lowercase. Underscores delimit between
6812 object names and method names:
6813 SPI_init() - uppercase since it starts with an acronym.
6814 getDesktopCount () - lowercase start since no object param0.
6815 Accessible_getName() - uppercase object type name, studlyCaps method
6819 Added gtk-doc documentation for all currently implemented
6820 methods in the C bindings API.
6822 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6824 * Makefile.am : changed build order to build test last.
6827 Changed "createEventListener" to "CreateEventListener".
6828 * libspi/accessibleeventlistener.c :
6829 Bugfix for addition of callbacks.
6830 * test/Makefile.am :
6831 * test/simple-at.c :
6832 Added new test that uses the C bindings API.
6834 * libspi/listener.c :
6835 * libspi/registry.c :
6836 * libspi/accessibleeventlistener.c :
6837 * at-bridge/bridge.c :
6838 Renamed member "target" of Accessibility_Event to "source",
6839 which is more descriptive.
6842 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6846 * cspi/Makefile.am :
6847 Added makefile support for at-spi/cspi directory.
6850 * cspi/spi-listener.h : (NEW FILE)
6851 Added support for/use of spi-listener.h.
6853 C bindings now build successfully, with no warnings.
6854 * libspi/accessibleeventlistener.h : (NEW FILE)
6855 * libspi/accessibleeventlistener.c : (NEW FILE)
6856 * libspi/Makefile.am :
6857 Added new object type "AccessibleEventListener"
6858 which inherits from Listener, and allows attachment
6859 of in-process callbacks (so that a client with a listening
6860 object instance can add functionality to the local
6861 implementation, dynamically).
6863 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6865 * libspi/accessible.c:
6866 Add implementation for get_index_in_parent().
6868 Added #include of "spi-roletypes.h", and
6869 added enumerated type AccessibleCoordType.
6870 Added definition for KeystrokeListener (function type).
6873 * cspi/spi-statetypes.h :
6874 * cspi/spi-roletypes.h :
6876 Added these headers, used by spi.h.
6878 Added code (NOTE: not yet built by make).
6880 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6882 * libspi/Makefile.am: generate imodule
6883 at the same time as other idl compiler
6886 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6887 * libspi/registry.c :
6888 * libspi/application.c :
6889 * idl/Application.idl :
6890 Made registration with toolkit an application method,
6891 which is required since each app has its own toolkit static
6892 environment. Thus the bridge must register for
6893 notification of toolkit events from each application in turn.
6894 Toolkit notifications are now successfully registered for, and
6895 sent to the listening at client.
6897 Changed toolkit event string to use hyphens rather than underscores.
6898 * libspi/listener.c :
6899 listner now gives more info in debug mode - it reports the
6900 name of the event received, as well as the name of the source.
6903 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6905 * libspi/registry.c :
6906 added more implementation for toolkit events.
6907 Fixed bug such that toolkit event registrations
6908 (via atk) use the whole event name string, not
6910 Removed a useless call to an ORBit_ method.
6911 * at-bridge/bridge.c :
6912 Removed unused local sbuf[] variable.
6914 We now register for Gtk:GtkWidget:button_press_event
6915 events as well as "focus:" events.
6917 Add some more API from Registry.idl that was missing,
6918 for keystroke listening, keystroke and mouse event
6919 synthesis, and enumeration of accessible desktops.
6921 2001-08-16 Michael Meeks <michael@ximian.com>
6923 * configure.in: use AM_GLIB_GNU_GETTEXT.
6925 * Makefile.am (SUBDIRS): kill intl.
6927 2001-08-15 Michael Meeks <michael@ximian.com>
6929 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6931 * configure.in: upd.
6933 * configure.in: depend on a recent bonobo-activation that
6934 will find our server files ...
6936 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6938 * libspi/accessible.c : accessible_new() :
6939 Now we add the Component interface via bonobo_object_add_interface,
6940 if the contained AtkObject implements AtkComponent.
6941 * libspi/accessible.h : now include "component.h"
6942 * libspi/component.h :
6943 * libspi/component.c : added files - implementation of
6944 bonobo wrapper object for Accessibility/Component
6945 * libspi/listener.c :
6946 Added test code to check for Accessibility/Component:1.0
6947 interface and report whether it is implemented by the
6949 * libspi/registry.c :
6950 Now we check for not only the hash of the whole event
6951 string before relaying the event, we also check the
6952 "minor" event string (without the detail string).
6953 This allows event listeners to be registered against
6954 all events of a certain major+minor type, or just
6955 against a specific major+minor+detail type.
6956 * libspi/accessible.c :
6957 Added implementations for Accessible:get_parent(),
6958 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6959 * libspi/registry.c :
6960 * libspi/listener.c :
6961 Replaced calls to Accessibility_Accessible_ref() and
6962 Accessibility_Accessible_unref() with
6963 calls to bonobo_object_dup_ref() and
6964 bonobo_object_release_unref(), so that the CORBA object
6965 is dup-ed and released when relayed, as well as the bonobo object.
6967 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6969 * libspi/Makefile.am,
6970 registryd/Makefile.am,
6971 at-bridge/Makefile.am.
6972 test/Makefile.am, configure.in:
6973 reverse previous changes.
6975 * /idl/Image.idl: fix typo.
6977 * test/Makefile.am: put DEBUG_FLAGS
6980 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6982 * test/app.c: use argv[0] instead of
6985 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6987 * libspi/Makefile.am,
6988 registryd/Makefile.am,
6989 at-bridge/Makefile.am.
6990 test/Makefile.am, configure.in:
6991 cleanup, replace individual LIBS/CFLAGS with
6992 AT_COMMON_{LIBS|CFLAGS}.
6996 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6998 * configure.in, libspi/Makefile.am:
6999 Change IDL path checking for bonobo-activation
7002 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7004 * registryd/registry.c : separated event listeners to use
7005 3 separate lists (focus, window, toolkit). Began testing
7006 event names against hashes before relaying events.
7007 * test/at.c : now register for events of type "focus:"
7008 * test/app.c : now generate events of type "focus:"
7009 * at-bridge/bridge.c : register with ATK for focus events,
7010 and we now relay those focus events to any "focus:" listeners.
7011 This now works with the bridge as a GTK_MODULE when running test/at.
7012 * libspi/registry.c :
7013 * libspi/listener.c :
7014 now we ref event sources before propagating, and unref on receipt.
7015 * libspi/registry.c :
7016 some changes to internal structs, to support event typestring hashes.
7017 * text/app.c : changed the way the appname is generated.
7018 * cspi : added directory that will hold the C bindings library for
7019 non-CORBA/bonobo-savvy clients.
7020 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7021 * idl/Component.idl : added in parameter to indicate coord system for
7022 geometry-related calls.
7023 * idl/Hyperlink.idl : added readonly n_links attribute
7024 * idl/Image.idl : changed methods to attributes.
7026 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7028 * at-bridge/Makefile.am: link against
7029 ../libspi/libspi.la instead of -lspi.
7031 * at-spi/test/app.c: include
7032 bonobo-activation.h. Use a default appname
7033 if one is not provided.
7035 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7037 * idl/Registry.idl : temporarily changed register_Application
7038 to oneway, to work around issue with initial registration
7040 * idl/Application.idl : changed attribute "id" from readonly
7041 to read-write, since it needs to be assigned by Registry.
7042 * registryd/registryd.c : added call to set application id
7044 * registryd/registry.c : changed de-registration procedure to
7045 use CORBA_Object_hash() to find matching object ref in application
7046 lists and listener lists.
7047 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7048 began distinguishing between event types (work in progress).
7050 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7053 * libspi/application.c:
7054 Added implementations for get/set id, get_toolkitName,
7056 * registryd/registryd.c :
7060 Converted from use of OAF to bonobo-activation.
7061 * libspi/desktop.h :
7062 * libspi/desktop.c :
7064 Removed references to atksimpleobject, since base atkobject
7065 implementation now provides functionality we need.
7066 * libspi/atksimpleobject.c :
7067 * libspi/atksimpleobject.h :
7072 * at-bridge/Makefile.am
7073 * at-bridge/bridge.c
7076 Added directory "bridge" and contents, and added dependencies
7077 in Makefile.am/configure.in.
7078 Initial checkin of "at-bridge".
7079 This code is a GTK_MODULE which automatically registers
7080 GTK+ apps with the accessibility registry, using an object
7081 reference to the root ATK object.
7083 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7085 * po/Makefile.in.in: Remove. Again. If this
7086 doesn't get autogenerated - you need to update
7089 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7091 * po/Makefile.in.in: Add. Again.
7093 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7095 * libspi/accessible.c : added support for 'description' property.
7096 * libspi/accessible.c
7098 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7099 (since the two are now equivalent in libbonobo)
7107 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7108 Bonobo::Unknown as does Accessibility::Accessible.
7109 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7110 interface with Bonobo::Stream, since it was redundant with it.
7111 (The Stream returned by a StreamableContext object is expected to
7112 implement only a subset of Bonobo::Stream)
7114 2001-07-28 Anders Carlsson <andersca@gnome.org>
7116 * libspi/accessible.c (accessible_object_finalize): Change
7117 g_free to g_object_unref since the AtkObject is a GObject.
7119 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7121 * idl/Accessibility.idl: add new IDL files
7124 * idl/Action.idl: Definitions of actionable UI object
7125 * idl/Component.idl: Definitions of UI component geometry, etc.
7126 * idl/Hyperlink.idl: Defs of hyperlink behavior
7127 * idl/Image.idl: Def of accessible image
7128 * idl/Selection.idl: Definition of UI object with selectable children
7129 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7130 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7131 * idl/Text.idl: Interface defs for UI elements with complex textual content
7132 * idl/Value.idl: Definition of UI element that is a value controller or display
7134 2001-07-27 Michael Meeks <michael@ximian.com>
7136 * po/Makefile.in.in: remove autogenerated file from CVS.
7138 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7141 * idl/Registry.idl: include guard.
7143 * idl/Accessibility.idl: Add, and include all the other IDL
7146 * idl/*.idl: remove mass of pragmas etc.
7148 2001-07-26 Michael Meeks <michael@ximian.com>
7150 * registryd/Makefile.am (registryd_SOURCES): remove
7153 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7155 * libspi/.cvsignore, registryd/.cvsignore,
7156 test/.cvsignore: updated.
7158 * po/Makefile.in.in: gettext update.
7160 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7162 * initial CVS checkin
7164 2001-06-29 Michael Meeks <michael@ximian.com>
7166 * configure.in: add AM_CONFIG_HEADER to gen config.h