1 2005-04-15 Abduxukur Abdurixit <abduxukur.abdurixit@t-systems.ch>
3 * configure.in: Added "ug" to ALL_LINGUAS.
5 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
7 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
8 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
9 Same here. Closes bug #167806
11 2005-04-05 Bill Haneman <bill.haneman@sun.com>
13 * atk-bridge/bridge.c:
14 (spi_atk_bridge_signal_listener):
15 Free the any._value if any._release is TRUE,
16 since the ORB won't do it for us in this case
17 [because this method is not a skel].
20 2005-03-30 Steve Murphy <murf@e-tools.com>
22 * configure.in: Added "rw" to ALL_LINGUAS.
24 2005-03-29 Bill Haneman <bill.haneman@sun.com>
26 * configure.in: Improved check for HAVE_XEVIE, to detect
27 presence on XOrg, where -lXevie is a separate library.
29 2005-03-08 Bill Haneman <bill.haneman@sun.com>
31 * configure.in, NEWS, README: Revved to 1.6.3.
33 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
35 * configure.in: Added "xh" to ALL_LINGUAS.
37 2005-02-07 Bill Haneman <bill.haneman@sun.com>
39 * atk-bridge/bridge.c:
40 (atk_bridge_init): Added missing NULL in g_strconcat(),
41 also check for symlink before logging to
42 insecure directory. Thanks to meissner@suse.de.
44 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
46 * tests/login-helper-server-test.c: Add return call to main
47 function. Patch from Chris Lahey. Fixes bug #165129.
49 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
51 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
53 2004-12-09 Bill Haneman <billh@gnome.org>
55 * registryd/registry-main.c:
56 Added #define <string.h> for strrchr. (bug 160862).
57 Thanks to Vincent Berger for catching.
59 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
61 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
62 restart registry process if the registry process is found to have died
63 and the current process is exiting.
64 (spi_atk_bridge_exit_func): Do not attempt to deregister the
65 application if the registry process has died.
66 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
67 does not return a registry object.
68 (spi_atk_tidy_windows): Give up if the registry process has died.
70 This fixes problems with hangs and crashes when logging out.
72 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
74 * registryd/desktop.c: Add checking that we are not exiting before
75 calling spi_desktop_remove_application in
76 abnormal_application_termination. Fix for bug #152147.
78 2004-12-02 Bill Haneman <billh@gnome.org>
80 * configure.in, NEWS, README: Revved to 1.6.1.
82 Patch from Padraig O'Briain <padraig.obriain@sun.com>
83 * atk-bridge/bridge.c:
84 (atk_bridge_init): Save the pid when we start, to detect forks.
85 (spi_atk_bridge_exit_func): Don't call the cleanup routines
86 if we're in a forked pid.
88 2004-10-09 Bill Haneman <billh@gnome.org>
90 * idl/Accessibility_LoginHelper.idl:
91 Improved inline documentation.
93 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
95 * configure.in: Added gl (Galician) to ALL_LINGUAS
97 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
99 * libspi/accessible.c:
100 (impl_accessibility_accessible_get_role_name),
101 (impl_accessibility_accessible_get_local_role_name):
103 * libspi/component.c:
104 (impl_accessibility_component_get_accessible_at_point):
106 * libspi/eventlistener.c: (spi_event_listener_new):
108 * libspi/stateset.c: (impl_compare): More of the same
109 * libspi/table.c: (impl_getRowDescription): Again.
110 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
111 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
112 (impl_generate_keyboard_event): Same.
113 * registryd/registry-main.c: (main): Same
114 * test/event-listener-test.c: (test_exit): Same
115 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
116 * test/keysynth-test.c: (test_key_synthesis): Same
117 * test/login-helper-server-test.c: (main): Fix warning.
118 * test/screen-review-test.c: (test_exit): Fix include.
119 * test/simple-at.c: (simple_at_exit), (_festival_init):
122 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
124 * configure.in, NEWS, README: Revved to 1.6.0.
126 2004-09-12 Bill Haneman <bill.haneman@sun.com>
128 * configure.in: Rev and re-dist, since the 1.5.4 tarball
129 was missing the HTML docs.
131 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
133 * configure.in: only cleanups:
134 - better looking PKG_CHECK_MODULES() output,
136 - declare in one common place required versions of other tools using
139 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
141 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
142 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
143 required ATK version accordingly.
145 2004-09-03 Bill Haneman <bill.haneman@sun.com>
147 * cspi/bonobo/cspi-bonobo.c:
148 (cspi_display_name): Fix C99ism.
149 * atk-bridge/bridge.c:
150 (spi_display_name): Fix C99ism.
151 Patch from Jens Granseuer, jensgr@gmx.net.
153 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
155 * configure.in: Added "or" to ALL_LINGUAS.
157 2004-08-20 Bill Haneman <bill.haneman@sun.com>
159 * configure.in, NEWS, README: Revved to 1.5.4.
161 * registryd/registry-main.c:
162 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
165 * cspi/bonobo/cspi-bonobo.c:
166 (cspi_display_name): New convenience method, gets DISPLAY with
167 screen number stripped, if AT_SPI_DISPLAY isn't already set.
168 (cspi_init): Set the activation env value above before getting
171 * atk-bridge/bridge.c:
172 (spi_display_name): Create the AT_SPI_DISPLAY activation
173 environment for an app, based on the DISPLAY environment with the
174 screen number stripped off.
175 (atk_bridge_init): Allow redirection of error messages to a log.
176 (spi_atk_bridge_get_registry): Call
177 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
179 Fixes for bugs #149962, #136986, #144086.
181 2004-08-16 Christian Rose <menthos@menthos.com>
183 * configure.in: Added "bs" to ALL_LINGUAS.
185 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
187 * configure.in: Added nb to ALL_LINGUAS.
189 2004-09-03 Bill Haneman <bill.haneman@sun.com>
192 (SPI_init): Return error code '2' if the activated
193 registry cannot be pinged. Fixes bug #147648.
195 2004-07-28 Bill Haneman <bill.haneman@sun.com>
197 * registryd/deviceeventcontroller.c:
198 (spi_dec_init_mouse_listener): Don't do XGrabButton,
199 rely on timer-poll instead, to avoid conflict with
202 2004-07-20 Bill Haneman <bill.haneman@sun.com>
204 * configure.in: Revved to 1.5.3.
206 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
208 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
210 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
212 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
214 2004-06-11 Bill Haneman <bill.haneman@sun.com>
216 * atk-bridge/bridge.c:
217 (spi_atk_bridge_do_registration):
218 Register with ATK for AtkComponent:bounds-changed events.
219 (api_atk_bridge_signal_listener):
220 Marshal the AtkRectangle info into the event notification
221 for object:bounds-changed events.
224 (spi_init_any_rect): New method, inits a corba struct of
225 type Accessibility_BoundingBox from an AtkRectangle.
227 * libspi/spi-private.h: Declared spi_init_any_rect (above).
230 (SPIRect): New struct definition.
231 (SPI_freeRect): New declaration.
232 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
235 (AccessibleBoundsChangedEvent_getNewBounds): New method,
236 implemented. Gets the bounding box data from the CORBA_any
237 associated with a bounds-changed event notification.
238 (cspi_internal_event_get_rect): New, used internally by above method.
241 (SPI_freeRect): Implemented this new method, for freeing
244 * test/event-listener-test.c:
245 (main, report_bounds_event):
246 Added a test for object:bounds-changed events.
248 2004-06-01 Bill Haneman <bill.haneman@sun.com>
250 * test/login-helper-server-test.c:
251 (main): Fix C99-ism. Thanks to Jens Granseuer.
253 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
255 * libloginhelper-1.0.pc.in:
256 * idl/Accessibility_LoginHelper.idl:
257 * login-helper/Makefile.am:
258 * login-helper/login-helper.[ch]:
259 * test/login-helper-client-test.c:
260 * test/login-helper-server-test.c: Added files missing from CVS.
261 Files obtained from at-spi-1.5.2 tarball.
263 2004-05-27 Bill Haneman <bill.haneman@sun.com>
265 * configure.in: Create login-helper/Makefile.
266 Incremented micro version.
268 * Makefile.am: Add login-helper subdir and pkgconfig data.
270 * login-helper: New subdir.
272 * libloginhelper-1.0.pc.in: New.
274 * idl/Accessibility_LoginHelper.idl: New file, defines
275 interface whereby authentication clients can identify agents which
276 need access to services during the login process, e.g. screen lock
279 * login-helper/Makefile.am : New.
281 * login-helper/login-helper.[ch] : New, implementation of
282 a LoginHelper base class. Services needing LoginHelper can subclass.
284 * test/Makefile.am : Added test for login-helper, client and
287 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
288 Use proper prefix in #include files.
290 * test/login-helper-client-test.c: New.
292 * test/login-helper-server-test.c: New.
294 2004-05-27 Alexander Shopov <ash@contact.bg>
296 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
298 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
300 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
301 is positive. This should make it easier to detect inapprorpiate unref
304 2004-05-11 James Henstridge <james@daa.com.au>
306 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
307 no-op and deprecated.
309 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
311 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
313 2004-04-28 Bill Haneman <billh@gnome.org>
315 * Makefile.am: Added --enable-gtk-doc to
316 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
318 2004-04-19 Bill Haneman <billh@gnome.org>
320 * configure.in: Revved to 1.5.1.
322 * registryd/deviceeventcontroller.c:
324 (DEControllerPrivateData): Added fields for
325 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
326 (spi_dec_replace_map_keysym): New internal utility for
327 replacing a keysym in the keymap - used to allow
328 synthesis of individual characters which aren't in the
330 (spi_dec_reset_reserved): New; resets the changed keysym value
332 (keycode_for_keysym): We now try to deal with failed
333 XKeysymToKeycode requests by changing a keymap value
334 and returning a reserved keycode. We now take
335 a DEController pointer as first arg.
336 (spi_controller_register_with_devices): Call XkbGetMap with
337 the XkbKeySymsMask. Find the highest keycode in the current
338 keymap which doesn't have any grabs, and mark that one for
339 temporary re-mapping when out-of-range KeySyms are synthesized.
340 (dec_synth_keycode_press): Call XFlush after synthesizing the key
343 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
345 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
347 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
349 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
351 2004-03-24 Bill Haneman <billh@gnome.org>
354 (AccessibleTable_addRowSelection),
355 (AccessibleTable_addColumnSelection),
356 (AccessibleTable_removeRowSelection),
357 (AccessibleTable_removeColumnSelection):
358 Add declarations for spi wrappers which were
359 inadvertantly omitted. Fixes bug #133413.
362 Revved to 1.5.0 (unstable series for GNOME 2.7).
364 2004-03-24 Bill Haneman <billh@gnome.org>
366 * atk-bridge/bridge.c:
367 Bracketed some debug output in
368 conditionals, to avoid printing it in normal use.
371 * libspi/hyperlink.c:
372 Don't cast 'object' to ATK_OBJECT when constructing
373 an AtkAction interface for a hyperlink.
374 See discussion in bug #120659.
376 * test/key-listener-test.c:
377 (report_all_key_event): Send output to stderr,
378 not stdout, for consistency with the rest of the test callbacks.
381 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
382 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
383 Incremented to 1.4.1 (but didn't dist yet - I'm going to
384 try incrementing the revision AFTER doing a dist, at least
387 2004-03-22 Bill Haneman <billh@gnome.org>
389 * configure.in: Revved to 1.4.0, libtool 9.14.9
391 2004-03-17 Laszlo Peter <laca@sun.com>
393 * libspi-1.0-uninstalled.pc.in: add idldir
395 * cspi-1.0-uninstalled.pc.in: add idldir
397 2004-03-16 Gareth Owen <gowen72@yahoo.com>
399 * configure.in: Added "en_GB" to ALL_LINGUAS
401 2004-03-15 Bill Haneman <billh@gnome.org>
403 * configure.in: Revved to 1.3.16,
406 2004-03-15 Laszlo Peter <laca@sun.com>
408 * libspi-1.0-uninstalled.pc.in: new file
410 * cspi-1.0-uninstalled.pc.in: new file
412 * configure.in: add the new pc files to AC_OUTPUT
414 * Makefile.am: add the new pc files to EXTRA_DIST
416 2004-03-12 Bill Haneman <billh@gnome.org>
418 * atk-bridge/bridge.c:
419 (spi_atk_bridge_key_listener):
420 Make sure to return consumed=FALSE if snoop
421 event is not dispatched to listener.
424 2004-03-01 Bill Haneman <billh@gnome.org>
426 * configure.in: Revved to 1.3.15,
429 2004-03-07 Danilo Segan <dsegan@gmx.net>
431 * configure.in: Added "sr@ije" to ALL_LINGUAS.
433 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
435 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
437 2004-03-01 Bill Haneman <billh@gnome.org>
439 * configure.in: Revved to 1.3.14.
442 (SPI_exit): Removed "bye-bye" exit message.
443 Moved "leak" report to happen before the
444 iteration over the leaked refs list.
445 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
447 2004-02-24 Bill Haneman <billh@gnome.org>
449 * configure.in: Revved to 1.3.13.
451 * docs/reference/cspi/Makefile.am:
452 Correct typo that was breaking the docs build.
454 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
456 * autogen.sh: Require version 1.7 of automake.
458 * configure.in: call GTK_DOC_CHECK([1.0])
460 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
462 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
464 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
466 * test/Makefile.am: Remove use of CFLAGS.
468 This fixes bug #132987.
470 2004-02-11 Bill Haneman <billh@gnome.org>
472 * reverted most of Tomasz' patch below, since it was breaking
473 builds (see bug #134058).
475 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
477 * docs/reference/cspi/at-spi-cspi.types: added empty file for
478 correct pass "make dist" (empty .. because seems no sach types in
479 header files with gtk-doc markups).
480 * docs/reference/cspi/Makefile.am, configure.in:
481 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
482 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
483 * Makefile.am: added:
484 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
485 for force correct pass generate documentation on "make distcheck".
486 * libspi/Makefile.am: fixes for automake >= 1.6.
487 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
488 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
491 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
493 * docs/reference/cspi/Makefile.am (install-data-local): Install
494 index.sgml since the doc autobuilder on widget.gnome.org looks for
497 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
499 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
502 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
504 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
506 2004-01-27 Brian Cameron <brian.cameron@sun.com>
508 * test/simple-at.c: Fixed null string problems that cause core
509 dumping problems on Solaris.
511 2004-01-12 Bill Haneman <billh@gnome.org>
513 * configure.in: Incremented version to 1.3.11.
515 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
517 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
518 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
521 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
523 * configure.in: Added "fa" to ALL_LINGUAS.
525 2003-12-20 Arafat Medini <lumina@silverpen.de>
527 * configure.in: Added "ar" to ALL_LINGUAS
529 2003-12-16 Bill Haneman <billh@gnome.org>
531 * registryd/registry-main.c:
533 Set the reg_env DISPLAY variable before registering the
534 activated registry service. Fixes bug #129479.
536 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
538 * configure.in: Added "id" in ALL_LINGUAS
539 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
541 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
543 * registryd/deviceeventcontroller.c (global_filter_fn):
544 When an event is consumed discard any XEvents were added to
545 the queue while dealing with the the event. This can happen if
546 processing of the event takes a long time. Call XUngrabKeyboard
547 if an event was discarded. This fixes bug $124837.
548 Only call wait_for_release_event for a KeyPress.
549 Use local variable display instead of spi_get_display().
550 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
553 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
555 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
556 Allow for mask to contain values other than NumLock mask.
559 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
561 * registryd/devieceventcontroller.c:
562 (wait_for_release_event): Change first parameter from GdkEvent to
564 (global_filter_fn); Correct call to wait_for_release_event.
568 2003-12-08 Bill Haneman <billh@gnome.org>
572 * registryd/ucs2keysym.c: New file.
574 * registryd/deviceeventcontroller.c:
575 (dec_keysym_for_unichar): Remove old partial implementation and
576 replace with call to ucs2keysym(), which is much more complete.
577 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
582 2003-12-05 Bill Haneman <billh@gnome.org>
584 * configure.in: Version 1.3.9.
586 * docs/reference/cspi/tmpl/spi_registry.sgml:
587 Added reference to libspi/keymasks.h to the
588 description of Registry queries: AccessibleKeyMaskType.
591 2003-12-04 Bill Haneman <billh@gnome.org>
595 * idl/Accessibility_Application.idl:
596 (Accessibility::LOCALE_TYPE): New enum, corresponds to
597 setlocale's LC_TYPEs.
598 (Accessibility::Application::getLocale): New method.
599 Allows clients to query the locale, by type, of an app.
602 * cspi/spi_application.c:
603 (AccessibleApplication_getLocale): New method, wraps IDL above.
605 * libspi/application.c:
606 (spi_application_class_init): Init epv entry for getLocale.
607 (impl_accessibility_application_get_locale): Impl for above.
609 * test/test-simple.c:
610 (test_application): Added assertion for getLocale, i.e.
611 that the string from AccessibleApplication_getLocale (app, type)
612 is the same as that from setlocale (type, NULL);
614 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
616 *registryd/deviceeventcontroller.c: Add an idle handler which polls
617 the keyboard on a timeout intil the key state goes from pressed to
618 released. Fixes bug #111429.
620 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
622 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
623 root object so that it is present when a context menu in an
624 out-of-process applet is popped up.
625 (spi_atk_bridge_do_registration): Create acceessible application root
626 object only if it does not exist.
628 This fixes bug #125834.
630 2003-12-01 Bill Haneman <billh@gnome.org>
632 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
635 Added enum for AccessibleStreamableContentSeekType.
636 (AccessibleStreamableContent_freeContentTypeList): New.
638 * cspi/spi_streamablecontent.c:
639 (accessible_bonobo_stream_client_seek): New private method.
640 (AccessibleStreamableContent_seek): Implemented this method,
641 using Bonobo_Stream_seek.
642 (AccessibleStreamableContent_freeContentTypeList): New method
643 for freeing the return value from
644 AccessibleStreamableContent_getContentTypes.
645 (stream_cache_item_free): Replaces stream_release; stop leaks.
646 (stream_release): removed.
647 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
648 free the memory properly.
650 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
654 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
656 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
658 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
660 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
662 2003-12-01 Bill Haneman <billh@gnome.org>
664 Fix for bug/rfe #127463.
666 * idl/Accessibility_Accessible.idl:
667 (getLocalizedRoleName): New.
668 (unimplemented4): Removed (replaced by above).
670 * libspi/accessible.c:
671 (impl_accessibility_accessible_get_local_role_name): New.
672 (spi_accessible_class_init): Add getLocalizedRoleName entry to
676 (Accessible_getLocalizedRoleName): New.
678 * cspi/spi_accessible.c:
679 (Accessible_getLocalizedRoleName): New.
681 2003-12-01 Bill Haneman <billh@gnome.org>
684 * idl/Accessibility_Text.idl:
685 (getDefaultAttributes): New.
686 (unimplemented4): Removed (replaced by above method).
689 (impl_getDefaultAttributes): New method.
690 (spi_text_class_init):
691 initialize the get_default_attributes slot in the epv.
694 (AccessibleText_getDefaultAttributes): New prototype.
697 (AccessibleText_getDefaultAttributes): New method.
699 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
701 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
702 write beyond the end of the table. Fixes bug #120473.
704 2003-09-30 Christian Rose <menthos@menthos.com>
706 * configure.in: Added "eu" to ALL_LINGUAS.
708 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
710 * configure.in: ALL_LINGUAS: Added no.
712 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
714 * configure.in: Added lt to ALL_LINGUAS.
716 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
718 * atk-bridge/bridge.c:
719 (atk_bridge_init): Register event listeners always even for
720 out-of-process applet.
721 (spi_atk_bridge_toplevel_added): Remove call to
722 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
723 (spi_atk_bridge_toplevelk_removed): Remove call to
724 spi_atk_deregister_event_listenersa as the listeners are now always
726 (spi_atk_bridge_register_application): Remove call to
727 spi_atk_register_event_listeners as it is not done in atk_bridge_init
729 This fixes bug #120991.
731 * libspi/table.c (impl_getColumnDescription): Correct typo,
732 pointed out by Bolian.Yin@sun.com.
734 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
736 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
738 2003-09-08 Bill Haneman <billh@gnome.org>
740 * configure.in: Revved to 1.3.7.
742 This is the GNOME 2.4.0 release of at-spi.
744 * docs/reference/cspi/Makefile.am:
745 Removed spurious inclusion of 'index.sgml' in the
746 html directory; this was breaking make distcheck and
747 also some other build environments.
749 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
751 * registryd/registry.[ch}:
752 Add queue_handler_id and focus_object to SpiRegistry data structure.
753 (registry_flush_event_queue): If event being discarded is
754 "state-change:focused" store object as focus_object.
755 (registry_start_queue): Remove queue handler and focus object
757 (registry_discard_event): New function which discards a focus event
758 if we had stored focus object in the registry.
759 (registry_queue_event): Add new check that is_queueing is set as this
760 function is reentrant.
761 (registry_filer_event): Add call to registry_discard_event.
763 This resolves issues raised in bug #108664.
765 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
767 * configure.in: Added "bn" to ALL_LINGUAS.
769 2003-09-04 Bill Haneman <billh@gnome.org>
771 * cspi/spi_event.c: Documentation improvements for
772 (SPI_registerAccessibleKeylistener).
774 * docs/reference/tmpl/spi_registry.sgml:
775 Documentation improvements for SpiAccessibleKeylistenerCB.
777 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
779 * configure.in: Added "ro" to ALL_LINGUAS.
782 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
784 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
785 not decremented to zero. Fixes bug #120725.
787 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
789 * configure.in: Added "ja" to ALL_LINGUAS.
791 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
793 * configure.in: Added "is" to ALL_LINGUAS.
795 2003-08-22 Christian Rose <menthos@menthos.com>
797 * configure.in: Added "nl" to ALL_LINGUAS.
799 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
801 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
802 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
804 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
806 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
807 type for unspecified exception.
808 * cspi_streamablecontect): Add include of string.h for memcpy.
809 (stream_release): Correct call to bonobo_object_release_unref
810 (stream_cache_item_free): Correct call to bonobo_object_release_unref
811 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
812 argument of _cspi_expection_throw.
813 * libspi/hyperlink.c: Add include of libspi/action.h:
814 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
815 * libspi/streamablecontent.c: add include of libspi/component.h.
816 * regisrtyd/deviceeventcontroller.c:
817 (spi_dec_translate_mask): Removed unused variable priv.
818 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
819 * registryd/registry.c:
820 (registry_filter_event): Remove unused variable queue_is-empty.
821 (impl_registry_notify_event): Use correct modifier in fprintf call.
823 This fixes compiler warnings reported in bug #120220.
825 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
827 * registryd/registryd.c: Remove this file.
829 2003-08-17 Sanlig Badral <badral@openmn.org>
831 * configure.in: Added mn to ALL_LINGUAS.
833 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
835 * configure.in: Added et to ALL_LINGUAS.
837 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
839 * test/event-listener-test.c: Change active-descendant to
840 active-descendant-changed.
842 2003-08-10 Sami Pesonen <sampeson@iki.fi>
844 * configure.in: Added "fi" in ALL_LINGUAS.
846 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
848 * configure.in: Added "hi" in ALL_LINGUAS.
850 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
852 * configure.in: Revved to 1.3.6.
856 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
858 * registryd/deviceeventcontroller.c
859 (spi_device_event_controller_object_finalize): Fix typo in previous
862 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
864 * registryd/deviceeventcontroller.c
865 (spi_device_event_controller_object_finalize): Fix build on
866 systems without XEvIE.
868 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
870 * acconfig.h, configure.in, registryd/Makefile.am,
871 registryd/devicecontoller.[ch]: Add XEViE support.
873 2003-08-06 Wang Jian <lark@linux.net.cn>
875 * configure.in: Added "zh_CN" to ALL_LINGUAS.
877 2003-08-06 Metin Amiroff<metin@karegen.com>
879 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
881 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
883 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
884 MODIFIER_ALT in correct place.
886 This fixes part of bug #118114.
888 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
890 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
892 2003-07-28 Changwoo Ryu <cwryu@debian.org>
894 * configure.in: Added "ko" to ALL_LINGUAS.
896 2003-07-28 Ole Laursen <olau@hardworking.dk>
898 * configure.in: Added "da" to the commented out ALL_LINGUAS.
900 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
902 * configure.in: Added "sq" to ALL_LINGUAS.
904 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
906 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
908 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
910 * configure.in: updated ALL_LINGUAS list
912 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
914 * configure.in: Added Belarusian to ALL_LINGUAS.
916 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
918 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
920 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
921 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
923 This fixes bug #116949.
925 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
927 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
928 Correct CSPI to SPI in function documentation.
930 This fixes bug #118054.
932 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
934 * configure.in: Added Russian to ALL_LINGUAS.
936 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
938 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
940 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
942 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
944 2003-07-10 Joel Brich <joel.brich@laposte.net>
946 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
948 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
950 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
952 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
954 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
955 resources allocated for AccessibleEvent. See cspi_event().
957 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
958 static variable streams to NULL.
960 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
961 Update so that AcessibleEvent_ref will work.
963 This fixes bug #116624.
965 2003-07-06 Jordi Mallach <jordi@sindominio.net>
967 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
969 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
971 * configure.in: Added "fr" (French) to ALL_LINGUAS.
973 2003-07-02 Christian Neumair <chris@gnome-de.org>
975 * configure.in: Added "de" (German) to ALL_LINGUAS.
977 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
979 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
981 2003-07-01 Miloslav Trmac <mitr@volny.cz>
983 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
985 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
987 * configure.in: Added "pl" to ALL_LINGUAS.
989 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
991 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
993 2003-06-30 Bill Haneman <bill.haneman@sun.com>
996 (get_action_from_servant):
997 Removed assertion that action is implemented on an AtkObject.
999 * libspi/hyperlink.c:
1000 (spi_hyperlink_new):
1001 Aggregate AccessibleAction interface on the hyperlink object if
1002 the object implements AtkAction. (This convention is used in
1005 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1007 * configure.in: Revved to 1.3.5.
1009 * registryd/Accessibility_Registry.server.in.in:
1010 Marked up appropriate strings for translation.
1012 * atk-bridge/bridge.c: Marked a couple of
1013 user-visible warnings for translation. Questionable
1014 whether they are really useful, but possibly so.
1017 2003-06-28 Christian Rose <menthos@menthos.com>
1019 * configure.in: Added "sv" to ALL_LINGUAS.
1021 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1023 * registryd/registry.c:
1024 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1025 (registry_defer_on_event): Defer focus: events, this is an
1026 improvement to the patch for bug #108664.
1028 * TODO: Update with 2.4/"Dev Complete" items.
1030 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1032 * atk-bridge/bridge.c:
1033 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1034 looks up signals once.
1035 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1036 if doing registration.
1037 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1038 when doing registration.
1040 This fixes bug #115014.
1042 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1044 * atk-bridge/bridge.c:
1045 (atk_bridge_init): Add signal handler for children-changed:remove on
1046 root when in a BonoboComponent.
1047 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1048 for first toplevel only other incrememt variable toplevels.
1049 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1050 application and remove listeners.
1051 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1053 (spi_atk_deregister_event_listeners): New function which removes
1055 (reinit_register_vars): New fuction which reinitializes variables.
1057 This fixes bug #111578.
1059 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1061 * configure.in: version 1.3.4.
1063 * cspi/spi_accessible.c:
1064 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1067 2003-06-13 Michael Meeks <michael@ximian.com>
1069 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1071 * cspi/spi_main.c (cspi_peek_ev): impl.
1073 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1075 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1077 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1079 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1080 SPI_ROLE_AUTOCOMPLETE
1082 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1084 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1085 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1087 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1089 * libspi/streamablecontent.h:
1090 * libspi/streamablecontent.c:
1091 New files, provide implementation/wrappers for
1092 Accessibility_StreamableContent.
1094 * cspi/spi_streamablecontent.c:
1095 Connected the C wrappers to the libspi C bindings.
1096 (AccessibleStreamableContent_close): New method.
1099 (AccessibleStreamableContent_close): New method, needed
1100 since we have an "open, [seek], read, close" model in cspi.
1102 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1104 Fix for #108664; Padraig's revision of my original patch.
1106 * registryd/registry.h:
1107 Added event queue list, is_queuing, and exit_notify_timeout
1108 to the registry struct.
1110 * registryd/registry.c:
1111 (registry_init): Initialize new struct from registry.h.
1112 (impl_registry_notify_event):
1113 Filter events before notifying, in case some need to be
1115 (registry_filter_event): New,
1116 we defer certain incoming events (for instance
1117 window:deactivate) because we may wish to hide
1118 or reject them based on pending events. This is
1119 mostly a workaround for bug #108664.
1120 (registry_queue_event, registry_start_queue): New.
1121 (registry_defer_on_event): Test event to see if it
1123 (registry_reset_on_event): Returns TRUE if the
1124 event should cause a queue reset.
1125 (registry_discard_on_event): Returns TRUE if the event
1126 should cause the previous queue contents to be discarded.
1127 (registry_timeout_flush_queue): Flushes the pending event
1128 queue if no reset/discard-triggering events have come in
1129 within the timeout period.
1130 (registry_emit_event): New.
1131 (registry_clone_notify_context): New, used when queueing the
1132 event notify contexts.
1134 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1136 * configure.in: Version revved to 1.3.2, lt 0.9.2
1137 Incremented ATK required version to 1.3.4.
1139 * cspi/spi_registry.c:
1140 (SPI_generateKeyEvent):
1141 We now pass the keystring along if it's non-null.
1143 * registryd/deviceeventcontroller.c:
1144 (keysym_mod_mask): New method, returns modifier mask
1145 required to generate a keysym from a given keycode.
1146 (dec_synth_keysym): New method.
1147 (dec_synth_keystring): New method.
1148 (dec_get_modifier_state): New method.
1149 (dec_lock_modifiers): New
1150 (dec_unlock_modifiers): New.
1151 (dec_keysym_for_unichar): New, rather brute-force
1152 conversion from UCS-4 to X KeySyms. Only works for
1153 Latin at the moment, with partial implementations for
1154 Greek, Hebrew, and (incomplete) Katakana.
1155 (impl_generate_keyboard_event): Now implement
1156 "KEYSTRING" synthesis and implement "KEYSYM"
1158 (keycode_from_keysym): Improved, passes a returned
1159 modmask value now if the corresponding param is non-NULL.
1161 Fixes bugs #92143 and #109776.
1164 * test/keysynth-test.c:
1165 New test program for key synthesis, to confirm fixes for
1169 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1171 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1173 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1174 Add line for RELATION_POPUP_FOR
1176 * docs/reference/cspi/tmpl/spi_relation.sgml:
1177 Add relation SPI_RELATION_POPUP_FOR
1179 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1180 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1182 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1184 * libspi/relation.c (spi_init_relation_type_table):
1185 Add line for RELATION_POPUP_FOR
1187 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1189 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1190 there are still windows which have not been deleted and emit
1191 window:deactivate, if necessary and window:destroy events.
1192 This fixes bug #114370. The change on June 5th was not correct.
1194 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1196 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1199 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1201 New methods for client exception handling and interception.
1202 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1203 (SPI_exceptionHandlerPop): You guessed it...
1204 (SPI_getSourceType): Return the type of object which offended.
1205 (SPI_getExceptionCode): Return an enum code telling, possibly,
1206 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1207 (SPIAccessibleException_getSource): get the source object for
1208 exceptions that come from Accessibles, if SPIExceptionSourceType is
1209 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1210 (SPIException_getDescription): New, returns a string description of
1211 the problem. [Not yet a stable ABI, strings are not frozen]
1213 * cspi/spi-private.h:
1214 Added implementation details of opaque SPIException
1218 Implementations of above. Also
1219 (_cspi_exception_throw): new private method that
1220 dispatches exceptions to handlers, called from cspi-bonobo.c
1222 * cspi/bonobo/cspi-bonobo.c:
1223 (cspi_check_ev): call _cspi_exception_throw.
1224 Don't print a warning message if the exception has been
1225 handled by _cspi_exception_throw.
1227 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1229 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1230 there are still windows which have not been deleted and emit
1231 window:deactivate, if necessary and window:destroy events.
1232 This fixes bug #114370.
1234 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1237 (cspi_accessible_is_a): Make non-fatal
1238 if the object reference is dead.
1240 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1242 * cspi/spi_main.c: #include <stdio.h>
1243 * test/simple-at.c: ditto
1244 * test/event-listener-test.c: ditto
1245 * test/screen-review-test.c: ditto
1247 2003-05-30 Michael Meeks <michael@ximian.com>
1249 * test/test-simple.c (main): use CORBA_ORB_perform_work
1250 instead of an unnecessary linc_ call.
1252 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1254 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1255 Add SPI_STATE_INDETERMINATE.
1257 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1260 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1262 * libspi/stateset.c (init_state_type_tables): Add support for
1265 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1267 * configure: Update versions of atk and gail required.
1268 This fixes bug #113268.
1270 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1272 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1274 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1276 * libspi/Makefile.am:
1277 Ensure headers are generated before being used by c sources.
1279 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1282 Simplified lt versioning rules.
1283 Incremented version to 1.3.0, to indicate that we're on the
1284 unstable branch now.
1286 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1288 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1289 Add MKDB_OPTIONS=--outtput-format=xml
1291 * docs/reference/cspi/at-spi-cspi-docs.sgml
1292 docs/reference/idl/at-spi-idl-docs.sgml:
1293 Convert to Docbook XML.
1295 This fixes bug #111793.
1297 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1299 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1300 AcccessibleKeyEventType, AccessibleKeyMaskType.
1302 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1304 * cspi/state-types.h: Add documentation for AccessibleState.
1306 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1307 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1308 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1309 AccessibleComponentLayer.
1311 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1314 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1316 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1317 Accessible. Add description of AccessibleEvent,
1318 AccessibleEventListenerCB.
1320 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1323 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1324 documentation. Add description of AccessibleKeystrokeListenerCB,
1325 AccessibleKeyEventMask, AccessibleModifierMaskType,
1326 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1327 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1329 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1332 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1335 This fixes bug #104730.
1337 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1339 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1340 Set is_text field of Accessibility_DeviceEvent data structure.
1342 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1343 is-text field of AccessibleDeviceEvent data structure.
1345 This addresses part of bug #108666.
1347 * registryd/devcieeventcontroller.c: Unset debug option.
1349 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1351 * cspi/accessible.c:
1352 (cpi_initial_relation_type_table): New function which initializes
1353 mapping between Accessibility_RelationType and AccessibleRelationType.
1354 (cspi_relation_type_from_spi_relation_type): New function which
1355 translates an Accessibility_RelationType into an AccessibleRelationType.
1356 (AccessibleRelation_getRelationType): Use
1357 cpi_relation_type_get_spi_relation_type to return correct value.
1358 (spi_state_to_corba): Return correct type for default case.
1360 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1361 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1363 * cspi/cspi-bonobo-listener.c:
1364 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1367 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1368 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1369 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1370 libspi/image.c, libspi/listener.c, libspi/selection.c,
1371 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1372 registryd/desktop.c, registryd/registry.c:
1373 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1375 * libspi/eventlistener.c
1376 Remove semicolon after BONOBO_TYPE_FUNC.
1378 * libspi/relation.c:
1379 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1380 (spi_init_relation_type_table): Initialize using correct type.
1382 * registryd/desktop.c:
1383 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1384 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1385 of Accessibility_KeyEventType.
1387 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1390 * tests/simple-at.c, tests/screen-review-test.c:
1391 Add include for <strings.h>.
1393 * tests.stress-test.c:
1394 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1396 These changes fix compiler warnings when using FORTE compiler on
1397 Solaris; fixes bug #107479.
1400 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1403 * configure.in: revved to 1.1.10
1405 * libspi/keymasks.h:
1406 (SPI_KEYMASK_NUMLOCK): Added.
1408 * registryd/deviceeventcontroller.c:
1409 (spi_key_event_matches_listener): AND with a smaller
1410 bitmask (as we should).
1411 (spi_dec_translate_mask):
1412 New method, sets the virtual NumLock modifier bit
1413 if numlock is on. Eventually it can handle other virtual
1414 modifier bits if needed, or other marshalling from
1415 at-spi modifier masks to platform (X) masks.
1416 (spi_dec_key_listener_new):
1417 Call spi_dec_translate_mask to set up virtual mod bits
1418 in the 'mask' field when creating a new listener struct.
1419 (spi_dec_emit_modifier_event):
1420 Set the virtual (i.e. NumLock) bits before emitting event.
1421 (spi_controller_register_with_devices):
1422 Query for the NumLock modifier 'physical' bit if Xkb is
1423 present, for use in above methods.
1427 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1429 * registryd/deviceeventcontroller.c:
1430 (spi_keystroke_from_x_key_event):
1431 Instead of checking to see if the keysym is
1432 printable, check the string from XLookupString
1433 if available, get the first unicode character from it,
1434 and call g_unichar_isprint to determine whether the
1435 is_text flag should be TRUE or FALSE.
1439 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1441 * atk-bridge/bridge.c: Add support for extended events
1442 * cspi/spi_event.c: Add documentation and implementation for
1444 * tests/event-listener-test.c: Add tests for extended events.
1446 This fixes bugs #100424 and #100426.
1448 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1450 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1451 of LT_CURRENT. This fixes bug #89350.
1453 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1455 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1456 number of signal parameter values before accessing them. This fixes
1459 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1461 * configure.in: Fixed duplicate inclusion of -lspi.
1462 * branched for gnome-2-2/HEAD.
1463 [created tag "gnome-2-2"]
1465 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1467 * configure.in: 1.1.9 release.
1470 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1472 [needed by GOK, to fix bugs 107985 and 107988]
1473 * registryd/deviceeventcontroller.c:
1474 (spi_dec_clear_unlatch_pending):
1475 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1476 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1477 (spi_dec_init_mouse_listener):Emit warning if mouse button
1479 (spi_device_event_controller_forward_mouse_event):
1480 Removed unnecessary parens from a conditional.
1481 (global_filter_fn):Added TODO comment.
1482 (impl_generate_keyboard_event):
1483 Cancel a pending relatch if a 'delatching' key was
1486 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1488 * atk-bridge/bridge.c:
1489 Change atk_signal_child_changed to atk_signal_children_changed.
1490 Reorganize code in spi_atk_bridge_signal_listener().
1492 * test/event-listener-test.c:
1493 Add children_changed_listener and report_children_changed_event()
1494 to test AccessibleChildEvent_getChildAccessible.
1496 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1498 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1499 g_strdup to CORBA_String_dup (bug #105291)
1501 * test/event-listener-test.c (report_text_event): Add call to
1504 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1506 * registryd/deviceeventcontroller.c:
1507 (spi_keystroke_from_x_key_event):
1508 Fix string and keysym return codes to match modifier state.
1511 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1513 * registryd/deviceeventcontroller.c:
1514 (spi_keystroke_from_x_key_event):
1515 Fix segv due to improper use of isprint(c). [bug #107254]
1517 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1520 (get_accessible_text_boundary_type):
1521 Move default return value to (new) default case in switch.
1522 (get_accessible_text_clip_type):
1523 Move default return value to (new) default case in switch.
1525 * libspi/application.c:
1526 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1527 Remove unused methods.
1528 (impl_accessibility_application_register_object_event_listener):
1529 Remove unused methods.
1532 Added #include of <math.h>.
1534 * registryd/deviceeventcontroller.c:
1535 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1536 we don't currently use this method.
1537 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1539 (impl_generate_key_event):
1540 Remove unused variables.
1541 (impl_generate_mouse_event):
1542 Initialize button to zero, just in case we get an invalid
1543 input. Added support for mouse buttons 4 and 5.
1544 (spi_device_event_controller_new):
1545 Removed unused variable declaration for 'private'.
1547 Added #include of <gdk/gdk.h>
1549 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1551 * configure.in: Update to work when X is not installed in expected
1552 location. Fixes bug #105836.
1554 * atk-bridge/bridge.c
1555 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1557 (spi_atk_register_event_listener): Add signal listener for
1559 (spi_atk_bridge_signal_listener): Event event when link-selected
1560 signal is emitted. (bug #104622)
1562 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1563 on returned string. (bug #105291)
1565 * test/event-listener-test.c: Add test for link-selected.
1567 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1569 * atk-bridge/Makefile.am: Correct typo in previous commit.
1571 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1573 * atk-bridge/Makefile.am: Allow for build directory to be different
1574 from source directory
1576 * registryd/Makefile.am: Allow for build directory to be different
1577 from source directory
1581 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1584 Fixed dependencies for libcspi so that libspi gets pulled in
1585 properly. Fixes 104741.
1589 Clean up inline docs a little.
1591 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1593 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1594 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1595 the AtkObject within an SpiDesktop.
1596 This addresses bug #101524.
1598 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1599 Remove call to gdk_init().
1601 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1602 so that Display is set when SpiDesktop is created.
1604 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1606 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1607 This fixes bug #102830.
1609 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1611 * test/test-simple.c: Update to take account of fact that GailButton
1612 now implements AtkText.
1613 (create_text_window): Set name on AtkObject for GtkEntry.
1614 (validate_accessible): Check accessible name before calling test_text().
1616 * libspi/Makefile.am: Fix problem with building outside of source
1617 directory. Bug #98120.
1619 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1620 typo in documentation comments. Bug #94275.
1622 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1624 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1626 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1629 Add includes to avoid compiler warnings on Solaris.
1630 (impl_getRangeExtents): Bug fix.
1632 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1634 Fix for 100944, [API addition approved by Gman and murrayc].
1641 * idl/Accessibility_Text.idl:
1642 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1643 (Text::getRangeExtents): New method for efficient
1644 bounds query of a text range.
1645 (Text::getBoundedRanges): New method for efficient
1646 clipping of text to bounding boxes.
1647 (unImplemented7, unImplemented8):
1648 Removed these padding methods to preserve bincompat.
1651 (impl_getRangeExtents): implementation of new IDL.
1652 (impl_getBoundedRanges): implementation of new IDL.
1653 (SpiTextRect): Internal use struct.
1654 (_spi_text_rect_union): internal method, calculates union of two
1655 SpiTextRect bounding rects.
1656 (_spi_text_range_seq_from_gslist): internal method, allows us
1657 to build our sequence efficiently as a gslist then convert it
1659 (_spi_bounds_contain): internal method, determines whether
1660 a text character is "in" or "out" of a clip rect according to
1661 values of TEXT_CLIP_TYPE.
1662 (spi_text_class_init): Initialize the new methods in the epv.
1665 (AccessibleTextClipType): New enum used by screen review api.
1666 (AccessibleTextRange): New struct used by screen review api.
1667 (AccessibleText_getRangeExtents):
1668 cspi binding for Accessibility_Text_getRangeExtents.
1669 (AccessibleText_getBoundedRanges):
1670 cspi binding for Accessibility_Text_getBoundedRanges.
1671 (AccessibleTextRange_freeRanges): convenience method.
1674 (AccessibleText_getRangeExtents):
1675 cspi binding for Accessibility_Text_getRangeExtents.
1676 (AccessibleText_getBoundedRanges):
1677 cspi binding for Accessibility_Text_getBoundedRanges.
1678 (AccessibleTextRange_freeRanges): convenience method.
1679 (get_accessible_text_clip_type): internal conversion method.
1680 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1682 * registryd/deviceeventcontroller.c:
1683 (spi_dec_mouse_check):
1684 Improved behavior for mouse:abs events
1685 [same granularity as mouse:rel events, and no
1686 events when mouse is idle].
1688 2002-12-16 Michael Meeks <michael@ximian.com>
1690 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1692 * libspi/stateset.c (state_spi_to_atk): split out
1693 ( fix several remote array bounds nasties )
1694 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1695 (impl_remove): make safe from array bounds issues.
1696 (spi_atk_state_from_spi_state): impl.
1698 * libspi/stateset.h (spi_state_set_cache_is_empty):
1699 add a set of wrapper defines to get layering right.
1701 * cspi/spi_accessible.c: update state set stuff to
1704 2002-12-14 Michael Meeks <michael@ximian.com>
1706 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1707 to avoid 2 roundtrips to the registry per key event
1708 (spi_atk_bridge_key_listener): upd.
1709 (deregister_application): release the dec.
1711 * registryd/registry.c (notify_listeners_cb):
1712 bin lots of re-enterant complexity - we no longer
1713 do a round-trip bonobo ref here, ensure that a single
1714 listener's exception failure won't poison all other
1716 (impl_registry_notify_event): bin obvious memory leak.
1718 2002-12-13 Michael Meeks <michael@ximian.com>
1720 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1721 init the ev so the error is meaningful.
1722 (spi_atk_bridge_key_listener): ditto.
1724 * cspi/spi_main.c (cspi_ev): init the ev so we start
1725 with a clean slate, otherwise the first exception
1726 kills us completely.
1728 * cspi/spi_text.c (get_accessible_text_boundary_type):
1729 add a fallthrough for no warnings.
1731 * cspi/spi_registry.c: prune unused warnings.
1733 * cspi/spi_main.c (cspi_object_take): fix
1734 mind-blowing brokenness ( by watching the compile
1737 * cspi/spi_accessible.c (Accessible_getStateSet):
1738 re-impl. to use an AtkStateSet.
1739 (spi_state_type_from_accessible_state),
1740 (init_state_table): bin these.
1742 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1744 (atk_state_set_from_accessibility_state_set): here.
1746 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1747 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1748 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1749 (AccessibleStateSet_add, AccessibleStateSet_remove),
1750 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1751 (AccessibleStateSet_isEmpty): re-write to use a local
1754 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1756 * configure.in: Revved to 1.1.7 (new keymask vals).
1758 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1760 * libspi/keymasks.h:
1761 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1763 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1766 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1767 to compare two CORBA_TypeCodes.
1768 (cspi_internal_event_add): Silence warning from FORTE compiler.
1770 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1771 avoid implicit declaration of functions.
1773 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1775 * atk-bridge/bridge.c:
1776 (spi_atk_bridge_init_event_type_consts): Store signal id for
1777 active-descendant-changed signal.
1778 (spi_atk_register_event_listeners): Add signal listener for
1779 active-descendant-changed signal,
1780 (spi_atk_bridge_signal_listener): Move code in function
1781 spi_atk-signal_emit_event() into this function.
1782 Add support for active-descendant-changed
1783 Update support for child-changed signal.
1784 (spi_bridge_window_event_listener): Silence warning.
1786 * libspi/spi_private.[ch]:
1787 (spi_init_any_object): Change second parameter from CORBA_Object to
1789 Omit call to CORBA_Object_duplicate().
1790 Set CORBA_any's _value to CORBA_Object*.
1792 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1798 (AccessibleEvent_ref, AccessibleEvent_unref):
1799 New methods, for persisting an event outside the emission context.
1800 Must be used if the new accessor methods are to be called
1801 outside of the event listener's callback.
1803 * cspi/bonobo/cspi-bonobo.c:
1804 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1805 as second parameter instead of NULL, so we can call
1806 cspi_check_ev afterwards.
1809 (cspi_object_take): New internal method,
1810 converts a CORBA_Object reference to a hard ref on
1811 an Accessible if possible, returning NULL if the object
1812 reference is invalid or an Accessible * otherwise.
1815 (AccessibleEvent_ref):
1816 Increment the event's internal private refcount, and
1817 add the event's internal struct to an internal cache
1818 if it's not already there.
1819 (AccessibleEvent_unref):
1820 Decrement the event's refcount and remove it from
1821 the cspi event cache if refcount==0.
1822 (cspi_event_compare): New private method.
1823 Compares two event structs via their ids. Used
1825 (cspi_internal_event_lookup): New private method.
1826 (cspi_internal_event_check): New private method,
1827 a 0-order sanity check for events to make sure their
1828 private data is intact.
1829 (cspi_internal_event_add, cspi_internal_event_remove):
1830 New private methods for managiing the event cache.
1832 * cspi/bonobo/cspi-bonobo-listener.c:
1834 Initialize the new private data elements (id, magic, ref_count).
1836 * atk-bridge/bridge.c:
1837 (spi_atk_bridge_signal_listener):
1838 Fixed bug #100530, passing wrong params to emission func.
1840 * registryd/deviceeventcontroller.c:
1841 (spi_dec_button_update_and_emit):
1842 Fixed type in mask bit operations; fix for #99799.
1844 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1846 Removed some of the more dangerous workarounds from
1847 previous commit; they are only needed by GOK, which
1848 in reality should be using another method to accomplish
1849 the goals. So on reconsideration some of the workarounds
1850 need to be reverted:
1852 * registryd/deviceeventcontroller.c:
1853 (spi_keycodes_contain, spi_dec_init_keycode_list):
1854 Removed these methods, used only by a nasty hack to try
1855 and detect whether a key synthesis should be allowed
1856 to reset the XKB latch state or not. This code was only
1857 required to work around an interaction between GOK,
1858 button events, and XKB.
1859 (impl_generate_key_event):
1860 Removed hack at end of key generation that tried to
1861 "do the right thing" if XKB latch keys were generated
1862 in the midst of button press/release pairs.
1865 Added a check for HAVE_XINPUT. Not normally used yet.
1867 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1869 Workarounds and fixes for mouse event/XKB interaction.
1871 * registryd/deviceeventcontroller.c:
1872 (spi_keycodes_contain, spi_dec_init_keycode_list):
1873 New internal methods.
1874 (spi_dec_set_unlatch_pending):
1875 Split the method that tells XKB to expect an
1876 unlatch (and revert it) out of the rest of the
1877 event handling code. This method is called by the
1878 two mouse event handlers (the poll and the filter).
1879 (spi_dec_update_and_emit, spi_dec_mouse_check):
1880 New methods split from spi_dec_poll_mouse_moved.
1881 The second one is now called from inside the filterFn
1882 when an XKB delatch event is received, to determine
1883 whether to revert the delatch or not.
1884 (spi_poll_mouse_moved): Refactor; also we can now
1885 properly handle the case where multiple button states
1886 have changed between polling cycles and we didn't get
1887 notified due to another client's grab.
1889 Synchronize the server while handling an XKB notification.
1890 Ugly, but apparently necessary to avoid nasty races.
1891 Check the mouse state on receipt of an XKB latch change,
1892 to decide whether to revert the latch or not. (Latches are
1893 reverted if there is an immediately preceding mouse button
1894 event that a client has consumed, in which case we don't want
1895 the user to see the side-effect of the event).
1896 (spi_device_event_controller_forward_mouse_event):
1897 Check for modifier events and fire before resetting mouse_mask_state,
1898 prevents losing modifier events.
1900 (impl_generate_keyboard_event):
1901 If we've just generated a keyboard event for a non-shift key,
1902 we don't want to revert the pending XKB latch.
1903 Otherwise, check the modifier state (via a call to
1904 spi_dev_mouse_check) and set the relatch mask to
1905 that state before returning.
1907 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1910 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1913 * atk-bridge/bridge.c:
1914 (spi_atk_register_event_listeners):
1915 Don't re-register for ATK events if the registry has died
1916 and the app needs to re-register; the ATK listeners are in
1917 process and doing so will cause duplicate emission.
1919 * registryd/deviceeventcontroller.c:
1920 (spi_poll_mouse_moved):
1921 Reformat the source, detect and emit multiple button-change
1922 events (i.e. if multiple buttons have changed between poll
1924 Add code to detect mouse-down events even when the pointer
1925 is grabbed; workaround for GOK bug 98420.
1926 (spi_controller_register_with_devices):
1927 Call XTestGrabControl with 'impervious' flag set to True,
1928 allows us to synthesize events and query the pointer even during
1929 an active grab by another client.
1930 (spi_device_event_controller_forward_mouse_event):
1931 Set the mouse_mask_state to the mouse_button_state from
1932 the intercepted event, to synchronize the grab listener with
1935 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1937 * cspi/spi_accessible.c:
1938 (AccessibleRole_getName):
1939 Added necessary strings for making this (deprecated)
1940 method work with the new role types.
1941 (init_role_table, role_table):
1942 Added definition of SPI_ROLE_APPLICATION.
1944 * libspi/spi-roletypes.h:
1945 Added SPI_ROLE_APPLICATION.
1947 * idl/Accessibility_Role.idl:
1948 Added ROLE_APPLICATION.
1950 * docs/reference/cspi/at-spi-cspi-decl.txt:
1951 Added SPI_ROLE_APPLICATION to docs.
1953 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1955 * cspi/spi_accessible.c
1956 (cspi_init_role_table): Do not write beyond end of role_table.
1957 (Accessible_getRole): Use correct type for value returned by
1958 Accessibility_Accessible_getRole().
1960 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1961 beyond end of role_table. (This fixes bug #98269)
1963 * libspi/application.c: Add include file spi-private.h for
1964 definition of spi_init_any_nil.
1966 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1970 * libspi/spi-private.h:
1971 Added DGB() macro, and extern int _dbg declaration.
1973 * registryd/registry.c:
1974 (definitions) storage for _dbg.
1975 (spi_registry_init):
1976 Get environment variable "AT_SPI_DEBUG".
1977 (spi_registry_set_debug):
1978 New method, to initialize _dbg value.
1979 (spi_listener_struct_new, spi_registry_object_finalize):
1980 (notify_listeners_cb):
1981 Changed fprintfs to use DBG and g_warning().
1983 * registryd/deviceeventcontroller.c:
1984 (_deregister_keygrab, spi_controller_register_device_listener):
1985 Changed debug/warning messages to use DBG macro.
1987 * libspi/listener.c:
1988 (impl_notify_event):
1989 Changed warning messages to use DBG macro and g_warning().
1991 * atk-bridge/bridge.c:
1992 (atk_bridge_init, spi_atk_bridge_get_registry):
1993 (spi_atk_bridge_exit_func):
1994 (spi_atk_bridge_property_event_listener):
1995 Changed status, warning, and error messages to use
1996 g_warning, g_message, and DBG macros.
1999 Read the state of the AT_SPI_DEBUG environment variable
2000 and set a local '_dbg' accordingly.
2002 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2004 FIXES for 98836, 98842, other bugs.
2007 Revved to 1.1.4, interface-age=4, binary-age=4.
2009 * registryd/deviceeventcontroller.c:
2011 Fixed crasher bug in last_mouse_pos initialization.
2013 * registryd/registry.c:
2014 (desktop_add_application, desktop_remove_application):
2015 Added (and then commented out) some support for
2016 object context marshalling. [TODO]
2018 * atk-bridge/bridge.c:
2019 (spi_atk_bridge_event_context_create):
2020 Commented out object context creation until it can
2021 be properly tested and debugged.
2023 * registryd/registry.c:
2024 (impl_registry_notify_event):
2025 Fixed crasher bug, we were calling
2026 spi_re_entrant_list_foreach () with an empty list.
2028 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2030 * idl/Accessibility_Action.idl:
2031 * idl/Accessibility_Component.idl:
2032 * idl/Accessibility_Desktop.idl:
2033 * idl/Accessibility_Event.idl:
2034 * idl/Accessibility_Hyperlink.idl:
2035 * idl/Accessibility_Image.idl:
2036 * idl/Accessibility_Relation.idl:
2037 * idl/Accessibility_Selection.idl:
2038 * idl/Accessibility_State.idl:
2039 * idl/Accessibility_Value.idl:
2040 Updated unimplemented slot count to minimum of
2041 four for all interfaces, for ABI freeze.
2043 * idl/Accessibility_EditableText.idl:
2044 * idl/Accessibility_Text.idl:
2045 Updated unimplemented slot count to six
2048 * idl/Accessibility_Registry.idl:
2049 Updated unimplemented slot count to six
2050 (also for DeviceEventController),
2053 * idl/Accessibility_Table.idl:
2054 Updated unimplemented slot count to eight,
2057 * idl/Accessibility_Event.idl:
2058 Added CORBA_any "any_data" member to Event struct.
2060 * idl/Accessibility_Event.idl:
2061 Added CORBA_any "any_data" member to Event struct.
2063 * atk-bridge/bridge.c:
2065 atk_signal_text_changed, atk_signal_child_changed,
2066 signal ids queried from gtype system.
2067 (AtkBridgeEventContextType): New enum.
2068 (AtkBridgeEventContextData): New struct.
2069 (AtkBridgeEventContext): New struct.
2070 (atk_bridge_init_event_type_consts):
2071 New method, initializes type contants for comparison
2072 prior to emit_eventv.
2073 (atk_bridge_event_context_init): New method,
2074 initializes a CORBA_any from an AtkBridgeEventContext.
2075 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2076 initialize the event.any_data struct.
2077 (spi_atk_bridge_event_context_create): New method,
2078 creates an AtkBridgeEventContext from signal/event info.
2079 (spi_atk_bridge_event_context_free): New method.
2080 (spi_atk_emit_eventv): Changed to take an
2081 AtkBridgeEventContext parameter. We now initialize
2082 the event.any_data member prior to notifying the
2083 Registry, via the AtkBridgeEventContext.
2084 (spi_atk_bridge_property_event_listener):
2085 (spi_atk_bridge_state_event_listener):
2086 Match emit_eventv signature.
2087 (spi_atk_bridge_object_event_listener):
2088 Match emit_eventv signature, and create an
2089 event context from the event details.
2090 Free the event context afterwards.
2091 (spi_atk_bridge_window_event_listener):
2092 Create an event context, pass it to the
2096 (AccessibleEvent_getContextString):
2097 (AccessibleEvent_getContextObject):
2098 New methods, allow query of AccessibleEvent objects
2099 for more context details (via the "any_data" member
2100 of the Event struct, above).
2103 Definitions for AccessibleEvent_getContextString
2104 and AccessibleEvent_getContextObject.
2106 * cspi/spi_listener.h:
2107 (InternalEvent): New struct.
2110 (AccessibleEvent_getContextString):
2111 (AccessibleEvent_getContextObject):
2112 Implementations of new methods, for obtaining
2113 additional context information from some event types.
2115 * cspi/spi_registry.c:
2116 (SPI_registerGlobalEventListener):
2117 Added mention of active-descendant-changed event in docs.
2119 * cspi/cspi-bonobo-listener.c:
2121 Marshal the any into the AccessibleEvent via
2124 * libspi/spi-private.h:
2125 #include <orbit/orbit.h>
2127 (spi_init_any_string):
2128 (spi_init_any_object):
2129 New convenience function declarations.
2133 (spi_init_any_string):
2134 (spi_init_any_object):
2135 New convenience function implementations.
2137 * registryd/deviceeventcontroller.c:
2138 (spi_poll_dec_mouse_moved):
2139 (spi_device_event_controller_forward_mous_event):
2140 Initialize any_data member of event.
2141 (spi_deregister_controller_device_listener):
2142 Fix incorrect param pass which was preventing deregistration.
2144 * registryd/registry.c:
2145 (desktop_add_application):
2146 (desktop_remove_application):
2147 Add object data to event's any_data before dispatch.
2149 Fix for error messages from GAIL.
2151 * test/event-listener-test.c:
2152 Test new ContextString and "any_data" API:
2153 (report_text_event): New method query and output context string.
2154 (main): register a new text listener with report_text_event
2157 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2159 Fixes for bugs 98127 and 97914.
2160 * cspi/spi-roletypes.h:
2161 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2163 * cspi/spi-statetypes.h:
2164 Added SPI_STATE_MANAGES_DESCENDANTS
2166 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2167 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2168 * cspi/spi_accessible.c:
2169 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2170 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2171 Accessibility_STATE_MANAGES_DESCENDANTS
2172 * libspi/accessible.c:
2173 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2174 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2175 As requested by Bill, I also cleaned up the alignment.
2176 * libspi/relation.c:
2177 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2178 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2179 * libspi/stateset.c:
2180 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2181 Accessibility_STATE_MANAGES_DESCENDANTS
2182 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2183 Document changes reflecting modifications to roles.
2184 * docs/reference/cspi/tmpl/spi_relation.sgml:
2185 Document changes reflecting modifications to relations.
2186 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2187 Document changes reflecting modifications to states.
2189 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2192 Revved to 1.1.3, interface-age=3, binary-age=3.
2193 Added REBUILD macro.
2196 Removed accessx-gui from the tests, since we have a nice
2197 keyboard accessibility capplet now :-)
2199 * test/keysynth-demo.c:
2200 (increment_scan): removed do-nothing default: case,
2203 * test/visual-bell.c:
2204 (main) : removed do-nothing default: case,
2207 * cspi/spi_action.c:
2208 (AccessibleAction_getKeyBinding_):
2209 Documented keybinding string format.
2213 (AccessibleText_getAttributes):
2214 Documented the text attribute string format.
2215 It's changed to use semicolon delimiters also,
2216 to prevent clashes with CSS attributes, but the old
2217 trick of looking for ", " strings will still work
2218 (as unreliably as ever). Fix for bug related to 97916.
2221 Include <cspi/bonobo/cspi-bonobo-listener.h>
2222 Fixes build warning.
2223 (SPI_freeAccessibleKeySet):
2224 (AccessibleKeystrokeListener_addCallback):
2225 (AccessibleKeystrokeListener_removeCallback):
2226 Modify to use AccessibleDeviceListener API internally,
2227 instead of AccessibleKeystrokeListener.
2229 * idl/Accessibility_Event.idl:
2230 Added two more empty slots to EventListener (for a total of four).
2232 * idl/Accessibility_Accessible.idl:
2233 Added four empty slots to Accessible interface.
2235 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2237 * idl/Accessibility_Registry.idl:
2238 (KeyEventType, EventType):
2239 Marked KeyEventType as deprecated; it duplicates
2240 functionality of EventType, which has been extended to
2241 include Mouse-button events.
2242 (KeyEventTypeSeq): defined in terms of EventType.
2243 (registerDeviceEventListener, deregisterDeviceEventListener):
2244 New methods, for managing listeners to device events,
2245 which potentially may consume them.
2248 Added definition for AccessibleDeviceListener.
2250 * cspi/spi-listener.h:
2251 (enum AccessibleDeviceEventType):
2252 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2253 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2254 for backwards compat.
2255 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2256 and typedef'd AccessibleKeystroke to it for back-compat.
2257 (AccessibleDeviceListenerCB):
2258 New function prototype typedef.
2261 (AccessibleDeviceEventMask): New typedef.
2262 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2263 (AccessibleKeyMaskType):
2264 Set equivalent to AccessibleModifierMaskType for back-compat.
2265 (SPI_createAccessibleKeystrokeListener):
2266 (AccessibleKeystrokeListener_unref):
2267 Deprecated in favor of equivalent (better-named) new API below..
2268 keystroke listeners are like all device listeners.
2269 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2270 New API names for old features :-).
2271 (AccessibleDeviceListener_addCallback):
2272 (AccessibleDeviceListener_removeCallback):
2273 (SPI_registerDeviceEventListener):
2274 (SPI_deregisterDeviceEventListener):
2278 (SPI_createAccessibleKeystrokeListener):
2279 Use new preferred API, cspi_device_listener_new() and
2280 cspi_device_listener_add_cb().
2281 (AccessibleKeystrokeListener_removeCallback):
2282 Use new preferred API, cspi_device_listener_remove_cb().
2283 (AccessibleKeystrokeListener_unref):
2284 Use new preferred API, cspi_device_listener_unref().
2285 (SPI_createAccessibleDeviceListener):
2286 (AccessibleDeviceListener_addCallback):
2287 (AccessibleDeviceListener_removeCallback):
2288 Implementation of new API.
2290 * cspi/spi_registry.c:
2291 (SPI_registerDeviceEventListener):
2292 (SPI_deregisterDeviceEventListener):
2293 Implementation of new API. Fixed memory leak and removed need to
2294 allocate EventTypeSeq (thanks Michael for catching this).
2295 Squashed a wayward CORBA_exception_free that shouldn't get called.
2297 * cspi/bonobo/cspi-bonobo-listener.c:
2299 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2300 (cspi_key_event): renamed to cspi_device_event().
2301 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2302 Extended to handle mouse button events as well as key events.
2303 (CSpiKeystrokeListener):
2304 Class superceded by CSpiDeviceListener.
2305 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2306 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2308 * cspi/bonobo/cspi-bonobo-listener.h:
2309 (CSpiKeystrokeListener):
2310 Class superceded by CSpiDeviceListener.
2311 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2312 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2314 * libspi/Makefile.am:
2315 Replaced keystrokelistener.h and keystrokelistener.c
2316 with devicelistener.h and devicelistener.c; keystrokelisener.h
2317 stub retained for back-compat.
2319 * libspi/keystrokelistener.c:
2323 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2325 * registryd/deviceeventcontroller.c:
2326 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2327 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2328 (DEControllerPrivateData): Added xkb settings data.
2329 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2330 button release events (which can't be captured via XGrabButton).
2331 Don't dispatch via the 'normal' event mechanism if the device event was
2333 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2334 Handle the typeseq data in its new location (see above).
2335 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2336 New methods, for "generic" device listeners.
2337 (spi_controller_register_device_listener):
2338 Now handle mouse event listeners as well as key listeners.
2339 (spi_controller_notify_mouselisteners):
2340 New internal method.
2341 (spi_device_event_controller_forward_mouse_event):
2342 Now we notify mouse device listeners as well as generating the
2343 non-consumable "mouse:" events.
2345 We must check and restore the XKB
2346 modifier map if we consume the event, since the act of triggering
2347 a mouse event will normally reset the XKB latch. This is required for
2349 (spi_controller_register_with_devices):
2350 Load the XKB settings when registering, and register for XKB
2351 state notify events.
2352 (spi_key_eventtype_seq_contains_event):
2353 Renamed spi_eventtype_seq_contains_event, since it's used
2354 internally for all device event types now.
2355 (spi_key_event_matches_listener):
2356 Uses spi_eventtype_seq_contains_event now.
2357 (spi_device_event_controller_object_finalize):
2358 Free the private data and the XkbKeyboard struct.
2359 (impl_register_device_listener, impl_deregister_device_listener):
2360 Implementation of new IDL.
2361 (spi_deregister_controller_device_listener):
2362 New internal method.
2363 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2364 More efficient implementation, we don't have to create a new
2365 XkbControls structure every time we query.
2366 (spi_device_event_controller_class_init):
2367 Initialize the epv entries for the new IDL. Assign the
2368 "spi-dec-private" quark.
2369 (spi_device_event_controller_init):
2370 Initialize the private data.
2371 (spi_device_event_controller_forward_key_event):
2372 Removed a bogus CORBA_exception_free() call.
2374 * registryd/deviceeventcontroller.h:
2375 Replaced inclusion of keystrokelistener.h with
2378 * test/event-listener-test.c:
2379 (report_mouse_event):
2382 Added mouse-event device listener.
2384 * test/test-simple.c:
2385 (create_test_window):
2386 Fixed regression (we were instantiating a GtkRange,
2387 which is now an abstract class). Also fixed to match
2388 existing AtkRole names, this seems to have changed in ATK
2389 awhile ago; too late now I think, and the new
2390 mechanism is at least elegant and consistent with the
2391 glib enum "nick" APIs.
2393 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2395 * idl/Accessibility_Relation.idl:
2396 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2397 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2398 * idl/Accessibility_Role.idl:
2399 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2400 * idl/Accessibility_State.idl:
2401 add STATE_MANAGES_DESCENDANTS
2402 * test/event-listener-test.c:
2403 Added a listener for active-descendant events.
2405 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2407 * atk-bridge/bridge.c
2408 (atk_bridge_init): If application is Bonobo component wait until top
2409 level is added before registering
2410 (spi_atk_bridge_do_registration): New function which contains code,
2411 formerly in atk_bridge_init, to do application registration.
2412 (spi_atk_bridge_toplevel_added): Signal called when top level
2413 added to Bonobo component
2415 This fixes bug #83134.
2417 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2419 * registryd/deviceeventcontroller.c
2420 Fixed compilation error caused by calling gettimeofday()
2423 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2428 Added template for HAVE_XKB.
2431 Changes to check for XKB, and to set the HAVE_XKB #define if it
2434 * libspi/listener.c:
2435 ()impl_notify_event): Make failure to get event source name
2438 * registryd/deviceeventcontroller.c:
2439 (#include): include X11/XKBlib.h.
2440 (DEControllerPrivateData) : New struct.
2441 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2443 (dec_synth_keycode_press) (dec_synth_keycode_release):
2444 New methods; split the key synthesis code into these methods.
2445 They check XKB settings before determining the "time" values to
2446 pass to Xtest; this fixes bug #95828.
2447 (impl_generate_keyboard_event): Changed to use methods above,
2448 instead of callng Xtest directly.
2449 (spi_device_event_controller_init): Initialize new privae struct s
2451 (spi_device_event_controllr_object_finalize):
2452 Free the (new) private data.
2454 * registryd/deviceeventcontroller.h:
2455 Add new gpointer to end of struct data.
2457 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2460 Incremented revision to 1.1.2, SONAME is still '.so', library
2461 extensions are ".so.0.0.2".
2463 * registryd/deviceeventcontroller.c:
2464 FIXES FOR #93592 and #95940.
2465 (statics): renamed mouse_button_state to mouse_mask_state,
2466 added key_modifier_mask.
2467 (spi_dec_poll_mouse_moved):
2468 Added key modifier checks, and emit "keyboard:modifiers"
2469 events when the key modifiers currently in use change.
2470 Also generate "mouse:abs" events periodically, even if the mouse
2471 is stationary (should we?).
2472 Alternatively we could generate "mouse:abs" events for either all
2473 mouse movements, or every 'nth' mouse movement, or at the
2474 beginning and end of every "active" mouse period.
2476 * test/event-listener-test.c:
2477 (main): Added listener for "keyboard:modifiers" events.
2479 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2481 * libspi/keymasks.h:
2482 Added key mask #defines for mouse buttons; e.g.
2483 SPI_KEYMASK_BUTTON1, etc.
2486 Incremented dependency on ATK to version 1.1.0. (This dependency
2487 is probably premature but will soon be real enough).
2489 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2491 * libspi/hyperlink.[ch]
2492 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2493 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2496 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2501 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2503 * registryd/deviceeventcontroller.c
2504 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2505 events to be ignored.
2506 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2507 keyboard_mode so that XAllowEvents() can be called.
2511 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2513 * cspi/spi-accessible.c: Correct names of roles returned by
2514 AccessibleRole_getName(). Fixes bug #95055.
2516 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2518 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2521 * registryd/registry.c
2522 (desktop_remove_application: Write diagnostic message to stderr for
2525 (impl_accessibility_registry_deregister_global_event_listener):
2526 Correct size of lists array. This addresses bug #94555).
2528 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2530 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2533 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2535 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2538 * registryd/registry.c (impl_registry_notify_event): Remove
2539 unnecessary call to parser_event_type().
2541 * docs/reference/cspi/tmpl/spi_component.sgml:
2542 Add reference to SPI_LAYER_WINDOW.
2544 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2546 * registryd/registry.c
2547 (desktop_add_application): Remove leak.
2548 (desktop_remove_application): Remove leak.
2549 (parser_event_type): Remove leak.
2551 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2553 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2554 bogus call to CORBA_string_dup(). Also removed unnecessary
2555 g_string_dup/g_free calls.
2557 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2559 * registryd/deviceeventcontroller.c:
2560 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2562 * test/event-listener-test.c:
2563 main: commented out three redundant listeners, to reduce output
2564 noise. (They still are potentially useful for testing).
2567 2002-09-13 Michael Meeks <michael@ximian.com>
2569 * Update all the copyrights to include Ximian.
2571 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2573 * cspi/spi.h: add SPI_LAYER_WINDOW.
2575 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2576 add Accessibility_LAYER_WINDOW case.
2578 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2580 * libspi/component.c: (impl_accessibility_component_get_layer):
2581 add ATK_LAYER_WINDOW case.
2583 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2585 * configure.in: incremented micro version.
2587 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2589 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2592 Clarified and reworded our commit policy.
2595 Started an API "todo" addition list for 2.2.
2598 (impl_getSelection):
2599 Free char pointer from atk_text_get_selection, which was being leaked.
2601 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2604 Small revision to author acknowledgement.
2606 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2608 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2609 If signal has detail add it to the type of the event.
2612 2002-08-12 Michael Meeks <michael@ximian.com>
2614 * test/test-simple.c (global_listener_cb): bin bogosity.
2615 (test_keylisteners): disable, still doesn't work reliably,
2616 certainly not on my system anyway.
2618 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2619 don't leak a reference on the DEC. This round-trip
2620 fetching of the DEC per keystroke sucks, it should be
2623 * cspi/spi-private.h,
2624 * cspi/cspi-lowlevel.h,
2625 * cspi/bonobo/cspi-bonobo-listener.[ch],
2626 * cspi/bonobo/cspi-bonobo.c: get the copyright
2627 notices better - there is still a large amount of
2628 work in at-spi falsely attributed solely to Sun.
2630 * cspi/spi_main.c (cspi_object_ref): kill bogus
2631 hash lookup, just increment the ref.
2632 (SPI_freeString): make explicit the fact that we
2633 handle NULL strings just fine.
2634 (report_leaked_ref): obey coding standards.
2635 (cspi_object_hash, cspi_object_equal): kill retval.
2636 (cspi_object_release): only release if not on loan.
2637 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2638 (cspi_object_borrow, cspi_object_return): impl.
2640 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2641 use cspi_object_borrow / return.
2643 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2645 * cspi/bonobo/cspi-bonobo-listener.c:
2647 Don't call cspi_oject_new() because this is creating a new Accessible
2648 every single time that an event is fired. This causes ATs like at-poke
2649 to nolonger recognise the source of the event and thus ignore it.
2650 Re-use the object from the cache, ref it and then unref it after the
2651 listeners have been called.
2653 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2655 * test/event-listener-test.c:
2656 Added command-line options to disable mouse events (m) and
2659 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2661 * configure.in: Update required versions of ATK, GTK+ and GAIL
2663 * cspi-1.0.pc.in: Add dependency for X include files
2666 * cspi/bonobo/Makefile.am:
2667 Add $(X_CFLAGS) so that X include files
2668 are picked up even if not in standard place (bug #71686)
2670 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2672 * registryd/deviceeventcontroller.c: fix for 84261
2673 (spi_dec_mouse_moved):
2674 Added test of mouse button mask, so that we can detect mouse
2675 button release. Unfortunately we can't otherwise detect mouse
2676 button release events without consuming the mouse press event,
2677 because of the way XGrabButton works. This means that our mouse
2678 release events have a latency dependent on the polling period
2679 while the mouse button is down. At least in this case we only
2680 have to poll while the button is down, and not at other times.
2681 If the button masks don't match with what the last press event
2682 reported, we report the appropriate button release event.
2683 (spi_dec_ungrab_mouse):
2684 New method (not yet called).
2685 (spi_device_event_controller_forward_mouse_event):
2686 New method, sends mouse press event from GdkFilter.
2687 (spi_dec_init_mouse_listener):
2688 Added code to call XGrabButton, redirecting mouse button events to
2689 the root window and our Gdk event loop.
2691 Added code to filter mouse button events, and reordered.
2693 * test/event-listener-test.c:
2695 Added registration for mouse events of type "mouse:button".
2697 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2699 * registryd/deviceeventcontroller.c: partial fix for 84261
2700 (spi_dec_poll_mouse_idle):
2701 New method, a timeout which checks to see if the mouse
2703 (spi_dec_poll_mouse_moving):
2704 A timeout to be called when mouse motion is underway.
2705 (spi_dec_poll_mouse_moved):
2706 A method which fires an event if the mouse has moved, and reports
2707 whether or not it did so.
2708 (spi_dec_init_mouse_listener):
2709 A method which sets up the timeouts above.
2710 (spi_device_event_controller_new):
2711 Now calls spi_dec_init_mouse_listener.
2713 * registryd/registry.c:
2714 (spi_registry_init):
2715 Now we initialize the device event controller when the registry is
2716 initialized, instead of waiting until a client has requested a key
2717 event notification; this is because we need the event controller
2718 for mouse events, but the mouse event registration API is a
2719 "registry" call and doesn't explicitly call the
2720 deviceeventcontroller.
2721 We now report mouse motion events with a 100 ms idle latency and
2722 a 20 ms granularity when motion is in progress.
2724 * test/event-listener-test.c:
2726 We now register the "detail listener" for events of type
2727 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2728 delivered only for the first mouse event received, and thereafter
2729 "mouse:abs" events are delivered.)
2731 * cspi/spi_registry.c:
2732 DOCS: Documented the above mouse event typestrings.
2734 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2736 Happy Summer Solstice...
2738 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2739 (spi_controller_notify_keylisteners):
2740 Changes to remove a listener from the listener list, freeing its
2741 open keygrabs, if a notification to that listener fails. This
2742 means that although a dead listener can continue to hold a passive
2743 keygrab, a maximum of one dispatch to such a listener can fail
2744 before the listener is removed from the list, thus the keygrab
2745 will be released on the next occurrence.
2746 As part of this fix:
2747 (spi_notify_keylisteners):
2748 Renamed to spi_controller_notify_keylisteners, as the controller
2749 instance must now be passed as an argument.
2750 The copied 'notify' GList is now a list of DEControllerKeyListener
2751 objects, since we need more than just the CORBA reference if a
2752 notify fails and we need to deregister the listener.
2753 (impl_notify_listeners_sync):
2754 (impl_notify_listeners_async):
2755 (spi_device_event_controller_forward_key_event):
2756 Modify use of notify_keylisteners in accordance with above
2758 (spi_deregister_controller_key_listener):
2759 New method introduced by refactoring, from
2760 impl_deregister_keystroke_listener.
2761 (impl_deregister_keystroke_listener):
2762 Call spi_deregister_controller_key_listener.
2763 (spi_key_listener_clone):
2764 New method to copy a key listner without doing a 'ref' on the
2765 remote object instance; used to create a notifier list.
2766 (spi_key_listener_data_free):
2767 New method, frees data without unreffing the source.
2769 (spi_key_listener_clone_free): new method.
2770 (spi_key_listener_free):
2771 refactored to call spi_key_listener_data_free.
2773 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2775 * registryd/registry.c: [fix for bug 86048]
2776 (notify_listeners_cb):
2777 Clear CORBA system exceptions which occur when notifying
2778 listeners, before returning to the source of the original event,
2779 since the event source doesn't care if the relayed notify failed.
2780 In other words, don't complain to the atk-bridge if the registry
2781 could not notify all its listeners, that's no fault of the
2782 application and thus should not appear to be an error from the
2783 application's perspective.
2785 * cspi/spi_main.c: [fix for bug 85980]
2787 Replaced use of bonobo_object_dup_ref with call to the wrapper
2788 method, csou_dup_ref (); this silences a compiler warning and
2789 provided more portability.
2791 Ping the registry before return, and restart if necessary.
2793 * cspi/bonobo/cspi-bonobo.c:
2795 New internal method.
2797 Fixed this method to return an object reference, as it should have
2800 * cspi/cspi-lowlevel.h:
2801 Added internal definition for cspi_ping() and fixed
2802 return type of cspi_dup_ref().
2805 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2807 * atk-bridge/bridge.c: [fix for bug 85305]
2808 (spi_atk_bridge_register_application):
2809 New method where the initial application registry calls have been
2810 moved; it allows an application to re-register in response to
2811 certain error conditions (such as a registry restart, see below).
2813 Moved some initialization code to the method
2814 spi_atk_bridge_get_registry, below.
2815 (spi_atk_bridge_get_registry):
2816 New, private accessor function for the Accessibility_Registry
2817 instance. If the registry has not been started before, or has
2818 died (as detected by failure of a CORBA exception), it is
2819 restarted before return, and spi_atk_bridge_register_application
2820 is called again to register with the new bridge instance.
2821 (spi_atk_emit_eventv):
2822 Set registry_died on error; use spi_atk_bridge_get_registry () to
2823 access the registry.
2825 * registryd/registry.c:
2826 (impl_accessibility_registry_register_global_event_listener):
2827 Set listener's event_type_quark to etype.minor instead of
2828 etype.major (fix for bug 84856).
2830 * test/event-listener-test.c:
2831 (report_detail_event):
2832 Change the output string so that user/tester can tell that the
2833 'detail listener' was called instead of the 'generic listener'.
2835 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2837 Fixes for bugs 84900, 84908, 84897, 84898.
2842 Revved version to 1.1.0
2843 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2844 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2846 * idl/Accessibility_Registry.idl:
2847 (EventListener::notifyEvent):
2848 Removed 'oneway' directive after extensive consulation with
2849 ORBit2 team and others. This means also that unref() of the event
2850 source can and should be done synchronously after emission, rather
2851 than remotely in the client, after servicing the notify call on
2854 NOTE: This change speeds up listener performance considerably, but
2855 introduces new latency on the application side. We may want to
2856 add an event queue to the atk-bridge.
2858 * atk-bridge/bridge.c:
2859 (spi_atk_bridge_focus_tracker):
2860 Do a local unref() on the event source after emission.
2862 * registryd/registry.c:
2863 (desktop_remove_application):
2864 Do an unref() on the event source after emission.
2865 (desktop_add_application):
2866 Do an unref() on the event source after emission.
2867 (notify_listeners_cb):
2868 When relaying an event, don't automatically add the event source
2869 to the local object cache, just CORBA_dup it instead. Likewise,
2870 if this method reenters, release the ref rather than calling
2872 (impl_registry_notify_event):
2873 No longer call remote unref() on the event source after dispatch.
2875 * libspi/eventlistener.c:
2876 (impl_accessible_event_notify_event):
2877 Removed remote unref ()
2879 * cspi/bonobo/cspi-bonobo-listener.c:
2881 We now call cspi_object_new() instead of cspi_object_add() on
2882 receipt of an event; thus we only have an implicit object ref
2883 while the cspi_event method is being executed. If we need to keep
2884 a reference to the object, the listener must call ref() on the
2885 object. Thus also we don't need to call cspi_object_unref() after
2886 invoking the listener callbacks in this method.
2890 New internal API for creating a new cspi object, without adding it
2891 to the object cache.
2893 Now uses cspi_object_new() to create the cspi object instance.
2895 Now checks to see if the object is in the internal object cache,
2896 and adds it if necessary before incrementing its refcount (note
2897 that new objects are added with a refcount of 1).
2898 (report_leaked_ref):
2899 New method which gives some information on leaked object instances
2900 if leak detection is turned on.
2902 * test/event-listener-test.c:
2903 (timing_test_event):
2904 New method, used for testing event delivery timing for special
2905 events of type "object:test". It reports elapsed time and
2906 events/sec every 500 events.
2908 Added a new listener, 'test listener', to check timing of event
2909 receipt as noted above.
2911 Added some timing output here also, reports elapsed time every 100
2914 * test/stress-test.c:
2915 Emit events of type "object:test", for use with "event-listener-test".
2917 * test/test-simple.c:
2918 (global_listener_cb):
2919 Call Accessible_ref() on the event source before calling
2920 validate_accessible, since the validation process does pointer
2921 comparisons on the event source, meaning that the event source
2922 needs to be added to the local object cache first. Any use of
2923 such pointer comparisons between Accessible objects requires that
2924 the caller hold an explicit reference to those objects.
2925 We also must therefore call Accessible_unref() when leaving this method.
2927 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2929 * registryd/deviceeventcontroller.c:
2930 (spi_controller_update_key_grabs):
2931 Fix for #84735, subsequent keygrab listeners not informed of
2932 registration failure.
2935 (spi_base_construct):
2936 Add an assertion on construct, to make sure the GObject passed in
2937 is really a GObject.
2939 Explicitly initialize object->gobj pointer to NULL;
2941 * cspi/bonobo/cspi-bonobo-listener.c:
2942 (cspi_object_add_ref):
2943 New method, can specify whether to dup-ref a bonobo object passed
2944 in if it's newly added to the object cache.
2946 Now calls cspi_object_add_ref with second param of "FALSE". This
2947 prevents us from doing a pointless dup-ref followed by
2948 release-unref for all those cases where the object is already in
2949 our object cache (fix for #85205).
2951 * atk-bridge/bridge.c:
2952 (spi_atk_bridge_idle_init):
2953 Removed this method, we don't need to initialize in an idle
2956 Changed to call spi_atk_register_event_listeners directly, not via an
2957 idle handler. (fix for #81139)
2958 (gnome_accessibility_module_shutdown):
2959 Removed conditional around deregistration of listeners, since we
2960 don't use the idle handler and thus have always registered when
2962 (spi_init_keystroke_from_atk_key_event):
2963 Changed references to Accessibility_KEY_PRESSED to
2964 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2966 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2968 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2973 * test/stress-test.c:
2976 (may have been an incomplete commit yesterday?)
2978 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2981 Added target for new stress-test.
2983 * test/stress-test.c:
2984 New test, sends 1000 focus notifies in quick succession.
2986 * test/key-listener-test.c:
2987 Now we report whether a keylistener registration
2988 request succeeded or failed.
2990 * test/event-listener-test.c:
2991 Uncommented some listeners which are now implemented.
2994 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2996 * registryd/deviceeventcontroller.c:
2997 (spi_controller_update_key_grabs):
2998 Fix for #82509, lack of failure notification when
2999 ALL_WINDOWS keygrabs fail due to XGrabKey
3000 failure: we synchronize the server when
3001 registering a passive grab, to make sure we get the
3002 error message before the call returns.
3004 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3006 * test/test-simple.c:
3008 Removed #ifdef KEY_IMPL_WORKS guards.
3009 (test_keylisteners):
3010 Removed #ifdef KEY_IMPL_WORKS guards.
3011 Fixed bug which was causing a hang waiting for a
3012 "press" event (which was already overwritten by a "release"
3013 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3015 Added code to set globals 'key_press_received' and
3016 'key_release_received'.
3019 Added section "1.1 API Proposed Additions" which
3020 lists API additions desired for at-spi-1.1 (only one so far).
3021 Updated TODO list a little.
3023 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3025 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3028 * configure.in: Revved to 1.0.0.
3030 * idl/Accessibility_Registry.idl:
3031 (registerKeystrokeListener):
3032 Added boolean return value.
3034 * registryd/registry.c:
3035 (notify_listeners_cb): Minor fix to debug output.
3037 * registryd/Accessibility_Registry.server.in.in:
3038 Revved version number in OAFIID to 1.0.
3040 * registryd/registryd.c:
3042 Use new OAFIID version.
3044 * cspi/bonobo/cspi-bonobo.c:
3046 Use new OAFIID version.
3052 * atk-bridge/bridge.c:
3054 Use new OAFIID version.
3056 * registryd/deviceeventcontroller.c:
3057 (impl_register_keystroke_listener):
3058 Added CORBA_boolean return value.
3059 (spi_controller_register_device_listener):
3060 Added gboolean return value.
3061 (spi_controller_register_global_keygrabs):
3062 Added gboolean return value.
3063 (spi_key_set_contains_key):
3064 Added implementation for many more control keys,
3065 for instance F1-F12, arrow keys, End, Home, Page_Up,
3067 [TODO: some still not implemented].
3069 * text/screen-review-test.c:
3070 (text_chunk_pad_string):
3071 New function: it provides mapping between coordinate
3072 positions of text chunks and character positions in the
3073 screen-review-line output string.
3074 (text_chunk_to_string):
3075 New function, calls text_chunk_pad_string with various
3076 pad/delimiter characters. Pushbuttons are delimited with
3077 square brackets, Frames with vertical 'pipe' lines, and
3078 other text with double quotes.
3079 (text_chunk_list_to_string):
3080 Calls new function text_chunk_to_string.
3081 (toplevel_composite):
3082 New function to composite layers CANVAS through
3083 POPUP in each toplevel (other layers are composited
3084 across toplevels, i.e. BACKGROUND and OVERLAY).
3085 (review_buffer_composite):
3086 Revise to use new methods.
3092 2002-05-31 Laszlo Peter <laca@sun.com>
3094 * configure.in: add the Xtst libdir to the runpath on Solaris,
3095 since it's not in the default library search path.
3097 2002-05-29 jacob berkman <jacob@ximian.com>
3099 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3101 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3103 * test/screen-review-test.c:
3104 (text_chunk_pad_string):
3105 Added method, which pads the string according to the
3106 text bounds of the chunk. It also takes a 3-character
3107 string as a param which indicates the characters to be
3108 used for start, padding, and end delimitation of the chunk.
3109 (text_chunk_to_string):
3110 Changed to use text_chunk_pad_string.
3112 * configure.in: Fixed bug in AC_OUTPUT that was
3113 causing path substitution in Accessibility_Registry.server
3116 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3118 * text/screen-review-test.c:
3119 (guess_string_clip):
3120 New method which attempts a best-guess at clipping
3121 text from components (like Java labels) which don't
3122 actually implement AccessibleText. This inaccurate
3123 clip is based on the assumption that the label is
3124 justified left-and-right, and monospaced.
3125 (text_chunk_get_clipped_string):
3126 We now call guess_string_clip() for text-containing
3127 components that don't implement AccessibleText.
3129 * test/screen-review-test.c:
3130 (review_buffer_get_text_chunk):
3131 We now pull "name" from labels if they do not implement
3132 AccessibleText (i.e. for Java labels).
3133 (get_screen_review_line_at):
3134 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3137 Replaceded AC_OUTPUT target
3138 registryd/Accessibility_Registry.server with
3139 registryd/Accessibility_Registry.server.in.
3141 * registryd/Accessibility_Registry.server.in:
3142 Removed (this is now a Makefile target).
3144 * registryd/Accessibility_Registry.server.in.in:
3145 Added (source for target above). We now use $(libexecdir) as
3146 prefix for the executable at-spi-registryd.
3148 * registry/Makefile.am:
3149 Now install at-spi-registryd into $(libexecdir), and build .server
3150 file with path (see above).
3152 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3154 * test/screen-review-test.c:
3155 (text_chunk_get_clipped_string):
3156 We now check to see if words fall within clip bounds
3157 before resorting to character-by-character clip bounds testing.
3159 * TODO: Added a section for "2.2 Proposed API Additions".
3161 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3163 * test/screen-review-test.c:
3165 Added a screen review benchmarking and test program to test
3168 * cspi/spi_accessible.c:
3170 Made some of the debug strings passed to cspi_check_ev a
3171 little more specific.
3173 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3175 * test/screen-review-test.c: Fix crashes in debug statements
3177 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3179 * test/screen-review-test.c: Added this file.
3181 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3183 * atk-bridge/bridge.c: changed "object:state-change" to
3184 "object:state-changed" to match docs.
3186 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3188 * atk-bridge/bridge.c: Hooked up state-change event details.
3190 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3192 * registryd/registry.c:
3193 Fixed quarking bug in event string parsing; now events with
3194 detail parameters get matched correctly to listeners.
3197 * util/idl/Magnifier.idl: remove.
3199 * util/*.[ch]: Remove.
3200 Magnification utilities and IDL are now in module gnome-mag.
3202 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3204 * registryd/deviceeventcontroller.c:
3205 Fixed bug in grab key conversion which was causing keycode grabs
3206 to be converted to AnyKey grabs.
3209 updated NEWS file to reflect recent spin-off of gnome-mag.
3211 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3213 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3214 busted AccessibleStateSet_compare. Removed redundant casts.
3216 * cspi/spi-action.c: Removed redundant casts.
3218 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3220 * cspi/spi_component.c: Fixed typos and casting error.
3222 * cspi/spi_editabletext.c: Removed redundant casts.
3224 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3226 * cspi/spi_hypertext.c: Eliminated redundant casts.
3228 * cspi/spi_image.c: Eliminated redundant casts.
3230 * cspi/spi_registry.c: Eliminated redundant casts.
3231 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3232 * cspi/spi_selection.c: Removed redundant casts.
3233 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3234 handling. Screen geometry and text offsets were being returned as 0
3235 on error which is technically valid-- changed these to return -1.
3236 Added marshaller for text boundary types to fix bug with boundary
3237 types being passed incorrectly to atk.
3239 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3242 * cspi/spi_registry.c:
3243 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3244 which was uncovered by the recent key changes.
3246 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3248 * test/event-listener-test.c:
3250 Added new test, "event-listener-test";
3251 this code does two things; it benchmarks traversal time
3252 for the accessible hierarchy for the first running accessible
3253 app, and it connects listeners for all supported event types.
3254 It is thus useful as an example event listener and for
3255 diagnostics/debugging of event generation.
3257 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3260 Removed unnecessary dependency on libutil.
3263 Revved micro version: 0.13.1
3265 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3268 Removed util/Makefile from targets.
3271 Removed util subdir from SUBDIRS (temporarily,
3272 pending removal of magnifier-only code
3276 #ifdef-ed out magnifier dependencies, since
3277 magnifier IDL, headers, and binary now live in
3278 module gnome-mag and we don't want at-spi to depend
3279 on gnome-mag. A magnifier demo which can run alongside
3280 simple-at is forthcoming in the gnome-mag module.
3282 NOTE: Split magnifier binary, IDL, and magnification
3283 activation code from at-spi into module gnome-mag.
3285 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3287 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3288 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3290 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3293 Revved to version 0.13.0
3295 * idl/Accessibility_Registry.idl:
3296 Changed definition of KeySet from sequence of longs to sequence of
3297 KeyDefinitions, and added KeyDefinition struct.
3298 Required for fix to bug 80616.
3300 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3301 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3302 to use new definition (see above).
3304 * registryd/deviceeventcontroller.c: handle_keygrab(),
3305 spi_keyset_contains_key():
3306 Changed to make use of new struct; this allows matching based on
3307 string key-name, for instance "Tab". This also allows matching of
3308 composed characters, non-alphanumeric characters in a way that
3309 doesn't involve dependencies on X keysym codes directly, etc.
3311 * test/key-listener-test.c:
3312 Added test for Alt-Tab key using "string" specification of keyset,
3313 and modified one of the tests to use a keycode-based keyset.
3314 Thus this test both tests and demonstrates the creation and use of
3315 keysets of three forms: specified via keycode array,
3316 keysym array, and string array. (The string case only contains a
3317 single string, i.e. a string array of length 1).
3320 Turned on PRINT_TREE option by default. Also fixed a
3321 string-freeing bug in the PRINT_TREE code.
3322 Added a listener to window:minimize events.
3324 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3326 * atk-bridge/bridge.c:
3327 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3328 for window:activate and window:deactiveate
3329 (atk_bridge_property_event_listener atk_bridge_signal_listener
3330 atk_bridge_window_event_listener) Tidy debug code
3332 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3334 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3335 Fixed handling for NULL return value from ATK.
3337 * libspi/action.c libspi/component.c libspi/editabletext.
3338 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3339 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3340 Removed redundant casts.
3342 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3343 Fixed off by one bug.
3345 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3346 function not present in idl)
3348 2002-05-02 jacob berkman <jacob@ximian.com>
3350 * atk-bridge/Makefile.am: make atk-bridge a real module
3352 2002-04-26 Radek Doulik <rodo@ximian.com>
3354 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3355 atk_state_types table
3357 2002-04-22 jacob berkman <jacob@ximian.com>
3360 * libspi/Makefile.am: add deps on the built files to help
3361 automake, and don't version the ORBit typelib
3363 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3365 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3366 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3367 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3368 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3369 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3370 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3371 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3372 libspi/accessible.h libspi/accessible.h libspi/base.h
3373 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3374 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3375 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3376 libspi/spi-private.h libspi/statetset.h libspi/table.h
3377 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3378 util/mag_client.h util/mag_control.c util/mag_image.c
3379 util/mag_image.h util/magnifier.c util/magnifier.h:
3380 Add missing file headers; standardize existing ones
3382 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3384 * atk-bridge/bridge.c: Added window event support.
3386 2002-04-18 Michael Meeks <michael@ximian.com>
3388 * libspi/relation.c (impl_getNTargets): impl.
3389 (impl_getTarget): impl.
3391 * libspi/Makefile.am: fix stateset install.
3393 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3396 Started putting useful info in this file.
3398 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3400 * atk-bridge/bridge.c:
3401 Propagate state-changed notifications to ATs
3403 * cspi/spi_registry.c: update docs to reflect actual behavior of
3404 state-change events.
3406 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3409 Incremented version to 0.12.1
3411 * util/mag_client.h:
3412 Add missing declaration for magnifier_exit,
3413 used by mag_control.c - Forte compiler didn't like
3414 the implicit redeclaration of the function :-(
3417 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3420 Revved version to 0.12 due to API change (see below).
3422 * cspi/spi-roletypes.h:
3423 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3424 definition from the inline docs, and added docs
3425 for SPI_ROLE_LAST_DEFINED.
3428 * cspi/spi_streamablecontent.c:
3429 Added missing seek_type parameter to
3430 (so far unused) method,
3431 AccessibleStreamableContent_seek().
3432 [ RT approval JodyG. ]
3435 Fixed docs for SPI_createAccessibleKeystrokeListener.
3437 * cspi/spi_registry.c:
3438 Fixed docs for SPI_KEYSET_ALL_KEYS.
3440 * docs/reference/cspi/at-spi-cspi-sections.txt:
3441 Added a number of missing APIs to SECTIONS.
3443 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3445 * registryd/Makefile.am:
3447 * cspi/bonobo/Makefile.am:
3448 Add $(X_LIBS) to makefiles.
3450 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3453 Revved version to 0.11.
3455 * libspi/component.c:
3456 Added implementation for grabFocus.
3458 * idl/Accessibility_Component.idl
3459 (Accessibility_Component_grabFocus):
3460 Made this method return boolean to indicate success or failure, to
3461 be consistent with cspi and the corresponding ATK method.
3463 * idl/Accessibility_Selection.idl
3464 (Accessibility_Selection_selectAll) :
3465 Made these methods return boolean to indicate success or
3466 failure, to be consistent with cspi and the corresponding ATK methods.
3468 * idl/Accessibility_EditableText.idl
3469 (Accessibility_EditableText_setTextContents,
3470 Accessibility_EditableText_insertText,
3471 Accessibility_EditableText_cutText,
3472 Accessibility_EditableText_deleteText,
3473 Accessibility_EditableText_pasteText):
3474 Made these methods return boolean to indicate
3477 * cspi/spi_editabletext.c:
3478 Made these methods return booleans.
3480 * libspi/selection.c:
3481 * libspi/component.c:
3482 * libspi/editabletext.c:
3483 Connected the boolean returns from ATK
3484 to the server-side code referenced above.
3486 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3488 * idl/Accessibility_Table.idl: Added missing methods,
3489 Accessibility_Table_addRowSelection,
3490 Accessibility_Table_addColumnSelection,
3491 Accessibility_Table_removeRowSelection,
3492 Accessibility_Table_removeColumnSelection.
3495 Added C wrappers for above IDL:
3496 AccessibleTable_addRowSelection,
3497 AccessibleTable_addColumnSelection,
3498 AccessibleTable_removeRowSelection,
3499 AccessibleTable_removeColumnSelection.
3502 Added server-side implementation code for IDL above, connecting
3503 to pre-existing ATK api.
3505 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3507 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3509 * libspi/accessible.c: Added implementation fo
3510 Accessibility_Accessible_get_state.
3512 * libspi/libspi.h: Added stateset.h to the list of includes.
3514 * libspi/stateset.c: Fixed broken implementation.
3516 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3519 Added implementation code for Accessibility_Magnifier_exit ().
3521 * util/mag_control.c:
3522 Added test code for above method; you can
3523 now kill an existing magnifier via
3524 ./mag_control q, from the util directory.
3526 * test/key-listener-test.c:
3528 Added a new test, for our key listener API.
3530 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3532 * test/app.c, test/keysynth-demo.c:
3534 Replace use of snprintf with g_snprintf.
3535 (fix for bugzilla 78249)
3537 2002-03-27 Michael Meeks <michael@ximian.com>
3541 * util/Makefile.am (INCLUDES): fix.
3542 (DONT_DIST_SOURCE): don't distribute the
3545 * libspi/Makefile.am (dist-hook): ditto.
3547 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3549 * libspi/hypertext.c:
3550 Fix warnings when yelp is used with atk-bridge
3552 2002-03-21 Michael Meeks <michael@ximian.com>
3554 * libspi/application.c (spi_application_new):
3555 use spi_accessible_construct so we use the AtkObject
3558 2002-03-19 Michael Meeks <michael@ximian.com>
3560 * registryd/registry.c (desktop_remove_application),
3561 (desktop_add_application): clean coding style.
3563 * registryd/desktop.c (spi_desktop_remove_application),
3564 (spi_desktop_add_application): kill re-enterency hazards.
3565 (spi_desktop_dispose): remove bogus redundant cast
3566 obscuring bug; fix bug too.
3567 (spi_desktop_init): make the desktop object immortal.
3569 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3572 Added a #define-guarded tree-traversal step
3573 when enumerating the apps (diagnostic tool).
3575 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3577 * idl/Accessibility_Role.idl:
3578 Added ROLE_DRAWING_AREA which seemed to be missing from the
3581 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3583 * cspi/spi-roletypes.h cspi/spi_accessible.c
3584 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3587 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3588 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3589 AT when applications are added and removed from the desktop. This
3590 reverts the previous broken implementation using the backing
3591 AtkObject for the SpiDesktop.
3593 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3595 * registryd/desktop.c: emit the "children-changed::add" and
3596 "children-changed::remove" signals on the backing ATK object for
3597 the desktop so AT can tell when applications are started and shut
3600 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3602 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3604 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3606 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3608 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3610 * cspi/state-types.h: synched with IDL and ATK
3612 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3614 * libspi/accessible.c
3615 (impl_accessibility_accessible_get_child_at_index):
3616 Change return value for g_return_if_fail ()
3617 to CORBA_OBJECT_NIL instead of "0" (!)
3619 * registryd/Makefile.am:
3620 * registryd/Accessibility_Register.server.in:
3621 Changed name of executable, "registryd",
3622 to something more informative:
3625 2002-03-13 Michael Meeks <michael@ximian.com>
3627 * atk-bridge/bridge.c (atk_bridge_init): don't register
3628 if we're in a bonobo-component, rather than a bonobo app.
3630 2002-03-13 Michael Meeks <michael@ximian.com>
3632 * atk-bridge/bridge.c (gtk_module_init): split
3633 out body to (atk_bridge_init): here, since otherwise
3634 we get symbol conflicts and oddness when invoked
3635 from (gnome_accessibility_module_init): here (upd.)
3637 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3640 New file. Explicitly allow "build sheriff" putbacks provided
3641 they are tested on Solaris.
3643 * docs/reference/cspi/Makefile.am:
3644 Added '-' to the "cp" command for index.sgml.
3645 ("patch by thomasvs, soon coming to a GUADEC near you")
3648 Incremented version number (0.9.0) for new release.
3649 Changed macro that checks for popt, to better detect
3650 obsolete versions of popt.
3653 Added X_LIBS to AC_SUBST, for applications
3654 that call Xlib API directly.
3657 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3660 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3663 Fix regression caused by hard-coding major
3664 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3667 * test/test-simple.c (test_editable_text),
3668 (test_test): revert previous change (error was
3669 a regression in gail which is now fixed).
3671 2002-03-04 Michael Meeks <michael@ximian.com>
3673 * test/test-simple.c (test_editable_text),
3674 (test_text): pass G_MAXINT instead of '-1' for
3675 whole string - is this a good thing !?
3677 * cspi/spi_accessible.c
3678 (Accessible_getRelationSet): fix crasher bug
3679 overwriting the end of the array.
3681 * test/test-simple.c (validate_accessible): free,
3682 not g_free returned relation set.
3684 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3686 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3687 implemented stateset support
3689 * idl/Accessibility_State.idl: Made necessary changes to
3690 the IDL to support state sets.
3692 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3694 * registryd/deviceeventcontroller.c:
3695 Added implementation for generateMouseEvent.
3697 * cspi/spi_registry.c:
3698 Connected new implementation for generateMouseEvent
3701 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3704 Incremented revision (but no change in public API
3705 outside of 'utils', which are not installed public yet.)
3707 * libspi/component.c:
3708 Changed to use atk_component API for layers and
3709 mdi_zorder, instead of deprecated atk_object API.
3711 Magnification Utility Enhancements:
3714 Added implementation of createZoomRegion, clearAllZoomRegions,
3715 resizeZoomRegion. Added new commandline argument
3716 "--no-initial-region". Note that clearAllZoomRegions doesn't
3717 unmap the old '0' region as it should (yet), and the other
3718 methods only work when creating/resizing a single region,
3719 which is "region 0".
3720 (Code for multiple region support will be added later.)
3723 Now we raise the magnifier window each time it's refreshed;
3724 this will help keep it on top.
3726 * util/mag_client.h:
3727 Added simple wrappers for above, used by mag_control.
3728 For general use, it's recommended to use the bonobo magnifier
3729 control API directly instead of using these wrappers.
3732 Moved ZoomRegionData from magnifier.c to this file.
3734 * util/mag_control.c:
3735 Added some code to exercise new IDL implementations.
3737 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3739 * libspi/text.c: Provide implementation for getAttributes.
3741 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3744 Incremented revision.
3746 * test/test-simple.c:
3747 Replaced use of deprecated g_main_iteration with
3748 g_main_context_iteration.
3750 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3753 Incremented revision for desktop alpha 2.
3755 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3757 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3760 * test/simple-at.c: include netinet/in.h.
3762 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3764 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3765 use NULL, not CORBA_OBJECT_NIL.
3767 * libspi/accessible.c:
3768 (impl_accessibility_accessible_get_relation_set):
3769 allocate the sequence correctly.
3771 * libspi/remoteobject.h: kill spi_remote_object_new.
3773 * test/test-simple.c: (validate_accessible): add code
3774 to test relation sets, now all we need is to figure
3775 out how to excercise this code path :/
3777 2002-01-18 Michael Meeks <michael@ximian.com>
3779 * test/test-simple.c
3780 (key_listener_cb): consume the key.
3781 (test_keylisteners): update.
3782 (main): wait for any pending unrefs on events.
3784 * registryd/deviceeventcontroller.c
3785 (spi_controller_update_key_grabs): only re-issue the
3786 grab on a key release.
3787 (spi_device_event_controller_forward_key_event):
3788 refresh the keygrabs before we notify the listeners,
3789 to reduce the X ungrab / re-grab race.
3790 (spi_controller_register_with_devices): remove
3791 XSelectInput - we do that with the gdk_window_ call.
3792 (_spi_controller_device_error_handler): return a value.
3793 s/GDK_DISPLAY/spi_get_display/
3795 2002-01-17 Michael Meeks <michael@ximian.com>
3797 * registryd/deviceeventcontroller.c
3798 (_deregister_keygrab): don't blow out the later
3801 * test/test-simple.c (test_keylisteners): do a
3802 more intelligent validation.
3804 2002-01-14 Michael Meeks <michael@ximian.com>
3806 * atk-bridge/bridge.c
3807 (gnome_accessibility_module_init),
3808 (gnome_accessibility_module_shutdown): impl.
3809 (gtk_module_init): protect vs. double inits.
3810 (add_signal_listener): impl.
3811 (spi_atk_bridge_state_event_listener): kill
3812 (deregister_application): split out of
3813 (spi_atk_bridge_exit_func): here.
3815 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3818 Added caret tracking when using magnifier, and
3819 now use text bounds for focus tracking of text elements, rather than
3820 the component bounds - this is helpful for short text fields in long
3821 table cells, at high magnification.
3823 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3825 * registryd/deviceeventcontroller.c:
3826 Regression fix for keylistener de-registration; global keygrabs
3827 were not being released when deregisterKeystrokeListener was
3828 called in cspi, since
3829 Accessibility_DeviceEventController_deregisterKeystrokeListener
3830 was called with a zero-length keyset. That is because the cspi
3831 method, SPI_deregisterKeystrokeListener, does not take a keyset
3832 parameter but instead should remove all the key grabs held be a
3834 The code in impl_deregister_keystroke_listener was changed to copy
3835 the keylist from the listener instance previously registered with
3836 the DeviceEventController before releasing the grabs.
3838 * registryd/registry.c:
3839 * registryd/deviceeventcontroller.c:
3840 * libspi/spi-private.h:
3842 Changed spelling of "re-enterant" to "re-entrant" globally.
3844 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3846 * test/test-simple.c:
3847 Changed key listeners test - the test was slightly mis-using the
3848 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3849 It now uses '=' as the key event listened to and generated,
3850 relying on a keysym match rather than assuming that keycode 33
3851 is always equal to keysym '!'.
3853 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3856 Changed simple-at to use a specific keyset, rather than
3857 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3858 manager, desktop, etc.
3860 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3862 * registryd/deviceeventcontroller.c:
3863 Replaced standard X error handler with a special handler that
3864 is non-fatal for failed keygrabs. This works around
3865 problems with keygrab clashes sometimes observed on
3867 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3868 mouse handling code as yet).
3870 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3873 Incremented revision for desktop alpha release.
3876 Fixed a couple of the more glaring errors (still not
3879 2002-01-11 Michael Meeks <michael@ximian.com>
3881 * registryd/deviceeventcontroller.c
3882 (spi_device_event_controller_forward_key_event): kill
3883 XUngrabKey / XKeyGrab race.
3884 (spi_controller_grab_keyboard): rename to
3885 (spi_controller_update_key_grabs): this, and deal
3886 with incremental adding / removing grabs more
3888 (_register_keygrab): ensure we're not pending a remove.
3889 (spi_grab_mask_free): impl.
3890 (spi_controller_register_global_keygrabs): split out
3892 (handle_keygrab): impl.
3893 (_deregister_keygrab): impl.
3894 (spi_controller_deregister_global_keygrabs): impl.
3895 (spi_controller_update_key_grabs): re-issue the grab if
3896 we just recieved a notification.
3898 * test/test-simple.c (key_listener_cb): remove debug.
3900 * registryd/deviceeventcontroller.c
3901 (spi_controller_register_device_listener): after
3902 registering a global keygrab, actualy register it !
3903 don't wait for a timeout; doh !
3905 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3906 to make it more readable / manipulable.
3907 s/grabmask/grab_mask/ s/refcount/ref_count/
3908 s/keyval/key_val/ s/modmask/mod_mask
3910 2002-01-08 Michael Meeks <michael@ximian.com>
3912 * registryd/deviceeventcontroller.c
3913 (spi_controller_register_with_devices): use gdk calls to
3915 (global_filter_fn): implement the filter.
3916 (spi_device_event_controller_check_key_event): rename to
3917 (spi_device_event_controller_forward_key_event): this & upd.
3918 (spi_get_display): replace with GDK_DISPLAY.
3920 * registryd/deviceeventcontroller.c
3921 (spi_controller_deregister_device_listener): unroll into
3922 (impl_deregister_keystroke_listener): here to simplify.
3923 (spi_controller_register_global_keygrabs): split cut and
3924 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3925 (spi_controller_deregister_device_listener): remove.
3926 (impl_register_mouse_listener): remove, no mouse listener
3927 support in at-spi-1.0
3929 * registryd/registry.c
3930 (_device_event_controller_hook): kill.
3931 (spi_registry_init): upd.
3933 * registryd/deviceeventcontroller.c
3934 (spi_device_event_controller_class_init): upd.
3935 (spi_check_key_event): merge into.
3936 (spi_device_event_controller_check_key_event):
3937 here and kill strange static ev init, don't leak
3938 the x_event - nor dynamicaly allocate it.
3940 * registryd/registry-main.c (main): re-direct
3941 timeout to remove strange vtable mess.
3943 * registryd/deviceeventcontroller.c
3944 (remove_listener_cb): impl.
3945 (spi_controller_deregister_device_listener):
3946 fix re-enterancy hazard.
3948 2002-01-07 Michael Meeks <michael@ximian.com>
3950 * registryd/deviceeventcontroller.c
3951 (spi_device_event_controller_new): upd.
3952 (impl_notify_listeners_sync): upd. debug.
3953 (spi_notify_keylisteners): fix re-enterancy hazards,
3954 prettify, remove O(n*n) iteration.
3955 (spi_controller_grab_keyboard): fix iteration.
3956 (spi_check_key_event): re-format to suit coding style.
3957 Clean all the warnings - we're warning free.
3959 * registryd/deviceeventcontroller.h:
3960 * registryd/registry.h: make mutualy referential with
3961 typesafe forward references instead of (!) void pointer
3964 2002-01-11 Michael Meeks <michael@ximian.com>
3966 * cspi/spi_accessible.c (role_names): add a role name
3967 to sync this array with the enum; and make the regression
3970 2002-01-10 Michael Meeks <michael@ximian.com>
3972 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3973 allow expansion of enumeration & kill warning.
3975 * test/test-simple.c (key_listener_cb): impl.
3976 (test_keylisteners): impl.
3978 * cspi/spi-listener.h: make listener signatures const
3979 on the provided (const) events.
3981 * test/keysynth-demo.c: upd. to const events.
3983 * test/simple-at.c: ditto.
3985 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3988 Rev the version to 0.5 (the previous tarball was named 0.4,
3989 even though the micro number was 3), so we need to rev upwards
3990 again for beta2/"desktop-alpha"
3993 Checked in a demo script, which requires editing before use!
3994 Proceed with caution.
3997 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3999 * cspi/spi_accessible.c:
4000 Add a couple of missing enum initializations, and fix some enum
4003 * cspi/spi_registry.c:
4004 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4006 * docs/reference/cspi/at-spi-cspi-sections.txt:
4007 Remove/fix a couple of broken document references.
4010 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4011 as Alt-Control to listen for commands, since on some systems
4012 Control-Alt may already be grabbed.
4014 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4017 Update version number to 0.4 for Beta2.
4019 * libspi/accessible.c, libspi/accessible.h:
4020 Expose spi_accessible_construct, to enable libgail-gnome
4021 construction from spi_accessible subtype.
4023 * utils/magnifier.c:
4024 Workaround for bug in some non-gnome-compliant window managers
4025 which made magnifier resize improperly.
4027 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4029 * libspi/accessible.c: (spi_accessible_new) :
4030 Move the test for SPI_IS_REMOTE_OBJECT to
4031 spi_accessible_new_return, fixing a bug and compile time warning.
4033 2002-01-08 Michael Meeks <michael@ximian.com>
4035 * registryd/registry.c (parse_event_type): remove strndup.
4037 * libspi/Makefile.am (libspi_la_SOURCES): remove
4038 sources already included in the headers section.
4040 * libspi/util.c: add.
4042 * libspi/spi-private.h: add.
4044 * registryd/registry.c: update to moved list iterators.
4046 2002-01-05 Michael Meeks <michael@ximian.com>
4048 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4050 * test/test-simple.c (main): ditto.
4052 2002-01-04 Michael Meeks <michael@ximian.com>
4054 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4055 redundant construct.
4057 * registryd/registry.c
4058 (get_listener_list): impl.
4059 (impl_accessibility_registry_register_global_event_listener):
4060 re-impl. to simplify using ~, remove dodgy const cast off.
4061 (parse_event_type): constify.
4062 (impl_accessibility_registry_deregister_global_event_listener_all):
4063 re-write, more efficiency and simplicity, kill re-enterancy
4065 (compare_listener_corbaref, compare_corba_objects),
4066 (compare_listener_quarks): define out.
4067 (impl_accessibility_registry_deregister_global_event_listener):
4068 re-write for effiency, and nail re-enterancy hazard.
4069 (impl_accessibility_registry_get_desktop_list): impl.
4070 (re_enterant_list_delete_link): impl.
4071 (re_enterant_list_foreach): impl.
4072 (remove_listener_cb): impl.
4073 (_registry_notify_listeners): kill.
4074 (notify_listeners_cb): impl.
4076 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4077 (SPI_getDesktopList): impl.
4079 * test/test-simple.c (test_desktop): test the methods.
4081 2002-01-03 Michael Meeks <michael@ximian.com>
4083 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4084 keystrings since we free them
4085 (SPI_freeAccessibleKeySet): in here.
4087 * libspi/accessible.c (spi_accessible_new): kill warning,
4088 wonder what is going on with the constructor here.
4090 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4092 * libspi/accessible.c (spi_accessible_new ()) :
4093 Added check to see if AtkObject is an SpiRemoteObject before
4094 creating an SpiAccessible.
4096 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4098 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4099 Enable keygrabs using the Control modifier, now that they are
4100 working properly (they were previously disabled).
4103 Change the command keygrab for this demo to "Control+Alt", so as
4104 to conflict with fewer other key commands on the system; this
4105 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4107 Removed a pointlessly-chatty keylistener for unshifted keys
4108 (shifted keys are still reported).
4110 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4112 * libspi/remoteobject.h:
4113 * libspi/remoteobject.c:
4114 Added definitions for special AtkObject subtype, required for
4115 support of remote components (specifically, used by BonoboControl
4116 accessibility implementation).
4118 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4120 * cspi/spi.h: synched relation types with ATK
4122 * cspi/spi_accessible.c: Added implementations of
4123 AcccessibleRelation_* methods
4125 * idl/Accessibility_Relation.idl: added getRelationTypeName
4126 method. Synched known relation types with ATK. Allowed for
4127 relation type extension with the RELATION_EXTENDED type.
4129 * libspi/relation.c: Provided implementations for
4130 AccessibleRelation methods.
4132 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4134 API tweaks for today's API 'freeze'.
4137 Added placeholder functions to allow future compatible expansion
4138 of the IDL interfaces.
4140 * idl/Accessibility_Registry.idl:
4141 Changed generateKeyEvent to generateKeyboardEvent. Changed
4142 signature of this method to accept an optional keystring in
4143 parameter (for complex text input synthesis) and changed use of
4144 simple 'boolean' parameter in registerKeystrokeListener to a
4145 struct, EventListenerMode.
4147 * cspi/spi_accessible.c:
4149 * cspi/spi_streamablecontent.c:
4150 Added references to AccessibleStreamableContent interface, and
4151 definition and implementation of AccessibleStreamableContent
4154 * cspi/spi_registry.c:
4156 Changed generateKeyEvent API to generateKeyboardEvent,
4157 taking a new (optional) keystring parameter to support complex
4162 Renamed directory (to better reflect its actual purpose, bridging
4163 from at-spi to ATK). The .so module is also now named
4166 * idl/Accessibility_Hypertext.idl:
4167 * libspi/accessible.c:
4168 * libspi/hypertext.h:
4169 * libspi/hypertext.c:
4170 Changed Accessibility_Hypertext to *not* derive from
4173 * cspi/spi_registry.c:
4174 Added list of legal event type names for 'window' events, which
4175 completes the registry event API.
4177 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4179 * at-bridge/bridge.c: Added registration for separate
4180 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4181 signals. If either of the first two parameters to the generic
4182 bridge signal handler are ints, they are passed on as event
4183 details. This allows an AT to determine what text was inserted.
4185 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4187 * registryd/deviceeventcontroller.c:
4188 Fixed regressions in generateKeyEvent caused by the removal of
4189 gdk_init from registryd; we now use pure X calls to connect to the
4190 display, which makes sense because deviceeventcontroller already
4191 uses a fair bit of X API (should eventually be migrated to a
4192 'portability layer').
4194 * registryd/desktop.c:
4195 Fixed minor regression in spi_desktop_init, changed the way the
4196 desktop name is being set to work with new spi_base API
4197 (gobject-based, rather than AtkObject-based).
4199 * registryd/Makefile.am:
4200 Minor revision of makefile to use XTST_LIBS variable rather than
4201 hard-wiring the Xtst LD_ADD element.
4203 * test/keysynth-demo.c:
4204 Tweaked an output message; added initialization of the
4205 'keystrings' member of the "switch listener" key_set.
4207 * libspi/relation.c:
4208 Squashed compile-time warning.
4210 * libspi/accessible.c:
4211 Cosmetic and formatting fixes, renamed a static method.
4213 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4215 * libspi/accessible.c
4217 * libspi/application.c
4220 * libspi/component.c
4221 * libspi/editabletext.c
4222 * libspi/hyperlink.c
4223 * libspi/hypertext.c
4225 * libspi/selection.c
4229 * registryd/desktop.c:
4230 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4232 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4234 * idl/Accessibility_Registry.idl:
4235 Added boolean member 'is_text' to DeviceEvent. This is for the
4236 use of key events, and helps prevent ambiguity between composed
4237 key strings and keysym names, since both may potentially be
4238 returned in the 'event_string' member.
4240 * at-bridge/bridge.c:
4241 * registryd/deviceeventcontroller.c:
4242 Use the 'is_text' member when notifying device event listeners.
4243 Knon issue: composed characters are not dealt with correctly by
4244 the global key listener implementation yet.
4246 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4248 * at-bridge/bridge.c:
4249 Namespaced local static methods to spi_atk_bridge_* where
4250 previously named bridge_*, and spi_* elsewhere.
4252 * at-bridge/bridge.c:
4253 * cspi/bonobo/cspi-bonobo-listener.c:
4254 Added demarshalling/conversion for string member of
4255 Accessibility_DeviceEvent to AccessibleKeystroke.
4257 * registryd/deviceeventcontroller.c:
4258 Added code to fill the Accessibility_DeviceEvent key string value
4259 member for global key events (i.e. from XGrabKey), to match
4260 behavior of Accessibility_DeviceEvent from the toolkit key events
4261 from the bridge. Fixed timestamp in global key event notifications.
4264 Added printout of key event's string value to
4265 report_ordinary_key_event, for demo/debugging purposes.
4267 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4269 * idl/Accessibility_Registry.idl:
4270 Removed Accessibility_KeyStroke structure in favor of generic
4271 Accessibility_DeviceEvent structure.
4272 Changed Accessibility_ControllerEventMask from a struct to an
4275 * at-bridge/bridge.c:
4276 Changed APIs to use DeviceEvent structure as above, and removed
4277 bogus casting between these event structures.
4279 * cspi/spi-listener.h:
4280 Added keystring member of AccessibleKeystroke structure, to enable
4281 matching on event "names" rather than only hardware codes and
4285 Added keystrings member of AccessibleKeySet struct, to allow
4286 matching on event names (as above).
4287 Added declarations for SPI_createAccessibleKeySet and
4288 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4289 event modmasks directly as unsigned ints rather than structs with
4290 refcounts, in the DeviceEventController methods.
4292 * cspi/spi_registry.c:
4293 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4295 * cspi/spi-roletypes.h:
4296 Added documentation of newly added SPI Roles.
4298 * cspi/bonobo/cspi-bonobo-listener.c:
4299 Changes in support of API changes above.
4301 * libspi/accessible.c:
4302 Converted APIs to use DeviceEvent structure (see IDL changes
4305 * registryd/deviceeventcontroller.c:
4306 Added DEControllerGrabMask structure to track keygrabs not only by
4307 modmask but by keyset as well; this allows us to do "global"
4308 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4309 grabbing on AnyKey and then filtering after-the-fact.
4310 Bugfixes for event filtration mean that we don't get false matches
4311 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4313 * registryd/deviceeventcontroller.c:
4314 Namespaced a number of static methods to use spi_ prefix. Major
4315 revision to internals of global (i.e. X) key grabs.
4317 * registryd/deviceeventcontroller.h:
4318 Removed keymask_list and added keygrabs_list to
4319 SpiDeviceEventController struct.
4322 Added use of SPI_createAccessibleKeySet API when creating a
4323 listener for only one key. Attach a listener to "shift spacebar
4324 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4325 X key event names to SPI key event names, so that listeners are
4326 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4328 * test/keysynth-demo.c:
4329 Changed (incorrect) use of X key event names (KeyPressed,
4330 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4333 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4335 * libspi/accessible.c:
4336 Convert all AtkRole enumerations to Accessibility_Role enums when
4337 getting a role from an AtkObject.
4339 * cspi/spi_accessible.c:
4340 Complete the conversion of Accessibility_Role enums at runtime to
4341 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4342 role enums correctly match those given in spi-roletypes.h.
4343 Re-synchronize the local names list for AccessibleRole_getName ().
4344 AccessibleRole_getName is now deprecated, since it duplicates the
4345 more reliable Accessible_getRoleName.
4346 Added some role types from Accessibility_Role.idl.
4348 * idl/Accessibility_Role.idl:
4349 Added some role types used by AtkRole.
4351 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4354 * cspi/spi_registry.c:
4356 * cspi/cspi-bonobo-listener.c:
4357 Namespaced all methods that did not begin with an "SPI_" or
4358 "Accessible" prefix to "SPI_".
4361 Homogenized internal function namespace to "cspi_" for statics.
4364 Patched tests to use the new CSPI API.
4366 * docs/reference/cspi/at-spi-cspi-sections.txt:
4367 Updated docs to reflect namespace changes, and added a number of
4368 methods to the documentation.
4370 * registryd/registry.c:
4371 Changed use of strings and string hashes in listener event
4372 matching and parse_event_string to use GQuark, which is guaranteed
4375 * registryd/registry.h:
4376 Squashed annoying warning.
4378 * idl/Accessibility_Role.idl:
4379 Extended range of available Accessibility_Role values.
4381 * cspi/spi_accessible.c:
4382 Re-ordered role names.
4384 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4386 * idl/Accessibility_Value.idl:
4387 Revert use of union back to CORBA_double, since the double type is
4388 more efficient and can contain the other types without loss of
4391 * idl/Accessibility_Accessible.idl:
4392 Added method Accessibility:Accessible:getRoleName, to complement
4393 Accessibility:Accessible:getRole.
4395 * cspi/spi_accessible.c:
4397 Added C binding for above, Accessible_getRoleName (), and changed
4398 signature of Accessible_getRole () to return an AccessibleRole.
4400 * cspi/spi-roletypes.h:
4401 Changed AccessibleRole_getName to return a char * instead of a
4402 const char *. This method is now at least temporarily deprecated
4403 in favor of asking Accessibles for their RoleNames directly.
4406 Revert to match Accessibility_Value.idl;
4410 Change signature of AccessibleValue methods to use double rather
4414 * cspi/spi_accessible.c:
4415 Changed Accessible_getRole to return an AccessibleRole enum rather
4416 than a UTF-8 string. The UTF-8 string can still be obtained via
4417 AccessibleRole_getName ().
4419 * test/test-simple.c:
4420 Add test_action. Small fixup to match API change to Accessible_getRole.
4423 Bugfix for get_action_from_servant ().
4425 2001-12-11 Michael Meeks <michael@ximian.com>
4427 * libspi/libspi.h: remove registry.h and
4428 desktop.h, deviceeventcontroller.h
4430 * libspi/Makefile.am: remove registry.[ch],
4431 desktop.[ch], deviceeventcontroller.[ch]
4433 * registryd/Makefile.am: add registry.[ch],
4434 desktop.[ch], rename registryd.c to registry-main.c.
4435 add deviceeventcontroller.[ch]
4437 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4440 Replace setenv() call with putenv ().
4442 * libspi/component.c:
4443 Bugfix in AccessibleComponent_getExtents (),
4446 2001-12-11 Michael Meeks <michael@ximian.com>
4448 * libspi/image.c (impl_getImageExtents): impl.
4449 (spi_image_class_init): upd.
4452 (AccessibleImage_getImageDescription): fix daft bug
4455 * test/test-simple.c (global_listener_cb): update
4456 to only quit if not --poke
4457 (main): catch --poke.
4458 (validate_accessible): upd. dumping, call test_image
4461 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4464 * idl/Accessibility.idl: update all IDL includes.
4466 * idl/*.idl - rename to namespace - this sucks, blame
4467 mjs' bad decision for oafd.
4469 * test/test-simple.c (create_test_window): add more tests.
4470 (create_tree): split this out.
4471 (validate_accessible): bugfix.
4473 2001-12-11 Michael Meeks <michael@ximian.com>
4475 * cspi/bonobo/cspi-bonobo-listener.c:
4476 (cspi_kestroke_listener_unref),
4477 (cspi_event_listener_unref): impl. undoing previous
4478 homenous environment - for Bill.
4480 * cspi/spi_table.c (long_seq_to_array): use
4483 * cspi/spi_main.c: split out all bonoboish bits into
4486 * cspi/spi-impl.h: upd. typedefs.
4488 * cspi/spi_registry.c: update to lowlevel API,
4489 return booleans to indicate success in some places.
4491 * cspi/spi_event.c: update to lowlevel API.
4493 * cspi/bonobo/Makefile.am: add.
4495 * cspi/bonobo/cspi-lowlevel.h: add
4497 * cspi/bonobo/cspi-bonobo.c: add
4499 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4501 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4502 (SUBDIRS): add bonobo, link in the libs.
4504 * cspi/spi-util.c: kill this file.
4506 * TODO: merge in my bits.
4508 2001-12-11 Michael Meeks <michael@ximian.com>
4510 * test/test-simple.c (test_value, test_table, main):
4511 remove unused variables causing warnings.
4513 * configure.in: cleanup checks - require gail.
4515 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4518 Changed Value interface to use SValue (scalars) rather than
4519 assuming all values are floats. This allows floats, doubles,
4520 longs, shorts, and unsigned values to be manipulated.
4521 Introduced Accessibility:SValue union.
4524 Updated to use new API above, and to work correctly with GValues
4525 of different types in AtkValue.
4528 Updated to use new API above. cspi's API is as yet unchanged.
4531 Updated the Value revision action item.
4533 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4535 * test/test-simple.c:
4536 Added test_table (GtkTreeView widget in test window to follow).
4537 Un-commented test_value, added GtkRange widget.
4538 Added GtkTreeView widget with GtkListStore. It passes regression
4539 test but leaks one SPI object for some reason.
4542 Fixed bug in impl__set_currentValue.
4544 2001-12-10 Michael Meeks <michael@ximian.com>
4546 * cspi/spi_text.c: audit for exception handling,
4547 tolerating NULL object references safely etc.
4549 * cspi/spi_value.c: ditto.
4551 * cspi/spi_table.c (AccessibleTable_getSummary),
4552 (AccessibleTable_getAccessibleAt),
4553 (AccessibleTable_getRowHeader),
4554 (AccessibleTable_getColumnHeader),
4555 (AccessibleTable_getCaption): fix bugs hidden by
4557 (long_seq_to_array): impl.
4558 (AccessibleTable_getSelectedRows),
4559 (AccessibleTable_getSelectedColumns): use it.
4561 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4564 Added a TODO list (rough and short for now).
4566 * cspi/spi_hyperlink.c:
4567 * cspi/spi_hypertext.c:
4568 Fixed macro name typos, and remove use of obsolete macro in
4569 AccessibleHyperlink_getLink.
4571 * cspi/spi_action.c:
4572 * cspi/spi_accessible.c:
4573 * cspi/spi_application.c:
4574 * cspi/spi_component.c:
4575 * cspi/spi_selection.c:
4578 Documentation fixes (removed return values from ref/unref methods).
4580 2001-12-10 Michael Meeks <michael@ximian.com>
4582 * cspi/spi_action.c: audit for exception handling,
4583 tolerating NULL object references safely etc.
4585 * cspi/spi_accessible.c: ditto.
4587 * cspi/spi_component.c: ditto.
4589 * cspi/spi_editabletext.c: ditto.
4591 * cspi/spi_hyperlink.c: ditto.
4593 * cspi/spi_hypertext.c: ditto.
4595 * cspi/spi_image.c: ditto.
4597 * cspi/spi_selection.c: ditto.
4599 2001-12-10 Michael Meeks <michael@ximian.com>
4601 * configure.in: use cspi/libspi.pc.in instead.
4603 * Makefile.am (pkgconfig_DATA): upd. to match.
4605 * test/simple-at.c (report_focus_event): kill hacks around
4606 bad return values, use putenv not setenv
4608 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4609 fire ChildGone - I killed it.
4611 * libspi/component.c
4612 (impl_accessibility_component_get_extents): remove
4615 * idl/Accessible.idl: kill ChildGone exception.
4617 * cspi/*.[ch]: kill int return from ref / unref.
4619 * cspi/spi_main.c (cspi_object_add_check): fold into
4620 (cspi_object_add): here.
4622 * cspi/spi_component.c (AccessibleComponent_getExtents):
4623 handle exceptions elegantly.
4625 * cspi/spi-private.h (cspi_check_ev_return),
4626 (cspi_return_if_fail): impl.
4628 * cspi/spi_accessible.c: use extensively.
4629 (AccessibleStateSet_equals): add direct compare check.
4631 * cspi/spi_selection.c: tolerate NULL objs, and check
4632 exceptions before return.
4634 * cspi/spi-util.c (cspi_warn_ev): rename to
4635 (cspi_check_ev): this & don't pass ev in; no point.
4637 2001-12-10 Michael Meeks <michael@ximian.com>
4639 * test/test-simple.c: use putenv not setenv
4640 (get_environment_vars): more chatty if you're not using
4643 * test/simple-at.c: do the setenv so more people see the
4646 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4648 * libspi/registry.c:
4649 Changed check of CORBA_environment on notification to be a warning
4650 instead of an error for the moment, since we can recover from this
4651 error when caused by a queued notification from a dead app.
4654 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4655 used by all current implementors of AtkValue), and coerce to
4656 CORBA_float. (Proper general case fix may require change to Value.idl).
4658 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4662 * cspi/spi_accessible.c:
4663 Documentation fixes: added user_data params to documentation for
4664 listeners and callbacks.
4666 * cspi/spi_accessible.c:
4667 Changed AccessibleStateSet_compare to return a
4668 StateSet rather than return the difference set into a third parameter.
4671 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4674 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4675 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4679 Remove subdirectory po from SUBDIRS for now.
4681 * at-bridge/bridge.c:
4682 Beefed up a couple of debug printouts.
4683 One-line fix for signal notification name formatting.
4685 * libspi/accessible.c:
4686 Added assertion to spi_accessible_new ().
4688 * libspi/application.c:
4689 Put #ifdef qualifiers around a printf.
4692 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4694 * registryd/Makefile.am:
4696 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4697 INTLTOOL_SERVER_RULE macro.
4700 Added an event listener for several ATK signals, for
4701 testing and debugging. Removed a few g_warnings.
4702 Added test output if focussed item implements the Value interface.
4704 * test/test-simple.c:
4705 Added test_value () function (known not to pass at the moment, so
4706 not actually called yet.
4708 2001-12-08 Michael Meeks <michael@ximian.com>
4710 * at-bridge/bridge.c (bridge_focus_tracker),
4711 (emit_eventv): fix the same ref. leak.
4712 (register_atk_event_listeners): don't leak.
4714 * cspi/spi-listener-impl.c (cspi_event): more
4715 protection from client code.
4717 * test/test-simple.c (test_desktop): unref the app.
4719 * test/Makefile.am: upd. TESTS.
4721 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4723 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4725 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4727 * cspi/spi_registry.c: constify in strings.
4728 (deregisterGlobalEventListenerAll): don't release the ref.
4730 * cspi/spi.h: start removing redundant / conflicting
4731 gtkdoc comments, making the API readable at a glance :-)
4733 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4735 * test/keysynth-demo.c (keysynth_exit, main): upd.
4737 * test/simple-at.c (main, simple_at_exit): upd.
4739 * test/test-simple.c (unutterable_horror): kill.
4740 (utterable_normal_derefs): kill.
4741 (main): upd & do a setenv before gtk_init, so that we
4742 can use memprof - and to save the pain of remembering
4743 this, if we're running under memprof - don't exit.
4745 * cspi/spi_main.c (SPI_exit): return exit status
4747 (SPI_event_quit): impl.
4748 (SPI_event_main): simplify.
4749 (cspi_is_gnome_app): kill.
4750 (SPI_init): kill isGNOMEapp arg.
4752 * at-bridge/bridge.c (register_atk_event_listeners):
4753 re-instate the unref.
4754 (bridge_exit_func): don't re-activate the registry,
4755 protect vs. theoretical re-entry, use the
4756 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4757 assert a clean shutdown - for regression tests.
4759 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4761 * configure.in: Comment out dummy i18n support for now,
4762 otherwise it fails to build.
4763 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4764 EXTRA_DIST. They are missing in tarball.
4766 2001-12-07 Michael Meeks <michael@ximian.com>
4768 * util/magnifier.c: kill bonobo activation reg. race.
4770 * libspi/component.c
4771 (impl_accessibility_component_get_extents): make it match
4774 * libspi/registry.c (_registry_notify_listeners):
4775 re-remove X headers & reconcile conflicts.
4776 (spi_listener_struct_free): bad conflict resolve.
4777 (impl_accessibility_registry_register_application):
4778 more bad merging fixed.
4779 (impl_accessibility_registry_deregister_application): ditto.
4780 (spi_registry_new): ditto.
4781 (spi_registry_init): don't have an applications field.
4783 [ merge fixups2 branch to here ]
4784 2001-12-07 Michael Meeks <michael@ximian.com>
4786 * test/simple-at.c (report_focus_event),
4787 (report_focussed_accessible): remove g_warning debug.
4789 2001-12-07 Michael Meeks <michael@ximian.com>
4791 * test/test-simple.c (validate_tree): comment out some checks.
4792 (test_desktop): app now not registered idly - horay.
4794 2001-12-07 Michael Meeks <michael@ximian.com>
4796 * cspi/spi_registry.c
4797 (registerAccessibleKeystrokeListener): clean, stop it leaking
4798 great swathes of memory, and device event controller references.
4799 ensure we always pass valid sequences.
4800 (deregisterAccessibleKeystrokeListener): ditto.
4801 (generateKeyEvent): upd.
4803 * at-bridge/bridge.c (bridge_key_listener): handle
4804 registry dead exception gracefully.
4805 (bridge_focus_tracker, emit_eventv): free ev.
4807 * test/simple-at.c (report_focus_event): fix polarity.
4809 * libspi/application.c (notify_listeners): kill the ev
4810 argument, and make sure we init the ev we use.
4811 (spi_application_object_event_listener): split out a chunk
4812 (get_atk_object_ref): here & fixup.
4813 (reverse_lookup_name_for_toolkit_event): make const.
4814 (spi_application_toolkit_event_listener): fixup, kill leaks
4817 * at-bridge/bridge.c (register_atk_event_listeners):
4818 don't unref the noop object - causes grief.
4820 * libspi/registry.c: remove the X headers.
4821 turn off the debug churn.
4823 * libspi/accessible.c (spi_accessible_new_return): only
4824 release the ref if we are supposed to [doh]
4826 * test/simple-at.c (report_button_press, report_focus_event):
4827 guard vs. unexpected exit.
4829 * at-bridge/bridge.c (gtk_module_init): prune printf.
4830 (bridge_exit_func): fix app unref.
4832 * libspi/Makefile.am: don't install registry or desktop.h
4834 * libspi/*.h: update includes.
4836 * libspi/application.h: don't include ourself, or
4837 other redundant headers.
4839 2001-12-06 Michael Meeks <michael@ximian.com>
4841 * libspi/accessible.c
4842 (get_accessible_from_servant): impl.
4843 Upd. all CORBA impl.s to use it killing cut and paste.
4845 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4847 (SPI_init): register atexit cleanup handler here.
4849 2001-12-06 Michael Meeks <michael@ximian.com>
4851 * at-bridge/bridge.c (gtk_module_init): g_error on
4852 activation exception
4854 2001-12-06 Michael Meeks <michael@ximian.com>
4856 * at-bridge/bridge.c (gtk_module_init): some sort of
4857 confusing merge clash - reverted.
4858 (bridge_idle_init): ditto.
4860 * test/test-simple.c (main, utterable_normal_derefs):
4861 merge from Bill - somehow not committed.
4863 2001-12-06 Michael Meeks <michael@ximian.com>
4865 * libspi/value.c (spi_value_class_init): upd.
4866 (spi_value_finalize): kill.
4868 * libspi/table.c (spi_table_finalize): kill.
4869 (spi_table_interface_new): upd.
4870 (spi_table_class_init): upd.
4871 (get_table_from_servant): impl.
4872 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4874 * libspi/selection.c (spi_selection_finalize): kill.
4875 (spi_selection_interface_new): upd.
4876 (spi_selection_class_init): upd.
4877 (get_selection_from_servant): impl.
4878 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4880 * libspi/relation.c (spi_relation_finalize): kill.
4881 (spi_relation_class_init, spi_relation_new): upd
4883 * libspi/image.c (spi_image_finalize): kill.
4884 (spi_image_class_init): upd.
4885 (spi_image_interface_new): upd.
4886 (get_image_from_servant): impl.
4887 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4889 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4890 (spi_hyperlink_finalize): kill.
4891 (spi_hyperlink_new): upd.
4892 (get_hyperlink_from_servant): impl.
4893 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4895 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4896 (spi_hypertext_finalize): kill.
4897 (spi_hypertext_class_init): upd.
4898 (get_hypertext_from_servant): impl.
4899 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4901 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4902 (spi_editable_text_interface_new): upd.
4903 (get_editable_text_from_servant): impl.
4904 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4906 * libspi/text.c (get_text_from_servant): impl.
4907 All impls - update to use it killing more cut and paste,
4908 also fix bad string returns on duff args ( a somewhat
4909 impossible case to handle - but hey ).
4910 (spi_text_construct): impl.
4911 (spi_text_interface_new): upd.
4912 (spi_text_object_finalize): kill.
4914 * libspi/component.c
4915 (accessibility_component_object_finalize): kill.
4916 (spi_component_class_init): upd.
4917 (get_component_from_servant): impl. helper to kill cut & paste.
4918 (impl_accessibility_component_contains):
4919 (impl_accessibility_component_get_accessible_at_point):
4920 (impl_accessibility_component_get_position):
4921 (impl_accessibility_component_get_extents):
4922 (impl_accessibility_component_get_mdi_z_order):
4923 (impl_accessibility_component_get_layer):
4924 (spi_component_interface_new): upd.
4926 * libspi/action.c (spi_action_finalize): kill.
4927 (spi_action_class_init): upd. inherit from SpiObject.
4928 (spi_action_interface_new): upd.
4929 (get_action_from_servant): impl. helper to reduce cut & paste.
4930 (impl_getKeyBinding, impl_getName, impl_doAction),
4931 (impl_getDescription): Use it everywhere.
4933 * cspi/spi_main.c (get_live_refs): a pointer hash.
4934 (spi_object_hash, spi_object_equal): comment out.
4935 There are issues with CORBA object hashing that need
4938 * libspi/application.c (spi_application_init),
4939 (spi_application_new): upd.
4941 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4942 (spi_accessible_class_init): upd.
4943 s/accessible/object/ in epv methods.
4945 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4947 * at-bridge/bridge.c:
4948 Reorder the bridge initialization into the bridge gtk_module_init,
4949 an immediate call to bridge_register_app, and an idle_add for
4950 register_atk_event_listeners (the only code that *must* wait until
4951 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4952 the activation, creates the application's Accessible object, and
4953 queues the bridge_idle_init function. Restored call to
4954 Accessibility_Registry_deregisterApplication().
4955 Prior to making this call we obtain a new reference to the
4956 registry, which is a temporary hack that helps us handle apps that
4957 shut down the bonobo mainloop before we get there.
4959 * libspi/registry.c:
4960 Fix string leakage in debug block, and don't segv if a an app
4961 dies before its event notifications have been propagated.
4964 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4965 as stopgap measure until we get proper exception handling when
4966 objects die during or before interrogation.
4970 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4971 Also changed default value of is_gnome_app to TRUE.
4974 * test/keysynth-demo.c:
4975 Changed use of SPI_init and SPI_event_main to reflect API change above.
4978 Made report_focus_event check the warning value from getName
4979 before reporting on focussed accessible; simplifies handling of
4980 notifications from dead objects.
4982 * test/test-simple.c: (Changes not in this patch since source is
4985 2001-12-05 Michael Meeks <michael@ximian.com>
4987 * registryd/registryd.c (main): protect against
4988 bonobo-activation startup race condition.
4990 * cspi/spi_main.c (cspi_object_add_check): cope
4991 with the exception elegantly.
4993 * idl/Accessible.idl: decl. ChildGone
4995 * libspi/desktop.c (spi_desktop_dispose): impl.
4996 (spi_desktop_class_init): upd.
4997 (spi_desktop_add_application),
4998 (spi_desktop_remove_application),
4999 (abnormal_application_termination): impl.
5000 (impl_desktop_get_child_at_index): re-impl.
5003 (impl_accessibility_registry_deregister_application),
5004 (impl_accessibility_registry_register_application):
5005 kill excessive debug clutter.
5007 * test/test-simple.c (test_misc): test some NULL
5008 tolerance. (main): upd.
5010 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5011 implements no interfaces - so let's not crash.
5013 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5015 * libspi/accessible.c (spi_accessible_new_return): impl.
5016 helper to calm the cut and paste, to cope with
5017 NULL AtkObjects effectively and efficiently, and to kill
5018 the referencing bugs.
5020 * libspi/table.c (impl_getAccessibleAt),
5021 (impl_getRowHeader, impl_getColumnHeader): upd.
5023 * libspi/hyperlink.c (impl_getObject): upd.
5025 * libspi/accessible.c
5026 (impl_accessibility_accessible_get_child_at_index): upd.
5028 * libspi/component.c
5029 (impl_accessibility_component_get_accessible_at_point): upd.
5031 * test/test-simple.c (test_editable_text, test_text): impl.
5034 * cspi/spi_editabletext.c
5035 (AccessibleEditableText_insertText): constify.
5037 * test/test-simple.c (focus_me): make more robust.
5039 * libspi/accessible.c: remove some printfs in methods that
5040 we test and work fine, so we can get a clean tree dump.
5042 * test/test-simple.c (validate_accessible),
5043 (validate_tree): make tree dumping pretty too.
5045 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5046 it builds without debug on.
5048 * test/test-simple.c (validate_accessible): fix the most
5051 * cspi/spi_main.c (spi_object_release): leave the nicely
5052 blanked memory around if in debug mode.
5054 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5056 [committed to fixups2]
5057 2001-12-05 Michael Meeks <michael@ximian.com>
5059 * libspi/editabletext.c
5060 (spi_editable_text_class_init): g_type_class_peek_parent,
5061 not interface peek - so we finalize cleanly.
5063 * libspi/accessible.c (spi_accessible_new): kill debug.
5065 * test/test-simple.c (validate_accessible): fix ref.
5066 leak, print strings before freeing them; sigh, comment a
5067 chunk out due to strangeness.
5068 (validate_tree): unref the child after use.
5070 * cspi/spi_component.c (AccessibleComponent_getLayer):
5071 add missing break statement, switch on zlayer not the
5072 uninitialized retval.
5074 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5075 before (possibly re-entering) remote unref.
5077 * test/simple-at.c (main): unref the desktop.
5079 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5082 * cspi/spi_main.c (cspi_accessible_is_a): here to
5083 isolate bonobo API usage more.
5085 * libspi/registry.c (impl_accessibility_registry_register_application):
5086 prune bogus comment.
5088 2001-12-04 Michael Meeks <michael@ximian.com>
5090 * test/test-simple.c (validate_tree): upd.
5091 IndexInParent check to make it more lucid.
5092 (validate_accessible): dump the tree.
5094 * libspi/accessible.c (de_register_public_ref),
5095 (get_public_refs): impl.
5096 (spi_accessible_new): make more efficient & intuitive.
5097 Now IndexInParent check works.
5099 2001-12-04 Michael Meeks <michael@ximian.com>
5101 * cspi/spi-util.h: remove.
5103 * cspi/spi.h: move SPI_freeString here
5105 * libspi/component.c (impl_accessibility_component_get_layer):
5107 (impl_accessibility_component_get_mdi_z_order): ditto,
5108 return -1 on error - is this ok ?
5110 * test/test-simple.c (test_application): impl.
5112 * cspi/spi_accessible.c (Accessible_getApplication),
5113 (Accessible_isApplication): impl.
5115 * libspi/registry.c (spi_listener_struct_free): release
5116 the CORBA reference too.
5118 * libspi/accessible.c
5119 (impl_accessibility_accessible_get_parent): fix ref leak.
5121 * libspi/registry.c (spi_registry_new): make the registry
5122 immortal - we don't want it to go away ever.
5124 * libspi/application.c
5125 (spi_accessible_application_finalize): impl. cleanup.
5127 * cspi/spi_registry.c
5128 (deregisterGlobalEventListenerAll),
5129 (deregisterGlobalEventListener),
5130 (deregisterAccessibleKeystrokeListener): fix ref leak.
5132 * cspi/spi_main.c (SPI_init): remove redundant ref.
5134 * test/test-simple.c (unutterable_horror): impl. to force a
5139 (impl_accessibility_registry_deregister_application): release
5140 the application when we de-register it.
5142 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5143 until we have the infastructure to get it right.
5145 2001-12-03 Michael Meeks <michael@ximian.com>
5147 * libspi/Makefile.am: only build eventlistener.[ch]
5149 * libspi/accessible.c
5150 (impl_accessibility_accessible_get_child_at_index): don't leak.
5152 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5153 before we hit the idle handler.
5155 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5156 debugging than exit.
5158 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5160 * libspi/listener.c (impl_notify_event): check source
5161 not NIL before unref.
5163 * libspi/registry.c (impl_registry_notify_event): ditto.
5165 * libspi/eventlistener.c
5166 (impl_accessible_event_notify_event): unref the source.
5168 * libspi/accessibleeventlistener.c
5169 (impl_accessible_event_notify_event): unref the source.
5171 * idl/Event.idl: remove 'hash_id' attribute - of no
5174 * libspi/application.c (notify_listeners): upd list
5176 (spi_application_object_event_listener),
5177 (spi_application_toolkit_event_listener): upd to do correct
5181 (_registry_notify_listeners): update.
5182 (parse_event_type): this method also leaks like a sieve.
5183 (impl_accessibility_registry_deregister_global_event_listener):
5184 fix ETYPE_WINDOW case.
5186 * libspi/application.c
5187 (impl_accessibility_application_register_object_event_listener):
5190 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5192 * libspi/hypertext.c (impl_getLink): ditto.
5194 * cspi/spi_main.c (cspi_object_add): remove
5195 bogus CORBA_Object_duplicate.
5197 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5200 * cspi/spi_accessible.c
5201 (Accessible_getRelationSet): fix leak / referencing issue.
5203 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5204 (cspi_object_add, cspi_object_unref): upd.
5205 (spi_object_release, get_live_refs): impl.
5206 (cspi_cleanup): simplify.
5208 * *.[ch]: s/boolean/SpiBoolean/
5210 * cspi/spi_accessible.c (role_names): actualy order so it
5211 corresponds with the enum !
5213 * test/test-simple.c (test_roles): check some role strings
5214 vs. enums to detect offset errors.
5216 2001-12-01 Michael Meeks <michael@ximian.com>
5218 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5220 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5222 (Accessible_getChildAtIndex): use cspi_add_check so we
5223 check the ev before using a (possibly) invalid value.
5225 * libspi/accessible.c
5226 (impl_accessibility_accessible_get_parent): don't segv
5229 * at-bridge/bridge.c (gtk_module_init): upd.
5230 (bridge_property_event_listener): don't leak strings
5232 (bridge_state_event_listener),
5233 (bridge_property_event_listener): don't use a static
5234 buffer in case of recursive event emission &
5235 re-enterancy - split out the swathe of cut and paste
5237 (emit_eventv): and fix 2 ref leaks here & comply to the
5239 (bridge_register_app): rename to
5240 (bridge_idle_init): this and kill arg parsing, split
5241 various inits & bonobo-activation registration to module
5242 init time, kill referencing error.
5243 (bridge_exit_func): fix the same leak.
5244 (bridge_focus_tracker): don't leak event structures
5246 (bridge_signal_listener): more leakage and cut & paste
5248 (bridge_key_listener): return the result - FIXME is
5249 this polarity correct ?
5250 (accessibility_keystroke_from_atk_key_event): rename
5251 (accessibility_init_keystroke_from_atk_key_event): and stop
5253 (gtk_module_init): return a value - not that it is checked by
5255 (bridge_key_listener): register my horror at casting between
5256 IDL defined structs.
5257 (bridge_get_registry): kill - not used.
5259 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5261 * test/test-simple.c (test_roles): impl.
5262 (test_desktop, validate_accessible, validate_tree): impl.
5264 * cspi/spi_accessible.c (role_names): fixup bogus
5265 MAX_ROLES setup, make constants const for efficient linkage
5266 (AccessibleRole_getName): conform to coding style, make
5269 2001-11-30 Michael Meeks <michael@ximian.com>
5271 * cspi/spi.h: add missing prototype.
5273 * libspi/registry.c (spi_listener_struct_new): fix sig.
5275 * test/Makefile.am: add test-simple
5277 * test/test-simple.c: add
5279 * test/test.sh: add.
5281 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5283 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5284 do it straight - since otherwise we often get an activation race.
5286 [ work before Bill duplicated a chunk of it ... ]
5287 2001-11-30 Michael Meeks <michael@ximian.com>
5289 * libspi/keystrokelistener.c
5290 (spi_keystroke_listener_class_init): fixup arg
5293 * libspi/eventlistener.c
5294 (spi_event_listener_class_init): ditto.
5296 * tests/test.sh: add.
5298 * cspi/spi-listener-impl.h: update macros.
5300 * cspi/spi-listener-impl.c
5301 (cspi_event_listener_remove_callback): add
5302 correct pre-conditions.
5304 * cspi/spi_main.c (SPI_exit): guard vs. double
5305 exits, exit the mainloop nicely.
5306 (SPI_event_main): make more sense.
5307 (SPI_init): move the atexit evilness here so we
5308 always do it (yuck).
5309 (SPI_event_main): upd.
5311 * test/simple-at.c: update for listener changes.
5313 * registryd/registryd.c (main): prune kruft.
5315 * libspi/libspi.h: upd.
5317 * libspi/eventlistener.[ch]: rename broken macros.
5319 * libspi/accessibleeventlistener.[ch]: remove.
5321 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5323 * test/test-simple.c: Add - automated tests.
5325 * cspi/spi-listener-impl.c (cspi_event),
5326 (cspi_key_event): add user_data to invoke.
5327 (cspi_keystroke_listener_finalize): impl.
5328 (cspi_keystroke_listener_class_init): upd.
5331 (createAccessibleEventListener),
5332 (AccessibleEventListener_addCallback),
5333 (createAccessibleKeystrokeListener),
5334 (AccessibleKeystrokeListener_addCallback): upd.
5336 * libspi/deviceeventcontroller.c
5337 (spi_device_event_controller_check_key_event): add public proto.
5340 (impl_accessibility_registry_deregister_global_event_listener):
5341 always init listeners.
5342 (_registry_notify_listeners): yes it is.
5344 * cspi/spi-listener-impl.c (cspi_key_event):
5346 (cspi_event_listener_finalize): impl.
5347 (cspi_event_listener_class_init): hook up.
5348 (event_handler_new, event_handler_free),
5349 (event_list_remove_by_callback): impl.
5350 (cspi_event_listener_remove_callback),
5351 (cspi_keystroke_listener_remove_callback),
5352 (cspi_keystroke_listener_add_callback),
5353 (cspi_event_listener_add_callback): upd.
5355 * libspi/keystrokelistener.c
5356 (keystroke_listener_object_finalize): kill
5357 (spi_keystroke_listener_class_init): upd.
5358 (spi_keystroke_listener_add_callback),
5359 (spi_keystroke_listener_remove_callback): kill,
5361 (impl_key_event): prune drasticaly.
5363 * libspi/eventlistener.c
5364 (spi_event_listener_add_callback),
5365 (spi_event_listener_remove_callback): kill, use
5367 (impl_accessible_event_notify_event): upd.
5368 (spi_event_listener_object_finalize): remove.
5370 * libspi/Makefile.am: use eventlistener.[ch]
5372 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5374 * libspi/registry.c (_registry_notify_listeners):
5375 Changed listener loop iteration to use preferred convention.
5376 Got rid of string memory leaks caused be calling g_strconcat
5377 inside function calls.
5379 * libspi/registry.c (parse_event_type):
5380 Stopped g_strconcat memory leaks, free the g_strsplit return,
5381 g_strdup the split pieces when used, etc.
5383 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5386 Change method 'compare' to return a 'difference set' rather than
5387 taking a StateSet as an out parameter (more Java-friendly).
5389 * idl/Accessible.idl:
5390 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5392 * idl/Component.idl:
5394 Changed methods 'getExtents' and 'getImageExtents' in these
5395 interfaces to return a BoundingBox structure.
5396 (getPosition and getSize are redundant and possibly should be
5397 removed, rather than creating a corresponding Point struct.)
5399 * cspi/spi_component.c:
5400 Modify implementation of getExtents to reflect the above IDL
5405 Add (missing) AccessibleImage_getExtents () API.
5407 * docs/reference/cspi/at-spi-cspi-sections.txt:
5408 Added AccessibleImage_getImageExtents () to docs.
5410 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5412 * idl/Component.idl:
5413 Added two methods, getLayer () and getMDIZOrder (), to reflect
5414 the new ATK methods atk_object_get_layer and
5415 atk_object_get_mdi_z_order. (Which arguably should be part of the
5416 AtkComponent API and AtkObject). Also added an enum,
5417 ComponentLayer, for the first method's return value.
5419 * libspi/component.c:
5420 Added implementations for these methods.
5422 * cspi/spi_component.c:
5424 Added cspi binding methods for above,
5425 AccessibleComponent_getLayer() and
5426 AccessibleComponent_getMDIZOrder().
5427 Added cspi enum 'AccessibleComponentLayer'.
5429 * docs/reference/cspi/at-spi-cspi-sections.txt:
5430 Added above methods to docs.
5434 Changed typedef for 'boolean' type (and all references to it) to
5435 SPIBoolean, to avoid keyword clashes with C++.
5438 Changed usages of 'boolean' to SPIBoolean.
5440 * test/keysynth-demo.c:
5441 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5442 app), except where SPIBoolean is required by the callbacks API.
5444 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5446 * cspi/spi_registry.c:
5447 Removed obsolete X event loop for passive keygrabs (which now
5450 * registryd/registryd.c:
5451 Removed unnecessary call to gdk_init() [cruft]. This also allows
5452 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5455 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5457 * docs/reference/cspi:
5458 Included docs for SPI_freeString in generated documentation.
5461 Renamed spi_freeString to SPI_freeString, for consistency. Added
5462 documentation for this function.
5465 Renamed spi_freeString to SPI_freeString, for consistency.
5466 Removed obsolete method declaration string_from_corba_string.
5468 * test/keysynth-demo.c:
5469 Small tweak to comments.
5472 Stopped leaking the strings returned from CSPI.
5474 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5476 Merged Michael's branch (see his ChangeLog entries below).
5478 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5479 bridge is alive, release on exit.
5481 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5482 Fix type check macro.
5485 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5488 Added is_gnome_app static, and method cspi_is_gnome_app(),
5489 so we can call the appropriate shutdown routine at exit in SPI_exit.
5491 * cspi/spi_main.c (cspi_object_ref):
5492 Duplicate the corba object passed in, since we're keeping it around.
5494 * cspi/SPI_exit.c, cspi_cleanup:
5495 Moved the releasing of the live refs to its own function, so we
5496 can put it in g_atexit (). Call the appropriate shutdown API
5497 depending on whethe calling client is a gnome app or not
5498 (bonobo_main_quit or CORBA_ORB_shutdown).
5500 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5501 Unref the listener when this method is called, after
5502 deregistration. Updated the API docs to note this behavior.
5504 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5505 Bugfixes: Ref the bonobo object when returning a parent or child
5506 reference, or an AccessibleRelation. Generally made sure
5507 BonoboObject refcount is incremented whenever we return an
5510 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5511 Fixed typo/bug in signal declaration.
5513 * libspi/accessibleeventlistener.h:
5516 * libspi/application.c (spi_application_new):
5517 Fixed leak in initialization.
5520 Remembered to increment bonobo-object refcount when returning
5521 children (applications) from desktop object.
5522 Added (empty) finalize method.
5524 * libspi/deviceeventcontroller.c:
5525 Hold a ref to listeners inside DEControllerKeyListeners.
5526 Added dec_key_listener_free() method. Use prepend instead of
5527 append in key_listener list. Fixed some refcount madness and
5528 leaks in the listener registration/deregistration - deregistration
5529 now calls dec_key_listener_free() on listeners, and on the
5530 temporarily constructed dec_key_listener() used to perform the search/match.
5532 * libspi/hypertext.c (spi_hypertest_finalize):
5533 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5534 class. Also fixed spi_hypertext_interface_new() and
5535 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5537 * libspi/hypertext.h:
5538 Removed pointless and duplicate AtkObject pointer from
5541 * libspi/keystrokelistener.c:
5542 Fixed incorrect type of keystroke_listener_parent_class,
5543 renamed keystroke_listener_object_finalize to
5544 spi_keystroke_listener_object_finalize.
5545 Fixed typo in signal declaration
5546 (spi_keystroke_listener_class_init).
5548 * libspi/registry.c:
5549 Added funcsions spi_listener_struct_new() and
5550 spi_listener_struct_free() to help with memory management issues.
5551 We also now use these methods instead of gnew + poking stuff into
5552 the struct, and to decrement listener counts/free the listeners
5553 when deregistering them.
5554 Fix more refcount bugs in getDesktop() and
5555 getDeviceEventController().
5558 De-ref the desktop after enumerating the applications. Explicitly
5559 decrement the refcounts on the created listeners on exit (using
5560 _unref for keystroke listeners, and via the
5561 deregisterGlobalEventListenerAll command for other event
5564 2001-11-27 Michael Meeks <michael@ximian.com>
5566 * cspi/spi-listener.h: fixup enum.
5568 2001-11-27 Michael Meeks <michael@ximian.com>
5570 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5571 (cspi_keystroke_listener_new): Use the cspi variants.
5573 2001-11-26 Michael Meeks <michael@ximian.com>
5575 * test/keysynth-demo.c: fix 2 compile warnings, missing
5578 * test/simple-at.c (report_focussed_accessible),
5579 (report_focus_event, report_button_press),
5580 (check_property_change, is_command_key),
5581 (report_ordinary_key_event, report_command_key_event): upd.
5583 * util/mag_client.h: include pre-requisites.
5585 * libspi/accessibleeventlistener.c
5586 (spi_event_listener_object_finalize): free any lingering
5589 * libspi/keystrokelistener.c
5590 (keystroke_listener_object_finalize): ditto.
5592 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5593 callbacks, with cspi types.
5595 * cspi/spi_event.c (createAccessibleEventListener): chain to
5596 (AccessibleEventListener_addCallback): here.
5597 (createAccessibleKeystrokeListener): chain to
5598 (AccessibleKeystrokeListener_addCallback): here.
5600 * libspi/keystrokelistener.c
5601 (spi_keystroke_listener_class_init): add signal.
5602 (impl_key_event): emit the event.
5603 (boolean_handled_accumulator): impl.
5604 (marshal_BOOLEAN__POINTER): add, gack.
5606 * libspi/accessibleeventlistener.c
5607 (spi_event_listener_class_init): add signal.
5608 (impl_accessible_event_notify_event): emit the signal &
5609 make the loop efficient.
5610 (spi_event_listener_add_callback): prepend the callback.
5612 * libspi/accessibleeventlistener.h: add an 'event' signal,
5613 decl type on callback.
5615 * libspi/keystrokelistener.h: ditto.
5617 * cspi/spi-listener.h: make methods typesafe and
5618 make them use the new event typedefs.
5620 * test/simple-at.c (report_focussed_accessible):
5621 include mag_client.h
5622 Use *(void *)text_interface not the other thing.
5624 * configure.in: add gtk to registryd bits - since we use
5627 * util/magnifier.c: include libbonobo.h
5629 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5631 * test/keysynth-demo.c:
5632 Turned this into a simple scanning keyboard, to demonstrate the
5633 use of g_timeout_add () as a means of creating timers for
5634 scanning, and the use of GtkStyle for visually indicating when
5635 virtual keyboard elements are selected.
5637 keysynth-demo now listens to any keyboard keys with zero-valued
5638 keycodes (i.e. 'unused' keys) and interprets them as
5641 Reworked the shiftlatch code so that shift-down state isn't held
5642 for long periods (it's only synthesized immediately prior to
5643 the keysynth event it's modifying). Note that shiftlatch in this
5644 demo is a convenience, not intended to take the place of AccessX
5645 which is the better choice for getting 'sticky' modifier keys.
5647 * libspi/deviceeventcontroller.c:
5648 * at-bridge/bridge.c:
5649 * cspi/spi_registry.c:
5650 Removed some debug print stuff, and put other verbosity in #ifdef
5655 Implemented some more of the magnifier IDL for the simple
5656 magnifier: namely, getZoomRegionParams.
5657 Added mag_x and mag_y members to MagnifierData struct, aid of this
5659 Added GtkWindow::realize signal handler to magnifier, to keep it
5660 from receiving keyboard focus from the WM.
5662 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5664 * cspi/spi-private.h: my guess at what michael forgot
5665 before he ran off to NZ :-)
5667 2001-11-23 Michael Meeks <michael@ximian.com>
5669 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5670 comment out non existant method invoke so we link.
5672 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5673 use bonobo_exception_get_text for more friendly warnings.
5675 * cspi/spi.c (Obj_Add): move into spi_main & rename
5676 spi_object_add; kill spi.c
5678 * cspi/spi_registry.c
5679 (deregisterGlobalEventListener),
5680 (deregisterGlobalEventListenerAll),
5681 (registerGlobalEventListener): fix exception leaks.
5683 * cspi/spi_main.c (spi_exception): impl. helper, so we
5684 don't leak exceptions.
5686 * cspi/spi_selection.c
5687 (AccessibleSelection_deselectSelectedChild): return the
5690 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5691 (spi_registry): ditto.
5692 (SPI_init): guard against double inits.
5694 * cspi/*.c: use spi_ev (), and spi_registry () where
5695 appropriate - a temporary hack until we have something
5696 better. Use spi_object_add
5698 2001-11-22 Michael Meeks <michael@ximian.com>
5700 * cspi/Makefile.am: re organise, install the headers.
5702 * cspi/*.h: add G_BEGIN/END_DECLS
5704 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5707 Added non-preemptive keylistener for key events with no modifiers
5708 and shift-only modifier.
5710 * libspi/keystrokelistener.c:
5711 Removed some verbose diagnostics printout.
5713 * cspi/spi_registry.c:
5714 Fixed a bug that caused all key listeners to be registered as
5717 * libspi/deviceeventcontroller.c:
5718 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5719 for non-preemptive key masks.
5722 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5724 * docs/reference/idl/at-spi-idl-docs.sgml:
5725 * docs/reference/idl/at-spi-idl-sections.txt:
5726 * docs/reference/idl/at-spi-idl-overrides.txt:
5727 Added missing files.
5729 * docs/reference/Makefile.am:
5730 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5731 to scan the IDL files :-(
5736 Added .cvsignore files.
5738 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5740 * libspi/deviceeventcontroller.c:
5741 * libspi/keystrokelistener.c:
5743 * cspi/spi_registry.c:
5744 Added filters for KeySets, KeyEventSeq, and event types to key
5745 event dispatching, so listeners should only receive those events
5746 that they requested :-)
5748 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5753 * docs/reference:Makefile.am:
5754 * docs/reference/cspi:
5755 * docs/reference/cspi:Makefile.am:
5756 * docs/reference/cspi:tmpl:
5757 * docs/reference/cspi:tmpl:*.sgml:
5758 * docs/reference/idl:
5759 * docs/reference/idl:Makefile.am:
5760 * docs/reference/idl:at-spi-idl-sections.txt:
5761 * docs/reference/idl:at-spi-idl-docs.sgml:
5762 * docs/reference/idl:tmpl:
5763 * docs/reference/idl:tmpl:*.sgml:
5765 Restructured docs directory to allow separate 'reference' docs
5766 section, and forked idl and cspi docs. Added the sgml template
5767 files to CVS. Added the first sections/structural sgml for the
5770 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5772 * configure.in, libspi/Makefile.am: find libXtst.
5774 2001-11-21 Michael Meeks <michael@ximian.com>
5776 * test/accessx-gui.c: s/spi_value/value/ - doh.
5778 * libspi/base.[ch]: add.
5780 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5782 * idl/Accessible.idl:
5783 * idl/Application.idl:
5786 Started gtk-doc cleanup on IDL.
5788 * libspi/deviceeventcontroller.c:
5789 Added and connected non-preemptive key notification from the
5790 toolkits (in addition to the pre-emptive support from XServer
5791 which we had before, but which causes 'focus flashing'). Filters
5792 are presently limited to key modifiers and global/non-global,
5793 KeySets are presently ignored, as are KeyEvent masks.
5795 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5796 structs into the persistant structure rather than just storing
5797 pointers to things that might not persist across servant
5800 The XGrabKey call now does async keygrabs, because synchronous
5801 ones were deadlocking with GDK_event code in a very nasty way.
5803 Added boolean to internal method notify_keylisteners, to indicate
5804 whether the event came from the 'toolkit source' or the 'global
5805 (XServer) source' - this is used in the notification process to
5806 determine which listeners to send the event to.
5808 deviceeventcontroller.c is now warning-free.
5810 * libspi/registry.c:
5811 Fixed regression in application de-registration.
5812 Also fixed some really brain-dead weirdness having to do with
5813 event dispatching - event structs are now duplicated before being
5814 re-marshalled in the dispatch to listeners. This also fixes a
5815 Solaris build problem.
5818 2001-11-20 Michael Meeks <michael@ximian.com>
5821 (impl_accessibility_registry_deregister_global_event_listener):
5824 * libspi/deviceeventcontroller.c
5825 (spi_device_event_controller_check_key_event): return
5826 FALSE on no virtual method.
5828 * libspi/*..h: make includes work on a correctly pathed install.
5830 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5832 * libspi/application.h: kill unused ( and whacked out )
5833 gboolean *spi_application_set_id (AtkObject *app, long id);
5835 2001-11-20 Michael Meeks <michael@ximian.com>
5837 * libspi/*.[ch]: further convert to bonobo's type func
5838 macros, remove redundnant casts etc.
5840 * libspi/text.c s/accessibility_text/spi_text/g,
5841 re-order to de-cruft.
5843 * libspi/hypertext.c: re-order to kill a huge slew
5844 of redundant forward decls.
5846 * libspi/relation.c: ditto.
5848 * libspi/image.c: ditto.
5850 * */.cvsignore: update
5852 2001-11-20 Michael Meeks <michael@ximian.com>
5854 * libspi/deviceeventcontroller.c
5855 (_controller_register_with_devices): use g_getenv,
5856 kill stdlib.h include.
5858 * libspi/keystrokelistener.c
5859 (spi_keystroke_listener_get_type): kill
5860 (spi_keystroke_listener_class_init),
5861 (spi_keystroke_listener_init): rename to this.
5863 * libspi/text.c (impl_getAttributes): fix warning / bug.
5865 * libspi/*.[ch]: more headers, includes and over commenting.
5867 2001-11-20 Michael Meeks <michael@ximian.com>
5869 * libspi/*.[ch]: fixup headers, includes and over commenting.
5871 * libspi/image.c (impl__get_imageDescription): const
5872 correctness warning fix. remove redundant casting.
5874 * libspi/table.c (impl_getRowDescription): ditto.
5875 (impl_getColumnDescription): ditto.
5877 * libspi/libspi.h: add.
5879 2001-11-19 Michael Meeks <michael@ximian.com>
5881 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5883 * libspi/component.c (accessibility_component_get_type):
5884 rename to (spi_component_get_type): and macroify.
5885 (accessibility_component_init): rename to
5886 (spi_component_init): this
5887 (accessibility_component_class_init): rename to
5888 (spi_component_class_init): this
5890 * libspi/action.c (spi_action_get_type): kill, use the macro.
5892 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5895 * libspi/application.c (spi_application_object_event_listener),
5896 (impl_accessibility_application_register_object_event_listener):
5897 warning fixes / const understanding updates.
5899 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5902 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5904 * libspi/spi_accessible.c: Added docs and C bindings for
5905 AccessibleStateSet. (No implementations yet). Documentation
5906 coverage for C bindings now 100%. Made docs for event listeners
5911 boolean notifyListenersSync (in DeviceEventListener listener,
5912 in DeviceEvent event);
5914 oneway void notifyListenersAsync (in DeviceEventListener listener,
5915 in DeviceEvent event);
5917 Added DeviceEventListener and DeviceEvent structs (may deprecate
5918 KeyStroke and KeystrokeListener in favor of this generic
5919 event/listener framework for devices).
5921 * libspi/deviceeventcontroller.c:
5923 Changed some key listener code to take masks, etc., and paved the
5924 way for integration of toolkit/non-preemptive key events. Changed
5925 signatures of some internal methods.
5927 * at-bridge/bridge.c:
5928 Fixed regression connecting to interface signals, apparently
5929 caused by GTK+ changes.
5931 Added an internal bridge_state_listener to deal with
5932 property-change:accessible-state signals.
5934 Changed the key_listeners GList to store structs (including masks,
5935 etc.) instead of just CORBA_Objects (required for full
5936 implementation of key listener API).
5938 Connected the bridge to all currently supported Atk signals.
5939 Events now supported:
5940 object:property-change
5941 object:property-change:accessible-name
5942 object:property-change:accessible-state
5943 object:property-change:accessible-description
5944 object:property-change:accessible-parent
5945 object:property-change:accessible-value
5946 object:property-change:accessible-role
5947 object:property-change:accessible-table-caption
5948 object:property-change:accessible-table-column-description
5949 object:property-change:accessible-table-column-header
5950 object:property-change:accessible-table-row-description
5951 object:property-change:accessible-table-row-header
5952 object:property-change:accessible-table-summary
5953 object:children-changed
5954 object:visible-data-changed
5955 object:selection-changed
5956 object:text-selection-changed
5958 object:text-caret-moved
5960 object:row-reordered
5962 object:column-inserted
5963 object:column-reordered
5964 object:column-deleted
5965 object:model-changed
5967 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5969 * libspi/hyperlink.c,h:
5970 Fixed some broken stuff in hyperlink.
5972 * libspi/relation.h:
5973 * libspi/relation.c:
5974 * cspi/spi_accessible.c:
5975 Initial implementations of AccessibleRelation methods, and docs.
5977 * libspi/accessible.c:
5978 Fixed a bug that caused SEGV if an accessible
5979 object's description is NULL, and a client
5980 requests it. An empty string is now returned.
5982 * cspi/spi_editabletext.c:
5983 * cspi/spi_hypertext.c:
5985 * cspi/spi_hyperlink.c:
5989 Doc coverage now 95%.
5991 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5993 One last namespacing revision:
5994 * libspi/accessibleeventlistener.[ch]:
5995 Renamed SpiAccessibleEventListener to SpiEventListener,
5996 (no need for two namespaces ;-)
5998 And lots of documentation fixes:
6000 * docs/at-spi-docs.sgml:
6001 Fixed 'underscore vs. hyphen' bug that was preventing
6002 the gtk-doc API docs from being automatically generated.
6005 * cspi/spi-listener.h
6007 * cspi/spi_accessible.c
6009 * cspi/spi_application.c
6010 * cspi/spi_component.c
6011 * cspi/spi_editabletext.c
6013 * cspi/spi_hypertext.c
6015 * cspi/spi_registry.c
6016 * cspi/spi_selection.c
6020 * docs/at-spi-docs.sgml
6021 * docs/at-spi-sections.txt
6023 Added and fixed up gtk-doc documentation in cspi.
6025 Interfaces now (fully) documented (subject to revision and enhancement):
6027 Event Listener Support
6029 AccessibleApplication
6033 AccessibleEditableText
6040 AccessibleRelationSet
6045 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6047 * at-bridge/bridge.c:
6048 Initial work for toolkit-level key snooper connection by bridge.
6053 New typedefs and fixes to support new namespacing, and cleaner
6054 separation of cspi bindings from libspi bonobo implementation.
6055 Removed inconsistent and extraneous Spi* namespace prefix that
6056 had crept into cspi headers.
6057 Lots of comment fixes that sed had missed.
6059 * cspi/spi-roletypes.h:
6060 * cspi/spi-statetypes.h:
6061 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6062 to AccessibleRoleType.
6064 * libspi/accessibleeventlistener.h:
6065 Fixed minor namespacing weirdness.
6067 * libspi/deviceeventcontroller.c:
6068 Reordered some internal API for device listeners.
6069 Changed the key registry final boolean to 'is_system_global'
6070 rather than 'is_synchronous', which is more descriptive of its
6072 Added spi_device_event_controller_new().
6073 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6075 * libspi/keystrokelistener.[ch]:
6076 Namespaced KeystrokeListener to SpiKeystrokeListener.
6077 Changed uses of keymasks to use SPI_ prefix, and did other
6080 * libspi/keymasks.h:
6081 Namespaced keymask constants with SPI_ prefix.
6083 * libspi/registry.c:
6084 Some warning fixes, and knock-on fixes from namespace changes.
6087 Added rules for accessx-gui test program.
6089 * test/accessx-gui.c:
6090 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6091 utility. It doesn't actually use at-spi, but it's still cool and
6094 * test/keysynth-demo.c:
6098 Fixes so that these test clients work properly with the namespaced
6099 libraries. (Incompletely tested for technical reasons, fixes may follow)
6102 2001-11-13 Michael Meeks <michael@ximian.com>
6104 * libspi/application.c
6105 (impl_accessibility_application_get_version),
6106 (impl_accessibility_application_get_toolkit_name):
6108 (impl_accessibility_application_set_id),
6109 (impl_accessibility_application_get_id): remove
6110 redundant casting code.
6112 * libspi/action.c (impl_getDescription): fix warnings.
6114 * libspi/accessible.c
6115 (impl_accessibility_accessible_get_parent),
6116 (impl_accessibility_accessible_get_child_at_index),
6117 (impl_accessibility_accessible_get_state),
6118 (impl_accessibility_accessible_get_relation_set):
6119 warning fixes & include action.h
6121 2001-11-13 Michael Meeks <michael@ximian.com>
6123 * *.[ch] fix bits I screwed up:
6125 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6126 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6128 2001-11-13 Michael Meeks <michael@ximian.com>
6130 * *.[ch] Namespace libspi into spi_ and Spi.
6132 2001-13-11 Michael Meeks <michael@ximian.com>
6134 * Makefile.am: dist & install at-spi-1.0.pc
6136 * libspi/Makefile.am: install into at-spi-1.0
6138 * idl/Makefile.am (idldir): install into at-spi-1.0
6140 * at-spi-1.0.pc.in: add.
6142 * configure.in: build it.
6144 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6146 * test/keysynth-demo.c:
6147 Use a 'realize' signal-handler to set the WM properties for
6148 the virtual keyboard, rather than making it a "POPUP" type
6149 override-redirect window (thanks to anders carlsson for that
6152 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6155 * test/keysynth-demo.c:
6156 Added new test of key synthesis, which creates a simple
6157 (mouse-operated) onscreen keyboard. It inserts key events into
6158 the currently-focused window, thus it does not grab keyboard focus
6161 * cspi/spi_registry.c:
6162 Added C binding for AT-SPI generateKeyEvent.
6164 * libspi/deviceeventcontroller.c:
6165 Added call to XFilterEvent so that key listener works with XIM (we
6166 hope). Added event_synth_type to generateKeyEvent, so that we can
6167 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6168 synthesize a press/release pair for KeySyms.
6170 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6172 * libspi/Makefile.am:
6173 * registryd/Makefile.am:
6174 (temporary) hack to include libXtst in libspi and registryd.
6175 (Needed for keystroke synthesis, see below).
6178 Improved API for registerKeystrokeListener, in accordance with
6179 discussions with Gnopernicus team and X server research.
6181 * libspi/registry.c:
6182 * libspi/deviceeventcontroller.c:
6183 * libspi/accessible.c:
6184 * libspi/keystrokelistener.c:
6185 Changes and fixes to support keylisteners for potentially
6186 consumed key events (that is, 'passive grabs').
6187 Added implementation for generateKeyEvent() [untested].
6190 Changes to registerKeystrokeListener() API, as above.
6191 Added deregisterGlobalEventListenerAll(), and
6192 deregisterKeystrokeListener(), which are needed for clean exit of
6194 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6195 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6197 * cspi/spi_registry.c:
6198 Added implementations of function prototypes mentioned above.
6200 * registryd/registryd.c:
6201 Added the key listener event source as a g_timeout(), to allow
6202 receipt of key events that are not caught by GDK (since GDK
6203 doesn't support passive keygrabs, this was necessary).
6206 Changed to attach a keylistener to 'Alt' keys, and
6207 respond to the following keycommands: Alt-M (toggle magnifier);
6208 Alt-F (toggle speech); Alt-Q (quit).
6209 Added an exit routine to deregister the listeners, and a key
6210 listener that prints some key info to the console when a key
6211 matches the listener mask (and is thus received by the listener).
6213 * util/idl/Magnifier.idl:
6214 Changes to magnifier API to support multiple zoom regions,
6215 non-uniform scaling in x and y, markDirty, and a host of other
6216 features that would be useful to magnification.
6219 * util/mag_client.c:
6220 * util/mag_client.h:
6221 * util/mag_control.c:
6223 Source code changes to support the above IDL changes.
6226 As above, and also changes to use a (slower) generic conversion
6227 path for colormap conversions, since the fast RGB conversions have been
6228 reported to fail for 16-bit displays.
6230 2001-10-26 Michael Meeks <michael@ximian.com>
6232 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6234 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6236 * at-bridge/Makefile.am: fix LDFLAGS.
6238 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6240 * at-bridge/bridge.c:
6241 Re-worked listeners for toolkit events, now we have signal
6242 and property listeners. Added a private method
6243 register_atk_event_listeners(), which registers with the
6244 various atk and gtk signals we need to monitor in order to emit
6246 Added emission hook for AtkObject:property-change events, to
6247 support the 'property listeners'.
6248 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6251 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6252 which emit warnings and exit, respectively, if CORBA errors occur
6253 during remote calls, and we now use these methods to check most of
6254 our CORBA calls in the C bindings.
6256 * cspi/spi_accessible.c:
6257 Changed AccessibleSelection_refSelectedChild() to
6258 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6259 now increment refcounts.
6261 * cspi/spi_component.c:
6262 Fixed some long pointer casts (dangerous!) to pass pointers to
6263 CORBA_longs of the proper type to the CORBA stubs, and copy the
6264 data into the longs that were passed into the C bindings code.
6266 * at-bridge/bridge.c:
6268 * libspi/accessible.c:
6269 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6270 hyperlinks, AtkHyperlink is an object type.
6272 * libspi/application.c:
6273 Added various conversions to and from "generic" event types and
6274 atk-specific types; this is really part of the 'bridge'
6275 implementation but is valid for all AtkObject-based accessibility
6278 * libspi/editabletext.c:
6279 Fixed nasty bug wherein editable text's finalize method was
6280 unref'ing tha AtkObject reference that the text parent class was
6281 about to unref _again_. There was also a nasty inheritance bug
6282 that meant that the AccessibleEditableText class was corrupt.
6284 * libspi/selection.c:
6285 Provided implementations for some selection API that was broken.
6287 * idl/Application.idl:
6288 Added registerObjectEventListener () method.
6291 Fixed a number of return values that were Bonobo_Unknowns from
6292 bonobo_object_corba_objref(), which I
6293 forgot to dup before returning. Changed instances of
6294 bonobo_object_corba_objref (bonobo_object(o)) to
6295 BONOBO_OBJREF(o), for concision and clarity.
6297 2001-10-13 Louise Miller <louise.miller@sun.com>
6299 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6300 idl/Event.idl, idl/Registry.idl
6301 Changed these files to include Bonobo_Unknown.idl instead
6304 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6306 * libspi/component.c libspi/component.h:
6307 Fixed typo. Added assertions for object checks in
6308 AccessibleComponent code.
6310 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6312 * idl/Accessible.idl:
6313 Added 'isEqual (Accessible *object)'
6314 method for Accessible. (Not Yet Implemented).
6317 Changed signature of registerKeystrokeListener() to
6318 take a KeySet and KeyEventSeq so that specific keys and event
6319 types could be requested for monitoring, and added a flag
6320 is_synchronous so that either synchronous or asynchronous
6321 notification could be requested. (However this is not all
6322 implemented yet). This also meant adding two new typedefs,
6323 KeyEventSeq and KeySet.
6326 Added two new relations, RELATION_TOOLTIP_FOR and
6327 RELATION_LEAFNODE_OF.
6330 Added new state, STATE_HAS_TOOLTIP.
6332 * libspi/text.c, editabletext.c:
6333 Added new assertions to all casts of bonobo-objects from
6334 CORBA servants, to prevent Text API calls on non-text objects.
6335 Changed suspect casts of int-pointer types, so that we
6336 always send a valid CORBA_long pointer to the CORBA APIs that use
6337 in/out long parameters. We then have to copy from the CORBA_long
6338 into the regular long or int for return to the C bindings, or
6339 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6342 * libspi/deviceeventcontroller.c:
6343 Cleaned these sources up.
6345 Changed return type for getCharacterAtOffset to
6346 CORBA_unsigned_long, to allow for 32-bit characters.
6349 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6353 Fixed 'make dist' so that distro compiles...
6354 * libspi/keymasks.h:
6356 * cspi/spi-listener.c:
6357 KeystrokeListenerCB now returns a boolean.
6359 Added KeyEventType struct, and KeyStroke.
6360 Also added createKeystrokeListener(),
6361 KeystrokeListener_addCallback(),
6362 KeystrokeListener_removeCallback(), and added a keymask to
6363 registerKeystrokeListener().
6364 * cspi/spi_accessible.c:
6365 Changed numerous return types for interfaces from
6366 AccessibleComponent to Accessible<InterfaceName>; this was
6367 probably a cut-and-paste error.
6369 Implementations of new KeystrokeListener api (from spi.h,
6372 Changes to key modifier mapping.
6373 Created ControllerEventMask struct.
6374 Made DeviceEventController derive from Bonobo::Unknown.
6376 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6377 * libspi/deviceeventcontroller.c:
6378 Added a number of new internal (private) methods.
6379 * libspi/editabletext.c:
6380 * libspi/editabletext.h:
6381 Fixed a number of bugs related to the fact that
6382 editabletext inherits from text. Fixed the EditableText struct,
6383 the init() call, and use correct casts when calling Text methods
6384 from an EditableText object. Removed (duplicate) atko from the
6385 EditableText structure, we use the one in the parent Text
6386 structure via the casts mentioned above.
6387 * libspi/keystrokelistener.[ch]:
6388 * libspi/registry.c:
6389 Changes in support of keyboard handling (above).
6391 Keyboard handling, though partly functional, is still not
6392 recommended for at-spi client use as there is considerable
6393 work yet to be done.
6396 Changed some places where pointers to various int types
6397 are cast to be pointers to CORBA_long types and vice-versa:
6398 pointer casting is not safe so we pass pointers of the correct
6399 types and then cast the result before putting it into the target
6402 * libspi/text.h: minor typos corrected.
6404 We now speak not only the name of a Text element, but the
6405 first sentence of its content, when it receives focus.
6406 I also changed the text compression to 75% from 50%.
6407 * util/Accessibility_Util.server.in:
6408 Changed the default magnifier type to be a 3x vertical
6409 splitscreen magnifier (was previously a 2x horizontal one).
6411 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6413 * libspi/keystrokelistener.h:
6414 * libspi/keystrokelistener.c:
6415 Initial functional implementations of KeystrokeListener.
6418 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6420 Fixed string handling for NULL strings in libspi.
6421 Added spi_freeString to free strings returned by C bindings.
6423 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6425 * libspi/keystrokelistener.h:
6426 * libspi/keystrokelistener.c:
6427 Began (no-op) implementations of KeystrokeListener
6429 * libspi/deviceeventcontroller.c:
6430 * libspi/deviceeventcontroller.h:
6431 Began creating implementations of DeviceEventController,
6432 to handle keystroke and mouse event listening and
6434 * libspi/accessible.c:
6435 Stubbed-in the implementations for
6436 Accessibility_Accessible_getState and
6437 Accessibility_Accessible_getRelationSet.
6438 * libspi/registry.c:
6439 Improved de-registration process and fixed some bugs,
6440 deregistration now works correctly.
6442 Added initialization of applications list (to NULL).
6444 Reduced speech compression from 0.5 to 0.7, for demo.
6445 Changed call to gdk_window_set_decorations()
6446 to gtk_window_set_decorated().
6447 * at-bridge/bridge.c:
6448 Bridge now deregisters when app exits, via
6449 registration of a cleanup function
6450 with the g_atexit() call.
6451 Required making 'app' static, renamed 'this_app'.
6452 Fixed broken use of bonobo_init, passing argv wrongly.
6454 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6458 Created a new directory for
6459 accessibility-related utilities, primarily for
6460 testing and demo purposes, but with possible
6467 Onscreen magnifier utility that
6468 is implemented as a bonobo service.
6470 * util/mag_client.c:
6471 * util/mag_client.h:
6472 Client-side support (simple C bindings)
6473 for Magnification service
6475 * util/mag_control.c:
6476 Client program example for
6477 Magnification service
6479 * util/Accessibility_Magnifier.server.in:
6480 Bonobo-activation file for the
6481 Magnification service.
6484 * util/idl/Magnifier.idl:
6485 IDL defining the bonobo Magnification
6489 Modifications to use the bonobo-activated magnifier
6490 above, in place of trying to connect to an existing
6491 magnifier that uses socket-listening IPC.
6493 If env variable MAGNIFIER is set, a magnifier service
6494 will be started if one does not exist.
6496 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6498 * at-bridge/bridge.c:
6499 applied patch from Marc to build and run
6500 against new glib and gtk+ (seemed like a change
6501 to bonobo_init signature was made ?)
6503 made festival-server support turned off by default.
6504 Added support for a simple magnifier (off by default)
6505 which will be added to a 'util' directory later.
6506 * at-bridge/Makefile.am:
6507 Changed "application.h" header from a 'source'
6508 to a 'dependency' of libat-bridge.
6510 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6519 Added interface implementation c files to list of
6520 includes so they are included in libcspi.
6523 Changed prototype of AccessibleAction_doAction to return a
6525 Changed prototype of AccessibleTable_getCaption to
6526 return an Accessible.
6527 Changed prototype of AccessibleTable_getSelectedRows
6528 and AccessibleTable_getSelectedColumns to
6529 return a long (returns the number of selected rows
6530 or columns respectively).
6531 Changed name of AccessibleText_refRunAttributes to
6532 AccessibleText_getAttributes.
6533 Changed prototype of AccessibleText_getCharacterExtents to
6534 return a void rather than a boolean.
6535 Added support for a AccessibleCoordType parameter
6536 specifying what type of coordinates are desired.
6537 Added an AccessibleCordType parameter to
6538 AccessibleText_getPointAtOffset.
6540 * cspi/spi_accessible.c:
6541 Added code to return the outstanding interfaces from
6542 Accessible_queryInterface.
6544 * cspi/spi_action.c:
6546 Corrected call to getNActions to call the c binding
6549 * cspi/spi_editabletext.c:
6551 Changed name from setRunAttributes to setAttributes.
6553 * cspi/spi_hyperlink.c:
6555 Changed call to getNAnchors to correctly call the c
6556 binding for an attribute.
6558 * cspi/spi_hypertext.c:
6560 Changed getImageDescription to correctly call the
6561 binding for an attribute.
6563 * cspi/spi_selection.c:
6564 Changed getNSelectedChildren to correctly call the c
6565 binding for the attribute.
6566 Changed refSelectedChild to getSelectedChild.
6570 Changed getCaption to return an Accessible.
6571 Fixed calls which retrieve attributes.
6572 Changed refAt to getAccessibleAt.
6573 Changed getNSelectedRows and getNSelectedColumns to
6577 Changed getCharacterExtents and getPointAtOffset to accept an
6578 AccessibleCoordType.
6580 Changed calls which retrieve attributes.
6581 Changed refRunAttributes to getAttributes.
6586 * idl/Hyperlink.idl:
6587 Changed n_anchors attribute to nAnchors to keep naming
6588 convention consistent.
6591 Made Table inherit from Bonobo::Unknown.
6592 Added nSelectedColumns and nSelectedRows attributes.
6595 Made Value inherit from Bonobo::Unknown.
6597 * libspi/hyperlink.c:
6598 Change for nAnchors attributte name change.
6600 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6608 Added interface implementation c files to list of
6609 includes so they are included in libcspi.
6612 Changed prototype of AccessibleAction_doAction to return a
6614 Changed prototype of AccessibleTable_getCaption to
6615 return an Accessible.
6616 Changed prototype of AccessibleTable_getSelectedRows
6617 and AccessibleTable_getSelectedColumns to
6618 return a long (returns the number of selected rows
6619 or columns respectively).
6620 Changed name of AccessibleText_refRunAttributes to
6621 AccessibleText_getAttributes.
6622 Changed prototype of AccessibleText_getCharacterExtents to
6623 return a void rather than a boolean.
6624 Added support for a AccessibleCoordType parameter
6625 specifying what type of coordinates are desired.
6626 Added an AccessibleCordType parameter to
6627 AccessibleText_getPointAtOffset.
6629 * cspi/spi_accessible.c:
6630 Added code to return the outstanding interfaces from
6631 Accessible_queryInterface.
6633 * cspi/spi_action.c:
6635 Corrected call to getNActions to call the c binding
6638 * cspi/spi_editabletext.c:
6640 Changed name from setRunAttributes to setAttributes.
6642 * cspi/spi_hyperlink.c:
6644 Changed call to getNAnchors to correctly call the c
6645 binding for an attribute.
6647 * cspi/spi_hypertext.c:
6649 Changed getImageDescription to correctly call the
6650 binding for an attribute.
6652 * cspi/spi_selection.c:
6653 Changed getNSelectedChildren to correctly call the c
6654 binding for the attribute.
6655 Changed refSelectedChild to getSelectedChild.
6659 Changed getCaption to return an Accessible.
6660 Fixed calls which retrieve attributes.
6661 Changed refAt to getAccessibleAt.
6662 Changed getNSelectedRows and getNSelectedColumns to
6666 Changed getCharacterExtents and getPointAtOffset to accept an
6667 AccessibleCoordType.
6669 Changed calls which retrieve attributes.
6670 Changed refRunAttributes to getAttributes.
6675 * idl/Hyperlink.idl:
6676 Changed n_anchors attribute to nAnchors to keep naming
6677 convention consistent.
6680 Made Table inherit from Bonobo::Unknown.
6681 Added nSelectedColumns and nSelectedRows attributes.
6684 Made Value inherit from Bonobo::Unknown.
6686 * libspi/hyperlink.c:
6687 Change for nAnchors attributte name change.
6690 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6692 implementations-- made server implementations own AtkObject pointers
6693 rather than their respective AtkInterrface pointers to fix
6694 refcounting. AtkHyperlink is still broken.
6696 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6697 * cspi/spi_accessible.c:
6698 Added method Accessible_Role_getName(),
6699 and requisite string array (role_names).
6700 Added conversion string_from_corba_strin() call
6701 to Accessible_getName and _getDescription.
6702 * libspi/accessible.c:
6703 Added implementation for Accessible_getRole()
6705 Added festival support, used if environment variable
6708 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6710 * at-bridge/bridge.c:
6711 Now allocate Accessibility_Event using
6712 Accessibility_Event__alloc() instead of g_new0().
6713 * libspi/accessibleeventlistener.c:
6714 Initialize AccessibleEventListener->callbacks to NULL.
6715 Fixed accessible__event_listener_init() param, changed to
6716 "AccessibleEventListener *" type.
6717 Changed a bonobo_object_release_unref() call to
6718 Accessibility_Accessible_unref().
6719 * libspi/listener.c:
6720 Changed Bonobo_Unknown_unref to (equivalent)
6721 Accessibility_Accessible_unref.
6722 * libspi/registry.c:
6723 Changed bonobo_object_release_unref to
6724 Accessibility_Accessible_unref.
6726 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6729 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6730 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6731 spi-util.c spi-util.h
6732 Implementations for C bindings to remaining accessibility
6735 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6738 changed return value of Action from void to boolean to
6739 bring in line with ATK.
6742 Changed getText funcions to return "out" start and end offsets.
6743 Changed getAttributes to take and offset and return the start
6744 and end offset of the attribute run.
6745 Changed getOffsetAtPoint and getCharacterExtents to take an
6746 enum describing whether coordinates are window or screen.
6749 libspi/action.c libspi/action.h libspi/editabletext.c
6750 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6751 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6752 libspi/image.h libspi/selection.c libspi/selection.h
6753 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6754 libspi/value.c libspi/value.h
6755 Added server implementations for outstanding ATK interfaces
6756 not yet implemented.
6758 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6761 Added (missing) getName() method.
6762 Made nActions an attribute.
6763 * idl/EditableText.idl:
6764 Changed order of params in setAttributes.
6765 * idl/Hyperlink.idl:
6766 Removed getAnchor, added getURI.
6768 Changed attributes to methods, for efficiency
6769 (so that getting extents can be done in one call)
6770 * idl/Selection.idl:
6771 Changed nSelectedChildren to attribute, and re-indented.
6772 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6774 * idl/Text.idl: reformatted to match our coding style.
6775 (temporarily?) removed getRowColumnAtOffset().
6776 Changed text selection API to support multi-select and
6777 non-contiguous selections, as in ATK.
6778 * idl/Value.idl: changed some methods to attributes.
6780 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6782 * libspi/listener.c(impl_notify_event):
6783 BonoboUnkown_unref the source instead
6784 of bonobo_object_release_unref - the ORB
6785 handles the releasing.
6787 * configure.in: require ORBit-2.3.94 for
6790 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6792 Tagged CVS repository 'EA_1_0'.
6793 * README.EARLY_ACCESS:
6794 Alphabetized acknowledgements list, and
6796 Listed some known dependencies of at-spi.
6798 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6800 * docs/at-spi-docs.sgml:
6801 * docs/at-spi-sections.txt:
6802 * docs/at-spi-overrides.txt: (Added zero-length file)
6803 Documentation improvements - gtk-doc should build
6804 docs for all implemented C bindings now.
6807 * cspi/spi.c: (New file)
6808 * cspi/spi_event.c: (New file)
6809 * cspi/spi_registry.c: (New file)
6810 * cspi/spi_accessible.c: (New file)
6811 * cspi/spi_application.c: (New file)
6812 * cspi/spi_component.c: (New file)
6813 Split spi_main.c into six parts, and included them from
6814 "spi.c". This is a bit of a hack, probably temporary,
6815 but required by gtk-doc, apparently.
6817 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6820 * docs/at-spi-docs.sgml:
6821 * docs/at-spi-sections.txt:
6823 Initial checkins/modifications for gtk-doc generation.
6826 Added (missing) interface query methods to Accessible's C binding.
6828 Added GenericInterface type definition.
6830 Added query for AccessibleComponent interface to focus event handler.
6831 Added printout of bounding box for focussed component.
6832 * libspi/component.c:
6833 Added partial implementation for AccessibleComponent to C binding.
6834 * idl/Application.idl:
6835 * libspi/registry.c:
6836 * libspi/listener.c:
6837 * libspi/application.c:
6838 * libspi/application.h:
6839 Changed "ID" attribute type from string to long.
6841 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6845 Made method naming consistent: methods taking object args
6846 start with uppercase, other methods (except those using
6847 acronyms) start with lowercase. Underscores delimit between
6848 object names and method names:
6849 SPI_init() - uppercase since it starts with an acronym.
6850 getDesktopCount () - lowercase start since no object param0.
6851 Accessible_getName() - uppercase object type name, studlyCaps method
6855 Added gtk-doc documentation for all currently implemented
6856 methods in the C bindings API.
6858 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6860 * Makefile.am : changed build order to build test last.
6863 Changed "createEventListener" to "CreateEventListener".
6864 * libspi/accessibleeventlistener.c :
6865 Bugfix for addition of callbacks.
6866 * test/Makefile.am :
6867 * test/simple-at.c :
6868 Added new test that uses the C bindings API.
6870 * libspi/listener.c :
6871 * libspi/registry.c :
6872 * libspi/accessibleeventlistener.c :
6873 * at-bridge/bridge.c :
6874 Renamed member "target" of Accessibility_Event to "source",
6875 which is more descriptive.
6878 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6882 * cspi/Makefile.am :
6883 Added makefile support for at-spi/cspi directory.
6886 * cspi/spi-listener.h : (NEW FILE)
6887 Added support for/use of spi-listener.h.
6889 C bindings now build successfully, with no warnings.
6890 * libspi/accessibleeventlistener.h : (NEW FILE)
6891 * libspi/accessibleeventlistener.c : (NEW FILE)
6892 * libspi/Makefile.am :
6893 Added new object type "AccessibleEventListener"
6894 which inherits from Listener, and allows attachment
6895 of in-process callbacks (so that a client with a listening
6896 object instance can add functionality to the local
6897 implementation, dynamically).
6899 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6901 * libspi/accessible.c:
6902 Add implementation for get_index_in_parent().
6904 Added #include of "spi-roletypes.h", and
6905 added enumerated type AccessibleCoordType.
6906 Added definition for KeystrokeListener (function type).
6909 * cspi/spi-statetypes.h :
6910 * cspi/spi-roletypes.h :
6912 Added these headers, used by spi.h.
6914 Added code (NOTE: not yet built by make).
6916 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6918 * libspi/Makefile.am: generate imodule
6919 at the same time as other idl compiler
6922 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6923 * libspi/registry.c :
6924 * libspi/application.c :
6925 * idl/Application.idl :
6926 Made registration with toolkit an application method,
6927 which is required since each app has its own toolkit static
6928 environment. Thus the bridge must register for
6929 notification of toolkit events from each application in turn.
6930 Toolkit notifications are now successfully registered for, and
6931 sent to the listening at client.
6933 Changed toolkit event string to use hyphens rather than underscores.
6934 * libspi/listener.c :
6935 listner now gives more info in debug mode - it reports the
6936 name of the event received, as well as the name of the source.
6939 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6941 * libspi/registry.c :
6942 added more implementation for toolkit events.
6943 Fixed bug such that toolkit event registrations
6944 (via atk) use the whole event name string, not
6946 Removed a useless call to an ORBit_ method.
6947 * at-bridge/bridge.c :
6948 Removed unused local sbuf[] variable.
6950 We now register for Gtk:GtkWidget:button_press_event
6951 events as well as "focus:" events.
6953 Add some more API from Registry.idl that was missing,
6954 for keystroke listening, keystroke and mouse event
6955 synthesis, and enumeration of accessible desktops.
6957 2001-08-16 Michael Meeks <michael@ximian.com>
6959 * configure.in: use AM_GLIB_GNU_GETTEXT.
6961 * Makefile.am (SUBDIRS): kill intl.
6963 2001-08-15 Michael Meeks <michael@ximian.com>
6965 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6967 * configure.in: upd.
6969 * configure.in: depend on a recent bonobo-activation that
6970 will find our server files ...
6972 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6974 * libspi/accessible.c : accessible_new() :
6975 Now we add the Component interface via bonobo_object_add_interface,
6976 if the contained AtkObject implements AtkComponent.
6977 * libspi/accessible.h : now include "component.h"
6978 * libspi/component.h :
6979 * libspi/component.c : added files - implementation of
6980 bonobo wrapper object for Accessibility/Component
6981 * libspi/listener.c :
6982 Added test code to check for Accessibility/Component:1.0
6983 interface and report whether it is implemented by the
6985 * libspi/registry.c :
6986 Now we check for not only the hash of the whole event
6987 string before relaying the event, we also check the
6988 "minor" event string (without the detail string).
6989 This allows event listeners to be registered against
6990 all events of a certain major+minor type, or just
6991 against a specific major+minor+detail type.
6992 * libspi/accessible.c :
6993 Added implementations for Accessible:get_parent(),
6994 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6995 * libspi/registry.c :
6996 * libspi/listener.c :
6997 Replaced calls to Accessibility_Accessible_ref() and
6998 Accessibility_Accessible_unref() with
6999 calls to bonobo_object_dup_ref() and
7000 bonobo_object_release_unref(), so that the CORBA object
7001 is dup-ed and released when relayed, as well as the bonobo object.
7003 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7005 * libspi/Makefile.am,
7006 registryd/Makefile.am,
7007 at-bridge/Makefile.am.
7008 test/Makefile.am, configure.in:
7009 reverse previous changes.
7011 * /idl/Image.idl: fix typo.
7013 * test/Makefile.am: put DEBUG_FLAGS
7016 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7018 * test/app.c: use argv[0] instead of
7021 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7023 * libspi/Makefile.am,
7024 registryd/Makefile.am,
7025 at-bridge/Makefile.am.
7026 test/Makefile.am, configure.in:
7027 cleanup, replace individual LIBS/CFLAGS with
7028 AT_COMMON_{LIBS|CFLAGS}.
7032 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7034 * configure.in, libspi/Makefile.am:
7035 Change IDL path checking for bonobo-activation
7038 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7040 * registryd/registry.c : separated event listeners to use
7041 3 separate lists (focus, window, toolkit). Began testing
7042 event names against hashes before relaying events.
7043 * test/at.c : now register for events of type "focus:"
7044 * test/app.c : now generate events of type "focus:"
7045 * at-bridge/bridge.c : register with ATK for focus events,
7046 and we now relay those focus events to any "focus:" listeners.
7047 This now works with the bridge as a GTK_MODULE when running test/at.
7048 * libspi/registry.c :
7049 * libspi/listener.c :
7050 now we ref event sources before propagating, and unref on receipt.
7051 * libspi/registry.c :
7052 some changes to internal structs, to support event typestring hashes.
7053 * text/app.c : changed the way the appname is generated.
7054 * cspi : added directory that will hold the C bindings library for
7055 non-CORBA/bonobo-savvy clients.
7056 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7057 * idl/Component.idl : added in parameter to indicate coord system for
7058 geometry-related calls.
7059 * idl/Hyperlink.idl : added readonly n_links attribute
7060 * idl/Image.idl : changed methods to attributes.
7062 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7064 * at-bridge/Makefile.am: link against
7065 ../libspi/libspi.la instead of -lspi.
7067 * at-spi/test/app.c: include
7068 bonobo-activation.h. Use a default appname
7069 if one is not provided.
7071 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7073 * idl/Registry.idl : temporarily changed register_Application
7074 to oneway, to work around issue with initial registration
7076 * idl/Application.idl : changed attribute "id" from readonly
7077 to read-write, since it needs to be assigned by Registry.
7078 * registryd/registryd.c : added call to set application id
7080 * registryd/registry.c : changed de-registration procedure to
7081 use CORBA_Object_hash() to find matching object ref in application
7082 lists and listener lists.
7083 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7084 began distinguishing between event types (work in progress).
7086 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7089 * libspi/application.c:
7090 Added implementations for get/set id, get_toolkitName,
7092 * registryd/registryd.c :
7096 Converted from use of OAF to bonobo-activation.
7097 * libspi/desktop.h :
7098 * libspi/desktop.c :
7100 Removed references to atksimpleobject, since base atkobject
7101 implementation now provides functionality we need.
7102 * libspi/atksimpleobject.c :
7103 * libspi/atksimpleobject.h :
7108 * at-bridge/Makefile.am
7109 * at-bridge/bridge.c
7112 Added directory "bridge" and contents, and added dependencies
7113 in Makefile.am/configure.in.
7114 Initial checkin of "at-bridge".
7115 This code is a GTK_MODULE which automatically registers
7116 GTK+ apps with the accessibility registry, using an object
7117 reference to the root ATK object.
7119 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7121 * po/Makefile.in.in: Remove. Again. If this
7122 doesn't get autogenerated - you need to update
7125 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7127 * po/Makefile.in.in: Add. Again.
7129 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7131 * libspi/accessible.c : added support for 'description' property.
7132 * libspi/accessible.c
7134 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7135 (since the two are now equivalent in libbonobo)
7143 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7144 Bonobo::Unknown as does Accessibility::Accessible.
7145 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7146 interface with Bonobo::Stream, since it was redundant with it.
7147 (The Stream returned by a StreamableContext object is expected to
7148 implement only a subset of Bonobo::Stream)
7150 2001-07-28 Anders Carlsson <andersca@gnome.org>
7152 * libspi/accessible.c (accessible_object_finalize): Change
7153 g_free to g_object_unref since the AtkObject is a GObject.
7155 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7157 * idl/Accessibility.idl: add new IDL files
7160 * idl/Action.idl: Definitions of actionable UI object
7161 * idl/Component.idl: Definitions of UI component geometry, etc.
7162 * idl/Hyperlink.idl: Defs of hyperlink behavior
7163 * idl/Image.idl: Def of accessible image
7164 * idl/Selection.idl: Definition of UI object with selectable children
7165 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7166 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7167 * idl/Text.idl: Interface defs for UI elements with complex textual content
7168 * idl/Value.idl: Definition of UI element that is a value controller or display
7170 2001-07-27 Michael Meeks <michael@ximian.com>
7172 * po/Makefile.in.in: remove autogenerated file from CVS.
7174 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7177 * idl/Registry.idl: include guard.
7179 * idl/Accessibility.idl: Add, and include all the other IDL
7182 * idl/*.idl: remove mass of pragmas etc.
7184 2001-07-26 Michael Meeks <michael@ximian.com>
7186 * registryd/Makefile.am (registryd_SOURCES): remove
7189 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7191 * libspi/.cvsignore, registryd/.cvsignore,
7192 test/.cvsignore: updated.
7194 * po/Makefile.in.in: gettext update.
7196 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7198 * initial CVS checkin
7200 2001-06-29 Michael Meeks <michael@ximian.com>
7202 * configure.in: add AM_CONFIG_HEADER to gen config.h