1 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/desktop.c: Add checking that we are not exiting before
4 calling spi_desktop_remove_application in
5 abnormal_application_termination. Fix for bug #152147.
7 2004-12-02 Bill Haneman <billh@gnome.org>
9 * configure.in, NEWS, README: Revved to 1.6.1.
11 Patch from Padraig O'Briain <padraig.obriain@sun.com>
12 * atk-bridge/bridge.c:
13 (atk_bridge_init): Save the pid when we start, to detect forks.
14 (spi_atk_bridge_exit_func): Don't call the cleanup routines
15 if we're in a forked pid.
17 2004-10-09 Bill Haneman <billh@gnome.org>
19 * idl/Accessibility_LoginHelper.idl:
20 Improved inline documentation.
22 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
24 * configure.in: Added gl (Galician) to ALL_LINGUAS
26 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
28 * libspi/accessible.c:
29 (impl_accessibility_accessible_get_role_name),
30 (impl_accessibility_accessible_get_local_role_name):
33 (impl_accessibility_component_get_accessible_at_point):
35 * libspi/eventlistener.c: (spi_event_listener_new):
37 * libspi/stateset.c: (impl_compare): More of the same
38 * libspi/table.c: (impl_getRowDescription): Again.
39 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
40 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
41 (impl_generate_keyboard_event): Same.
42 * registryd/registry-main.c: (main): Same
43 * test/event-listener-test.c: (test_exit): Same
44 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
45 * test/keysynth-test.c: (test_key_synthesis): Same
46 * test/login-helper-server-test.c: (main): Fix warning.
47 * test/screen-review-test.c: (test_exit): Fix include.
48 * test/simple-at.c: (simple_at_exit), (_festival_init):
51 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
53 * configure.in, NEWS, README: Revved to 1.6.0.
55 2004-09-12 Bill Haneman <bill.haneman@sun.com>
57 * configure.in: Rev and re-dist, since the 1.5.4 tarball
58 was missing the HTML docs.
60 2004-09-12 Tomasz Kłoczko <kloczek@pld.org.pl>
62 * configure.in: only cleanups:
63 - better looking PKG_CHECK_MODULES() output,
65 - declare in one common place required versions of other tools using
68 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
70 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
71 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
72 required ATK version accordingly.
74 2004-09-03 Bill Haneman <bill.haneman@sun.com>
76 * cspi/bonobo/cspi-bonobo.c:
77 (cspi_display_name): Fix C99ism.
78 * atk-bridge/bridge.c:
79 (spi_display_name): Fix C99ism.
80 Patch from Jens Granseuer, jensgr@gmx.net.
82 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
84 * configure.in: Added "or" to ALL_LINGUAS.
86 2004-08-20 Bill Haneman <bill.haneman@sun.com>
88 * configure.in, NEWS, README: Revved to 1.5.4.
90 * registryd/registry-main.c:
91 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
94 * cspi/bonobo/cspi-bonobo.c:
95 (cspi_display_name): New convenience method, gets DISPLAY with
96 screen number stripped, if AT_SPI_DISPLAY isn't already set.
97 (cspi_init): Set the activation env value above before getting
100 * atk-bridge/bridge.c:
101 (spi_display_name): Create the AT_SPI_DISPLAY activation
102 environment for an app, based on the DISPLAY environment with the
103 screen number stripped off.
104 (atk_bridge_init): Allow redirection of error messages to a log.
105 (spi_atk_bridge_get_registry): Call
106 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
108 Fixes for bugs #149962, #136986, #144086.
110 2004-08-16 Christian Rose <menthos@menthos.com>
112 * configure.in: Added "bs" to ALL_LINGUAS.
114 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
116 * configure.in: Added nb to ALL_LINGUAS.
118 2004-09-03 Bill Haneman <bill.haneman@sun.com>
121 (SPI_init): Return error code '2' if the activated
122 registry cannot be pinged. Fixes bug #147648.
124 2004-07-28 Bill Haneman <bill.haneman@sun.com>
126 * registryd/deviceeventcontroller.c:
127 (spi_dec_init_mouse_listener): Don't do XGrabButton,
128 rely on timer-poll instead, to avoid conflict with
131 2004-07-20 Bill Haneman <bill.haneman@sun.com>
133 * configure.in: Revved to 1.5.3.
135 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
137 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
139 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
141 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
143 2004-06-11 Bill Haneman <bill.haneman@sun.com>
145 * atk-bridge/bridge.c:
146 (spi_atk_bridge_do_registration):
147 Register with ATK for AtkComponent:bounds-changed events.
148 (api_atk_bridge_signal_listener):
149 Marshal the AtkRectangle info into the event notification
150 for object:bounds-changed events.
153 (spi_init_any_rect): New method, inits a corba struct of
154 type Accessibility_BoundingBox from an AtkRectangle.
156 * libspi/spi-private.h: Declared spi_init_any_rect (above).
159 (SPIRect): New struct definition.
160 (SPI_freeRect): New declaration.
161 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
164 (AccessibleBoundsChangedEvent_getNewBounds): New method,
165 implemented. Gets the bounding box data from the CORBA_any
166 associated with a bounds-changed event notification.
167 (cspi_internal_event_get_rect): New, used internally by above method.
170 (SPI_freeRect): Implemented this new method, for freeing
173 * test/event-listener-test.c:
174 (main, report_bounds_event):
175 Added a test for object:bounds-changed events.
177 2004-06-01 Bill Haneman <bill.haneman@sun.com>
179 * test/login-helper-server-test.c:
180 (main): Fix C99-ism. Thanks to Jens Granseuer.
182 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
184 * libloginhelper-1.0.pc.in:
185 * idl/Accessibility_LoginHelper.idl:
186 * login-helper/Makefile.am:
187 * login-helper/login-helper.[ch]:
188 * test/login-helper-client-test.c:
189 * test/login-helper-server-test.c: Added files missing from CVS.
190 Files obtained from at-spi-1.5.2 tarball.
192 2004-05-27 Bill Haneman <bill.haneman@sun.com>
194 * configure.in: Create login-helper/Makefile.
195 Incremented micro version.
197 * Makefile.am: Add login-helper subdir and pkgconfig data.
199 * login-helper: New subdir.
201 * libloginhelper-1.0.pc.in: New.
203 * idl/Accessibility_LoginHelper.idl: New file, defines
204 interface whereby authentication clients can identify agents which
205 need access to services during the login process, e.g. screen lock
208 * login-helper/Makefile.am : New.
210 * login-helper/login-helper.[ch] : New, implementation of
211 a LoginHelper base class. Services needing LoginHelper can subclass.
213 * test/Makefile.am : Added test for login-helper, client and
216 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
217 Use proper prefix in #include files.
219 * test/login-helper-client-test.c: New.
221 * test/login-helper-server-test.c: New.
223 2004-05-27 Alexander Shopov <ash@contact.bg>
225 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
227 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
229 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
230 is positive. This should make it easier to detect inapprorpiate unref
233 2004-05-11 James Henstridge <james@daa.com.au>
235 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
236 no-op and deprecated.
238 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
240 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
242 2004-04-28 Bill Haneman <billh@gnome.org>
244 * Makefile.am: Added --enable-gtk-doc to
245 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
247 2004-04-19 Bill Haneman <billh@gnome.org>
249 * configure.in: Revved to 1.5.1.
251 * registryd/deviceeventcontroller.c:
253 (DEControllerPrivateData): Added fields for
254 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
255 (spi_dec_replace_map_keysym): New internal utility for
256 replacing a keysym in the keymap - used to allow
257 synthesis of individual characters which aren't in the
259 (spi_dec_reset_reserved): New; resets the changed keysym value
261 (keycode_for_keysym): We now try to deal with failed
262 XKeysymToKeycode requests by changing a keymap value
263 and returning a reserved keycode. We now take
264 a DEController pointer as first arg.
265 (spi_controller_register_with_devices): Call XkbGetMap with
266 the XkbKeySymsMask. Find the highest keycode in the current
267 keymap which doesn't have any grabs, and mark that one for
268 temporary re-mapping when out-of-range KeySyms are synthesized.
269 (dec_synth_keycode_press): Call XFlush after synthesizing the key
272 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
274 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
276 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
278 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
280 2004-03-24 Bill Haneman <billh@gnome.org>
283 (AccessibleTable_addRowSelection),
284 (AccessibleTable_addColumnSelection),
285 (AccessibleTable_removeRowSelection),
286 (AccessibleTable_removeColumnSelection):
287 Add declarations for spi wrappers which were
288 inadvertantly omitted. Fixes bug #133413.
291 Revved to 1.5.0 (unstable series for GNOME 2.7).
293 2004-03-24 Bill Haneman <billh@gnome.org>
295 * atk-bridge/bridge.c:
296 Bracketed some debug output in
297 conditionals, to avoid printing it in normal use.
300 * libspi/hyperlink.c:
301 Don't cast 'object' to ATK_OBJECT when constructing
302 an AtkAction interface for a hyperlink.
303 See discussion in bug #120659.
305 * test/key-listener-test.c:
306 (report_all_key_event): Send output to stderr,
307 not stdout, for consistency with the rest of the test callbacks.
310 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
311 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
312 Incremented to 1.4.1 (but didn't dist yet - I'm going to
313 try incrementing the revision AFTER doing a dist, at least
316 2004-03-22 Bill Haneman <billh@gnome.org>
318 * configure.in: Revved to 1.4.0, libtool 9.14.9
320 2004-03-17 Laszlo Peter <laca@sun.com>
322 * libspi-1.0-uninstalled.pc.in: add idldir
324 * cspi-1.0-uninstalled.pc.in: add idldir
326 2004-03-16 Gareth Owen <gowen72@yahoo.com>
328 * configure.in: Added "en_GB" to ALL_LINGUAS
330 2004-03-15 Bill Haneman <billh@gnome.org>
332 * configure.in: Revved to 1.3.16,
335 2004-03-15 Laszlo Peter <laca@sun.com>
337 * libspi-1.0-uninstalled.pc.in: new file
339 * cspi-1.0-uninstalled.pc.in: new file
341 * configure.in: add the new pc files to AC_OUTPUT
343 * Makefile.am: add the new pc files to EXTRA_DIST
345 2004-03-12 Bill Haneman <billh@gnome.org>
347 * atk-bridge/bridge.c:
348 (spi_atk_bridge_key_listener):
349 Make sure to return consumed=FALSE if snoop
350 event is not dispatched to listener.
353 2004-03-01 Bill Haneman <billh@gnome.org>
355 * configure.in: Revved to 1.3.15,
358 2004-03-07 Danilo Segan <dsegan@gmx.net>
360 * configure.in: Added "sr@ije" to ALL_LINGUAS.
362 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
364 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
366 2004-03-01 Bill Haneman <billh@gnome.org>
368 * configure.in: Revved to 1.3.14.
371 (SPI_exit): Removed "bye-bye" exit message.
372 Moved "leak" report to happen before the
373 iteration over the leaked refs list.
374 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
376 2004-02-24 Bill Haneman <billh@gnome.org>
378 * configure.in: Revved to 1.3.13.
380 * docs/reference/cspi/Makefile.am:
381 Correct typo that was breaking the docs build.
383 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
385 * autogen.sh: Require version 1.7 of automake.
387 * configure.in: call GTK_DOC_CHECK([1.0])
389 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
391 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
393 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
395 * test/Makefile.am: Remove use of CFLAGS.
397 This fixes bug #132987.
399 2004-02-11 Bill Haneman <billh@gnome.org>
401 * reverted most of Tomasz' patch below, since it was breaking
402 builds (see bug #134058).
404 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
406 * docs/reference/cspi/at-spi-cspi.types: added empty file for
407 correct pass "make dist" (empty .. because seems no sach types in
408 header files with gtk-doc markups).
409 * docs/reference/cspi/Makefile.am, configure.in:
410 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
411 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
412 * Makefile.am: added:
413 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
414 for force correct pass generate documentation on "make distcheck".
415 * libspi/Makefile.am: fixes for automake >= 1.6.
416 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
417 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
420 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
422 * docs/reference/cspi/Makefile.am (install-data-local): Install
423 index.sgml since the doc autobuilder on widget.gnome.org looks for
426 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
428 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
431 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
433 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
435 2004-01-27 Brian Cameron <brian.cameron@sun.com>
437 * test/simple-at.c: Fixed null string problems that cause core
438 dumping problems on Solaris.
440 2004-01-12 Bill Haneman <billh@gnome.org>
442 * configure.in: Incremented version to 1.3.11.
444 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
446 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
447 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
450 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
452 * configure.in: Added "fa" to ALL_LINGUAS.
454 2003-12-20 Arafat Medini <lumina@silverpen.de>
456 * configure.in: Added "ar" to ALL_LINGUAS
458 2003-12-16 Bill Haneman <billh@gnome.org>
460 * registryd/registry-main.c:
462 Set the reg_env DISPLAY variable before registering the
463 activated registry service. Fixes bug #129479.
465 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
467 * configure.in: Added "id" in ALL_LINGUAS
468 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
470 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
472 * registryd/deviceeventcontroller.c (global_filter_fn):
473 When an event is consumed discard any XEvents were added to
474 the queue while dealing with the the event. This can happen if
475 processing of the event takes a long time. Call XUngrabKeyboard
476 if an event was discarded. This fixes bug $124837.
477 Only call wait_for_release_event for a KeyPress.
478 Use local variable display instead of spi_get_display().
479 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
482 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
484 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
485 Allow for mask to contain values other than NumLock mask.
488 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
490 * registryd/devieceventcontroller.c:
491 (wait_for_release_event): Change first parameter from GdkEvent to
493 (global_filter_fn); Correct call to wait_for_release_event.
497 2003-12-08 Bill Haneman <billh@gnome.org>
501 * registryd/ucs2keysym.c: New file.
503 * registryd/deviceeventcontroller.c:
504 (dec_keysym_for_unichar): Remove old partial implementation and
505 replace with call to ucs2keysym(), which is much more complete.
506 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
511 2003-12-05 Bill Haneman <billh@gnome.org>
513 * configure.in: Version 1.3.9.
515 * docs/reference/cspi/tmpl/spi_registry.sgml:
516 Added reference to libspi/keymasks.h to the
517 description of Registry queries: AccessibleKeyMaskType.
520 2003-12-04 Bill Haneman <billh@gnome.org>
524 * idl/Accessibility_Application.idl:
525 (Accessibility::LOCALE_TYPE): New enum, corresponds to
526 setlocale's LC_TYPEs.
527 (Accessibility::Application::getLocale): New method.
528 Allows clients to query the locale, by type, of an app.
531 * cspi/spi_application.c:
532 (AccessibleApplication_getLocale): New method, wraps IDL above.
534 * libspi/application.c:
535 (spi_application_class_init): Init epv entry for getLocale.
536 (impl_accessibility_application_get_locale): Impl for above.
538 * test/test-simple.c:
539 (test_application): Added assertion for getLocale, i.e.
540 that the string from AccessibleApplication_getLocale (app, type)
541 is the same as that from setlocale (type, NULL);
543 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
545 *registryd/deviceeventcontroller.c: Add an idle handler which polls
546 the keyboard on a timeout intil the key state goes from pressed to
547 released. Fixes bug #111429.
549 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
551 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
552 root object so that it is present when a context menu in an
553 out-of-process applet is popped up.
554 (spi_atk_bridge_do_registration): Create acceessible application root
555 object only if it does not exist.
557 This fixes bug #125834.
559 2003-12-01 Bill Haneman <billh@gnome.org>
561 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
564 Added enum for AccessibleStreamableContentSeekType.
565 (AccessibleStreamableContent_freeContentTypeList): New.
567 * cspi/spi_streamablecontent.c:
568 (accessible_bonobo_stream_client_seek): New private method.
569 (AccessibleStreamableContent_seek): Implemented this method,
570 using Bonobo_Stream_seek.
571 (AccessibleStreamableContent_freeContentTypeList): New method
572 for freeing the return value from
573 AccessibleStreamableContent_getContentTypes.
574 (stream_cache_item_free): Replaces stream_release; stop leaks.
575 (stream_release): removed.
576 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
577 free the memory properly.
579 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
583 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
585 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
587 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
589 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
591 2003-12-01 Bill Haneman <billh@gnome.org>
593 Fix for bug/rfe #127463.
595 * idl/Accessibility_Accessible.idl:
596 (getLocalizedRoleName): New.
597 (unimplemented4): Removed (replaced by above).
599 * libspi/accessible.c:
600 (impl_accessibility_accessible_get_local_role_name): New.
601 (spi_accessible_class_init): Add getLocalizedRoleName entry to
605 (Accessible_getLocalizedRoleName): New.
607 * cspi/spi_accessible.c:
608 (Accessible_getLocalizedRoleName): New.
610 2003-12-01 Bill Haneman <billh@gnome.org>
613 * idl/Accessibility_Text.idl:
614 (getDefaultAttributes): New.
615 (unimplemented4): Removed (replaced by above method).
618 (impl_getDefaultAttributes): New method.
619 (spi_text_class_init):
620 initialize the get_default_attributes slot in the epv.
623 (AccessibleText_getDefaultAttributes): New prototype.
626 (AccessibleText_getDefaultAttributes): New method.
628 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
630 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
631 write beyond the end of the table. Fixes bug #120473.
633 2003-09-30 Christian Rose <menthos@menthos.com>
635 * configure.in: Added "eu" to ALL_LINGUAS.
637 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
639 * configure.in: ALL_LINGUAS: Added no.
641 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
643 * configure.in: Added lt to ALL_LINGUAS.
645 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
647 * atk-bridge/bridge.c:
648 (atk_bridge_init): Register event listeners always even for
649 out-of-process applet.
650 (spi_atk_bridge_toplevel_added): Remove call to
651 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
652 (spi_atk_bridge_toplevelk_removed): Remove call to
653 spi_atk_deregister_event_listenersa as the listeners are now always
655 (spi_atk_bridge_register_application): Remove call to
656 spi_atk_register_event_listeners as it is not done in atk_bridge_init
658 This fixes bug #120991.
660 * libspi/table.c (impl_getColumnDescription): Correct typo,
661 pointed out by Bolian.Yin@sun.com.
663 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
665 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
667 2003-09-08 Bill Haneman <billh@gnome.org>
669 * configure.in: Revved to 1.3.7.
671 This is the GNOME 2.4.0 release of at-spi.
673 * docs/reference/cspi/Makefile.am:
674 Removed spurious inclusion of 'index.sgml' in the
675 html directory; this was breaking make distcheck and
676 also some other build environments.
678 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
680 * registryd/registry.[ch}:
681 Add queue_handler_id and focus_object to SpiRegistry data structure.
682 (registry_flush_event_queue): If event being discarded is
683 "state-change:focused" store object as focus_object.
684 (registry_start_queue): Remove queue handler and focus object
686 (registry_discard_event): New function which discards a focus event
687 if we had stored focus object in the registry.
688 (registry_queue_event): Add new check that is_queueing is set as this
689 function is reentrant.
690 (registry_filer_event): Add call to registry_discard_event.
692 This resolves issues raised in bug #108664.
694 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
696 * configure.in: Added "bn" to ALL_LINGUAS.
698 2003-09-04 Bill Haneman <billh@gnome.org>
700 * cspi/spi_event.c: Documentation improvements for
701 (SPI_registerAccessibleKeylistener).
703 * docs/reference/tmpl/spi_registry.sgml:
704 Documentation improvements for SpiAccessibleKeylistenerCB.
706 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
708 * configure.in: Added "ro" to ALL_LINGUAS.
711 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
713 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
714 not decremented to zero. Fixes bug #120725.
716 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
718 * configure.in: Added "ja" to ALL_LINGUAS.
720 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
722 * configure.in: Added "is" to ALL_LINGUAS.
724 2003-08-22 Christian Rose <menthos@menthos.com>
726 * configure.in: Added "nl" to ALL_LINGUAS.
728 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
730 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
731 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
733 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
735 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
736 type for unspecified exception.
737 * cspi_streamablecontect): Add include of string.h for memcpy.
738 (stream_release): Correct call to bonobo_object_release_unref
739 (stream_cache_item_free): Correct call to bonobo_object_release_unref
740 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
741 argument of _cspi_expection_throw.
742 * libspi/hyperlink.c: Add include of libspi/action.h:
743 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
744 * libspi/streamablecontent.c: add include of libspi/component.h.
745 * regisrtyd/deviceeventcontroller.c:
746 (spi_dec_translate_mask): Removed unused variable priv.
747 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
748 * registryd/registry.c:
749 (registry_filter_event): Remove unused variable queue_is-empty.
750 (impl_registry_notify_event): Use correct modifier in fprintf call.
752 This fixes compiler warnings reported in bug #120220.
754 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
756 * registryd/registryd.c: Remove this file.
758 2003-08-17 Sanlig Badral <badral@openmn.org>
760 * configure.in: Added mn to ALL_LINGUAS.
762 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
764 * configure.in: Added et to ALL_LINGUAS.
766 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
768 * test/event-listener-test.c: Change active-descendant to
769 active-descendant-changed.
771 2003-08-10 Sami Pesonen <sampeson@iki.fi>
773 * configure.in: Added "fi" in ALL_LINGUAS.
775 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
777 * configure.in: Added "hi" in ALL_LINGUAS.
779 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
781 * configure.in: Revved to 1.3.6.
785 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
787 * registryd/deviceeventcontroller.c
788 (spi_device_event_controller_object_finalize): Fix typo in previous
791 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
793 * registryd/deviceeventcontroller.c
794 (spi_device_event_controller_object_finalize): Fix build on
795 systems without XEvIE.
797 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
799 * acconfig.h, configure.in, registryd/Makefile.am,
800 registryd/devicecontoller.[ch]: Add XEViE support.
802 2003-08-06 Wang Jian <lark@linux.net.cn>
804 * configure.in: Added "zh_CN" to ALL_LINGUAS.
806 2003-08-06 Metin Amiroff<metin@karegen.com>
808 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
810 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
812 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
813 MODIFIER_ALT in correct place.
815 This fixes part of bug #118114.
817 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
819 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
821 2003-07-28 Changwoo Ryu <cwryu@debian.org>
823 * configure.in: Added "ko" to ALL_LINGUAS.
825 2003-07-28 Ole Laursen <olau@hardworking.dk>
827 * configure.in: Added "da" to the commented out ALL_LINGUAS.
829 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
831 * configure.in: Added "sq" to ALL_LINGUAS.
833 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
835 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
837 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
839 * configure.in: updated ALL_LINGUAS list
841 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
843 * configure.in: Added Belarusian to ALL_LINGUAS.
845 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
847 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
849 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
850 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
852 This fixes bug #116949.
854 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
856 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
857 Correct CSPI to SPI in function documentation.
859 This fixes bug #118054.
861 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
863 * configure.in: Added Russian to ALL_LINGUAS.
865 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
867 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
869 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
871 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
873 2003-07-10 Joel Brich <joel.brich@laposte.net>
875 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
877 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
879 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
881 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
883 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
884 resources allocated for AccessibleEvent. See cspi_event().
886 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
887 static variable streams to NULL.
889 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
890 Update so that AcessibleEvent_ref will work.
892 This fixes bug #116624.
894 2003-07-06 Jordi Mallach <jordi@sindominio.net>
896 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
898 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
900 * configure.in: Added "fr" (French) to ALL_LINGUAS.
902 2003-07-02 Christian Neumair <chris@gnome-de.org>
904 * configure.in: Added "de" (German) to ALL_LINGUAS.
906 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
908 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
910 2003-07-01 Miloslav Trmac <mitr@volny.cz>
912 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
914 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
916 * configure.in: Added "pl" to ALL_LINGUAS.
918 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
920 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
922 2003-06-30 Bill Haneman <bill.haneman@sun.com>
925 (get_action_from_servant):
926 Removed assertion that action is implemented on an AtkObject.
928 * libspi/hyperlink.c:
930 Aggregate AccessibleAction interface on the hyperlink object if
931 the object implements AtkAction. (This convention is used in
934 2003-06-30 Bill Haneman <bill.haneman@sun.com>
936 * configure.in: Revved to 1.3.5.
938 * registryd/Accessibility_Registry.server.in.in:
939 Marked up appropriate strings for translation.
941 * atk-bridge/bridge.c: Marked a couple of
942 user-visible warnings for translation. Questionable
943 whether they are really useful, but possibly so.
946 2003-06-28 Christian Rose <menthos@menthos.com>
948 * configure.in: Added "sv" to ALL_LINGUAS.
950 2003-06-26 Bill Haneman <bill.haneman@sun.com>
952 * registryd/registry.c:
953 (spi_registry_object_finalize): Unref the deviceeventcontroller.
954 (registry_defer_on_event): Defer focus: events, this is an
955 improvement to the patch for bug #108664.
957 * TODO: Update with 2.4/"Dev Complete" items.
959 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
961 * atk-bridge/bridge.c:
962 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
963 looks up signals once.
964 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
965 if doing registration.
966 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
967 when doing registration.
969 This fixes bug #115014.
971 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
973 * atk-bridge/bridge.c:
974 (atk_bridge_init): Add signal handler for children-changed:remove on
975 root when in a BonoboComponent.
976 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
977 for first toplevel only other incrememt variable toplevels.
978 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
979 application and remove listeners.
980 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
982 (spi_atk_deregister_event_listeners): New function which removes
984 (reinit_register_vars): New fuction which reinitializes variables.
986 This fixes bug #111578.
988 2003-06-13 Bill Haneman <bill.haneman@sun.com>
990 * configure.in: version 1.3.4.
992 * cspi/spi_accessible.c:
993 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
996 2003-06-13 Michael Meeks <michael@ximian.com>
998 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1000 * cspi/spi_main.c (cspi_peek_ev): impl.
1002 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1004 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1006 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1008 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1009 SPI_ROLE_AUTOCOMPLETE
1011 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1013 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1014 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1016 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1018 * libspi/streamablecontent.h:
1019 * libspi/streamablecontent.c:
1020 New files, provide implementation/wrappers for
1021 Accessibility_StreamableContent.
1023 * cspi/spi_streamablecontent.c:
1024 Connected the C wrappers to the libspi C bindings.
1025 (AccessibleStreamableContent_close): New method.
1028 (AccessibleStreamableContent_close): New method, needed
1029 since we have an "open, [seek], read, close" model in cspi.
1031 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1033 Fix for #108664; Padraig's revision of my original patch.
1035 * registryd/registry.h:
1036 Added event queue list, is_queuing, and exit_notify_timeout
1037 to the registry struct.
1039 * registryd/registry.c:
1040 (registry_init): Initialize new struct from registry.h.
1041 (impl_registry_notify_event):
1042 Filter events before notifying, in case some need to be
1044 (registry_filter_event): New,
1045 we defer certain incoming events (for instance
1046 window:deactivate) because we may wish to hide
1047 or reject them based on pending events. This is
1048 mostly a workaround for bug #108664.
1049 (registry_queue_event, registry_start_queue): New.
1050 (registry_defer_on_event): Test event to see if it
1052 (registry_reset_on_event): Returns TRUE if the
1053 event should cause a queue reset.
1054 (registry_discard_on_event): Returns TRUE if the event
1055 should cause the previous queue contents to be discarded.
1056 (registry_timeout_flush_queue): Flushes the pending event
1057 queue if no reset/discard-triggering events have come in
1058 within the timeout period.
1059 (registry_emit_event): New.
1060 (registry_clone_notify_context): New, used when queueing the
1061 event notify contexts.
1063 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1065 * configure.in: Version revved to 1.3.2, lt 0.9.2
1066 Incremented ATK required version to 1.3.4.
1068 * cspi/spi_registry.c:
1069 (SPI_generateKeyEvent):
1070 We now pass the keystring along if it's non-null.
1072 * registryd/deviceeventcontroller.c:
1073 (keysym_mod_mask): New method, returns modifier mask
1074 required to generate a keysym from a given keycode.
1075 (dec_synth_keysym): New method.
1076 (dec_synth_keystring): New method.
1077 (dec_get_modifier_state): New method.
1078 (dec_lock_modifiers): New
1079 (dec_unlock_modifiers): New.
1080 (dec_keysym_for_unichar): New, rather brute-force
1081 conversion from UCS-4 to X KeySyms. Only works for
1082 Latin at the moment, with partial implementations for
1083 Greek, Hebrew, and (incomplete) Katakana.
1084 (impl_generate_keyboard_event): Now implement
1085 "KEYSTRING" synthesis and implement "KEYSYM"
1087 (keycode_from_keysym): Improved, passes a returned
1088 modmask value now if the corresponding param is non-NULL.
1090 Fixes bugs #92143 and #109776.
1093 * test/keysynth-test.c:
1094 New test program for key synthesis, to confirm fixes for
1098 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1100 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1102 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1103 Add line for RELATION_POPUP_FOR
1105 * docs/reference/cspi/tmpl/spi_relation.sgml:
1106 Add relation SPI_RELATION_POPUP_FOR
1108 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1109 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1111 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1113 * libspi/relation.c (spi_init_relation_type_table):
1114 Add line for RELATION_POPUP_FOR
1116 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1118 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1119 there are still windows which have not been deleted and emit
1120 window:deactivate, if necessary and window:destroy events.
1121 This fixes bug #114370. The change on June 5th was not correct.
1123 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1125 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1128 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1130 New methods for client exception handling and interception.
1131 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1132 (SPI_exceptionHandlerPop): You guessed it...
1133 (SPI_getSourceType): Return the type of object which offended.
1134 (SPI_getExceptionCode): Return an enum code telling, possibly,
1135 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1136 (SPIAccessibleException_getSource): get the source object for
1137 exceptions that come from Accessibles, if SPIExceptionSourceType is
1138 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1139 (SPIException_getDescription): New, returns a string description of
1140 the problem. [Not yet a stable ABI, strings are not frozen]
1142 * cspi/spi-private.h:
1143 Added implementation details of opaque SPIException
1147 Implementations of above. Also
1148 (_cspi_exception_throw): new private method that
1149 dispatches exceptions to handlers, called from cspi-bonobo.c
1151 * cspi/bonobo/cspi-bonobo.c:
1152 (cspi_check_ev): call _cspi_exception_throw.
1153 Don't print a warning message if the exception has been
1154 handled by _cspi_exception_throw.
1156 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1158 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1159 there are still windows which have not been deleted and emit
1160 window:deactivate, if necessary and window:destroy events.
1161 This fixes bug #114370.
1163 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1166 (cspi_accessible_is_a): Make non-fatal
1167 if the object reference is dead.
1169 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1171 * cspi/spi_main.c: #include <stdio.h>
1172 * test/simple-at.c: ditto
1173 * test/event-listener-test.c: ditto
1174 * test/screen-review-test.c: ditto
1176 2003-05-30 Michael Meeks <michael@ximian.com>
1178 * test/test-simple.c (main): use CORBA_ORB_perform_work
1179 instead of an unnecessary linc_ call.
1181 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1183 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1184 Add SPI_STATE_INDETERMINATE.
1186 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1189 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1191 * libspi/stateset.c (init_state_type_tables): Add support for
1194 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1196 * configure: Update versions of atk and gail required.
1197 This fixes bug #113268.
1199 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1201 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1203 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1205 * libspi/Makefile.am:
1206 Ensure headers are generated before being used by c sources.
1208 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1211 Simplified lt versioning rules.
1212 Incremented version to 1.3.0, to indicate that we're on the
1213 unstable branch now.
1215 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1217 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1218 Add MKDB_OPTIONS=--outtput-format=xml
1220 * docs/reference/cspi/at-spi-cspi-docs.sgml
1221 docs/reference/idl/at-spi-idl-docs.sgml:
1222 Convert to Docbook XML.
1224 This fixes bug #111793.
1226 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1228 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1229 AcccessibleKeyEventType, AccessibleKeyMaskType.
1231 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1233 * cspi/state-types.h: Add documentation for AccessibleState.
1235 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1236 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1237 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1238 AccessibleComponentLayer.
1240 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1243 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1245 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1246 Accessible. Add description of AccessibleEvent,
1247 AccessibleEventListenerCB.
1249 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1252 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1253 documentation. Add description of AccessibleKeystrokeListenerCB,
1254 AccessibleKeyEventMask, AccessibleModifierMaskType,
1255 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1256 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1258 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1261 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1264 This fixes bug #104730.
1266 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1268 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1269 Set is_text field of Accessibility_DeviceEvent data structure.
1271 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1272 is-text field of AccessibleDeviceEvent data structure.
1274 This addresses part of bug #108666.
1276 * registryd/devcieeventcontroller.c: Unset debug option.
1278 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1280 * cspi/accessible.c:
1281 (cpi_initial_relation_type_table): New function which initializes
1282 mapping between Accessibility_RelationType and AccessibleRelationType.
1283 (cspi_relation_type_from_spi_relation_type): New function which
1284 translates an Accessibility_RelationType into an AccessibleRelationType.
1285 (AccessibleRelation_getRelationType): Use
1286 cpi_relation_type_get_spi_relation_type to return correct value.
1287 (spi_state_to_corba): Return correct type for default case.
1289 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1290 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1292 * cspi/cspi-bonobo-listener.c:
1293 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1296 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1297 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1298 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1299 libspi/image.c, libspi/listener.c, libspi/selection.c,
1300 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1301 registryd/desktop.c, registryd/registry.c:
1302 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1304 * libspi/eventlistener.c
1305 Remove semicolon after BONOBO_TYPE_FUNC.
1307 * libspi/relation.c:
1308 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1309 (spi_init_relation_type_table): Initialize using correct type.
1311 * registryd/desktop.c:
1312 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1313 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1314 of Accessibility_KeyEventType.
1316 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1319 * tests/simple-at.c, tests/screen-review-test.c:
1320 Add include for <strings.h>.
1322 * tests.stress-test.c:
1323 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1325 These changes fix compiler warnings when using FORTE compiler on
1326 Solaris; fixes bug #107479.
1329 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1332 * configure.in: revved to 1.1.10
1334 * libspi/keymasks.h:
1335 (SPI_KEYMASK_NUMLOCK): Added.
1337 * registryd/deviceeventcontroller.c:
1338 (spi_key_event_matches_listener): AND with a smaller
1339 bitmask (as we should).
1340 (spi_dec_translate_mask):
1341 New method, sets the virtual NumLock modifier bit
1342 if numlock is on. Eventually it can handle other virtual
1343 modifier bits if needed, or other marshalling from
1344 at-spi modifier masks to platform (X) masks.
1345 (spi_dec_key_listener_new):
1346 Call spi_dec_translate_mask to set up virtual mod bits
1347 in the 'mask' field when creating a new listener struct.
1348 (spi_dec_emit_modifier_event):
1349 Set the virtual (i.e. NumLock) bits before emitting event.
1350 (spi_controller_register_with_devices):
1351 Query for the NumLock modifier 'physical' bit if Xkb is
1352 present, for use in above methods.
1356 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1358 * registryd/deviceeventcontroller.c:
1359 (spi_keystroke_from_x_key_event):
1360 Instead of checking to see if the keysym is
1361 printable, check the string from XLookupString
1362 if available, get the first unicode character from it,
1363 and call g_unichar_isprint to determine whether the
1364 is_text flag should be TRUE or FALSE.
1368 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1370 * atk-bridge/bridge.c: Add support for extended events
1371 * cspi/spi_event.c: Add documentation and implementation for
1373 * tests/event-listener-test.c: Add tests for extended events.
1375 This fixes bugs #100424 and #100426.
1377 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1379 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1380 of LT_CURRENT. This fixes bug #89350.
1382 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1384 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1385 number of signal parameter values before accessing them. This fixes
1388 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1390 * configure.in: Fixed duplicate inclusion of -lspi.
1391 * branched for gnome-2-2/HEAD.
1392 [created tag "gnome-2-2"]
1394 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1396 * configure.in: 1.1.9 release.
1399 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1401 [needed by GOK, to fix bugs 107985 and 107988]
1402 * registryd/deviceeventcontroller.c:
1403 (spi_dec_clear_unlatch_pending):
1404 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1405 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1406 (spi_dec_init_mouse_listener):Emit warning if mouse button
1408 (spi_device_event_controller_forward_mouse_event):
1409 Removed unnecessary parens from a conditional.
1410 (global_filter_fn):Added TODO comment.
1411 (impl_generate_keyboard_event):
1412 Cancel a pending relatch if a 'delatching' key was
1415 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1417 * atk-bridge/bridge.c:
1418 Change atk_signal_child_changed to atk_signal_children_changed.
1419 Reorganize code in spi_atk_bridge_signal_listener().
1421 * test/event-listener-test.c:
1422 Add children_changed_listener and report_children_changed_event()
1423 to test AccessibleChildEvent_getChildAccessible.
1425 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1427 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1428 g_strdup to CORBA_String_dup (bug #105291)
1430 * test/event-listener-test.c (report_text_event): Add call to
1433 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1435 * registryd/deviceeventcontroller.c:
1436 (spi_keystroke_from_x_key_event):
1437 Fix string and keysym return codes to match modifier state.
1440 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1442 * registryd/deviceeventcontroller.c:
1443 (spi_keystroke_from_x_key_event):
1444 Fix segv due to improper use of isprint(c). [bug #107254]
1446 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1449 (get_accessible_text_boundary_type):
1450 Move default return value to (new) default case in switch.
1451 (get_accessible_text_clip_type):
1452 Move default return value to (new) default case in switch.
1454 * libspi/application.c:
1455 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1456 Remove unused methods.
1457 (impl_accessibility_application_register_object_event_listener):
1458 Remove unused methods.
1461 Added #include of <math.h>.
1463 * registryd/deviceeventcontroller.c:
1464 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1465 we don't currently use this method.
1466 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1468 (impl_generate_key_event):
1469 Remove unused variables.
1470 (impl_generate_mouse_event):
1471 Initialize button to zero, just in case we get an invalid
1472 input. Added support for mouse buttons 4 and 5.
1473 (spi_device_event_controller_new):
1474 Removed unused variable declaration for 'private'.
1476 Added #include of <gdk/gdk.h>
1478 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1480 * configure.in: Update to work when X is not installed in expected
1481 location. Fixes bug #105836.
1483 * atk-bridge/bridge.c
1484 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1486 (spi_atk_register_event_listener): Add signal listener for
1488 (spi_atk_bridge_signal_listener): Event event when link-selected
1489 signal is emitted. (bug #104622)
1491 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1492 on returned string. (bug #105291)
1494 * test/event-listener-test.c: Add test for link-selected.
1496 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1498 * atk-bridge/Makefile.am: Correct typo in previous commit.
1500 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1502 * atk-bridge/Makefile.am: Allow for build directory to be different
1503 from source directory
1505 * registryd/Makefile.am: Allow for build directory to be different
1506 from source directory
1510 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1513 Fixed dependencies for libcspi so that libspi gets pulled in
1514 properly. Fixes 104741.
1518 Clean up inline docs a little.
1520 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1522 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1523 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1524 the AtkObject within an SpiDesktop.
1525 This addresses bug #101524.
1527 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1528 Remove call to gdk_init().
1530 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1531 so that Display is set when SpiDesktop is created.
1533 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1535 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1536 This fixes bug #102830.
1538 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1540 * test/test-simple.c: Update to take account of fact that GailButton
1541 now implements AtkText.
1542 (create_text_window): Set name on AtkObject for GtkEntry.
1543 (validate_accessible): Check accessible name before calling test_text().
1545 * libspi/Makefile.am: Fix problem with building outside of source
1546 directory. Bug #98120.
1548 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1549 typo in documentation comments. Bug #94275.
1551 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1553 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1555 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1558 Add includes to avoid compiler warnings on Solaris.
1559 (impl_getRangeExtents): Bug fix.
1561 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1563 Fix for 100944, [API addition approved by Gman and murrayc].
1570 * idl/Accessibility_Text.idl:
1571 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1572 (Text::getRangeExtents): New method for efficient
1573 bounds query of a text range.
1574 (Text::getBoundedRanges): New method for efficient
1575 clipping of text to bounding boxes.
1576 (unImplemented7, unImplemented8):
1577 Removed these padding methods to preserve bincompat.
1580 (impl_getRangeExtents): implementation of new IDL.
1581 (impl_getBoundedRanges): implementation of new IDL.
1582 (SpiTextRect): Internal use struct.
1583 (_spi_text_rect_union): internal method, calculates union of two
1584 SpiTextRect bounding rects.
1585 (_spi_text_range_seq_from_gslist): internal method, allows us
1586 to build our sequence efficiently as a gslist then convert it
1588 (_spi_bounds_contain): internal method, determines whether
1589 a text character is "in" or "out" of a clip rect according to
1590 values of TEXT_CLIP_TYPE.
1591 (spi_text_class_init): Initialize the new methods in the epv.
1594 (AccessibleTextClipType): New enum used by screen review api.
1595 (AccessibleTextRange): New struct used by screen review api.
1596 (AccessibleText_getRangeExtents):
1597 cspi binding for Accessibility_Text_getRangeExtents.
1598 (AccessibleText_getBoundedRanges):
1599 cspi binding for Accessibility_Text_getBoundedRanges.
1600 (AccessibleTextRange_freeRanges): convenience method.
1603 (AccessibleText_getRangeExtents):
1604 cspi binding for Accessibility_Text_getRangeExtents.
1605 (AccessibleText_getBoundedRanges):
1606 cspi binding for Accessibility_Text_getBoundedRanges.
1607 (AccessibleTextRange_freeRanges): convenience method.
1608 (get_accessible_text_clip_type): internal conversion method.
1609 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1611 * registryd/deviceeventcontroller.c:
1612 (spi_dec_mouse_check):
1613 Improved behavior for mouse:abs events
1614 [same granularity as mouse:rel events, and no
1615 events when mouse is idle].
1617 2002-12-16 Michael Meeks <michael@ximian.com>
1619 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1621 * libspi/stateset.c (state_spi_to_atk): split out
1622 ( fix several remote array bounds nasties )
1623 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1624 (impl_remove): make safe from array bounds issues.
1625 (spi_atk_state_from_spi_state): impl.
1627 * libspi/stateset.h (spi_state_set_cache_is_empty):
1628 add a set of wrapper defines to get layering right.
1630 * cspi/spi_accessible.c: update state set stuff to
1633 2002-12-14 Michael Meeks <michael@ximian.com>
1635 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1636 to avoid 2 roundtrips to the registry per key event
1637 (spi_atk_bridge_key_listener): upd.
1638 (deregister_application): release the dec.
1640 * registryd/registry.c (notify_listeners_cb):
1641 bin lots of re-enterant complexity - we no longer
1642 do a round-trip bonobo ref here, ensure that a single
1643 listener's exception failure won't poison all other
1645 (impl_registry_notify_event): bin obvious memory leak.
1647 2002-12-13 Michael Meeks <michael@ximian.com>
1649 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1650 init the ev so the error is meaningful.
1651 (spi_atk_bridge_key_listener): ditto.
1653 * cspi/spi_main.c (cspi_ev): init the ev so we start
1654 with a clean slate, otherwise the first exception
1655 kills us completely.
1657 * cspi/spi_text.c (get_accessible_text_boundary_type):
1658 add a fallthrough for no warnings.
1660 * cspi/spi_registry.c: prune unused warnings.
1662 * cspi/spi_main.c (cspi_object_take): fix
1663 mind-blowing brokenness ( by watching the compile
1666 * cspi/spi_accessible.c (Accessible_getStateSet):
1667 re-impl. to use an AtkStateSet.
1668 (spi_state_type_from_accessible_state),
1669 (init_state_table): bin these.
1671 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1673 (atk_state_set_from_accessibility_state_set): here.
1675 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1676 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1677 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1678 (AccessibleStateSet_add, AccessibleStateSet_remove),
1679 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1680 (AccessibleStateSet_isEmpty): re-write to use a local
1683 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1685 * configure.in: Revved to 1.1.7 (new keymask vals).
1687 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1689 * libspi/keymasks.h:
1690 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1692 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1695 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1696 to compare two CORBA_TypeCodes.
1697 (cspi_internal_event_add): Silence warning from FORTE compiler.
1699 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1700 avoid implicit declaration of functions.
1702 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1704 * atk-bridge/bridge.c:
1705 (spi_atk_bridge_init_event_type_consts): Store signal id for
1706 active-descendant-changed signal.
1707 (spi_atk_register_event_listeners): Add signal listener for
1708 active-descendant-changed signal,
1709 (spi_atk_bridge_signal_listener): Move code in function
1710 spi_atk-signal_emit_event() into this function.
1711 Add support for active-descendant-changed
1712 Update support for child-changed signal.
1713 (spi_bridge_window_event_listener): Silence warning.
1715 * libspi/spi_private.[ch]:
1716 (spi_init_any_object): Change second parameter from CORBA_Object to
1718 Omit call to CORBA_Object_duplicate().
1719 Set CORBA_any's _value to CORBA_Object*.
1721 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1727 (AccessibleEvent_ref, AccessibleEvent_unref):
1728 New methods, for persisting an event outside the emission context.
1729 Must be used if the new accessor methods are to be called
1730 outside of the event listener's callback.
1732 * cspi/bonobo/cspi-bonobo.c:
1733 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1734 as second parameter instead of NULL, so we can call
1735 cspi_check_ev afterwards.
1738 (cspi_object_take): New internal method,
1739 converts a CORBA_Object reference to a hard ref on
1740 an Accessible if possible, returning NULL if the object
1741 reference is invalid or an Accessible * otherwise.
1744 (AccessibleEvent_ref):
1745 Increment the event's internal private refcount, and
1746 add the event's internal struct to an internal cache
1747 if it's not already there.
1748 (AccessibleEvent_unref):
1749 Decrement the event's refcount and remove it from
1750 the cspi event cache if refcount==0.
1751 (cspi_event_compare): New private method.
1752 Compares two event structs via their ids. Used
1754 (cspi_internal_event_lookup): New private method.
1755 (cspi_internal_event_check): New private method,
1756 a 0-order sanity check for events to make sure their
1757 private data is intact.
1758 (cspi_internal_event_add, cspi_internal_event_remove):
1759 New private methods for managiing the event cache.
1761 * cspi/bonobo/cspi-bonobo-listener.c:
1763 Initialize the new private data elements (id, magic, ref_count).
1765 * atk-bridge/bridge.c:
1766 (spi_atk_bridge_signal_listener):
1767 Fixed bug #100530, passing wrong params to emission func.
1769 * registryd/deviceeventcontroller.c:
1770 (spi_dec_button_update_and_emit):
1771 Fixed type in mask bit operations; fix for #99799.
1773 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1775 Removed some of the more dangerous workarounds from
1776 previous commit; they are only needed by GOK, which
1777 in reality should be using another method to accomplish
1778 the goals. So on reconsideration some of the workarounds
1779 need to be reverted:
1781 * registryd/deviceeventcontroller.c:
1782 (spi_keycodes_contain, spi_dec_init_keycode_list):
1783 Removed these methods, used only by a nasty hack to try
1784 and detect whether a key synthesis should be allowed
1785 to reset the XKB latch state or not. This code was only
1786 required to work around an interaction between GOK,
1787 button events, and XKB.
1788 (impl_generate_key_event):
1789 Removed hack at end of key generation that tried to
1790 "do the right thing" if XKB latch keys were generated
1791 in the midst of button press/release pairs.
1794 Added a check for HAVE_XINPUT. Not normally used yet.
1796 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1798 Workarounds and fixes for mouse event/XKB interaction.
1800 * registryd/deviceeventcontroller.c:
1801 (spi_keycodes_contain, spi_dec_init_keycode_list):
1802 New internal methods.
1803 (spi_dec_set_unlatch_pending):
1804 Split the method that tells XKB to expect an
1805 unlatch (and revert it) out of the rest of the
1806 event handling code. This method is called by the
1807 two mouse event handlers (the poll and the filter).
1808 (spi_dec_update_and_emit, spi_dec_mouse_check):
1809 New methods split from spi_dec_poll_mouse_moved.
1810 The second one is now called from inside the filterFn
1811 when an XKB delatch event is received, to determine
1812 whether to revert the delatch or not.
1813 (spi_poll_mouse_moved): Refactor; also we can now
1814 properly handle the case where multiple button states
1815 have changed between polling cycles and we didn't get
1816 notified due to another client's grab.
1818 Synchronize the server while handling an XKB notification.
1819 Ugly, but apparently necessary to avoid nasty races.
1820 Check the mouse state on receipt of an XKB latch change,
1821 to decide whether to revert the latch or not. (Latches are
1822 reverted if there is an immediately preceding mouse button
1823 event that a client has consumed, in which case we don't want
1824 the user to see the side-effect of the event).
1825 (spi_device_event_controller_forward_mouse_event):
1826 Check for modifier events and fire before resetting mouse_mask_state,
1827 prevents losing modifier events.
1829 (impl_generate_keyboard_event):
1830 If we've just generated a keyboard event for a non-shift key,
1831 we don't want to revert the pending XKB latch.
1832 Otherwise, check the modifier state (via a call to
1833 spi_dev_mouse_check) and set the relatch mask to
1834 that state before returning.
1836 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1839 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1842 * atk-bridge/bridge.c:
1843 (spi_atk_register_event_listeners):
1844 Don't re-register for ATK events if the registry has died
1845 and the app needs to re-register; the ATK listeners are in
1846 process and doing so will cause duplicate emission.
1848 * registryd/deviceeventcontroller.c:
1849 (spi_poll_mouse_moved):
1850 Reformat the source, detect and emit multiple button-change
1851 events (i.e. if multiple buttons have changed between poll
1853 Add code to detect mouse-down events even when the pointer
1854 is grabbed; workaround for GOK bug 98420.
1855 (spi_controller_register_with_devices):
1856 Call XTestGrabControl with 'impervious' flag set to True,
1857 allows us to synthesize events and query the pointer even during
1858 an active grab by another client.
1859 (spi_device_event_controller_forward_mouse_event):
1860 Set the mouse_mask_state to the mouse_button_state from
1861 the intercepted event, to synchronize the grab listener with
1864 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1866 * cspi/spi_accessible.c:
1867 (AccessibleRole_getName):
1868 Added necessary strings for making this (deprecated)
1869 method work with the new role types.
1870 (init_role_table, role_table):
1871 Added definition of SPI_ROLE_APPLICATION.
1873 * libspi/spi-roletypes.h:
1874 Added SPI_ROLE_APPLICATION.
1876 * idl/Accessibility_Role.idl:
1877 Added ROLE_APPLICATION.
1879 * docs/reference/cspi/at-spi-cspi-decl.txt:
1880 Added SPI_ROLE_APPLICATION to docs.
1882 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1884 * cspi/spi_accessible.c
1885 (cspi_init_role_table): Do not write beyond end of role_table.
1886 (Accessible_getRole): Use correct type for value returned by
1887 Accessibility_Accessible_getRole().
1889 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1890 beyond end of role_table. (This fixes bug #98269)
1892 * libspi/application.c: Add include file spi-private.h for
1893 definition of spi_init_any_nil.
1895 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1899 * libspi/spi-private.h:
1900 Added DGB() macro, and extern int _dbg declaration.
1902 * registryd/registry.c:
1903 (definitions) storage for _dbg.
1904 (spi_registry_init):
1905 Get environment variable "AT_SPI_DEBUG".
1906 (spi_registry_set_debug):
1907 New method, to initialize _dbg value.
1908 (spi_listener_struct_new, spi_registry_object_finalize):
1909 (notify_listeners_cb):
1910 Changed fprintfs to use DBG and g_warning().
1912 * registryd/deviceeventcontroller.c:
1913 (_deregister_keygrab, spi_controller_register_device_listener):
1914 Changed debug/warning messages to use DBG macro.
1916 * libspi/listener.c:
1917 (impl_notify_event):
1918 Changed warning messages to use DBG macro and g_warning().
1920 * atk-bridge/bridge.c:
1921 (atk_bridge_init, spi_atk_bridge_get_registry):
1922 (spi_atk_bridge_exit_func):
1923 (spi_atk_bridge_property_event_listener):
1924 Changed status, warning, and error messages to use
1925 g_warning, g_message, and DBG macros.
1928 Read the state of the AT_SPI_DEBUG environment variable
1929 and set a local '_dbg' accordingly.
1931 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1933 FIXES for 98836, 98842, other bugs.
1936 Revved to 1.1.4, interface-age=4, binary-age=4.
1938 * registryd/deviceeventcontroller.c:
1940 Fixed crasher bug in last_mouse_pos initialization.
1942 * registryd/registry.c:
1943 (desktop_add_application, desktop_remove_application):
1944 Added (and then commented out) some support for
1945 object context marshalling. [TODO]
1947 * atk-bridge/bridge.c:
1948 (spi_atk_bridge_event_context_create):
1949 Commented out object context creation until it can
1950 be properly tested and debugged.
1952 * registryd/registry.c:
1953 (impl_registry_notify_event):
1954 Fixed crasher bug, we were calling
1955 spi_re_entrant_list_foreach () with an empty list.
1957 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1959 * idl/Accessibility_Action.idl:
1960 * idl/Accessibility_Component.idl:
1961 * idl/Accessibility_Desktop.idl:
1962 * idl/Accessibility_Event.idl:
1963 * idl/Accessibility_Hyperlink.idl:
1964 * idl/Accessibility_Image.idl:
1965 * idl/Accessibility_Relation.idl:
1966 * idl/Accessibility_Selection.idl:
1967 * idl/Accessibility_State.idl:
1968 * idl/Accessibility_Value.idl:
1969 Updated unimplemented slot count to minimum of
1970 four for all interfaces, for ABI freeze.
1972 * idl/Accessibility_EditableText.idl:
1973 * idl/Accessibility_Text.idl:
1974 Updated unimplemented slot count to six
1977 * idl/Accessibility_Registry.idl:
1978 Updated unimplemented slot count to six
1979 (also for DeviceEventController),
1982 * idl/Accessibility_Table.idl:
1983 Updated unimplemented slot count to eight,
1986 * idl/Accessibility_Event.idl:
1987 Added CORBA_any "any_data" member to Event struct.
1989 * idl/Accessibility_Event.idl:
1990 Added CORBA_any "any_data" member to Event struct.
1992 * atk-bridge/bridge.c:
1994 atk_signal_text_changed, atk_signal_child_changed,
1995 signal ids queried from gtype system.
1996 (AtkBridgeEventContextType): New enum.
1997 (AtkBridgeEventContextData): New struct.
1998 (AtkBridgeEventContext): New struct.
1999 (atk_bridge_init_event_type_consts):
2000 New method, initializes type contants for comparison
2001 prior to emit_eventv.
2002 (atk_bridge_event_context_init): New method,
2003 initializes a CORBA_any from an AtkBridgeEventContext.
2004 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2005 initialize the event.any_data struct.
2006 (spi_atk_bridge_event_context_create): New method,
2007 creates an AtkBridgeEventContext from signal/event info.
2008 (spi_atk_bridge_event_context_free): New method.
2009 (spi_atk_emit_eventv): Changed to take an
2010 AtkBridgeEventContext parameter. We now initialize
2011 the event.any_data member prior to notifying the
2012 Registry, via the AtkBridgeEventContext.
2013 (spi_atk_bridge_property_event_listener):
2014 (spi_atk_bridge_state_event_listener):
2015 Match emit_eventv signature.
2016 (spi_atk_bridge_object_event_listener):
2017 Match emit_eventv signature, and create an
2018 event context from the event details.
2019 Free the event context afterwards.
2020 (spi_atk_bridge_window_event_listener):
2021 Create an event context, pass it to the
2025 (AccessibleEvent_getContextString):
2026 (AccessibleEvent_getContextObject):
2027 New methods, allow query of AccessibleEvent objects
2028 for more context details (via the "any_data" member
2029 of the Event struct, above).
2032 Definitions for AccessibleEvent_getContextString
2033 and AccessibleEvent_getContextObject.
2035 * cspi/spi_listener.h:
2036 (InternalEvent): New struct.
2039 (AccessibleEvent_getContextString):
2040 (AccessibleEvent_getContextObject):
2041 Implementations of new methods, for obtaining
2042 additional context information from some event types.
2044 * cspi/spi_registry.c:
2045 (SPI_registerGlobalEventListener):
2046 Added mention of active-descendant-changed event in docs.
2048 * cspi/cspi-bonobo-listener.c:
2050 Marshal the any into the AccessibleEvent via
2053 * libspi/spi-private.h:
2054 #include <orbit/orbit.h>
2056 (spi_init_any_string):
2057 (spi_init_any_object):
2058 New convenience function declarations.
2062 (spi_init_any_string):
2063 (spi_init_any_object):
2064 New convenience function implementations.
2066 * registryd/deviceeventcontroller.c:
2067 (spi_poll_dec_mouse_moved):
2068 (spi_device_event_controller_forward_mous_event):
2069 Initialize any_data member of event.
2070 (spi_deregister_controller_device_listener):
2071 Fix incorrect param pass which was preventing deregistration.
2073 * registryd/registry.c:
2074 (desktop_add_application):
2075 (desktop_remove_application):
2076 Add object data to event's any_data before dispatch.
2078 Fix for error messages from GAIL.
2080 * test/event-listener-test.c:
2081 Test new ContextString and "any_data" API:
2082 (report_text_event): New method query and output context string.
2083 (main): register a new text listener with report_text_event
2086 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2088 Fixes for bugs 98127 and 97914.
2089 * cspi/spi-roletypes.h:
2090 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2092 * cspi/spi-statetypes.h:
2093 Added SPI_STATE_MANAGES_DESCENDANTS
2095 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2096 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2097 * cspi/spi_accessible.c:
2098 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2099 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2100 Accessibility_STATE_MANAGES_DESCENDANTS
2101 * libspi/accessible.c:
2102 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2103 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2104 As requested by Bill, I also cleaned up the alignment.
2105 * libspi/relation.c:
2106 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2107 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2108 * libspi/stateset.c:
2109 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2110 Accessibility_STATE_MANAGES_DESCENDANTS
2111 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2112 Document changes reflecting modifications to roles.
2113 * docs/reference/cspi/tmpl/spi_relation.sgml:
2114 Document changes reflecting modifications to relations.
2115 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2116 Document changes reflecting modifications to states.
2118 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2121 Revved to 1.1.3, interface-age=3, binary-age=3.
2122 Added REBUILD macro.
2125 Removed accessx-gui from the tests, since we have a nice
2126 keyboard accessibility capplet now :-)
2128 * test/keysynth-demo.c:
2129 (increment_scan): removed do-nothing default: case,
2132 * test/visual-bell.c:
2133 (main) : removed do-nothing default: case,
2136 * cspi/spi_action.c:
2137 (AccessibleAction_getKeyBinding_):
2138 Documented keybinding string format.
2142 (AccessibleText_getAttributes):
2143 Documented the text attribute string format.
2144 It's changed to use semicolon delimiters also,
2145 to prevent clashes with CSS attributes, but the old
2146 trick of looking for ", " strings will still work
2147 (as unreliably as ever). Fix for bug related to 97916.
2150 Include <cspi/bonobo/cspi-bonobo-listener.h>
2151 Fixes build warning.
2152 (SPI_freeAccessibleKeySet):
2153 (AccessibleKeystrokeListener_addCallback):
2154 (AccessibleKeystrokeListener_removeCallback):
2155 Modify to use AccessibleDeviceListener API internally,
2156 instead of AccessibleKeystrokeListener.
2158 * idl/Accessibility_Event.idl:
2159 Added two more empty slots to EventListener (for a total of four).
2161 * idl/Accessibility_Accessible.idl:
2162 Added four empty slots to Accessible interface.
2164 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2166 * idl/Accessibility_Registry.idl:
2167 (KeyEventType, EventType):
2168 Marked KeyEventType as deprecated; it duplicates
2169 functionality of EventType, which has been extended to
2170 include Mouse-button events.
2171 (KeyEventTypeSeq): defined in terms of EventType.
2172 (registerDeviceEventListener, deregisterDeviceEventListener):
2173 New methods, for managing listeners to device events,
2174 which potentially may consume them.
2177 Added definition for AccessibleDeviceListener.
2179 * cspi/spi-listener.h:
2180 (enum AccessibleDeviceEventType):
2181 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2182 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2183 for backwards compat.
2184 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2185 and typedef'd AccessibleKeystroke to it for back-compat.
2186 (AccessibleDeviceListenerCB):
2187 New function prototype typedef.
2190 (AccessibleDeviceEventMask): New typedef.
2191 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2192 (AccessibleKeyMaskType):
2193 Set equivalent to AccessibleModifierMaskType for back-compat.
2194 (SPI_createAccessibleKeystrokeListener):
2195 (AccessibleKeystrokeListener_unref):
2196 Deprecated in favor of equivalent (better-named) new API below..
2197 keystroke listeners are like all device listeners.
2198 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2199 New API names for old features :-).
2200 (AccessibleDeviceListener_addCallback):
2201 (AccessibleDeviceListener_removeCallback):
2202 (SPI_registerDeviceEventListener):
2203 (SPI_deregisterDeviceEventListener):
2207 (SPI_createAccessibleKeystrokeListener):
2208 Use new preferred API, cspi_device_listener_new() and
2209 cspi_device_listener_add_cb().
2210 (AccessibleKeystrokeListener_removeCallback):
2211 Use new preferred API, cspi_device_listener_remove_cb().
2212 (AccessibleKeystrokeListener_unref):
2213 Use new preferred API, cspi_device_listener_unref().
2214 (SPI_createAccessibleDeviceListener):
2215 (AccessibleDeviceListener_addCallback):
2216 (AccessibleDeviceListener_removeCallback):
2217 Implementation of new API.
2219 * cspi/spi_registry.c:
2220 (SPI_registerDeviceEventListener):
2221 (SPI_deregisterDeviceEventListener):
2222 Implementation of new API. Fixed memory leak and removed need to
2223 allocate EventTypeSeq (thanks Michael for catching this).
2224 Squashed a wayward CORBA_exception_free that shouldn't get called.
2226 * cspi/bonobo/cspi-bonobo-listener.c:
2228 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2229 (cspi_key_event): renamed to cspi_device_event().
2230 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2231 Extended to handle mouse button events as well as key events.
2232 (CSpiKeystrokeListener):
2233 Class superceded by CSpiDeviceListener.
2234 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2235 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2237 * cspi/bonobo/cspi-bonobo-listener.h:
2238 (CSpiKeystrokeListener):
2239 Class superceded by CSpiDeviceListener.
2240 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2241 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2243 * libspi/Makefile.am:
2244 Replaced keystrokelistener.h and keystrokelistener.c
2245 with devicelistener.h and devicelistener.c; keystrokelisener.h
2246 stub retained for back-compat.
2248 * libspi/keystrokelistener.c:
2252 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2254 * registryd/deviceeventcontroller.c:
2255 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2256 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2257 (DEControllerPrivateData): Added xkb settings data.
2258 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2259 button release events (which can't be captured via XGrabButton).
2260 Don't dispatch via the 'normal' event mechanism if the device event was
2262 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2263 Handle the typeseq data in its new location (see above).
2264 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2265 New methods, for "generic" device listeners.
2266 (spi_controller_register_device_listener):
2267 Now handle mouse event listeners as well as key listeners.
2268 (spi_controller_notify_mouselisteners):
2269 New internal method.
2270 (spi_device_event_controller_forward_mouse_event):
2271 Now we notify mouse device listeners as well as generating the
2272 non-consumable "mouse:" events.
2274 We must check and restore the XKB
2275 modifier map if we consume the event, since the act of triggering
2276 a mouse event will normally reset the XKB latch. This is required for
2278 (spi_controller_register_with_devices):
2279 Load the XKB settings when registering, and register for XKB
2280 state notify events.
2281 (spi_key_eventtype_seq_contains_event):
2282 Renamed spi_eventtype_seq_contains_event, since it's used
2283 internally for all device event types now.
2284 (spi_key_event_matches_listener):
2285 Uses spi_eventtype_seq_contains_event now.
2286 (spi_device_event_controller_object_finalize):
2287 Free the private data and the XkbKeyboard struct.
2288 (impl_register_device_listener, impl_deregister_device_listener):
2289 Implementation of new IDL.
2290 (spi_deregister_controller_device_listener):
2291 New internal method.
2292 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2293 More efficient implementation, we don't have to create a new
2294 XkbControls structure every time we query.
2295 (spi_device_event_controller_class_init):
2296 Initialize the epv entries for the new IDL. Assign the
2297 "spi-dec-private" quark.
2298 (spi_device_event_controller_init):
2299 Initialize the private data.
2300 (spi_device_event_controller_forward_key_event):
2301 Removed a bogus CORBA_exception_free() call.
2303 * registryd/deviceeventcontroller.h:
2304 Replaced inclusion of keystrokelistener.h with
2307 * test/event-listener-test.c:
2308 (report_mouse_event):
2311 Added mouse-event device listener.
2313 * test/test-simple.c:
2314 (create_test_window):
2315 Fixed regression (we were instantiating a GtkRange,
2316 which is now an abstract class). Also fixed to match
2317 existing AtkRole names, this seems to have changed in ATK
2318 awhile ago; too late now I think, and the new
2319 mechanism is at least elegant and consistent with the
2320 glib enum "nick" APIs.
2322 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2324 * idl/Accessibility_Relation.idl:
2325 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2326 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2327 * idl/Accessibility_Role.idl:
2328 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2329 * idl/Accessibility_State.idl:
2330 add STATE_MANAGES_DESCENDANTS
2331 * test/event-listener-test.c:
2332 Added a listener for active-descendant events.
2334 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2336 * atk-bridge/bridge.c
2337 (atk_bridge_init): If application is Bonobo component wait until top
2338 level is added before registering
2339 (spi_atk_bridge_do_registration): New function which contains code,
2340 formerly in atk_bridge_init, to do application registration.
2341 (spi_atk_bridge_toplevel_added): Signal called when top level
2342 added to Bonobo component
2344 This fixes bug #83134.
2346 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2348 * registryd/deviceeventcontroller.c
2349 Fixed compilation error caused by calling gettimeofday()
2352 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2357 Added template for HAVE_XKB.
2360 Changes to check for XKB, and to set the HAVE_XKB #define if it
2363 * libspi/listener.c:
2364 ()impl_notify_event): Make failure to get event source name
2367 * registryd/deviceeventcontroller.c:
2368 (#include): include X11/XKBlib.h.
2369 (DEControllerPrivateData) : New struct.
2370 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2372 (dec_synth_keycode_press) (dec_synth_keycode_release):
2373 New methods; split the key synthesis code into these methods.
2374 They check XKB settings before determining the "time" values to
2375 pass to Xtest; this fixes bug #95828.
2376 (impl_generate_keyboard_event): Changed to use methods above,
2377 instead of callng Xtest directly.
2378 (spi_device_event_controller_init): Initialize new privae struct s
2380 (spi_device_event_controllr_object_finalize):
2381 Free the (new) private data.
2383 * registryd/deviceeventcontroller.h:
2384 Add new gpointer to end of struct data.
2386 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2389 Incremented revision to 1.1.2, SONAME is still '.so', library
2390 extensions are ".so.0.0.2".
2392 * registryd/deviceeventcontroller.c:
2393 FIXES FOR #93592 and #95940.
2394 (statics): renamed mouse_button_state to mouse_mask_state,
2395 added key_modifier_mask.
2396 (spi_dec_poll_mouse_moved):
2397 Added key modifier checks, and emit "keyboard:modifiers"
2398 events when the key modifiers currently in use change.
2399 Also generate "mouse:abs" events periodically, even if the mouse
2400 is stationary (should we?).
2401 Alternatively we could generate "mouse:abs" events for either all
2402 mouse movements, or every 'nth' mouse movement, or at the
2403 beginning and end of every "active" mouse period.
2405 * test/event-listener-test.c:
2406 (main): Added listener for "keyboard:modifiers" events.
2408 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2410 * libspi/keymasks.h:
2411 Added key mask #defines for mouse buttons; e.g.
2412 SPI_KEYMASK_BUTTON1, etc.
2415 Incremented dependency on ATK to version 1.1.0. (This dependency
2416 is probably premature but will soon be real enough).
2418 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2420 * libspi/hyperlink.[ch]
2421 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2422 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2425 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2430 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2432 * registryd/deviceeventcontroller.c
2433 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2434 events to be ignored.
2435 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2436 keyboard_mode so that XAllowEvents() can be called.
2440 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2442 * cspi/spi-accessible.c: Correct names of roles returned by
2443 AccessibleRole_getName(). Fixes bug #95055.
2445 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2447 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2450 * registryd/registry.c
2451 (desktop_remove_application: Write diagnostic message to stderr for
2454 (impl_accessibility_registry_deregister_global_event_listener):
2455 Correct size of lists array. This addresses bug #94555).
2457 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2459 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2462 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2464 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2467 * registryd/registry.c (impl_registry_notify_event): Remove
2468 unnecessary call to parser_event_type().
2470 * docs/reference/cspi/tmpl/spi_component.sgml:
2471 Add reference to SPI_LAYER_WINDOW.
2473 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2475 * registryd/registry.c
2476 (desktop_add_application): Remove leak.
2477 (desktop_remove_application): Remove leak.
2478 (parser_event_type): Remove leak.
2480 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2482 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2483 bogus call to CORBA_string_dup(). Also removed unnecessary
2484 g_string_dup/g_free calls.
2486 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2488 * registryd/deviceeventcontroller.c:
2489 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2491 * test/event-listener-test.c:
2492 main: commented out three redundant listeners, to reduce output
2493 noise. (They still are potentially useful for testing).
2496 2002-09-13 Michael Meeks <michael@ximian.com>
2498 * Update all the copyrights to include Ximian.
2500 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2502 * cspi/spi.h: add SPI_LAYER_WINDOW.
2504 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2505 add Accessibility_LAYER_WINDOW case.
2507 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2509 * libspi/component.c: (impl_accessibility_component_get_layer):
2510 add ATK_LAYER_WINDOW case.
2512 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2514 * configure.in: incremented micro version.
2516 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2518 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2521 Clarified and reworded our commit policy.
2524 Started an API "todo" addition list for 2.2.
2527 (impl_getSelection):
2528 Free char pointer from atk_text_get_selection, which was being leaked.
2530 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2533 Small revision to author acknowledgement.
2535 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2537 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2538 If signal has detail add it to the type of the event.
2541 2002-08-12 Michael Meeks <michael@ximian.com>
2543 * test/test-simple.c (global_listener_cb): bin bogosity.
2544 (test_keylisteners): disable, still doesn't work reliably,
2545 certainly not on my system anyway.
2547 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2548 don't leak a reference on the DEC. This round-trip
2549 fetching of the DEC per keystroke sucks, it should be
2552 * cspi/spi-private.h,
2553 * cspi/cspi-lowlevel.h,
2554 * cspi/bonobo/cspi-bonobo-listener.[ch],
2555 * cspi/bonobo/cspi-bonobo.c: get the copyright
2556 notices better - there is still a large amount of
2557 work in at-spi falsely attributed solely to Sun.
2559 * cspi/spi_main.c (cspi_object_ref): kill bogus
2560 hash lookup, just increment the ref.
2561 (SPI_freeString): make explicit the fact that we
2562 handle NULL strings just fine.
2563 (report_leaked_ref): obey coding standards.
2564 (cspi_object_hash, cspi_object_equal): kill retval.
2565 (cspi_object_release): only release if not on loan.
2566 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2567 (cspi_object_borrow, cspi_object_return): impl.
2569 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2570 use cspi_object_borrow / return.
2572 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2574 * cspi/bonobo/cspi-bonobo-listener.c:
2576 Don't call cspi_oject_new() because this is creating a new Accessible
2577 every single time that an event is fired. This causes ATs like at-poke
2578 to nolonger recognise the source of the event and thus ignore it.
2579 Re-use the object from the cache, ref it and then unref it after the
2580 listeners have been called.
2582 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2584 * test/event-listener-test.c:
2585 Added command-line options to disable mouse events (m) and
2588 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2590 * configure.in: Update required versions of ATK, GTK+ and GAIL
2592 * cspi-1.0.pc.in: Add dependency for X include files
2595 * cspi/bonobo/Makefile.am:
2596 Add $(X_CFLAGS) so that X include files
2597 are picked up even if not in standard place (bug #71686)
2599 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2601 * registryd/deviceeventcontroller.c: fix for 84261
2602 (spi_dec_mouse_moved):
2603 Added test of mouse button mask, so that we can detect mouse
2604 button release. Unfortunately we can't otherwise detect mouse
2605 button release events without consuming the mouse press event,
2606 because of the way XGrabButton works. This means that our mouse
2607 release events have a latency dependent on the polling period
2608 while the mouse button is down. At least in this case we only
2609 have to poll while the button is down, and not at other times.
2610 If the button masks don't match with what the last press event
2611 reported, we report the appropriate button release event.
2612 (spi_dec_ungrab_mouse):
2613 New method (not yet called).
2614 (spi_device_event_controller_forward_mouse_event):
2615 New method, sends mouse press event from GdkFilter.
2616 (spi_dec_init_mouse_listener):
2617 Added code to call XGrabButton, redirecting mouse button events to
2618 the root window and our Gdk event loop.
2620 Added code to filter mouse button events, and reordered.
2622 * test/event-listener-test.c:
2624 Added registration for mouse events of type "mouse:button".
2626 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2628 * registryd/deviceeventcontroller.c: partial fix for 84261
2629 (spi_dec_poll_mouse_idle):
2630 New method, a timeout which checks to see if the mouse
2632 (spi_dec_poll_mouse_moving):
2633 A timeout to be called when mouse motion is underway.
2634 (spi_dec_poll_mouse_moved):
2635 A method which fires an event if the mouse has moved, and reports
2636 whether or not it did so.
2637 (spi_dec_init_mouse_listener):
2638 A method which sets up the timeouts above.
2639 (spi_device_event_controller_new):
2640 Now calls spi_dec_init_mouse_listener.
2642 * registryd/registry.c:
2643 (spi_registry_init):
2644 Now we initialize the device event controller when the registry is
2645 initialized, instead of waiting until a client has requested a key
2646 event notification; this is because we need the event controller
2647 for mouse events, but the mouse event registration API is a
2648 "registry" call and doesn't explicitly call the
2649 deviceeventcontroller.
2650 We now report mouse motion events with a 100 ms idle latency and
2651 a 20 ms granularity when motion is in progress.
2653 * test/event-listener-test.c:
2655 We now register the "detail listener" for events of type
2656 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2657 delivered only for the first mouse event received, and thereafter
2658 "mouse:abs" events are delivered.)
2660 * cspi/spi_registry.c:
2661 DOCS: Documented the above mouse event typestrings.
2663 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2665 Happy Summer Solstice...
2667 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2668 (spi_controller_notify_keylisteners):
2669 Changes to remove a listener from the listener list, freeing its
2670 open keygrabs, if a notification to that listener fails. This
2671 means that although a dead listener can continue to hold a passive
2672 keygrab, a maximum of one dispatch to such a listener can fail
2673 before the listener is removed from the list, thus the keygrab
2674 will be released on the next occurrence.
2675 As part of this fix:
2676 (spi_notify_keylisteners):
2677 Renamed to spi_controller_notify_keylisteners, as the controller
2678 instance must now be passed as an argument.
2679 The copied 'notify' GList is now a list of DEControllerKeyListener
2680 objects, since we need more than just the CORBA reference if a
2681 notify fails and we need to deregister the listener.
2682 (impl_notify_listeners_sync):
2683 (impl_notify_listeners_async):
2684 (spi_device_event_controller_forward_key_event):
2685 Modify use of notify_keylisteners in accordance with above
2687 (spi_deregister_controller_key_listener):
2688 New method introduced by refactoring, from
2689 impl_deregister_keystroke_listener.
2690 (impl_deregister_keystroke_listener):
2691 Call spi_deregister_controller_key_listener.
2692 (spi_key_listener_clone):
2693 New method to copy a key listner without doing a 'ref' on the
2694 remote object instance; used to create a notifier list.
2695 (spi_key_listener_data_free):
2696 New method, frees data without unreffing the source.
2698 (spi_key_listener_clone_free): new method.
2699 (spi_key_listener_free):
2700 refactored to call spi_key_listener_data_free.
2702 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2704 * registryd/registry.c: [fix for bug 86048]
2705 (notify_listeners_cb):
2706 Clear CORBA system exceptions which occur when notifying
2707 listeners, before returning to the source of the original event,
2708 since the event source doesn't care if the relayed notify failed.
2709 In other words, don't complain to the atk-bridge if the registry
2710 could not notify all its listeners, that's no fault of the
2711 application and thus should not appear to be an error from the
2712 application's perspective.
2714 * cspi/spi_main.c: [fix for bug 85980]
2716 Replaced use of bonobo_object_dup_ref with call to the wrapper
2717 method, csou_dup_ref (); this silences a compiler warning and
2718 provided more portability.
2720 Ping the registry before return, and restart if necessary.
2722 * cspi/bonobo/cspi-bonobo.c:
2724 New internal method.
2726 Fixed this method to return an object reference, as it should have
2729 * cspi/cspi-lowlevel.h:
2730 Added internal definition for cspi_ping() and fixed
2731 return type of cspi_dup_ref().
2734 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2736 * atk-bridge/bridge.c: [fix for bug 85305]
2737 (spi_atk_bridge_register_application):
2738 New method where the initial application registry calls have been
2739 moved; it allows an application to re-register in response to
2740 certain error conditions (such as a registry restart, see below).
2742 Moved some initialization code to the method
2743 spi_atk_bridge_get_registry, below.
2744 (spi_atk_bridge_get_registry):
2745 New, private accessor function for the Accessibility_Registry
2746 instance. If the registry has not been started before, or has
2747 died (as detected by failure of a CORBA exception), it is
2748 restarted before return, and spi_atk_bridge_register_application
2749 is called again to register with the new bridge instance.
2750 (spi_atk_emit_eventv):
2751 Set registry_died on error; use spi_atk_bridge_get_registry () to
2752 access the registry.
2754 * registryd/registry.c:
2755 (impl_accessibility_registry_register_global_event_listener):
2756 Set listener's event_type_quark to etype.minor instead of
2757 etype.major (fix for bug 84856).
2759 * test/event-listener-test.c:
2760 (report_detail_event):
2761 Change the output string so that user/tester can tell that the
2762 'detail listener' was called instead of the 'generic listener'.
2764 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2766 Fixes for bugs 84900, 84908, 84897, 84898.
2771 Revved version to 1.1.0
2772 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2773 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2775 * idl/Accessibility_Registry.idl:
2776 (EventListener::notifyEvent):
2777 Removed 'oneway' directive after extensive consulation with
2778 ORBit2 team and others. This means also that unref() of the event
2779 source can and should be done synchronously after emission, rather
2780 than remotely in the client, after servicing the notify call on
2783 NOTE: This change speeds up listener performance considerably, but
2784 introduces new latency on the application side. We may want to
2785 add an event queue to the atk-bridge.
2787 * atk-bridge/bridge.c:
2788 (spi_atk_bridge_focus_tracker):
2789 Do a local unref() on the event source after emission.
2791 * registryd/registry.c:
2792 (desktop_remove_application):
2793 Do an unref() on the event source after emission.
2794 (desktop_add_application):
2795 Do an unref() on the event source after emission.
2796 (notify_listeners_cb):
2797 When relaying an event, don't automatically add the event source
2798 to the local object cache, just CORBA_dup it instead. Likewise,
2799 if this method reenters, release the ref rather than calling
2801 (impl_registry_notify_event):
2802 No longer call remote unref() on the event source after dispatch.
2804 * libspi/eventlistener.c:
2805 (impl_accessible_event_notify_event):
2806 Removed remote unref ()
2808 * cspi/bonobo/cspi-bonobo-listener.c:
2810 We now call cspi_object_new() instead of cspi_object_add() on
2811 receipt of an event; thus we only have an implicit object ref
2812 while the cspi_event method is being executed. If we need to keep
2813 a reference to the object, the listener must call ref() on the
2814 object. Thus also we don't need to call cspi_object_unref() after
2815 invoking the listener callbacks in this method.
2819 New internal API for creating a new cspi object, without adding it
2820 to the object cache.
2822 Now uses cspi_object_new() to create the cspi object instance.
2824 Now checks to see if the object is in the internal object cache,
2825 and adds it if necessary before incrementing its refcount (note
2826 that new objects are added with a refcount of 1).
2827 (report_leaked_ref):
2828 New method which gives some information on leaked object instances
2829 if leak detection is turned on.
2831 * test/event-listener-test.c:
2832 (timing_test_event):
2833 New method, used for testing event delivery timing for special
2834 events of type "object:test". It reports elapsed time and
2835 events/sec every 500 events.
2837 Added a new listener, 'test listener', to check timing of event
2838 receipt as noted above.
2840 Added some timing output here also, reports elapsed time every 100
2843 * test/stress-test.c:
2844 Emit events of type "object:test", for use with "event-listener-test".
2846 * test/test-simple.c:
2847 (global_listener_cb):
2848 Call Accessible_ref() on the event source before calling
2849 validate_accessible, since the validation process does pointer
2850 comparisons on the event source, meaning that the event source
2851 needs to be added to the local object cache first. Any use of
2852 such pointer comparisons between Accessible objects requires that
2853 the caller hold an explicit reference to those objects.
2854 We also must therefore call Accessible_unref() when leaving this method.
2856 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2858 * registryd/deviceeventcontroller.c:
2859 (spi_controller_update_key_grabs):
2860 Fix for #84735, subsequent keygrab listeners not informed of
2861 registration failure.
2864 (spi_base_construct):
2865 Add an assertion on construct, to make sure the GObject passed in
2866 is really a GObject.
2868 Explicitly initialize object->gobj pointer to NULL;
2870 * cspi/bonobo/cspi-bonobo-listener.c:
2871 (cspi_object_add_ref):
2872 New method, can specify whether to dup-ref a bonobo object passed
2873 in if it's newly added to the object cache.
2875 Now calls cspi_object_add_ref with second param of "FALSE". This
2876 prevents us from doing a pointless dup-ref followed by
2877 release-unref for all those cases where the object is already in
2878 our object cache (fix for #85205).
2880 * atk-bridge/bridge.c:
2881 (spi_atk_bridge_idle_init):
2882 Removed this method, we don't need to initialize in an idle
2885 Changed to call spi_atk_register_event_listeners directly, not via an
2886 idle handler. (fix for #81139)
2887 (gnome_accessibility_module_shutdown):
2888 Removed conditional around deregistration of listeners, since we
2889 don't use the idle handler and thus have always registered when
2891 (spi_init_keystroke_from_atk_key_event):
2892 Changed references to Accessibility_KEY_PRESSED to
2893 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2895 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2897 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2902 * test/stress-test.c:
2905 (may have been an incomplete commit yesterday?)
2907 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2910 Added target for new stress-test.
2912 * test/stress-test.c:
2913 New test, sends 1000 focus notifies in quick succession.
2915 * test/key-listener-test.c:
2916 Now we report whether a keylistener registration
2917 request succeeded or failed.
2919 * test/event-listener-test.c:
2920 Uncommented some listeners which are now implemented.
2923 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2925 * registryd/deviceeventcontroller.c:
2926 (spi_controller_update_key_grabs):
2927 Fix for #82509, lack of failure notification when
2928 ALL_WINDOWS keygrabs fail due to XGrabKey
2929 failure: we synchronize the server when
2930 registering a passive grab, to make sure we get the
2931 error message before the call returns.
2933 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2935 * test/test-simple.c:
2937 Removed #ifdef KEY_IMPL_WORKS guards.
2938 (test_keylisteners):
2939 Removed #ifdef KEY_IMPL_WORKS guards.
2940 Fixed bug which was causing a hang waiting for a
2941 "press" event (which was already overwritten by a "release"
2942 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2944 Added code to set globals 'key_press_received' and
2945 'key_release_received'.
2948 Added section "1.1 API Proposed Additions" which
2949 lists API additions desired for at-spi-1.1 (only one so far).
2950 Updated TODO list a little.
2952 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2954 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2957 * configure.in: Revved to 1.0.0.
2959 * idl/Accessibility_Registry.idl:
2960 (registerKeystrokeListener):
2961 Added boolean return value.
2963 * registryd/registry.c:
2964 (notify_listeners_cb): Minor fix to debug output.
2966 * registryd/Accessibility_Registry.server.in.in:
2967 Revved version number in OAFIID to 1.0.
2969 * registryd/registryd.c:
2971 Use new OAFIID version.
2973 * cspi/bonobo/cspi-bonobo.c:
2975 Use new OAFIID version.
2981 * atk-bridge/bridge.c:
2983 Use new OAFIID version.
2985 * registryd/deviceeventcontroller.c:
2986 (impl_register_keystroke_listener):
2987 Added CORBA_boolean return value.
2988 (spi_controller_register_device_listener):
2989 Added gboolean return value.
2990 (spi_controller_register_global_keygrabs):
2991 Added gboolean return value.
2992 (spi_key_set_contains_key):
2993 Added implementation for many more control keys,
2994 for instance F1-F12, arrow keys, End, Home, Page_Up,
2996 [TODO: some still not implemented].
2998 * text/screen-review-test.c:
2999 (text_chunk_pad_string):
3000 New function: it provides mapping between coordinate
3001 positions of text chunks and character positions in the
3002 screen-review-line output string.
3003 (text_chunk_to_string):
3004 New function, calls text_chunk_pad_string with various
3005 pad/delimiter characters. Pushbuttons are delimited with
3006 square brackets, Frames with vertical 'pipe' lines, and
3007 other text with double quotes.
3008 (text_chunk_list_to_string):
3009 Calls new function text_chunk_to_string.
3010 (toplevel_composite):
3011 New function to composite layers CANVAS through
3012 POPUP in each toplevel (other layers are composited
3013 across toplevels, i.e. BACKGROUND and OVERLAY).
3014 (review_buffer_composite):
3015 Revise to use new methods.
3021 2002-05-31 Laszlo Peter <laca@sun.com>
3023 * configure.in: add the Xtst libdir to the runpath on Solaris,
3024 since it's not in the default library search path.
3026 2002-05-29 jacob berkman <jacob@ximian.com>
3028 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3030 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3032 * test/screen-review-test.c:
3033 (text_chunk_pad_string):
3034 Added method, which pads the string according to the
3035 text bounds of the chunk. It also takes a 3-character
3036 string as a param which indicates the characters to be
3037 used for start, padding, and end delimitation of the chunk.
3038 (text_chunk_to_string):
3039 Changed to use text_chunk_pad_string.
3041 * configure.in: Fixed bug in AC_OUTPUT that was
3042 causing path substitution in Accessibility_Registry.server
3045 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3047 * text/screen-review-test.c:
3048 (guess_string_clip):
3049 New method which attempts a best-guess at clipping
3050 text from components (like Java labels) which don't
3051 actually implement AccessibleText. This inaccurate
3052 clip is based on the assumption that the label is
3053 justified left-and-right, and monospaced.
3054 (text_chunk_get_clipped_string):
3055 We now call guess_string_clip() for text-containing
3056 components that don't implement AccessibleText.
3058 * test/screen-review-test.c:
3059 (review_buffer_get_text_chunk):
3060 We now pull "name" from labels if they do not implement
3061 AccessibleText (i.e. for Java labels).
3062 (get_screen_review_line_at):
3063 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3066 Replaceded AC_OUTPUT target
3067 registryd/Accessibility_Registry.server with
3068 registryd/Accessibility_Registry.server.in.
3070 * registryd/Accessibility_Registry.server.in:
3071 Removed (this is now a Makefile target).
3073 * registryd/Accessibility_Registry.server.in.in:
3074 Added (source for target above). We now use $(libexecdir) as
3075 prefix for the executable at-spi-registryd.
3077 * registry/Makefile.am:
3078 Now install at-spi-registryd into $(libexecdir), and build .server
3079 file with path (see above).
3081 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3083 * test/screen-review-test.c:
3084 (text_chunk_get_clipped_string):
3085 We now check to see if words fall within clip bounds
3086 before resorting to character-by-character clip bounds testing.
3088 * TODO: Added a section for "2.2 Proposed API Additions".
3090 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3092 * test/screen-review-test.c:
3094 Added a screen review benchmarking and test program to test
3097 * cspi/spi_accessible.c:
3099 Made some of the debug strings passed to cspi_check_ev a
3100 little more specific.
3102 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3104 * test/screen-review-test.c: Fix crashes in debug statements
3106 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3108 * test/screen-review-test.c: Added this file.
3110 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3112 * atk-bridge/bridge.c: changed "object:state-change" to
3113 "object:state-changed" to match docs.
3115 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3117 * atk-bridge/bridge.c: Hooked up state-change event details.
3119 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3121 * registryd/registry.c:
3122 Fixed quarking bug in event string parsing; now events with
3123 detail parameters get matched correctly to listeners.
3126 * util/idl/Magnifier.idl: remove.
3128 * util/*.[ch]: Remove.
3129 Magnification utilities and IDL are now in module gnome-mag.
3131 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3133 * registryd/deviceeventcontroller.c:
3134 Fixed bug in grab key conversion which was causing keycode grabs
3135 to be converted to AnyKey grabs.
3138 updated NEWS file to reflect recent spin-off of gnome-mag.
3140 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3142 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3143 busted AccessibleStateSet_compare. Removed redundant casts.
3145 * cspi/spi-action.c: Removed redundant casts.
3147 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3149 * cspi/spi_component.c: Fixed typos and casting error.
3151 * cspi/spi_editabletext.c: Removed redundant casts.
3153 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3155 * cspi/spi_hypertext.c: Eliminated redundant casts.
3157 * cspi/spi_image.c: Eliminated redundant casts.
3159 * cspi/spi_registry.c: Eliminated redundant casts.
3160 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3161 * cspi/spi_selection.c: Removed redundant casts.
3162 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3163 handling. Screen geometry and text offsets were being returned as 0
3164 on error which is technically valid-- changed these to return -1.
3165 Added marshaller for text boundary types to fix bug with boundary
3166 types being passed incorrectly to atk.
3168 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3171 * cspi/spi_registry.c:
3172 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3173 which was uncovered by the recent key changes.
3175 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3177 * test/event-listener-test.c:
3179 Added new test, "event-listener-test";
3180 this code does two things; it benchmarks traversal time
3181 for the accessible hierarchy for the first running accessible
3182 app, and it connects listeners for all supported event types.
3183 It is thus useful as an example event listener and for
3184 diagnostics/debugging of event generation.
3186 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3189 Removed unnecessary dependency on libutil.
3192 Revved micro version: 0.13.1
3194 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3197 Removed util/Makefile from targets.
3200 Removed util subdir from SUBDIRS (temporarily,
3201 pending removal of magnifier-only code
3205 #ifdef-ed out magnifier dependencies, since
3206 magnifier IDL, headers, and binary now live in
3207 module gnome-mag and we don't want at-spi to depend
3208 on gnome-mag. A magnifier demo which can run alongside
3209 simple-at is forthcoming in the gnome-mag module.
3211 NOTE: Split magnifier binary, IDL, and magnification
3212 activation code from at-spi into module gnome-mag.
3214 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3216 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3217 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3219 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3222 Revved to version 0.13.0
3224 * idl/Accessibility_Registry.idl:
3225 Changed definition of KeySet from sequence of longs to sequence of
3226 KeyDefinitions, and added KeyDefinition struct.
3227 Required for fix to bug 80616.
3229 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3230 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3231 to use new definition (see above).
3233 * registryd/deviceeventcontroller.c: handle_keygrab(),
3234 spi_keyset_contains_key():
3235 Changed to make use of new struct; this allows matching based on
3236 string key-name, for instance "Tab". This also allows matching of
3237 composed characters, non-alphanumeric characters in a way that
3238 doesn't involve dependencies on X keysym codes directly, etc.
3240 * test/key-listener-test.c:
3241 Added test for Alt-Tab key using "string" specification of keyset,
3242 and modified one of the tests to use a keycode-based keyset.
3243 Thus this test both tests and demonstrates the creation and use of
3244 keysets of three forms: specified via keycode array,
3245 keysym array, and string array. (The string case only contains a
3246 single string, i.e. a string array of length 1).
3249 Turned on PRINT_TREE option by default. Also fixed a
3250 string-freeing bug in the PRINT_TREE code.
3251 Added a listener to window:minimize events.
3253 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3255 * atk-bridge/bridge.c:
3256 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3257 for window:activate and window:deactiveate
3258 (atk_bridge_property_event_listener atk_bridge_signal_listener
3259 atk_bridge_window_event_listener) Tidy debug code
3261 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3263 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3264 Fixed handling for NULL return value from ATK.
3266 * libspi/action.c libspi/component.c libspi/editabletext.
3267 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3268 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3269 Removed redundant casts.
3271 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3272 Fixed off by one bug.
3274 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3275 function not present in idl)
3277 2002-05-02 jacob berkman <jacob@ximian.com>
3279 * atk-bridge/Makefile.am: make atk-bridge a real module
3281 2002-04-26 Radek Doulik <rodo@ximian.com>
3283 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3284 atk_state_types table
3286 2002-04-22 jacob berkman <jacob@ximian.com>
3289 * libspi/Makefile.am: add deps on the built files to help
3290 automake, and don't version the ORBit typelib
3292 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3294 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3295 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3296 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3297 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3298 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3299 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3300 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3301 libspi/accessible.h libspi/accessible.h libspi/base.h
3302 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3303 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3304 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3305 libspi/spi-private.h libspi/statetset.h libspi/table.h
3306 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3307 util/mag_client.h util/mag_control.c util/mag_image.c
3308 util/mag_image.h util/magnifier.c util/magnifier.h:
3309 Add missing file headers; standardize existing ones
3311 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3313 * atk-bridge/bridge.c: Added window event support.
3315 2002-04-18 Michael Meeks <michael@ximian.com>
3317 * libspi/relation.c (impl_getNTargets): impl.
3318 (impl_getTarget): impl.
3320 * libspi/Makefile.am: fix stateset install.
3322 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3325 Started putting useful info in this file.
3327 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3329 * atk-bridge/bridge.c:
3330 Propagate state-changed notifications to ATs
3332 * cspi/spi_registry.c: update docs to reflect actual behavior of
3333 state-change events.
3335 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3338 Incremented version to 0.12.1
3340 * util/mag_client.h:
3341 Add missing declaration for magnifier_exit,
3342 used by mag_control.c - Forte compiler didn't like
3343 the implicit redeclaration of the function :-(
3346 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3349 Revved version to 0.12 due to API change (see below).
3351 * cspi/spi-roletypes.h:
3352 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3353 definition from the inline docs, and added docs
3354 for SPI_ROLE_LAST_DEFINED.
3357 * cspi/spi_streamablecontent.c:
3358 Added missing seek_type parameter to
3359 (so far unused) method,
3360 AccessibleStreamableContent_seek().
3361 [ RT approval JodyG. ]
3364 Fixed docs for SPI_createAccessibleKeystrokeListener.
3366 * cspi/spi_registry.c:
3367 Fixed docs for SPI_KEYSET_ALL_KEYS.
3369 * docs/reference/cspi/at-spi-cspi-sections.txt:
3370 Added a number of missing APIs to SECTIONS.
3372 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3374 * registryd/Makefile.am:
3376 * cspi/bonobo/Makefile.am:
3377 Add $(X_LIBS) to makefiles.
3379 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3382 Revved version to 0.11.
3384 * libspi/component.c:
3385 Added implementation for grabFocus.
3387 * idl/Accessibility_Component.idl
3388 (Accessibility_Component_grabFocus):
3389 Made this method return boolean to indicate success or failure, to
3390 be consistent with cspi and the corresponding ATK method.
3392 * idl/Accessibility_Selection.idl
3393 (Accessibility_Selection_selectAll) :
3394 Made these methods return boolean to indicate success or
3395 failure, to be consistent with cspi and the corresponding ATK methods.
3397 * idl/Accessibility_EditableText.idl
3398 (Accessibility_EditableText_setTextContents,
3399 Accessibility_EditableText_insertText,
3400 Accessibility_EditableText_cutText,
3401 Accessibility_EditableText_deleteText,
3402 Accessibility_EditableText_pasteText):
3403 Made these methods return boolean to indicate
3406 * cspi/spi_editabletext.c:
3407 Made these methods return booleans.
3409 * libspi/selection.c:
3410 * libspi/component.c:
3411 * libspi/editabletext.c:
3412 Connected the boolean returns from ATK
3413 to the server-side code referenced above.
3415 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3417 * idl/Accessibility_Table.idl: Added missing methods,
3418 Accessibility_Table_addRowSelection,
3419 Accessibility_Table_addColumnSelection,
3420 Accessibility_Table_removeRowSelection,
3421 Accessibility_Table_removeColumnSelection.
3424 Added C wrappers for above IDL:
3425 AccessibleTable_addRowSelection,
3426 AccessibleTable_addColumnSelection,
3427 AccessibleTable_removeRowSelection,
3428 AccessibleTable_removeColumnSelection.
3431 Added server-side implementation code for IDL above, connecting
3432 to pre-existing ATK api.
3434 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3436 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3438 * libspi/accessible.c: Added implementation fo
3439 Accessibility_Accessible_get_state.
3441 * libspi/libspi.h: Added stateset.h to the list of includes.
3443 * libspi/stateset.c: Fixed broken implementation.
3445 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3448 Added implementation code for Accessibility_Magnifier_exit ().
3450 * util/mag_control.c:
3451 Added test code for above method; you can
3452 now kill an existing magnifier via
3453 ./mag_control q, from the util directory.
3455 * test/key-listener-test.c:
3457 Added a new test, for our key listener API.
3459 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3461 * test/app.c, test/keysynth-demo.c:
3463 Replace use of snprintf with g_snprintf.
3464 (fix for bugzilla 78249)
3466 2002-03-27 Michael Meeks <michael@ximian.com>
3470 * util/Makefile.am (INCLUDES): fix.
3471 (DONT_DIST_SOURCE): don't distribute the
3474 * libspi/Makefile.am (dist-hook): ditto.
3476 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3478 * libspi/hypertext.c:
3479 Fix warnings when yelp is used with atk-bridge
3481 2002-03-21 Michael Meeks <michael@ximian.com>
3483 * libspi/application.c (spi_application_new):
3484 use spi_accessible_construct so we use the AtkObject
3487 2002-03-19 Michael Meeks <michael@ximian.com>
3489 * registryd/registry.c (desktop_remove_application),
3490 (desktop_add_application): clean coding style.
3492 * registryd/desktop.c (spi_desktop_remove_application),
3493 (spi_desktop_add_application): kill re-enterency hazards.
3494 (spi_desktop_dispose): remove bogus redundant cast
3495 obscuring bug; fix bug too.
3496 (spi_desktop_init): make the desktop object immortal.
3498 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3501 Added a #define-guarded tree-traversal step
3502 when enumerating the apps (diagnostic tool).
3504 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3506 * idl/Accessibility_Role.idl:
3507 Added ROLE_DRAWING_AREA which seemed to be missing from the
3510 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3512 * cspi/spi-roletypes.h cspi/spi_accessible.c
3513 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3516 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3517 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3518 AT when applications are added and removed from the desktop. This
3519 reverts the previous broken implementation using the backing
3520 AtkObject for the SpiDesktop.
3522 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3524 * registryd/desktop.c: emit the "children-changed::add" and
3525 "children-changed::remove" signals on the backing ATK object for
3526 the desktop so AT can tell when applications are started and shut
3529 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3531 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3533 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3535 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3537 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3539 * cspi/state-types.h: synched with IDL and ATK
3541 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3543 * libspi/accessible.c
3544 (impl_accessibility_accessible_get_child_at_index):
3545 Change return value for g_return_if_fail ()
3546 to CORBA_OBJECT_NIL instead of "0" (!)
3548 * registryd/Makefile.am:
3549 * registryd/Accessibility_Register.server.in:
3550 Changed name of executable, "registryd",
3551 to something more informative:
3554 2002-03-13 Michael Meeks <michael@ximian.com>
3556 * atk-bridge/bridge.c (atk_bridge_init): don't register
3557 if we're in a bonobo-component, rather than a bonobo app.
3559 2002-03-13 Michael Meeks <michael@ximian.com>
3561 * atk-bridge/bridge.c (gtk_module_init): split
3562 out body to (atk_bridge_init): here, since otherwise
3563 we get symbol conflicts and oddness when invoked
3564 from (gnome_accessibility_module_init): here (upd.)
3566 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3569 New file. Explicitly allow "build sheriff" putbacks provided
3570 they are tested on Solaris.
3572 * docs/reference/cspi/Makefile.am:
3573 Added '-' to the "cp" command for index.sgml.
3574 ("patch by thomasvs, soon coming to a GUADEC near you")
3577 Incremented version number (0.9.0) for new release.
3578 Changed macro that checks for popt, to better detect
3579 obsolete versions of popt.
3582 Added X_LIBS to AC_SUBST, for applications
3583 that call Xlib API directly.
3586 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3589 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3592 Fix regression caused by hard-coding major
3593 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3596 * test/test-simple.c (test_editable_text),
3597 (test_test): revert previous change (error was
3598 a regression in gail which is now fixed).
3600 2002-03-04 Michael Meeks <michael@ximian.com>
3602 * test/test-simple.c (test_editable_text),
3603 (test_text): pass G_MAXINT instead of '-1' for
3604 whole string - is this a good thing !?
3606 * cspi/spi_accessible.c
3607 (Accessible_getRelationSet): fix crasher bug
3608 overwriting the end of the array.
3610 * test/test-simple.c (validate_accessible): free,
3611 not g_free returned relation set.
3613 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3615 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3616 implemented stateset support
3618 * idl/Accessibility_State.idl: Made necessary changes to
3619 the IDL to support state sets.
3621 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3623 * registryd/deviceeventcontroller.c:
3624 Added implementation for generateMouseEvent.
3626 * cspi/spi_registry.c:
3627 Connected new implementation for generateMouseEvent
3630 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3633 Incremented revision (but no change in public API
3634 outside of 'utils', which are not installed public yet.)
3636 * libspi/component.c:
3637 Changed to use atk_component API for layers and
3638 mdi_zorder, instead of deprecated atk_object API.
3640 Magnification Utility Enhancements:
3643 Added implementation of createZoomRegion, clearAllZoomRegions,
3644 resizeZoomRegion. Added new commandline argument
3645 "--no-initial-region". Note that clearAllZoomRegions doesn't
3646 unmap the old '0' region as it should (yet), and the other
3647 methods only work when creating/resizing a single region,
3648 which is "region 0".
3649 (Code for multiple region support will be added later.)
3652 Now we raise the magnifier window each time it's refreshed;
3653 this will help keep it on top.
3655 * util/mag_client.h:
3656 Added simple wrappers for above, used by mag_control.
3657 For general use, it's recommended to use the bonobo magnifier
3658 control API directly instead of using these wrappers.
3661 Moved ZoomRegionData from magnifier.c to this file.
3663 * util/mag_control.c:
3664 Added some code to exercise new IDL implementations.
3666 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3668 * libspi/text.c: Provide implementation for getAttributes.
3670 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3673 Incremented revision.
3675 * test/test-simple.c:
3676 Replaced use of deprecated g_main_iteration with
3677 g_main_context_iteration.
3679 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3682 Incremented revision for desktop alpha 2.
3684 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3686 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3689 * test/simple-at.c: include netinet/in.h.
3691 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3693 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3694 use NULL, not CORBA_OBJECT_NIL.
3696 * libspi/accessible.c:
3697 (impl_accessibility_accessible_get_relation_set):
3698 allocate the sequence correctly.
3700 * libspi/remoteobject.h: kill spi_remote_object_new.
3702 * test/test-simple.c: (validate_accessible): add code
3703 to test relation sets, now all we need is to figure
3704 out how to excercise this code path :/
3706 2002-01-18 Michael Meeks <michael@ximian.com>
3708 * test/test-simple.c
3709 (key_listener_cb): consume the key.
3710 (test_keylisteners): update.
3711 (main): wait for any pending unrefs on events.
3713 * registryd/deviceeventcontroller.c
3714 (spi_controller_update_key_grabs): only re-issue the
3715 grab on a key release.
3716 (spi_device_event_controller_forward_key_event):
3717 refresh the keygrabs before we notify the listeners,
3718 to reduce the X ungrab / re-grab race.
3719 (spi_controller_register_with_devices): remove
3720 XSelectInput - we do that with the gdk_window_ call.
3721 (_spi_controller_device_error_handler): return a value.
3722 s/GDK_DISPLAY/spi_get_display/
3724 2002-01-17 Michael Meeks <michael@ximian.com>
3726 * registryd/deviceeventcontroller.c
3727 (_deregister_keygrab): don't blow out the later
3730 * test/test-simple.c (test_keylisteners): do a
3731 more intelligent validation.
3733 2002-01-14 Michael Meeks <michael@ximian.com>
3735 * atk-bridge/bridge.c
3736 (gnome_accessibility_module_init),
3737 (gnome_accessibility_module_shutdown): impl.
3738 (gtk_module_init): protect vs. double inits.
3739 (add_signal_listener): impl.
3740 (spi_atk_bridge_state_event_listener): kill
3741 (deregister_application): split out of
3742 (spi_atk_bridge_exit_func): here.
3744 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3747 Added caret tracking when using magnifier, and
3748 now use text bounds for focus tracking of text elements, rather than
3749 the component bounds - this is helpful for short text fields in long
3750 table cells, at high magnification.
3752 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3754 * registryd/deviceeventcontroller.c:
3755 Regression fix for keylistener de-registration; global keygrabs
3756 were not being released when deregisterKeystrokeListener was
3757 called in cspi, since
3758 Accessibility_DeviceEventController_deregisterKeystrokeListener
3759 was called with a zero-length keyset. That is because the cspi
3760 method, SPI_deregisterKeystrokeListener, does not take a keyset
3761 parameter but instead should remove all the key grabs held be a
3763 The code in impl_deregister_keystroke_listener was changed to copy
3764 the keylist from the listener instance previously registered with
3765 the DeviceEventController before releasing the grabs.
3767 * registryd/registry.c:
3768 * registryd/deviceeventcontroller.c:
3769 * libspi/spi-private.h:
3771 Changed spelling of "re-enterant" to "re-entrant" globally.
3773 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3775 * test/test-simple.c:
3776 Changed key listeners test - the test was slightly mis-using the
3777 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3778 It now uses '=' as the key event listened to and generated,
3779 relying on a keysym match rather than assuming that keycode 33
3780 is always equal to keysym '!'.
3782 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3785 Changed simple-at to use a specific keyset, rather than
3786 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3787 manager, desktop, etc.
3789 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3791 * registryd/deviceeventcontroller.c:
3792 Replaced standard X error handler with a special handler that
3793 is non-fatal for failed keygrabs. This works around
3794 problems with keygrab clashes sometimes observed on
3796 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3797 mouse handling code as yet).
3799 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3802 Incremented revision for desktop alpha release.
3805 Fixed a couple of the more glaring errors (still not
3808 2002-01-11 Michael Meeks <michael@ximian.com>
3810 * registryd/deviceeventcontroller.c
3811 (spi_device_event_controller_forward_key_event): kill
3812 XUngrabKey / XKeyGrab race.
3813 (spi_controller_grab_keyboard): rename to
3814 (spi_controller_update_key_grabs): this, and deal
3815 with incremental adding / removing grabs more
3817 (_register_keygrab): ensure we're not pending a remove.
3818 (spi_grab_mask_free): impl.
3819 (spi_controller_register_global_keygrabs): split out
3821 (handle_keygrab): impl.
3822 (_deregister_keygrab): impl.
3823 (spi_controller_deregister_global_keygrabs): impl.
3824 (spi_controller_update_key_grabs): re-issue the grab if
3825 we just recieved a notification.
3827 * test/test-simple.c (key_listener_cb): remove debug.
3829 * registryd/deviceeventcontroller.c
3830 (spi_controller_register_device_listener): after
3831 registering a global keygrab, actualy register it !
3832 don't wait for a timeout; doh !
3834 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3835 to make it more readable / manipulable.
3836 s/grabmask/grab_mask/ s/refcount/ref_count/
3837 s/keyval/key_val/ s/modmask/mod_mask
3839 2002-01-08 Michael Meeks <michael@ximian.com>
3841 * registryd/deviceeventcontroller.c
3842 (spi_controller_register_with_devices): use gdk calls to
3844 (global_filter_fn): implement the filter.
3845 (spi_device_event_controller_check_key_event): rename to
3846 (spi_device_event_controller_forward_key_event): this & upd.
3847 (spi_get_display): replace with GDK_DISPLAY.
3849 * registryd/deviceeventcontroller.c
3850 (spi_controller_deregister_device_listener): unroll into
3851 (impl_deregister_keystroke_listener): here to simplify.
3852 (spi_controller_register_global_keygrabs): split cut and
3853 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3854 (spi_controller_deregister_device_listener): remove.
3855 (impl_register_mouse_listener): remove, no mouse listener
3856 support in at-spi-1.0
3858 * registryd/registry.c
3859 (_device_event_controller_hook): kill.
3860 (spi_registry_init): upd.
3862 * registryd/deviceeventcontroller.c
3863 (spi_device_event_controller_class_init): upd.
3864 (spi_check_key_event): merge into.
3865 (spi_device_event_controller_check_key_event):
3866 here and kill strange static ev init, don't leak
3867 the x_event - nor dynamicaly allocate it.
3869 * registryd/registry-main.c (main): re-direct
3870 timeout to remove strange vtable mess.
3872 * registryd/deviceeventcontroller.c
3873 (remove_listener_cb): impl.
3874 (spi_controller_deregister_device_listener):
3875 fix re-enterancy hazard.
3877 2002-01-07 Michael Meeks <michael@ximian.com>
3879 * registryd/deviceeventcontroller.c
3880 (spi_device_event_controller_new): upd.
3881 (impl_notify_listeners_sync): upd. debug.
3882 (spi_notify_keylisteners): fix re-enterancy hazards,
3883 prettify, remove O(n*n) iteration.
3884 (spi_controller_grab_keyboard): fix iteration.
3885 (spi_check_key_event): re-format to suit coding style.
3886 Clean all the warnings - we're warning free.
3888 * registryd/deviceeventcontroller.h:
3889 * registryd/registry.h: make mutualy referential with
3890 typesafe forward references instead of (!) void pointer
3893 2002-01-11 Michael Meeks <michael@ximian.com>
3895 * cspi/spi_accessible.c (role_names): add a role name
3896 to sync this array with the enum; and make the regression
3899 2002-01-10 Michael Meeks <michael@ximian.com>
3901 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3902 allow expansion of enumeration & kill warning.
3904 * test/test-simple.c (key_listener_cb): impl.
3905 (test_keylisteners): impl.
3907 * cspi/spi-listener.h: make listener signatures const
3908 on the provided (const) events.
3910 * test/keysynth-demo.c: upd. to const events.
3912 * test/simple-at.c: ditto.
3914 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3917 Rev the version to 0.5 (the previous tarball was named 0.4,
3918 even though the micro number was 3), so we need to rev upwards
3919 again for beta2/"desktop-alpha"
3922 Checked in a demo script, which requires editing before use!
3923 Proceed with caution.
3926 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3928 * cspi/spi_accessible.c:
3929 Add a couple of missing enum initializations, and fix some enum
3932 * cspi/spi_registry.c:
3933 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3935 * docs/reference/cspi/at-spi-cspi-sections.txt:
3936 Remove/fix a couple of broken document references.
3939 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3940 as Alt-Control to listen for commands, since on some systems
3941 Control-Alt may already be grabbed.
3943 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3946 Update version number to 0.4 for Beta2.
3948 * libspi/accessible.c, libspi/accessible.h:
3949 Expose spi_accessible_construct, to enable libgail-gnome
3950 construction from spi_accessible subtype.
3952 * utils/magnifier.c:
3953 Workaround for bug in some non-gnome-compliant window managers
3954 which made magnifier resize improperly.
3956 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3958 * libspi/accessible.c: (spi_accessible_new) :
3959 Move the test for SPI_IS_REMOTE_OBJECT to
3960 spi_accessible_new_return, fixing a bug and compile time warning.
3962 2002-01-08 Michael Meeks <michael@ximian.com>
3964 * registryd/registry.c (parse_event_type): remove strndup.
3966 * libspi/Makefile.am (libspi_la_SOURCES): remove
3967 sources already included in the headers section.
3969 * libspi/util.c: add.
3971 * libspi/spi-private.h: add.
3973 * registryd/registry.c: update to moved list iterators.
3975 2002-01-05 Michael Meeks <michael@ximian.com>
3977 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3979 * test/test-simple.c (main): ditto.
3981 2002-01-04 Michael Meeks <michael@ximian.com>
3983 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3984 redundant construct.
3986 * registryd/registry.c
3987 (get_listener_list): impl.
3988 (impl_accessibility_registry_register_global_event_listener):
3989 re-impl. to simplify using ~, remove dodgy const cast off.
3990 (parse_event_type): constify.
3991 (impl_accessibility_registry_deregister_global_event_listener_all):
3992 re-write, more efficiency and simplicity, kill re-enterancy
3994 (compare_listener_corbaref, compare_corba_objects),
3995 (compare_listener_quarks): define out.
3996 (impl_accessibility_registry_deregister_global_event_listener):
3997 re-write for effiency, and nail re-enterancy hazard.
3998 (impl_accessibility_registry_get_desktop_list): impl.
3999 (re_enterant_list_delete_link): impl.
4000 (re_enterant_list_foreach): impl.
4001 (remove_listener_cb): impl.
4002 (_registry_notify_listeners): kill.
4003 (notify_listeners_cb): impl.
4005 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4006 (SPI_getDesktopList): impl.
4008 * test/test-simple.c (test_desktop): test the methods.
4010 2002-01-03 Michael Meeks <michael@ximian.com>
4012 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4013 keystrings since we free them
4014 (SPI_freeAccessibleKeySet): in here.
4016 * libspi/accessible.c (spi_accessible_new): kill warning,
4017 wonder what is going on with the constructor here.
4019 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4021 * libspi/accessible.c (spi_accessible_new ()) :
4022 Added check to see if AtkObject is an SpiRemoteObject before
4023 creating an SpiAccessible.
4025 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4027 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4028 Enable keygrabs using the Control modifier, now that they are
4029 working properly (they were previously disabled).
4032 Change the command keygrab for this demo to "Control+Alt", so as
4033 to conflict with fewer other key commands on the system; this
4034 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4036 Removed a pointlessly-chatty keylistener for unshifted keys
4037 (shifted keys are still reported).
4039 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4041 * libspi/remoteobject.h:
4042 * libspi/remoteobject.c:
4043 Added definitions for special AtkObject subtype, required for
4044 support of remote components (specifically, used by BonoboControl
4045 accessibility implementation).
4047 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4049 * cspi/spi.h: synched relation types with ATK
4051 * cspi/spi_accessible.c: Added implementations of
4052 AcccessibleRelation_* methods
4054 * idl/Accessibility_Relation.idl: added getRelationTypeName
4055 method. Synched known relation types with ATK. Allowed for
4056 relation type extension with the RELATION_EXTENDED type.
4058 * libspi/relation.c: Provided implementations for
4059 AccessibleRelation methods.
4061 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4063 API tweaks for today's API 'freeze'.
4066 Added placeholder functions to allow future compatible expansion
4067 of the IDL interfaces.
4069 * idl/Accessibility_Registry.idl:
4070 Changed generateKeyEvent to generateKeyboardEvent. Changed
4071 signature of this method to accept an optional keystring in
4072 parameter (for complex text input synthesis) and changed use of
4073 simple 'boolean' parameter in registerKeystrokeListener to a
4074 struct, EventListenerMode.
4076 * cspi/spi_accessible.c:
4078 * cspi/spi_streamablecontent.c:
4079 Added references to AccessibleStreamableContent interface, and
4080 definition and implementation of AccessibleStreamableContent
4083 * cspi/spi_registry.c:
4085 Changed generateKeyEvent API to generateKeyboardEvent,
4086 taking a new (optional) keystring parameter to support complex
4091 Renamed directory (to better reflect its actual purpose, bridging
4092 from at-spi to ATK). The .so module is also now named
4095 * idl/Accessibility_Hypertext.idl:
4096 * libspi/accessible.c:
4097 * libspi/hypertext.h:
4098 * libspi/hypertext.c:
4099 Changed Accessibility_Hypertext to *not* derive from
4102 * cspi/spi_registry.c:
4103 Added list of legal event type names for 'window' events, which
4104 completes the registry event API.
4106 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4108 * at-bridge/bridge.c: Added registration for separate
4109 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4110 signals. If either of the first two parameters to the generic
4111 bridge signal handler are ints, they are passed on as event
4112 details. This allows an AT to determine what text was inserted.
4114 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4116 * registryd/deviceeventcontroller.c:
4117 Fixed regressions in generateKeyEvent caused by the removal of
4118 gdk_init from registryd; we now use pure X calls to connect to the
4119 display, which makes sense because deviceeventcontroller already
4120 uses a fair bit of X API (should eventually be migrated to a
4121 'portability layer').
4123 * registryd/desktop.c:
4124 Fixed minor regression in spi_desktop_init, changed the way the
4125 desktop name is being set to work with new spi_base API
4126 (gobject-based, rather than AtkObject-based).
4128 * registryd/Makefile.am:
4129 Minor revision of makefile to use XTST_LIBS variable rather than
4130 hard-wiring the Xtst LD_ADD element.
4132 * test/keysynth-demo.c:
4133 Tweaked an output message; added initialization of the
4134 'keystrings' member of the "switch listener" key_set.
4136 * libspi/relation.c:
4137 Squashed compile-time warning.
4139 * libspi/accessible.c:
4140 Cosmetic and formatting fixes, renamed a static method.
4142 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4144 * libspi/accessible.c
4146 * libspi/application.c
4149 * libspi/component.c
4150 * libspi/editabletext.c
4151 * libspi/hyperlink.c
4152 * libspi/hypertext.c
4154 * libspi/selection.c
4158 * registryd/desktop.c:
4159 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4161 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4163 * idl/Accessibility_Registry.idl:
4164 Added boolean member 'is_text' to DeviceEvent. This is for the
4165 use of key events, and helps prevent ambiguity between composed
4166 key strings and keysym names, since both may potentially be
4167 returned in the 'event_string' member.
4169 * at-bridge/bridge.c:
4170 * registryd/deviceeventcontroller.c:
4171 Use the 'is_text' member when notifying device event listeners.
4172 Knon issue: composed characters are not dealt with correctly by
4173 the global key listener implementation yet.
4175 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4177 * at-bridge/bridge.c:
4178 Namespaced local static methods to spi_atk_bridge_* where
4179 previously named bridge_*, and spi_* elsewhere.
4181 * at-bridge/bridge.c:
4182 * cspi/bonobo/cspi-bonobo-listener.c:
4183 Added demarshalling/conversion for string member of
4184 Accessibility_DeviceEvent to AccessibleKeystroke.
4186 * registryd/deviceeventcontroller.c:
4187 Added code to fill the Accessibility_DeviceEvent key string value
4188 member for global key events (i.e. from XGrabKey), to match
4189 behavior of Accessibility_DeviceEvent from the toolkit key events
4190 from the bridge. Fixed timestamp in global key event notifications.
4193 Added printout of key event's string value to
4194 report_ordinary_key_event, for demo/debugging purposes.
4196 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4198 * idl/Accessibility_Registry.idl:
4199 Removed Accessibility_KeyStroke structure in favor of generic
4200 Accessibility_DeviceEvent structure.
4201 Changed Accessibility_ControllerEventMask from a struct to an
4204 * at-bridge/bridge.c:
4205 Changed APIs to use DeviceEvent structure as above, and removed
4206 bogus casting between these event structures.
4208 * cspi/spi-listener.h:
4209 Added keystring member of AccessibleKeystroke structure, to enable
4210 matching on event "names" rather than only hardware codes and
4214 Added keystrings member of AccessibleKeySet struct, to allow
4215 matching on event names (as above).
4216 Added declarations for SPI_createAccessibleKeySet and
4217 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4218 event modmasks directly as unsigned ints rather than structs with
4219 refcounts, in the DeviceEventController methods.
4221 * cspi/spi_registry.c:
4222 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4224 * cspi/spi-roletypes.h:
4225 Added documentation of newly added SPI Roles.
4227 * cspi/bonobo/cspi-bonobo-listener.c:
4228 Changes in support of API changes above.
4230 * libspi/accessible.c:
4231 Converted APIs to use DeviceEvent structure (see IDL changes
4234 * registryd/deviceeventcontroller.c:
4235 Added DEControllerGrabMask structure to track keygrabs not only by
4236 modmask but by keyset as well; this allows us to do "global"
4237 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4238 grabbing on AnyKey and then filtering after-the-fact.
4239 Bugfixes for event filtration mean that we don't get false matches
4240 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4242 * registryd/deviceeventcontroller.c:
4243 Namespaced a number of static methods to use spi_ prefix. Major
4244 revision to internals of global (i.e. X) key grabs.
4246 * registryd/deviceeventcontroller.h:
4247 Removed keymask_list and added keygrabs_list to
4248 SpiDeviceEventController struct.
4251 Added use of SPI_createAccessibleKeySet API when creating a
4252 listener for only one key. Attach a listener to "shift spacebar
4253 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4254 X key event names to SPI key event names, so that listeners are
4255 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4257 * test/keysynth-demo.c:
4258 Changed (incorrect) use of X key event names (KeyPressed,
4259 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4262 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4264 * libspi/accessible.c:
4265 Convert all AtkRole enumerations to Accessibility_Role enums when
4266 getting a role from an AtkObject.
4268 * cspi/spi_accessible.c:
4269 Complete the conversion of Accessibility_Role enums at runtime to
4270 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4271 role enums correctly match those given in spi-roletypes.h.
4272 Re-synchronize the local names list for AccessibleRole_getName ().
4273 AccessibleRole_getName is now deprecated, since it duplicates the
4274 more reliable Accessible_getRoleName.
4275 Added some role types from Accessibility_Role.idl.
4277 * idl/Accessibility_Role.idl:
4278 Added some role types used by AtkRole.
4280 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4283 * cspi/spi_registry.c:
4285 * cspi/cspi-bonobo-listener.c:
4286 Namespaced all methods that did not begin with an "SPI_" or
4287 "Accessible" prefix to "SPI_".
4290 Homogenized internal function namespace to "cspi_" for statics.
4293 Patched tests to use the new CSPI API.
4295 * docs/reference/cspi/at-spi-cspi-sections.txt:
4296 Updated docs to reflect namespace changes, and added a number of
4297 methods to the documentation.
4299 * registryd/registry.c:
4300 Changed use of strings and string hashes in listener event
4301 matching and parse_event_string to use GQuark, which is guaranteed
4304 * registryd/registry.h:
4305 Squashed annoying warning.
4307 * idl/Accessibility_Role.idl:
4308 Extended range of available Accessibility_Role values.
4310 * cspi/spi_accessible.c:
4311 Re-ordered role names.
4313 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4315 * idl/Accessibility_Value.idl:
4316 Revert use of union back to CORBA_double, since the double type is
4317 more efficient and can contain the other types without loss of
4320 * idl/Accessibility_Accessible.idl:
4321 Added method Accessibility:Accessible:getRoleName, to complement
4322 Accessibility:Accessible:getRole.
4324 * cspi/spi_accessible.c:
4326 Added C binding for above, Accessible_getRoleName (), and changed
4327 signature of Accessible_getRole () to return an AccessibleRole.
4329 * cspi/spi-roletypes.h:
4330 Changed AccessibleRole_getName to return a char * instead of a
4331 const char *. This method is now at least temporarily deprecated
4332 in favor of asking Accessibles for their RoleNames directly.
4335 Revert to match Accessibility_Value.idl;
4339 Change signature of AccessibleValue methods to use double rather
4343 * cspi/spi_accessible.c:
4344 Changed Accessible_getRole to return an AccessibleRole enum rather
4345 than a UTF-8 string. The UTF-8 string can still be obtained via
4346 AccessibleRole_getName ().
4348 * test/test-simple.c:
4349 Add test_action. Small fixup to match API change to Accessible_getRole.
4352 Bugfix for get_action_from_servant ().
4354 2001-12-11 Michael Meeks <michael@ximian.com>
4356 * libspi/libspi.h: remove registry.h and
4357 desktop.h, deviceeventcontroller.h
4359 * libspi/Makefile.am: remove registry.[ch],
4360 desktop.[ch], deviceeventcontroller.[ch]
4362 * registryd/Makefile.am: add registry.[ch],
4363 desktop.[ch], rename registryd.c to registry-main.c.
4364 add deviceeventcontroller.[ch]
4366 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4369 Replace setenv() call with putenv ().
4371 * libspi/component.c:
4372 Bugfix in AccessibleComponent_getExtents (),
4375 2001-12-11 Michael Meeks <michael@ximian.com>
4377 * libspi/image.c (impl_getImageExtents): impl.
4378 (spi_image_class_init): upd.
4381 (AccessibleImage_getImageDescription): fix daft bug
4384 * test/test-simple.c (global_listener_cb): update
4385 to only quit if not --poke
4386 (main): catch --poke.
4387 (validate_accessible): upd. dumping, call test_image
4390 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4393 * idl/Accessibility.idl: update all IDL includes.
4395 * idl/*.idl - rename to namespace - this sucks, blame
4396 mjs' bad decision for oafd.
4398 * test/test-simple.c (create_test_window): add more tests.
4399 (create_tree): split this out.
4400 (validate_accessible): bugfix.
4402 2001-12-11 Michael Meeks <michael@ximian.com>
4404 * cspi/bonobo/cspi-bonobo-listener.c:
4405 (cspi_kestroke_listener_unref),
4406 (cspi_event_listener_unref): impl. undoing previous
4407 homenous environment - for Bill.
4409 * cspi/spi_table.c (long_seq_to_array): use
4412 * cspi/spi_main.c: split out all bonoboish bits into
4415 * cspi/spi-impl.h: upd. typedefs.
4417 * cspi/spi_registry.c: update to lowlevel API,
4418 return booleans to indicate success in some places.
4420 * cspi/spi_event.c: update to lowlevel API.
4422 * cspi/bonobo/Makefile.am: add.
4424 * cspi/bonobo/cspi-lowlevel.h: add
4426 * cspi/bonobo/cspi-bonobo.c: add
4428 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4430 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4431 (SUBDIRS): add bonobo, link in the libs.
4433 * cspi/spi-util.c: kill this file.
4435 * TODO: merge in my bits.
4437 2001-12-11 Michael Meeks <michael@ximian.com>
4439 * test/test-simple.c (test_value, test_table, main):
4440 remove unused variables causing warnings.
4442 * configure.in: cleanup checks - require gail.
4444 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4447 Changed Value interface to use SValue (scalars) rather than
4448 assuming all values are floats. This allows floats, doubles,
4449 longs, shorts, and unsigned values to be manipulated.
4450 Introduced Accessibility:SValue union.
4453 Updated to use new API above, and to work correctly with GValues
4454 of different types in AtkValue.
4457 Updated to use new API above. cspi's API is as yet unchanged.
4460 Updated the Value revision action item.
4462 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4464 * test/test-simple.c:
4465 Added test_table (GtkTreeView widget in test window to follow).
4466 Un-commented test_value, added GtkRange widget.
4467 Added GtkTreeView widget with GtkListStore. It passes regression
4468 test but leaks one SPI object for some reason.
4471 Fixed bug in impl__set_currentValue.
4473 2001-12-10 Michael Meeks <michael@ximian.com>
4475 * cspi/spi_text.c: audit for exception handling,
4476 tolerating NULL object references safely etc.
4478 * cspi/spi_value.c: ditto.
4480 * cspi/spi_table.c (AccessibleTable_getSummary),
4481 (AccessibleTable_getAccessibleAt),
4482 (AccessibleTable_getRowHeader),
4483 (AccessibleTable_getColumnHeader),
4484 (AccessibleTable_getCaption): fix bugs hidden by
4486 (long_seq_to_array): impl.
4487 (AccessibleTable_getSelectedRows),
4488 (AccessibleTable_getSelectedColumns): use it.
4490 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4493 Added a TODO list (rough and short for now).
4495 * cspi/spi_hyperlink.c:
4496 * cspi/spi_hypertext.c:
4497 Fixed macro name typos, and remove use of obsolete macro in
4498 AccessibleHyperlink_getLink.
4500 * cspi/spi_action.c:
4501 * cspi/spi_accessible.c:
4502 * cspi/spi_application.c:
4503 * cspi/spi_component.c:
4504 * cspi/spi_selection.c:
4507 Documentation fixes (removed return values from ref/unref methods).
4509 2001-12-10 Michael Meeks <michael@ximian.com>
4511 * cspi/spi_action.c: audit for exception handling,
4512 tolerating NULL object references safely etc.
4514 * cspi/spi_accessible.c: ditto.
4516 * cspi/spi_component.c: ditto.
4518 * cspi/spi_editabletext.c: ditto.
4520 * cspi/spi_hyperlink.c: ditto.
4522 * cspi/spi_hypertext.c: ditto.
4524 * cspi/spi_image.c: ditto.
4526 * cspi/spi_selection.c: ditto.
4528 2001-12-10 Michael Meeks <michael@ximian.com>
4530 * configure.in: use cspi/libspi.pc.in instead.
4532 * Makefile.am (pkgconfig_DATA): upd. to match.
4534 * test/simple-at.c (report_focus_event): kill hacks around
4535 bad return values, use putenv not setenv
4537 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4538 fire ChildGone - I killed it.
4540 * libspi/component.c
4541 (impl_accessibility_component_get_extents): remove
4544 * idl/Accessible.idl: kill ChildGone exception.
4546 * cspi/*.[ch]: kill int return from ref / unref.
4548 * cspi/spi_main.c (cspi_object_add_check): fold into
4549 (cspi_object_add): here.
4551 * cspi/spi_component.c (AccessibleComponent_getExtents):
4552 handle exceptions elegantly.
4554 * cspi/spi-private.h (cspi_check_ev_return),
4555 (cspi_return_if_fail): impl.
4557 * cspi/spi_accessible.c: use extensively.
4558 (AccessibleStateSet_equals): add direct compare check.
4560 * cspi/spi_selection.c: tolerate NULL objs, and check
4561 exceptions before return.
4563 * cspi/spi-util.c (cspi_warn_ev): rename to
4564 (cspi_check_ev): this & don't pass ev in; no point.
4566 2001-12-10 Michael Meeks <michael@ximian.com>
4568 * test/test-simple.c: use putenv not setenv
4569 (get_environment_vars): more chatty if you're not using
4572 * test/simple-at.c: do the setenv so more people see the
4575 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4577 * libspi/registry.c:
4578 Changed check of CORBA_environment on notification to be a warning
4579 instead of an error for the moment, since we can recover from this
4580 error when caused by a queued notification from a dead app.
4583 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4584 used by all current implementors of AtkValue), and coerce to
4585 CORBA_float. (Proper general case fix may require change to Value.idl).
4587 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4591 * cspi/spi_accessible.c:
4592 Documentation fixes: added user_data params to documentation for
4593 listeners and callbacks.
4595 * cspi/spi_accessible.c:
4596 Changed AccessibleStateSet_compare to return a
4597 StateSet rather than return the difference set into a third parameter.
4600 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4603 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4604 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4608 Remove subdirectory po from SUBDIRS for now.
4610 * at-bridge/bridge.c:
4611 Beefed up a couple of debug printouts.
4612 One-line fix for signal notification name formatting.
4614 * libspi/accessible.c:
4615 Added assertion to spi_accessible_new ().
4617 * libspi/application.c:
4618 Put #ifdef qualifiers around a printf.
4621 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4623 * registryd/Makefile.am:
4625 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4626 INTLTOOL_SERVER_RULE macro.
4629 Added an event listener for several ATK signals, for
4630 testing and debugging. Removed a few g_warnings.
4631 Added test output if focussed item implements the Value interface.
4633 * test/test-simple.c:
4634 Added test_value () function (known not to pass at the moment, so
4635 not actually called yet.
4637 2001-12-08 Michael Meeks <michael@ximian.com>
4639 * at-bridge/bridge.c (bridge_focus_tracker),
4640 (emit_eventv): fix the same ref. leak.
4641 (register_atk_event_listeners): don't leak.
4643 * cspi/spi-listener-impl.c (cspi_event): more
4644 protection from client code.
4646 * test/test-simple.c (test_desktop): unref the app.
4648 * test/Makefile.am: upd. TESTS.
4650 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4652 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4654 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4656 * cspi/spi_registry.c: constify in strings.
4657 (deregisterGlobalEventListenerAll): don't release the ref.
4659 * cspi/spi.h: start removing redundant / conflicting
4660 gtkdoc comments, making the API readable at a glance :-)
4662 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4664 * test/keysynth-demo.c (keysynth_exit, main): upd.
4666 * test/simple-at.c (main, simple_at_exit): upd.
4668 * test/test-simple.c (unutterable_horror): kill.
4669 (utterable_normal_derefs): kill.
4670 (main): upd & do a setenv before gtk_init, so that we
4671 can use memprof - and to save the pain of remembering
4672 this, if we're running under memprof - don't exit.
4674 * cspi/spi_main.c (SPI_exit): return exit status
4676 (SPI_event_quit): impl.
4677 (SPI_event_main): simplify.
4678 (cspi_is_gnome_app): kill.
4679 (SPI_init): kill isGNOMEapp arg.
4681 * at-bridge/bridge.c (register_atk_event_listeners):
4682 re-instate the unref.
4683 (bridge_exit_func): don't re-activate the registry,
4684 protect vs. theoretical re-entry, use the
4685 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4686 assert a clean shutdown - for regression tests.
4688 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4690 * configure.in: Comment out dummy i18n support for now,
4691 otherwise it fails to build.
4692 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4693 EXTRA_DIST. They are missing in tarball.
4695 2001-12-07 Michael Meeks <michael@ximian.com>
4697 * util/magnifier.c: kill bonobo activation reg. race.
4699 * libspi/component.c
4700 (impl_accessibility_component_get_extents): make it match
4703 * libspi/registry.c (_registry_notify_listeners):
4704 re-remove X headers & reconcile conflicts.
4705 (spi_listener_struct_free): bad conflict resolve.
4706 (impl_accessibility_registry_register_application):
4707 more bad merging fixed.
4708 (impl_accessibility_registry_deregister_application): ditto.
4709 (spi_registry_new): ditto.
4710 (spi_registry_init): don't have an applications field.
4712 [ merge fixups2 branch to here ]
4713 2001-12-07 Michael Meeks <michael@ximian.com>
4715 * test/simple-at.c (report_focus_event),
4716 (report_focussed_accessible): remove g_warning debug.
4718 2001-12-07 Michael Meeks <michael@ximian.com>
4720 * test/test-simple.c (validate_tree): comment out some checks.
4721 (test_desktop): app now not registered idly - horay.
4723 2001-12-07 Michael Meeks <michael@ximian.com>
4725 * cspi/spi_registry.c
4726 (registerAccessibleKeystrokeListener): clean, stop it leaking
4727 great swathes of memory, and device event controller references.
4728 ensure we always pass valid sequences.
4729 (deregisterAccessibleKeystrokeListener): ditto.
4730 (generateKeyEvent): upd.
4732 * at-bridge/bridge.c (bridge_key_listener): handle
4733 registry dead exception gracefully.
4734 (bridge_focus_tracker, emit_eventv): free ev.
4736 * test/simple-at.c (report_focus_event): fix polarity.
4738 * libspi/application.c (notify_listeners): kill the ev
4739 argument, and make sure we init the ev we use.
4740 (spi_application_object_event_listener): split out a chunk
4741 (get_atk_object_ref): here & fixup.
4742 (reverse_lookup_name_for_toolkit_event): make const.
4743 (spi_application_toolkit_event_listener): fixup, kill leaks
4746 * at-bridge/bridge.c (register_atk_event_listeners):
4747 don't unref the noop object - causes grief.
4749 * libspi/registry.c: remove the X headers.
4750 turn off the debug churn.
4752 * libspi/accessible.c (spi_accessible_new_return): only
4753 release the ref if we are supposed to [doh]
4755 * test/simple-at.c (report_button_press, report_focus_event):
4756 guard vs. unexpected exit.
4758 * at-bridge/bridge.c (gtk_module_init): prune printf.
4759 (bridge_exit_func): fix app unref.
4761 * libspi/Makefile.am: don't install registry or desktop.h
4763 * libspi/*.h: update includes.
4765 * libspi/application.h: don't include ourself, or
4766 other redundant headers.
4768 2001-12-06 Michael Meeks <michael@ximian.com>
4770 * libspi/accessible.c
4771 (get_accessible_from_servant): impl.
4772 Upd. all CORBA impl.s to use it killing cut and paste.
4774 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4776 (SPI_init): register atexit cleanup handler here.
4778 2001-12-06 Michael Meeks <michael@ximian.com>
4780 * at-bridge/bridge.c (gtk_module_init): g_error on
4781 activation exception
4783 2001-12-06 Michael Meeks <michael@ximian.com>
4785 * at-bridge/bridge.c (gtk_module_init): some sort of
4786 confusing merge clash - reverted.
4787 (bridge_idle_init): ditto.
4789 * test/test-simple.c (main, utterable_normal_derefs):
4790 merge from Bill - somehow not committed.
4792 2001-12-06 Michael Meeks <michael@ximian.com>
4794 * libspi/value.c (spi_value_class_init): upd.
4795 (spi_value_finalize): kill.
4797 * libspi/table.c (spi_table_finalize): kill.
4798 (spi_table_interface_new): upd.
4799 (spi_table_class_init): upd.
4800 (get_table_from_servant): impl.
4801 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4803 * libspi/selection.c (spi_selection_finalize): kill.
4804 (spi_selection_interface_new): upd.
4805 (spi_selection_class_init): upd.
4806 (get_selection_from_servant): impl.
4807 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4809 * libspi/relation.c (spi_relation_finalize): kill.
4810 (spi_relation_class_init, spi_relation_new): upd
4812 * libspi/image.c (spi_image_finalize): kill.
4813 (spi_image_class_init): upd.
4814 (spi_image_interface_new): upd.
4815 (get_image_from_servant): impl.
4816 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4818 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4819 (spi_hyperlink_finalize): kill.
4820 (spi_hyperlink_new): upd.
4821 (get_hyperlink_from_servant): impl.
4822 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4824 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4825 (spi_hypertext_finalize): kill.
4826 (spi_hypertext_class_init): upd.
4827 (get_hypertext_from_servant): impl.
4828 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4830 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4831 (spi_editable_text_interface_new): upd.
4832 (get_editable_text_from_servant): impl.
4833 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4835 * libspi/text.c (get_text_from_servant): impl.
4836 All impls - update to use it killing more cut and paste,
4837 also fix bad string returns on duff args ( a somewhat
4838 impossible case to handle - but hey ).
4839 (spi_text_construct): impl.
4840 (spi_text_interface_new): upd.
4841 (spi_text_object_finalize): kill.
4843 * libspi/component.c
4844 (accessibility_component_object_finalize): kill.
4845 (spi_component_class_init): upd.
4846 (get_component_from_servant): impl. helper to kill cut & paste.
4847 (impl_accessibility_component_contains):
4848 (impl_accessibility_component_get_accessible_at_point):
4849 (impl_accessibility_component_get_position):
4850 (impl_accessibility_component_get_extents):
4851 (impl_accessibility_component_get_mdi_z_order):
4852 (impl_accessibility_component_get_layer):
4853 (spi_component_interface_new): upd.
4855 * libspi/action.c (spi_action_finalize): kill.
4856 (spi_action_class_init): upd. inherit from SpiObject.
4857 (spi_action_interface_new): upd.
4858 (get_action_from_servant): impl. helper to reduce cut & paste.
4859 (impl_getKeyBinding, impl_getName, impl_doAction),
4860 (impl_getDescription): Use it everywhere.
4862 * cspi/spi_main.c (get_live_refs): a pointer hash.
4863 (spi_object_hash, spi_object_equal): comment out.
4864 There are issues with CORBA object hashing that need
4867 * libspi/application.c (spi_application_init),
4868 (spi_application_new): upd.
4870 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4871 (spi_accessible_class_init): upd.
4872 s/accessible/object/ in epv methods.
4874 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4876 * at-bridge/bridge.c:
4877 Reorder the bridge initialization into the bridge gtk_module_init,
4878 an immediate call to bridge_register_app, and an idle_add for
4879 register_atk_event_listeners (the only code that *must* wait until
4880 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4881 the activation, creates the application's Accessible object, and
4882 queues the bridge_idle_init function. Restored call to
4883 Accessibility_Registry_deregisterApplication().
4884 Prior to making this call we obtain a new reference to the
4885 registry, which is a temporary hack that helps us handle apps that
4886 shut down the bonobo mainloop before we get there.
4888 * libspi/registry.c:
4889 Fix string leakage in debug block, and don't segv if a an app
4890 dies before its event notifications have been propagated.
4893 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4894 as stopgap measure until we get proper exception handling when
4895 objects die during or before interrogation.
4899 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4900 Also changed default value of is_gnome_app to TRUE.
4903 * test/keysynth-demo.c:
4904 Changed use of SPI_init and SPI_event_main to reflect API change above.
4907 Made report_focus_event check the warning value from getName
4908 before reporting on focussed accessible; simplifies handling of
4909 notifications from dead objects.
4911 * test/test-simple.c: (Changes not in this patch since source is
4914 2001-12-05 Michael Meeks <michael@ximian.com>
4916 * registryd/registryd.c (main): protect against
4917 bonobo-activation startup race condition.
4919 * cspi/spi_main.c (cspi_object_add_check): cope
4920 with the exception elegantly.
4922 * idl/Accessible.idl: decl. ChildGone
4924 * libspi/desktop.c (spi_desktop_dispose): impl.
4925 (spi_desktop_class_init): upd.
4926 (spi_desktop_add_application),
4927 (spi_desktop_remove_application),
4928 (abnormal_application_termination): impl.
4929 (impl_desktop_get_child_at_index): re-impl.
4932 (impl_accessibility_registry_deregister_application),
4933 (impl_accessibility_registry_register_application):
4934 kill excessive debug clutter.
4936 * test/test-simple.c (test_misc): test some NULL
4937 tolerance. (main): upd.
4939 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4940 implements no interfaces - so let's not crash.
4942 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4944 * libspi/accessible.c (spi_accessible_new_return): impl.
4945 helper to calm the cut and paste, to cope with
4946 NULL AtkObjects effectively and efficiently, and to kill
4947 the referencing bugs.
4949 * libspi/table.c (impl_getAccessibleAt),
4950 (impl_getRowHeader, impl_getColumnHeader): upd.
4952 * libspi/hyperlink.c (impl_getObject): upd.
4954 * libspi/accessible.c
4955 (impl_accessibility_accessible_get_child_at_index): upd.
4957 * libspi/component.c
4958 (impl_accessibility_component_get_accessible_at_point): upd.
4960 * test/test-simple.c (test_editable_text, test_text): impl.
4963 * cspi/spi_editabletext.c
4964 (AccessibleEditableText_insertText): constify.
4966 * test/test-simple.c (focus_me): make more robust.
4968 * libspi/accessible.c: remove some printfs in methods that
4969 we test and work fine, so we can get a clean tree dump.
4971 * test/test-simple.c (validate_accessible),
4972 (validate_tree): make tree dumping pretty too.
4974 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4975 it builds without debug on.
4977 * test/test-simple.c (validate_accessible): fix the most
4980 * cspi/spi_main.c (spi_object_release): leave the nicely
4981 blanked memory around if in debug mode.
4983 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4985 [committed to fixups2]
4986 2001-12-05 Michael Meeks <michael@ximian.com>
4988 * libspi/editabletext.c
4989 (spi_editable_text_class_init): g_type_class_peek_parent,
4990 not interface peek - so we finalize cleanly.
4992 * libspi/accessible.c (spi_accessible_new): kill debug.
4994 * test/test-simple.c (validate_accessible): fix ref.
4995 leak, print strings before freeing them; sigh, comment a
4996 chunk out due to strangeness.
4997 (validate_tree): unref the child after use.
4999 * cspi/spi_component.c (AccessibleComponent_getLayer):
5000 add missing break statement, switch on zlayer not the
5001 uninitialized retval.
5003 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5004 before (possibly re-entering) remote unref.
5006 * test/simple-at.c (main): unref the desktop.
5008 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5011 * cspi/spi_main.c (cspi_accessible_is_a): here to
5012 isolate bonobo API usage more.
5014 * libspi/registry.c (impl_accessibility_registry_register_application):
5015 prune bogus comment.
5017 2001-12-04 Michael Meeks <michael@ximian.com>
5019 * test/test-simple.c (validate_tree): upd.
5020 IndexInParent check to make it more lucid.
5021 (validate_accessible): dump the tree.
5023 * libspi/accessible.c (de_register_public_ref),
5024 (get_public_refs): impl.
5025 (spi_accessible_new): make more efficient & intuitive.
5026 Now IndexInParent check works.
5028 2001-12-04 Michael Meeks <michael@ximian.com>
5030 * cspi/spi-util.h: remove.
5032 * cspi/spi.h: move SPI_freeString here
5034 * libspi/component.c (impl_accessibility_component_get_layer):
5036 (impl_accessibility_component_get_mdi_z_order): ditto,
5037 return -1 on error - is this ok ?
5039 * test/test-simple.c (test_application): impl.
5041 * cspi/spi_accessible.c (Accessible_getApplication),
5042 (Accessible_isApplication): impl.
5044 * libspi/registry.c (spi_listener_struct_free): release
5045 the CORBA reference too.
5047 * libspi/accessible.c
5048 (impl_accessibility_accessible_get_parent): fix ref leak.
5050 * libspi/registry.c (spi_registry_new): make the registry
5051 immortal - we don't want it to go away ever.
5053 * libspi/application.c
5054 (spi_accessible_application_finalize): impl. cleanup.
5056 * cspi/spi_registry.c
5057 (deregisterGlobalEventListenerAll),
5058 (deregisterGlobalEventListener),
5059 (deregisterAccessibleKeystrokeListener): fix ref leak.
5061 * cspi/spi_main.c (SPI_init): remove redundant ref.
5063 * test/test-simple.c (unutterable_horror): impl. to force a
5068 (impl_accessibility_registry_deregister_application): release
5069 the application when we de-register it.
5071 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5072 until we have the infastructure to get it right.
5074 2001-12-03 Michael Meeks <michael@ximian.com>
5076 * libspi/Makefile.am: only build eventlistener.[ch]
5078 * libspi/accessible.c
5079 (impl_accessibility_accessible_get_child_at_index): don't leak.
5081 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5082 before we hit the idle handler.
5084 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5085 debugging than exit.
5087 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5089 * libspi/listener.c (impl_notify_event): check source
5090 not NIL before unref.
5092 * libspi/registry.c (impl_registry_notify_event): ditto.
5094 * libspi/eventlistener.c
5095 (impl_accessible_event_notify_event): unref the source.
5097 * libspi/accessibleeventlistener.c
5098 (impl_accessible_event_notify_event): unref the source.
5100 * idl/Event.idl: remove 'hash_id' attribute - of no
5103 * libspi/application.c (notify_listeners): upd list
5105 (spi_application_object_event_listener),
5106 (spi_application_toolkit_event_listener): upd to do correct
5110 (_registry_notify_listeners): update.
5111 (parse_event_type): this method also leaks like a sieve.
5112 (impl_accessibility_registry_deregister_global_event_listener):
5113 fix ETYPE_WINDOW case.
5115 * libspi/application.c
5116 (impl_accessibility_application_register_object_event_listener):
5119 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5121 * libspi/hypertext.c (impl_getLink): ditto.
5123 * cspi/spi_main.c (cspi_object_add): remove
5124 bogus CORBA_Object_duplicate.
5126 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5129 * cspi/spi_accessible.c
5130 (Accessible_getRelationSet): fix leak / referencing issue.
5132 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5133 (cspi_object_add, cspi_object_unref): upd.
5134 (spi_object_release, get_live_refs): impl.
5135 (cspi_cleanup): simplify.
5137 * *.[ch]: s/boolean/SpiBoolean/
5139 * cspi/spi_accessible.c (role_names): actualy order so it
5140 corresponds with the enum !
5142 * test/test-simple.c (test_roles): check some role strings
5143 vs. enums to detect offset errors.
5145 2001-12-01 Michael Meeks <michael@ximian.com>
5147 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5149 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5151 (Accessible_getChildAtIndex): use cspi_add_check so we
5152 check the ev before using a (possibly) invalid value.
5154 * libspi/accessible.c
5155 (impl_accessibility_accessible_get_parent): don't segv
5158 * at-bridge/bridge.c (gtk_module_init): upd.
5159 (bridge_property_event_listener): don't leak strings
5161 (bridge_state_event_listener),
5162 (bridge_property_event_listener): don't use a static
5163 buffer in case of recursive event emission &
5164 re-enterancy - split out the swathe of cut and paste
5166 (emit_eventv): and fix 2 ref leaks here & comply to the
5168 (bridge_register_app): rename to
5169 (bridge_idle_init): this and kill arg parsing, split
5170 various inits & bonobo-activation registration to module
5171 init time, kill referencing error.
5172 (bridge_exit_func): fix the same leak.
5173 (bridge_focus_tracker): don't leak event structures
5175 (bridge_signal_listener): more leakage and cut & paste
5177 (bridge_key_listener): return the result - FIXME is
5178 this polarity correct ?
5179 (accessibility_keystroke_from_atk_key_event): rename
5180 (accessibility_init_keystroke_from_atk_key_event): and stop
5182 (gtk_module_init): return a value - not that it is checked by
5184 (bridge_key_listener): register my horror at casting between
5185 IDL defined structs.
5186 (bridge_get_registry): kill - not used.
5188 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5190 * test/test-simple.c (test_roles): impl.
5191 (test_desktop, validate_accessible, validate_tree): impl.
5193 * cspi/spi_accessible.c (role_names): fixup bogus
5194 MAX_ROLES setup, make constants const for efficient linkage
5195 (AccessibleRole_getName): conform to coding style, make
5198 2001-11-30 Michael Meeks <michael@ximian.com>
5200 * cspi/spi.h: add missing prototype.
5202 * libspi/registry.c (spi_listener_struct_new): fix sig.
5204 * test/Makefile.am: add test-simple
5206 * test/test-simple.c: add
5208 * test/test.sh: add.
5210 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5212 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5213 do it straight - since otherwise we often get an activation race.
5215 [ work before Bill duplicated a chunk of it ... ]
5216 2001-11-30 Michael Meeks <michael@ximian.com>
5218 * libspi/keystrokelistener.c
5219 (spi_keystroke_listener_class_init): fixup arg
5222 * libspi/eventlistener.c
5223 (spi_event_listener_class_init): ditto.
5225 * tests/test.sh: add.
5227 * cspi/spi-listener-impl.h: update macros.
5229 * cspi/spi-listener-impl.c
5230 (cspi_event_listener_remove_callback): add
5231 correct pre-conditions.
5233 * cspi/spi_main.c (SPI_exit): guard vs. double
5234 exits, exit the mainloop nicely.
5235 (SPI_event_main): make more sense.
5236 (SPI_init): move the atexit evilness here so we
5237 always do it (yuck).
5238 (SPI_event_main): upd.
5240 * test/simple-at.c: update for listener changes.
5242 * registryd/registryd.c (main): prune kruft.
5244 * libspi/libspi.h: upd.
5246 * libspi/eventlistener.[ch]: rename broken macros.
5248 * libspi/accessibleeventlistener.[ch]: remove.
5250 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5252 * test/test-simple.c: Add - automated tests.
5254 * cspi/spi-listener-impl.c (cspi_event),
5255 (cspi_key_event): add user_data to invoke.
5256 (cspi_keystroke_listener_finalize): impl.
5257 (cspi_keystroke_listener_class_init): upd.
5260 (createAccessibleEventListener),
5261 (AccessibleEventListener_addCallback),
5262 (createAccessibleKeystrokeListener),
5263 (AccessibleKeystrokeListener_addCallback): upd.
5265 * libspi/deviceeventcontroller.c
5266 (spi_device_event_controller_check_key_event): add public proto.
5269 (impl_accessibility_registry_deregister_global_event_listener):
5270 always init listeners.
5271 (_registry_notify_listeners): yes it is.
5273 * cspi/spi-listener-impl.c (cspi_key_event):
5275 (cspi_event_listener_finalize): impl.
5276 (cspi_event_listener_class_init): hook up.
5277 (event_handler_new, event_handler_free),
5278 (event_list_remove_by_callback): impl.
5279 (cspi_event_listener_remove_callback),
5280 (cspi_keystroke_listener_remove_callback),
5281 (cspi_keystroke_listener_add_callback),
5282 (cspi_event_listener_add_callback): upd.
5284 * libspi/keystrokelistener.c
5285 (keystroke_listener_object_finalize): kill
5286 (spi_keystroke_listener_class_init): upd.
5287 (spi_keystroke_listener_add_callback),
5288 (spi_keystroke_listener_remove_callback): kill,
5290 (impl_key_event): prune drasticaly.
5292 * libspi/eventlistener.c
5293 (spi_event_listener_add_callback),
5294 (spi_event_listener_remove_callback): kill, use
5296 (impl_accessible_event_notify_event): upd.
5297 (spi_event_listener_object_finalize): remove.
5299 * libspi/Makefile.am: use eventlistener.[ch]
5301 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5303 * libspi/registry.c (_registry_notify_listeners):
5304 Changed listener loop iteration to use preferred convention.
5305 Got rid of string memory leaks caused be calling g_strconcat
5306 inside function calls.
5308 * libspi/registry.c (parse_event_type):
5309 Stopped g_strconcat memory leaks, free the g_strsplit return,
5310 g_strdup the split pieces when used, etc.
5312 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5315 Change method 'compare' to return a 'difference set' rather than
5316 taking a StateSet as an out parameter (more Java-friendly).
5318 * idl/Accessible.idl:
5319 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5321 * idl/Component.idl:
5323 Changed methods 'getExtents' and 'getImageExtents' in these
5324 interfaces to return a BoundingBox structure.
5325 (getPosition and getSize are redundant and possibly should be
5326 removed, rather than creating a corresponding Point struct.)
5328 * cspi/spi_component.c:
5329 Modify implementation of getExtents to reflect the above IDL
5334 Add (missing) AccessibleImage_getExtents () API.
5336 * docs/reference/cspi/at-spi-cspi-sections.txt:
5337 Added AccessibleImage_getImageExtents () to docs.
5339 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5341 * idl/Component.idl:
5342 Added two methods, getLayer () and getMDIZOrder (), to reflect
5343 the new ATK methods atk_object_get_layer and
5344 atk_object_get_mdi_z_order. (Which arguably should be part of the
5345 AtkComponent API and AtkObject). Also added an enum,
5346 ComponentLayer, for the first method's return value.
5348 * libspi/component.c:
5349 Added implementations for these methods.
5351 * cspi/spi_component.c:
5353 Added cspi binding methods for above,
5354 AccessibleComponent_getLayer() and
5355 AccessibleComponent_getMDIZOrder().
5356 Added cspi enum 'AccessibleComponentLayer'.
5358 * docs/reference/cspi/at-spi-cspi-sections.txt:
5359 Added above methods to docs.
5363 Changed typedef for 'boolean' type (and all references to it) to
5364 SPIBoolean, to avoid keyword clashes with C++.
5367 Changed usages of 'boolean' to SPIBoolean.
5369 * test/keysynth-demo.c:
5370 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5371 app), except where SPIBoolean is required by the callbacks API.
5373 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5375 * cspi/spi_registry.c:
5376 Removed obsolete X event loop for passive keygrabs (which now
5379 * registryd/registryd.c:
5380 Removed unnecessary call to gdk_init() [cruft]. This also allows
5381 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5384 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5386 * docs/reference/cspi:
5387 Included docs for SPI_freeString in generated documentation.
5390 Renamed spi_freeString to SPI_freeString, for consistency. Added
5391 documentation for this function.
5394 Renamed spi_freeString to SPI_freeString, for consistency.
5395 Removed obsolete method declaration string_from_corba_string.
5397 * test/keysynth-demo.c:
5398 Small tweak to comments.
5401 Stopped leaking the strings returned from CSPI.
5403 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5405 Merged Michael's branch (see his ChangeLog entries below).
5407 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5408 bridge is alive, release on exit.
5410 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5411 Fix type check macro.
5414 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5417 Added is_gnome_app static, and method cspi_is_gnome_app(),
5418 so we can call the appropriate shutdown routine at exit in SPI_exit.
5420 * cspi/spi_main.c (cspi_object_ref):
5421 Duplicate the corba object passed in, since we're keeping it around.
5423 * cspi/SPI_exit.c, cspi_cleanup:
5424 Moved the releasing of the live refs to its own function, so we
5425 can put it in g_atexit (). Call the appropriate shutdown API
5426 depending on whethe calling client is a gnome app or not
5427 (bonobo_main_quit or CORBA_ORB_shutdown).
5429 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5430 Unref the listener when this method is called, after
5431 deregistration. Updated the API docs to note this behavior.
5433 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5434 Bugfixes: Ref the bonobo object when returning a parent or child
5435 reference, or an AccessibleRelation. Generally made sure
5436 BonoboObject refcount is incremented whenever we return an
5439 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5440 Fixed typo/bug in signal declaration.
5442 * libspi/accessibleeventlistener.h:
5445 * libspi/application.c (spi_application_new):
5446 Fixed leak in initialization.
5449 Remembered to increment bonobo-object refcount when returning
5450 children (applications) from desktop object.
5451 Added (empty) finalize method.
5453 * libspi/deviceeventcontroller.c:
5454 Hold a ref to listeners inside DEControllerKeyListeners.
5455 Added dec_key_listener_free() method. Use prepend instead of
5456 append in key_listener list. Fixed some refcount madness and
5457 leaks in the listener registration/deregistration - deregistration
5458 now calls dec_key_listener_free() on listeners, and on the
5459 temporarily constructed dec_key_listener() used to perform the search/match.
5461 * libspi/hypertext.c (spi_hypertest_finalize):
5462 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5463 class. Also fixed spi_hypertext_interface_new() and
5464 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5466 * libspi/hypertext.h:
5467 Removed pointless and duplicate AtkObject pointer from
5470 * libspi/keystrokelistener.c:
5471 Fixed incorrect type of keystroke_listener_parent_class,
5472 renamed keystroke_listener_object_finalize to
5473 spi_keystroke_listener_object_finalize.
5474 Fixed typo in signal declaration
5475 (spi_keystroke_listener_class_init).
5477 * libspi/registry.c:
5478 Added funcsions spi_listener_struct_new() and
5479 spi_listener_struct_free() to help with memory management issues.
5480 We also now use these methods instead of gnew + poking stuff into
5481 the struct, and to decrement listener counts/free the listeners
5482 when deregistering them.
5483 Fix more refcount bugs in getDesktop() and
5484 getDeviceEventController().
5487 De-ref the desktop after enumerating the applications. Explicitly
5488 decrement the refcounts on the created listeners on exit (using
5489 _unref for keystroke listeners, and via the
5490 deregisterGlobalEventListenerAll command for other event
5493 2001-11-27 Michael Meeks <michael@ximian.com>
5495 * cspi/spi-listener.h: fixup enum.
5497 2001-11-27 Michael Meeks <michael@ximian.com>
5499 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5500 (cspi_keystroke_listener_new): Use the cspi variants.
5502 2001-11-26 Michael Meeks <michael@ximian.com>
5504 * test/keysynth-demo.c: fix 2 compile warnings, missing
5507 * test/simple-at.c (report_focussed_accessible),
5508 (report_focus_event, report_button_press),
5509 (check_property_change, is_command_key),
5510 (report_ordinary_key_event, report_command_key_event): upd.
5512 * util/mag_client.h: include pre-requisites.
5514 * libspi/accessibleeventlistener.c
5515 (spi_event_listener_object_finalize): free any lingering
5518 * libspi/keystrokelistener.c
5519 (keystroke_listener_object_finalize): ditto.
5521 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5522 callbacks, with cspi types.
5524 * cspi/spi_event.c (createAccessibleEventListener): chain to
5525 (AccessibleEventListener_addCallback): here.
5526 (createAccessibleKeystrokeListener): chain to
5527 (AccessibleKeystrokeListener_addCallback): here.
5529 * libspi/keystrokelistener.c
5530 (spi_keystroke_listener_class_init): add signal.
5531 (impl_key_event): emit the event.
5532 (boolean_handled_accumulator): impl.
5533 (marshal_BOOLEAN__POINTER): add, gack.
5535 * libspi/accessibleeventlistener.c
5536 (spi_event_listener_class_init): add signal.
5537 (impl_accessible_event_notify_event): emit the signal &
5538 make the loop efficient.
5539 (spi_event_listener_add_callback): prepend the callback.
5541 * libspi/accessibleeventlistener.h: add an 'event' signal,
5542 decl type on callback.
5544 * libspi/keystrokelistener.h: ditto.
5546 * cspi/spi-listener.h: make methods typesafe and
5547 make them use the new event typedefs.
5549 * test/simple-at.c (report_focussed_accessible):
5550 include mag_client.h
5551 Use *(void *)text_interface not the other thing.
5553 * configure.in: add gtk to registryd bits - since we use
5556 * util/magnifier.c: include libbonobo.h
5558 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5560 * test/keysynth-demo.c:
5561 Turned this into a simple scanning keyboard, to demonstrate the
5562 use of g_timeout_add () as a means of creating timers for
5563 scanning, and the use of GtkStyle for visually indicating when
5564 virtual keyboard elements are selected.
5566 keysynth-demo now listens to any keyboard keys with zero-valued
5567 keycodes (i.e. 'unused' keys) and interprets them as
5570 Reworked the shiftlatch code so that shift-down state isn't held
5571 for long periods (it's only synthesized immediately prior to
5572 the keysynth event it's modifying). Note that shiftlatch in this
5573 demo is a convenience, not intended to take the place of AccessX
5574 which is the better choice for getting 'sticky' modifier keys.
5576 * libspi/deviceeventcontroller.c:
5577 * at-bridge/bridge.c:
5578 * cspi/spi_registry.c:
5579 Removed some debug print stuff, and put other verbosity in #ifdef
5584 Implemented some more of the magnifier IDL for the simple
5585 magnifier: namely, getZoomRegionParams.
5586 Added mag_x and mag_y members to MagnifierData struct, aid of this
5588 Added GtkWindow::realize signal handler to magnifier, to keep it
5589 from receiving keyboard focus from the WM.
5591 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5593 * cspi/spi-private.h: my guess at what michael forgot
5594 before he ran off to NZ :-)
5596 2001-11-23 Michael Meeks <michael@ximian.com>
5598 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5599 comment out non existant method invoke so we link.
5601 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5602 use bonobo_exception_get_text for more friendly warnings.
5604 * cspi/spi.c (Obj_Add): move into spi_main & rename
5605 spi_object_add; kill spi.c
5607 * cspi/spi_registry.c
5608 (deregisterGlobalEventListener),
5609 (deregisterGlobalEventListenerAll),
5610 (registerGlobalEventListener): fix exception leaks.
5612 * cspi/spi_main.c (spi_exception): impl. helper, so we
5613 don't leak exceptions.
5615 * cspi/spi_selection.c
5616 (AccessibleSelection_deselectSelectedChild): return the
5619 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5620 (spi_registry): ditto.
5621 (SPI_init): guard against double inits.
5623 * cspi/*.c: use spi_ev (), and spi_registry () where
5624 appropriate - a temporary hack until we have something
5625 better. Use spi_object_add
5627 2001-11-22 Michael Meeks <michael@ximian.com>
5629 * cspi/Makefile.am: re organise, install the headers.
5631 * cspi/*.h: add G_BEGIN/END_DECLS
5633 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5636 Added non-preemptive keylistener for key events with no modifiers
5637 and shift-only modifier.
5639 * libspi/keystrokelistener.c:
5640 Removed some verbose diagnostics printout.
5642 * cspi/spi_registry.c:
5643 Fixed a bug that caused all key listeners to be registered as
5646 * libspi/deviceeventcontroller.c:
5647 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5648 for non-preemptive key masks.
5651 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5653 * docs/reference/idl/at-spi-idl-docs.sgml:
5654 * docs/reference/idl/at-spi-idl-sections.txt:
5655 * docs/reference/idl/at-spi-idl-overrides.txt:
5656 Added missing files.
5658 * docs/reference/Makefile.am:
5659 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5660 to scan the IDL files :-(
5665 Added .cvsignore files.
5667 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5669 * libspi/deviceeventcontroller.c:
5670 * libspi/keystrokelistener.c:
5672 * cspi/spi_registry.c:
5673 Added filters for KeySets, KeyEventSeq, and event types to key
5674 event dispatching, so listeners should only receive those events
5675 that they requested :-)
5677 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5682 * docs/reference:Makefile.am:
5683 * docs/reference/cspi:
5684 * docs/reference/cspi:Makefile.am:
5685 * docs/reference/cspi:tmpl:
5686 * docs/reference/cspi:tmpl:*.sgml:
5687 * docs/reference/idl:
5688 * docs/reference/idl:Makefile.am:
5689 * docs/reference/idl:at-spi-idl-sections.txt:
5690 * docs/reference/idl:at-spi-idl-docs.sgml:
5691 * docs/reference/idl:tmpl:
5692 * docs/reference/idl:tmpl:*.sgml:
5694 Restructured docs directory to allow separate 'reference' docs
5695 section, and forked idl and cspi docs. Added the sgml template
5696 files to CVS. Added the first sections/structural sgml for the
5699 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5701 * configure.in, libspi/Makefile.am: find libXtst.
5703 2001-11-21 Michael Meeks <michael@ximian.com>
5705 * test/accessx-gui.c: s/spi_value/value/ - doh.
5707 * libspi/base.[ch]: add.
5709 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5711 * idl/Accessible.idl:
5712 * idl/Application.idl:
5715 Started gtk-doc cleanup on IDL.
5717 * libspi/deviceeventcontroller.c:
5718 Added and connected non-preemptive key notification from the
5719 toolkits (in addition to the pre-emptive support from XServer
5720 which we had before, but which causes 'focus flashing'). Filters
5721 are presently limited to key modifiers and global/non-global,
5722 KeySets are presently ignored, as are KeyEvent masks.
5724 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5725 structs into the persistant structure rather than just storing
5726 pointers to things that might not persist across servant
5729 The XGrabKey call now does async keygrabs, because synchronous
5730 ones were deadlocking with GDK_event code in a very nasty way.
5732 Added boolean to internal method notify_keylisteners, to indicate
5733 whether the event came from the 'toolkit source' or the 'global
5734 (XServer) source' - this is used in the notification process to
5735 determine which listeners to send the event to.
5737 deviceeventcontroller.c is now warning-free.
5739 * libspi/registry.c:
5740 Fixed regression in application de-registration.
5741 Also fixed some really brain-dead weirdness having to do with
5742 event dispatching - event structs are now duplicated before being
5743 re-marshalled in the dispatch to listeners. This also fixes a
5744 Solaris build problem.
5747 2001-11-20 Michael Meeks <michael@ximian.com>
5750 (impl_accessibility_registry_deregister_global_event_listener):
5753 * libspi/deviceeventcontroller.c
5754 (spi_device_event_controller_check_key_event): return
5755 FALSE on no virtual method.
5757 * libspi/*..h: make includes work on a correctly pathed install.
5759 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5761 * libspi/application.h: kill unused ( and whacked out )
5762 gboolean *spi_application_set_id (AtkObject *app, long id);
5764 2001-11-20 Michael Meeks <michael@ximian.com>
5766 * libspi/*.[ch]: further convert to bonobo's type func
5767 macros, remove redundnant casts etc.
5769 * libspi/text.c s/accessibility_text/spi_text/g,
5770 re-order to de-cruft.
5772 * libspi/hypertext.c: re-order to kill a huge slew
5773 of redundant forward decls.
5775 * libspi/relation.c: ditto.
5777 * libspi/image.c: ditto.
5779 * */.cvsignore: update
5781 2001-11-20 Michael Meeks <michael@ximian.com>
5783 * libspi/deviceeventcontroller.c
5784 (_controller_register_with_devices): use g_getenv,
5785 kill stdlib.h include.
5787 * libspi/keystrokelistener.c
5788 (spi_keystroke_listener_get_type): kill
5789 (spi_keystroke_listener_class_init),
5790 (spi_keystroke_listener_init): rename to this.
5792 * libspi/text.c (impl_getAttributes): fix warning / bug.
5794 * libspi/*.[ch]: more headers, includes and over commenting.
5796 2001-11-20 Michael Meeks <michael@ximian.com>
5798 * libspi/*.[ch]: fixup headers, includes and over commenting.
5800 * libspi/image.c (impl__get_imageDescription): const
5801 correctness warning fix. remove redundant casting.
5803 * libspi/table.c (impl_getRowDescription): ditto.
5804 (impl_getColumnDescription): ditto.
5806 * libspi/libspi.h: add.
5808 2001-11-19 Michael Meeks <michael@ximian.com>
5810 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5812 * libspi/component.c (accessibility_component_get_type):
5813 rename to (spi_component_get_type): and macroify.
5814 (accessibility_component_init): rename to
5815 (spi_component_init): this
5816 (accessibility_component_class_init): rename to
5817 (spi_component_class_init): this
5819 * libspi/action.c (spi_action_get_type): kill, use the macro.
5821 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5824 * libspi/application.c (spi_application_object_event_listener),
5825 (impl_accessibility_application_register_object_event_listener):
5826 warning fixes / const understanding updates.
5828 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5831 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5833 * libspi/spi_accessible.c: Added docs and C bindings for
5834 AccessibleStateSet. (No implementations yet). Documentation
5835 coverage for C bindings now 100%. Made docs for event listeners
5840 boolean notifyListenersSync (in DeviceEventListener listener,
5841 in DeviceEvent event);
5843 oneway void notifyListenersAsync (in DeviceEventListener listener,
5844 in DeviceEvent event);
5846 Added DeviceEventListener and DeviceEvent structs (may deprecate
5847 KeyStroke and KeystrokeListener in favor of this generic
5848 event/listener framework for devices).
5850 * libspi/deviceeventcontroller.c:
5852 Changed some key listener code to take masks, etc., and paved the
5853 way for integration of toolkit/non-preemptive key events. Changed
5854 signatures of some internal methods.
5856 * at-bridge/bridge.c:
5857 Fixed regression connecting to interface signals, apparently
5858 caused by GTK+ changes.
5860 Added an internal bridge_state_listener to deal with
5861 property-change:accessible-state signals.
5863 Changed the key_listeners GList to store structs (including masks,
5864 etc.) instead of just CORBA_Objects (required for full
5865 implementation of key listener API).
5867 Connected the bridge to all currently supported Atk signals.
5868 Events now supported:
5869 object:property-change
5870 object:property-change:accessible-name
5871 object:property-change:accessible-state
5872 object:property-change:accessible-description
5873 object:property-change:accessible-parent
5874 object:property-change:accessible-value
5875 object:property-change:accessible-role
5876 object:property-change:accessible-table-caption
5877 object:property-change:accessible-table-column-description
5878 object:property-change:accessible-table-column-header
5879 object:property-change:accessible-table-row-description
5880 object:property-change:accessible-table-row-header
5881 object:property-change:accessible-table-summary
5882 object:children-changed
5883 object:visible-data-changed
5884 object:selection-changed
5885 object:text-selection-changed
5887 object:text-caret-moved
5889 object:row-reordered
5891 object:column-inserted
5892 object:column-reordered
5893 object:column-deleted
5894 object:model-changed
5896 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5898 * libspi/hyperlink.c,h:
5899 Fixed some broken stuff in hyperlink.
5901 * libspi/relation.h:
5902 * libspi/relation.c:
5903 * cspi/spi_accessible.c:
5904 Initial implementations of AccessibleRelation methods, and docs.
5906 * libspi/accessible.c:
5907 Fixed a bug that caused SEGV if an accessible
5908 object's description is NULL, and a client
5909 requests it. An empty string is now returned.
5911 * cspi/spi_editabletext.c:
5912 * cspi/spi_hypertext.c:
5914 * cspi/spi_hyperlink.c:
5918 Doc coverage now 95%.
5920 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5922 One last namespacing revision:
5923 * libspi/accessibleeventlistener.[ch]:
5924 Renamed SpiAccessibleEventListener to SpiEventListener,
5925 (no need for two namespaces ;-)
5927 And lots of documentation fixes:
5929 * docs/at-spi-docs.sgml:
5930 Fixed 'underscore vs. hyphen' bug that was preventing
5931 the gtk-doc API docs from being automatically generated.
5934 * cspi/spi-listener.h
5936 * cspi/spi_accessible.c
5938 * cspi/spi_application.c
5939 * cspi/spi_component.c
5940 * cspi/spi_editabletext.c
5942 * cspi/spi_hypertext.c
5944 * cspi/spi_registry.c
5945 * cspi/spi_selection.c
5949 * docs/at-spi-docs.sgml
5950 * docs/at-spi-sections.txt
5952 Added and fixed up gtk-doc documentation in cspi.
5954 Interfaces now (fully) documented (subject to revision and enhancement):
5956 Event Listener Support
5958 AccessibleApplication
5962 AccessibleEditableText
5969 AccessibleRelationSet
5974 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5976 * at-bridge/bridge.c:
5977 Initial work for toolkit-level key snooper connection by bridge.
5982 New typedefs and fixes to support new namespacing, and cleaner
5983 separation of cspi bindings from libspi bonobo implementation.
5984 Removed inconsistent and extraneous Spi* namespace prefix that
5985 had crept into cspi headers.
5986 Lots of comment fixes that sed had missed.
5988 * cspi/spi-roletypes.h:
5989 * cspi/spi-statetypes.h:
5990 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5991 to AccessibleRoleType.
5993 * libspi/accessibleeventlistener.h:
5994 Fixed minor namespacing weirdness.
5996 * libspi/deviceeventcontroller.c:
5997 Reordered some internal API for device listeners.
5998 Changed the key registry final boolean to 'is_system_global'
5999 rather than 'is_synchronous', which is more descriptive of its
6001 Added spi_device_event_controller_new().
6002 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6004 * libspi/keystrokelistener.[ch]:
6005 Namespaced KeystrokeListener to SpiKeystrokeListener.
6006 Changed uses of keymasks to use SPI_ prefix, and did other
6009 * libspi/keymasks.h:
6010 Namespaced keymask constants with SPI_ prefix.
6012 * libspi/registry.c:
6013 Some warning fixes, and knock-on fixes from namespace changes.
6016 Added rules for accessx-gui test program.
6018 * test/accessx-gui.c:
6019 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6020 utility. It doesn't actually use at-spi, but it's still cool and
6023 * test/keysynth-demo.c:
6027 Fixes so that these test clients work properly with the namespaced
6028 libraries. (Incompletely tested for technical reasons, fixes may follow)
6031 2001-11-13 Michael Meeks <michael@ximian.com>
6033 * libspi/application.c
6034 (impl_accessibility_application_get_version),
6035 (impl_accessibility_application_get_toolkit_name):
6037 (impl_accessibility_application_set_id),
6038 (impl_accessibility_application_get_id): remove
6039 redundant casting code.
6041 * libspi/action.c (impl_getDescription): fix warnings.
6043 * libspi/accessible.c
6044 (impl_accessibility_accessible_get_parent),
6045 (impl_accessibility_accessible_get_child_at_index),
6046 (impl_accessibility_accessible_get_state),
6047 (impl_accessibility_accessible_get_relation_set):
6048 warning fixes & include action.h
6050 2001-11-13 Michael Meeks <michael@ximian.com>
6052 * *.[ch] fix bits I screwed up:
6054 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6055 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6057 2001-11-13 Michael Meeks <michael@ximian.com>
6059 * *.[ch] Namespace libspi into spi_ and Spi.
6061 2001-13-11 Michael Meeks <michael@ximian.com>
6063 * Makefile.am: dist & install at-spi-1.0.pc
6065 * libspi/Makefile.am: install into at-spi-1.0
6067 * idl/Makefile.am (idldir): install into at-spi-1.0
6069 * at-spi-1.0.pc.in: add.
6071 * configure.in: build it.
6073 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6075 * test/keysynth-demo.c:
6076 Use a 'realize' signal-handler to set the WM properties for
6077 the virtual keyboard, rather than making it a "POPUP" type
6078 override-redirect window (thanks to anders carlsson for that
6081 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6084 * test/keysynth-demo.c:
6085 Added new test of key synthesis, which creates a simple
6086 (mouse-operated) onscreen keyboard. It inserts key events into
6087 the currently-focused window, thus it does not grab keyboard focus
6090 * cspi/spi_registry.c:
6091 Added C binding for AT-SPI generateKeyEvent.
6093 * libspi/deviceeventcontroller.c:
6094 Added call to XFilterEvent so that key listener works with XIM (we
6095 hope). Added event_synth_type to generateKeyEvent, so that we can
6096 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6097 synthesize a press/release pair for KeySyms.
6099 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6101 * libspi/Makefile.am:
6102 * registryd/Makefile.am:
6103 (temporary) hack to include libXtst in libspi and registryd.
6104 (Needed for keystroke synthesis, see below).
6107 Improved API for registerKeystrokeListener, in accordance with
6108 discussions with Gnopernicus team and X server research.
6110 * libspi/registry.c:
6111 * libspi/deviceeventcontroller.c:
6112 * libspi/accessible.c:
6113 * libspi/keystrokelistener.c:
6114 Changes and fixes to support keylisteners for potentially
6115 consumed key events (that is, 'passive grabs').
6116 Added implementation for generateKeyEvent() [untested].
6119 Changes to registerKeystrokeListener() API, as above.
6120 Added deregisterGlobalEventListenerAll(), and
6121 deregisterKeystrokeListener(), which are needed for clean exit of
6123 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6124 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6126 * cspi/spi_registry.c:
6127 Added implementations of function prototypes mentioned above.
6129 * registryd/registryd.c:
6130 Added the key listener event source as a g_timeout(), to allow
6131 receipt of key events that are not caught by GDK (since GDK
6132 doesn't support passive keygrabs, this was necessary).
6135 Changed to attach a keylistener to 'Alt' keys, and
6136 respond to the following keycommands: Alt-M (toggle magnifier);
6137 Alt-F (toggle speech); Alt-Q (quit).
6138 Added an exit routine to deregister the listeners, and a key
6139 listener that prints some key info to the console when a key
6140 matches the listener mask (and is thus received by the listener).
6142 * util/idl/Magnifier.idl:
6143 Changes to magnifier API to support multiple zoom regions,
6144 non-uniform scaling in x and y, markDirty, and a host of other
6145 features that would be useful to magnification.
6148 * util/mag_client.c:
6149 * util/mag_client.h:
6150 * util/mag_control.c:
6152 Source code changes to support the above IDL changes.
6155 As above, and also changes to use a (slower) generic conversion
6156 path for colormap conversions, since the fast RGB conversions have been
6157 reported to fail for 16-bit displays.
6159 2001-10-26 Michael Meeks <michael@ximian.com>
6161 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6163 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6165 * at-bridge/Makefile.am: fix LDFLAGS.
6167 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6169 * at-bridge/bridge.c:
6170 Re-worked listeners for toolkit events, now we have signal
6171 and property listeners. Added a private method
6172 register_atk_event_listeners(), which registers with the
6173 various atk and gtk signals we need to monitor in order to emit
6175 Added emission hook for AtkObject:property-change events, to
6176 support the 'property listeners'.
6177 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6180 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6181 which emit warnings and exit, respectively, if CORBA errors occur
6182 during remote calls, and we now use these methods to check most of
6183 our CORBA calls in the C bindings.
6185 * cspi/spi_accessible.c:
6186 Changed AccessibleSelection_refSelectedChild() to
6187 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6188 now increment refcounts.
6190 * cspi/spi_component.c:
6191 Fixed some long pointer casts (dangerous!) to pass pointers to
6192 CORBA_longs of the proper type to the CORBA stubs, and copy the
6193 data into the longs that were passed into the C bindings code.
6195 * at-bridge/bridge.c:
6197 * libspi/accessible.c:
6198 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6199 hyperlinks, AtkHyperlink is an object type.
6201 * libspi/application.c:
6202 Added various conversions to and from "generic" event types and
6203 atk-specific types; this is really part of the 'bridge'
6204 implementation but is valid for all AtkObject-based accessibility
6207 * libspi/editabletext.c:
6208 Fixed nasty bug wherein editable text's finalize method was
6209 unref'ing tha AtkObject reference that the text parent class was
6210 about to unref _again_. There was also a nasty inheritance bug
6211 that meant that the AccessibleEditableText class was corrupt.
6213 * libspi/selection.c:
6214 Provided implementations for some selection API that was broken.
6216 * idl/Application.idl:
6217 Added registerObjectEventListener () method.
6220 Fixed a number of return values that were Bonobo_Unknowns from
6221 bonobo_object_corba_objref(), which I
6222 forgot to dup before returning. Changed instances of
6223 bonobo_object_corba_objref (bonobo_object(o)) to
6224 BONOBO_OBJREF(o), for concision and clarity.
6226 2001-10-13 Louise Miller <louise.miller@sun.com>
6228 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6229 idl/Event.idl, idl/Registry.idl
6230 Changed these files to include Bonobo_Unknown.idl instead
6233 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6235 * libspi/component.c libspi/component.h:
6236 Fixed typo. Added assertions for object checks in
6237 AccessibleComponent code.
6239 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6241 * idl/Accessible.idl:
6242 Added 'isEqual (Accessible *object)'
6243 method for Accessible. (Not Yet Implemented).
6246 Changed signature of registerKeystrokeListener() to
6247 take a KeySet and KeyEventSeq so that specific keys and event
6248 types could be requested for monitoring, and added a flag
6249 is_synchronous so that either synchronous or asynchronous
6250 notification could be requested. (However this is not all
6251 implemented yet). This also meant adding two new typedefs,
6252 KeyEventSeq and KeySet.
6255 Added two new relations, RELATION_TOOLTIP_FOR and
6256 RELATION_LEAFNODE_OF.
6259 Added new state, STATE_HAS_TOOLTIP.
6261 * libspi/text.c, editabletext.c:
6262 Added new assertions to all casts of bonobo-objects from
6263 CORBA servants, to prevent Text API calls on non-text objects.
6264 Changed suspect casts of int-pointer types, so that we
6265 always send a valid CORBA_long pointer to the CORBA APIs that use
6266 in/out long parameters. We then have to copy from the CORBA_long
6267 into the regular long or int for return to the C bindings, or
6268 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6271 * libspi/deviceeventcontroller.c:
6272 Cleaned these sources up.
6274 Changed return type for getCharacterAtOffset to
6275 CORBA_unsigned_long, to allow for 32-bit characters.
6278 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6282 Fixed 'make dist' so that distro compiles...
6283 * libspi/keymasks.h:
6285 * cspi/spi-listener.c:
6286 KeystrokeListenerCB now returns a boolean.
6288 Added KeyEventType struct, and KeyStroke.
6289 Also added createKeystrokeListener(),
6290 KeystrokeListener_addCallback(),
6291 KeystrokeListener_removeCallback(), and added a keymask to
6292 registerKeystrokeListener().
6293 * cspi/spi_accessible.c:
6294 Changed numerous return types for interfaces from
6295 AccessibleComponent to Accessible<InterfaceName>; this was
6296 probably a cut-and-paste error.
6298 Implementations of new KeystrokeListener api (from spi.h,
6301 Changes to key modifier mapping.
6302 Created ControllerEventMask struct.
6303 Made DeviceEventController derive from Bonobo::Unknown.
6305 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6306 * libspi/deviceeventcontroller.c:
6307 Added a number of new internal (private) methods.
6308 * libspi/editabletext.c:
6309 * libspi/editabletext.h:
6310 Fixed a number of bugs related to the fact that
6311 editabletext inherits from text. Fixed the EditableText struct,
6312 the init() call, and use correct casts when calling Text methods
6313 from an EditableText object. Removed (duplicate) atko from the
6314 EditableText structure, we use the one in the parent Text
6315 structure via the casts mentioned above.
6316 * libspi/keystrokelistener.[ch]:
6317 * libspi/registry.c:
6318 Changes in support of keyboard handling (above).
6320 Keyboard handling, though partly functional, is still not
6321 recommended for at-spi client use as there is considerable
6322 work yet to be done.
6325 Changed some places where pointers to various int types
6326 are cast to be pointers to CORBA_long types and vice-versa:
6327 pointer casting is not safe so we pass pointers of the correct
6328 types and then cast the result before putting it into the target
6331 * libspi/text.h: minor typos corrected.
6333 We now speak not only the name of a Text element, but the
6334 first sentence of its content, when it receives focus.
6335 I also changed the text compression to 75% from 50%.
6336 * util/Accessibility_Util.server.in:
6337 Changed the default magnifier type to be a 3x vertical
6338 splitscreen magnifier (was previously a 2x horizontal one).
6340 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6342 * libspi/keystrokelistener.h:
6343 * libspi/keystrokelistener.c:
6344 Initial functional implementations of KeystrokeListener.
6347 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6349 Fixed string handling for NULL strings in libspi.
6350 Added spi_freeString to free strings returned by C bindings.
6352 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6354 * libspi/keystrokelistener.h:
6355 * libspi/keystrokelistener.c:
6356 Began (no-op) implementations of KeystrokeListener
6358 * libspi/deviceeventcontroller.c:
6359 * libspi/deviceeventcontroller.h:
6360 Began creating implementations of DeviceEventController,
6361 to handle keystroke and mouse event listening and
6363 * libspi/accessible.c:
6364 Stubbed-in the implementations for
6365 Accessibility_Accessible_getState and
6366 Accessibility_Accessible_getRelationSet.
6367 * libspi/registry.c:
6368 Improved de-registration process and fixed some bugs,
6369 deregistration now works correctly.
6371 Added initialization of applications list (to NULL).
6373 Reduced speech compression from 0.5 to 0.7, for demo.
6374 Changed call to gdk_window_set_decorations()
6375 to gtk_window_set_decorated().
6376 * at-bridge/bridge.c:
6377 Bridge now deregisters when app exits, via
6378 registration of a cleanup function
6379 with the g_atexit() call.
6380 Required making 'app' static, renamed 'this_app'.
6381 Fixed broken use of bonobo_init, passing argv wrongly.
6383 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6387 Created a new directory for
6388 accessibility-related utilities, primarily for
6389 testing and demo purposes, but with possible
6396 Onscreen magnifier utility that
6397 is implemented as a bonobo service.
6399 * util/mag_client.c:
6400 * util/mag_client.h:
6401 Client-side support (simple C bindings)
6402 for Magnification service
6404 * util/mag_control.c:
6405 Client program example for
6406 Magnification service
6408 * util/Accessibility_Magnifier.server.in:
6409 Bonobo-activation file for the
6410 Magnification service.
6413 * util/idl/Magnifier.idl:
6414 IDL defining the bonobo Magnification
6418 Modifications to use the bonobo-activated magnifier
6419 above, in place of trying to connect to an existing
6420 magnifier that uses socket-listening IPC.
6422 If env variable MAGNIFIER is set, a magnifier service
6423 will be started if one does not exist.
6425 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6427 * at-bridge/bridge.c:
6428 applied patch from Marc to build and run
6429 against new glib and gtk+ (seemed like a change
6430 to bonobo_init signature was made ?)
6432 made festival-server support turned off by default.
6433 Added support for a simple magnifier (off by default)
6434 which will be added to a 'util' directory later.
6435 * at-bridge/Makefile.am:
6436 Changed "application.h" header from a 'source'
6437 to a 'dependency' of libat-bridge.
6439 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6448 Added interface implementation c files to list of
6449 includes so they are included in libcspi.
6452 Changed prototype of AccessibleAction_doAction to return a
6454 Changed prototype of AccessibleTable_getCaption to
6455 return an Accessible.
6456 Changed prototype of AccessibleTable_getSelectedRows
6457 and AccessibleTable_getSelectedColumns to
6458 return a long (returns the number of selected rows
6459 or columns respectively).
6460 Changed name of AccessibleText_refRunAttributes to
6461 AccessibleText_getAttributes.
6462 Changed prototype of AccessibleText_getCharacterExtents to
6463 return a void rather than a boolean.
6464 Added support for a AccessibleCoordType parameter
6465 specifying what type of coordinates are desired.
6466 Added an AccessibleCordType parameter to
6467 AccessibleText_getPointAtOffset.
6469 * cspi/spi_accessible.c:
6470 Added code to return the outstanding interfaces from
6471 Accessible_queryInterface.
6473 * cspi/spi_action.c:
6475 Corrected call to getNActions to call the c binding
6478 * cspi/spi_editabletext.c:
6480 Changed name from setRunAttributes to setAttributes.
6482 * cspi/spi_hyperlink.c:
6484 Changed call to getNAnchors to correctly call the c
6485 binding for an attribute.
6487 * cspi/spi_hypertext.c:
6489 Changed getImageDescription to correctly call the
6490 binding for an attribute.
6492 * cspi/spi_selection.c:
6493 Changed getNSelectedChildren to correctly call the c
6494 binding for the attribute.
6495 Changed refSelectedChild to getSelectedChild.
6499 Changed getCaption to return an Accessible.
6500 Fixed calls which retrieve attributes.
6501 Changed refAt to getAccessibleAt.
6502 Changed getNSelectedRows and getNSelectedColumns to
6506 Changed getCharacterExtents and getPointAtOffset to accept an
6507 AccessibleCoordType.
6509 Changed calls which retrieve attributes.
6510 Changed refRunAttributes to getAttributes.
6515 * idl/Hyperlink.idl:
6516 Changed n_anchors attribute to nAnchors to keep naming
6517 convention consistent.
6520 Made Table inherit from Bonobo::Unknown.
6521 Added nSelectedColumns and nSelectedRows attributes.
6524 Made Value inherit from Bonobo::Unknown.
6526 * libspi/hyperlink.c:
6527 Change for nAnchors attributte name change.
6529 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6537 Added interface implementation c files to list of
6538 includes so they are included in libcspi.
6541 Changed prototype of AccessibleAction_doAction to return a
6543 Changed prototype of AccessibleTable_getCaption to
6544 return an Accessible.
6545 Changed prototype of AccessibleTable_getSelectedRows
6546 and AccessibleTable_getSelectedColumns to
6547 return a long (returns the number of selected rows
6548 or columns respectively).
6549 Changed name of AccessibleText_refRunAttributes to
6550 AccessibleText_getAttributes.
6551 Changed prototype of AccessibleText_getCharacterExtents to
6552 return a void rather than a boolean.
6553 Added support for a AccessibleCoordType parameter
6554 specifying what type of coordinates are desired.
6555 Added an AccessibleCordType parameter to
6556 AccessibleText_getPointAtOffset.
6558 * cspi/spi_accessible.c:
6559 Added code to return the outstanding interfaces from
6560 Accessible_queryInterface.
6562 * cspi/spi_action.c:
6564 Corrected call to getNActions to call the c binding
6567 * cspi/spi_editabletext.c:
6569 Changed name from setRunAttributes to setAttributes.
6571 * cspi/spi_hyperlink.c:
6573 Changed call to getNAnchors to correctly call the c
6574 binding for an attribute.
6576 * cspi/spi_hypertext.c:
6578 Changed getImageDescription to correctly call the
6579 binding for an attribute.
6581 * cspi/spi_selection.c:
6582 Changed getNSelectedChildren to correctly call the c
6583 binding for the attribute.
6584 Changed refSelectedChild to getSelectedChild.
6588 Changed getCaption to return an Accessible.
6589 Fixed calls which retrieve attributes.
6590 Changed refAt to getAccessibleAt.
6591 Changed getNSelectedRows and getNSelectedColumns to
6595 Changed getCharacterExtents and getPointAtOffset to accept an
6596 AccessibleCoordType.
6598 Changed calls which retrieve attributes.
6599 Changed refRunAttributes to getAttributes.
6604 * idl/Hyperlink.idl:
6605 Changed n_anchors attribute to nAnchors to keep naming
6606 convention consistent.
6609 Made Table inherit from Bonobo::Unknown.
6610 Added nSelectedColumns and nSelectedRows attributes.
6613 Made Value inherit from Bonobo::Unknown.
6615 * libspi/hyperlink.c:
6616 Change for nAnchors attributte name change.
6619 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6621 implementations-- made server implementations own AtkObject pointers
6622 rather than their respective AtkInterrface pointers to fix
6623 refcounting. AtkHyperlink is still broken.
6625 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6626 * cspi/spi_accessible.c:
6627 Added method Accessible_Role_getName(),
6628 and requisite string array (role_names).
6629 Added conversion string_from_corba_strin() call
6630 to Accessible_getName and _getDescription.
6631 * libspi/accessible.c:
6632 Added implementation for Accessible_getRole()
6634 Added festival support, used if environment variable
6637 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6639 * at-bridge/bridge.c:
6640 Now allocate Accessibility_Event using
6641 Accessibility_Event__alloc() instead of g_new0().
6642 * libspi/accessibleeventlistener.c:
6643 Initialize AccessibleEventListener->callbacks to NULL.
6644 Fixed accessible__event_listener_init() param, changed to
6645 "AccessibleEventListener *" type.
6646 Changed a bonobo_object_release_unref() call to
6647 Accessibility_Accessible_unref().
6648 * libspi/listener.c:
6649 Changed Bonobo_Unknown_unref to (equivalent)
6650 Accessibility_Accessible_unref.
6651 * libspi/registry.c:
6652 Changed bonobo_object_release_unref to
6653 Accessibility_Accessible_unref.
6655 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6658 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6659 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6660 spi-util.c spi-util.h
6661 Implementations for C bindings to remaining accessibility
6664 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6667 changed return value of Action from void to boolean to
6668 bring in line with ATK.
6671 Changed getText funcions to return "out" start and end offsets.
6672 Changed getAttributes to take and offset and return the start
6673 and end offset of the attribute run.
6674 Changed getOffsetAtPoint and getCharacterExtents to take an
6675 enum describing whether coordinates are window or screen.
6678 libspi/action.c libspi/action.h libspi/editabletext.c
6679 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6680 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6681 libspi/image.h libspi/selection.c libspi/selection.h
6682 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6683 libspi/value.c libspi/value.h
6684 Added server implementations for outstanding ATK interfaces
6685 not yet implemented.
6687 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6690 Added (missing) getName() method.
6691 Made nActions an attribute.
6692 * idl/EditableText.idl:
6693 Changed order of params in setAttributes.
6694 * idl/Hyperlink.idl:
6695 Removed getAnchor, added getURI.
6697 Changed attributes to methods, for efficiency
6698 (so that getting extents can be done in one call)
6699 * idl/Selection.idl:
6700 Changed nSelectedChildren to attribute, and re-indented.
6701 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6703 * idl/Text.idl: reformatted to match our coding style.
6704 (temporarily?) removed getRowColumnAtOffset().
6705 Changed text selection API to support multi-select and
6706 non-contiguous selections, as in ATK.
6707 * idl/Value.idl: changed some methods to attributes.
6709 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6711 * libspi/listener.c(impl_notify_event):
6712 BonoboUnkown_unref the source instead
6713 of bonobo_object_release_unref - the ORB
6714 handles the releasing.
6716 * configure.in: require ORBit-2.3.94 for
6719 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6721 Tagged CVS repository 'EA_1_0'.
6722 * README.EARLY_ACCESS:
6723 Alphabetized acknowledgements list, and
6725 Listed some known dependencies of at-spi.
6727 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6729 * docs/at-spi-docs.sgml:
6730 * docs/at-spi-sections.txt:
6731 * docs/at-spi-overrides.txt: (Added zero-length file)
6732 Documentation improvements - gtk-doc should build
6733 docs for all implemented C bindings now.
6736 * cspi/spi.c: (New file)
6737 * cspi/spi_event.c: (New file)
6738 * cspi/spi_registry.c: (New file)
6739 * cspi/spi_accessible.c: (New file)
6740 * cspi/spi_application.c: (New file)
6741 * cspi/spi_component.c: (New file)
6742 Split spi_main.c into six parts, and included them from
6743 "spi.c". This is a bit of a hack, probably temporary,
6744 but required by gtk-doc, apparently.
6746 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6749 * docs/at-spi-docs.sgml:
6750 * docs/at-spi-sections.txt:
6752 Initial checkins/modifications for gtk-doc generation.
6755 Added (missing) interface query methods to Accessible's C binding.
6757 Added GenericInterface type definition.
6759 Added query for AccessibleComponent interface to focus event handler.
6760 Added printout of bounding box for focussed component.
6761 * libspi/component.c:
6762 Added partial implementation for AccessibleComponent to C binding.
6763 * idl/Application.idl:
6764 * libspi/registry.c:
6765 * libspi/listener.c:
6766 * libspi/application.c:
6767 * libspi/application.h:
6768 Changed "ID" attribute type from string to long.
6770 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6774 Made method naming consistent: methods taking object args
6775 start with uppercase, other methods (except those using
6776 acronyms) start with lowercase. Underscores delimit between
6777 object names and method names:
6778 SPI_init() - uppercase since it starts with an acronym.
6779 getDesktopCount () - lowercase start since no object param0.
6780 Accessible_getName() - uppercase object type name, studlyCaps method
6784 Added gtk-doc documentation for all currently implemented
6785 methods in the C bindings API.
6787 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6789 * Makefile.am : changed build order to build test last.
6792 Changed "createEventListener" to "CreateEventListener".
6793 * libspi/accessibleeventlistener.c :
6794 Bugfix for addition of callbacks.
6795 * test/Makefile.am :
6796 * test/simple-at.c :
6797 Added new test that uses the C bindings API.
6799 * libspi/listener.c :
6800 * libspi/registry.c :
6801 * libspi/accessibleeventlistener.c :
6802 * at-bridge/bridge.c :
6803 Renamed member "target" of Accessibility_Event to "source",
6804 which is more descriptive.
6807 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6811 * cspi/Makefile.am :
6812 Added makefile support for at-spi/cspi directory.
6815 * cspi/spi-listener.h : (NEW FILE)
6816 Added support for/use of spi-listener.h.
6818 C bindings now build successfully, with no warnings.
6819 * libspi/accessibleeventlistener.h : (NEW FILE)
6820 * libspi/accessibleeventlistener.c : (NEW FILE)
6821 * libspi/Makefile.am :
6822 Added new object type "AccessibleEventListener"
6823 which inherits from Listener, and allows attachment
6824 of in-process callbacks (so that a client with a listening
6825 object instance can add functionality to the local
6826 implementation, dynamically).
6828 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6830 * libspi/accessible.c:
6831 Add implementation for get_index_in_parent().
6833 Added #include of "spi-roletypes.h", and
6834 added enumerated type AccessibleCoordType.
6835 Added definition for KeystrokeListener (function type).
6838 * cspi/spi-statetypes.h :
6839 * cspi/spi-roletypes.h :
6841 Added these headers, used by spi.h.
6843 Added code (NOTE: not yet built by make).
6845 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6847 * libspi/Makefile.am: generate imodule
6848 at the same time as other idl compiler
6851 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6852 * libspi/registry.c :
6853 * libspi/application.c :
6854 * idl/Application.idl :
6855 Made registration with toolkit an application method,
6856 which is required since each app has its own toolkit static
6857 environment. Thus the bridge must register for
6858 notification of toolkit events from each application in turn.
6859 Toolkit notifications are now successfully registered for, and
6860 sent to the listening at client.
6862 Changed toolkit event string to use hyphens rather than underscores.
6863 * libspi/listener.c :
6864 listner now gives more info in debug mode - it reports the
6865 name of the event received, as well as the name of the source.
6868 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6870 * libspi/registry.c :
6871 added more implementation for toolkit events.
6872 Fixed bug such that toolkit event registrations
6873 (via atk) use the whole event name string, not
6875 Removed a useless call to an ORBit_ method.
6876 * at-bridge/bridge.c :
6877 Removed unused local sbuf[] variable.
6879 We now register for Gtk:GtkWidget:button_press_event
6880 events as well as "focus:" events.
6882 Add some more API from Registry.idl that was missing,
6883 for keystroke listening, keystroke and mouse event
6884 synthesis, and enumeration of accessible desktops.
6886 2001-08-16 Michael Meeks <michael@ximian.com>
6888 * configure.in: use AM_GLIB_GNU_GETTEXT.
6890 * Makefile.am (SUBDIRS): kill intl.
6892 2001-08-15 Michael Meeks <michael@ximian.com>
6894 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6896 * configure.in: upd.
6898 * configure.in: depend on a recent bonobo-activation that
6899 will find our server files ...
6901 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6903 * libspi/accessible.c : accessible_new() :
6904 Now we add the Component interface via bonobo_object_add_interface,
6905 if the contained AtkObject implements AtkComponent.
6906 * libspi/accessible.h : now include "component.h"
6907 * libspi/component.h :
6908 * libspi/component.c : added files - implementation of
6909 bonobo wrapper object for Accessibility/Component
6910 * libspi/listener.c :
6911 Added test code to check for Accessibility/Component:1.0
6912 interface and report whether it is implemented by the
6914 * libspi/registry.c :
6915 Now we check for not only the hash of the whole event
6916 string before relaying the event, we also check the
6917 "minor" event string (without the detail string).
6918 This allows event listeners to be registered against
6919 all events of a certain major+minor type, or just
6920 against a specific major+minor+detail type.
6921 * libspi/accessible.c :
6922 Added implementations for Accessible:get_parent(),
6923 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6924 * libspi/registry.c :
6925 * libspi/listener.c :
6926 Replaced calls to Accessibility_Accessible_ref() and
6927 Accessibility_Accessible_unref() with
6928 calls to bonobo_object_dup_ref() and
6929 bonobo_object_release_unref(), so that the CORBA object
6930 is dup-ed and released when relayed, as well as the bonobo object.
6932 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6934 * libspi/Makefile.am,
6935 registryd/Makefile.am,
6936 at-bridge/Makefile.am.
6937 test/Makefile.am, configure.in:
6938 reverse previous changes.
6940 * /idl/Image.idl: fix typo.
6942 * test/Makefile.am: put DEBUG_FLAGS
6945 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6947 * test/app.c: use argv[0] instead of
6950 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6952 * libspi/Makefile.am,
6953 registryd/Makefile.am,
6954 at-bridge/Makefile.am.
6955 test/Makefile.am, configure.in:
6956 cleanup, replace individual LIBS/CFLAGS with
6957 AT_COMMON_{LIBS|CFLAGS}.
6961 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6963 * configure.in, libspi/Makefile.am:
6964 Change IDL path checking for bonobo-activation
6967 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6969 * registryd/registry.c : separated event listeners to use
6970 3 separate lists (focus, window, toolkit). Began testing
6971 event names against hashes before relaying events.
6972 * test/at.c : now register for events of type "focus:"
6973 * test/app.c : now generate events of type "focus:"
6974 * at-bridge/bridge.c : register with ATK for focus events,
6975 and we now relay those focus events to any "focus:" listeners.
6976 This now works with the bridge as a GTK_MODULE when running test/at.
6977 * libspi/registry.c :
6978 * libspi/listener.c :
6979 now we ref event sources before propagating, and unref on receipt.
6980 * libspi/registry.c :
6981 some changes to internal structs, to support event typestring hashes.
6982 * text/app.c : changed the way the appname is generated.
6983 * cspi : added directory that will hold the C bindings library for
6984 non-CORBA/bonobo-savvy clients.
6985 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6986 * idl/Component.idl : added in parameter to indicate coord system for
6987 geometry-related calls.
6988 * idl/Hyperlink.idl : added readonly n_links attribute
6989 * idl/Image.idl : changed methods to attributes.
6991 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6993 * at-bridge/Makefile.am: link against
6994 ../libspi/libspi.la instead of -lspi.
6996 * at-spi/test/app.c: include
6997 bonobo-activation.h. Use a default appname
6998 if one is not provided.
7000 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7002 * idl/Registry.idl : temporarily changed register_Application
7003 to oneway, to work around issue with initial registration
7005 * idl/Application.idl : changed attribute "id" from readonly
7006 to read-write, since it needs to be assigned by Registry.
7007 * registryd/registryd.c : added call to set application id
7009 * registryd/registry.c : changed de-registration procedure to
7010 use CORBA_Object_hash() to find matching object ref in application
7011 lists and listener lists.
7012 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7013 began distinguishing between event types (work in progress).
7015 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7018 * libspi/application.c:
7019 Added implementations for get/set id, get_toolkitName,
7021 * registryd/registryd.c :
7025 Converted from use of OAF to bonobo-activation.
7026 * libspi/desktop.h :
7027 * libspi/desktop.c :
7029 Removed references to atksimpleobject, since base atkobject
7030 implementation now provides functionality we need.
7031 * libspi/atksimpleobject.c :
7032 * libspi/atksimpleobject.h :
7037 * at-bridge/Makefile.am
7038 * at-bridge/bridge.c
7041 Added directory "bridge" and contents, and added dependencies
7042 in Makefile.am/configure.in.
7043 Initial checkin of "at-bridge".
7044 This code is a GTK_MODULE which automatically registers
7045 GTK+ apps with the accessibility registry, using an object
7046 reference to the root ATK object.
7048 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7050 * po/Makefile.in.in: Remove. Again. If this
7051 doesn't get autogenerated - you need to update
7054 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7056 * po/Makefile.in.in: Add. Again.
7058 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7060 * libspi/accessible.c : added support for 'description' property.
7061 * libspi/accessible.c
7063 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7064 (since the two are now equivalent in libbonobo)
7072 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7073 Bonobo::Unknown as does Accessibility::Accessible.
7074 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7075 interface with Bonobo::Stream, since it was redundant with it.
7076 (The Stream returned by a StreamableContext object is expected to
7077 implement only a subset of Bonobo::Stream)
7079 2001-07-28 Anders Carlsson <andersca@gnome.org>
7081 * libspi/accessible.c (accessible_object_finalize): Change
7082 g_free to g_object_unref since the AtkObject is a GObject.
7084 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7086 * idl/Accessibility.idl: add new IDL files
7089 * idl/Action.idl: Definitions of actionable UI object
7090 * idl/Component.idl: Definitions of UI component geometry, etc.
7091 * idl/Hyperlink.idl: Defs of hyperlink behavior
7092 * idl/Image.idl: Def of accessible image
7093 * idl/Selection.idl: Definition of UI object with selectable children
7094 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7095 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7096 * idl/Text.idl: Interface defs for UI elements with complex textual content
7097 * idl/Value.idl: Definition of UI element that is a value controller or display
7099 2001-07-27 Michael Meeks <michael@ximian.com>
7101 * po/Makefile.in.in: remove autogenerated file from CVS.
7103 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7106 * idl/Registry.idl: include guard.
7108 * idl/Accessibility.idl: Add, and include all the other IDL
7111 * idl/*.idl: remove mass of pragmas etc.
7113 2001-07-26 Michael Meeks <michael@ximian.com>
7115 * registryd/Makefile.am (registryd_SOURCES): remove
7118 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7120 * libspi/.cvsignore, registryd/.cvsignore,
7121 test/.cvsignore: updated.
7123 * po/Makefile.in.in: gettext update.
7125 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7127 * initial CVS checkin
7129 2001-06-29 Michael Meeks <michael@ximian.com>
7131 * configure.in: add AM_CONFIG_HEADER to gen config.h