1 2004-09-03 Bill Haneman <bill.haneman@sun.com>
3 * cspi/bonobo/cspi-bonobo.c:
4 (cspi_display_name): Fix C99ism.
6 (spi_display_name): Fix C99ism.
7 Patch from Jens Granseuer, jensgr@gmx.net.
9 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
11 * configure.in: Added "or" to ALL_LINGUAS.
13 2004-08-20 Bill Haneman <bill.haneman@sun.com>
15 * configure.in, NEWS, README: Revved to 1.5.4.
17 * registryd/registry-main.c:
18 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
21 * cspi/bonobo/cspi-bonobo.c:
22 (cspi_display_name): New convenience method, gets DISPLAY with
23 screen number stripped, if AT_SPI_DISPLAY isn't already set.
24 (cspi_init): Set the activation env value above before getting
27 * atk-bridge/bridge.c:
28 (spi_display_name): Create the AT_SPI_DISPLAY activation
29 environment for an app, based on the DISPLAY environment with the
30 screen number stripped off.
31 (atk_bridge_init): Allow redirection of error messages to a log.
32 (spi_atk_bridge_get_registry): Call
33 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
35 Fixes for bugs #149962, #136986, #144086.
37 2004-08-16 Christian Rose <menthos@menthos.com>
39 * configure.in: Added "bs" to ALL_LINGUAS.
41 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
43 * configure.in: Added nb to ALL_LINGUAS.
45 2004-09-03 Bill Haneman <bill.haneman@sun.com>
48 (SPI_init): Return error code '2' if the activated
49 registry cannot be pinged. Fixes bug #147648.
51 2004-07-28 Bill Haneman <bill.haneman@sun.com>
53 * registryd/deviceeventcontroller.c:
54 (spi_dec_init_mouse_listener): Don't do XGrabButton,
55 rely on timer-poll instead, to avoid conflict with
58 2004-07-20 Bill Haneman <bill.haneman@sun.com>
60 * configure.in: Revved to 1.5.3.
62 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
64 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
66 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
68 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
70 2004-06-11 Bill Haneman <bill.haneman@sun.com>
72 * atk-bridge/bridge.c:
73 (spi_atk_bridge_do_registration):
74 Register with ATK for AtkComponent:bounds-changed events.
75 (api_atk_bridge_signal_listener):
76 Marshal the AtkRectangle info into the event notification
77 for object:bounds-changed events.
80 (spi_init_any_rect): New method, inits a corba struct of
81 type Accessibility_BoundingBox from an AtkRectangle.
83 * libspi/spi-private.h: Declared spi_init_any_rect (above).
86 (SPIRect): New struct definition.
87 (SPI_freeRect): New declaration.
88 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
91 (AccessibleBoundsChangedEvent_getNewBounds): New method,
92 implemented. Gets the bounding box data from the CORBA_any
93 associated with a bounds-changed event notification.
94 (cspi_internal_event_get_rect): New, used internally by above method.
97 (SPI_freeRect): Implemented this new method, for freeing
100 * test/event-listener-test.c:
101 (main, report_bounds_event):
102 Added a test for object:bounds-changed events.
104 2004-06-01 Bill Haneman <bill.haneman@sun.com>
106 * test/login-helper-server-test.c:
107 (main): Fix C99-ism. Thanks to Jens Granseuer.
109 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
111 * libloginhelper-1.0.pc.in:
112 * idl/Accessibility_LoginHelper.idl:
113 * login-helper/Makefile.am:
114 * login-helper/login-helper.[ch]:
115 * test/login-helper-client-test.c:
116 * test/login-helper-server-test.c: Added files missing from CVS.
117 Files obtained from at-spi-1.5.2 tarball.
119 2004-05-27 Bill Haneman <bill.haneman@sun.com>
121 * configure.in: Create login-helper/Makefile.
122 Incremented micro version.
124 * Makefile.am: Add login-helper subdir and pkgconfig data.
126 * login-helper: New subdir.
128 * libloginhelper-1.0.pc.in: New.
130 * idl/Accessibility_LoginHelper.idl: New file, defines
131 interface whereby authentication clients can identify agents which
132 need access to services during the login process, e.g. screen lock
135 * login-helper/Makefile.am : New.
137 * login-helper/login-helper.[ch] : New, implementation of
138 a LoginHelper base class. Services needing LoginHelper can subclass.
140 * test/Makefile.am : Added test for login-helper, client and
143 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
144 Use proper prefix in #include files.
146 * test/login-helper-client-test.c: New.
148 * test/login-helper-server-test.c: New.
150 2004-05-27 Alexander Shopov <ash@contact.bg>
152 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
154 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
156 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
157 is positive. This should make it easier to detect inapprorpiate unref
160 2004-05-11 James Henstridge <james@daa.com.au>
162 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
163 no-op and deprecated.
165 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
167 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
169 2004-04-28 Bill Haneman <billh@gnome.org>
171 * Makefile.am: Added --enable-gtk-doc to
172 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
174 2004-04-19 Bill Haneman <billh@gnome.org>
176 * configure.in: Revved to 1.5.1.
178 * registryd/deviceeventcontroller.c:
180 (DEControllerPrivateData): Added fields for
181 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
182 (spi_dec_replace_map_keysym): New internal utility for
183 replacing a keysym in the keymap - used to allow
184 synthesis of individual characters which aren't in the
186 (spi_dec_reset_reserved): New; resets the changed keysym value
188 (keycode_for_keysym): We now try to deal with failed
189 XKeysymToKeycode requests by changing a keymap value
190 and returning a reserved keycode. We now take
191 a DEController pointer as first arg.
192 (spi_controller_register_with_devices): Call XkbGetMap with
193 the XkbKeySymsMask. Find the highest keycode in the current
194 keymap which doesn't have any grabs, and mark that one for
195 temporary re-mapping when out-of-range KeySyms are synthesized.
196 (dec_synth_keycode_press): Call XFlush after synthesizing the key
199 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
201 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
203 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
205 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
207 2004-03-24 Bill Haneman <billh@gnome.org>
210 (AccessibleTable_addRowSelection),
211 (AccessibleTable_addColumnSelection),
212 (AccessibleTable_removeRowSelection),
213 (AccessibleTable_removeColumnSelection):
214 Add declarations for spi wrappers which were
215 inadvertantly omitted. Fixes bug #133413.
218 Revved to 1.5.0 (unstable series for GNOME 2.7).
220 2004-03-24 Bill Haneman <billh@gnome.org>
222 * atk-bridge/bridge.c:
223 Bracketed some debug output in
224 conditionals, to avoid printing it in normal use.
227 * libspi/hyperlink.c:
228 Don't cast 'object' to ATK_OBJECT when constructing
229 an AtkAction interface for a hyperlink.
230 See discussion in bug #120659.
232 * test/key-listener-test.c:
233 (report_all_key_event): Send output to stderr,
234 not stdout, for consistency with the rest of the test callbacks.
237 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
238 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
239 Incremented to 1.4.1 (but didn't dist yet - I'm going to
240 try incrementing the revision AFTER doing a dist, at least
243 2004-03-22 Bill Haneman <billh@gnome.org>
245 * configure.in: Revved to 1.4.0, libtool 9.14.9
247 2004-03-17 Laszlo Peter <laca@sun.com>
249 * libspi-1.0-uninstalled.pc.in: add idldir
251 * cspi-1.0-uninstalled.pc.in: add idldir
253 2004-03-16 Gareth Owen <gowen72@yahoo.com>
255 * configure.in: Added "en_GB" to ALL_LINGUAS
257 2004-03-15 Bill Haneman <billh@gnome.org>
259 * configure.in: Revved to 1.3.16,
262 2004-03-15 Laszlo Peter <laca@sun.com>
264 * libspi-1.0-uninstalled.pc.in: new file
266 * cspi-1.0-uninstalled.pc.in: new file
268 * configure.in: add the new pc files to AC_OUTPUT
270 * Makefile.am: add the new pc files to EXTRA_DIST
272 2004-03-12 Bill Haneman <billh@gnome.org>
274 * atk-bridge/bridge.c:
275 (spi_atk_bridge_key_listener):
276 Make sure to return consumed=FALSE if snoop
277 event is not dispatched to listener.
280 2004-03-01 Bill Haneman <billh@gnome.org>
282 * configure.in: Revved to 1.3.15,
285 2004-03-07 Danilo Segan <dsegan@gmx.net>
287 * configure.in: Added "sr@ije" to ALL_LINGUAS.
289 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
291 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
293 2004-03-01 Bill Haneman <billh@gnome.org>
295 * configure.in: Revved to 1.3.14.
298 (SPI_exit): Removed "bye-bye" exit message.
299 Moved "leak" report to happen before the
300 iteration over the leaked refs list.
301 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
303 2004-02-24 Bill Haneman <billh@gnome.org>
305 * configure.in: Revved to 1.3.13.
307 * docs/reference/cspi/Makefile.am:
308 Correct typo that was breaking the docs build.
310 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
312 * autogen.sh: Require version 1.7 of automake.
314 * configure.in: call GTK_DOC_CHECK([1.0])
316 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
318 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
320 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
322 * test/Makefile.am: Remove use of CFLAGS.
324 This fixes bug #132987.
326 2004-02-11 Bill Haneman <billh@gnome.org>
328 * reverted most of Tomasz' patch below, since it was breaking
329 builds (see bug #134058).
331 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
333 * docs/reference/cspi/at-spi-cspi.types: added empty file for
334 correct pass "make dist" (empty .. because seems no sach types in
335 header files with gtk-doc markups).
336 * docs/reference/cspi/Makefile.am, configure.in:
337 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
338 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
339 * Makefile.am: added:
340 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
341 for force correct pass generate documentation on "make distcheck".
342 * libspi/Makefile.am: fixes for automake >= 1.6.
343 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
344 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
347 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
349 * docs/reference/cspi/Makefile.am (install-data-local): Install
350 index.sgml since the doc autobuilder on widget.gnome.org looks for
353 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
355 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
358 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
360 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
362 2004-01-27 Brian Cameron <brian.cameron@sun.com>
364 * test/simple-at.c: Fixed null string problems that cause core
365 dumping problems on Solaris.
367 2004-01-12 Bill Haneman <billh@gnome.org>
369 * configure.in: Incremented version to 1.3.11.
371 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
373 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
374 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
377 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
379 * configure.in: Added "fa" to ALL_LINGUAS.
381 2003-12-20 Arafat Medini <lumina@silverpen.de>
383 * configure.in: Added "ar" to ALL_LINGUAS
385 2003-12-16 Bill Haneman <billh@gnome.org>
387 * registryd/registry-main.c:
389 Set the reg_env DISPLAY variable before registering the
390 activated registry service. Fixes bug #129479.
392 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
394 * configure.in: Added "id" in ALL_LINGUAS
395 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
397 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
399 * registryd/deviceeventcontroller.c (global_filter_fn):
400 When an event is consumed discard any XEvents were added to
401 the queue while dealing with the the event. This can happen if
402 processing of the event takes a long time. Call XUngrabKeyboard
403 if an event was discarded. This fixes bug $124837.
404 Only call wait_for_release_event for a KeyPress.
405 Use local variable display instead of spi_get_display().
406 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
409 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
411 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
412 Allow for mask to contain values other than NumLock mask.
415 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
417 * registryd/devieceventcontroller.c:
418 (wait_for_release_event): Change first parameter from GdkEvent to
420 (global_filter_fn); Correct call to wait_for_release_event.
424 2003-12-08 Bill Haneman <billh@gnome.org>
428 * registryd/ucs2keysym.c: New file.
430 * registryd/deviceeventcontroller.c:
431 (dec_keysym_for_unichar): Remove old partial implementation and
432 replace with call to ucs2keysym(), which is much more complete.
433 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
438 2003-12-05 Bill Haneman <billh@gnome.org>
440 * configure.in: Version 1.3.9.
442 * docs/reference/cspi/tmpl/spi_registry.sgml:
443 Added reference to libspi/keymasks.h to the
444 description of Registry queries: AccessibleKeyMaskType.
447 2003-12-04 Bill Haneman <billh@gnome.org>
451 * idl/Accessibility_Application.idl:
452 (Accessibility::LOCALE_TYPE): New enum, corresponds to
453 setlocale's LC_TYPEs.
454 (Accessibility::Application::getLocale): New method.
455 Allows clients to query the locale, by type, of an app.
458 * cspi/spi_application.c:
459 (AccessibleApplication_getLocale): New method, wraps IDL above.
461 * libspi/application.c:
462 (spi_application_class_init): Init epv entry for getLocale.
463 (impl_accessibility_application_get_locale): Impl for above.
465 * test/test-simple.c:
466 (test_application): Added assertion for getLocale, i.e.
467 that the string from AccessibleApplication_getLocale (app, type)
468 is the same as that from setlocale (type, NULL);
470 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
472 *registryd/deviceeventcontroller.c: Add an idle handler which polls
473 the keyboard on a timeout intil the key state goes from pressed to
474 released. Fixes bug #111429.
476 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
478 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
479 root object so that it is present when a context menu in an
480 out-of-process applet is popped up.
481 (spi_atk_bridge_do_registration): Create acceessible application root
482 object only if it does not exist.
484 This fixes bug #125834.
486 2003-12-01 Bill Haneman <billh@gnome.org>
488 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
491 Added enum for AccessibleStreamableContentSeekType.
492 (AccessibleStreamableContent_freeContentTypeList): New.
494 * cspi/spi_streamablecontent.c:
495 (accessible_bonobo_stream_client_seek): New private method.
496 (AccessibleStreamableContent_seek): Implemented this method,
497 using Bonobo_Stream_seek.
498 (AccessibleStreamableContent_freeContentTypeList): New method
499 for freeing the return value from
500 AccessibleStreamableContent_getContentTypes.
501 (stream_cache_item_free): Replaces stream_release; stop leaks.
502 (stream_release): removed.
503 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
504 free the memory properly.
506 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
510 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
512 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
514 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
516 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
518 2003-12-01 Bill Haneman <billh@gnome.org>
520 Fix for bug/rfe #127463.
522 * idl/Accessibility_Accessible.idl:
523 (getLocalizedRoleName): New.
524 (unimplemented4): Removed (replaced by above).
526 * libspi/accessible.c:
527 (impl_accessibility_accessible_get_local_role_name): New.
528 (spi_accessible_class_init): Add getLocalizedRoleName entry to
532 (Accessible_getLocalizedRoleName): New.
534 * cspi/spi_accessible.c:
535 (Accessible_getLocalizedRoleName): New.
537 2003-12-01 Bill Haneman <billh@gnome.org>
540 * idl/Accessibility_Text.idl:
541 (getDefaultAttributes): New.
542 (unimplemented4): Removed (replaced by above method).
545 (impl_getDefaultAttributes): New method.
546 (spi_text_class_init):
547 initialize the get_default_attributes slot in the epv.
550 (AccessibleText_getDefaultAttributes): New prototype.
553 (AccessibleText_getDefaultAttributes): New method.
555 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
557 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
558 write beyond the end of the table. Fixes bug #120473.
560 2003-09-30 Christian Rose <menthos@menthos.com>
562 * configure.in: Added "eu" to ALL_LINGUAS.
564 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
566 * configure.in: ALL_LINGUAS: Added no.
568 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
570 * configure.in: Added lt to ALL_LINGUAS.
572 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
574 * atk-bridge/bridge.c:
575 (atk_bridge_init): Register event listeners always even for
576 out-of-process applet.
577 (spi_atk_bridge_toplevel_added): Remove call to
578 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
579 (spi_atk_bridge_toplevelk_removed): Remove call to
580 spi_atk_deregister_event_listenersa as the listeners are now always
582 (spi_atk_bridge_register_application): Remove call to
583 spi_atk_register_event_listeners as it is not done in atk_bridge_init
585 This fixes bug #120991.
587 * libspi/table.c (impl_getColumnDescription): Correct typo,
588 pointed out by Bolian.Yin@sun.com.
590 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
592 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
594 2003-09-08 Bill Haneman <billh@gnome.org>
596 * configure.in: Revved to 1.3.7.
598 This is the GNOME 2.4.0 release of at-spi.
600 * docs/reference/cspi/Makefile.am:
601 Removed spurious inclusion of 'index.sgml' in the
602 html directory; this was breaking make distcheck and
603 also some other build environments.
605 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
607 * registryd/registry.[ch}:
608 Add queue_handler_id and focus_object to SpiRegistry data structure.
609 (registry_flush_event_queue): If event being discarded is
610 "state-change:focused" store object as focus_object.
611 (registry_start_queue): Remove queue handler and focus object
613 (registry_discard_event): New function which discards a focus event
614 if we had stored focus object in the registry.
615 (registry_queue_event): Add new check that is_queueing is set as this
616 function is reentrant.
617 (registry_filer_event): Add call to registry_discard_event.
619 This resolves issues raised in bug #108664.
621 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
623 * configure.in: Added "bn" to ALL_LINGUAS.
625 2003-09-04 Bill Haneman <billh@gnome.org>
627 * cspi/spi_event.c: Documentation improvements for
628 (SPI_registerAccessibleKeylistener).
630 * docs/reference/tmpl/spi_registry.sgml:
631 Documentation improvements for SpiAccessibleKeylistenerCB.
633 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
635 * configure.in: Added "ro" to ALL_LINGUAS.
638 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
640 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
641 not decremented to zero. Fixes bug #120725.
643 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
645 * configure.in: Added "ja" to ALL_LINGUAS.
647 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
649 * configure.in: Added "is" to ALL_LINGUAS.
651 2003-08-22 Christian Rose <menthos@menthos.com>
653 * configure.in: Added "nl" to ALL_LINGUAS.
655 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
657 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
658 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
660 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
662 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
663 type for unspecified exception.
664 * cspi_streamablecontect): Add include of string.h for memcpy.
665 (stream_release): Correct call to bonobo_object_release_unref
666 (stream_cache_item_free): Correct call to bonobo_object_release_unref
667 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
668 argument of _cspi_expection_throw.
669 * libspi/hyperlink.c: Add include of libspi/action.h:
670 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
671 * libspi/streamablecontent.c: add include of libspi/component.h.
672 * regisrtyd/deviceeventcontroller.c:
673 (spi_dec_translate_mask): Removed unused variable priv.
674 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
675 * registryd/registry.c:
676 (registry_filter_event): Remove unused variable queue_is-empty.
677 (impl_registry_notify_event): Use correct modifier in fprintf call.
679 This fixes compiler warnings reported in bug #120220.
681 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
683 * registryd/registryd.c: Remove this file.
685 2003-08-17 Sanlig Badral <badral@openmn.org>
687 * configure.in: Added mn to ALL_LINGUAS.
689 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
691 * configure.in: Added et to ALL_LINGUAS.
693 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
695 * test/event-listener-test.c: Change active-descendant to
696 active-descendant-changed.
698 2003-08-10 Sami Pesonen <sampeson@iki.fi>
700 * configure.in: Added "fi" in ALL_LINGUAS.
702 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
704 * configure.in: Added "hi" in ALL_LINGUAS.
706 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
708 * configure.in: Revved to 1.3.6.
712 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
714 * registryd/deviceeventcontroller.c
715 (spi_device_event_controller_object_finalize): Fix typo in previous
718 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
720 * registryd/deviceeventcontroller.c
721 (spi_device_event_controller_object_finalize): Fix build on
722 systems without XEvIE.
724 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
726 * acconfig.h, configure.in, registryd/Makefile.am,
727 registryd/devicecontoller.[ch]: Add XEViE support.
729 2003-08-06 Wang Jian <lark@linux.net.cn>
731 * configure.in: Added "zh_CN" to ALL_LINGUAS.
733 2003-08-06 Metin Amiroff<metin@karegen.com>
735 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
737 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
739 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
740 MODIFIER_ALT in correct place.
742 This fixes part of bug #118114.
744 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
746 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
748 2003-07-28 Changwoo Ryu <cwryu@debian.org>
750 * configure.in: Added "ko" to ALL_LINGUAS.
752 2003-07-28 Ole Laursen <olau@hardworking.dk>
754 * configure.in: Added "da" to the commented out ALL_LINGUAS.
756 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
758 * configure.in: Added "sq" to ALL_LINGUAS.
760 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
762 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
764 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
766 * configure.in: updated ALL_LINGUAS list
768 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
770 * configure.in: Added Belarusian to ALL_LINGUAS.
772 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
774 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
776 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
777 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
779 This fixes bug #116949.
781 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
783 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
784 Correct CSPI to SPI in function documentation.
786 This fixes bug #118054.
788 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
790 * configure.in: Added Russian to ALL_LINGUAS.
792 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
794 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
796 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
798 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
800 2003-07-10 Joel Brich <joel.brich@laposte.net>
802 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
804 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
806 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
808 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
810 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
811 resources allocated for AccessibleEvent. See cspi_event().
813 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
814 static variable streams to NULL.
816 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
817 Update so that AcessibleEvent_ref will work.
819 This fixes bug #116624.
821 2003-07-06 Jordi Mallach <jordi@sindominio.net>
823 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
825 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
827 * configure.in: Added "fr" (French) to ALL_LINGUAS.
829 2003-07-02 Christian Neumair <chris@gnome-de.org>
831 * configure.in: Added "de" (German) to ALL_LINGUAS.
833 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
835 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
837 2003-07-01 Miloslav Trmac <mitr@volny.cz>
839 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
841 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
843 * configure.in: Added "pl" to ALL_LINGUAS.
845 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
847 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
849 2003-06-30 Bill Haneman <bill.haneman@sun.com>
852 (get_action_from_servant):
853 Removed assertion that action is implemented on an AtkObject.
855 * libspi/hyperlink.c:
857 Aggregate AccessibleAction interface on the hyperlink object if
858 the object implements AtkAction. (This convention is used in
861 2003-06-30 Bill Haneman <bill.haneman@sun.com>
863 * configure.in: Revved to 1.3.5.
865 * registryd/Accessibility_Registry.server.in.in:
866 Marked up appropriate strings for translation.
868 * atk-bridge/bridge.c: Marked a couple of
869 user-visible warnings for translation. Questionable
870 whether they are really useful, but possibly so.
873 2003-06-28 Christian Rose <menthos@menthos.com>
875 * configure.in: Added "sv" to ALL_LINGUAS.
877 2003-06-26 Bill Haneman <bill.haneman@sun.com>
879 * registryd/registry.c:
880 (spi_registry_object_finalize): Unref the deviceeventcontroller.
881 (registry_defer_on_event): Defer focus: events, this is an
882 improvement to the patch for bug #108664.
884 * TODO: Update with 2.4/"Dev Complete" items.
886 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
888 * atk-bridge/bridge.c:
889 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
890 looks up signals once.
891 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
892 if doing registration.
893 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
894 when doing registration.
896 This fixes bug #115014.
898 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
900 * atk-bridge/bridge.c:
901 (atk_bridge_init): Add signal handler for children-changed:remove on
902 root when in a BonoboComponent.
903 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
904 for first toplevel only other incrememt variable toplevels.
905 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
906 application and remove listeners.
907 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
909 (spi_atk_deregister_event_listeners): New function which removes
911 (reinit_register_vars): New fuction which reinitializes variables.
913 This fixes bug #111578.
915 2003-06-13 Bill Haneman <bill.haneman@sun.com>
917 * configure.in: version 1.3.4.
919 * cspi/spi_accessible.c:
920 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
923 2003-06-13 Michael Meeks <michael@ximian.com>
925 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
927 * cspi/spi_main.c (cspi_peek_ev): impl.
929 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
931 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
933 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
935 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
936 SPI_ROLE_AUTOCOMPLETE
938 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
940 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
941 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
943 2003-06-11 Bill Haneman <bill.haneman@sun.com>
945 * libspi/streamablecontent.h:
946 * libspi/streamablecontent.c:
947 New files, provide implementation/wrappers for
948 Accessibility_StreamableContent.
950 * cspi/spi_streamablecontent.c:
951 Connected the C wrappers to the libspi C bindings.
952 (AccessibleStreamableContent_close): New method.
955 (AccessibleStreamableContent_close): New method, needed
956 since we have an "open, [seek], read, close" model in cspi.
958 2003-06-11 Bill Haneman <bill.haneman@sun.com>
960 Fix for #108664; Padraig's revision of my original patch.
962 * registryd/registry.h:
963 Added event queue list, is_queuing, and exit_notify_timeout
964 to the registry struct.
966 * registryd/registry.c:
967 (registry_init): Initialize new struct from registry.h.
968 (impl_registry_notify_event):
969 Filter events before notifying, in case some need to be
971 (registry_filter_event): New,
972 we defer certain incoming events (for instance
973 window:deactivate) because we may wish to hide
974 or reject them based on pending events. This is
975 mostly a workaround for bug #108664.
976 (registry_queue_event, registry_start_queue): New.
977 (registry_defer_on_event): Test event to see if it
979 (registry_reset_on_event): Returns TRUE if the
980 event should cause a queue reset.
981 (registry_discard_on_event): Returns TRUE if the event
982 should cause the previous queue contents to be discarded.
983 (registry_timeout_flush_queue): Flushes the pending event
984 queue if no reset/discard-triggering events have come in
985 within the timeout period.
986 (registry_emit_event): New.
987 (registry_clone_notify_context): New, used when queueing the
988 event notify contexts.
990 2003-06-10 Bill Haneman <bill.haneman@sun.com>
992 * configure.in: Version revved to 1.3.2, lt 0.9.2
993 Incremented ATK required version to 1.3.4.
995 * cspi/spi_registry.c:
996 (SPI_generateKeyEvent):
997 We now pass the keystring along if it's non-null.
999 * registryd/deviceeventcontroller.c:
1000 (keysym_mod_mask): New method, returns modifier mask
1001 required to generate a keysym from a given keycode.
1002 (dec_synth_keysym): New method.
1003 (dec_synth_keystring): New method.
1004 (dec_get_modifier_state): New method.
1005 (dec_lock_modifiers): New
1006 (dec_unlock_modifiers): New.
1007 (dec_keysym_for_unichar): New, rather brute-force
1008 conversion from UCS-4 to X KeySyms. Only works for
1009 Latin at the moment, with partial implementations for
1010 Greek, Hebrew, and (incomplete) Katakana.
1011 (impl_generate_keyboard_event): Now implement
1012 "KEYSTRING" synthesis and implement "KEYSYM"
1014 (keycode_from_keysym): Improved, passes a returned
1015 modmask value now if the corresponding param is non-NULL.
1017 Fixes bugs #92143 and #109776.
1020 * test/keysynth-test.c:
1021 New test program for key synthesis, to confirm fixes for
1025 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1027 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1029 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1030 Add line for RELATION_POPUP_FOR
1032 * docs/reference/cspi/tmpl/spi_relation.sgml:
1033 Add relation SPI_RELATION_POPUP_FOR
1035 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1036 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1038 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1040 * libspi/relation.c (spi_init_relation_type_table):
1041 Add line for RELATION_POPUP_FOR
1043 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1045 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1046 there are still windows which have not been deleted and emit
1047 window:deactivate, if necessary and window:destroy events.
1048 This fixes bug #114370. The change on June 5th was not correct.
1050 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1052 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1055 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1057 New methods for client exception handling and interception.
1058 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1059 (SPI_exceptionHandlerPop): You guessed it...
1060 (SPI_getSourceType): Return the type of object which offended.
1061 (SPI_getExceptionCode): Return an enum code telling, possibly,
1062 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1063 (SPIAccessibleException_getSource): get the source object for
1064 exceptions that come from Accessibles, if SPIExceptionSourceType is
1065 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1066 (SPIException_getDescription): New, returns a string description of
1067 the problem. [Not yet a stable ABI, strings are not frozen]
1069 * cspi/spi-private.h:
1070 Added implementation details of opaque SPIException
1074 Implementations of above. Also
1075 (_cspi_exception_throw): new private method that
1076 dispatches exceptions to handlers, called from cspi-bonobo.c
1078 * cspi/bonobo/cspi-bonobo.c:
1079 (cspi_check_ev): call _cspi_exception_throw.
1080 Don't print a warning message if the exception has been
1081 handled by _cspi_exception_throw.
1083 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1085 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1086 there are still windows which have not been deleted and emit
1087 window:deactivate, if necessary and window:destroy events.
1088 This fixes bug #114370.
1090 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1093 (cspi_accessible_is_a): Make non-fatal
1094 if the object reference is dead.
1096 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1098 * cspi/spi_main.c: #include <stdio.h>
1099 * test/simple-at.c: ditto
1100 * test/event-listener-test.c: ditto
1101 * test/screen-review-test.c: ditto
1103 2003-05-30 Michael Meeks <michael@ximian.com>
1105 * test/test-simple.c (main): use CORBA_ORB_perform_work
1106 instead of an unnecessary linc_ call.
1108 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1110 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1111 Add SPI_STATE_INDETERMINATE.
1113 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1116 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1118 * libspi/stateset.c (init_state_type_tables): Add support for
1121 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1123 * configure: Update versions of atk and gail required.
1124 This fixes bug #113268.
1126 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1128 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1130 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1132 * libspi/Makefile.am:
1133 Ensure headers are generated before being used by c sources.
1135 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1138 Simplified lt versioning rules.
1139 Incremented version to 1.3.0, to indicate that we're on the
1140 unstable branch now.
1142 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1144 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1145 Add MKDB_OPTIONS=--outtput-format=xml
1147 * docs/reference/cspi/at-spi-cspi-docs.sgml
1148 docs/reference/idl/at-spi-idl-docs.sgml:
1149 Convert to Docbook XML.
1151 This fixes bug #111793.
1153 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1155 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1156 AcccessibleKeyEventType, AccessibleKeyMaskType.
1158 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1160 * cspi/state-types.h: Add documentation for AccessibleState.
1162 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1163 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1164 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1165 AccessibleComponentLayer.
1167 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1170 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1172 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1173 Accessible. Add description of AccessibleEvent,
1174 AccessibleEventListenerCB.
1176 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1179 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1180 documentation. Add description of AccessibleKeystrokeListenerCB,
1181 AccessibleKeyEventMask, AccessibleModifierMaskType,
1182 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1183 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1185 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1188 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1191 This fixes bug #104730.
1193 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1195 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1196 Set is_text field of Accessibility_DeviceEvent data structure.
1198 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1199 is-text field of AccessibleDeviceEvent data structure.
1201 This addresses part of bug #108666.
1203 * registryd/devcieeventcontroller.c: Unset debug option.
1205 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1207 * cspi/accessible.c:
1208 (cpi_initial_relation_type_table): New function which initializes
1209 mapping between Accessibility_RelationType and AccessibleRelationType.
1210 (cspi_relation_type_from_spi_relation_type): New function which
1211 translates an Accessibility_RelationType into an AccessibleRelationType.
1212 (AccessibleRelation_getRelationType): Use
1213 cpi_relation_type_get_spi_relation_type to return correct value.
1214 (spi_state_to_corba): Return correct type for default case.
1216 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1217 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1219 * cspi/cspi-bonobo-listener.c:
1220 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1223 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1224 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1225 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1226 libspi/image.c, libspi/listener.c, libspi/selection.c,
1227 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1228 registryd/desktop.c, registryd/registry.c:
1229 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1231 * libspi/eventlistener.c
1232 Remove semicolon after BONOBO_TYPE_FUNC.
1234 * libspi/relation.c:
1235 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1236 (spi_init_relation_type_table): Initialize using correct type.
1238 * registryd/desktop.c:
1239 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1240 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1241 of Accessibility_KeyEventType.
1243 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1246 * tests/simple-at.c, tests/screen-review-test.c:
1247 Add include for <strings.h>.
1249 * tests.stress-test.c:
1250 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1252 These changes fix compiler warnings when using FORTE compiler on
1253 Solaris; fixes bug #107479.
1256 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1259 * configure.in: revved to 1.1.10
1261 * libspi/keymasks.h:
1262 (SPI_KEYMASK_NUMLOCK): Added.
1264 * registryd/deviceeventcontroller.c:
1265 (spi_key_event_matches_listener): AND with a smaller
1266 bitmask (as we should).
1267 (spi_dec_translate_mask):
1268 New method, sets the virtual NumLock modifier bit
1269 if numlock is on. Eventually it can handle other virtual
1270 modifier bits if needed, or other marshalling from
1271 at-spi modifier masks to platform (X) masks.
1272 (spi_dec_key_listener_new):
1273 Call spi_dec_translate_mask to set up virtual mod bits
1274 in the 'mask' field when creating a new listener struct.
1275 (spi_dec_emit_modifier_event):
1276 Set the virtual (i.e. NumLock) bits before emitting event.
1277 (spi_controller_register_with_devices):
1278 Query for the NumLock modifier 'physical' bit if Xkb is
1279 present, for use in above methods.
1283 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1285 * registryd/deviceeventcontroller.c:
1286 (spi_keystroke_from_x_key_event):
1287 Instead of checking to see if the keysym is
1288 printable, check the string from XLookupString
1289 if available, get the first unicode character from it,
1290 and call g_unichar_isprint to determine whether the
1291 is_text flag should be TRUE or FALSE.
1295 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1297 * atk-bridge/bridge.c: Add support for extended events
1298 * cspi/spi_event.c: Add documentation and implementation for
1300 * tests/event-listener-test.c: Add tests for extended events.
1302 This fixes bugs #100424 and #100426.
1304 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1306 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1307 of LT_CURRENT. This fixes bug #89350.
1309 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1311 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1312 number of signal parameter values before accessing them. This fixes
1315 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1317 * configure.in: Fixed duplicate inclusion of -lspi.
1318 * branched for gnome-2-2/HEAD.
1319 [created tag "gnome-2-2"]
1321 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1323 * configure.in: 1.1.9 release.
1326 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1328 [needed by GOK, to fix bugs 107985 and 107988]
1329 * registryd/deviceeventcontroller.c:
1330 (spi_dec_clear_unlatch_pending):
1331 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1332 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1333 (spi_dec_init_mouse_listener):Emit warning if mouse button
1335 (spi_device_event_controller_forward_mouse_event):
1336 Removed unnecessary parens from a conditional.
1337 (global_filter_fn):Added TODO comment.
1338 (impl_generate_keyboard_event):
1339 Cancel a pending relatch if a 'delatching' key was
1342 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1344 * atk-bridge/bridge.c:
1345 Change atk_signal_child_changed to atk_signal_children_changed.
1346 Reorganize code in spi_atk_bridge_signal_listener().
1348 * test/event-listener-test.c:
1349 Add children_changed_listener and report_children_changed_event()
1350 to test AccessibleChildEvent_getChildAccessible.
1352 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1354 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1355 g_strdup to CORBA_String_dup (bug #105291)
1357 * test/event-listener-test.c (report_text_event): Add call to
1360 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1362 * registryd/deviceeventcontroller.c:
1363 (spi_keystroke_from_x_key_event):
1364 Fix string and keysym return codes to match modifier state.
1367 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1369 * registryd/deviceeventcontroller.c:
1370 (spi_keystroke_from_x_key_event):
1371 Fix segv due to improper use of isprint(c). [bug #107254]
1373 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1376 (get_accessible_text_boundary_type):
1377 Move default return value to (new) default case in switch.
1378 (get_accessible_text_clip_type):
1379 Move default return value to (new) default case in switch.
1381 * libspi/application.c:
1382 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1383 Remove unused methods.
1384 (impl_accessibility_application_register_object_event_listener):
1385 Remove unused methods.
1388 Added #include of <math.h>.
1390 * registryd/deviceeventcontroller.c:
1391 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1392 we don't currently use this method.
1393 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1395 (impl_generate_key_event):
1396 Remove unused variables.
1397 (impl_generate_mouse_event):
1398 Initialize button to zero, just in case we get an invalid
1399 input. Added support for mouse buttons 4 and 5.
1400 (spi_device_event_controller_new):
1401 Removed unused variable declaration for 'private'.
1403 Added #include of <gdk/gdk.h>
1405 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1407 * configure.in: Update to work when X is not installed in expected
1408 location. Fixes bug #105836.
1410 * atk-bridge/bridge.c
1411 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1413 (spi_atk_register_event_listener): Add signal listener for
1415 (spi_atk_bridge_signal_listener): Event event when link-selected
1416 signal is emitted. (bug #104622)
1418 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1419 on returned string. (bug #105291)
1421 * test/event-listener-test.c: Add test for link-selected.
1423 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1425 * atk-bridge/Makefile.am: Correct typo in previous commit.
1427 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1429 * atk-bridge/Makefile.am: Allow for build directory to be different
1430 from source directory
1432 * registryd/Makefile.am: Allow for build directory to be different
1433 from source directory
1437 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1440 Fixed dependencies for libcspi so that libspi gets pulled in
1441 properly. Fixes 104741.
1445 Clean up inline docs a little.
1447 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1449 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1450 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1451 the AtkObject within an SpiDesktop.
1452 This addresses bug #101524.
1454 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1455 Remove call to gdk_init().
1457 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1458 so that Display is set when SpiDesktop is created.
1460 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1462 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1463 This fixes bug #102830.
1465 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1467 * test/test-simple.c: Update to take account of fact that GailButton
1468 now implements AtkText.
1469 (create_text_window): Set name on AtkObject for GtkEntry.
1470 (validate_accessible): Check accessible name before calling test_text().
1472 * libspi/Makefile.am: Fix problem with building outside of source
1473 directory. Bug #98120.
1475 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1476 typo in documentation comments. Bug #94275.
1478 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1480 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1482 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1485 Add includes to avoid compiler warnings on Solaris.
1486 (impl_getRangeExtents): Bug fix.
1488 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1490 Fix for 100944, [API addition approved by Gman and murrayc].
1497 * idl/Accessibility_Text.idl:
1498 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1499 (Text::getRangeExtents): New method for efficient
1500 bounds query of a text range.
1501 (Text::getBoundedRanges): New method for efficient
1502 clipping of text to bounding boxes.
1503 (unImplemented7, unImplemented8):
1504 Removed these padding methods to preserve bincompat.
1507 (impl_getRangeExtents): implementation of new IDL.
1508 (impl_getBoundedRanges): implementation of new IDL.
1509 (SpiTextRect): Internal use struct.
1510 (_spi_text_rect_union): internal method, calculates union of two
1511 SpiTextRect bounding rects.
1512 (_spi_text_range_seq_from_gslist): internal method, allows us
1513 to build our sequence efficiently as a gslist then convert it
1515 (_spi_bounds_contain): internal method, determines whether
1516 a text character is "in" or "out" of a clip rect according to
1517 values of TEXT_CLIP_TYPE.
1518 (spi_text_class_init): Initialize the new methods in the epv.
1521 (AccessibleTextClipType): New enum used by screen review api.
1522 (AccessibleTextRange): New struct used by screen review api.
1523 (AccessibleText_getRangeExtents):
1524 cspi binding for Accessibility_Text_getRangeExtents.
1525 (AccessibleText_getBoundedRanges):
1526 cspi binding for Accessibility_Text_getBoundedRanges.
1527 (AccessibleTextRange_freeRanges): convenience method.
1530 (AccessibleText_getRangeExtents):
1531 cspi binding for Accessibility_Text_getRangeExtents.
1532 (AccessibleText_getBoundedRanges):
1533 cspi binding for Accessibility_Text_getBoundedRanges.
1534 (AccessibleTextRange_freeRanges): convenience method.
1535 (get_accessible_text_clip_type): internal conversion method.
1536 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1538 * registryd/deviceeventcontroller.c:
1539 (spi_dec_mouse_check):
1540 Improved behavior for mouse:abs events
1541 [same granularity as mouse:rel events, and no
1542 events when mouse is idle].
1544 2002-12-16 Michael Meeks <michael@ximian.com>
1546 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1548 * libspi/stateset.c (state_spi_to_atk): split out
1549 ( fix several remote array bounds nasties )
1550 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1551 (impl_remove): make safe from array bounds issues.
1552 (spi_atk_state_from_spi_state): impl.
1554 * libspi/stateset.h (spi_state_set_cache_is_empty):
1555 add a set of wrapper defines to get layering right.
1557 * cspi/spi_accessible.c: update state set stuff to
1560 2002-12-14 Michael Meeks <michael@ximian.com>
1562 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1563 to avoid 2 roundtrips to the registry per key event
1564 (spi_atk_bridge_key_listener): upd.
1565 (deregister_application): release the dec.
1567 * registryd/registry.c (notify_listeners_cb):
1568 bin lots of re-enterant complexity - we no longer
1569 do a round-trip bonobo ref here, ensure that a single
1570 listener's exception failure won't poison all other
1572 (impl_registry_notify_event): bin obvious memory leak.
1574 2002-12-13 Michael Meeks <michael@ximian.com>
1576 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1577 init the ev so the error is meaningful.
1578 (spi_atk_bridge_key_listener): ditto.
1580 * cspi/spi_main.c (cspi_ev): init the ev so we start
1581 with a clean slate, otherwise the first exception
1582 kills us completely.
1584 * cspi/spi_text.c (get_accessible_text_boundary_type):
1585 add a fallthrough for no warnings.
1587 * cspi/spi_registry.c: prune unused warnings.
1589 * cspi/spi_main.c (cspi_object_take): fix
1590 mind-blowing brokenness ( by watching the compile
1593 * cspi/spi_accessible.c (Accessible_getStateSet):
1594 re-impl. to use an AtkStateSet.
1595 (spi_state_type_from_accessible_state),
1596 (init_state_table): bin these.
1598 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1600 (atk_state_set_from_accessibility_state_set): here.
1602 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1603 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1604 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1605 (AccessibleStateSet_add, AccessibleStateSet_remove),
1606 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1607 (AccessibleStateSet_isEmpty): re-write to use a local
1610 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1612 * configure.in: Revved to 1.1.7 (new keymask vals).
1614 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1616 * libspi/keymasks.h:
1617 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1619 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1622 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1623 to compare two CORBA_TypeCodes.
1624 (cspi_internal_event_add): Silence warning from FORTE compiler.
1626 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1627 avoid implicit declaration of functions.
1629 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1631 * atk-bridge/bridge.c:
1632 (spi_atk_bridge_init_event_type_consts): Store signal id for
1633 active-descendant-changed signal.
1634 (spi_atk_register_event_listeners): Add signal listener for
1635 active-descendant-changed signal,
1636 (spi_atk_bridge_signal_listener): Move code in function
1637 spi_atk-signal_emit_event() into this function.
1638 Add support for active-descendant-changed
1639 Update support for child-changed signal.
1640 (spi_bridge_window_event_listener): Silence warning.
1642 * libspi/spi_private.[ch]:
1643 (spi_init_any_object): Change second parameter from CORBA_Object to
1645 Omit call to CORBA_Object_duplicate().
1646 Set CORBA_any's _value to CORBA_Object*.
1648 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1654 (AccessibleEvent_ref, AccessibleEvent_unref):
1655 New methods, for persisting an event outside the emission context.
1656 Must be used if the new accessor methods are to be called
1657 outside of the event listener's callback.
1659 * cspi/bonobo/cspi-bonobo.c:
1660 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1661 as second parameter instead of NULL, so we can call
1662 cspi_check_ev afterwards.
1665 (cspi_object_take): New internal method,
1666 converts a CORBA_Object reference to a hard ref on
1667 an Accessible if possible, returning NULL if the object
1668 reference is invalid or an Accessible * otherwise.
1671 (AccessibleEvent_ref):
1672 Increment the event's internal private refcount, and
1673 add the event's internal struct to an internal cache
1674 if it's not already there.
1675 (AccessibleEvent_unref):
1676 Decrement the event's refcount and remove it from
1677 the cspi event cache if refcount==0.
1678 (cspi_event_compare): New private method.
1679 Compares two event structs via their ids. Used
1681 (cspi_internal_event_lookup): New private method.
1682 (cspi_internal_event_check): New private method,
1683 a 0-order sanity check for events to make sure their
1684 private data is intact.
1685 (cspi_internal_event_add, cspi_internal_event_remove):
1686 New private methods for managiing the event cache.
1688 * cspi/bonobo/cspi-bonobo-listener.c:
1690 Initialize the new private data elements (id, magic, ref_count).
1692 * atk-bridge/bridge.c:
1693 (spi_atk_bridge_signal_listener):
1694 Fixed bug #100530, passing wrong params to emission func.
1696 * registryd/deviceeventcontroller.c:
1697 (spi_dec_button_update_and_emit):
1698 Fixed type in mask bit operations; fix for #99799.
1700 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1702 Removed some of the more dangerous workarounds from
1703 previous commit; they are only needed by GOK, which
1704 in reality should be using another method to accomplish
1705 the goals. So on reconsideration some of the workarounds
1706 need to be reverted:
1708 * registryd/deviceeventcontroller.c:
1709 (spi_keycodes_contain, spi_dec_init_keycode_list):
1710 Removed these methods, used only by a nasty hack to try
1711 and detect whether a key synthesis should be allowed
1712 to reset the XKB latch state or not. This code was only
1713 required to work around an interaction between GOK,
1714 button events, and XKB.
1715 (impl_generate_key_event):
1716 Removed hack at end of key generation that tried to
1717 "do the right thing" if XKB latch keys were generated
1718 in the midst of button press/release pairs.
1721 Added a check for HAVE_XINPUT. Not normally used yet.
1723 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1725 Workarounds and fixes for mouse event/XKB interaction.
1727 * registryd/deviceeventcontroller.c:
1728 (spi_keycodes_contain, spi_dec_init_keycode_list):
1729 New internal methods.
1730 (spi_dec_set_unlatch_pending):
1731 Split the method that tells XKB to expect an
1732 unlatch (and revert it) out of the rest of the
1733 event handling code. This method is called by the
1734 two mouse event handlers (the poll and the filter).
1735 (spi_dec_update_and_emit, spi_dec_mouse_check):
1736 New methods split from spi_dec_poll_mouse_moved.
1737 The second one is now called from inside the filterFn
1738 when an XKB delatch event is received, to determine
1739 whether to revert the delatch or not.
1740 (spi_poll_mouse_moved): Refactor; also we can now
1741 properly handle the case where multiple button states
1742 have changed between polling cycles and we didn't get
1743 notified due to another client's grab.
1745 Synchronize the server while handling an XKB notification.
1746 Ugly, but apparently necessary to avoid nasty races.
1747 Check the mouse state on receipt of an XKB latch change,
1748 to decide whether to revert the latch or not. (Latches are
1749 reverted if there is an immediately preceding mouse button
1750 event that a client has consumed, in which case we don't want
1751 the user to see the side-effect of the event).
1752 (spi_device_event_controller_forward_mouse_event):
1753 Check for modifier events and fire before resetting mouse_mask_state,
1754 prevents losing modifier events.
1756 (impl_generate_keyboard_event):
1757 If we've just generated a keyboard event for a non-shift key,
1758 we don't want to revert the pending XKB latch.
1759 Otherwise, check the modifier state (via a call to
1760 spi_dev_mouse_check) and set the relatch mask to
1761 that state before returning.
1763 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1766 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1769 * atk-bridge/bridge.c:
1770 (spi_atk_register_event_listeners):
1771 Don't re-register for ATK events if the registry has died
1772 and the app needs to re-register; the ATK listeners are in
1773 process and doing so will cause duplicate emission.
1775 * registryd/deviceeventcontroller.c:
1776 (spi_poll_mouse_moved):
1777 Reformat the source, detect and emit multiple button-change
1778 events (i.e. if multiple buttons have changed between poll
1780 Add code to detect mouse-down events even when the pointer
1781 is grabbed; workaround for GOK bug 98420.
1782 (spi_controller_register_with_devices):
1783 Call XTestGrabControl with 'impervious' flag set to True,
1784 allows us to synthesize events and query the pointer even during
1785 an active grab by another client.
1786 (spi_device_event_controller_forward_mouse_event):
1787 Set the mouse_mask_state to the mouse_button_state from
1788 the intercepted event, to synchronize the grab listener with
1791 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1793 * cspi/spi_accessible.c:
1794 (AccessibleRole_getName):
1795 Added necessary strings for making this (deprecated)
1796 method work with the new role types.
1797 (init_role_table, role_table):
1798 Added definition of SPI_ROLE_APPLICATION.
1800 * libspi/spi-roletypes.h:
1801 Added SPI_ROLE_APPLICATION.
1803 * idl/Accessibility_Role.idl:
1804 Added ROLE_APPLICATION.
1806 * docs/reference/cspi/at-spi-cspi-decl.txt:
1807 Added SPI_ROLE_APPLICATION to docs.
1809 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1811 * cspi/spi_accessible.c
1812 (cspi_init_role_table): Do not write beyond end of role_table.
1813 (Accessible_getRole): Use correct type for value returned by
1814 Accessibility_Accessible_getRole().
1816 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1817 beyond end of role_table. (This fixes bug #98269)
1819 * libspi/application.c: Add include file spi-private.h for
1820 definition of spi_init_any_nil.
1822 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1826 * libspi/spi-private.h:
1827 Added DGB() macro, and extern int _dbg declaration.
1829 * registryd/registry.c:
1830 (definitions) storage for _dbg.
1831 (spi_registry_init):
1832 Get environment variable "AT_SPI_DEBUG".
1833 (spi_registry_set_debug):
1834 New method, to initialize _dbg value.
1835 (spi_listener_struct_new, spi_registry_object_finalize):
1836 (notify_listeners_cb):
1837 Changed fprintfs to use DBG and g_warning().
1839 * registryd/deviceeventcontroller.c:
1840 (_deregister_keygrab, spi_controller_register_device_listener):
1841 Changed debug/warning messages to use DBG macro.
1843 * libspi/listener.c:
1844 (impl_notify_event):
1845 Changed warning messages to use DBG macro and g_warning().
1847 * atk-bridge/bridge.c:
1848 (atk_bridge_init, spi_atk_bridge_get_registry):
1849 (spi_atk_bridge_exit_func):
1850 (spi_atk_bridge_property_event_listener):
1851 Changed status, warning, and error messages to use
1852 g_warning, g_message, and DBG macros.
1855 Read the state of the AT_SPI_DEBUG environment variable
1856 and set a local '_dbg' accordingly.
1858 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1860 FIXES for 98836, 98842, other bugs.
1863 Revved to 1.1.4, interface-age=4, binary-age=4.
1865 * registryd/deviceeventcontroller.c:
1867 Fixed crasher bug in last_mouse_pos initialization.
1869 * registryd/registry.c:
1870 (desktop_add_application, desktop_remove_application):
1871 Added (and then commented out) some support for
1872 object context marshalling. [TODO]
1874 * atk-bridge/bridge.c:
1875 (spi_atk_bridge_event_context_create):
1876 Commented out object context creation until it can
1877 be properly tested and debugged.
1879 * registryd/registry.c:
1880 (impl_registry_notify_event):
1881 Fixed crasher bug, we were calling
1882 spi_re_entrant_list_foreach () with an empty list.
1884 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1886 * idl/Accessibility_Action.idl:
1887 * idl/Accessibility_Component.idl:
1888 * idl/Accessibility_Desktop.idl:
1889 * idl/Accessibility_Event.idl:
1890 * idl/Accessibility_Hyperlink.idl:
1891 * idl/Accessibility_Image.idl:
1892 * idl/Accessibility_Relation.idl:
1893 * idl/Accessibility_Selection.idl:
1894 * idl/Accessibility_State.idl:
1895 * idl/Accessibility_Value.idl:
1896 Updated unimplemented slot count to minimum of
1897 four for all interfaces, for ABI freeze.
1899 * idl/Accessibility_EditableText.idl:
1900 * idl/Accessibility_Text.idl:
1901 Updated unimplemented slot count to six
1904 * idl/Accessibility_Registry.idl:
1905 Updated unimplemented slot count to six
1906 (also for DeviceEventController),
1909 * idl/Accessibility_Table.idl:
1910 Updated unimplemented slot count to eight,
1913 * idl/Accessibility_Event.idl:
1914 Added CORBA_any "any_data" member to Event struct.
1916 * idl/Accessibility_Event.idl:
1917 Added CORBA_any "any_data" member to Event struct.
1919 * atk-bridge/bridge.c:
1921 atk_signal_text_changed, atk_signal_child_changed,
1922 signal ids queried from gtype system.
1923 (AtkBridgeEventContextType): New enum.
1924 (AtkBridgeEventContextData): New struct.
1925 (AtkBridgeEventContext): New struct.
1926 (atk_bridge_init_event_type_consts):
1927 New method, initializes type contants for comparison
1928 prior to emit_eventv.
1929 (atk_bridge_event_context_init): New method,
1930 initializes a CORBA_any from an AtkBridgeEventContext.
1931 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1932 initialize the event.any_data struct.
1933 (spi_atk_bridge_event_context_create): New method,
1934 creates an AtkBridgeEventContext from signal/event info.
1935 (spi_atk_bridge_event_context_free): New method.
1936 (spi_atk_emit_eventv): Changed to take an
1937 AtkBridgeEventContext parameter. We now initialize
1938 the event.any_data member prior to notifying the
1939 Registry, via the AtkBridgeEventContext.
1940 (spi_atk_bridge_property_event_listener):
1941 (spi_atk_bridge_state_event_listener):
1942 Match emit_eventv signature.
1943 (spi_atk_bridge_object_event_listener):
1944 Match emit_eventv signature, and create an
1945 event context from the event details.
1946 Free the event context afterwards.
1947 (spi_atk_bridge_window_event_listener):
1948 Create an event context, pass it to the
1952 (AccessibleEvent_getContextString):
1953 (AccessibleEvent_getContextObject):
1954 New methods, allow query of AccessibleEvent objects
1955 for more context details (via the "any_data" member
1956 of the Event struct, above).
1959 Definitions for AccessibleEvent_getContextString
1960 and AccessibleEvent_getContextObject.
1962 * cspi/spi_listener.h:
1963 (InternalEvent): New struct.
1966 (AccessibleEvent_getContextString):
1967 (AccessibleEvent_getContextObject):
1968 Implementations of new methods, for obtaining
1969 additional context information from some event types.
1971 * cspi/spi_registry.c:
1972 (SPI_registerGlobalEventListener):
1973 Added mention of active-descendant-changed event in docs.
1975 * cspi/cspi-bonobo-listener.c:
1977 Marshal the any into the AccessibleEvent via
1980 * libspi/spi-private.h:
1981 #include <orbit/orbit.h>
1983 (spi_init_any_string):
1984 (spi_init_any_object):
1985 New convenience function declarations.
1989 (spi_init_any_string):
1990 (spi_init_any_object):
1991 New convenience function implementations.
1993 * registryd/deviceeventcontroller.c:
1994 (spi_poll_dec_mouse_moved):
1995 (spi_device_event_controller_forward_mous_event):
1996 Initialize any_data member of event.
1997 (spi_deregister_controller_device_listener):
1998 Fix incorrect param pass which was preventing deregistration.
2000 * registryd/registry.c:
2001 (desktop_add_application):
2002 (desktop_remove_application):
2003 Add object data to event's any_data before dispatch.
2005 Fix for error messages from GAIL.
2007 * test/event-listener-test.c:
2008 Test new ContextString and "any_data" API:
2009 (report_text_event): New method query and output context string.
2010 (main): register a new text listener with report_text_event
2013 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2015 Fixes for bugs 98127 and 97914.
2016 * cspi/spi-roletypes.h:
2017 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2019 * cspi/spi-statetypes.h:
2020 Added SPI_STATE_MANAGES_DESCENDANTS
2022 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2023 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2024 * cspi/spi_accessible.c:
2025 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2026 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2027 Accessibility_STATE_MANAGES_DESCENDANTS
2028 * libspi/accessible.c:
2029 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2030 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2031 As requested by Bill, I also cleaned up the alignment.
2032 * libspi/relation.c:
2033 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2034 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2035 * libspi/stateset.c:
2036 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2037 Accessibility_STATE_MANAGES_DESCENDANTS
2038 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2039 Document changes reflecting modifications to roles.
2040 * docs/reference/cspi/tmpl/spi_relation.sgml:
2041 Document changes reflecting modifications to relations.
2042 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2043 Document changes reflecting modifications to states.
2045 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2048 Revved to 1.1.3, interface-age=3, binary-age=3.
2049 Added REBUILD macro.
2052 Removed accessx-gui from the tests, since we have a nice
2053 keyboard accessibility capplet now :-)
2055 * test/keysynth-demo.c:
2056 (increment_scan): removed do-nothing default: case,
2059 * test/visual-bell.c:
2060 (main) : removed do-nothing default: case,
2063 * cspi/spi_action.c:
2064 (AccessibleAction_getKeyBinding_):
2065 Documented keybinding string format.
2069 (AccessibleText_getAttributes):
2070 Documented the text attribute string format.
2071 It's changed to use semicolon delimiters also,
2072 to prevent clashes with CSS attributes, but the old
2073 trick of looking for ", " strings will still work
2074 (as unreliably as ever). Fix for bug related to 97916.
2077 Include <cspi/bonobo/cspi-bonobo-listener.h>
2078 Fixes build warning.
2079 (SPI_freeAccessibleKeySet):
2080 (AccessibleKeystrokeListener_addCallback):
2081 (AccessibleKeystrokeListener_removeCallback):
2082 Modify to use AccessibleDeviceListener API internally,
2083 instead of AccessibleKeystrokeListener.
2085 * idl/Accessibility_Event.idl:
2086 Added two more empty slots to EventListener (for a total of four).
2088 * idl/Accessibility_Accessible.idl:
2089 Added four empty slots to Accessible interface.
2091 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2093 * idl/Accessibility_Registry.idl:
2094 (KeyEventType, EventType):
2095 Marked KeyEventType as deprecated; it duplicates
2096 functionality of EventType, which has been extended to
2097 include Mouse-button events.
2098 (KeyEventTypeSeq): defined in terms of EventType.
2099 (registerDeviceEventListener, deregisterDeviceEventListener):
2100 New methods, for managing listeners to device events,
2101 which potentially may consume them.
2104 Added definition for AccessibleDeviceListener.
2106 * cspi/spi-listener.h:
2107 (enum AccessibleDeviceEventType):
2108 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2109 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2110 for backwards compat.
2111 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2112 and typedef'd AccessibleKeystroke to it for back-compat.
2113 (AccessibleDeviceListenerCB):
2114 New function prototype typedef.
2117 (AccessibleDeviceEventMask): New typedef.
2118 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2119 (AccessibleKeyMaskType):
2120 Set equivalent to AccessibleModifierMaskType for back-compat.
2121 (SPI_createAccessibleKeystrokeListener):
2122 (AccessibleKeystrokeListener_unref):
2123 Deprecated in favor of equivalent (better-named) new API below..
2124 keystroke listeners are like all device listeners.
2125 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2126 New API names for old features :-).
2127 (AccessibleDeviceListener_addCallback):
2128 (AccessibleDeviceListener_removeCallback):
2129 (SPI_registerDeviceEventListener):
2130 (SPI_deregisterDeviceEventListener):
2134 (SPI_createAccessibleKeystrokeListener):
2135 Use new preferred API, cspi_device_listener_new() and
2136 cspi_device_listener_add_cb().
2137 (AccessibleKeystrokeListener_removeCallback):
2138 Use new preferred API, cspi_device_listener_remove_cb().
2139 (AccessibleKeystrokeListener_unref):
2140 Use new preferred API, cspi_device_listener_unref().
2141 (SPI_createAccessibleDeviceListener):
2142 (AccessibleDeviceListener_addCallback):
2143 (AccessibleDeviceListener_removeCallback):
2144 Implementation of new API.
2146 * cspi/spi_registry.c:
2147 (SPI_registerDeviceEventListener):
2148 (SPI_deregisterDeviceEventListener):
2149 Implementation of new API. Fixed memory leak and removed need to
2150 allocate EventTypeSeq (thanks Michael for catching this).
2151 Squashed a wayward CORBA_exception_free that shouldn't get called.
2153 * cspi/bonobo/cspi-bonobo-listener.c:
2155 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2156 (cspi_key_event): renamed to cspi_device_event().
2157 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2158 Extended to handle mouse button events as well as key events.
2159 (CSpiKeystrokeListener):
2160 Class superceded by CSpiDeviceListener.
2161 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2162 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2164 * cspi/bonobo/cspi-bonobo-listener.h:
2165 (CSpiKeystrokeListener):
2166 Class superceded by CSpiDeviceListener.
2167 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2168 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2170 * libspi/Makefile.am:
2171 Replaced keystrokelistener.h and keystrokelistener.c
2172 with devicelistener.h and devicelistener.c; keystrokelisener.h
2173 stub retained for back-compat.
2175 * libspi/keystrokelistener.c:
2179 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2181 * registryd/deviceeventcontroller.c:
2182 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2183 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2184 (DEControllerPrivateData): Added xkb settings data.
2185 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2186 button release events (which can't be captured via XGrabButton).
2187 Don't dispatch via the 'normal' event mechanism if the device event was
2189 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2190 Handle the typeseq data in its new location (see above).
2191 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2192 New methods, for "generic" device listeners.
2193 (spi_controller_register_device_listener):
2194 Now handle mouse event listeners as well as key listeners.
2195 (spi_controller_notify_mouselisteners):
2196 New internal method.
2197 (spi_device_event_controller_forward_mouse_event):
2198 Now we notify mouse device listeners as well as generating the
2199 non-consumable "mouse:" events.
2201 We must check and restore the XKB
2202 modifier map if we consume the event, since the act of triggering
2203 a mouse event will normally reset the XKB latch. This is required for
2205 (spi_controller_register_with_devices):
2206 Load the XKB settings when registering, and register for XKB
2207 state notify events.
2208 (spi_key_eventtype_seq_contains_event):
2209 Renamed spi_eventtype_seq_contains_event, since it's used
2210 internally for all device event types now.
2211 (spi_key_event_matches_listener):
2212 Uses spi_eventtype_seq_contains_event now.
2213 (spi_device_event_controller_object_finalize):
2214 Free the private data and the XkbKeyboard struct.
2215 (impl_register_device_listener, impl_deregister_device_listener):
2216 Implementation of new IDL.
2217 (spi_deregister_controller_device_listener):
2218 New internal method.
2219 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2220 More efficient implementation, we don't have to create a new
2221 XkbControls structure every time we query.
2222 (spi_device_event_controller_class_init):
2223 Initialize the epv entries for the new IDL. Assign the
2224 "spi-dec-private" quark.
2225 (spi_device_event_controller_init):
2226 Initialize the private data.
2227 (spi_device_event_controller_forward_key_event):
2228 Removed a bogus CORBA_exception_free() call.
2230 * registryd/deviceeventcontroller.h:
2231 Replaced inclusion of keystrokelistener.h with
2234 * test/event-listener-test.c:
2235 (report_mouse_event):
2238 Added mouse-event device listener.
2240 * test/test-simple.c:
2241 (create_test_window):
2242 Fixed regression (we were instantiating a GtkRange,
2243 which is now an abstract class). Also fixed to match
2244 existing AtkRole names, this seems to have changed in ATK
2245 awhile ago; too late now I think, and the new
2246 mechanism is at least elegant and consistent with the
2247 glib enum "nick" APIs.
2249 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2251 * idl/Accessibility_Relation.idl:
2252 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2253 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2254 * idl/Accessibility_Role.idl:
2255 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2256 * idl/Accessibility_State.idl:
2257 add STATE_MANAGES_DESCENDANTS
2258 * test/event-listener-test.c:
2259 Added a listener for active-descendant events.
2261 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2263 * atk-bridge/bridge.c
2264 (atk_bridge_init): If application is Bonobo component wait until top
2265 level is added before registering
2266 (spi_atk_bridge_do_registration): New function which contains code,
2267 formerly in atk_bridge_init, to do application registration.
2268 (spi_atk_bridge_toplevel_added): Signal called when top level
2269 added to Bonobo component
2271 This fixes bug #83134.
2273 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2275 * registryd/deviceeventcontroller.c
2276 Fixed compilation error caused by calling gettimeofday()
2279 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2284 Added template for HAVE_XKB.
2287 Changes to check for XKB, and to set the HAVE_XKB #define if it
2290 * libspi/listener.c:
2291 ()impl_notify_event): Make failure to get event source name
2294 * registryd/deviceeventcontroller.c:
2295 (#include): include X11/XKBlib.h.
2296 (DEControllerPrivateData) : New struct.
2297 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2299 (dec_synth_keycode_press) (dec_synth_keycode_release):
2300 New methods; split the key synthesis code into these methods.
2301 They check XKB settings before determining the "time" values to
2302 pass to Xtest; this fixes bug #95828.
2303 (impl_generate_keyboard_event): Changed to use methods above,
2304 instead of callng Xtest directly.
2305 (spi_device_event_controller_init): Initialize new privae struct s
2307 (spi_device_event_controllr_object_finalize):
2308 Free the (new) private data.
2310 * registryd/deviceeventcontroller.h:
2311 Add new gpointer to end of struct data.
2313 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2316 Incremented revision to 1.1.2, SONAME is still '.so', library
2317 extensions are ".so.0.0.2".
2319 * registryd/deviceeventcontroller.c:
2320 FIXES FOR #93592 and #95940.
2321 (statics): renamed mouse_button_state to mouse_mask_state,
2322 added key_modifier_mask.
2323 (spi_dec_poll_mouse_moved):
2324 Added key modifier checks, and emit "keyboard:modifiers"
2325 events when the key modifiers currently in use change.
2326 Also generate "mouse:abs" events periodically, even if the mouse
2327 is stationary (should we?).
2328 Alternatively we could generate "mouse:abs" events for either all
2329 mouse movements, or every 'nth' mouse movement, or at the
2330 beginning and end of every "active" mouse period.
2332 * test/event-listener-test.c:
2333 (main): Added listener for "keyboard:modifiers" events.
2335 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2337 * libspi/keymasks.h:
2338 Added key mask #defines for mouse buttons; e.g.
2339 SPI_KEYMASK_BUTTON1, etc.
2342 Incremented dependency on ATK to version 1.1.0. (This dependency
2343 is probably premature but will soon be real enough).
2345 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2347 * libspi/hyperlink.[ch]
2348 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2349 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2352 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2357 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2359 * registryd/deviceeventcontroller.c
2360 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2361 events to be ignored.
2362 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2363 keyboard_mode so that XAllowEvents() can be called.
2367 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2369 * cspi/spi-accessible.c: Correct names of roles returned by
2370 AccessibleRole_getName(). Fixes bug #95055.
2372 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2374 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2377 * registryd/registry.c
2378 (desktop_remove_application: Write diagnostic message to stderr for
2381 (impl_accessibility_registry_deregister_global_event_listener):
2382 Correct size of lists array. This addresses bug #94555).
2384 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2386 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2389 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2391 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2394 * registryd/registry.c (impl_registry_notify_event): Remove
2395 unnecessary call to parser_event_type().
2397 * docs/reference/cspi/tmpl/spi_component.sgml:
2398 Add reference to SPI_LAYER_WINDOW.
2400 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2402 * registryd/registry.c
2403 (desktop_add_application): Remove leak.
2404 (desktop_remove_application): Remove leak.
2405 (parser_event_type): Remove leak.
2407 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2409 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2410 bogus call to CORBA_string_dup(). Also removed unnecessary
2411 g_string_dup/g_free calls.
2413 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2415 * registryd/deviceeventcontroller.c:
2416 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2418 * test/event-listener-test.c:
2419 main: commented out three redundant listeners, to reduce output
2420 noise. (They still are potentially useful for testing).
2423 2002-09-13 Michael Meeks <michael@ximian.com>
2425 * Update all the copyrights to include Ximian.
2427 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2429 * cspi/spi.h: add SPI_LAYER_WINDOW.
2431 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2432 add Accessibility_LAYER_WINDOW case.
2434 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2436 * libspi/component.c: (impl_accessibility_component_get_layer):
2437 add ATK_LAYER_WINDOW case.
2439 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2441 * configure.in: incremented micro version.
2443 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2445 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2448 Clarified and reworded our commit policy.
2451 Started an API "todo" addition list for 2.2.
2454 (impl_getSelection):
2455 Free char pointer from atk_text_get_selection, which was being leaked.
2457 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2460 Small revision to author acknowledgement.
2462 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2464 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2465 If signal has detail add it to the type of the event.
2468 2002-08-12 Michael Meeks <michael@ximian.com>
2470 * test/test-simple.c (global_listener_cb): bin bogosity.
2471 (test_keylisteners): disable, still doesn't work reliably,
2472 certainly not on my system anyway.
2474 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2475 don't leak a reference on the DEC. This round-trip
2476 fetching of the DEC per keystroke sucks, it should be
2479 * cspi/spi-private.h,
2480 * cspi/cspi-lowlevel.h,
2481 * cspi/bonobo/cspi-bonobo-listener.[ch],
2482 * cspi/bonobo/cspi-bonobo.c: get the copyright
2483 notices better - there is still a large amount of
2484 work in at-spi falsely attributed solely to Sun.
2486 * cspi/spi_main.c (cspi_object_ref): kill bogus
2487 hash lookup, just increment the ref.
2488 (SPI_freeString): make explicit the fact that we
2489 handle NULL strings just fine.
2490 (report_leaked_ref): obey coding standards.
2491 (cspi_object_hash, cspi_object_equal): kill retval.
2492 (cspi_object_release): only release if not on loan.
2493 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2494 (cspi_object_borrow, cspi_object_return): impl.
2496 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2497 use cspi_object_borrow / return.
2499 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2501 * cspi/bonobo/cspi-bonobo-listener.c:
2503 Don't call cspi_oject_new() because this is creating a new Accessible
2504 every single time that an event is fired. This causes ATs like at-poke
2505 to nolonger recognise the source of the event and thus ignore it.
2506 Re-use the object from the cache, ref it and then unref it after the
2507 listeners have been called.
2509 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2511 * test/event-listener-test.c:
2512 Added command-line options to disable mouse events (m) and
2515 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2517 * configure.in: Update required versions of ATK, GTK+ and GAIL
2519 * cspi-1.0.pc.in: Add dependency for X include files
2522 * cspi/bonobo/Makefile.am:
2523 Add $(X_CFLAGS) so that X include files
2524 are picked up even if not in standard place (bug #71686)
2526 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2528 * registryd/deviceeventcontroller.c: fix for 84261
2529 (spi_dec_mouse_moved):
2530 Added test of mouse button mask, so that we can detect mouse
2531 button release. Unfortunately we can't otherwise detect mouse
2532 button release events without consuming the mouse press event,
2533 because of the way XGrabButton works. This means that our mouse
2534 release events have a latency dependent on the polling period
2535 while the mouse button is down. At least in this case we only
2536 have to poll while the button is down, and not at other times.
2537 If the button masks don't match with what the last press event
2538 reported, we report the appropriate button release event.
2539 (spi_dec_ungrab_mouse):
2540 New method (not yet called).
2541 (spi_device_event_controller_forward_mouse_event):
2542 New method, sends mouse press event from GdkFilter.
2543 (spi_dec_init_mouse_listener):
2544 Added code to call XGrabButton, redirecting mouse button events to
2545 the root window and our Gdk event loop.
2547 Added code to filter mouse button events, and reordered.
2549 * test/event-listener-test.c:
2551 Added registration for mouse events of type "mouse:button".
2553 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2555 * registryd/deviceeventcontroller.c: partial fix for 84261
2556 (spi_dec_poll_mouse_idle):
2557 New method, a timeout which checks to see if the mouse
2559 (spi_dec_poll_mouse_moving):
2560 A timeout to be called when mouse motion is underway.
2561 (spi_dec_poll_mouse_moved):
2562 A method which fires an event if the mouse has moved, and reports
2563 whether or not it did so.
2564 (spi_dec_init_mouse_listener):
2565 A method which sets up the timeouts above.
2566 (spi_device_event_controller_new):
2567 Now calls spi_dec_init_mouse_listener.
2569 * registryd/registry.c:
2570 (spi_registry_init):
2571 Now we initialize the device event controller when the registry is
2572 initialized, instead of waiting until a client has requested a key
2573 event notification; this is because we need the event controller
2574 for mouse events, but the mouse event registration API is a
2575 "registry" call and doesn't explicitly call the
2576 deviceeventcontroller.
2577 We now report mouse motion events with a 100 ms idle latency and
2578 a 20 ms granularity when motion is in progress.
2580 * test/event-listener-test.c:
2582 We now register the "detail listener" for events of type
2583 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2584 delivered only for the first mouse event received, and thereafter
2585 "mouse:abs" events are delivered.)
2587 * cspi/spi_registry.c:
2588 DOCS: Documented the above mouse event typestrings.
2590 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2592 Happy Summer Solstice...
2594 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2595 (spi_controller_notify_keylisteners):
2596 Changes to remove a listener from the listener list, freeing its
2597 open keygrabs, if a notification to that listener fails. This
2598 means that although a dead listener can continue to hold a passive
2599 keygrab, a maximum of one dispatch to such a listener can fail
2600 before the listener is removed from the list, thus the keygrab
2601 will be released on the next occurrence.
2602 As part of this fix:
2603 (spi_notify_keylisteners):
2604 Renamed to spi_controller_notify_keylisteners, as the controller
2605 instance must now be passed as an argument.
2606 The copied 'notify' GList is now a list of DEControllerKeyListener
2607 objects, since we need more than just the CORBA reference if a
2608 notify fails and we need to deregister the listener.
2609 (impl_notify_listeners_sync):
2610 (impl_notify_listeners_async):
2611 (spi_device_event_controller_forward_key_event):
2612 Modify use of notify_keylisteners in accordance with above
2614 (spi_deregister_controller_key_listener):
2615 New method introduced by refactoring, from
2616 impl_deregister_keystroke_listener.
2617 (impl_deregister_keystroke_listener):
2618 Call spi_deregister_controller_key_listener.
2619 (spi_key_listener_clone):
2620 New method to copy a key listner without doing a 'ref' on the
2621 remote object instance; used to create a notifier list.
2622 (spi_key_listener_data_free):
2623 New method, frees data without unreffing the source.
2625 (spi_key_listener_clone_free): new method.
2626 (spi_key_listener_free):
2627 refactored to call spi_key_listener_data_free.
2629 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2631 * registryd/registry.c: [fix for bug 86048]
2632 (notify_listeners_cb):
2633 Clear CORBA system exceptions which occur when notifying
2634 listeners, before returning to the source of the original event,
2635 since the event source doesn't care if the relayed notify failed.
2636 In other words, don't complain to the atk-bridge if the registry
2637 could not notify all its listeners, that's no fault of the
2638 application and thus should not appear to be an error from the
2639 application's perspective.
2641 * cspi/spi_main.c: [fix for bug 85980]
2643 Replaced use of bonobo_object_dup_ref with call to the wrapper
2644 method, csou_dup_ref (); this silences a compiler warning and
2645 provided more portability.
2647 Ping the registry before return, and restart if necessary.
2649 * cspi/bonobo/cspi-bonobo.c:
2651 New internal method.
2653 Fixed this method to return an object reference, as it should have
2656 * cspi/cspi-lowlevel.h:
2657 Added internal definition for cspi_ping() and fixed
2658 return type of cspi_dup_ref().
2661 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2663 * atk-bridge/bridge.c: [fix for bug 85305]
2664 (spi_atk_bridge_register_application):
2665 New method where the initial application registry calls have been
2666 moved; it allows an application to re-register in response to
2667 certain error conditions (such as a registry restart, see below).
2669 Moved some initialization code to the method
2670 spi_atk_bridge_get_registry, below.
2671 (spi_atk_bridge_get_registry):
2672 New, private accessor function for the Accessibility_Registry
2673 instance. If the registry has not been started before, or has
2674 died (as detected by failure of a CORBA exception), it is
2675 restarted before return, and spi_atk_bridge_register_application
2676 is called again to register with the new bridge instance.
2677 (spi_atk_emit_eventv):
2678 Set registry_died on error; use spi_atk_bridge_get_registry () to
2679 access the registry.
2681 * registryd/registry.c:
2682 (impl_accessibility_registry_register_global_event_listener):
2683 Set listener's event_type_quark to etype.minor instead of
2684 etype.major (fix for bug 84856).
2686 * test/event-listener-test.c:
2687 (report_detail_event):
2688 Change the output string so that user/tester can tell that the
2689 'detail listener' was called instead of the 'generic listener'.
2691 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2693 Fixes for bugs 84900, 84908, 84897, 84898.
2698 Revved version to 1.1.0
2699 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2700 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2702 * idl/Accessibility_Registry.idl:
2703 (EventListener::notifyEvent):
2704 Removed 'oneway' directive after extensive consulation with
2705 ORBit2 team and others. This means also that unref() of the event
2706 source can and should be done synchronously after emission, rather
2707 than remotely in the client, after servicing the notify call on
2710 NOTE: This change speeds up listener performance considerably, but
2711 introduces new latency on the application side. We may want to
2712 add an event queue to the atk-bridge.
2714 * atk-bridge/bridge.c:
2715 (spi_atk_bridge_focus_tracker):
2716 Do a local unref() on the event source after emission.
2718 * registryd/registry.c:
2719 (desktop_remove_application):
2720 Do an unref() on the event source after emission.
2721 (desktop_add_application):
2722 Do an unref() on the event source after emission.
2723 (notify_listeners_cb):
2724 When relaying an event, don't automatically add the event source
2725 to the local object cache, just CORBA_dup it instead. Likewise,
2726 if this method reenters, release the ref rather than calling
2728 (impl_registry_notify_event):
2729 No longer call remote unref() on the event source after dispatch.
2731 * libspi/eventlistener.c:
2732 (impl_accessible_event_notify_event):
2733 Removed remote unref ()
2735 * cspi/bonobo/cspi-bonobo-listener.c:
2737 We now call cspi_object_new() instead of cspi_object_add() on
2738 receipt of an event; thus we only have an implicit object ref
2739 while the cspi_event method is being executed. If we need to keep
2740 a reference to the object, the listener must call ref() on the
2741 object. Thus also we don't need to call cspi_object_unref() after
2742 invoking the listener callbacks in this method.
2746 New internal API for creating a new cspi object, without adding it
2747 to the object cache.
2749 Now uses cspi_object_new() to create the cspi object instance.
2751 Now checks to see if the object is in the internal object cache,
2752 and adds it if necessary before incrementing its refcount (note
2753 that new objects are added with a refcount of 1).
2754 (report_leaked_ref):
2755 New method which gives some information on leaked object instances
2756 if leak detection is turned on.
2758 * test/event-listener-test.c:
2759 (timing_test_event):
2760 New method, used for testing event delivery timing for special
2761 events of type "object:test". It reports elapsed time and
2762 events/sec every 500 events.
2764 Added a new listener, 'test listener', to check timing of event
2765 receipt as noted above.
2767 Added some timing output here also, reports elapsed time every 100
2770 * test/stress-test.c:
2771 Emit events of type "object:test", for use with "event-listener-test".
2773 * test/test-simple.c:
2774 (global_listener_cb):
2775 Call Accessible_ref() on the event source before calling
2776 validate_accessible, since the validation process does pointer
2777 comparisons on the event source, meaning that the event source
2778 needs to be added to the local object cache first. Any use of
2779 such pointer comparisons between Accessible objects requires that
2780 the caller hold an explicit reference to those objects.
2781 We also must therefore call Accessible_unref() when leaving this method.
2783 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2785 * registryd/deviceeventcontroller.c:
2786 (spi_controller_update_key_grabs):
2787 Fix for #84735, subsequent keygrab listeners not informed of
2788 registration failure.
2791 (spi_base_construct):
2792 Add an assertion on construct, to make sure the GObject passed in
2793 is really a GObject.
2795 Explicitly initialize object->gobj pointer to NULL;
2797 * cspi/bonobo/cspi-bonobo-listener.c:
2798 (cspi_object_add_ref):
2799 New method, can specify whether to dup-ref a bonobo object passed
2800 in if it's newly added to the object cache.
2802 Now calls cspi_object_add_ref with second param of "FALSE". This
2803 prevents us from doing a pointless dup-ref followed by
2804 release-unref for all those cases where the object is already in
2805 our object cache (fix for #85205).
2807 * atk-bridge/bridge.c:
2808 (spi_atk_bridge_idle_init):
2809 Removed this method, we don't need to initialize in an idle
2812 Changed to call spi_atk_register_event_listeners directly, not via an
2813 idle handler. (fix for #81139)
2814 (gnome_accessibility_module_shutdown):
2815 Removed conditional around deregistration of listeners, since we
2816 don't use the idle handler and thus have always registered when
2818 (spi_init_keystroke_from_atk_key_event):
2819 Changed references to Accessibility_KEY_PRESSED to
2820 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2822 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2824 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2829 * test/stress-test.c:
2832 (may have been an incomplete commit yesterday?)
2834 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2837 Added target for new stress-test.
2839 * test/stress-test.c:
2840 New test, sends 1000 focus notifies in quick succession.
2842 * test/key-listener-test.c:
2843 Now we report whether a keylistener registration
2844 request succeeded or failed.
2846 * test/event-listener-test.c:
2847 Uncommented some listeners which are now implemented.
2850 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2852 * registryd/deviceeventcontroller.c:
2853 (spi_controller_update_key_grabs):
2854 Fix for #82509, lack of failure notification when
2855 ALL_WINDOWS keygrabs fail due to XGrabKey
2856 failure: we synchronize the server when
2857 registering a passive grab, to make sure we get the
2858 error message before the call returns.
2860 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2862 * test/test-simple.c:
2864 Removed #ifdef KEY_IMPL_WORKS guards.
2865 (test_keylisteners):
2866 Removed #ifdef KEY_IMPL_WORKS guards.
2867 Fixed bug which was causing a hang waiting for a
2868 "press" event (which was already overwritten by a "release"
2869 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2871 Added code to set globals 'key_press_received' and
2872 'key_release_received'.
2875 Added section "1.1 API Proposed Additions" which
2876 lists API additions desired for at-spi-1.1 (only one so far).
2877 Updated TODO list a little.
2879 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2881 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2884 * configure.in: Revved to 1.0.0.
2886 * idl/Accessibility_Registry.idl:
2887 (registerKeystrokeListener):
2888 Added boolean return value.
2890 * registryd/registry.c:
2891 (notify_listeners_cb): Minor fix to debug output.
2893 * registryd/Accessibility_Registry.server.in.in:
2894 Revved version number in OAFIID to 1.0.
2896 * registryd/registryd.c:
2898 Use new OAFIID version.
2900 * cspi/bonobo/cspi-bonobo.c:
2902 Use new OAFIID version.
2908 * atk-bridge/bridge.c:
2910 Use new OAFIID version.
2912 * registryd/deviceeventcontroller.c:
2913 (impl_register_keystroke_listener):
2914 Added CORBA_boolean return value.
2915 (spi_controller_register_device_listener):
2916 Added gboolean return value.
2917 (spi_controller_register_global_keygrabs):
2918 Added gboolean return value.
2919 (spi_key_set_contains_key):
2920 Added implementation for many more control keys,
2921 for instance F1-F12, arrow keys, End, Home, Page_Up,
2923 [TODO: some still not implemented].
2925 * text/screen-review-test.c:
2926 (text_chunk_pad_string):
2927 New function: it provides mapping between coordinate
2928 positions of text chunks and character positions in the
2929 screen-review-line output string.
2930 (text_chunk_to_string):
2931 New function, calls text_chunk_pad_string with various
2932 pad/delimiter characters. Pushbuttons are delimited with
2933 square brackets, Frames with vertical 'pipe' lines, and
2934 other text with double quotes.
2935 (text_chunk_list_to_string):
2936 Calls new function text_chunk_to_string.
2937 (toplevel_composite):
2938 New function to composite layers CANVAS through
2939 POPUP in each toplevel (other layers are composited
2940 across toplevels, i.e. BACKGROUND and OVERLAY).
2941 (review_buffer_composite):
2942 Revise to use new methods.
2948 2002-05-31 Laszlo Peter <laca@sun.com>
2950 * configure.in: add the Xtst libdir to the runpath on Solaris,
2951 since it's not in the default library search path.
2953 2002-05-29 jacob berkman <jacob@ximian.com>
2955 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2957 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2959 * test/screen-review-test.c:
2960 (text_chunk_pad_string):
2961 Added method, which pads the string according to the
2962 text bounds of the chunk. It also takes a 3-character
2963 string as a param which indicates the characters to be
2964 used for start, padding, and end delimitation of the chunk.
2965 (text_chunk_to_string):
2966 Changed to use text_chunk_pad_string.
2968 * configure.in: Fixed bug in AC_OUTPUT that was
2969 causing path substitution in Accessibility_Registry.server
2972 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2974 * text/screen-review-test.c:
2975 (guess_string_clip):
2976 New method which attempts a best-guess at clipping
2977 text from components (like Java labels) which don't
2978 actually implement AccessibleText. This inaccurate
2979 clip is based on the assumption that the label is
2980 justified left-and-right, and monospaced.
2981 (text_chunk_get_clipped_string):
2982 We now call guess_string_clip() for text-containing
2983 components that don't implement AccessibleText.
2985 * test/screen-review-test.c:
2986 (review_buffer_get_text_chunk):
2987 We now pull "name" from labels if they do not implement
2988 AccessibleText (i.e. for Java labels).
2989 (get_screen_review_line_at):
2990 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2993 Replaceded AC_OUTPUT target
2994 registryd/Accessibility_Registry.server with
2995 registryd/Accessibility_Registry.server.in.
2997 * registryd/Accessibility_Registry.server.in:
2998 Removed (this is now a Makefile target).
3000 * registryd/Accessibility_Registry.server.in.in:
3001 Added (source for target above). We now use $(libexecdir) as
3002 prefix for the executable at-spi-registryd.
3004 * registry/Makefile.am:
3005 Now install at-spi-registryd into $(libexecdir), and build .server
3006 file with path (see above).
3008 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3010 * test/screen-review-test.c:
3011 (text_chunk_get_clipped_string):
3012 We now check to see if words fall within clip bounds
3013 before resorting to character-by-character clip bounds testing.
3015 * TODO: Added a section for "2.2 Proposed API Additions".
3017 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3019 * test/screen-review-test.c:
3021 Added a screen review benchmarking and test program to test
3024 * cspi/spi_accessible.c:
3026 Made some of the debug strings passed to cspi_check_ev a
3027 little more specific.
3029 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3031 * test/screen-review-test.c: Fix crashes in debug statements
3033 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3035 * test/screen-review-test.c: Added this file.
3037 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3039 * atk-bridge/bridge.c: changed "object:state-change" to
3040 "object:state-changed" to match docs.
3042 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3044 * atk-bridge/bridge.c: Hooked up state-change event details.
3046 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3048 * registryd/registry.c:
3049 Fixed quarking bug in event string parsing; now events with
3050 detail parameters get matched correctly to listeners.
3053 * util/idl/Magnifier.idl: remove.
3055 * util/*.[ch]: Remove.
3056 Magnification utilities and IDL are now in module gnome-mag.
3058 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3060 * registryd/deviceeventcontroller.c:
3061 Fixed bug in grab key conversion which was causing keycode grabs
3062 to be converted to AnyKey grabs.
3065 updated NEWS file to reflect recent spin-off of gnome-mag.
3067 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3069 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3070 busted AccessibleStateSet_compare. Removed redundant casts.
3072 * cspi/spi-action.c: Removed redundant casts.
3074 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3076 * cspi/spi_component.c: Fixed typos and casting error.
3078 * cspi/spi_editabletext.c: Removed redundant casts.
3080 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3082 * cspi/spi_hypertext.c: Eliminated redundant casts.
3084 * cspi/spi_image.c: Eliminated redundant casts.
3086 * cspi/spi_registry.c: Eliminated redundant casts.
3087 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3088 * cspi/spi_selection.c: Removed redundant casts.
3089 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3090 handling. Screen geometry and text offsets were being returned as 0
3091 on error which is technically valid-- changed these to return -1.
3092 Added marshaller for text boundary types to fix bug with boundary
3093 types being passed incorrectly to atk.
3095 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3098 * cspi/spi_registry.c:
3099 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3100 which was uncovered by the recent key changes.
3102 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3104 * test/event-listener-test.c:
3106 Added new test, "event-listener-test";
3107 this code does two things; it benchmarks traversal time
3108 for the accessible hierarchy for the first running accessible
3109 app, and it connects listeners for all supported event types.
3110 It is thus useful as an example event listener and for
3111 diagnostics/debugging of event generation.
3113 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3116 Removed unnecessary dependency on libutil.
3119 Revved micro version: 0.13.1
3121 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3124 Removed util/Makefile from targets.
3127 Removed util subdir from SUBDIRS (temporarily,
3128 pending removal of magnifier-only code
3132 #ifdef-ed out magnifier dependencies, since
3133 magnifier IDL, headers, and binary now live in
3134 module gnome-mag and we don't want at-spi to depend
3135 on gnome-mag. A magnifier demo which can run alongside
3136 simple-at is forthcoming in the gnome-mag module.
3138 NOTE: Split magnifier binary, IDL, and magnification
3139 activation code from at-spi into module gnome-mag.
3141 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3143 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3144 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3146 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3149 Revved to version 0.13.0
3151 * idl/Accessibility_Registry.idl:
3152 Changed definition of KeySet from sequence of longs to sequence of
3153 KeyDefinitions, and added KeyDefinition struct.
3154 Required for fix to bug 80616.
3156 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3157 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3158 to use new definition (see above).
3160 * registryd/deviceeventcontroller.c: handle_keygrab(),
3161 spi_keyset_contains_key():
3162 Changed to make use of new struct; this allows matching based on
3163 string key-name, for instance "Tab". This also allows matching of
3164 composed characters, non-alphanumeric characters in a way that
3165 doesn't involve dependencies on X keysym codes directly, etc.
3167 * test/key-listener-test.c:
3168 Added test for Alt-Tab key using "string" specification of keyset,
3169 and modified one of the tests to use a keycode-based keyset.
3170 Thus this test both tests and demonstrates the creation and use of
3171 keysets of three forms: specified via keycode array,
3172 keysym array, and string array. (The string case only contains a
3173 single string, i.e. a string array of length 1).
3176 Turned on PRINT_TREE option by default. Also fixed a
3177 string-freeing bug in the PRINT_TREE code.
3178 Added a listener to window:minimize events.
3180 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3182 * atk-bridge/bridge.c:
3183 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3184 for window:activate and window:deactiveate
3185 (atk_bridge_property_event_listener atk_bridge_signal_listener
3186 atk_bridge_window_event_listener) Tidy debug code
3188 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3190 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3191 Fixed handling for NULL return value from ATK.
3193 * libspi/action.c libspi/component.c libspi/editabletext.
3194 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3195 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3196 Removed redundant casts.
3198 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3199 Fixed off by one bug.
3201 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3202 function not present in idl)
3204 2002-05-02 jacob berkman <jacob@ximian.com>
3206 * atk-bridge/Makefile.am: make atk-bridge a real module
3208 2002-04-26 Radek Doulik <rodo@ximian.com>
3210 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3211 atk_state_types table
3213 2002-04-22 jacob berkman <jacob@ximian.com>
3216 * libspi/Makefile.am: add deps on the built files to help
3217 automake, and don't version the ORBit typelib
3219 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3221 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3222 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3223 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3224 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3225 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3226 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3227 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3228 libspi/accessible.h libspi/accessible.h libspi/base.h
3229 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3230 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3231 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3232 libspi/spi-private.h libspi/statetset.h libspi/table.h
3233 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3234 util/mag_client.h util/mag_control.c util/mag_image.c
3235 util/mag_image.h util/magnifier.c util/magnifier.h:
3236 Add missing file headers; standardize existing ones
3238 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3240 * atk-bridge/bridge.c: Added window event support.
3242 2002-04-18 Michael Meeks <michael@ximian.com>
3244 * libspi/relation.c (impl_getNTargets): impl.
3245 (impl_getTarget): impl.
3247 * libspi/Makefile.am: fix stateset install.
3249 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3252 Started putting useful info in this file.
3254 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3256 * atk-bridge/bridge.c:
3257 Propagate state-changed notifications to ATs
3259 * cspi/spi_registry.c: update docs to reflect actual behavior of
3260 state-change events.
3262 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3265 Incremented version to 0.12.1
3267 * util/mag_client.h:
3268 Add missing declaration for magnifier_exit,
3269 used by mag_control.c - Forte compiler didn't like
3270 the implicit redeclaration of the function :-(
3273 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3276 Revved version to 0.12 due to API change (see below).
3278 * cspi/spi-roletypes.h:
3279 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3280 definition from the inline docs, and added docs
3281 for SPI_ROLE_LAST_DEFINED.
3284 * cspi/spi_streamablecontent.c:
3285 Added missing seek_type parameter to
3286 (so far unused) method,
3287 AccessibleStreamableContent_seek().
3288 [ RT approval JodyG. ]
3291 Fixed docs for SPI_createAccessibleKeystrokeListener.
3293 * cspi/spi_registry.c:
3294 Fixed docs for SPI_KEYSET_ALL_KEYS.
3296 * docs/reference/cspi/at-spi-cspi-sections.txt:
3297 Added a number of missing APIs to SECTIONS.
3299 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3301 * registryd/Makefile.am:
3303 * cspi/bonobo/Makefile.am:
3304 Add $(X_LIBS) to makefiles.
3306 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3309 Revved version to 0.11.
3311 * libspi/component.c:
3312 Added implementation for grabFocus.
3314 * idl/Accessibility_Component.idl
3315 (Accessibility_Component_grabFocus):
3316 Made this method return boolean to indicate success or failure, to
3317 be consistent with cspi and the corresponding ATK method.
3319 * idl/Accessibility_Selection.idl
3320 (Accessibility_Selection_selectAll) :
3321 Made these methods return boolean to indicate success or
3322 failure, to be consistent with cspi and the corresponding ATK methods.
3324 * idl/Accessibility_EditableText.idl
3325 (Accessibility_EditableText_setTextContents,
3326 Accessibility_EditableText_insertText,
3327 Accessibility_EditableText_cutText,
3328 Accessibility_EditableText_deleteText,
3329 Accessibility_EditableText_pasteText):
3330 Made these methods return boolean to indicate
3333 * cspi/spi_editabletext.c:
3334 Made these methods return booleans.
3336 * libspi/selection.c:
3337 * libspi/component.c:
3338 * libspi/editabletext.c:
3339 Connected the boolean returns from ATK
3340 to the server-side code referenced above.
3342 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3344 * idl/Accessibility_Table.idl: Added missing methods,
3345 Accessibility_Table_addRowSelection,
3346 Accessibility_Table_addColumnSelection,
3347 Accessibility_Table_removeRowSelection,
3348 Accessibility_Table_removeColumnSelection.
3351 Added C wrappers for above IDL:
3352 AccessibleTable_addRowSelection,
3353 AccessibleTable_addColumnSelection,
3354 AccessibleTable_removeRowSelection,
3355 AccessibleTable_removeColumnSelection.
3358 Added server-side implementation code for IDL above, connecting
3359 to pre-existing ATK api.
3361 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3363 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3365 * libspi/accessible.c: Added implementation fo
3366 Accessibility_Accessible_get_state.
3368 * libspi/libspi.h: Added stateset.h to the list of includes.
3370 * libspi/stateset.c: Fixed broken implementation.
3372 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3375 Added implementation code for Accessibility_Magnifier_exit ().
3377 * util/mag_control.c:
3378 Added test code for above method; you can
3379 now kill an existing magnifier via
3380 ./mag_control q, from the util directory.
3382 * test/key-listener-test.c:
3384 Added a new test, for our key listener API.
3386 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3388 * test/app.c, test/keysynth-demo.c:
3390 Replace use of snprintf with g_snprintf.
3391 (fix for bugzilla 78249)
3393 2002-03-27 Michael Meeks <michael@ximian.com>
3397 * util/Makefile.am (INCLUDES): fix.
3398 (DONT_DIST_SOURCE): don't distribute the
3401 * libspi/Makefile.am (dist-hook): ditto.
3403 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3405 * libspi/hypertext.c:
3406 Fix warnings when yelp is used with atk-bridge
3408 2002-03-21 Michael Meeks <michael@ximian.com>
3410 * libspi/application.c (spi_application_new):
3411 use spi_accessible_construct so we use the AtkObject
3414 2002-03-19 Michael Meeks <michael@ximian.com>
3416 * registryd/registry.c (desktop_remove_application),
3417 (desktop_add_application): clean coding style.
3419 * registryd/desktop.c (spi_desktop_remove_application),
3420 (spi_desktop_add_application): kill re-enterency hazards.
3421 (spi_desktop_dispose): remove bogus redundant cast
3422 obscuring bug; fix bug too.
3423 (spi_desktop_init): make the desktop object immortal.
3425 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3428 Added a #define-guarded tree-traversal step
3429 when enumerating the apps (diagnostic tool).
3431 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3433 * idl/Accessibility_Role.idl:
3434 Added ROLE_DRAWING_AREA which seemed to be missing from the
3437 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3439 * cspi/spi-roletypes.h cspi/spi_accessible.c
3440 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3443 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3444 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3445 AT when applications are added and removed from the desktop. This
3446 reverts the previous broken implementation using the backing
3447 AtkObject for the SpiDesktop.
3449 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3451 * registryd/desktop.c: emit the "children-changed::add" and
3452 "children-changed::remove" signals on the backing ATK object for
3453 the desktop so AT can tell when applications are started and shut
3456 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3458 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3460 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3462 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3464 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3466 * cspi/state-types.h: synched with IDL and ATK
3468 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3470 * libspi/accessible.c
3471 (impl_accessibility_accessible_get_child_at_index):
3472 Change return value for g_return_if_fail ()
3473 to CORBA_OBJECT_NIL instead of "0" (!)
3475 * registryd/Makefile.am:
3476 * registryd/Accessibility_Register.server.in:
3477 Changed name of executable, "registryd",
3478 to something more informative:
3481 2002-03-13 Michael Meeks <michael@ximian.com>
3483 * atk-bridge/bridge.c (atk_bridge_init): don't register
3484 if we're in a bonobo-component, rather than a bonobo app.
3486 2002-03-13 Michael Meeks <michael@ximian.com>
3488 * atk-bridge/bridge.c (gtk_module_init): split
3489 out body to (atk_bridge_init): here, since otherwise
3490 we get symbol conflicts and oddness when invoked
3491 from (gnome_accessibility_module_init): here (upd.)
3493 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3496 New file. Explicitly allow "build sheriff" putbacks provided
3497 they are tested on Solaris.
3499 * docs/reference/cspi/Makefile.am:
3500 Added '-' to the "cp" command for index.sgml.
3501 ("patch by thomasvs, soon coming to a GUADEC near you")
3504 Incremented version number (0.9.0) for new release.
3505 Changed macro that checks for popt, to better detect
3506 obsolete versions of popt.
3509 Added X_LIBS to AC_SUBST, for applications
3510 that call Xlib API directly.
3513 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3516 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3519 Fix regression caused by hard-coding major
3520 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3523 * test/test-simple.c (test_editable_text),
3524 (test_test): revert previous change (error was
3525 a regression in gail which is now fixed).
3527 2002-03-04 Michael Meeks <michael@ximian.com>
3529 * test/test-simple.c (test_editable_text),
3530 (test_text): pass G_MAXINT instead of '-1' for
3531 whole string - is this a good thing !?
3533 * cspi/spi_accessible.c
3534 (Accessible_getRelationSet): fix crasher bug
3535 overwriting the end of the array.
3537 * test/test-simple.c (validate_accessible): free,
3538 not g_free returned relation set.
3540 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3542 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3543 implemented stateset support
3545 * idl/Accessibility_State.idl: Made necessary changes to
3546 the IDL to support state sets.
3548 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3550 * registryd/deviceeventcontroller.c:
3551 Added implementation for generateMouseEvent.
3553 * cspi/spi_registry.c:
3554 Connected new implementation for generateMouseEvent
3557 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3560 Incremented revision (but no change in public API
3561 outside of 'utils', which are not installed public yet.)
3563 * libspi/component.c:
3564 Changed to use atk_component API for layers and
3565 mdi_zorder, instead of deprecated atk_object API.
3567 Magnification Utility Enhancements:
3570 Added implementation of createZoomRegion, clearAllZoomRegions,
3571 resizeZoomRegion. Added new commandline argument
3572 "--no-initial-region". Note that clearAllZoomRegions doesn't
3573 unmap the old '0' region as it should (yet), and the other
3574 methods only work when creating/resizing a single region,
3575 which is "region 0".
3576 (Code for multiple region support will be added later.)
3579 Now we raise the magnifier window each time it's refreshed;
3580 this will help keep it on top.
3582 * util/mag_client.h:
3583 Added simple wrappers for above, used by mag_control.
3584 For general use, it's recommended to use the bonobo magnifier
3585 control API directly instead of using these wrappers.
3588 Moved ZoomRegionData from magnifier.c to this file.
3590 * util/mag_control.c:
3591 Added some code to exercise new IDL implementations.
3593 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3595 * libspi/text.c: Provide implementation for getAttributes.
3597 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3600 Incremented revision.
3602 * test/test-simple.c:
3603 Replaced use of deprecated g_main_iteration with
3604 g_main_context_iteration.
3606 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3609 Incremented revision for desktop alpha 2.
3611 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3613 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3616 * test/simple-at.c: include netinet/in.h.
3618 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3620 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3621 use NULL, not CORBA_OBJECT_NIL.
3623 * libspi/accessible.c:
3624 (impl_accessibility_accessible_get_relation_set):
3625 allocate the sequence correctly.
3627 * libspi/remoteobject.h: kill spi_remote_object_new.
3629 * test/test-simple.c: (validate_accessible): add code
3630 to test relation sets, now all we need is to figure
3631 out how to excercise this code path :/
3633 2002-01-18 Michael Meeks <michael@ximian.com>
3635 * test/test-simple.c
3636 (key_listener_cb): consume the key.
3637 (test_keylisteners): update.
3638 (main): wait for any pending unrefs on events.
3640 * registryd/deviceeventcontroller.c
3641 (spi_controller_update_key_grabs): only re-issue the
3642 grab on a key release.
3643 (spi_device_event_controller_forward_key_event):
3644 refresh the keygrabs before we notify the listeners,
3645 to reduce the X ungrab / re-grab race.
3646 (spi_controller_register_with_devices): remove
3647 XSelectInput - we do that with the gdk_window_ call.
3648 (_spi_controller_device_error_handler): return a value.
3649 s/GDK_DISPLAY/spi_get_display/
3651 2002-01-17 Michael Meeks <michael@ximian.com>
3653 * registryd/deviceeventcontroller.c
3654 (_deregister_keygrab): don't blow out the later
3657 * test/test-simple.c (test_keylisteners): do a
3658 more intelligent validation.
3660 2002-01-14 Michael Meeks <michael@ximian.com>
3662 * atk-bridge/bridge.c
3663 (gnome_accessibility_module_init),
3664 (gnome_accessibility_module_shutdown): impl.
3665 (gtk_module_init): protect vs. double inits.
3666 (add_signal_listener): impl.
3667 (spi_atk_bridge_state_event_listener): kill
3668 (deregister_application): split out of
3669 (spi_atk_bridge_exit_func): here.
3671 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3674 Added caret tracking when using magnifier, and
3675 now use text bounds for focus tracking of text elements, rather than
3676 the component bounds - this is helpful for short text fields in long
3677 table cells, at high magnification.
3679 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3681 * registryd/deviceeventcontroller.c:
3682 Regression fix for keylistener de-registration; global keygrabs
3683 were not being released when deregisterKeystrokeListener was
3684 called in cspi, since
3685 Accessibility_DeviceEventController_deregisterKeystrokeListener
3686 was called with a zero-length keyset. That is because the cspi
3687 method, SPI_deregisterKeystrokeListener, does not take a keyset
3688 parameter but instead should remove all the key grabs held be a
3690 The code in impl_deregister_keystroke_listener was changed to copy
3691 the keylist from the listener instance previously registered with
3692 the DeviceEventController before releasing the grabs.
3694 * registryd/registry.c:
3695 * registryd/deviceeventcontroller.c:
3696 * libspi/spi-private.h:
3698 Changed spelling of "re-enterant" to "re-entrant" globally.
3700 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3702 * test/test-simple.c:
3703 Changed key listeners test - the test was slightly mis-using the
3704 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3705 It now uses '=' as the key event listened to and generated,
3706 relying on a keysym match rather than assuming that keycode 33
3707 is always equal to keysym '!'.
3709 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3712 Changed simple-at to use a specific keyset, rather than
3713 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3714 manager, desktop, etc.
3716 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3718 * registryd/deviceeventcontroller.c:
3719 Replaced standard X error handler with a special handler that
3720 is non-fatal for failed keygrabs. This works around
3721 problems with keygrab clashes sometimes observed on
3723 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3724 mouse handling code as yet).
3726 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3729 Incremented revision for desktop alpha release.
3732 Fixed a couple of the more glaring errors (still not
3735 2002-01-11 Michael Meeks <michael@ximian.com>
3737 * registryd/deviceeventcontroller.c
3738 (spi_device_event_controller_forward_key_event): kill
3739 XUngrabKey / XKeyGrab race.
3740 (spi_controller_grab_keyboard): rename to
3741 (spi_controller_update_key_grabs): this, and deal
3742 with incremental adding / removing grabs more
3744 (_register_keygrab): ensure we're not pending a remove.
3745 (spi_grab_mask_free): impl.
3746 (spi_controller_register_global_keygrabs): split out
3748 (handle_keygrab): impl.
3749 (_deregister_keygrab): impl.
3750 (spi_controller_deregister_global_keygrabs): impl.
3751 (spi_controller_update_key_grabs): re-issue the grab if
3752 we just recieved a notification.
3754 * test/test-simple.c (key_listener_cb): remove debug.
3756 * registryd/deviceeventcontroller.c
3757 (spi_controller_register_device_listener): after
3758 registering a global keygrab, actualy register it !
3759 don't wait for a timeout; doh !
3761 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3762 to make it more readable / manipulable.
3763 s/grabmask/grab_mask/ s/refcount/ref_count/
3764 s/keyval/key_val/ s/modmask/mod_mask
3766 2002-01-08 Michael Meeks <michael@ximian.com>
3768 * registryd/deviceeventcontroller.c
3769 (spi_controller_register_with_devices): use gdk calls to
3771 (global_filter_fn): implement the filter.
3772 (spi_device_event_controller_check_key_event): rename to
3773 (spi_device_event_controller_forward_key_event): this & upd.
3774 (spi_get_display): replace with GDK_DISPLAY.
3776 * registryd/deviceeventcontroller.c
3777 (spi_controller_deregister_device_listener): unroll into
3778 (impl_deregister_keystroke_listener): here to simplify.
3779 (spi_controller_register_global_keygrabs): split cut and
3780 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3781 (spi_controller_deregister_device_listener): remove.
3782 (impl_register_mouse_listener): remove, no mouse listener
3783 support in at-spi-1.0
3785 * registryd/registry.c
3786 (_device_event_controller_hook): kill.
3787 (spi_registry_init): upd.
3789 * registryd/deviceeventcontroller.c
3790 (spi_device_event_controller_class_init): upd.
3791 (spi_check_key_event): merge into.
3792 (spi_device_event_controller_check_key_event):
3793 here and kill strange static ev init, don't leak
3794 the x_event - nor dynamicaly allocate it.
3796 * registryd/registry-main.c (main): re-direct
3797 timeout to remove strange vtable mess.
3799 * registryd/deviceeventcontroller.c
3800 (remove_listener_cb): impl.
3801 (spi_controller_deregister_device_listener):
3802 fix re-enterancy hazard.
3804 2002-01-07 Michael Meeks <michael@ximian.com>
3806 * registryd/deviceeventcontroller.c
3807 (spi_device_event_controller_new): upd.
3808 (impl_notify_listeners_sync): upd. debug.
3809 (spi_notify_keylisteners): fix re-enterancy hazards,
3810 prettify, remove O(n*n) iteration.
3811 (spi_controller_grab_keyboard): fix iteration.
3812 (spi_check_key_event): re-format to suit coding style.
3813 Clean all the warnings - we're warning free.
3815 * registryd/deviceeventcontroller.h:
3816 * registryd/registry.h: make mutualy referential with
3817 typesafe forward references instead of (!) void pointer
3820 2002-01-11 Michael Meeks <michael@ximian.com>
3822 * cspi/spi_accessible.c (role_names): add a role name
3823 to sync this array with the enum; and make the regression
3826 2002-01-10 Michael Meeks <michael@ximian.com>
3828 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3829 allow expansion of enumeration & kill warning.
3831 * test/test-simple.c (key_listener_cb): impl.
3832 (test_keylisteners): impl.
3834 * cspi/spi-listener.h: make listener signatures const
3835 on the provided (const) events.
3837 * test/keysynth-demo.c: upd. to const events.
3839 * test/simple-at.c: ditto.
3841 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3844 Rev the version to 0.5 (the previous tarball was named 0.4,
3845 even though the micro number was 3), so we need to rev upwards
3846 again for beta2/"desktop-alpha"
3849 Checked in a demo script, which requires editing before use!
3850 Proceed with caution.
3853 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3855 * cspi/spi_accessible.c:
3856 Add a couple of missing enum initializations, and fix some enum
3859 * cspi/spi_registry.c:
3860 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3862 * docs/reference/cspi/at-spi-cspi-sections.txt:
3863 Remove/fix a couple of broken document references.
3866 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3867 as Alt-Control to listen for commands, since on some systems
3868 Control-Alt may already be grabbed.
3870 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3873 Update version number to 0.4 for Beta2.
3875 * libspi/accessible.c, libspi/accessible.h:
3876 Expose spi_accessible_construct, to enable libgail-gnome
3877 construction from spi_accessible subtype.
3879 * utils/magnifier.c:
3880 Workaround for bug in some non-gnome-compliant window managers
3881 which made magnifier resize improperly.
3883 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3885 * libspi/accessible.c: (spi_accessible_new) :
3886 Move the test for SPI_IS_REMOTE_OBJECT to
3887 spi_accessible_new_return, fixing a bug and compile time warning.
3889 2002-01-08 Michael Meeks <michael@ximian.com>
3891 * registryd/registry.c (parse_event_type): remove strndup.
3893 * libspi/Makefile.am (libspi_la_SOURCES): remove
3894 sources already included in the headers section.
3896 * libspi/util.c: add.
3898 * libspi/spi-private.h: add.
3900 * registryd/registry.c: update to moved list iterators.
3902 2002-01-05 Michael Meeks <michael@ximian.com>
3904 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3906 * test/test-simple.c (main): ditto.
3908 2002-01-04 Michael Meeks <michael@ximian.com>
3910 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3911 redundant construct.
3913 * registryd/registry.c
3914 (get_listener_list): impl.
3915 (impl_accessibility_registry_register_global_event_listener):
3916 re-impl. to simplify using ~, remove dodgy const cast off.
3917 (parse_event_type): constify.
3918 (impl_accessibility_registry_deregister_global_event_listener_all):
3919 re-write, more efficiency and simplicity, kill re-enterancy
3921 (compare_listener_corbaref, compare_corba_objects),
3922 (compare_listener_quarks): define out.
3923 (impl_accessibility_registry_deregister_global_event_listener):
3924 re-write for effiency, and nail re-enterancy hazard.
3925 (impl_accessibility_registry_get_desktop_list): impl.
3926 (re_enterant_list_delete_link): impl.
3927 (re_enterant_list_foreach): impl.
3928 (remove_listener_cb): impl.
3929 (_registry_notify_listeners): kill.
3930 (notify_listeners_cb): impl.
3932 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3933 (SPI_getDesktopList): impl.
3935 * test/test-simple.c (test_desktop): test the methods.
3937 2002-01-03 Michael Meeks <michael@ximian.com>
3939 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3940 keystrings since we free them
3941 (SPI_freeAccessibleKeySet): in here.
3943 * libspi/accessible.c (spi_accessible_new): kill warning,
3944 wonder what is going on with the constructor here.
3946 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3948 * libspi/accessible.c (spi_accessible_new ()) :
3949 Added check to see if AtkObject is an SpiRemoteObject before
3950 creating an SpiAccessible.
3952 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3954 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3955 Enable keygrabs using the Control modifier, now that they are
3956 working properly (they were previously disabled).
3959 Change the command keygrab for this demo to "Control+Alt", so as
3960 to conflict with fewer other key commands on the system; this
3961 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3963 Removed a pointlessly-chatty keylistener for unshifted keys
3964 (shifted keys are still reported).
3966 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3968 * libspi/remoteobject.h:
3969 * libspi/remoteobject.c:
3970 Added definitions for special AtkObject subtype, required for
3971 support of remote components (specifically, used by BonoboControl
3972 accessibility implementation).
3974 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3976 * cspi/spi.h: synched relation types with ATK
3978 * cspi/spi_accessible.c: Added implementations of
3979 AcccessibleRelation_* methods
3981 * idl/Accessibility_Relation.idl: added getRelationTypeName
3982 method. Synched known relation types with ATK. Allowed for
3983 relation type extension with the RELATION_EXTENDED type.
3985 * libspi/relation.c: Provided implementations for
3986 AccessibleRelation methods.
3988 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3990 API tweaks for today's API 'freeze'.
3993 Added placeholder functions to allow future compatible expansion
3994 of the IDL interfaces.
3996 * idl/Accessibility_Registry.idl:
3997 Changed generateKeyEvent to generateKeyboardEvent. Changed
3998 signature of this method to accept an optional keystring in
3999 parameter (for complex text input synthesis) and changed use of
4000 simple 'boolean' parameter in registerKeystrokeListener to a
4001 struct, EventListenerMode.
4003 * cspi/spi_accessible.c:
4005 * cspi/spi_streamablecontent.c:
4006 Added references to AccessibleStreamableContent interface, and
4007 definition and implementation of AccessibleStreamableContent
4010 * cspi/spi_registry.c:
4012 Changed generateKeyEvent API to generateKeyboardEvent,
4013 taking a new (optional) keystring parameter to support complex
4018 Renamed directory (to better reflect its actual purpose, bridging
4019 from at-spi to ATK). The .so module is also now named
4022 * idl/Accessibility_Hypertext.idl:
4023 * libspi/accessible.c:
4024 * libspi/hypertext.h:
4025 * libspi/hypertext.c:
4026 Changed Accessibility_Hypertext to *not* derive from
4029 * cspi/spi_registry.c:
4030 Added list of legal event type names for 'window' events, which
4031 completes the registry event API.
4033 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4035 * at-bridge/bridge.c: Added registration for separate
4036 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4037 signals. If either of the first two parameters to the generic
4038 bridge signal handler are ints, they are passed on as event
4039 details. This allows an AT to determine what text was inserted.
4041 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4043 * registryd/deviceeventcontroller.c:
4044 Fixed regressions in generateKeyEvent caused by the removal of
4045 gdk_init from registryd; we now use pure X calls to connect to the
4046 display, which makes sense because deviceeventcontroller already
4047 uses a fair bit of X API (should eventually be migrated to a
4048 'portability layer').
4050 * registryd/desktop.c:
4051 Fixed minor regression in spi_desktop_init, changed the way the
4052 desktop name is being set to work with new spi_base API
4053 (gobject-based, rather than AtkObject-based).
4055 * registryd/Makefile.am:
4056 Minor revision of makefile to use XTST_LIBS variable rather than
4057 hard-wiring the Xtst LD_ADD element.
4059 * test/keysynth-demo.c:
4060 Tweaked an output message; added initialization of the
4061 'keystrings' member of the "switch listener" key_set.
4063 * libspi/relation.c:
4064 Squashed compile-time warning.
4066 * libspi/accessible.c:
4067 Cosmetic and formatting fixes, renamed a static method.
4069 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4071 * libspi/accessible.c
4073 * libspi/application.c
4076 * libspi/component.c
4077 * libspi/editabletext.c
4078 * libspi/hyperlink.c
4079 * libspi/hypertext.c
4081 * libspi/selection.c
4085 * registryd/desktop.c:
4086 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4088 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4090 * idl/Accessibility_Registry.idl:
4091 Added boolean member 'is_text' to DeviceEvent. This is for the
4092 use of key events, and helps prevent ambiguity between composed
4093 key strings and keysym names, since both may potentially be
4094 returned in the 'event_string' member.
4096 * at-bridge/bridge.c:
4097 * registryd/deviceeventcontroller.c:
4098 Use the 'is_text' member when notifying device event listeners.
4099 Knon issue: composed characters are not dealt with correctly by
4100 the global key listener implementation yet.
4102 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4104 * at-bridge/bridge.c:
4105 Namespaced local static methods to spi_atk_bridge_* where
4106 previously named bridge_*, and spi_* elsewhere.
4108 * at-bridge/bridge.c:
4109 * cspi/bonobo/cspi-bonobo-listener.c:
4110 Added demarshalling/conversion for string member of
4111 Accessibility_DeviceEvent to AccessibleKeystroke.
4113 * registryd/deviceeventcontroller.c:
4114 Added code to fill the Accessibility_DeviceEvent key string value
4115 member for global key events (i.e. from XGrabKey), to match
4116 behavior of Accessibility_DeviceEvent from the toolkit key events
4117 from the bridge. Fixed timestamp in global key event notifications.
4120 Added printout of key event's string value to
4121 report_ordinary_key_event, for demo/debugging purposes.
4123 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4125 * idl/Accessibility_Registry.idl:
4126 Removed Accessibility_KeyStroke structure in favor of generic
4127 Accessibility_DeviceEvent structure.
4128 Changed Accessibility_ControllerEventMask from a struct to an
4131 * at-bridge/bridge.c:
4132 Changed APIs to use DeviceEvent structure as above, and removed
4133 bogus casting between these event structures.
4135 * cspi/spi-listener.h:
4136 Added keystring member of AccessibleKeystroke structure, to enable
4137 matching on event "names" rather than only hardware codes and
4141 Added keystrings member of AccessibleKeySet struct, to allow
4142 matching on event names (as above).
4143 Added declarations for SPI_createAccessibleKeySet and
4144 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4145 event modmasks directly as unsigned ints rather than structs with
4146 refcounts, in the DeviceEventController methods.
4148 * cspi/spi_registry.c:
4149 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4151 * cspi/spi-roletypes.h:
4152 Added documentation of newly added SPI Roles.
4154 * cspi/bonobo/cspi-bonobo-listener.c:
4155 Changes in support of API changes above.
4157 * libspi/accessible.c:
4158 Converted APIs to use DeviceEvent structure (see IDL changes
4161 * registryd/deviceeventcontroller.c:
4162 Added DEControllerGrabMask structure to track keygrabs not only by
4163 modmask but by keyset as well; this allows us to do "global"
4164 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4165 grabbing on AnyKey and then filtering after-the-fact.
4166 Bugfixes for event filtration mean that we don't get false matches
4167 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4169 * registryd/deviceeventcontroller.c:
4170 Namespaced a number of static methods to use spi_ prefix. Major
4171 revision to internals of global (i.e. X) key grabs.
4173 * registryd/deviceeventcontroller.h:
4174 Removed keymask_list and added keygrabs_list to
4175 SpiDeviceEventController struct.
4178 Added use of SPI_createAccessibleKeySet API when creating a
4179 listener for only one key. Attach a listener to "shift spacebar
4180 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4181 X key event names to SPI key event names, so that listeners are
4182 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4184 * test/keysynth-demo.c:
4185 Changed (incorrect) use of X key event names (KeyPressed,
4186 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4189 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4191 * libspi/accessible.c:
4192 Convert all AtkRole enumerations to Accessibility_Role enums when
4193 getting a role from an AtkObject.
4195 * cspi/spi_accessible.c:
4196 Complete the conversion of Accessibility_Role enums at runtime to
4197 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4198 role enums correctly match those given in spi-roletypes.h.
4199 Re-synchronize the local names list for AccessibleRole_getName ().
4200 AccessibleRole_getName is now deprecated, since it duplicates the
4201 more reliable Accessible_getRoleName.
4202 Added some role types from Accessibility_Role.idl.
4204 * idl/Accessibility_Role.idl:
4205 Added some role types used by AtkRole.
4207 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4210 * cspi/spi_registry.c:
4212 * cspi/cspi-bonobo-listener.c:
4213 Namespaced all methods that did not begin with an "SPI_" or
4214 "Accessible" prefix to "SPI_".
4217 Homogenized internal function namespace to "cspi_" for statics.
4220 Patched tests to use the new CSPI API.
4222 * docs/reference/cspi/at-spi-cspi-sections.txt:
4223 Updated docs to reflect namespace changes, and added a number of
4224 methods to the documentation.
4226 * registryd/registry.c:
4227 Changed use of strings and string hashes in listener event
4228 matching and parse_event_string to use GQuark, which is guaranteed
4231 * registryd/registry.h:
4232 Squashed annoying warning.
4234 * idl/Accessibility_Role.idl:
4235 Extended range of available Accessibility_Role values.
4237 * cspi/spi_accessible.c:
4238 Re-ordered role names.
4240 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4242 * idl/Accessibility_Value.idl:
4243 Revert use of union back to CORBA_double, since the double type is
4244 more efficient and can contain the other types without loss of
4247 * idl/Accessibility_Accessible.idl:
4248 Added method Accessibility:Accessible:getRoleName, to complement
4249 Accessibility:Accessible:getRole.
4251 * cspi/spi_accessible.c:
4253 Added C binding for above, Accessible_getRoleName (), and changed
4254 signature of Accessible_getRole () to return an AccessibleRole.
4256 * cspi/spi-roletypes.h:
4257 Changed AccessibleRole_getName to return a char * instead of a
4258 const char *. This method is now at least temporarily deprecated
4259 in favor of asking Accessibles for their RoleNames directly.
4262 Revert to match Accessibility_Value.idl;
4266 Change signature of AccessibleValue methods to use double rather
4270 * cspi/spi_accessible.c:
4271 Changed Accessible_getRole to return an AccessibleRole enum rather
4272 than a UTF-8 string. The UTF-8 string can still be obtained via
4273 AccessibleRole_getName ().
4275 * test/test-simple.c:
4276 Add test_action. Small fixup to match API change to Accessible_getRole.
4279 Bugfix for get_action_from_servant ().
4281 2001-12-11 Michael Meeks <michael@ximian.com>
4283 * libspi/libspi.h: remove registry.h and
4284 desktop.h, deviceeventcontroller.h
4286 * libspi/Makefile.am: remove registry.[ch],
4287 desktop.[ch], deviceeventcontroller.[ch]
4289 * registryd/Makefile.am: add registry.[ch],
4290 desktop.[ch], rename registryd.c to registry-main.c.
4291 add deviceeventcontroller.[ch]
4293 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4296 Replace setenv() call with putenv ().
4298 * libspi/component.c:
4299 Bugfix in AccessibleComponent_getExtents (),
4302 2001-12-11 Michael Meeks <michael@ximian.com>
4304 * libspi/image.c (impl_getImageExtents): impl.
4305 (spi_image_class_init): upd.
4308 (AccessibleImage_getImageDescription): fix daft bug
4311 * test/test-simple.c (global_listener_cb): update
4312 to only quit if not --poke
4313 (main): catch --poke.
4314 (validate_accessible): upd. dumping, call test_image
4317 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4320 * idl/Accessibility.idl: update all IDL includes.
4322 * idl/*.idl - rename to namespace - this sucks, blame
4323 mjs' bad decision for oafd.
4325 * test/test-simple.c (create_test_window): add more tests.
4326 (create_tree): split this out.
4327 (validate_accessible): bugfix.
4329 2001-12-11 Michael Meeks <michael@ximian.com>
4331 * cspi/bonobo/cspi-bonobo-listener.c:
4332 (cspi_kestroke_listener_unref),
4333 (cspi_event_listener_unref): impl. undoing previous
4334 homenous environment - for Bill.
4336 * cspi/spi_table.c (long_seq_to_array): use
4339 * cspi/spi_main.c: split out all bonoboish bits into
4342 * cspi/spi-impl.h: upd. typedefs.
4344 * cspi/spi_registry.c: update to lowlevel API,
4345 return booleans to indicate success in some places.
4347 * cspi/spi_event.c: update to lowlevel API.
4349 * cspi/bonobo/Makefile.am: add.
4351 * cspi/bonobo/cspi-lowlevel.h: add
4353 * cspi/bonobo/cspi-bonobo.c: add
4355 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4357 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4358 (SUBDIRS): add bonobo, link in the libs.
4360 * cspi/spi-util.c: kill this file.
4362 * TODO: merge in my bits.
4364 2001-12-11 Michael Meeks <michael@ximian.com>
4366 * test/test-simple.c (test_value, test_table, main):
4367 remove unused variables causing warnings.
4369 * configure.in: cleanup checks - require gail.
4371 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4374 Changed Value interface to use SValue (scalars) rather than
4375 assuming all values are floats. This allows floats, doubles,
4376 longs, shorts, and unsigned values to be manipulated.
4377 Introduced Accessibility:SValue union.
4380 Updated to use new API above, and to work correctly with GValues
4381 of different types in AtkValue.
4384 Updated to use new API above. cspi's API is as yet unchanged.
4387 Updated the Value revision action item.
4389 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4391 * test/test-simple.c:
4392 Added test_table (GtkTreeView widget in test window to follow).
4393 Un-commented test_value, added GtkRange widget.
4394 Added GtkTreeView widget with GtkListStore. It passes regression
4395 test but leaks one SPI object for some reason.
4398 Fixed bug in impl__set_currentValue.
4400 2001-12-10 Michael Meeks <michael@ximian.com>
4402 * cspi/spi_text.c: audit for exception handling,
4403 tolerating NULL object references safely etc.
4405 * cspi/spi_value.c: ditto.
4407 * cspi/spi_table.c (AccessibleTable_getSummary),
4408 (AccessibleTable_getAccessibleAt),
4409 (AccessibleTable_getRowHeader),
4410 (AccessibleTable_getColumnHeader),
4411 (AccessibleTable_getCaption): fix bugs hidden by
4413 (long_seq_to_array): impl.
4414 (AccessibleTable_getSelectedRows),
4415 (AccessibleTable_getSelectedColumns): use it.
4417 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4420 Added a TODO list (rough and short for now).
4422 * cspi/spi_hyperlink.c:
4423 * cspi/spi_hypertext.c:
4424 Fixed macro name typos, and remove use of obsolete macro in
4425 AccessibleHyperlink_getLink.
4427 * cspi/spi_action.c:
4428 * cspi/spi_accessible.c:
4429 * cspi/spi_application.c:
4430 * cspi/spi_component.c:
4431 * cspi/spi_selection.c:
4434 Documentation fixes (removed return values from ref/unref methods).
4436 2001-12-10 Michael Meeks <michael@ximian.com>
4438 * cspi/spi_action.c: audit for exception handling,
4439 tolerating NULL object references safely etc.
4441 * cspi/spi_accessible.c: ditto.
4443 * cspi/spi_component.c: ditto.
4445 * cspi/spi_editabletext.c: ditto.
4447 * cspi/spi_hyperlink.c: ditto.
4449 * cspi/spi_hypertext.c: ditto.
4451 * cspi/spi_image.c: ditto.
4453 * cspi/spi_selection.c: ditto.
4455 2001-12-10 Michael Meeks <michael@ximian.com>
4457 * configure.in: use cspi/libspi.pc.in instead.
4459 * Makefile.am (pkgconfig_DATA): upd. to match.
4461 * test/simple-at.c (report_focus_event): kill hacks around
4462 bad return values, use putenv not setenv
4464 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4465 fire ChildGone - I killed it.
4467 * libspi/component.c
4468 (impl_accessibility_component_get_extents): remove
4471 * idl/Accessible.idl: kill ChildGone exception.
4473 * cspi/*.[ch]: kill int return from ref / unref.
4475 * cspi/spi_main.c (cspi_object_add_check): fold into
4476 (cspi_object_add): here.
4478 * cspi/spi_component.c (AccessibleComponent_getExtents):
4479 handle exceptions elegantly.
4481 * cspi/spi-private.h (cspi_check_ev_return),
4482 (cspi_return_if_fail): impl.
4484 * cspi/spi_accessible.c: use extensively.
4485 (AccessibleStateSet_equals): add direct compare check.
4487 * cspi/spi_selection.c: tolerate NULL objs, and check
4488 exceptions before return.
4490 * cspi/spi-util.c (cspi_warn_ev): rename to
4491 (cspi_check_ev): this & don't pass ev in; no point.
4493 2001-12-10 Michael Meeks <michael@ximian.com>
4495 * test/test-simple.c: use putenv not setenv
4496 (get_environment_vars): more chatty if you're not using
4499 * test/simple-at.c: do the setenv so more people see the
4502 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4504 * libspi/registry.c:
4505 Changed check of CORBA_environment on notification to be a warning
4506 instead of an error for the moment, since we can recover from this
4507 error when caused by a queued notification from a dead app.
4510 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4511 used by all current implementors of AtkValue), and coerce to
4512 CORBA_float. (Proper general case fix may require change to Value.idl).
4514 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4518 * cspi/spi_accessible.c:
4519 Documentation fixes: added user_data params to documentation for
4520 listeners and callbacks.
4522 * cspi/spi_accessible.c:
4523 Changed AccessibleStateSet_compare to return a
4524 StateSet rather than return the difference set into a third parameter.
4527 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4530 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4531 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4535 Remove subdirectory po from SUBDIRS for now.
4537 * at-bridge/bridge.c:
4538 Beefed up a couple of debug printouts.
4539 One-line fix for signal notification name formatting.
4541 * libspi/accessible.c:
4542 Added assertion to spi_accessible_new ().
4544 * libspi/application.c:
4545 Put #ifdef qualifiers around a printf.
4548 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4550 * registryd/Makefile.am:
4552 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4553 INTLTOOL_SERVER_RULE macro.
4556 Added an event listener for several ATK signals, for
4557 testing and debugging. Removed a few g_warnings.
4558 Added test output if focussed item implements the Value interface.
4560 * test/test-simple.c:
4561 Added test_value () function (known not to pass at the moment, so
4562 not actually called yet.
4564 2001-12-08 Michael Meeks <michael@ximian.com>
4566 * at-bridge/bridge.c (bridge_focus_tracker),
4567 (emit_eventv): fix the same ref. leak.
4568 (register_atk_event_listeners): don't leak.
4570 * cspi/spi-listener-impl.c (cspi_event): more
4571 protection from client code.
4573 * test/test-simple.c (test_desktop): unref the app.
4575 * test/Makefile.am: upd. TESTS.
4577 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4579 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4581 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4583 * cspi/spi_registry.c: constify in strings.
4584 (deregisterGlobalEventListenerAll): don't release the ref.
4586 * cspi/spi.h: start removing redundant / conflicting
4587 gtkdoc comments, making the API readable at a glance :-)
4589 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4591 * test/keysynth-demo.c (keysynth_exit, main): upd.
4593 * test/simple-at.c (main, simple_at_exit): upd.
4595 * test/test-simple.c (unutterable_horror): kill.
4596 (utterable_normal_derefs): kill.
4597 (main): upd & do a setenv before gtk_init, so that we
4598 can use memprof - and to save the pain of remembering
4599 this, if we're running under memprof - don't exit.
4601 * cspi/spi_main.c (SPI_exit): return exit status
4603 (SPI_event_quit): impl.
4604 (SPI_event_main): simplify.
4605 (cspi_is_gnome_app): kill.
4606 (SPI_init): kill isGNOMEapp arg.
4608 * at-bridge/bridge.c (register_atk_event_listeners):
4609 re-instate the unref.
4610 (bridge_exit_func): don't re-activate the registry,
4611 protect vs. theoretical re-entry, use the
4612 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4613 assert a clean shutdown - for regression tests.
4615 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4617 * configure.in: Comment out dummy i18n support for now,
4618 otherwise it fails to build.
4619 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4620 EXTRA_DIST. They are missing in tarball.
4622 2001-12-07 Michael Meeks <michael@ximian.com>
4624 * util/magnifier.c: kill bonobo activation reg. race.
4626 * libspi/component.c
4627 (impl_accessibility_component_get_extents): make it match
4630 * libspi/registry.c (_registry_notify_listeners):
4631 re-remove X headers & reconcile conflicts.
4632 (spi_listener_struct_free): bad conflict resolve.
4633 (impl_accessibility_registry_register_application):
4634 more bad merging fixed.
4635 (impl_accessibility_registry_deregister_application): ditto.
4636 (spi_registry_new): ditto.
4637 (spi_registry_init): don't have an applications field.
4639 [ merge fixups2 branch to here ]
4640 2001-12-07 Michael Meeks <michael@ximian.com>
4642 * test/simple-at.c (report_focus_event),
4643 (report_focussed_accessible): remove g_warning debug.
4645 2001-12-07 Michael Meeks <michael@ximian.com>
4647 * test/test-simple.c (validate_tree): comment out some checks.
4648 (test_desktop): app now not registered idly - horay.
4650 2001-12-07 Michael Meeks <michael@ximian.com>
4652 * cspi/spi_registry.c
4653 (registerAccessibleKeystrokeListener): clean, stop it leaking
4654 great swathes of memory, and device event controller references.
4655 ensure we always pass valid sequences.
4656 (deregisterAccessibleKeystrokeListener): ditto.
4657 (generateKeyEvent): upd.
4659 * at-bridge/bridge.c (bridge_key_listener): handle
4660 registry dead exception gracefully.
4661 (bridge_focus_tracker, emit_eventv): free ev.
4663 * test/simple-at.c (report_focus_event): fix polarity.
4665 * libspi/application.c (notify_listeners): kill the ev
4666 argument, and make sure we init the ev we use.
4667 (spi_application_object_event_listener): split out a chunk
4668 (get_atk_object_ref): here & fixup.
4669 (reverse_lookup_name_for_toolkit_event): make const.
4670 (spi_application_toolkit_event_listener): fixup, kill leaks
4673 * at-bridge/bridge.c (register_atk_event_listeners):
4674 don't unref the noop object - causes grief.
4676 * libspi/registry.c: remove the X headers.
4677 turn off the debug churn.
4679 * libspi/accessible.c (spi_accessible_new_return): only
4680 release the ref if we are supposed to [doh]
4682 * test/simple-at.c (report_button_press, report_focus_event):
4683 guard vs. unexpected exit.
4685 * at-bridge/bridge.c (gtk_module_init): prune printf.
4686 (bridge_exit_func): fix app unref.
4688 * libspi/Makefile.am: don't install registry or desktop.h
4690 * libspi/*.h: update includes.
4692 * libspi/application.h: don't include ourself, or
4693 other redundant headers.
4695 2001-12-06 Michael Meeks <michael@ximian.com>
4697 * libspi/accessible.c
4698 (get_accessible_from_servant): impl.
4699 Upd. all CORBA impl.s to use it killing cut and paste.
4701 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4703 (SPI_init): register atexit cleanup handler here.
4705 2001-12-06 Michael Meeks <michael@ximian.com>
4707 * at-bridge/bridge.c (gtk_module_init): g_error on
4708 activation exception
4710 2001-12-06 Michael Meeks <michael@ximian.com>
4712 * at-bridge/bridge.c (gtk_module_init): some sort of
4713 confusing merge clash - reverted.
4714 (bridge_idle_init): ditto.
4716 * test/test-simple.c (main, utterable_normal_derefs):
4717 merge from Bill - somehow not committed.
4719 2001-12-06 Michael Meeks <michael@ximian.com>
4721 * libspi/value.c (spi_value_class_init): upd.
4722 (spi_value_finalize): kill.
4724 * libspi/table.c (spi_table_finalize): kill.
4725 (spi_table_interface_new): upd.
4726 (spi_table_class_init): upd.
4727 (get_table_from_servant): impl.
4728 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4730 * libspi/selection.c (spi_selection_finalize): kill.
4731 (spi_selection_interface_new): upd.
4732 (spi_selection_class_init): upd.
4733 (get_selection_from_servant): impl.
4734 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4736 * libspi/relation.c (spi_relation_finalize): kill.
4737 (spi_relation_class_init, spi_relation_new): upd
4739 * libspi/image.c (spi_image_finalize): kill.
4740 (spi_image_class_init): upd.
4741 (spi_image_interface_new): upd.
4742 (get_image_from_servant): impl.
4743 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4745 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4746 (spi_hyperlink_finalize): kill.
4747 (spi_hyperlink_new): upd.
4748 (get_hyperlink_from_servant): impl.
4749 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4751 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4752 (spi_hypertext_finalize): kill.
4753 (spi_hypertext_class_init): upd.
4754 (get_hypertext_from_servant): impl.
4755 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4757 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4758 (spi_editable_text_interface_new): upd.
4759 (get_editable_text_from_servant): impl.
4760 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4762 * libspi/text.c (get_text_from_servant): impl.
4763 All impls - update to use it killing more cut and paste,
4764 also fix bad string returns on duff args ( a somewhat
4765 impossible case to handle - but hey ).
4766 (spi_text_construct): impl.
4767 (spi_text_interface_new): upd.
4768 (spi_text_object_finalize): kill.
4770 * libspi/component.c
4771 (accessibility_component_object_finalize): kill.
4772 (spi_component_class_init): upd.
4773 (get_component_from_servant): impl. helper to kill cut & paste.
4774 (impl_accessibility_component_contains):
4775 (impl_accessibility_component_get_accessible_at_point):
4776 (impl_accessibility_component_get_position):
4777 (impl_accessibility_component_get_extents):
4778 (impl_accessibility_component_get_mdi_z_order):
4779 (impl_accessibility_component_get_layer):
4780 (spi_component_interface_new): upd.
4782 * libspi/action.c (spi_action_finalize): kill.
4783 (spi_action_class_init): upd. inherit from SpiObject.
4784 (spi_action_interface_new): upd.
4785 (get_action_from_servant): impl. helper to reduce cut & paste.
4786 (impl_getKeyBinding, impl_getName, impl_doAction),
4787 (impl_getDescription): Use it everywhere.
4789 * cspi/spi_main.c (get_live_refs): a pointer hash.
4790 (spi_object_hash, spi_object_equal): comment out.
4791 There are issues with CORBA object hashing that need
4794 * libspi/application.c (spi_application_init),
4795 (spi_application_new): upd.
4797 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4798 (spi_accessible_class_init): upd.
4799 s/accessible/object/ in epv methods.
4801 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4803 * at-bridge/bridge.c:
4804 Reorder the bridge initialization into the bridge gtk_module_init,
4805 an immediate call to bridge_register_app, and an idle_add for
4806 register_atk_event_listeners (the only code that *must* wait until
4807 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4808 the activation, creates the application's Accessible object, and
4809 queues the bridge_idle_init function. Restored call to
4810 Accessibility_Registry_deregisterApplication().
4811 Prior to making this call we obtain a new reference to the
4812 registry, which is a temporary hack that helps us handle apps that
4813 shut down the bonobo mainloop before we get there.
4815 * libspi/registry.c:
4816 Fix string leakage in debug block, and don't segv if a an app
4817 dies before its event notifications have been propagated.
4820 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4821 as stopgap measure until we get proper exception handling when
4822 objects die during or before interrogation.
4826 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4827 Also changed default value of is_gnome_app to TRUE.
4830 * test/keysynth-demo.c:
4831 Changed use of SPI_init and SPI_event_main to reflect API change above.
4834 Made report_focus_event check the warning value from getName
4835 before reporting on focussed accessible; simplifies handling of
4836 notifications from dead objects.
4838 * test/test-simple.c: (Changes not in this patch since source is
4841 2001-12-05 Michael Meeks <michael@ximian.com>
4843 * registryd/registryd.c (main): protect against
4844 bonobo-activation startup race condition.
4846 * cspi/spi_main.c (cspi_object_add_check): cope
4847 with the exception elegantly.
4849 * idl/Accessible.idl: decl. ChildGone
4851 * libspi/desktop.c (spi_desktop_dispose): impl.
4852 (spi_desktop_class_init): upd.
4853 (spi_desktop_add_application),
4854 (spi_desktop_remove_application),
4855 (abnormal_application_termination): impl.
4856 (impl_desktop_get_child_at_index): re-impl.
4859 (impl_accessibility_registry_deregister_application),
4860 (impl_accessibility_registry_register_application):
4861 kill excessive debug clutter.
4863 * test/test-simple.c (test_misc): test some NULL
4864 tolerance. (main): upd.
4866 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4867 implements no interfaces - so let's not crash.
4869 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4871 * libspi/accessible.c (spi_accessible_new_return): impl.
4872 helper to calm the cut and paste, to cope with
4873 NULL AtkObjects effectively and efficiently, and to kill
4874 the referencing bugs.
4876 * libspi/table.c (impl_getAccessibleAt),
4877 (impl_getRowHeader, impl_getColumnHeader): upd.
4879 * libspi/hyperlink.c (impl_getObject): upd.
4881 * libspi/accessible.c
4882 (impl_accessibility_accessible_get_child_at_index): upd.
4884 * libspi/component.c
4885 (impl_accessibility_component_get_accessible_at_point): upd.
4887 * test/test-simple.c (test_editable_text, test_text): impl.
4890 * cspi/spi_editabletext.c
4891 (AccessibleEditableText_insertText): constify.
4893 * test/test-simple.c (focus_me): make more robust.
4895 * libspi/accessible.c: remove some printfs in methods that
4896 we test and work fine, so we can get a clean tree dump.
4898 * test/test-simple.c (validate_accessible),
4899 (validate_tree): make tree dumping pretty too.
4901 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4902 it builds without debug on.
4904 * test/test-simple.c (validate_accessible): fix the most
4907 * cspi/spi_main.c (spi_object_release): leave the nicely
4908 blanked memory around if in debug mode.
4910 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4912 [committed to fixups2]
4913 2001-12-05 Michael Meeks <michael@ximian.com>
4915 * libspi/editabletext.c
4916 (spi_editable_text_class_init): g_type_class_peek_parent,
4917 not interface peek - so we finalize cleanly.
4919 * libspi/accessible.c (spi_accessible_new): kill debug.
4921 * test/test-simple.c (validate_accessible): fix ref.
4922 leak, print strings before freeing them; sigh, comment a
4923 chunk out due to strangeness.
4924 (validate_tree): unref the child after use.
4926 * cspi/spi_component.c (AccessibleComponent_getLayer):
4927 add missing break statement, switch on zlayer not the
4928 uninitialized retval.
4930 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4931 before (possibly re-entering) remote unref.
4933 * test/simple-at.c (main): unref the desktop.
4935 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4938 * cspi/spi_main.c (cspi_accessible_is_a): here to
4939 isolate bonobo API usage more.
4941 * libspi/registry.c (impl_accessibility_registry_register_application):
4942 prune bogus comment.
4944 2001-12-04 Michael Meeks <michael@ximian.com>
4946 * test/test-simple.c (validate_tree): upd.
4947 IndexInParent check to make it more lucid.
4948 (validate_accessible): dump the tree.
4950 * libspi/accessible.c (de_register_public_ref),
4951 (get_public_refs): impl.
4952 (spi_accessible_new): make more efficient & intuitive.
4953 Now IndexInParent check works.
4955 2001-12-04 Michael Meeks <michael@ximian.com>
4957 * cspi/spi-util.h: remove.
4959 * cspi/spi.h: move SPI_freeString here
4961 * libspi/component.c (impl_accessibility_component_get_layer):
4963 (impl_accessibility_component_get_mdi_z_order): ditto,
4964 return -1 on error - is this ok ?
4966 * test/test-simple.c (test_application): impl.
4968 * cspi/spi_accessible.c (Accessible_getApplication),
4969 (Accessible_isApplication): impl.
4971 * libspi/registry.c (spi_listener_struct_free): release
4972 the CORBA reference too.
4974 * libspi/accessible.c
4975 (impl_accessibility_accessible_get_parent): fix ref leak.
4977 * libspi/registry.c (spi_registry_new): make the registry
4978 immortal - we don't want it to go away ever.
4980 * libspi/application.c
4981 (spi_accessible_application_finalize): impl. cleanup.
4983 * cspi/spi_registry.c
4984 (deregisterGlobalEventListenerAll),
4985 (deregisterGlobalEventListener),
4986 (deregisterAccessibleKeystrokeListener): fix ref leak.
4988 * cspi/spi_main.c (SPI_init): remove redundant ref.
4990 * test/test-simple.c (unutterable_horror): impl. to force a
4995 (impl_accessibility_registry_deregister_application): release
4996 the application when we de-register it.
4998 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4999 until we have the infastructure to get it right.
5001 2001-12-03 Michael Meeks <michael@ximian.com>
5003 * libspi/Makefile.am: only build eventlistener.[ch]
5005 * libspi/accessible.c
5006 (impl_accessibility_accessible_get_child_at_index): don't leak.
5008 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5009 before we hit the idle handler.
5011 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5012 debugging than exit.
5014 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5016 * libspi/listener.c (impl_notify_event): check source
5017 not NIL before unref.
5019 * libspi/registry.c (impl_registry_notify_event): ditto.
5021 * libspi/eventlistener.c
5022 (impl_accessible_event_notify_event): unref the source.
5024 * libspi/accessibleeventlistener.c
5025 (impl_accessible_event_notify_event): unref the source.
5027 * idl/Event.idl: remove 'hash_id' attribute - of no
5030 * libspi/application.c (notify_listeners): upd list
5032 (spi_application_object_event_listener),
5033 (spi_application_toolkit_event_listener): upd to do correct
5037 (_registry_notify_listeners): update.
5038 (parse_event_type): this method also leaks like a sieve.
5039 (impl_accessibility_registry_deregister_global_event_listener):
5040 fix ETYPE_WINDOW case.
5042 * libspi/application.c
5043 (impl_accessibility_application_register_object_event_listener):
5046 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5048 * libspi/hypertext.c (impl_getLink): ditto.
5050 * cspi/spi_main.c (cspi_object_add): remove
5051 bogus CORBA_Object_duplicate.
5053 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5056 * cspi/spi_accessible.c
5057 (Accessible_getRelationSet): fix leak / referencing issue.
5059 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5060 (cspi_object_add, cspi_object_unref): upd.
5061 (spi_object_release, get_live_refs): impl.
5062 (cspi_cleanup): simplify.
5064 * *.[ch]: s/boolean/SpiBoolean/
5066 * cspi/spi_accessible.c (role_names): actualy order so it
5067 corresponds with the enum !
5069 * test/test-simple.c (test_roles): check some role strings
5070 vs. enums to detect offset errors.
5072 2001-12-01 Michael Meeks <michael@ximian.com>
5074 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5076 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5078 (Accessible_getChildAtIndex): use cspi_add_check so we
5079 check the ev before using a (possibly) invalid value.
5081 * libspi/accessible.c
5082 (impl_accessibility_accessible_get_parent): don't segv
5085 * at-bridge/bridge.c (gtk_module_init): upd.
5086 (bridge_property_event_listener): don't leak strings
5088 (bridge_state_event_listener),
5089 (bridge_property_event_listener): don't use a static
5090 buffer in case of recursive event emission &
5091 re-enterancy - split out the swathe of cut and paste
5093 (emit_eventv): and fix 2 ref leaks here & comply to the
5095 (bridge_register_app): rename to
5096 (bridge_idle_init): this and kill arg parsing, split
5097 various inits & bonobo-activation registration to module
5098 init time, kill referencing error.
5099 (bridge_exit_func): fix the same leak.
5100 (bridge_focus_tracker): don't leak event structures
5102 (bridge_signal_listener): more leakage and cut & paste
5104 (bridge_key_listener): return the result - FIXME is
5105 this polarity correct ?
5106 (accessibility_keystroke_from_atk_key_event): rename
5107 (accessibility_init_keystroke_from_atk_key_event): and stop
5109 (gtk_module_init): return a value - not that it is checked by
5111 (bridge_key_listener): register my horror at casting between
5112 IDL defined structs.
5113 (bridge_get_registry): kill - not used.
5115 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5117 * test/test-simple.c (test_roles): impl.
5118 (test_desktop, validate_accessible, validate_tree): impl.
5120 * cspi/spi_accessible.c (role_names): fixup bogus
5121 MAX_ROLES setup, make constants const for efficient linkage
5122 (AccessibleRole_getName): conform to coding style, make
5125 2001-11-30 Michael Meeks <michael@ximian.com>
5127 * cspi/spi.h: add missing prototype.
5129 * libspi/registry.c (spi_listener_struct_new): fix sig.
5131 * test/Makefile.am: add test-simple
5133 * test/test-simple.c: add
5135 * test/test.sh: add.
5137 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5139 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5140 do it straight - since otherwise we often get an activation race.
5142 [ work before Bill duplicated a chunk of it ... ]
5143 2001-11-30 Michael Meeks <michael@ximian.com>
5145 * libspi/keystrokelistener.c
5146 (spi_keystroke_listener_class_init): fixup arg
5149 * libspi/eventlistener.c
5150 (spi_event_listener_class_init): ditto.
5152 * tests/test.sh: add.
5154 * cspi/spi-listener-impl.h: update macros.
5156 * cspi/spi-listener-impl.c
5157 (cspi_event_listener_remove_callback): add
5158 correct pre-conditions.
5160 * cspi/spi_main.c (SPI_exit): guard vs. double
5161 exits, exit the mainloop nicely.
5162 (SPI_event_main): make more sense.
5163 (SPI_init): move the atexit evilness here so we
5164 always do it (yuck).
5165 (SPI_event_main): upd.
5167 * test/simple-at.c: update for listener changes.
5169 * registryd/registryd.c (main): prune kruft.
5171 * libspi/libspi.h: upd.
5173 * libspi/eventlistener.[ch]: rename broken macros.
5175 * libspi/accessibleeventlistener.[ch]: remove.
5177 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5179 * test/test-simple.c: Add - automated tests.
5181 * cspi/spi-listener-impl.c (cspi_event),
5182 (cspi_key_event): add user_data to invoke.
5183 (cspi_keystroke_listener_finalize): impl.
5184 (cspi_keystroke_listener_class_init): upd.
5187 (createAccessibleEventListener),
5188 (AccessibleEventListener_addCallback),
5189 (createAccessibleKeystrokeListener),
5190 (AccessibleKeystrokeListener_addCallback): upd.
5192 * libspi/deviceeventcontroller.c
5193 (spi_device_event_controller_check_key_event): add public proto.
5196 (impl_accessibility_registry_deregister_global_event_listener):
5197 always init listeners.
5198 (_registry_notify_listeners): yes it is.
5200 * cspi/spi-listener-impl.c (cspi_key_event):
5202 (cspi_event_listener_finalize): impl.
5203 (cspi_event_listener_class_init): hook up.
5204 (event_handler_new, event_handler_free),
5205 (event_list_remove_by_callback): impl.
5206 (cspi_event_listener_remove_callback),
5207 (cspi_keystroke_listener_remove_callback),
5208 (cspi_keystroke_listener_add_callback),
5209 (cspi_event_listener_add_callback): upd.
5211 * libspi/keystrokelistener.c
5212 (keystroke_listener_object_finalize): kill
5213 (spi_keystroke_listener_class_init): upd.
5214 (spi_keystroke_listener_add_callback),
5215 (spi_keystroke_listener_remove_callback): kill,
5217 (impl_key_event): prune drasticaly.
5219 * libspi/eventlistener.c
5220 (spi_event_listener_add_callback),
5221 (spi_event_listener_remove_callback): kill, use
5223 (impl_accessible_event_notify_event): upd.
5224 (spi_event_listener_object_finalize): remove.
5226 * libspi/Makefile.am: use eventlistener.[ch]
5228 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5230 * libspi/registry.c (_registry_notify_listeners):
5231 Changed listener loop iteration to use preferred convention.
5232 Got rid of string memory leaks caused be calling g_strconcat
5233 inside function calls.
5235 * libspi/registry.c (parse_event_type):
5236 Stopped g_strconcat memory leaks, free the g_strsplit return,
5237 g_strdup the split pieces when used, etc.
5239 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5242 Change method 'compare' to return a 'difference set' rather than
5243 taking a StateSet as an out parameter (more Java-friendly).
5245 * idl/Accessible.idl:
5246 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5248 * idl/Component.idl:
5250 Changed methods 'getExtents' and 'getImageExtents' in these
5251 interfaces to return a BoundingBox structure.
5252 (getPosition and getSize are redundant and possibly should be
5253 removed, rather than creating a corresponding Point struct.)
5255 * cspi/spi_component.c:
5256 Modify implementation of getExtents to reflect the above IDL
5261 Add (missing) AccessibleImage_getExtents () API.
5263 * docs/reference/cspi/at-spi-cspi-sections.txt:
5264 Added AccessibleImage_getImageExtents () to docs.
5266 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5268 * idl/Component.idl:
5269 Added two methods, getLayer () and getMDIZOrder (), to reflect
5270 the new ATK methods atk_object_get_layer and
5271 atk_object_get_mdi_z_order. (Which arguably should be part of the
5272 AtkComponent API and AtkObject). Also added an enum,
5273 ComponentLayer, for the first method's return value.
5275 * libspi/component.c:
5276 Added implementations for these methods.
5278 * cspi/spi_component.c:
5280 Added cspi binding methods for above,
5281 AccessibleComponent_getLayer() and
5282 AccessibleComponent_getMDIZOrder().
5283 Added cspi enum 'AccessibleComponentLayer'.
5285 * docs/reference/cspi/at-spi-cspi-sections.txt:
5286 Added above methods to docs.
5290 Changed typedef for 'boolean' type (and all references to it) to
5291 SPIBoolean, to avoid keyword clashes with C++.
5294 Changed usages of 'boolean' to SPIBoolean.
5296 * test/keysynth-demo.c:
5297 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5298 app), except where SPIBoolean is required by the callbacks API.
5300 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5302 * cspi/spi_registry.c:
5303 Removed obsolete X event loop for passive keygrabs (which now
5306 * registryd/registryd.c:
5307 Removed unnecessary call to gdk_init() [cruft]. This also allows
5308 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5311 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5313 * docs/reference/cspi:
5314 Included docs for SPI_freeString in generated documentation.
5317 Renamed spi_freeString to SPI_freeString, for consistency. Added
5318 documentation for this function.
5321 Renamed spi_freeString to SPI_freeString, for consistency.
5322 Removed obsolete method declaration string_from_corba_string.
5324 * test/keysynth-demo.c:
5325 Small tweak to comments.
5328 Stopped leaking the strings returned from CSPI.
5330 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5332 Merged Michael's branch (see his ChangeLog entries below).
5334 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5335 bridge is alive, release on exit.
5337 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5338 Fix type check macro.
5341 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5344 Added is_gnome_app static, and method cspi_is_gnome_app(),
5345 so we can call the appropriate shutdown routine at exit in SPI_exit.
5347 * cspi/spi_main.c (cspi_object_ref):
5348 Duplicate the corba object passed in, since we're keeping it around.
5350 * cspi/SPI_exit.c, cspi_cleanup:
5351 Moved the releasing of the live refs to its own function, so we
5352 can put it in g_atexit (). Call the appropriate shutdown API
5353 depending on whethe calling client is a gnome app or not
5354 (bonobo_main_quit or CORBA_ORB_shutdown).
5356 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5357 Unref the listener when this method is called, after
5358 deregistration. Updated the API docs to note this behavior.
5360 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5361 Bugfixes: Ref the bonobo object when returning a parent or child
5362 reference, or an AccessibleRelation. Generally made sure
5363 BonoboObject refcount is incremented whenever we return an
5366 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5367 Fixed typo/bug in signal declaration.
5369 * libspi/accessibleeventlistener.h:
5372 * libspi/application.c (spi_application_new):
5373 Fixed leak in initialization.
5376 Remembered to increment bonobo-object refcount when returning
5377 children (applications) from desktop object.
5378 Added (empty) finalize method.
5380 * libspi/deviceeventcontroller.c:
5381 Hold a ref to listeners inside DEControllerKeyListeners.
5382 Added dec_key_listener_free() method. Use prepend instead of
5383 append in key_listener list. Fixed some refcount madness and
5384 leaks in the listener registration/deregistration - deregistration
5385 now calls dec_key_listener_free() on listeners, and on the
5386 temporarily constructed dec_key_listener() used to perform the search/match.
5388 * libspi/hypertext.c (spi_hypertest_finalize):
5389 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5390 class. Also fixed spi_hypertext_interface_new() and
5391 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5393 * libspi/hypertext.h:
5394 Removed pointless and duplicate AtkObject pointer from
5397 * libspi/keystrokelistener.c:
5398 Fixed incorrect type of keystroke_listener_parent_class,
5399 renamed keystroke_listener_object_finalize to
5400 spi_keystroke_listener_object_finalize.
5401 Fixed typo in signal declaration
5402 (spi_keystroke_listener_class_init).
5404 * libspi/registry.c:
5405 Added funcsions spi_listener_struct_new() and
5406 spi_listener_struct_free() to help with memory management issues.
5407 We also now use these methods instead of gnew + poking stuff into
5408 the struct, and to decrement listener counts/free the listeners
5409 when deregistering them.
5410 Fix more refcount bugs in getDesktop() and
5411 getDeviceEventController().
5414 De-ref the desktop after enumerating the applications. Explicitly
5415 decrement the refcounts on the created listeners on exit (using
5416 _unref for keystroke listeners, and via the
5417 deregisterGlobalEventListenerAll command for other event
5420 2001-11-27 Michael Meeks <michael@ximian.com>
5422 * cspi/spi-listener.h: fixup enum.
5424 2001-11-27 Michael Meeks <michael@ximian.com>
5426 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5427 (cspi_keystroke_listener_new): Use the cspi variants.
5429 2001-11-26 Michael Meeks <michael@ximian.com>
5431 * test/keysynth-demo.c: fix 2 compile warnings, missing
5434 * test/simple-at.c (report_focussed_accessible),
5435 (report_focus_event, report_button_press),
5436 (check_property_change, is_command_key),
5437 (report_ordinary_key_event, report_command_key_event): upd.
5439 * util/mag_client.h: include pre-requisites.
5441 * libspi/accessibleeventlistener.c
5442 (spi_event_listener_object_finalize): free any lingering
5445 * libspi/keystrokelistener.c
5446 (keystroke_listener_object_finalize): ditto.
5448 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5449 callbacks, with cspi types.
5451 * cspi/spi_event.c (createAccessibleEventListener): chain to
5452 (AccessibleEventListener_addCallback): here.
5453 (createAccessibleKeystrokeListener): chain to
5454 (AccessibleKeystrokeListener_addCallback): here.
5456 * libspi/keystrokelistener.c
5457 (spi_keystroke_listener_class_init): add signal.
5458 (impl_key_event): emit the event.
5459 (boolean_handled_accumulator): impl.
5460 (marshal_BOOLEAN__POINTER): add, gack.
5462 * libspi/accessibleeventlistener.c
5463 (spi_event_listener_class_init): add signal.
5464 (impl_accessible_event_notify_event): emit the signal &
5465 make the loop efficient.
5466 (spi_event_listener_add_callback): prepend the callback.
5468 * libspi/accessibleeventlistener.h: add an 'event' signal,
5469 decl type on callback.
5471 * libspi/keystrokelistener.h: ditto.
5473 * cspi/spi-listener.h: make methods typesafe and
5474 make them use the new event typedefs.
5476 * test/simple-at.c (report_focussed_accessible):
5477 include mag_client.h
5478 Use *(void *)text_interface not the other thing.
5480 * configure.in: add gtk to registryd bits - since we use
5483 * util/magnifier.c: include libbonobo.h
5485 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5487 * test/keysynth-demo.c:
5488 Turned this into a simple scanning keyboard, to demonstrate the
5489 use of g_timeout_add () as a means of creating timers for
5490 scanning, and the use of GtkStyle for visually indicating when
5491 virtual keyboard elements are selected.
5493 keysynth-demo now listens to any keyboard keys with zero-valued
5494 keycodes (i.e. 'unused' keys) and interprets them as
5497 Reworked the shiftlatch code so that shift-down state isn't held
5498 for long periods (it's only synthesized immediately prior to
5499 the keysynth event it's modifying). Note that shiftlatch in this
5500 demo is a convenience, not intended to take the place of AccessX
5501 which is the better choice for getting 'sticky' modifier keys.
5503 * libspi/deviceeventcontroller.c:
5504 * at-bridge/bridge.c:
5505 * cspi/spi_registry.c:
5506 Removed some debug print stuff, and put other verbosity in #ifdef
5511 Implemented some more of the magnifier IDL for the simple
5512 magnifier: namely, getZoomRegionParams.
5513 Added mag_x and mag_y members to MagnifierData struct, aid of this
5515 Added GtkWindow::realize signal handler to magnifier, to keep it
5516 from receiving keyboard focus from the WM.
5518 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5520 * cspi/spi-private.h: my guess at what michael forgot
5521 before he ran off to NZ :-)
5523 2001-11-23 Michael Meeks <michael@ximian.com>
5525 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5526 comment out non existant method invoke so we link.
5528 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5529 use bonobo_exception_get_text for more friendly warnings.
5531 * cspi/spi.c (Obj_Add): move into spi_main & rename
5532 spi_object_add; kill spi.c
5534 * cspi/spi_registry.c
5535 (deregisterGlobalEventListener),
5536 (deregisterGlobalEventListenerAll),
5537 (registerGlobalEventListener): fix exception leaks.
5539 * cspi/spi_main.c (spi_exception): impl. helper, so we
5540 don't leak exceptions.
5542 * cspi/spi_selection.c
5543 (AccessibleSelection_deselectSelectedChild): return the
5546 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5547 (spi_registry): ditto.
5548 (SPI_init): guard against double inits.
5550 * cspi/*.c: use spi_ev (), and spi_registry () where
5551 appropriate - a temporary hack until we have something
5552 better. Use spi_object_add
5554 2001-11-22 Michael Meeks <michael@ximian.com>
5556 * cspi/Makefile.am: re organise, install the headers.
5558 * cspi/*.h: add G_BEGIN/END_DECLS
5560 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5563 Added non-preemptive keylistener for key events with no modifiers
5564 and shift-only modifier.
5566 * libspi/keystrokelistener.c:
5567 Removed some verbose diagnostics printout.
5569 * cspi/spi_registry.c:
5570 Fixed a bug that caused all key listeners to be registered as
5573 * libspi/deviceeventcontroller.c:
5574 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5575 for non-preemptive key masks.
5578 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5580 * docs/reference/idl/at-spi-idl-docs.sgml:
5581 * docs/reference/idl/at-spi-idl-sections.txt:
5582 * docs/reference/idl/at-spi-idl-overrides.txt:
5583 Added missing files.
5585 * docs/reference/Makefile.am:
5586 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5587 to scan the IDL files :-(
5592 Added .cvsignore files.
5594 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5596 * libspi/deviceeventcontroller.c:
5597 * libspi/keystrokelistener.c:
5599 * cspi/spi_registry.c:
5600 Added filters for KeySets, KeyEventSeq, and event types to key
5601 event dispatching, so listeners should only receive those events
5602 that they requested :-)
5604 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5609 * docs/reference:Makefile.am:
5610 * docs/reference/cspi:
5611 * docs/reference/cspi:Makefile.am:
5612 * docs/reference/cspi:tmpl:
5613 * docs/reference/cspi:tmpl:*.sgml:
5614 * docs/reference/idl:
5615 * docs/reference/idl:Makefile.am:
5616 * docs/reference/idl:at-spi-idl-sections.txt:
5617 * docs/reference/idl:at-spi-idl-docs.sgml:
5618 * docs/reference/idl:tmpl:
5619 * docs/reference/idl:tmpl:*.sgml:
5621 Restructured docs directory to allow separate 'reference' docs
5622 section, and forked idl and cspi docs. Added the sgml template
5623 files to CVS. Added the first sections/structural sgml for the
5626 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5628 * configure.in, libspi/Makefile.am: find libXtst.
5630 2001-11-21 Michael Meeks <michael@ximian.com>
5632 * test/accessx-gui.c: s/spi_value/value/ - doh.
5634 * libspi/base.[ch]: add.
5636 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5638 * idl/Accessible.idl:
5639 * idl/Application.idl:
5642 Started gtk-doc cleanup on IDL.
5644 * libspi/deviceeventcontroller.c:
5645 Added and connected non-preemptive key notification from the
5646 toolkits (in addition to the pre-emptive support from XServer
5647 which we had before, but which causes 'focus flashing'). Filters
5648 are presently limited to key modifiers and global/non-global,
5649 KeySets are presently ignored, as are KeyEvent masks.
5651 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5652 structs into the persistant structure rather than just storing
5653 pointers to things that might not persist across servant
5656 The XGrabKey call now does async keygrabs, because synchronous
5657 ones were deadlocking with GDK_event code in a very nasty way.
5659 Added boolean to internal method notify_keylisteners, to indicate
5660 whether the event came from the 'toolkit source' or the 'global
5661 (XServer) source' - this is used in the notification process to
5662 determine which listeners to send the event to.
5664 deviceeventcontroller.c is now warning-free.
5666 * libspi/registry.c:
5667 Fixed regression in application de-registration.
5668 Also fixed some really brain-dead weirdness having to do with
5669 event dispatching - event structs are now duplicated before being
5670 re-marshalled in the dispatch to listeners. This also fixes a
5671 Solaris build problem.
5674 2001-11-20 Michael Meeks <michael@ximian.com>
5677 (impl_accessibility_registry_deregister_global_event_listener):
5680 * libspi/deviceeventcontroller.c
5681 (spi_device_event_controller_check_key_event): return
5682 FALSE on no virtual method.
5684 * libspi/*..h: make includes work on a correctly pathed install.
5686 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5688 * libspi/application.h: kill unused ( and whacked out )
5689 gboolean *spi_application_set_id (AtkObject *app, long id);
5691 2001-11-20 Michael Meeks <michael@ximian.com>
5693 * libspi/*.[ch]: further convert to bonobo's type func
5694 macros, remove redundnant casts etc.
5696 * libspi/text.c s/accessibility_text/spi_text/g,
5697 re-order to de-cruft.
5699 * libspi/hypertext.c: re-order to kill a huge slew
5700 of redundant forward decls.
5702 * libspi/relation.c: ditto.
5704 * libspi/image.c: ditto.
5706 * */.cvsignore: update
5708 2001-11-20 Michael Meeks <michael@ximian.com>
5710 * libspi/deviceeventcontroller.c
5711 (_controller_register_with_devices): use g_getenv,
5712 kill stdlib.h include.
5714 * libspi/keystrokelistener.c
5715 (spi_keystroke_listener_get_type): kill
5716 (spi_keystroke_listener_class_init),
5717 (spi_keystroke_listener_init): rename to this.
5719 * libspi/text.c (impl_getAttributes): fix warning / bug.
5721 * libspi/*.[ch]: more headers, includes and over commenting.
5723 2001-11-20 Michael Meeks <michael@ximian.com>
5725 * libspi/*.[ch]: fixup headers, includes and over commenting.
5727 * libspi/image.c (impl__get_imageDescription): const
5728 correctness warning fix. remove redundant casting.
5730 * libspi/table.c (impl_getRowDescription): ditto.
5731 (impl_getColumnDescription): ditto.
5733 * libspi/libspi.h: add.
5735 2001-11-19 Michael Meeks <michael@ximian.com>
5737 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5739 * libspi/component.c (accessibility_component_get_type):
5740 rename to (spi_component_get_type): and macroify.
5741 (accessibility_component_init): rename to
5742 (spi_component_init): this
5743 (accessibility_component_class_init): rename to
5744 (spi_component_class_init): this
5746 * libspi/action.c (spi_action_get_type): kill, use the macro.
5748 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5751 * libspi/application.c (spi_application_object_event_listener),
5752 (impl_accessibility_application_register_object_event_listener):
5753 warning fixes / const understanding updates.
5755 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5758 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5760 * libspi/spi_accessible.c: Added docs and C bindings for
5761 AccessibleStateSet. (No implementations yet). Documentation
5762 coverage for C bindings now 100%. Made docs for event listeners
5767 boolean notifyListenersSync (in DeviceEventListener listener,
5768 in DeviceEvent event);
5770 oneway void notifyListenersAsync (in DeviceEventListener listener,
5771 in DeviceEvent event);
5773 Added DeviceEventListener and DeviceEvent structs (may deprecate
5774 KeyStroke and KeystrokeListener in favor of this generic
5775 event/listener framework for devices).
5777 * libspi/deviceeventcontroller.c:
5779 Changed some key listener code to take masks, etc., and paved the
5780 way for integration of toolkit/non-preemptive key events. Changed
5781 signatures of some internal methods.
5783 * at-bridge/bridge.c:
5784 Fixed regression connecting to interface signals, apparently
5785 caused by GTK+ changes.
5787 Added an internal bridge_state_listener to deal with
5788 property-change:accessible-state signals.
5790 Changed the key_listeners GList to store structs (including masks,
5791 etc.) instead of just CORBA_Objects (required for full
5792 implementation of key listener API).
5794 Connected the bridge to all currently supported Atk signals.
5795 Events now supported:
5796 object:property-change
5797 object:property-change:accessible-name
5798 object:property-change:accessible-state
5799 object:property-change:accessible-description
5800 object:property-change:accessible-parent
5801 object:property-change:accessible-value
5802 object:property-change:accessible-role
5803 object:property-change:accessible-table-caption
5804 object:property-change:accessible-table-column-description
5805 object:property-change:accessible-table-column-header
5806 object:property-change:accessible-table-row-description
5807 object:property-change:accessible-table-row-header
5808 object:property-change:accessible-table-summary
5809 object:children-changed
5810 object:visible-data-changed
5811 object:selection-changed
5812 object:text-selection-changed
5814 object:text-caret-moved
5816 object:row-reordered
5818 object:column-inserted
5819 object:column-reordered
5820 object:column-deleted
5821 object:model-changed
5823 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5825 * libspi/hyperlink.c,h:
5826 Fixed some broken stuff in hyperlink.
5828 * libspi/relation.h:
5829 * libspi/relation.c:
5830 * cspi/spi_accessible.c:
5831 Initial implementations of AccessibleRelation methods, and docs.
5833 * libspi/accessible.c:
5834 Fixed a bug that caused SEGV if an accessible
5835 object's description is NULL, and a client
5836 requests it. An empty string is now returned.
5838 * cspi/spi_editabletext.c:
5839 * cspi/spi_hypertext.c:
5841 * cspi/spi_hyperlink.c:
5845 Doc coverage now 95%.
5847 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5849 One last namespacing revision:
5850 * libspi/accessibleeventlistener.[ch]:
5851 Renamed SpiAccessibleEventListener to SpiEventListener,
5852 (no need for two namespaces ;-)
5854 And lots of documentation fixes:
5856 * docs/at-spi-docs.sgml:
5857 Fixed 'underscore vs. hyphen' bug that was preventing
5858 the gtk-doc API docs from being automatically generated.
5861 * cspi/spi-listener.h
5863 * cspi/spi_accessible.c
5865 * cspi/spi_application.c
5866 * cspi/spi_component.c
5867 * cspi/spi_editabletext.c
5869 * cspi/spi_hypertext.c
5871 * cspi/spi_registry.c
5872 * cspi/spi_selection.c
5876 * docs/at-spi-docs.sgml
5877 * docs/at-spi-sections.txt
5879 Added and fixed up gtk-doc documentation in cspi.
5881 Interfaces now (fully) documented (subject to revision and enhancement):
5883 Event Listener Support
5885 AccessibleApplication
5889 AccessibleEditableText
5896 AccessibleRelationSet
5901 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5903 * at-bridge/bridge.c:
5904 Initial work for toolkit-level key snooper connection by bridge.
5909 New typedefs and fixes to support new namespacing, and cleaner
5910 separation of cspi bindings from libspi bonobo implementation.
5911 Removed inconsistent and extraneous Spi* namespace prefix that
5912 had crept into cspi headers.
5913 Lots of comment fixes that sed had missed.
5915 * cspi/spi-roletypes.h:
5916 * cspi/spi-statetypes.h:
5917 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5918 to AccessibleRoleType.
5920 * libspi/accessibleeventlistener.h:
5921 Fixed minor namespacing weirdness.
5923 * libspi/deviceeventcontroller.c:
5924 Reordered some internal API for device listeners.
5925 Changed the key registry final boolean to 'is_system_global'
5926 rather than 'is_synchronous', which is more descriptive of its
5928 Added spi_device_event_controller_new().
5929 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5931 * libspi/keystrokelistener.[ch]:
5932 Namespaced KeystrokeListener to SpiKeystrokeListener.
5933 Changed uses of keymasks to use SPI_ prefix, and did other
5936 * libspi/keymasks.h:
5937 Namespaced keymask constants with SPI_ prefix.
5939 * libspi/registry.c:
5940 Some warning fixes, and knock-on fixes from namespace changes.
5943 Added rules for accessx-gui test program.
5945 * test/accessx-gui.c:
5946 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5947 utility. It doesn't actually use at-spi, but it's still cool and
5950 * test/keysynth-demo.c:
5954 Fixes so that these test clients work properly with the namespaced
5955 libraries. (Incompletely tested for technical reasons, fixes may follow)
5958 2001-11-13 Michael Meeks <michael@ximian.com>
5960 * libspi/application.c
5961 (impl_accessibility_application_get_version),
5962 (impl_accessibility_application_get_toolkit_name):
5964 (impl_accessibility_application_set_id),
5965 (impl_accessibility_application_get_id): remove
5966 redundant casting code.
5968 * libspi/action.c (impl_getDescription): fix warnings.
5970 * libspi/accessible.c
5971 (impl_accessibility_accessible_get_parent),
5972 (impl_accessibility_accessible_get_child_at_index),
5973 (impl_accessibility_accessible_get_state),
5974 (impl_accessibility_accessible_get_relation_set):
5975 warning fixes & include action.h
5977 2001-11-13 Michael Meeks <michael@ximian.com>
5979 * *.[ch] fix bits I screwed up:
5981 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5982 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5984 2001-11-13 Michael Meeks <michael@ximian.com>
5986 * *.[ch] Namespace libspi into spi_ and Spi.
5988 2001-13-11 Michael Meeks <michael@ximian.com>
5990 * Makefile.am: dist & install at-spi-1.0.pc
5992 * libspi/Makefile.am: install into at-spi-1.0
5994 * idl/Makefile.am (idldir): install into at-spi-1.0
5996 * at-spi-1.0.pc.in: add.
5998 * configure.in: build it.
6000 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6002 * test/keysynth-demo.c:
6003 Use a 'realize' signal-handler to set the WM properties for
6004 the virtual keyboard, rather than making it a "POPUP" type
6005 override-redirect window (thanks to anders carlsson for that
6008 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6011 * test/keysynth-demo.c:
6012 Added new test of key synthesis, which creates a simple
6013 (mouse-operated) onscreen keyboard. It inserts key events into
6014 the currently-focused window, thus it does not grab keyboard focus
6017 * cspi/spi_registry.c:
6018 Added C binding for AT-SPI generateKeyEvent.
6020 * libspi/deviceeventcontroller.c:
6021 Added call to XFilterEvent so that key listener works with XIM (we
6022 hope). Added event_synth_type to generateKeyEvent, so that we can
6023 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6024 synthesize a press/release pair for KeySyms.
6026 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6028 * libspi/Makefile.am:
6029 * registryd/Makefile.am:
6030 (temporary) hack to include libXtst in libspi and registryd.
6031 (Needed for keystroke synthesis, see below).
6034 Improved API for registerKeystrokeListener, in accordance with
6035 discussions with Gnopernicus team and X server research.
6037 * libspi/registry.c:
6038 * libspi/deviceeventcontroller.c:
6039 * libspi/accessible.c:
6040 * libspi/keystrokelistener.c:
6041 Changes and fixes to support keylisteners for potentially
6042 consumed key events (that is, 'passive grabs').
6043 Added implementation for generateKeyEvent() [untested].
6046 Changes to registerKeystrokeListener() API, as above.
6047 Added deregisterGlobalEventListenerAll(), and
6048 deregisterKeystrokeListener(), which are needed for clean exit of
6050 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6051 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6053 * cspi/spi_registry.c:
6054 Added implementations of function prototypes mentioned above.
6056 * registryd/registryd.c:
6057 Added the key listener event source as a g_timeout(), to allow
6058 receipt of key events that are not caught by GDK (since GDK
6059 doesn't support passive keygrabs, this was necessary).
6062 Changed to attach a keylistener to 'Alt' keys, and
6063 respond to the following keycommands: Alt-M (toggle magnifier);
6064 Alt-F (toggle speech); Alt-Q (quit).
6065 Added an exit routine to deregister the listeners, and a key
6066 listener that prints some key info to the console when a key
6067 matches the listener mask (and is thus received by the listener).
6069 * util/idl/Magnifier.idl:
6070 Changes to magnifier API to support multiple zoom regions,
6071 non-uniform scaling in x and y, markDirty, and a host of other
6072 features that would be useful to magnification.
6075 * util/mag_client.c:
6076 * util/mag_client.h:
6077 * util/mag_control.c:
6079 Source code changes to support the above IDL changes.
6082 As above, and also changes to use a (slower) generic conversion
6083 path for colormap conversions, since the fast RGB conversions have been
6084 reported to fail for 16-bit displays.
6086 2001-10-26 Michael Meeks <michael@ximian.com>
6088 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6090 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6092 * at-bridge/Makefile.am: fix LDFLAGS.
6094 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6096 * at-bridge/bridge.c:
6097 Re-worked listeners for toolkit events, now we have signal
6098 and property listeners. Added a private method
6099 register_atk_event_listeners(), which registers with the
6100 various atk and gtk signals we need to monitor in order to emit
6102 Added emission hook for AtkObject:property-change events, to
6103 support the 'property listeners'.
6104 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6107 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6108 which emit warnings and exit, respectively, if CORBA errors occur
6109 during remote calls, and we now use these methods to check most of
6110 our CORBA calls in the C bindings.
6112 * cspi/spi_accessible.c:
6113 Changed AccessibleSelection_refSelectedChild() to
6114 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6115 now increment refcounts.
6117 * cspi/spi_component.c:
6118 Fixed some long pointer casts (dangerous!) to pass pointers to
6119 CORBA_longs of the proper type to the CORBA stubs, and copy the
6120 data into the longs that were passed into the C bindings code.
6122 * at-bridge/bridge.c:
6124 * libspi/accessible.c:
6125 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6126 hyperlinks, AtkHyperlink is an object type.
6128 * libspi/application.c:
6129 Added various conversions to and from "generic" event types and
6130 atk-specific types; this is really part of the 'bridge'
6131 implementation but is valid for all AtkObject-based accessibility
6134 * libspi/editabletext.c:
6135 Fixed nasty bug wherein editable text's finalize method was
6136 unref'ing tha AtkObject reference that the text parent class was
6137 about to unref _again_. There was also a nasty inheritance bug
6138 that meant that the AccessibleEditableText class was corrupt.
6140 * libspi/selection.c:
6141 Provided implementations for some selection API that was broken.
6143 * idl/Application.idl:
6144 Added registerObjectEventListener () method.
6147 Fixed a number of return values that were Bonobo_Unknowns from
6148 bonobo_object_corba_objref(), which I
6149 forgot to dup before returning. Changed instances of
6150 bonobo_object_corba_objref (bonobo_object(o)) to
6151 BONOBO_OBJREF(o), for concision and clarity.
6153 2001-10-13 Louise Miller <louise.miller@sun.com>
6155 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6156 idl/Event.idl, idl/Registry.idl
6157 Changed these files to include Bonobo_Unknown.idl instead
6160 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6162 * libspi/component.c libspi/component.h:
6163 Fixed typo. Added assertions for object checks in
6164 AccessibleComponent code.
6166 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6168 * idl/Accessible.idl:
6169 Added 'isEqual (Accessible *object)'
6170 method for Accessible. (Not Yet Implemented).
6173 Changed signature of registerKeystrokeListener() to
6174 take a KeySet and KeyEventSeq so that specific keys and event
6175 types could be requested for monitoring, and added a flag
6176 is_synchronous so that either synchronous or asynchronous
6177 notification could be requested. (However this is not all
6178 implemented yet). This also meant adding two new typedefs,
6179 KeyEventSeq and KeySet.
6182 Added two new relations, RELATION_TOOLTIP_FOR and
6183 RELATION_LEAFNODE_OF.
6186 Added new state, STATE_HAS_TOOLTIP.
6188 * libspi/text.c, editabletext.c:
6189 Added new assertions to all casts of bonobo-objects from
6190 CORBA servants, to prevent Text API calls on non-text objects.
6191 Changed suspect casts of int-pointer types, so that we
6192 always send a valid CORBA_long pointer to the CORBA APIs that use
6193 in/out long parameters. We then have to copy from the CORBA_long
6194 into the regular long or int for return to the C bindings, or
6195 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6198 * libspi/deviceeventcontroller.c:
6199 Cleaned these sources up.
6201 Changed return type for getCharacterAtOffset to
6202 CORBA_unsigned_long, to allow for 32-bit characters.
6205 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6209 Fixed 'make dist' so that distro compiles...
6210 * libspi/keymasks.h:
6212 * cspi/spi-listener.c:
6213 KeystrokeListenerCB now returns a boolean.
6215 Added KeyEventType struct, and KeyStroke.
6216 Also added createKeystrokeListener(),
6217 KeystrokeListener_addCallback(),
6218 KeystrokeListener_removeCallback(), and added a keymask to
6219 registerKeystrokeListener().
6220 * cspi/spi_accessible.c:
6221 Changed numerous return types for interfaces from
6222 AccessibleComponent to Accessible<InterfaceName>; this was
6223 probably a cut-and-paste error.
6225 Implementations of new KeystrokeListener api (from spi.h,
6228 Changes to key modifier mapping.
6229 Created ControllerEventMask struct.
6230 Made DeviceEventController derive from Bonobo::Unknown.
6232 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6233 * libspi/deviceeventcontroller.c:
6234 Added a number of new internal (private) methods.
6235 * libspi/editabletext.c:
6236 * libspi/editabletext.h:
6237 Fixed a number of bugs related to the fact that
6238 editabletext inherits from text. Fixed the EditableText struct,
6239 the init() call, and use correct casts when calling Text methods
6240 from an EditableText object. Removed (duplicate) atko from the
6241 EditableText structure, we use the one in the parent Text
6242 structure via the casts mentioned above.
6243 * libspi/keystrokelistener.[ch]:
6244 * libspi/registry.c:
6245 Changes in support of keyboard handling (above).
6247 Keyboard handling, though partly functional, is still not
6248 recommended for at-spi client use as there is considerable
6249 work yet to be done.
6252 Changed some places where pointers to various int types
6253 are cast to be pointers to CORBA_long types and vice-versa:
6254 pointer casting is not safe so we pass pointers of the correct
6255 types and then cast the result before putting it into the target
6258 * libspi/text.h: minor typos corrected.
6260 We now speak not only the name of a Text element, but the
6261 first sentence of its content, when it receives focus.
6262 I also changed the text compression to 75% from 50%.
6263 * util/Accessibility_Util.server.in:
6264 Changed the default magnifier type to be a 3x vertical
6265 splitscreen magnifier (was previously a 2x horizontal one).
6267 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6269 * libspi/keystrokelistener.h:
6270 * libspi/keystrokelistener.c:
6271 Initial functional implementations of KeystrokeListener.
6274 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6276 Fixed string handling for NULL strings in libspi.
6277 Added spi_freeString to free strings returned by C bindings.
6279 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6281 * libspi/keystrokelistener.h:
6282 * libspi/keystrokelistener.c:
6283 Began (no-op) implementations of KeystrokeListener
6285 * libspi/deviceeventcontroller.c:
6286 * libspi/deviceeventcontroller.h:
6287 Began creating implementations of DeviceEventController,
6288 to handle keystroke and mouse event listening and
6290 * libspi/accessible.c:
6291 Stubbed-in the implementations for
6292 Accessibility_Accessible_getState and
6293 Accessibility_Accessible_getRelationSet.
6294 * libspi/registry.c:
6295 Improved de-registration process and fixed some bugs,
6296 deregistration now works correctly.
6298 Added initialization of applications list (to NULL).
6300 Reduced speech compression from 0.5 to 0.7, for demo.
6301 Changed call to gdk_window_set_decorations()
6302 to gtk_window_set_decorated().
6303 * at-bridge/bridge.c:
6304 Bridge now deregisters when app exits, via
6305 registration of a cleanup function
6306 with the g_atexit() call.
6307 Required making 'app' static, renamed 'this_app'.
6308 Fixed broken use of bonobo_init, passing argv wrongly.
6310 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6314 Created a new directory for
6315 accessibility-related utilities, primarily for
6316 testing and demo purposes, but with possible
6323 Onscreen magnifier utility that
6324 is implemented as a bonobo service.
6326 * util/mag_client.c:
6327 * util/mag_client.h:
6328 Client-side support (simple C bindings)
6329 for Magnification service
6331 * util/mag_control.c:
6332 Client program example for
6333 Magnification service
6335 * util/Accessibility_Magnifier.server.in:
6336 Bonobo-activation file for the
6337 Magnification service.
6340 * util/idl/Magnifier.idl:
6341 IDL defining the bonobo Magnification
6345 Modifications to use the bonobo-activated magnifier
6346 above, in place of trying to connect to an existing
6347 magnifier that uses socket-listening IPC.
6349 If env variable MAGNIFIER is set, a magnifier service
6350 will be started if one does not exist.
6352 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6354 * at-bridge/bridge.c:
6355 applied patch from Marc to build and run
6356 against new glib and gtk+ (seemed like a change
6357 to bonobo_init signature was made ?)
6359 made festival-server support turned off by default.
6360 Added support for a simple magnifier (off by default)
6361 which will be added to a 'util' directory later.
6362 * at-bridge/Makefile.am:
6363 Changed "application.h" header from a 'source'
6364 to a 'dependency' of libat-bridge.
6366 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6375 Added interface implementation c files to list of
6376 includes so they are included in libcspi.
6379 Changed prototype of AccessibleAction_doAction to return a
6381 Changed prototype of AccessibleTable_getCaption to
6382 return an Accessible.
6383 Changed prototype of AccessibleTable_getSelectedRows
6384 and AccessibleTable_getSelectedColumns to
6385 return a long (returns the number of selected rows
6386 or columns respectively).
6387 Changed name of AccessibleText_refRunAttributes to
6388 AccessibleText_getAttributes.
6389 Changed prototype of AccessibleText_getCharacterExtents to
6390 return a void rather than a boolean.
6391 Added support for a AccessibleCoordType parameter
6392 specifying what type of coordinates are desired.
6393 Added an AccessibleCordType parameter to
6394 AccessibleText_getPointAtOffset.
6396 * cspi/spi_accessible.c:
6397 Added code to return the outstanding interfaces from
6398 Accessible_queryInterface.
6400 * cspi/spi_action.c:
6402 Corrected call to getNActions to call the c binding
6405 * cspi/spi_editabletext.c:
6407 Changed name from setRunAttributes to setAttributes.
6409 * cspi/spi_hyperlink.c:
6411 Changed call to getNAnchors to correctly call the c
6412 binding for an attribute.
6414 * cspi/spi_hypertext.c:
6416 Changed getImageDescription to correctly call the
6417 binding for an attribute.
6419 * cspi/spi_selection.c:
6420 Changed getNSelectedChildren to correctly call the c
6421 binding for the attribute.
6422 Changed refSelectedChild to getSelectedChild.
6426 Changed getCaption to return an Accessible.
6427 Fixed calls which retrieve attributes.
6428 Changed refAt to getAccessibleAt.
6429 Changed getNSelectedRows and getNSelectedColumns to
6433 Changed getCharacterExtents and getPointAtOffset to accept an
6434 AccessibleCoordType.
6436 Changed calls which retrieve attributes.
6437 Changed refRunAttributes to getAttributes.
6442 * idl/Hyperlink.idl:
6443 Changed n_anchors attribute to nAnchors to keep naming
6444 convention consistent.
6447 Made Table inherit from Bonobo::Unknown.
6448 Added nSelectedColumns and nSelectedRows attributes.
6451 Made Value inherit from Bonobo::Unknown.
6453 * libspi/hyperlink.c:
6454 Change for nAnchors attributte name change.
6456 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6464 Added interface implementation c files to list of
6465 includes so they are included in libcspi.
6468 Changed prototype of AccessibleAction_doAction to return a
6470 Changed prototype of AccessibleTable_getCaption to
6471 return an Accessible.
6472 Changed prototype of AccessibleTable_getSelectedRows
6473 and AccessibleTable_getSelectedColumns to
6474 return a long (returns the number of selected rows
6475 or columns respectively).
6476 Changed name of AccessibleText_refRunAttributes to
6477 AccessibleText_getAttributes.
6478 Changed prototype of AccessibleText_getCharacterExtents to
6479 return a void rather than a boolean.
6480 Added support for a AccessibleCoordType parameter
6481 specifying what type of coordinates are desired.
6482 Added an AccessibleCordType parameter to
6483 AccessibleText_getPointAtOffset.
6485 * cspi/spi_accessible.c:
6486 Added code to return the outstanding interfaces from
6487 Accessible_queryInterface.
6489 * cspi/spi_action.c:
6491 Corrected call to getNActions to call the c binding
6494 * cspi/spi_editabletext.c:
6496 Changed name from setRunAttributes to setAttributes.
6498 * cspi/spi_hyperlink.c:
6500 Changed call to getNAnchors to correctly call the c
6501 binding for an attribute.
6503 * cspi/spi_hypertext.c:
6505 Changed getImageDescription to correctly call the
6506 binding for an attribute.
6508 * cspi/spi_selection.c:
6509 Changed getNSelectedChildren to correctly call the c
6510 binding for the attribute.
6511 Changed refSelectedChild to getSelectedChild.
6515 Changed getCaption to return an Accessible.
6516 Fixed calls which retrieve attributes.
6517 Changed refAt to getAccessibleAt.
6518 Changed getNSelectedRows and getNSelectedColumns to
6522 Changed getCharacterExtents and getPointAtOffset to accept an
6523 AccessibleCoordType.
6525 Changed calls which retrieve attributes.
6526 Changed refRunAttributes to getAttributes.
6531 * idl/Hyperlink.idl:
6532 Changed n_anchors attribute to nAnchors to keep naming
6533 convention consistent.
6536 Made Table inherit from Bonobo::Unknown.
6537 Added nSelectedColumns and nSelectedRows attributes.
6540 Made Value inherit from Bonobo::Unknown.
6542 * libspi/hyperlink.c:
6543 Change for nAnchors attributte name change.
6546 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6548 implementations-- made server implementations own AtkObject pointers
6549 rather than their respective AtkInterrface pointers to fix
6550 refcounting. AtkHyperlink is still broken.
6552 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6553 * cspi/spi_accessible.c:
6554 Added method Accessible_Role_getName(),
6555 and requisite string array (role_names).
6556 Added conversion string_from_corba_strin() call
6557 to Accessible_getName and _getDescription.
6558 * libspi/accessible.c:
6559 Added implementation for Accessible_getRole()
6561 Added festival support, used if environment variable
6564 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6566 * at-bridge/bridge.c:
6567 Now allocate Accessibility_Event using
6568 Accessibility_Event__alloc() instead of g_new0().
6569 * libspi/accessibleeventlistener.c:
6570 Initialize AccessibleEventListener->callbacks to NULL.
6571 Fixed accessible__event_listener_init() param, changed to
6572 "AccessibleEventListener *" type.
6573 Changed a bonobo_object_release_unref() call to
6574 Accessibility_Accessible_unref().
6575 * libspi/listener.c:
6576 Changed Bonobo_Unknown_unref to (equivalent)
6577 Accessibility_Accessible_unref.
6578 * libspi/registry.c:
6579 Changed bonobo_object_release_unref to
6580 Accessibility_Accessible_unref.
6582 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6585 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6586 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6587 spi-util.c spi-util.h
6588 Implementations for C bindings to remaining accessibility
6591 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6594 changed return value of Action from void to boolean to
6595 bring in line with ATK.
6598 Changed getText funcions to return "out" start and end offsets.
6599 Changed getAttributes to take and offset and return the start
6600 and end offset of the attribute run.
6601 Changed getOffsetAtPoint and getCharacterExtents to take an
6602 enum describing whether coordinates are window or screen.
6605 libspi/action.c libspi/action.h libspi/editabletext.c
6606 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6607 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6608 libspi/image.h libspi/selection.c libspi/selection.h
6609 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6610 libspi/value.c libspi/value.h
6611 Added server implementations for outstanding ATK interfaces
6612 not yet implemented.
6614 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6617 Added (missing) getName() method.
6618 Made nActions an attribute.
6619 * idl/EditableText.idl:
6620 Changed order of params in setAttributes.
6621 * idl/Hyperlink.idl:
6622 Removed getAnchor, added getURI.
6624 Changed attributes to methods, for efficiency
6625 (so that getting extents can be done in one call)
6626 * idl/Selection.idl:
6627 Changed nSelectedChildren to attribute, and re-indented.
6628 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6630 * idl/Text.idl: reformatted to match our coding style.
6631 (temporarily?) removed getRowColumnAtOffset().
6632 Changed text selection API to support multi-select and
6633 non-contiguous selections, as in ATK.
6634 * idl/Value.idl: changed some methods to attributes.
6636 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6638 * libspi/listener.c(impl_notify_event):
6639 BonoboUnkown_unref the source instead
6640 of bonobo_object_release_unref - the ORB
6641 handles the releasing.
6643 * configure.in: require ORBit-2.3.94 for
6646 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6648 Tagged CVS repository 'EA_1_0'.
6649 * README.EARLY_ACCESS:
6650 Alphabetized acknowledgements list, and
6652 Listed some known dependencies of at-spi.
6654 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6656 * docs/at-spi-docs.sgml:
6657 * docs/at-spi-sections.txt:
6658 * docs/at-spi-overrides.txt: (Added zero-length file)
6659 Documentation improvements - gtk-doc should build
6660 docs for all implemented C bindings now.
6663 * cspi/spi.c: (New file)
6664 * cspi/spi_event.c: (New file)
6665 * cspi/spi_registry.c: (New file)
6666 * cspi/spi_accessible.c: (New file)
6667 * cspi/spi_application.c: (New file)
6668 * cspi/spi_component.c: (New file)
6669 Split spi_main.c into six parts, and included them from
6670 "spi.c". This is a bit of a hack, probably temporary,
6671 but required by gtk-doc, apparently.
6673 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6676 * docs/at-spi-docs.sgml:
6677 * docs/at-spi-sections.txt:
6679 Initial checkins/modifications for gtk-doc generation.
6682 Added (missing) interface query methods to Accessible's C binding.
6684 Added GenericInterface type definition.
6686 Added query for AccessibleComponent interface to focus event handler.
6687 Added printout of bounding box for focussed component.
6688 * libspi/component.c:
6689 Added partial implementation for AccessibleComponent to C binding.
6690 * idl/Application.idl:
6691 * libspi/registry.c:
6692 * libspi/listener.c:
6693 * libspi/application.c:
6694 * libspi/application.h:
6695 Changed "ID" attribute type from string to long.
6697 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6701 Made method naming consistent: methods taking object args
6702 start with uppercase, other methods (except those using
6703 acronyms) start with lowercase. Underscores delimit between
6704 object names and method names:
6705 SPI_init() - uppercase since it starts with an acronym.
6706 getDesktopCount () - lowercase start since no object param0.
6707 Accessible_getName() - uppercase object type name, studlyCaps method
6711 Added gtk-doc documentation for all currently implemented
6712 methods in the C bindings API.
6714 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6716 * Makefile.am : changed build order to build test last.
6719 Changed "createEventListener" to "CreateEventListener".
6720 * libspi/accessibleeventlistener.c :
6721 Bugfix for addition of callbacks.
6722 * test/Makefile.am :
6723 * test/simple-at.c :
6724 Added new test that uses the C bindings API.
6726 * libspi/listener.c :
6727 * libspi/registry.c :
6728 * libspi/accessibleeventlistener.c :
6729 * at-bridge/bridge.c :
6730 Renamed member "target" of Accessibility_Event to "source",
6731 which is more descriptive.
6734 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6738 * cspi/Makefile.am :
6739 Added makefile support for at-spi/cspi directory.
6742 * cspi/spi-listener.h : (NEW FILE)
6743 Added support for/use of spi-listener.h.
6745 C bindings now build successfully, with no warnings.
6746 * libspi/accessibleeventlistener.h : (NEW FILE)
6747 * libspi/accessibleeventlistener.c : (NEW FILE)
6748 * libspi/Makefile.am :
6749 Added new object type "AccessibleEventListener"
6750 which inherits from Listener, and allows attachment
6751 of in-process callbacks (so that a client with a listening
6752 object instance can add functionality to the local
6753 implementation, dynamically).
6755 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6757 * libspi/accessible.c:
6758 Add implementation for get_index_in_parent().
6760 Added #include of "spi-roletypes.h", and
6761 added enumerated type AccessibleCoordType.
6762 Added definition for KeystrokeListener (function type).
6765 * cspi/spi-statetypes.h :
6766 * cspi/spi-roletypes.h :
6768 Added these headers, used by spi.h.
6770 Added code (NOTE: not yet built by make).
6772 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6774 * libspi/Makefile.am: generate imodule
6775 at the same time as other idl compiler
6778 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6779 * libspi/registry.c :
6780 * libspi/application.c :
6781 * idl/Application.idl :
6782 Made registration with toolkit an application method,
6783 which is required since each app has its own toolkit static
6784 environment. Thus the bridge must register for
6785 notification of toolkit events from each application in turn.
6786 Toolkit notifications are now successfully registered for, and
6787 sent to the listening at client.
6789 Changed toolkit event string to use hyphens rather than underscores.
6790 * libspi/listener.c :
6791 listner now gives more info in debug mode - it reports the
6792 name of the event received, as well as the name of the source.
6795 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6797 * libspi/registry.c :
6798 added more implementation for toolkit events.
6799 Fixed bug such that toolkit event registrations
6800 (via atk) use the whole event name string, not
6802 Removed a useless call to an ORBit_ method.
6803 * at-bridge/bridge.c :
6804 Removed unused local sbuf[] variable.
6806 We now register for Gtk:GtkWidget:button_press_event
6807 events as well as "focus:" events.
6809 Add some more API from Registry.idl that was missing,
6810 for keystroke listening, keystroke and mouse event
6811 synthesis, and enumeration of accessible desktops.
6813 2001-08-16 Michael Meeks <michael@ximian.com>
6815 * configure.in: use AM_GLIB_GNU_GETTEXT.
6817 * Makefile.am (SUBDIRS): kill intl.
6819 2001-08-15 Michael Meeks <michael@ximian.com>
6821 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6823 * configure.in: upd.
6825 * configure.in: depend on a recent bonobo-activation that
6826 will find our server files ...
6828 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6830 * libspi/accessible.c : accessible_new() :
6831 Now we add the Component interface via bonobo_object_add_interface,
6832 if the contained AtkObject implements AtkComponent.
6833 * libspi/accessible.h : now include "component.h"
6834 * libspi/component.h :
6835 * libspi/component.c : added files - implementation of
6836 bonobo wrapper object for Accessibility/Component
6837 * libspi/listener.c :
6838 Added test code to check for Accessibility/Component:1.0
6839 interface and report whether it is implemented by the
6841 * libspi/registry.c :
6842 Now we check for not only the hash of the whole event
6843 string before relaying the event, we also check the
6844 "minor" event string (without the detail string).
6845 This allows event listeners to be registered against
6846 all events of a certain major+minor type, or just
6847 against a specific major+minor+detail type.
6848 * libspi/accessible.c :
6849 Added implementations for Accessible:get_parent(),
6850 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6851 * libspi/registry.c :
6852 * libspi/listener.c :
6853 Replaced calls to Accessibility_Accessible_ref() and
6854 Accessibility_Accessible_unref() with
6855 calls to bonobo_object_dup_ref() and
6856 bonobo_object_release_unref(), so that the CORBA object
6857 is dup-ed and released when relayed, as well as the bonobo object.
6859 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6861 * libspi/Makefile.am,
6862 registryd/Makefile.am,
6863 at-bridge/Makefile.am.
6864 test/Makefile.am, configure.in:
6865 reverse previous changes.
6867 * /idl/Image.idl: fix typo.
6869 * test/Makefile.am: put DEBUG_FLAGS
6872 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6874 * test/app.c: use argv[0] instead of
6877 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6879 * libspi/Makefile.am,
6880 registryd/Makefile.am,
6881 at-bridge/Makefile.am.
6882 test/Makefile.am, configure.in:
6883 cleanup, replace individual LIBS/CFLAGS with
6884 AT_COMMON_{LIBS|CFLAGS}.
6888 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6890 * configure.in, libspi/Makefile.am:
6891 Change IDL path checking for bonobo-activation
6894 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6896 * registryd/registry.c : separated event listeners to use
6897 3 separate lists (focus, window, toolkit). Began testing
6898 event names against hashes before relaying events.
6899 * test/at.c : now register for events of type "focus:"
6900 * test/app.c : now generate events of type "focus:"
6901 * at-bridge/bridge.c : register with ATK for focus events,
6902 and we now relay those focus events to any "focus:" listeners.
6903 This now works with the bridge as a GTK_MODULE when running test/at.
6904 * libspi/registry.c :
6905 * libspi/listener.c :
6906 now we ref event sources before propagating, and unref on receipt.
6907 * libspi/registry.c :
6908 some changes to internal structs, to support event typestring hashes.
6909 * text/app.c : changed the way the appname is generated.
6910 * cspi : added directory that will hold the C bindings library for
6911 non-CORBA/bonobo-savvy clients.
6912 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6913 * idl/Component.idl : added in parameter to indicate coord system for
6914 geometry-related calls.
6915 * idl/Hyperlink.idl : added readonly n_links attribute
6916 * idl/Image.idl : changed methods to attributes.
6918 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6920 * at-bridge/Makefile.am: link against
6921 ../libspi/libspi.la instead of -lspi.
6923 * at-spi/test/app.c: include
6924 bonobo-activation.h. Use a default appname
6925 if one is not provided.
6927 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6929 * idl/Registry.idl : temporarily changed register_Application
6930 to oneway, to work around issue with initial registration
6932 * idl/Application.idl : changed attribute "id" from readonly
6933 to read-write, since it needs to be assigned by Registry.
6934 * registryd/registryd.c : added call to set application id
6936 * registryd/registry.c : changed de-registration procedure to
6937 use CORBA_Object_hash() to find matching object ref in application
6938 lists and listener lists.
6939 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6940 began distinguishing between event types (work in progress).
6942 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6945 * libspi/application.c:
6946 Added implementations for get/set id, get_toolkitName,
6948 * registryd/registryd.c :
6952 Converted from use of OAF to bonobo-activation.
6953 * libspi/desktop.h :
6954 * libspi/desktop.c :
6956 Removed references to atksimpleobject, since base atkobject
6957 implementation now provides functionality we need.
6958 * libspi/atksimpleobject.c :
6959 * libspi/atksimpleobject.h :
6964 * at-bridge/Makefile.am
6965 * at-bridge/bridge.c
6968 Added directory "bridge" and contents, and added dependencies
6969 in Makefile.am/configure.in.
6970 Initial checkin of "at-bridge".
6971 This code is a GTK_MODULE which automatically registers
6972 GTK+ apps with the accessibility registry, using an object
6973 reference to the root ATK object.
6975 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6977 * po/Makefile.in.in: Remove. Again. If this
6978 doesn't get autogenerated - you need to update
6981 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6983 * po/Makefile.in.in: Add. Again.
6985 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6987 * libspi/accessible.c : added support for 'description' property.
6988 * libspi/accessible.c
6990 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6991 (since the two are now equivalent in libbonobo)
6999 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7000 Bonobo::Unknown as does Accessibility::Accessible.
7001 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7002 interface with Bonobo::Stream, since it was redundant with it.
7003 (The Stream returned by a StreamableContext object is expected to
7004 implement only a subset of Bonobo::Stream)
7006 2001-07-28 Anders Carlsson <andersca@gnome.org>
7008 * libspi/accessible.c (accessible_object_finalize): Change
7009 g_free to g_object_unref since the AtkObject is a GObject.
7011 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7013 * idl/Accessibility.idl: add new IDL files
7016 * idl/Action.idl: Definitions of actionable UI object
7017 * idl/Component.idl: Definitions of UI component geometry, etc.
7018 * idl/Hyperlink.idl: Defs of hyperlink behavior
7019 * idl/Image.idl: Def of accessible image
7020 * idl/Selection.idl: Definition of UI object with selectable children
7021 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7022 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7023 * idl/Text.idl: Interface defs for UI elements with complex textual content
7024 * idl/Value.idl: Definition of UI element that is a value controller or display
7026 2001-07-27 Michael Meeks <michael@ximian.com>
7028 * po/Makefile.in.in: remove autogenerated file from CVS.
7030 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7033 * idl/Registry.idl: include guard.
7035 * idl/Accessibility.idl: Add, and include all the other IDL
7038 * idl/*.idl: remove mass of pragmas etc.
7040 2001-07-26 Michael Meeks <michael@ximian.com>
7042 * registryd/Makefile.am (registryd_SOURCES): remove
7045 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7047 * libspi/.cvsignore, registryd/.cvsignore,
7048 test/.cvsignore: updated.
7050 * po/Makefile.in.in: gettext update.
7052 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7054 * initial CVS checkin
7056 2001-06-29 Michael Meeks <michael@ximian.com>
7058 * configure.in: add AM_CONFIG_HEADER to gen config.h