1 2004-08-20 Bill Haneman <bill.haneman@sun.com>
3 * configure.in, NEWS, README: Revved to 1.5.4.
5 * registryd/registry-main.c:
6 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
9 * cspi/bonobo/cspi-bonobo.c:
10 (cspi_display_name): New convenience method, gets DISPLAY with
11 screen number stripped, if AT_SPI_DISPLAY isn't already set.
12 (cspi_init): Set the activation env value above before getting
15 * atk-bridge/bridge.c:
16 (spi_display_name): Create the AT_SPI_DISPLAY activation
17 environment for an app, based on the DISPLAY environment with the
18 screen number stripped off.
19 (atk_bridge_init): Allow redirection of error messages to a log.
20 (spi_atk_bridge_get_registry): Call
21 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
23 Fixes for bugs #149962, #136986, #144086.
25 2004-08-16 Christian Rose <menthos@menthos.com>
27 * configure.in: Added "bs" to ALL_LINGUAS.
29 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
31 * configure.in: Added nb to ALL_LINGUAS.
33 2004-09-03 Bill Haneman <bill.haneman@sun.com>
36 (SPI_init): Return error code '2' if the activated
37 registry cannot be pinged. Fixes bug #147648.
39 2004-07-28 Bill Haneman <bill.haneman@sun.com>
41 * registryd/deviceeventcontroller.c:
42 (spi_dec_init_mouse_listener): Don't do XGrabButton,
43 rely on timer-poll instead, to avoid conflict with
46 2004-07-20 Bill Haneman <bill.haneman@sun.com>
48 * configure.in: Revved to 1.5.3.
50 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
52 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
54 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
56 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
58 2004-06-11 Bill Haneman <bill.haneman@sun.com>
60 * atk-bridge/bridge.c:
61 (spi_atk_bridge_do_registration):
62 Register with ATK for AtkComponent:bounds-changed events.
63 (api_atk_bridge_signal_listener):
64 Marshal the AtkRectangle info into the event notification
65 for object:bounds-changed events.
68 (spi_init_any_rect): New method, inits a corba struct of
69 type Accessibility_BoundingBox from an AtkRectangle.
71 * libspi/spi-private.h: Declared spi_init_any_rect (above).
74 (SPIRect): New struct definition.
75 (SPI_freeRect): New declaration.
76 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
79 (AccessibleBoundsChangedEvent_getNewBounds): New method,
80 implemented. Gets the bounding box data from the CORBA_any
81 associated with a bounds-changed event notification.
82 (cspi_internal_event_get_rect): New, used internally by above method.
85 (SPI_freeRect): Implemented this new method, for freeing
88 * test/event-listener-test.c:
89 (main, report_bounds_event):
90 Added a test for object:bounds-changed events.
92 2004-06-01 Bill Haneman <bill.haneman@sun.com>
94 * test/login-helper-server-test.c:
95 (main): Fix C99-ism. Thanks to Jens Granseuer.
97 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
99 * libloginhelper-1.0.pc.in:
100 * idl/Accessibility_LoginHelper.idl:
101 * login-helper/Makefile.am:
102 * login-helper/login-helper.[ch]:
103 * test/login-helper-client-test.c:
104 * test/login-helper-server-test.c: Added files missing from CVS.
105 Files obtained from at-spi-1.5.2 tarball.
107 2004-05-27 Bill Haneman <bill.haneman@sun.com>
109 * configure.in: Create login-helper/Makefile.
110 Incremented micro version.
112 * Makefile.am: Add login-helper subdir and pkgconfig data.
114 * login-helper: New subdir.
116 * libloginhelper-1.0.pc.in: New.
118 * idl/Accessibility_LoginHelper.idl: New file, defines
119 interface whereby authentication clients can identify agents which
120 need access to services during the login process, e.g. screen lock
123 * login-helper/Makefile.am : New.
125 * login-helper/login-helper.[ch] : New, implementation of
126 a LoginHelper base class. Services needing LoginHelper can subclass.
128 * test/Makefile.am : Added test for login-helper, client and
131 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
132 Use proper prefix in #include files.
134 * test/login-helper-client-test.c: New.
136 * test/login-helper-server-test.c: New.
138 2004-05-27 Alexander Shopov <ash@contact.bg>
140 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
142 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
144 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
145 is positive. This should make it easier to detect inapprorpiate unref
148 2004-05-11 James Henstridge <james@daa.com.au>
150 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
151 no-op and deprecated.
153 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
155 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
157 2004-04-28 Bill Haneman <billh@gnome.org>
159 * Makefile.am: Added --enable-gtk-doc to
160 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
162 2004-04-19 Bill Haneman <billh@gnome.org>
164 * configure.in: Revved to 1.5.1.
166 * registryd/deviceeventcontroller.c:
168 (DEControllerPrivateData): Added fields for
169 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
170 (spi_dec_replace_map_keysym): New internal utility for
171 replacing a keysym in the keymap - used to allow
172 synthesis of individual characters which aren't in the
174 (spi_dec_reset_reserved): New; resets the changed keysym value
176 (keycode_for_keysym): We now try to deal with failed
177 XKeysymToKeycode requests by changing a keymap value
178 and returning a reserved keycode. We now take
179 a DEController pointer as first arg.
180 (spi_controller_register_with_devices): Call XkbGetMap with
181 the XkbKeySymsMask. Find the highest keycode in the current
182 keymap which doesn't have any grabs, and mark that one for
183 temporary re-mapping when out-of-range KeySyms are synthesized.
184 (dec_synth_keycode_press): Call XFlush after synthesizing the key
187 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
189 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
191 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
193 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
195 2004-03-24 Bill Haneman <billh@gnome.org>
198 (AccessibleTable_addRowSelection),
199 (AccessibleTable_addColumnSelection),
200 (AccessibleTable_removeRowSelection),
201 (AccessibleTable_removeColumnSelection):
202 Add declarations for spi wrappers which were
203 inadvertantly omitted. Fixes bug #133413.
206 Revved to 1.5.0 (unstable series for GNOME 2.7).
208 2004-03-24 Bill Haneman <billh@gnome.org>
210 * atk-bridge/bridge.c:
211 Bracketed some debug output in
212 conditionals, to avoid printing it in normal use.
215 * libspi/hyperlink.c:
216 Don't cast 'object' to ATK_OBJECT when constructing
217 an AtkAction interface for a hyperlink.
218 See discussion in bug #120659.
220 * test/key-listener-test.c:
221 (report_all_key_event): Send output to stderr,
222 not stdout, for consistency with the rest of the test callbacks.
225 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
226 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
227 Incremented to 1.4.1 (but didn't dist yet - I'm going to
228 try incrementing the revision AFTER doing a dist, at least
231 2004-03-22 Bill Haneman <billh@gnome.org>
233 * configure.in: Revved to 1.4.0, libtool 9.14.9
235 2004-03-17 Laszlo Peter <laca@sun.com>
237 * libspi-1.0-uninstalled.pc.in: add idldir
239 * cspi-1.0-uninstalled.pc.in: add idldir
241 2004-03-16 Gareth Owen <gowen72@yahoo.com>
243 * configure.in: Added "en_GB" to ALL_LINGUAS
245 2004-03-15 Bill Haneman <billh@gnome.org>
247 * configure.in: Revved to 1.3.16,
250 2004-03-15 Laszlo Peter <laca@sun.com>
252 * libspi-1.0-uninstalled.pc.in: new file
254 * cspi-1.0-uninstalled.pc.in: new file
256 * configure.in: add the new pc files to AC_OUTPUT
258 * Makefile.am: add the new pc files to EXTRA_DIST
260 2004-03-12 Bill Haneman <billh@gnome.org>
262 * atk-bridge/bridge.c:
263 (spi_atk_bridge_key_listener):
264 Make sure to return consumed=FALSE if snoop
265 event is not dispatched to listener.
268 2004-03-01 Bill Haneman <billh@gnome.org>
270 * configure.in: Revved to 1.3.15,
273 2004-03-07 Danilo Segan <dsegan@gmx.net>
275 * configure.in: Added "sr@ije" to ALL_LINGUAS.
277 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
279 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
281 2004-03-01 Bill Haneman <billh@gnome.org>
283 * configure.in: Revved to 1.3.14.
286 (SPI_exit): Removed "bye-bye" exit message.
287 Moved "leak" report to happen before the
288 iteration over the leaked refs list.
289 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
291 2004-02-24 Bill Haneman <billh@gnome.org>
293 * configure.in: Revved to 1.3.13.
295 * docs/reference/cspi/Makefile.am:
296 Correct typo that was breaking the docs build.
298 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
300 * autogen.sh: Require version 1.7 of automake.
302 * configure.in: call GTK_DOC_CHECK([1.0])
304 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
306 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
308 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
310 * test/Makefile.am: Remove use of CFLAGS.
312 This fixes bug #132987.
314 2004-02-11 Bill Haneman <billh@gnome.org>
316 * reverted most of Tomasz' patch below, since it was breaking
317 builds (see bug #134058).
319 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
321 * docs/reference/cspi/at-spi-cspi.types: added empty file for
322 correct pass "make dist" (empty .. because seems no sach types in
323 header files with gtk-doc markups).
324 * docs/reference/cspi/Makefile.am, configure.in:
325 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
326 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
327 * Makefile.am: added:
328 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
329 for force correct pass generate documentation on "make distcheck".
330 * libspi/Makefile.am: fixes for automake >= 1.6.
331 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
332 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
335 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
337 * docs/reference/cspi/Makefile.am (install-data-local): Install
338 index.sgml since the doc autobuilder on widget.gnome.org looks for
341 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
343 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
346 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
348 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
350 2004-01-27 Brian Cameron <brian.cameron@sun.com>
352 * test/simple-at.c: Fixed null string problems that cause core
353 dumping problems on Solaris.
355 2004-01-12 Bill Haneman <billh@gnome.org>
357 * configure.in: Incremented version to 1.3.11.
359 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
361 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
362 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
365 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
367 * configure.in: Added "fa" to ALL_LINGUAS.
369 2003-12-20 Arafat Medini <lumina@silverpen.de>
371 * configure.in: Added "ar" to ALL_LINGUAS
373 2003-12-16 Bill Haneman <billh@gnome.org>
375 * registryd/registry-main.c:
377 Set the reg_env DISPLAY variable before registering the
378 activated registry service. Fixes bug #129479.
380 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
382 * configure.in: Added "id" in ALL_LINGUAS
383 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
385 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
387 * registryd/deviceeventcontroller.c (global_filter_fn):
388 When an event is consumed discard any XEvents were added to
389 the queue while dealing with the the event. This can happen if
390 processing of the event takes a long time. Call XUngrabKeyboard
391 if an event was discarded. This fixes bug $124837.
392 Only call wait_for_release_event for a KeyPress.
393 Use local variable display instead of spi_get_display().
394 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
397 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
399 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
400 Allow for mask to contain values other than NumLock mask.
403 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
405 * registryd/devieceventcontroller.c:
406 (wait_for_release_event): Change first parameter from GdkEvent to
408 (global_filter_fn); Correct call to wait_for_release_event.
412 2003-12-08 Bill Haneman <billh@gnome.org>
416 * registryd/ucs2keysym.c: New file.
418 * registryd/deviceeventcontroller.c:
419 (dec_keysym_for_unichar): Remove old partial implementation and
420 replace with call to ucs2keysym(), which is much more complete.
421 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
426 2003-12-05 Bill Haneman <billh@gnome.org>
428 * configure.in: Version 1.3.9.
430 * docs/reference/cspi/tmpl/spi_registry.sgml:
431 Added reference to libspi/keymasks.h to the
432 description of Registry queries: AccessibleKeyMaskType.
435 2003-12-04 Bill Haneman <billh@gnome.org>
439 * idl/Accessibility_Application.idl:
440 (Accessibility::LOCALE_TYPE): New enum, corresponds to
441 setlocale's LC_TYPEs.
442 (Accessibility::Application::getLocale): New method.
443 Allows clients to query the locale, by type, of an app.
446 * cspi/spi_application.c:
447 (AccessibleApplication_getLocale): New method, wraps IDL above.
449 * libspi/application.c:
450 (spi_application_class_init): Init epv entry for getLocale.
451 (impl_accessibility_application_get_locale): Impl for above.
453 * test/test-simple.c:
454 (test_application): Added assertion for getLocale, i.e.
455 that the string from AccessibleApplication_getLocale (app, type)
456 is the same as that from setlocale (type, NULL);
458 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
460 *registryd/deviceeventcontroller.c: Add an idle handler which polls
461 the keyboard on a timeout intil the key state goes from pressed to
462 released. Fixes bug #111429.
464 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
466 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
467 root object so that it is present when a context menu in an
468 out-of-process applet is popped up.
469 (spi_atk_bridge_do_registration): Create acceessible application root
470 object only if it does not exist.
472 This fixes bug #125834.
474 2003-12-01 Bill Haneman <billh@gnome.org>
476 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
479 Added enum for AccessibleStreamableContentSeekType.
480 (AccessibleStreamableContent_freeContentTypeList): New.
482 * cspi/spi_streamablecontent.c:
483 (accessible_bonobo_stream_client_seek): New private method.
484 (AccessibleStreamableContent_seek): Implemented this method,
485 using Bonobo_Stream_seek.
486 (AccessibleStreamableContent_freeContentTypeList): New method
487 for freeing the return value from
488 AccessibleStreamableContent_getContentTypes.
489 (stream_cache_item_free): Replaces stream_release; stop leaks.
490 (stream_release): removed.
491 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
492 free the memory properly.
494 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
498 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
500 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
502 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
504 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
506 2003-12-01 Bill Haneman <billh@gnome.org>
508 Fix for bug/rfe #127463.
510 * idl/Accessibility_Accessible.idl:
511 (getLocalizedRoleName): New.
512 (unimplemented4): Removed (replaced by above).
514 * libspi/accessible.c:
515 (impl_accessibility_accessible_get_local_role_name): New.
516 (spi_accessible_class_init): Add getLocalizedRoleName entry to
520 (Accessible_getLocalizedRoleName): New.
522 * cspi/spi_accessible.c:
523 (Accessible_getLocalizedRoleName): New.
525 2003-12-01 Bill Haneman <billh@gnome.org>
528 * idl/Accessibility_Text.idl:
529 (getDefaultAttributes): New.
530 (unimplemented4): Removed (replaced by above method).
533 (impl_getDefaultAttributes): New method.
534 (spi_text_class_init):
535 initialize the get_default_attributes slot in the epv.
538 (AccessibleText_getDefaultAttributes): New prototype.
541 (AccessibleText_getDefaultAttributes): New method.
543 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
545 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
546 write beyond the end of the table. Fixes bug #120473.
548 2003-09-30 Christian Rose <menthos@menthos.com>
550 * configure.in: Added "eu" to ALL_LINGUAS.
552 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
554 * configure.in: ALL_LINGUAS: Added no.
556 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
558 * configure.in: Added lt to ALL_LINGUAS.
560 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
562 * atk-bridge/bridge.c:
563 (atk_bridge_init): Register event listeners always even for
564 out-of-process applet.
565 (spi_atk_bridge_toplevel_added): Remove call to
566 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
567 (spi_atk_bridge_toplevelk_removed): Remove call to
568 spi_atk_deregister_event_listenersa as the listeners are now always
570 (spi_atk_bridge_register_application): Remove call to
571 spi_atk_register_event_listeners as it is not done in atk_bridge_init
573 This fixes bug #120991.
575 * libspi/table.c (impl_getColumnDescription): Correct typo,
576 pointed out by Bolian.Yin@sun.com.
578 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
580 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
582 2003-09-08 Bill Haneman <billh@gnome.org>
584 * configure.in: Revved to 1.3.7.
586 This is the GNOME 2.4.0 release of at-spi.
588 * docs/reference/cspi/Makefile.am:
589 Removed spurious inclusion of 'index.sgml' in the
590 html directory; this was breaking make distcheck and
591 also some other build environments.
593 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
595 * registryd/registry.[ch}:
596 Add queue_handler_id and focus_object to SpiRegistry data structure.
597 (registry_flush_event_queue): If event being discarded is
598 "state-change:focused" store object as focus_object.
599 (registry_start_queue): Remove queue handler and focus object
601 (registry_discard_event): New function which discards a focus event
602 if we had stored focus object in the registry.
603 (registry_queue_event): Add new check that is_queueing is set as this
604 function is reentrant.
605 (registry_filer_event): Add call to registry_discard_event.
607 This resolves issues raised in bug #108664.
609 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
611 * configure.in: Added "bn" to ALL_LINGUAS.
613 2003-09-04 Bill Haneman <billh@gnome.org>
615 * cspi/spi_event.c: Documentation improvements for
616 (SPI_registerAccessibleKeylistener).
618 * docs/reference/tmpl/spi_registry.sgml:
619 Documentation improvements for SpiAccessibleKeylistenerCB.
621 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
623 * configure.in: Added "ro" to ALL_LINGUAS.
626 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
628 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
629 not decremented to zero. Fixes bug #120725.
631 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
633 * configure.in: Added "ja" to ALL_LINGUAS.
635 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
637 * configure.in: Added "is" to ALL_LINGUAS.
639 2003-08-22 Christian Rose <menthos@menthos.com>
641 * configure.in: Added "nl" to ALL_LINGUAS.
643 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
645 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
646 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
648 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
650 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
651 type for unspecified exception.
652 * cspi_streamablecontect): Add include of string.h for memcpy.
653 (stream_release): Correct call to bonobo_object_release_unref
654 (stream_cache_item_free): Correct call to bonobo_object_release_unref
655 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
656 argument of _cspi_expection_throw.
657 * libspi/hyperlink.c: Add include of libspi/action.h:
658 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
659 * libspi/streamablecontent.c: add include of libspi/component.h.
660 * regisrtyd/deviceeventcontroller.c:
661 (spi_dec_translate_mask): Removed unused variable priv.
662 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
663 * registryd/registry.c:
664 (registry_filter_event): Remove unused variable queue_is-empty.
665 (impl_registry_notify_event): Use correct modifier in fprintf call.
667 This fixes compiler warnings reported in bug #120220.
669 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
671 * registryd/registryd.c: Remove this file.
673 2003-08-17 Sanlig Badral <badral@openmn.org>
675 * configure.in: Added mn to ALL_LINGUAS.
677 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
679 * configure.in: Added et to ALL_LINGUAS.
681 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
683 * test/event-listener-test.c: Change active-descendant to
684 active-descendant-changed.
686 2003-08-10 Sami Pesonen <sampeson@iki.fi>
688 * configure.in: Added "fi" in ALL_LINGUAS.
690 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
692 * configure.in: Added "hi" in ALL_LINGUAS.
694 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
696 * configure.in: Revved to 1.3.6.
700 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
702 * registryd/deviceeventcontroller.c
703 (spi_device_event_controller_object_finalize): Fix typo in previous
706 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
708 * registryd/deviceeventcontroller.c
709 (spi_device_event_controller_object_finalize): Fix build on
710 systems without XEvIE.
712 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
714 * acconfig.h, configure.in, registryd/Makefile.am,
715 registryd/devicecontoller.[ch]: Add XEViE support.
717 2003-08-06 Wang Jian <lark@linux.net.cn>
719 * configure.in: Added "zh_CN" to ALL_LINGUAS.
721 2003-08-06 Metin Amiroff<metin@karegen.com>
723 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
725 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
727 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
728 MODIFIER_ALT in correct place.
730 This fixes part of bug #118114.
732 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
734 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
736 2003-07-28 Changwoo Ryu <cwryu@debian.org>
738 * configure.in: Added "ko" to ALL_LINGUAS.
740 2003-07-28 Ole Laursen <olau@hardworking.dk>
742 * configure.in: Added "da" to the commented out ALL_LINGUAS.
744 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
746 * configure.in: Added "sq" to ALL_LINGUAS.
748 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
750 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
752 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
754 * configure.in: updated ALL_LINGUAS list
756 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
758 * configure.in: Added Belarusian to ALL_LINGUAS.
760 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
762 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
764 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
765 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
767 This fixes bug #116949.
769 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
771 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
772 Correct CSPI to SPI in function documentation.
774 This fixes bug #118054.
776 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
778 * configure.in: Added Russian to ALL_LINGUAS.
780 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
782 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
784 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
786 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
788 2003-07-10 Joel Brich <joel.brich@laposte.net>
790 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
792 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
794 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
796 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
798 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
799 resources allocated for AccessibleEvent. See cspi_event().
801 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
802 static variable streams to NULL.
804 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
805 Update so that AcessibleEvent_ref will work.
807 This fixes bug #116624.
809 2003-07-06 Jordi Mallach <jordi@sindominio.net>
811 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
813 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
815 * configure.in: Added "fr" (French) to ALL_LINGUAS.
817 2003-07-02 Christian Neumair <chris@gnome-de.org>
819 * configure.in: Added "de" (German) to ALL_LINGUAS.
821 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
823 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
825 2003-07-01 Miloslav Trmac <mitr@volny.cz>
827 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
829 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
831 * configure.in: Added "pl" to ALL_LINGUAS.
833 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
835 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
837 2003-06-30 Bill Haneman <bill.haneman@sun.com>
840 (get_action_from_servant):
841 Removed assertion that action is implemented on an AtkObject.
843 * libspi/hyperlink.c:
845 Aggregate AccessibleAction interface on the hyperlink object if
846 the object implements AtkAction. (This convention is used in
849 2003-06-30 Bill Haneman <bill.haneman@sun.com>
851 * configure.in: Revved to 1.3.5.
853 * registryd/Accessibility_Registry.server.in.in:
854 Marked up appropriate strings for translation.
856 * atk-bridge/bridge.c: Marked a couple of
857 user-visible warnings for translation. Questionable
858 whether they are really useful, but possibly so.
861 2003-06-28 Christian Rose <menthos@menthos.com>
863 * configure.in: Added "sv" to ALL_LINGUAS.
865 2003-06-26 Bill Haneman <bill.haneman@sun.com>
867 * registryd/registry.c:
868 (spi_registry_object_finalize): Unref the deviceeventcontroller.
869 (registry_defer_on_event): Defer focus: events, this is an
870 improvement to the patch for bug #108664.
872 * TODO: Update with 2.4/"Dev Complete" items.
874 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
876 * atk-bridge/bridge.c:
877 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
878 looks up signals once.
879 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
880 if doing registration.
881 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
882 when doing registration.
884 This fixes bug #115014.
886 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
888 * atk-bridge/bridge.c:
889 (atk_bridge_init): Add signal handler for children-changed:remove on
890 root when in a BonoboComponent.
891 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
892 for first toplevel only other incrememt variable toplevels.
893 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
894 application and remove listeners.
895 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
897 (spi_atk_deregister_event_listeners): New function which removes
899 (reinit_register_vars): New fuction which reinitializes variables.
901 This fixes bug #111578.
903 2003-06-13 Bill Haneman <bill.haneman@sun.com>
905 * configure.in: version 1.3.4.
907 * cspi/spi_accessible.c:
908 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
911 2003-06-13 Michael Meeks <michael@ximian.com>
913 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
915 * cspi/spi_main.c (cspi_peek_ev): impl.
917 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
919 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
921 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
923 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
924 SPI_ROLE_AUTOCOMPLETE
926 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
928 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
929 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
931 2003-06-11 Bill Haneman <bill.haneman@sun.com>
933 * libspi/streamablecontent.h:
934 * libspi/streamablecontent.c:
935 New files, provide implementation/wrappers for
936 Accessibility_StreamableContent.
938 * cspi/spi_streamablecontent.c:
939 Connected the C wrappers to the libspi C bindings.
940 (AccessibleStreamableContent_close): New method.
943 (AccessibleStreamableContent_close): New method, needed
944 since we have an "open, [seek], read, close" model in cspi.
946 2003-06-11 Bill Haneman <bill.haneman@sun.com>
948 Fix for #108664; Padraig's revision of my original patch.
950 * registryd/registry.h:
951 Added event queue list, is_queuing, and exit_notify_timeout
952 to the registry struct.
954 * registryd/registry.c:
955 (registry_init): Initialize new struct from registry.h.
956 (impl_registry_notify_event):
957 Filter events before notifying, in case some need to be
959 (registry_filter_event): New,
960 we defer certain incoming events (for instance
961 window:deactivate) because we may wish to hide
962 or reject them based on pending events. This is
963 mostly a workaround for bug #108664.
964 (registry_queue_event, registry_start_queue): New.
965 (registry_defer_on_event): Test event to see if it
967 (registry_reset_on_event): Returns TRUE if the
968 event should cause a queue reset.
969 (registry_discard_on_event): Returns TRUE if the event
970 should cause the previous queue contents to be discarded.
971 (registry_timeout_flush_queue): Flushes the pending event
972 queue if no reset/discard-triggering events have come in
973 within the timeout period.
974 (registry_emit_event): New.
975 (registry_clone_notify_context): New, used when queueing the
976 event notify contexts.
978 2003-06-10 Bill Haneman <bill.haneman@sun.com>
980 * configure.in: Version revved to 1.3.2, lt 0.9.2
981 Incremented ATK required version to 1.3.4.
983 * cspi/spi_registry.c:
984 (SPI_generateKeyEvent):
985 We now pass the keystring along if it's non-null.
987 * registryd/deviceeventcontroller.c:
988 (keysym_mod_mask): New method, returns modifier mask
989 required to generate a keysym from a given keycode.
990 (dec_synth_keysym): New method.
991 (dec_synth_keystring): New method.
992 (dec_get_modifier_state): New method.
993 (dec_lock_modifiers): New
994 (dec_unlock_modifiers): New.
995 (dec_keysym_for_unichar): New, rather brute-force
996 conversion from UCS-4 to X KeySyms. Only works for
997 Latin at the moment, with partial implementations for
998 Greek, Hebrew, and (incomplete) Katakana.
999 (impl_generate_keyboard_event): Now implement
1000 "KEYSTRING" synthesis and implement "KEYSYM"
1002 (keycode_from_keysym): Improved, passes a returned
1003 modmask value now if the corresponding param is non-NULL.
1005 Fixes bugs #92143 and #109776.
1008 * test/keysynth-test.c:
1009 New test program for key synthesis, to confirm fixes for
1013 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1015 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1017 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1018 Add line for RELATION_POPUP_FOR
1020 * docs/reference/cspi/tmpl/spi_relation.sgml:
1021 Add relation SPI_RELATION_POPUP_FOR
1023 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1024 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1026 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1028 * libspi/relation.c (spi_init_relation_type_table):
1029 Add line for RELATION_POPUP_FOR
1031 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1033 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1034 there are still windows which have not been deleted and emit
1035 window:deactivate, if necessary and window:destroy events.
1036 This fixes bug #114370. The change on June 5th was not correct.
1038 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1040 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1043 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1045 New methods for client exception handling and interception.
1046 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1047 (SPI_exceptionHandlerPop): You guessed it...
1048 (SPI_getSourceType): Return the type of object which offended.
1049 (SPI_getExceptionCode): Return an enum code telling, possibly,
1050 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1051 (SPIAccessibleException_getSource): get the source object for
1052 exceptions that come from Accessibles, if SPIExceptionSourceType is
1053 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1054 (SPIException_getDescription): New, returns a string description of
1055 the problem. [Not yet a stable ABI, strings are not frozen]
1057 * cspi/spi-private.h:
1058 Added implementation details of opaque SPIException
1062 Implementations of above. Also
1063 (_cspi_exception_throw): new private method that
1064 dispatches exceptions to handlers, called from cspi-bonobo.c
1066 * cspi/bonobo/cspi-bonobo.c:
1067 (cspi_check_ev): call _cspi_exception_throw.
1068 Don't print a warning message if the exception has been
1069 handled by _cspi_exception_throw.
1071 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1073 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1074 there are still windows which have not been deleted and emit
1075 window:deactivate, if necessary and window:destroy events.
1076 This fixes bug #114370.
1078 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1081 (cspi_accessible_is_a): Make non-fatal
1082 if the object reference is dead.
1084 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1086 * cspi/spi_main.c: #include <stdio.h>
1087 * test/simple-at.c: ditto
1088 * test/event-listener-test.c: ditto
1089 * test/screen-review-test.c: ditto
1091 2003-05-30 Michael Meeks <michael@ximian.com>
1093 * test/test-simple.c (main): use CORBA_ORB_perform_work
1094 instead of an unnecessary linc_ call.
1096 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1098 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1099 Add SPI_STATE_INDETERMINATE.
1101 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1104 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1106 * libspi/stateset.c (init_state_type_tables): Add support for
1109 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1111 * configure: Update versions of atk and gail required.
1112 This fixes bug #113268.
1114 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1116 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1118 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1120 * libspi/Makefile.am:
1121 Ensure headers are generated before being used by c sources.
1123 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1126 Simplified lt versioning rules.
1127 Incremented version to 1.3.0, to indicate that we're on the
1128 unstable branch now.
1130 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1132 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1133 Add MKDB_OPTIONS=--outtput-format=xml
1135 * docs/reference/cspi/at-spi-cspi-docs.sgml
1136 docs/reference/idl/at-spi-idl-docs.sgml:
1137 Convert to Docbook XML.
1139 This fixes bug #111793.
1141 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1143 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1144 AcccessibleKeyEventType, AccessibleKeyMaskType.
1146 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1148 * cspi/state-types.h: Add documentation for AccessibleState.
1150 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1151 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1152 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1153 AccessibleComponentLayer.
1155 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1158 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1160 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1161 Accessible. Add description of AccessibleEvent,
1162 AccessibleEventListenerCB.
1164 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1167 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1168 documentation. Add description of AccessibleKeystrokeListenerCB,
1169 AccessibleKeyEventMask, AccessibleModifierMaskType,
1170 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1171 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1173 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1176 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1179 This fixes bug #104730.
1181 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1183 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1184 Set is_text field of Accessibility_DeviceEvent data structure.
1186 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1187 is-text field of AccessibleDeviceEvent data structure.
1189 This addresses part of bug #108666.
1191 * registryd/devcieeventcontroller.c: Unset debug option.
1193 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1195 * cspi/accessible.c:
1196 (cpi_initial_relation_type_table): New function which initializes
1197 mapping between Accessibility_RelationType and AccessibleRelationType.
1198 (cspi_relation_type_from_spi_relation_type): New function which
1199 translates an Accessibility_RelationType into an AccessibleRelationType.
1200 (AccessibleRelation_getRelationType): Use
1201 cpi_relation_type_get_spi_relation_type to return correct value.
1202 (spi_state_to_corba): Return correct type for default case.
1204 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1205 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1207 * cspi/cspi-bonobo-listener.c:
1208 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1211 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1212 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1213 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1214 libspi/image.c, libspi/listener.c, libspi/selection.c,
1215 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1216 registryd/desktop.c, registryd/registry.c:
1217 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1219 * libspi/eventlistener.c
1220 Remove semicolon after BONOBO_TYPE_FUNC.
1222 * libspi/relation.c:
1223 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1224 (spi_init_relation_type_table): Initialize using correct type.
1226 * registryd/desktop.c:
1227 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1228 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1229 of Accessibility_KeyEventType.
1231 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1234 * tests/simple-at.c, tests/screen-review-test.c:
1235 Add include for <strings.h>.
1237 * tests.stress-test.c:
1238 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1240 These changes fix compiler warnings when using FORTE compiler on
1241 Solaris; fixes bug #107479.
1244 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1247 * configure.in: revved to 1.1.10
1249 * libspi/keymasks.h:
1250 (SPI_KEYMASK_NUMLOCK): Added.
1252 * registryd/deviceeventcontroller.c:
1253 (spi_key_event_matches_listener): AND with a smaller
1254 bitmask (as we should).
1255 (spi_dec_translate_mask):
1256 New method, sets the virtual NumLock modifier bit
1257 if numlock is on. Eventually it can handle other virtual
1258 modifier bits if needed, or other marshalling from
1259 at-spi modifier masks to platform (X) masks.
1260 (spi_dec_key_listener_new):
1261 Call spi_dec_translate_mask to set up virtual mod bits
1262 in the 'mask' field when creating a new listener struct.
1263 (spi_dec_emit_modifier_event):
1264 Set the virtual (i.e. NumLock) bits before emitting event.
1265 (spi_controller_register_with_devices):
1266 Query for the NumLock modifier 'physical' bit if Xkb is
1267 present, for use in above methods.
1271 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1273 * registryd/deviceeventcontroller.c:
1274 (spi_keystroke_from_x_key_event):
1275 Instead of checking to see if the keysym is
1276 printable, check the string from XLookupString
1277 if available, get the first unicode character from it,
1278 and call g_unichar_isprint to determine whether the
1279 is_text flag should be TRUE or FALSE.
1283 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1285 * atk-bridge/bridge.c: Add support for extended events
1286 * cspi/spi_event.c: Add documentation and implementation for
1288 * tests/event-listener-test.c: Add tests for extended events.
1290 This fixes bugs #100424 and #100426.
1292 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1294 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1295 of LT_CURRENT. This fixes bug #89350.
1297 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1299 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1300 number of signal parameter values before accessing them. This fixes
1303 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1305 * configure.in: Fixed duplicate inclusion of -lspi.
1306 * branched for gnome-2-2/HEAD.
1307 [created tag "gnome-2-2"]
1309 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1311 * configure.in: 1.1.9 release.
1314 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1316 [needed by GOK, to fix bugs 107985 and 107988]
1317 * registryd/deviceeventcontroller.c:
1318 (spi_dec_clear_unlatch_pending):
1319 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1320 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1321 (spi_dec_init_mouse_listener):Emit warning if mouse button
1323 (spi_device_event_controller_forward_mouse_event):
1324 Removed unnecessary parens from a conditional.
1325 (global_filter_fn):Added TODO comment.
1326 (impl_generate_keyboard_event):
1327 Cancel a pending relatch if a 'delatching' key was
1330 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1332 * atk-bridge/bridge.c:
1333 Change atk_signal_child_changed to atk_signal_children_changed.
1334 Reorganize code in spi_atk_bridge_signal_listener().
1336 * test/event-listener-test.c:
1337 Add children_changed_listener and report_children_changed_event()
1338 to test AccessibleChildEvent_getChildAccessible.
1340 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1342 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1343 g_strdup to CORBA_String_dup (bug #105291)
1345 * test/event-listener-test.c (report_text_event): Add call to
1348 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1350 * registryd/deviceeventcontroller.c:
1351 (spi_keystroke_from_x_key_event):
1352 Fix string and keysym return codes to match modifier state.
1355 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1357 * registryd/deviceeventcontroller.c:
1358 (spi_keystroke_from_x_key_event):
1359 Fix segv due to improper use of isprint(c). [bug #107254]
1361 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1364 (get_accessible_text_boundary_type):
1365 Move default return value to (new) default case in switch.
1366 (get_accessible_text_clip_type):
1367 Move default return value to (new) default case in switch.
1369 * libspi/application.c:
1370 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1371 Remove unused methods.
1372 (impl_accessibility_application_register_object_event_listener):
1373 Remove unused methods.
1376 Added #include of <math.h>.
1378 * registryd/deviceeventcontroller.c:
1379 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1380 we don't currently use this method.
1381 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1383 (impl_generate_key_event):
1384 Remove unused variables.
1385 (impl_generate_mouse_event):
1386 Initialize button to zero, just in case we get an invalid
1387 input. Added support for mouse buttons 4 and 5.
1388 (spi_device_event_controller_new):
1389 Removed unused variable declaration for 'private'.
1391 Added #include of <gdk/gdk.h>
1393 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1395 * configure.in: Update to work when X is not installed in expected
1396 location. Fixes bug #105836.
1398 * atk-bridge/bridge.c
1399 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1401 (spi_atk_register_event_listener): Add signal listener for
1403 (spi_atk_bridge_signal_listener): Event event when link-selected
1404 signal is emitted. (bug #104622)
1406 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1407 on returned string. (bug #105291)
1409 * test/event-listener-test.c: Add test for link-selected.
1411 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1413 * atk-bridge/Makefile.am: Correct typo in previous commit.
1415 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1417 * atk-bridge/Makefile.am: Allow for build directory to be different
1418 from source directory
1420 * registryd/Makefile.am: Allow for build directory to be different
1421 from source directory
1425 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1428 Fixed dependencies for libcspi so that libspi gets pulled in
1429 properly. Fixes 104741.
1433 Clean up inline docs a little.
1435 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1437 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1438 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1439 the AtkObject within an SpiDesktop.
1440 This addresses bug #101524.
1442 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1443 Remove call to gdk_init().
1445 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1446 so that Display is set when SpiDesktop is created.
1448 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1450 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1451 This fixes bug #102830.
1453 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1455 * test/test-simple.c: Update to take account of fact that GailButton
1456 now implements AtkText.
1457 (create_text_window): Set name on AtkObject for GtkEntry.
1458 (validate_accessible): Check accessible name before calling test_text().
1460 * libspi/Makefile.am: Fix problem with building outside of source
1461 directory. Bug #98120.
1463 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1464 typo in documentation comments. Bug #94275.
1466 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1468 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1470 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1473 Add includes to avoid compiler warnings on Solaris.
1474 (impl_getRangeExtents): Bug fix.
1476 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1478 Fix for 100944, [API addition approved by Gman and murrayc].
1485 * idl/Accessibility_Text.idl:
1486 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1487 (Text::getRangeExtents): New method for efficient
1488 bounds query of a text range.
1489 (Text::getBoundedRanges): New method for efficient
1490 clipping of text to bounding boxes.
1491 (unImplemented7, unImplemented8):
1492 Removed these padding methods to preserve bincompat.
1495 (impl_getRangeExtents): implementation of new IDL.
1496 (impl_getBoundedRanges): implementation of new IDL.
1497 (SpiTextRect): Internal use struct.
1498 (_spi_text_rect_union): internal method, calculates union of two
1499 SpiTextRect bounding rects.
1500 (_spi_text_range_seq_from_gslist): internal method, allows us
1501 to build our sequence efficiently as a gslist then convert it
1503 (_spi_bounds_contain): internal method, determines whether
1504 a text character is "in" or "out" of a clip rect according to
1505 values of TEXT_CLIP_TYPE.
1506 (spi_text_class_init): Initialize the new methods in the epv.
1509 (AccessibleTextClipType): New enum used by screen review api.
1510 (AccessibleTextRange): New struct used by screen review api.
1511 (AccessibleText_getRangeExtents):
1512 cspi binding for Accessibility_Text_getRangeExtents.
1513 (AccessibleText_getBoundedRanges):
1514 cspi binding for Accessibility_Text_getBoundedRanges.
1515 (AccessibleTextRange_freeRanges): convenience method.
1518 (AccessibleText_getRangeExtents):
1519 cspi binding for Accessibility_Text_getRangeExtents.
1520 (AccessibleText_getBoundedRanges):
1521 cspi binding for Accessibility_Text_getBoundedRanges.
1522 (AccessibleTextRange_freeRanges): convenience method.
1523 (get_accessible_text_clip_type): internal conversion method.
1524 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1526 * registryd/deviceeventcontroller.c:
1527 (spi_dec_mouse_check):
1528 Improved behavior for mouse:abs events
1529 [same granularity as mouse:rel events, and no
1530 events when mouse is idle].
1532 2002-12-16 Michael Meeks <michael@ximian.com>
1534 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1536 * libspi/stateset.c (state_spi_to_atk): split out
1537 ( fix several remote array bounds nasties )
1538 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1539 (impl_remove): make safe from array bounds issues.
1540 (spi_atk_state_from_spi_state): impl.
1542 * libspi/stateset.h (spi_state_set_cache_is_empty):
1543 add a set of wrapper defines to get layering right.
1545 * cspi/spi_accessible.c: update state set stuff to
1548 2002-12-14 Michael Meeks <michael@ximian.com>
1550 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1551 to avoid 2 roundtrips to the registry per key event
1552 (spi_atk_bridge_key_listener): upd.
1553 (deregister_application): release the dec.
1555 * registryd/registry.c (notify_listeners_cb):
1556 bin lots of re-enterant complexity - we no longer
1557 do a round-trip bonobo ref here, ensure that a single
1558 listener's exception failure won't poison all other
1560 (impl_registry_notify_event): bin obvious memory leak.
1562 2002-12-13 Michael Meeks <michael@ximian.com>
1564 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1565 init the ev so the error is meaningful.
1566 (spi_atk_bridge_key_listener): ditto.
1568 * cspi/spi_main.c (cspi_ev): init the ev so we start
1569 with a clean slate, otherwise the first exception
1570 kills us completely.
1572 * cspi/spi_text.c (get_accessible_text_boundary_type):
1573 add a fallthrough for no warnings.
1575 * cspi/spi_registry.c: prune unused warnings.
1577 * cspi/spi_main.c (cspi_object_take): fix
1578 mind-blowing brokenness ( by watching the compile
1581 * cspi/spi_accessible.c (Accessible_getStateSet):
1582 re-impl. to use an AtkStateSet.
1583 (spi_state_type_from_accessible_state),
1584 (init_state_table): bin these.
1586 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1588 (atk_state_set_from_accessibility_state_set): here.
1590 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1591 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1592 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1593 (AccessibleStateSet_add, AccessibleStateSet_remove),
1594 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1595 (AccessibleStateSet_isEmpty): re-write to use a local
1598 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1600 * configure.in: Revved to 1.1.7 (new keymask vals).
1602 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1604 * libspi/keymasks.h:
1605 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1607 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1610 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1611 to compare two CORBA_TypeCodes.
1612 (cspi_internal_event_add): Silence warning from FORTE compiler.
1614 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1615 avoid implicit declaration of functions.
1617 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1619 * atk-bridge/bridge.c:
1620 (spi_atk_bridge_init_event_type_consts): Store signal id for
1621 active-descendant-changed signal.
1622 (spi_atk_register_event_listeners): Add signal listener for
1623 active-descendant-changed signal,
1624 (spi_atk_bridge_signal_listener): Move code in function
1625 spi_atk-signal_emit_event() into this function.
1626 Add support for active-descendant-changed
1627 Update support for child-changed signal.
1628 (spi_bridge_window_event_listener): Silence warning.
1630 * libspi/spi_private.[ch]:
1631 (spi_init_any_object): Change second parameter from CORBA_Object to
1633 Omit call to CORBA_Object_duplicate().
1634 Set CORBA_any's _value to CORBA_Object*.
1636 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1642 (AccessibleEvent_ref, AccessibleEvent_unref):
1643 New methods, for persisting an event outside the emission context.
1644 Must be used if the new accessor methods are to be called
1645 outside of the event listener's callback.
1647 * cspi/bonobo/cspi-bonobo.c:
1648 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1649 as second parameter instead of NULL, so we can call
1650 cspi_check_ev afterwards.
1653 (cspi_object_take): New internal method,
1654 converts a CORBA_Object reference to a hard ref on
1655 an Accessible if possible, returning NULL if the object
1656 reference is invalid or an Accessible * otherwise.
1659 (AccessibleEvent_ref):
1660 Increment the event's internal private refcount, and
1661 add the event's internal struct to an internal cache
1662 if it's not already there.
1663 (AccessibleEvent_unref):
1664 Decrement the event's refcount and remove it from
1665 the cspi event cache if refcount==0.
1666 (cspi_event_compare): New private method.
1667 Compares two event structs via their ids. Used
1669 (cspi_internal_event_lookup): New private method.
1670 (cspi_internal_event_check): New private method,
1671 a 0-order sanity check for events to make sure their
1672 private data is intact.
1673 (cspi_internal_event_add, cspi_internal_event_remove):
1674 New private methods for managiing the event cache.
1676 * cspi/bonobo/cspi-bonobo-listener.c:
1678 Initialize the new private data elements (id, magic, ref_count).
1680 * atk-bridge/bridge.c:
1681 (spi_atk_bridge_signal_listener):
1682 Fixed bug #100530, passing wrong params to emission func.
1684 * registryd/deviceeventcontroller.c:
1685 (spi_dec_button_update_and_emit):
1686 Fixed type in mask bit operations; fix for #99799.
1688 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1690 Removed some of the more dangerous workarounds from
1691 previous commit; they are only needed by GOK, which
1692 in reality should be using another method to accomplish
1693 the goals. So on reconsideration some of the workarounds
1694 need to be reverted:
1696 * registryd/deviceeventcontroller.c:
1697 (spi_keycodes_contain, spi_dec_init_keycode_list):
1698 Removed these methods, used only by a nasty hack to try
1699 and detect whether a key synthesis should be allowed
1700 to reset the XKB latch state or not. This code was only
1701 required to work around an interaction between GOK,
1702 button events, and XKB.
1703 (impl_generate_key_event):
1704 Removed hack at end of key generation that tried to
1705 "do the right thing" if XKB latch keys were generated
1706 in the midst of button press/release pairs.
1709 Added a check for HAVE_XINPUT. Not normally used yet.
1711 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1713 Workarounds and fixes for mouse event/XKB interaction.
1715 * registryd/deviceeventcontroller.c:
1716 (spi_keycodes_contain, spi_dec_init_keycode_list):
1717 New internal methods.
1718 (spi_dec_set_unlatch_pending):
1719 Split the method that tells XKB to expect an
1720 unlatch (and revert it) out of the rest of the
1721 event handling code. This method is called by the
1722 two mouse event handlers (the poll and the filter).
1723 (spi_dec_update_and_emit, spi_dec_mouse_check):
1724 New methods split from spi_dec_poll_mouse_moved.
1725 The second one is now called from inside the filterFn
1726 when an XKB delatch event is received, to determine
1727 whether to revert the delatch or not.
1728 (spi_poll_mouse_moved): Refactor; also we can now
1729 properly handle the case where multiple button states
1730 have changed between polling cycles and we didn't get
1731 notified due to another client's grab.
1733 Synchronize the server while handling an XKB notification.
1734 Ugly, but apparently necessary to avoid nasty races.
1735 Check the mouse state on receipt of an XKB latch change,
1736 to decide whether to revert the latch or not. (Latches are
1737 reverted if there is an immediately preceding mouse button
1738 event that a client has consumed, in which case we don't want
1739 the user to see the side-effect of the event).
1740 (spi_device_event_controller_forward_mouse_event):
1741 Check for modifier events and fire before resetting mouse_mask_state,
1742 prevents losing modifier events.
1744 (impl_generate_keyboard_event):
1745 If we've just generated a keyboard event for a non-shift key,
1746 we don't want to revert the pending XKB latch.
1747 Otherwise, check the modifier state (via a call to
1748 spi_dev_mouse_check) and set the relatch mask to
1749 that state before returning.
1751 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1754 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1757 * atk-bridge/bridge.c:
1758 (spi_atk_register_event_listeners):
1759 Don't re-register for ATK events if the registry has died
1760 and the app needs to re-register; the ATK listeners are in
1761 process and doing so will cause duplicate emission.
1763 * registryd/deviceeventcontroller.c:
1764 (spi_poll_mouse_moved):
1765 Reformat the source, detect and emit multiple button-change
1766 events (i.e. if multiple buttons have changed between poll
1768 Add code to detect mouse-down events even when the pointer
1769 is grabbed; workaround for GOK bug 98420.
1770 (spi_controller_register_with_devices):
1771 Call XTestGrabControl with 'impervious' flag set to True,
1772 allows us to synthesize events and query the pointer even during
1773 an active grab by another client.
1774 (spi_device_event_controller_forward_mouse_event):
1775 Set the mouse_mask_state to the mouse_button_state from
1776 the intercepted event, to synchronize the grab listener with
1779 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1781 * cspi/spi_accessible.c:
1782 (AccessibleRole_getName):
1783 Added necessary strings for making this (deprecated)
1784 method work with the new role types.
1785 (init_role_table, role_table):
1786 Added definition of SPI_ROLE_APPLICATION.
1788 * libspi/spi-roletypes.h:
1789 Added SPI_ROLE_APPLICATION.
1791 * idl/Accessibility_Role.idl:
1792 Added ROLE_APPLICATION.
1794 * docs/reference/cspi/at-spi-cspi-decl.txt:
1795 Added SPI_ROLE_APPLICATION to docs.
1797 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1799 * cspi/spi_accessible.c
1800 (cspi_init_role_table): Do not write beyond end of role_table.
1801 (Accessible_getRole): Use correct type for value returned by
1802 Accessibility_Accessible_getRole().
1804 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1805 beyond end of role_table. (This fixes bug #98269)
1807 * libspi/application.c: Add include file spi-private.h for
1808 definition of spi_init_any_nil.
1810 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1814 * libspi/spi-private.h:
1815 Added DGB() macro, and extern int _dbg declaration.
1817 * registryd/registry.c:
1818 (definitions) storage for _dbg.
1819 (spi_registry_init):
1820 Get environment variable "AT_SPI_DEBUG".
1821 (spi_registry_set_debug):
1822 New method, to initialize _dbg value.
1823 (spi_listener_struct_new, spi_registry_object_finalize):
1824 (notify_listeners_cb):
1825 Changed fprintfs to use DBG and g_warning().
1827 * registryd/deviceeventcontroller.c:
1828 (_deregister_keygrab, spi_controller_register_device_listener):
1829 Changed debug/warning messages to use DBG macro.
1831 * libspi/listener.c:
1832 (impl_notify_event):
1833 Changed warning messages to use DBG macro and g_warning().
1835 * atk-bridge/bridge.c:
1836 (atk_bridge_init, spi_atk_bridge_get_registry):
1837 (spi_atk_bridge_exit_func):
1838 (spi_atk_bridge_property_event_listener):
1839 Changed status, warning, and error messages to use
1840 g_warning, g_message, and DBG macros.
1843 Read the state of the AT_SPI_DEBUG environment variable
1844 and set a local '_dbg' accordingly.
1846 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1848 FIXES for 98836, 98842, other bugs.
1851 Revved to 1.1.4, interface-age=4, binary-age=4.
1853 * registryd/deviceeventcontroller.c:
1855 Fixed crasher bug in last_mouse_pos initialization.
1857 * registryd/registry.c:
1858 (desktop_add_application, desktop_remove_application):
1859 Added (and then commented out) some support for
1860 object context marshalling. [TODO]
1862 * atk-bridge/bridge.c:
1863 (spi_atk_bridge_event_context_create):
1864 Commented out object context creation until it can
1865 be properly tested and debugged.
1867 * registryd/registry.c:
1868 (impl_registry_notify_event):
1869 Fixed crasher bug, we were calling
1870 spi_re_entrant_list_foreach () with an empty list.
1872 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1874 * idl/Accessibility_Action.idl:
1875 * idl/Accessibility_Component.idl:
1876 * idl/Accessibility_Desktop.idl:
1877 * idl/Accessibility_Event.idl:
1878 * idl/Accessibility_Hyperlink.idl:
1879 * idl/Accessibility_Image.idl:
1880 * idl/Accessibility_Relation.idl:
1881 * idl/Accessibility_Selection.idl:
1882 * idl/Accessibility_State.idl:
1883 * idl/Accessibility_Value.idl:
1884 Updated unimplemented slot count to minimum of
1885 four for all interfaces, for ABI freeze.
1887 * idl/Accessibility_EditableText.idl:
1888 * idl/Accessibility_Text.idl:
1889 Updated unimplemented slot count to six
1892 * idl/Accessibility_Registry.idl:
1893 Updated unimplemented slot count to six
1894 (also for DeviceEventController),
1897 * idl/Accessibility_Table.idl:
1898 Updated unimplemented slot count to eight,
1901 * idl/Accessibility_Event.idl:
1902 Added CORBA_any "any_data" member to Event struct.
1904 * idl/Accessibility_Event.idl:
1905 Added CORBA_any "any_data" member to Event struct.
1907 * atk-bridge/bridge.c:
1909 atk_signal_text_changed, atk_signal_child_changed,
1910 signal ids queried from gtype system.
1911 (AtkBridgeEventContextType): New enum.
1912 (AtkBridgeEventContextData): New struct.
1913 (AtkBridgeEventContext): New struct.
1914 (atk_bridge_init_event_type_consts):
1915 New method, initializes type contants for comparison
1916 prior to emit_eventv.
1917 (atk_bridge_event_context_init): New method,
1918 initializes a CORBA_any from an AtkBridgeEventContext.
1919 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1920 initialize the event.any_data struct.
1921 (spi_atk_bridge_event_context_create): New method,
1922 creates an AtkBridgeEventContext from signal/event info.
1923 (spi_atk_bridge_event_context_free): New method.
1924 (spi_atk_emit_eventv): Changed to take an
1925 AtkBridgeEventContext parameter. We now initialize
1926 the event.any_data member prior to notifying the
1927 Registry, via the AtkBridgeEventContext.
1928 (spi_atk_bridge_property_event_listener):
1929 (spi_atk_bridge_state_event_listener):
1930 Match emit_eventv signature.
1931 (spi_atk_bridge_object_event_listener):
1932 Match emit_eventv signature, and create an
1933 event context from the event details.
1934 Free the event context afterwards.
1935 (spi_atk_bridge_window_event_listener):
1936 Create an event context, pass it to the
1940 (AccessibleEvent_getContextString):
1941 (AccessibleEvent_getContextObject):
1942 New methods, allow query of AccessibleEvent objects
1943 for more context details (via the "any_data" member
1944 of the Event struct, above).
1947 Definitions for AccessibleEvent_getContextString
1948 and AccessibleEvent_getContextObject.
1950 * cspi/spi_listener.h:
1951 (InternalEvent): New struct.
1954 (AccessibleEvent_getContextString):
1955 (AccessibleEvent_getContextObject):
1956 Implementations of new methods, for obtaining
1957 additional context information from some event types.
1959 * cspi/spi_registry.c:
1960 (SPI_registerGlobalEventListener):
1961 Added mention of active-descendant-changed event in docs.
1963 * cspi/cspi-bonobo-listener.c:
1965 Marshal the any into the AccessibleEvent via
1968 * libspi/spi-private.h:
1969 #include <orbit/orbit.h>
1971 (spi_init_any_string):
1972 (spi_init_any_object):
1973 New convenience function declarations.
1977 (spi_init_any_string):
1978 (spi_init_any_object):
1979 New convenience function implementations.
1981 * registryd/deviceeventcontroller.c:
1982 (spi_poll_dec_mouse_moved):
1983 (spi_device_event_controller_forward_mous_event):
1984 Initialize any_data member of event.
1985 (spi_deregister_controller_device_listener):
1986 Fix incorrect param pass which was preventing deregistration.
1988 * registryd/registry.c:
1989 (desktop_add_application):
1990 (desktop_remove_application):
1991 Add object data to event's any_data before dispatch.
1993 Fix for error messages from GAIL.
1995 * test/event-listener-test.c:
1996 Test new ContextString and "any_data" API:
1997 (report_text_event): New method query and output context string.
1998 (main): register a new text listener with report_text_event
2001 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2003 Fixes for bugs 98127 and 97914.
2004 * cspi/spi-roletypes.h:
2005 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2007 * cspi/spi-statetypes.h:
2008 Added SPI_STATE_MANAGES_DESCENDANTS
2010 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2011 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2012 * cspi/spi_accessible.c:
2013 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2014 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2015 Accessibility_STATE_MANAGES_DESCENDANTS
2016 * libspi/accessible.c:
2017 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2018 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2019 As requested by Bill, I also cleaned up the alignment.
2020 * libspi/relation.c:
2021 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2022 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2023 * libspi/stateset.c:
2024 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2025 Accessibility_STATE_MANAGES_DESCENDANTS
2026 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2027 Document changes reflecting modifications to roles.
2028 * docs/reference/cspi/tmpl/spi_relation.sgml:
2029 Document changes reflecting modifications to relations.
2030 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2031 Document changes reflecting modifications to states.
2033 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2036 Revved to 1.1.3, interface-age=3, binary-age=3.
2037 Added REBUILD macro.
2040 Removed accessx-gui from the tests, since we have a nice
2041 keyboard accessibility capplet now :-)
2043 * test/keysynth-demo.c:
2044 (increment_scan): removed do-nothing default: case,
2047 * test/visual-bell.c:
2048 (main) : removed do-nothing default: case,
2051 * cspi/spi_action.c:
2052 (AccessibleAction_getKeyBinding_):
2053 Documented keybinding string format.
2057 (AccessibleText_getAttributes):
2058 Documented the text attribute string format.
2059 It's changed to use semicolon delimiters also,
2060 to prevent clashes with CSS attributes, but the old
2061 trick of looking for ", " strings will still work
2062 (as unreliably as ever). Fix for bug related to 97916.
2065 Include <cspi/bonobo/cspi-bonobo-listener.h>
2066 Fixes build warning.
2067 (SPI_freeAccessibleKeySet):
2068 (AccessibleKeystrokeListener_addCallback):
2069 (AccessibleKeystrokeListener_removeCallback):
2070 Modify to use AccessibleDeviceListener API internally,
2071 instead of AccessibleKeystrokeListener.
2073 * idl/Accessibility_Event.idl:
2074 Added two more empty slots to EventListener (for a total of four).
2076 * idl/Accessibility_Accessible.idl:
2077 Added four empty slots to Accessible interface.
2079 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2081 * idl/Accessibility_Registry.idl:
2082 (KeyEventType, EventType):
2083 Marked KeyEventType as deprecated; it duplicates
2084 functionality of EventType, which has been extended to
2085 include Mouse-button events.
2086 (KeyEventTypeSeq): defined in terms of EventType.
2087 (registerDeviceEventListener, deregisterDeviceEventListener):
2088 New methods, for managing listeners to device events,
2089 which potentially may consume them.
2092 Added definition for AccessibleDeviceListener.
2094 * cspi/spi-listener.h:
2095 (enum AccessibleDeviceEventType):
2096 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2097 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2098 for backwards compat.
2099 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2100 and typedef'd AccessibleKeystroke to it for back-compat.
2101 (AccessibleDeviceListenerCB):
2102 New function prototype typedef.
2105 (AccessibleDeviceEventMask): New typedef.
2106 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2107 (AccessibleKeyMaskType):
2108 Set equivalent to AccessibleModifierMaskType for back-compat.
2109 (SPI_createAccessibleKeystrokeListener):
2110 (AccessibleKeystrokeListener_unref):
2111 Deprecated in favor of equivalent (better-named) new API below..
2112 keystroke listeners are like all device listeners.
2113 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2114 New API names for old features :-).
2115 (AccessibleDeviceListener_addCallback):
2116 (AccessibleDeviceListener_removeCallback):
2117 (SPI_registerDeviceEventListener):
2118 (SPI_deregisterDeviceEventListener):
2122 (SPI_createAccessibleKeystrokeListener):
2123 Use new preferred API, cspi_device_listener_new() and
2124 cspi_device_listener_add_cb().
2125 (AccessibleKeystrokeListener_removeCallback):
2126 Use new preferred API, cspi_device_listener_remove_cb().
2127 (AccessibleKeystrokeListener_unref):
2128 Use new preferred API, cspi_device_listener_unref().
2129 (SPI_createAccessibleDeviceListener):
2130 (AccessibleDeviceListener_addCallback):
2131 (AccessibleDeviceListener_removeCallback):
2132 Implementation of new API.
2134 * cspi/spi_registry.c:
2135 (SPI_registerDeviceEventListener):
2136 (SPI_deregisterDeviceEventListener):
2137 Implementation of new API. Fixed memory leak and removed need to
2138 allocate EventTypeSeq (thanks Michael for catching this).
2139 Squashed a wayward CORBA_exception_free that shouldn't get called.
2141 * cspi/bonobo/cspi-bonobo-listener.c:
2143 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2144 (cspi_key_event): renamed to cspi_device_event().
2145 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2146 Extended to handle mouse button events as well as key events.
2147 (CSpiKeystrokeListener):
2148 Class superceded by CSpiDeviceListener.
2149 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2150 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2152 * cspi/bonobo/cspi-bonobo-listener.h:
2153 (CSpiKeystrokeListener):
2154 Class superceded by CSpiDeviceListener.
2155 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2156 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2158 * libspi/Makefile.am:
2159 Replaced keystrokelistener.h and keystrokelistener.c
2160 with devicelistener.h and devicelistener.c; keystrokelisener.h
2161 stub retained for back-compat.
2163 * libspi/keystrokelistener.c:
2167 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2169 * registryd/deviceeventcontroller.c:
2170 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2171 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2172 (DEControllerPrivateData): Added xkb settings data.
2173 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2174 button release events (which can't be captured via XGrabButton).
2175 Don't dispatch via the 'normal' event mechanism if the device event was
2177 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2178 Handle the typeseq data in its new location (see above).
2179 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2180 New methods, for "generic" device listeners.
2181 (spi_controller_register_device_listener):
2182 Now handle mouse event listeners as well as key listeners.
2183 (spi_controller_notify_mouselisteners):
2184 New internal method.
2185 (spi_device_event_controller_forward_mouse_event):
2186 Now we notify mouse device listeners as well as generating the
2187 non-consumable "mouse:" events.
2189 We must check and restore the XKB
2190 modifier map if we consume the event, since the act of triggering
2191 a mouse event will normally reset the XKB latch. This is required for
2193 (spi_controller_register_with_devices):
2194 Load the XKB settings when registering, and register for XKB
2195 state notify events.
2196 (spi_key_eventtype_seq_contains_event):
2197 Renamed spi_eventtype_seq_contains_event, since it's used
2198 internally for all device event types now.
2199 (spi_key_event_matches_listener):
2200 Uses spi_eventtype_seq_contains_event now.
2201 (spi_device_event_controller_object_finalize):
2202 Free the private data and the XkbKeyboard struct.
2203 (impl_register_device_listener, impl_deregister_device_listener):
2204 Implementation of new IDL.
2205 (spi_deregister_controller_device_listener):
2206 New internal method.
2207 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2208 More efficient implementation, we don't have to create a new
2209 XkbControls structure every time we query.
2210 (spi_device_event_controller_class_init):
2211 Initialize the epv entries for the new IDL. Assign the
2212 "spi-dec-private" quark.
2213 (spi_device_event_controller_init):
2214 Initialize the private data.
2215 (spi_device_event_controller_forward_key_event):
2216 Removed a bogus CORBA_exception_free() call.
2218 * registryd/deviceeventcontroller.h:
2219 Replaced inclusion of keystrokelistener.h with
2222 * test/event-listener-test.c:
2223 (report_mouse_event):
2226 Added mouse-event device listener.
2228 * test/test-simple.c:
2229 (create_test_window):
2230 Fixed regression (we were instantiating a GtkRange,
2231 which is now an abstract class). Also fixed to match
2232 existing AtkRole names, this seems to have changed in ATK
2233 awhile ago; too late now I think, and the new
2234 mechanism is at least elegant and consistent with the
2235 glib enum "nick" APIs.
2237 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2239 * idl/Accessibility_Relation.idl:
2240 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2241 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2242 * idl/Accessibility_Role.idl:
2243 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2244 * idl/Accessibility_State.idl:
2245 add STATE_MANAGES_DESCENDANTS
2246 * test/event-listener-test.c:
2247 Added a listener for active-descendant events.
2249 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2251 * atk-bridge/bridge.c
2252 (atk_bridge_init): If application is Bonobo component wait until top
2253 level is added before registering
2254 (spi_atk_bridge_do_registration): New function which contains code,
2255 formerly in atk_bridge_init, to do application registration.
2256 (spi_atk_bridge_toplevel_added): Signal called when top level
2257 added to Bonobo component
2259 This fixes bug #83134.
2261 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2263 * registryd/deviceeventcontroller.c
2264 Fixed compilation error caused by calling gettimeofday()
2267 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2272 Added template for HAVE_XKB.
2275 Changes to check for XKB, and to set the HAVE_XKB #define if it
2278 * libspi/listener.c:
2279 ()impl_notify_event): Make failure to get event source name
2282 * registryd/deviceeventcontroller.c:
2283 (#include): include X11/XKBlib.h.
2284 (DEControllerPrivateData) : New struct.
2285 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2287 (dec_synth_keycode_press) (dec_synth_keycode_release):
2288 New methods; split the key synthesis code into these methods.
2289 They check XKB settings before determining the "time" values to
2290 pass to Xtest; this fixes bug #95828.
2291 (impl_generate_keyboard_event): Changed to use methods above,
2292 instead of callng Xtest directly.
2293 (spi_device_event_controller_init): Initialize new privae struct s
2295 (spi_device_event_controllr_object_finalize):
2296 Free the (new) private data.
2298 * registryd/deviceeventcontroller.h:
2299 Add new gpointer to end of struct data.
2301 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2304 Incremented revision to 1.1.2, SONAME is still '.so', library
2305 extensions are ".so.0.0.2".
2307 * registryd/deviceeventcontroller.c:
2308 FIXES FOR #93592 and #95940.
2309 (statics): renamed mouse_button_state to mouse_mask_state,
2310 added key_modifier_mask.
2311 (spi_dec_poll_mouse_moved):
2312 Added key modifier checks, and emit "keyboard:modifiers"
2313 events when the key modifiers currently in use change.
2314 Also generate "mouse:abs" events periodically, even if the mouse
2315 is stationary (should we?).
2316 Alternatively we could generate "mouse:abs" events for either all
2317 mouse movements, or every 'nth' mouse movement, or at the
2318 beginning and end of every "active" mouse period.
2320 * test/event-listener-test.c:
2321 (main): Added listener for "keyboard:modifiers" events.
2323 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2325 * libspi/keymasks.h:
2326 Added key mask #defines for mouse buttons; e.g.
2327 SPI_KEYMASK_BUTTON1, etc.
2330 Incremented dependency on ATK to version 1.1.0. (This dependency
2331 is probably premature but will soon be real enough).
2333 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2335 * libspi/hyperlink.[ch]
2336 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2337 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2340 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2345 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2347 * registryd/deviceeventcontroller.c
2348 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2349 events to be ignored.
2350 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2351 keyboard_mode so that XAllowEvents() can be called.
2355 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2357 * cspi/spi-accessible.c: Correct names of roles returned by
2358 AccessibleRole_getName(). Fixes bug #95055.
2360 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2362 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2365 * registryd/registry.c
2366 (desktop_remove_application: Write diagnostic message to stderr for
2369 (impl_accessibility_registry_deregister_global_event_listener):
2370 Correct size of lists array. This addresses bug #94555).
2372 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2374 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2377 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2379 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2382 * registryd/registry.c (impl_registry_notify_event): Remove
2383 unnecessary call to parser_event_type().
2385 * docs/reference/cspi/tmpl/spi_component.sgml:
2386 Add reference to SPI_LAYER_WINDOW.
2388 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2390 * registryd/registry.c
2391 (desktop_add_application): Remove leak.
2392 (desktop_remove_application): Remove leak.
2393 (parser_event_type): Remove leak.
2395 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2397 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2398 bogus call to CORBA_string_dup(). Also removed unnecessary
2399 g_string_dup/g_free calls.
2401 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2403 * registryd/deviceeventcontroller.c:
2404 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2406 * test/event-listener-test.c:
2407 main: commented out three redundant listeners, to reduce output
2408 noise. (They still are potentially useful for testing).
2411 2002-09-13 Michael Meeks <michael@ximian.com>
2413 * Update all the copyrights to include Ximian.
2415 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2417 * cspi/spi.h: add SPI_LAYER_WINDOW.
2419 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2420 add Accessibility_LAYER_WINDOW case.
2422 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2424 * libspi/component.c: (impl_accessibility_component_get_layer):
2425 add ATK_LAYER_WINDOW case.
2427 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2429 * configure.in: incremented micro version.
2431 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2433 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2436 Clarified and reworded our commit policy.
2439 Started an API "todo" addition list for 2.2.
2442 (impl_getSelection):
2443 Free char pointer from atk_text_get_selection, which was being leaked.
2445 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2448 Small revision to author acknowledgement.
2450 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2452 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2453 If signal has detail add it to the type of the event.
2456 2002-08-12 Michael Meeks <michael@ximian.com>
2458 * test/test-simple.c (global_listener_cb): bin bogosity.
2459 (test_keylisteners): disable, still doesn't work reliably,
2460 certainly not on my system anyway.
2462 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2463 don't leak a reference on the DEC. This round-trip
2464 fetching of the DEC per keystroke sucks, it should be
2467 * cspi/spi-private.h,
2468 * cspi/cspi-lowlevel.h,
2469 * cspi/bonobo/cspi-bonobo-listener.[ch],
2470 * cspi/bonobo/cspi-bonobo.c: get the copyright
2471 notices better - there is still a large amount of
2472 work in at-spi falsely attributed solely to Sun.
2474 * cspi/spi_main.c (cspi_object_ref): kill bogus
2475 hash lookup, just increment the ref.
2476 (SPI_freeString): make explicit the fact that we
2477 handle NULL strings just fine.
2478 (report_leaked_ref): obey coding standards.
2479 (cspi_object_hash, cspi_object_equal): kill retval.
2480 (cspi_object_release): only release if not on loan.
2481 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2482 (cspi_object_borrow, cspi_object_return): impl.
2484 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2485 use cspi_object_borrow / return.
2487 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2489 * cspi/bonobo/cspi-bonobo-listener.c:
2491 Don't call cspi_oject_new() because this is creating a new Accessible
2492 every single time that an event is fired. This causes ATs like at-poke
2493 to nolonger recognise the source of the event and thus ignore it.
2494 Re-use the object from the cache, ref it and then unref it after the
2495 listeners have been called.
2497 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2499 * test/event-listener-test.c:
2500 Added command-line options to disable mouse events (m) and
2503 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2505 * configure.in: Update required versions of ATK, GTK+ and GAIL
2507 * cspi-1.0.pc.in: Add dependency for X include files
2510 * cspi/bonobo/Makefile.am:
2511 Add $(X_CFLAGS) so that X include files
2512 are picked up even if not in standard place (bug #71686)
2514 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2516 * registryd/deviceeventcontroller.c: fix for 84261
2517 (spi_dec_mouse_moved):
2518 Added test of mouse button mask, so that we can detect mouse
2519 button release. Unfortunately we can't otherwise detect mouse
2520 button release events without consuming the mouse press event,
2521 because of the way XGrabButton works. This means that our mouse
2522 release events have a latency dependent on the polling period
2523 while the mouse button is down. At least in this case we only
2524 have to poll while the button is down, and not at other times.
2525 If the button masks don't match with what the last press event
2526 reported, we report the appropriate button release event.
2527 (spi_dec_ungrab_mouse):
2528 New method (not yet called).
2529 (spi_device_event_controller_forward_mouse_event):
2530 New method, sends mouse press event from GdkFilter.
2531 (spi_dec_init_mouse_listener):
2532 Added code to call XGrabButton, redirecting mouse button events to
2533 the root window and our Gdk event loop.
2535 Added code to filter mouse button events, and reordered.
2537 * test/event-listener-test.c:
2539 Added registration for mouse events of type "mouse:button".
2541 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2543 * registryd/deviceeventcontroller.c: partial fix for 84261
2544 (spi_dec_poll_mouse_idle):
2545 New method, a timeout which checks to see if the mouse
2547 (spi_dec_poll_mouse_moving):
2548 A timeout to be called when mouse motion is underway.
2549 (spi_dec_poll_mouse_moved):
2550 A method which fires an event if the mouse has moved, and reports
2551 whether or not it did so.
2552 (spi_dec_init_mouse_listener):
2553 A method which sets up the timeouts above.
2554 (spi_device_event_controller_new):
2555 Now calls spi_dec_init_mouse_listener.
2557 * registryd/registry.c:
2558 (spi_registry_init):
2559 Now we initialize the device event controller when the registry is
2560 initialized, instead of waiting until a client has requested a key
2561 event notification; this is because we need the event controller
2562 for mouse events, but the mouse event registration API is a
2563 "registry" call and doesn't explicitly call the
2564 deviceeventcontroller.
2565 We now report mouse motion events with a 100 ms idle latency and
2566 a 20 ms granularity when motion is in progress.
2568 * test/event-listener-test.c:
2570 We now register the "detail listener" for events of type
2571 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2572 delivered only for the first mouse event received, and thereafter
2573 "mouse:abs" events are delivered.)
2575 * cspi/spi_registry.c:
2576 DOCS: Documented the above mouse event typestrings.
2578 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2580 Happy Summer Solstice...
2582 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2583 (spi_controller_notify_keylisteners):
2584 Changes to remove a listener from the listener list, freeing its
2585 open keygrabs, if a notification to that listener fails. This
2586 means that although a dead listener can continue to hold a passive
2587 keygrab, a maximum of one dispatch to such a listener can fail
2588 before the listener is removed from the list, thus the keygrab
2589 will be released on the next occurrence.
2590 As part of this fix:
2591 (spi_notify_keylisteners):
2592 Renamed to spi_controller_notify_keylisteners, as the controller
2593 instance must now be passed as an argument.
2594 The copied 'notify' GList is now a list of DEControllerKeyListener
2595 objects, since we need more than just the CORBA reference if a
2596 notify fails and we need to deregister the listener.
2597 (impl_notify_listeners_sync):
2598 (impl_notify_listeners_async):
2599 (spi_device_event_controller_forward_key_event):
2600 Modify use of notify_keylisteners in accordance with above
2602 (spi_deregister_controller_key_listener):
2603 New method introduced by refactoring, from
2604 impl_deregister_keystroke_listener.
2605 (impl_deregister_keystroke_listener):
2606 Call spi_deregister_controller_key_listener.
2607 (spi_key_listener_clone):
2608 New method to copy a key listner without doing a 'ref' on the
2609 remote object instance; used to create a notifier list.
2610 (spi_key_listener_data_free):
2611 New method, frees data without unreffing the source.
2613 (spi_key_listener_clone_free): new method.
2614 (spi_key_listener_free):
2615 refactored to call spi_key_listener_data_free.
2617 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2619 * registryd/registry.c: [fix for bug 86048]
2620 (notify_listeners_cb):
2621 Clear CORBA system exceptions which occur when notifying
2622 listeners, before returning to the source of the original event,
2623 since the event source doesn't care if the relayed notify failed.
2624 In other words, don't complain to the atk-bridge if the registry
2625 could not notify all its listeners, that's no fault of the
2626 application and thus should not appear to be an error from the
2627 application's perspective.
2629 * cspi/spi_main.c: [fix for bug 85980]
2631 Replaced use of bonobo_object_dup_ref with call to the wrapper
2632 method, csou_dup_ref (); this silences a compiler warning and
2633 provided more portability.
2635 Ping the registry before return, and restart if necessary.
2637 * cspi/bonobo/cspi-bonobo.c:
2639 New internal method.
2641 Fixed this method to return an object reference, as it should have
2644 * cspi/cspi-lowlevel.h:
2645 Added internal definition for cspi_ping() and fixed
2646 return type of cspi_dup_ref().
2649 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2651 * atk-bridge/bridge.c: [fix for bug 85305]
2652 (spi_atk_bridge_register_application):
2653 New method where the initial application registry calls have been
2654 moved; it allows an application to re-register in response to
2655 certain error conditions (such as a registry restart, see below).
2657 Moved some initialization code to the method
2658 spi_atk_bridge_get_registry, below.
2659 (spi_atk_bridge_get_registry):
2660 New, private accessor function for the Accessibility_Registry
2661 instance. If the registry has not been started before, or has
2662 died (as detected by failure of a CORBA exception), it is
2663 restarted before return, and spi_atk_bridge_register_application
2664 is called again to register with the new bridge instance.
2665 (spi_atk_emit_eventv):
2666 Set registry_died on error; use spi_atk_bridge_get_registry () to
2667 access the registry.
2669 * registryd/registry.c:
2670 (impl_accessibility_registry_register_global_event_listener):
2671 Set listener's event_type_quark to etype.minor instead of
2672 etype.major (fix for bug 84856).
2674 * test/event-listener-test.c:
2675 (report_detail_event):
2676 Change the output string so that user/tester can tell that the
2677 'detail listener' was called instead of the 'generic listener'.
2679 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2681 Fixes for bugs 84900, 84908, 84897, 84898.
2686 Revved version to 1.1.0
2687 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2688 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2690 * idl/Accessibility_Registry.idl:
2691 (EventListener::notifyEvent):
2692 Removed 'oneway' directive after extensive consulation with
2693 ORBit2 team and others. This means also that unref() of the event
2694 source can and should be done synchronously after emission, rather
2695 than remotely in the client, after servicing the notify call on
2698 NOTE: This change speeds up listener performance considerably, but
2699 introduces new latency on the application side. We may want to
2700 add an event queue to the atk-bridge.
2702 * atk-bridge/bridge.c:
2703 (spi_atk_bridge_focus_tracker):
2704 Do a local unref() on the event source after emission.
2706 * registryd/registry.c:
2707 (desktop_remove_application):
2708 Do an unref() on the event source after emission.
2709 (desktop_add_application):
2710 Do an unref() on the event source after emission.
2711 (notify_listeners_cb):
2712 When relaying an event, don't automatically add the event source
2713 to the local object cache, just CORBA_dup it instead. Likewise,
2714 if this method reenters, release the ref rather than calling
2716 (impl_registry_notify_event):
2717 No longer call remote unref() on the event source after dispatch.
2719 * libspi/eventlistener.c:
2720 (impl_accessible_event_notify_event):
2721 Removed remote unref ()
2723 * cspi/bonobo/cspi-bonobo-listener.c:
2725 We now call cspi_object_new() instead of cspi_object_add() on
2726 receipt of an event; thus we only have an implicit object ref
2727 while the cspi_event method is being executed. If we need to keep
2728 a reference to the object, the listener must call ref() on the
2729 object. Thus also we don't need to call cspi_object_unref() after
2730 invoking the listener callbacks in this method.
2734 New internal API for creating a new cspi object, without adding it
2735 to the object cache.
2737 Now uses cspi_object_new() to create the cspi object instance.
2739 Now checks to see if the object is in the internal object cache,
2740 and adds it if necessary before incrementing its refcount (note
2741 that new objects are added with a refcount of 1).
2742 (report_leaked_ref):
2743 New method which gives some information on leaked object instances
2744 if leak detection is turned on.
2746 * test/event-listener-test.c:
2747 (timing_test_event):
2748 New method, used for testing event delivery timing for special
2749 events of type "object:test". It reports elapsed time and
2750 events/sec every 500 events.
2752 Added a new listener, 'test listener', to check timing of event
2753 receipt as noted above.
2755 Added some timing output here also, reports elapsed time every 100
2758 * test/stress-test.c:
2759 Emit events of type "object:test", for use with "event-listener-test".
2761 * test/test-simple.c:
2762 (global_listener_cb):
2763 Call Accessible_ref() on the event source before calling
2764 validate_accessible, since the validation process does pointer
2765 comparisons on the event source, meaning that the event source
2766 needs to be added to the local object cache first. Any use of
2767 such pointer comparisons between Accessible objects requires that
2768 the caller hold an explicit reference to those objects.
2769 We also must therefore call Accessible_unref() when leaving this method.
2771 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2773 * registryd/deviceeventcontroller.c:
2774 (spi_controller_update_key_grabs):
2775 Fix for #84735, subsequent keygrab listeners not informed of
2776 registration failure.
2779 (spi_base_construct):
2780 Add an assertion on construct, to make sure the GObject passed in
2781 is really a GObject.
2783 Explicitly initialize object->gobj pointer to NULL;
2785 * cspi/bonobo/cspi-bonobo-listener.c:
2786 (cspi_object_add_ref):
2787 New method, can specify whether to dup-ref a bonobo object passed
2788 in if it's newly added to the object cache.
2790 Now calls cspi_object_add_ref with second param of "FALSE". This
2791 prevents us from doing a pointless dup-ref followed by
2792 release-unref for all those cases where the object is already in
2793 our object cache (fix for #85205).
2795 * atk-bridge/bridge.c:
2796 (spi_atk_bridge_idle_init):
2797 Removed this method, we don't need to initialize in an idle
2800 Changed to call spi_atk_register_event_listeners directly, not via an
2801 idle handler. (fix for #81139)
2802 (gnome_accessibility_module_shutdown):
2803 Removed conditional around deregistration of listeners, since we
2804 don't use the idle handler and thus have always registered when
2806 (spi_init_keystroke_from_atk_key_event):
2807 Changed references to Accessibility_KEY_PRESSED to
2808 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2810 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2812 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2817 * test/stress-test.c:
2820 (may have been an incomplete commit yesterday?)
2822 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2825 Added target for new stress-test.
2827 * test/stress-test.c:
2828 New test, sends 1000 focus notifies in quick succession.
2830 * test/key-listener-test.c:
2831 Now we report whether a keylistener registration
2832 request succeeded or failed.
2834 * test/event-listener-test.c:
2835 Uncommented some listeners which are now implemented.
2838 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2840 * registryd/deviceeventcontroller.c:
2841 (spi_controller_update_key_grabs):
2842 Fix for #82509, lack of failure notification when
2843 ALL_WINDOWS keygrabs fail due to XGrabKey
2844 failure: we synchronize the server when
2845 registering a passive grab, to make sure we get the
2846 error message before the call returns.
2848 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2850 * test/test-simple.c:
2852 Removed #ifdef KEY_IMPL_WORKS guards.
2853 (test_keylisteners):
2854 Removed #ifdef KEY_IMPL_WORKS guards.
2855 Fixed bug which was causing a hang waiting for a
2856 "press" event (which was already overwritten by a "release"
2857 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2859 Added code to set globals 'key_press_received' and
2860 'key_release_received'.
2863 Added section "1.1 API Proposed Additions" which
2864 lists API additions desired for at-spi-1.1 (only one so far).
2865 Updated TODO list a little.
2867 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2869 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2872 * configure.in: Revved to 1.0.0.
2874 * idl/Accessibility_Registry.idl:
2875 (registerKeystrokeListener):
2876 Added boolean return value.
2878 * registryd/registry.c:
2879 (notify_listeners_cb): Minor fix to debug output.
2881 * registryd/Accessibility_Registry.server.in.in:
2882 Revved version number in OAFIID to 1.0.
2884 * registryd/registryd.c:
2886 Use new OAFIID version.
2888 * cspi/bonobo/cspi-bonobo.c:
2890 Use new OAFIID version.
2896 * atk-bridge/bridge.c:
2898 Use new OAFIID version.
2900 * registryd/deviceeventcontroller.c:
2901 (impl_register_keystroke_listener):
2902 Added CORBA_boolean return value.
2903 (spi_controller_register_device_listener):
2904 Added gboolean return value.
2905 (spi_controller_register_global_keygrabs):
2906 Added gboolean return value.
2907 (spi_key_set_contains_key):
2908 Added implementation for many more control keys,
2909 for instance F1-F12, arrow keys, End, Home, Page_Up,
2911 [TODO: some still not implemented].
2913 * text/screen-review-test.c:
2914 (text_chunk_pad_string):
2915 New function: it provides mapping between coordinate
2916 positions of text chunks and character positions in the
2917 screen-review-line output string.
2918 (text_chunk_to_string):
2919 New function, calls text_chunk_pad_string with various
2920 pad/delimiter characters. Pushbuttons are delimited with
2921 square brackets, Frames with vertical 'pipe' lines, and
2922 other text with double quotes.
2923 (text_chunk_list_to_string):
2924 Calls new function text_chunk_to_string.
2925 (toplevel_composite):
2926 New function to composite layers CANVAS through
2927 POPUP in each toplevel (other layers are composited
2928 across toplevels, i.e. BACKGROUND and OVERLAY).
2929 (review_buffer_composite):
2930 Revise to use new methods.
2936 2002-05-31 Laszlo Peter <laca@sun.com>
2938 * configure.in: add the Xtst libdir to the runpath on Solaris,
2939 since it's not in the default library search path.
2941 2002-05-29 jacob berkman <jacob@ximian.com>
2943 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2945 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2947 * test/screen-review-test.c:
2948 (text_chunk_pad_string):
2949 Added method, which pads the string according to the
2950 text bounds of the chunk. It also takes a 3-character
2951 string as a param which indicates the characters to be
2952 used for start, padding, and end delimitation of the chunk.
2953 (text_chunk_to_string):
2954 Changed to use text_chunk_pad_string.
2956 * configure.in: Fixed bug in AC_OUTPUT that was
2957 causing path substitution in Accessibility_Registry.server
2960 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2962 * text/screen-review-test.c:
2963 (guess_string_clip):
2964 New method which attempts a best-guess at clipping
2965 text from components (like Java labels) which don't
2966 actually implement AccessibleText. This inaccurate
2967 clip is based on the assumption that the label is
2968 justified left-and-right, and monospaced.
2969 (text_chunk_get_clipped_string):
2970 We now call guess_string_clip() for text-containing
2971 components that don't implement AccessibleText.
2973 * test/screen-review-test.c:
2974 (review_buffer_get_text_chunk):
2975 We now pull "name" from labels if they do not implement
2976 AccessibleText (i.e. for Java labels).
2977 (get_screen_review_line_at):
2978 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2981 Replaceded AC_OUTPUT target
2982 registryd/Accessibility_Registry.server with
2983 registryd/Accessibility_Registry.server.in.
2985 * registryd/Accessibility_Registry.server.in:
2986 Removed (this is now a Makefile target).
2988 * registryd/Accessibility_Registry.server.in.in:
2989 Added (source for target above). We now use $(libexecdir) as
2990 prefix for the executable at-spi-registryd.
2992 * registry/Makefile.am:
2993 Now install at-spi-registryd into $(libexecdir), and build .server
2994 file with path (see above).
2996 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2998 * test/screen-review-test.c:
2999 (text_chunk_get_clipped_string):
3000 We now check to see if words fall within clip bounds
3001 before resorting to character-by-character clip bounds testing.
3003 * TODO: Added a section for "2.2 Proposed API Additions".
3005 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3007 * test/screen-review-test.c:
3009 Added a screen review benchmarking and test program to test
3012 * cspi/spi_accessible.c:
3014 Made some of the debug strings passed to cspi_check_ev a
3015 little more specific.
3017 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3019 * test/screen-review-test.c: Fix crashes in debug statements
3021 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3023 * test/screen-review-test.c: Added this file.
3025 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3027 * atk-bridge/bridge.c: changed "object:state-change" to
3028 "object:state-changed" to match docs.
3030 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3032 * atk-bridge/bridge.c: Hooked up state-change event details.
3034 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3036 * registryd/registry.c:
3037 Fixed quarking bug in event string parsing; now events with
3038 detail parameters get matched correctly to listeners.
3041 * util/idl/Magnifier.idl: remove.
3043 * util/*.[ch]: Remove.
3044 Magnification utilities and IDL are now in module gnome-mag.
3046 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3048 * registryd/deviceeventcontroller.c:
3049 Fixed bug in grab key conversion which was causing keycode grabs
3050 to be converted to AnyKey grabs.
3053 updated NEWS file to reflect recent spin-off of gnome-mag.
3055 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3057 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3058 busted AccessibleStateSet_compare. Removed redundant casts.
3060 * cspi/spi-action.c: Removed redundant casts.
3062 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3064 * cspi/spi_component.c: Fixed typos and casting error.
3066 * cspi/spi_editabletext.c: Removed redundant casts.
3068 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3070 * cspi/spi_hypertext.c: Eliminated redundant casts.
3072 * cspi/spi_image.c: Eliminated redundant casts.
3074 * cspi/spi_registry.c: Eliminated redundant casts.
3075 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3076 * cspi/spi_selection.c: Removed redundant casts.
3077 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3078 handling. Screen geometry and text offsets were being returned as 0
3079 on error which is technically valid-- changed these to return -1.
3080 Added marshaller for text boundary types to fix bug with boundary
3081 types being passed incorrectly to atk.
3083 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3086 * cspi/spi_registry.c:
3087 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3088 which was uncovered by the recent key changes.
3090 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3092 * test/event-listener-test.c:
3094 Added new test, "event-listener-test";
3095 this code does two things; it benchmarks traversal time
3096 for the accessible hierarchy for the first running accessible
3097 app, and it connects listeners for all supported event types.
3098 It is thus useful as an example event listener and for
3099 diagnostics/debugging of event generation.
3101 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3104 Removed unnecessary dependency on libutil.
3107 Revved micro version: 0.13.1
3109 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3112 Removed util/Makefile from targets.
3115 Removed util subdir from SUBDIRS (temporarily,
3116 pending removal of magnifier-only code
3120 #ifdef-ed out magnifier dependencies, since
3121 magnifier IDL, headers, and binary now live in
3122 module gnome-mag and we don't want at-spi to depend
3123 on gnome-mag. A magnifier demo which can run alongside
3124 simple-at is forthcoming in the gnome-mag module.
3126 NOTE: Split magnifier binary, IDL, and magnification
3127 activation code from at-spi into module gnome-mag.
3129 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3131 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3132 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3134 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3137 Revved to version 0.13.0
3139 * idl/Accessibility_Registry.idl:
3140 Changed definition of KeySet from sequence of longs to sequence of
3141 KeyDefinitions, and added KeyDefinition struct.
3142 Required for fix to bug 80616.
3144 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3145 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3146 to use new definition (see above).
3148 * registryd/deviceeventcontroller.c: handle_keygrab(),
3149 spi_keyset_contains_key():
3150 Changed to make use of new struct; this allows matching based on
3151 string key-name, for instance "Tab". This also allows matching of
3152 composed characters, non-alphanumeric characters in a way that
3153 doesn't involve dependencies on X keysym codes directly, etc.
3155 * test/key-listener-test.c:
3156 Added test for Alt-Tab key using "string" specification of keyset,
3157 and modified one of the tests to use a keycode-based keyset.
3158 Thus this test both tests and demonstrates the creation and use of
3159 keysets of three forms: specified via keycode array,
3160 keysym array, and string array. (The string case only contains a
3161 single string, i.e. a string array of length 1).
3164 Turned on PRINT_TREE option by default. Also fixed a
3165 string-freeing bug in the PRINT_TREE code.
3166 Added a listener to window:minimize events.
3168 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3170 * atk-bridge/bridge.c:
3171 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3172 for window:activate and window:deactiveate
3173 (atk_bridge_property_event_listener atk_bridge_signal_listener
3174 atk_bridge_window_event_listener) Tidy debug code
3176 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3178 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3179 Fixed handling for NULL return value from ATK.
3181 * libspi/action.c libspi/component.c libspi/editabletext.
3182 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3183 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3184 Removed redundant casts.
3186 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3187 Fixed off by one bug.
3189 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3190 function not present in idl)
3192 2002-05-02 jacob berkman <jacob@ximian.com>
3194 * atk-bridge/Makefile.am: make atk-bridge a real module
3196 2002-04-26 Radek Doulik <rodo@ximian.com>
3198 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3199 atk_state_types table
3201 2002-04-22 jacob berkman <jacob@ximian.com>
3204 * libspi/Makefile.am: add deps on the built files to help
3205 automake, and don't version the ORBit typelib
3207 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3209 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3210 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3211 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3212 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3213 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3214 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3215 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3216 libspi/accessible.h libspi/accessible.h libspi/base.h
3217 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3218 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3219 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3220 libspi/spi-private.h libspi/statetset.h libspi/table.h
3221 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3222 util/mag_client.h util/mag_control.c util/mag_image.c
3223 util/mag_image.h util/magnifier.c util/magnifier.h:
3224 Add missing file headers; standardize existing ones
3226 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3228 * atk-bridge/bridge.c: Added window event support.
3230 2002-04-18 Michael Meeks <michael@ximian.com>
3232 * libspi/relation.c (impl_getNTargets): impl.
3233 (impl_getTarget): impl.
3235 * libspi/Makefile.am: fix stateset install.
3237 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3240 Started putting useful info in this file.
3242 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3244 * atk-bridge/bridge.c:
3245 Propagate state-changed notifications to ATs
3247 * cspi/spi_registry.c: update docs to reflect actual behavior of
3248 state-change events.
3250 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3253 Incremented version to 0.12.1
3255 * util/mag_client.h:
3256 Add missing declaration for magnifier_exit,
3257 used by mag_control.c - Forte compiler didn't like
3258 the implicit redeclaration of the function :-(
3261 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3264 Revved version to 0.12 due to API change (see below).
3266 * cspi/spi-roletypes.h:
3267 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3268 definition from the inline docs, and added docs
3269 for SPI_ROLE_LAST_DEFINED.
3272 * cspi/spi_streamablecontent.c:
3273 Added missing seek_type parameter to
3274 (so far unused) method,
3275 AccessibleStreamableContent_seek().
3276 [ RT approval JodyG. ]
3279 Fixed docs for SPI_createAccessibleKeystrokeListener.
3281 * cspi/spi_registry.c:
3282 Fixed docs for SPI_KEYSET_ALL_KEYS.
3284 * docs/reference/cspi/at-spi-cspi-sections.txt:
3285 Added a number of missing APIs to SECTIONS.
3287 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3289 * registryd/Makefile.am:
3291 * cspi/bonobo/Makefile.am:
3292 Add $(X_LIBS) to makefiles.
3294 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3297 Revved version to 0.11.
3299 * libspi/component.c:
3300 Added implementation for grabFocus.
3302 * idl/Accessibility_Component.idl
3303 (Accessibility_Component_grabFocus):
3304 Made this method return boolean to indicate success or failure, to
3305 be consistent with cspi and the corresponding ATK method.
3307 * idl/Accessibility_Selection.idl
3308 (Accessibility_Selection_selectAll) :
3309 Made these methods return boolean to indicate success or
3310 failure, to be consistent with cspi and the corresponding ATK methods.
3312 * idl/Accessibility_EditableText.idl
3313 (Accessibility_EditableText_setTextContents,
3314 Accessibility_EditableText_insertText,
3315 Accessibility_EditableText_cutText,
3316 Accessibility_EditableText_deleteText,
3317 Accessibility_EditableText_pasteText):
3318 Made these methods return boolean to indicate
3321 * cspi/spi_editabletext.c:
3322 Made these methods return booleans.
3324 * libspi/selection.c:
3325 * libspi/component.c:
3326 * libspi/editabletext.c:
3327 Connected the boolean returns from ATK
3328 to the server-side code referenced above.
3330 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3332 * idl/Accessibility_Table.idl: Added missing methods,
3333 Accessibility_Table_addRowSelection,
3334 Accessibility_Table_addColumnSelection,
3335 Accessibility_Table_removeRowSelection,
3336 Accessibility_Table_removeColumnSelection.
3339 Added C wrappers for above IDL:
3340 AccessibleTable_addRowSelection,
3341 AccessibleTable_addColumnSelection,
3342 AccessibleTable_removeRowSelection,
3343 AccessibleTable_removeColumnSelection.
3346 Added server-side implementation code for IDL above, connecting
3347 to pre-existing ATK api.
3349 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3351 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3353 * libspi/accessible.c: Added implementation fo
3354 Accessibility_Accessible_get_state.
3356 * libspi/libspi.h: Added stateset.h to the list of includes.
3358 * libspi/stateset.c: Fixed broken implementation.
3360 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3363 Added implementation code for Accessibility_Magnifier_exit ().
3365 * util/mag_control.c:
3366 Added test code for above method; you can
3367 now kill an existing magnifier via
3368 ./mag_control q, from the util directory.
3370 * test/key-listener-test.c:
3372 Added a new test, for our key listener API.
3374 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3376 * test/app.c, test/keysynth-demo.c:
3378 Replace use of snprintf with g_snprintf.
3379 (fix for bugzilla 78249)
3381 2002-03-27 Michael Meeks <michael@ximian.com>
3385 * util/Makefile.am (INCLUDES): fix.
3386 (DONT_DIST_SOURCE): don't distribute the
3389 * libspi/Makefile.am (dist-hook): ditto.
3391 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3393 * libspi/hypertext.c:
3394 Fix warnings when yelp is used with atk-bridge
3396 2002-03-21 Michael Meeks <michael@ximian.com>
3398 * libspi/application.c (spi_application_new):
3399 use spi_accessible_construct so we use the AtkObject
3402 2002-03-19 Michael Meeks <michael@ximian.com>
3404 * registryd/registry.c (desktop_remove_application),
3405 (desktop_add_application): clean coding style.
3407 * registryd/desktop.c (spi_desktop_remove_application),
3408 (spi_desktop_add_application): kill re-enterency hazards.
3409 (spi_desktop_dispose): remove bogus redundant cast
3410 obscuring bug; fix bug too.
3411 (spi_desktop_init): make the desktop object immortal.
3413 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3416 Added a #define-guarded tree-traversal step
3417 when enumerating the apps (diagnostic tool).
3419 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3421 * idl/Accessibility_Role.idl:
3422 Added ROLE_DRAWING_AREA which seemed to be missing from the
3425 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3427 * cspi/spi-roletypes.h cspi/spi_accessible.c
3428 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3431 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3432 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3433 AT when applications are added and removed from the desktop. This
3434 reverts the previous broken implementation using the backing
3435 AtkObject for the SpiDesktop.
3437 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3439 * registryd/desktop.c: emit the "children-changed::add" and
3440 "children-changed::remove" signals on the backing ATK object for
3441 the desktop so AT can tell when applications are started and shut
3444 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3446 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3448 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3450 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3452 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3454 * cspi/state-types.h: synched with IDL and ATK
3456 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3458 * libspi/accessible.c
3459 (impl_accessibility_accessible_get_child_at_index):
3460 Change return value for g_return_if_fail ()
3461 to CORBA_OBJECT_NIL instead of "0" (!)
3463 * registryd/Makefile.am:
3464 * registryd/Accessibility_Register.server.in:
3465 Changed name of executable, "registryd",
3466 to something more informative:
3469 2002-03-13 Michael Meeks <michael@ximian.com>
3471 * atk-bridge/bridge.c (atk_bridge_init): don't register
3472 if we're in a bonobo-component, rather than a bonobo app.
3474 2002-03-13 Michael Meeks <michael@ximian.com>
3476 * atk-bridge/bridge.c (gtk_module_init): split
3477 out body to (atk_bridge_init): here, since otherwise
3478 we get symbol conflicts and oddness when invoked
3479 from (gnome_accessibility_module_init): here (upd.)
3481 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3484 New file. Explicitly allow "build sheriff" putbacks provided
3485 they are tested on Solaris.
3487 * docs/reference/cspi/Makefile.am:
3488 Added '-' to the "cp" command for index.sgml.
3489 ("patch by thomasvs, soon coming to a GUADEC near you")
3492 Incremented version number (0.9.0) for new release.
3493 Changed macro that checks for popt, to better detect
3494 obsolete versions of popt.
3497 Added X_LIBS to AC_SUBST, for applications
3498 that call Xlib API directly.
3501 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3504 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3507 Fix regression caused by hard-coding major
3508 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3511 * test/test-simple.c (test_editable_text),
3512 (test_test): revert previous change (error was
3513 a regression in gail which is now fixed).
3515 2002-03-04 Michael Meeks <michael@ximian.com>
3517 * test/test-simple.c (test_editable_text),
3518 (test_text): pass G_MAXINT instead of '-1' for
3519 whole string - is this a good thing !?
3521 * cspi/spi_accessible.c
3522 (Accessible_getRelationSet): fix crasher bug
3523 overwriting the end of the array.
3525 * test/test-simple.c (validate_accessible): free,
3526 not g_free returned relation set.
3528 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3530 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3531 implemented stateset support
3533 * idl/Accessibility_State.idl: Made necessary changes to
3534 the IDL to support state sets.
3536 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3538 * registryd/deviceeventcontroller.c:
3539 Added implementation for generateMouseEvent.
3541 * cspi/spi_registry.c:
3542 Connected new implementation for generateMouseEvent
3545 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3548 Incremented revision (but no change in public API
3549 outside of 'utils', which are not installed public yet.)
3551 * libspi/component.c:
3552 Changed to use atk_component API for layers and
3553 mdi_zorder, instead of deprecated atk_object API.
3555 Magnification Utility Enhancements:
3558 Added implementation of createZoomRegion, clearAllZoomRegions,
3559 resizeZoomRegion. Added new commandline argument
3560 "--no-initial-region". Note that clearAllZoomRegions doesn't
3561 unmap the old '0' region as it should (yet), and the other
3562 methods only work when creating/resizing a single region,
3563 which is "region 0".
3564 (Code for multiple region support will be added later.)
3567 Now we raise the magnifier window each time it's refreshed;
3568 this will help keep it on top.
3570 * util/mag_client.h:
3571 Added simple wrappers for above, used by mag_control.
3572 For general use, it's recommended to use the bonobo magnifier
3573 control API directly instead of using these wrappers.
3576 Moved ZoomRegionData from magnifier.c to this file.
3578 * util/mag_control.c:
3579 Added some code to exercise new IDL implementations.
3581 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3583 * libspi/text.c: Provide implementation for getAttributes.
3585 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3588 Incremented revision.
3590 * test/test-simple.c:
3591 Replaced use of deprecated g_main_iteration with
3592 g_main_context_iteration.
3594 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3597 Incremented revision for desktop alpha 2.
3599 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3601 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3604 * test/simple-at.c: include netinet/in.h.
3606 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3608 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3609 use NULL, not CORBA_OBJECT_NIL.
3611 * libspi/accessible.c:
3612 (impl_accessibility_accessible_get_relation_set):
3613 allocate the sequence correctly.
3615 * libspi/remoteobject.h: kill spi_remote_object_new.
3617 * test/test-simple.c: (validate_accessible): add code
3618 to test relation sets, now all we need is to figure
3619 out how to excercise this code path :/
3621 2002-01-18 Michael Meeks <michael@ximian.com>
3623 * test/test-simple.c
3624 (key_listener_cb): consume the key.
3625 (test_keylisteners): update.
3626 (main): wait for any pending unrefs on events.
3628 * registryd/deviceeventcontroller.c
3629 (spi_controller_update_key_grabs): only re-issue the
3630 grab on a key release.
3631 (spi_device_event_controller_forward_key_event):
3632 refresh the keygrabs before we notify the listeners,
3633 to reduce the X ungrab / re-grab race.
3634 (spi_controller_register_with_devices): remove
3635 XSelectInput - we do that with the gdk_window_ call.
3636 (_spi_controller_device_error_handler): return a value.
3637 s/GDK_DISPLAY/spi_get_display/
3639 2002-01-17 Michael Meeks <michael@ximian.com>
3641 * registryd/deviceeventcontroller.c
3642 (_deregister_keygrab): don't blow out the later
3645 * test/test-simple.c (test_keylisteners): do a
3646 more intelligent validation.
3648 2002-01-14 Michael Meeks <michael@ximian.com>
3650 * atk-bridge/bridge.c
3651 (gnome_accessibility_module_init),
3652 (gnome_accessibility_module_shutdown): impl.
3653 (gtk_module_init): protect vs. double inits.
3654 (add_signal_listener): impl.
3655 (spi_atk_bridge_state_event_listener): kill
3656 (deregister_application): split out of
3657 (spi_atk_bridge_exit_func): here.
3659 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3662 Added caret tracking when using magnifier, and
3663 now use text bounds for focus tracking of text elements, rather than
3664 the component bounds - this is helpful for short text fields in long
3665 table cells, at high magnification.
3667 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3669 * registryd/deviceeventcontroller.c:
3670 Regression fix for keylistener de-registration; global keygrabs
3671 were not being released when deregisterKeystrokeListener was
3672 called in cspi, since
3673 Accessibility_DeviceEventController_deregisterKeystrokeListener
3674 was called with a zero-length keyset. That is because the cspi
3675 method, SPI_deregisterKeystrokeListener, does not take a keyset
3676 parameter but instead should remove all the key grabs held be a
3678 The code in impl_deregister_keystroke_listener was changed to copy
3679 the keylist from the listener instance previously registered with
3680 the DeviceEventController before releasing the grabs.
3682 * registryd/registry.c:
3683 * registryd/deviceeventcontroller.c:
3684 * libspi/spi-private.h:
3686 Changed spelling of "re-enterant" to "re-entrant" globally.
3688 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3690 * test/test-simple.c:
3691 Changed key listeners test - the test was slightly mis-using the
3692 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3693 It now uses '=' as the key event listened to and generated,
3694 relying on a keysym match rather than assuming that keycode 33
3695 is always equal to keysym '!'.
3697 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3700 Changed simple-at to use a specific keyset, rather than
3701 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3702 manager, desktop, etc.
3704 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3706 * registryd/deviceeventcontroller.c:
3707 Replaced standard X error handler with a special handler that
3708 is non-fatal for failed keygrabs. This works around
3709 problems with keygrab clashes sometimes observed on
3711 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3712 mouse handling code as yet).
3714 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3717 Incremented revision for desktop alpha release.
3720 Fixed a couple of the more glaring errors (still not
3723 2002-01-11 Michael Meeks <michael@ximian.com>
3725 * registryd/deviceeventcontroller.c
3726 (spi_device_event_controller_forward_key_event): kill
3727 XUngrabKey / XKeyGrab race.
3728 (spi_controller_grab_keyboard): rename to
3729 (spi_controller_update_key_grabs): this, and deal
3730 with incremental adding / removing grabs more
3732 (_register_keygrab): ensure we're not pending a remove.
3733 (spi_grab_mask_free): impl.
3734 (spi_controller_register_global_keygrabs): split out
3736 (handle_keygrab): impl.
3737 (_deregister_keygrab): impl.
3738 (spi_controller_deregister_global_keygrabs): impl.
3739 (spi_controller_update_key_grabs): re-issue the grab if
3740 we just recieved a notification.
3742 * test/test-simple.c (key_listener_cb): remove debug.
3744 * registryd/deviceeventcontroller.c
3745 (spi_controller_register_device_listener): after
3746 registering a global keygrab, actualy register it !
3747 don't wait for a timeout; doh !
3749 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3750 to make it more readable / manipulable.
3751 s/grabmask/grab_mask/ s/refcount/ref_count/
3752 s/keyval/key_val/ s/modmask/mod_mask
3754 2002-01-08 Michael Meeks <michael@ximian.com>
3756 * registryd/deviceeventcontroller.c
3757 (spi_controller_register_with_devices): use gdk calls to
3759 (global_filter_fn): implement the filter.
3760 (spi_device_event_controller_check_key_event): rename to
3761 (spi_device_event_controller_forward_key_event): this & upd.
3762 (spi_get_display): replace with GDK_DISPLAY.
3764 * registryd/deviceeventcontroller.c
3765 (spi_controller_deregister_device_listener): unroll into
3766 (impl_deregister_keystroke_listener): here to simplify.
3767 (spi_controller_register_global_keygrabs): split cut and
3768 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3769 (spi_controller_deregister_device_listener): remove.
3770 (impl_register_mouse_listener): remove, no mouse listener
3771 support in at-spi-1.0
3773 * registryd/registry.c
3774 (_device_event_controller_hook): kill.
3775 (spi_registry_init): upd.
3777 * registryd/deviceeventcontroller.c
3778 (spi_device_event_controller_class_init): upd.
3779 (spi_check_key_event): merge into.
3780 (spi_device_event_controller_check_key_event):
3781 here and kill strange static ev init, don't leak
3782 the x_event - nor dynamicaly allocate it.
3784 * registryd/registry-main.c (main): re-direct
3785 timeout to remove strange vtable mess.
3787 * registryd/deviceeventcontroller.c
3788 (remove_listener_cb): impl.
3789 (spi_controller_deregister_device_listener):
3790 fix re-enterancy hazard.
3792 2002-01-07 Michael Meeks <michael@ximian.com>
3794 * registryd/deviceeventcontroller.c
3795 (spi_device_event_controller_new): upd.
3796 (impl_notify_listeners_sync): upd. debug.
3797 (spi_notify_keylisteners): fix re-enterancy hazards,
3798 prettify, remove O(n*n) iteration.
3799 (spi_controller_grab_keyboard): fix iteration.
3800 (spi_check_key_event): re-format to suit coding style.
3801 Clean all the warnings - we're warning free.
3803 * registryd/deviceeventcontroller.h:
3804 * registryd/registry.h: make mutualy referential with
3805 typesafe forward references instead of (!) void pointer
3808 2002-01-11 Michael Meeks <michael@ximian.com>
3810 * cspi/spi_accessible.c (role_names): add a role name
3811 to sync this array with the enum; and make the regression
3814 2002-01-10 Michael Meeks <michael@ximian.com>
3816 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3817 allow expansion of enumeration & kill warning.
3819 * test/test-simple.c (key_listener_cb): impl.
3820 (test_keylisteners): impl.
3822 * cspi/spi-listener.h: make listener signatures const
3823 on the provided (const) events.
3825 * test/keysynth-demo.c: upd. to const events.
3827 * test/simple-at.c: ditto.
3829 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3832 Rev the version to 0.5 (the previous tarball was named 0.4,
3833 even though the micro number was 3), so we need to rev upwards
3834 again for beta2/"desktop-alpha"
3837 Checked in a demo script, which requires editing before use!
3838 Proceed with caution.
3841 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3843 * cspi/spi_accessible.c:
3844 Add a couple of missing enum initializations, and fix some enum
3847 * cspi/spi_registry.c:
3848 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3850 * docs/reference/cspi/at-spi-cspi-sections.txt:
3851 Remove/fix a couple of broken document references.
3854 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3855 as Alt-Control to listen for commands, since on some systems
3856 Control-Alt may already be grabbed.
3858 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3861 Update version number to 0.4 for Beta2.
3863 * libspi/accessible.c, libspi/accessible.h:
3864 Expose spi_accessible_construct, to enable libgail-gnome
3865 construction from spi_accessible subtype.
3867 * utils/magnifier.c:
3868 Workaround for bug in some non-gnome-compliant window managers
3869 which made magnifier resize improperly.
3871 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3873 * libspi/accessible.c: (spi_accessible_new) :
3874 Move the test for SPI_IS_REMOTE_OBJECT to
3875 spi_accessible_new_return, fixing a bug and compile time warning.
3877 2002-01-08 Michael Meeks <michael@ximian.com>
3879 * registryd/registry.c (parse_event_type): remove strndup.
3881 * libspi/Makefile.am (libspi_la_SOURCES): remove
3882 sources already included in the headers section.
3884 * libspi/util.c: add.
3886 * libspi/spi-private.h: add.
3888 * registryd/registry.c: update to moved list iterators.
3890 2002-01-05 Michael Meeks <michael@ximian.com>
3892 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3894 * test/test-simple.c (main): ditto.
3896 2002-01-04 Michael Meeks <michael@ximian.com>
3898 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3899 redundant construct.
3901 * registryd/registry.c
3902 (get_listener_list): impl.
3903 (impl_accessibility_registry_register_global_event_listener):
3904 re-impl. to simplify using ~, remove dodgy const cast off.
3905 (parse_event_type): constify.
3906 (impl_accessibility_registry_deregister_global_event_listener_all):
3907 re-write, more efficiency and simplicity, kill re-enterancy
3909 (compare_listener_corbaref, compare_corba_objects),
3910 (compare_listener_quarks): define out.
3911 (impl_accessibility_registry_deregister_global_event_listener):
3912 re-write for effiency, and nail re-enterancy hazard.
3913 (impl_accessibility_registry_get_desktop_list): impl.
3914 (re_enterant_list_delete_link): impl.
3915 (re_enterant_list_foreach): impl.
3916 (remove_listener_cb): impl.
3917 (_registry_notify_listeners): kill.
3918 (notify_listeners_cb): impl.
3920 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3921 (SPI_getDesktopList): impl.
3923 * test/test-simple.c (test_desktop): test the methods.
3925 2002-01-03 Michael Meeks <michael@ximian.com>
3927 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3928 keystrings since we free them
3929 (SPI_freeAccessibleKeySet): in here.
3931 * libspi/accessible.c (spi_accessible_new): kill warning,
3932 wonder what is going on with the constructor here.
3934 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3936 * libspi/accessible.c (spi_accessible_new ()) :
3937 Added check to see if AtkObject is an SpiRemoteObject before
3938 creating an SpiAccessible.
3940 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3942 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3943 Enable keygrabs using the Control modifier, now that they are
3944 working properly (they were previously disabled).
3947 Change the command keygrab for this demo to "Control+Alt", so as
3948 to conflict with fewer other key commands on the system; this
3949 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3951 Removed a pointlessly-chatty keylistener for unshifted keys
3952 (shifted keys are still reported).
3954 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3956 * libspi/remoteobject.h:
3957 * libspi/remoteobject.c:
3958 Added definitions for special AtkObject subtype, required for
3959 support of remote components (specifically, used by BonoboControl
3960 accessibility implementation).
3962 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3964 * cspi/spi.h: synched relation types with ATK
3966 * cspi/spi_accessible.c: Added implementations of
3967 AcccessibleRelation_* methods
3969 * idl/Accessibility_Relation.idl: added getRelationTypeName
3970 method. Synched known relation types with ATK. Allowed for
3971 relation type extension with the RELATION_EXTENDED type.
3973 * libspi/relation.c: Provided implementations for
3974 AccessibleRelation methods.
3976 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3978 API tweaks for today's API 'freeze'.
3981 Added placeholder functions to allow future compatible expansion
3982 of the IDL interfaces.
3984 * idl/Accessibility_Registry.idl:
3985 Changed generateKeyEvent to generateKeyboardEvent. Changed
3986 signature of this method to accept an optional keystring in
3987 parameter (for complex text input synthesis) and changed use of
3988 simple 'boolean' parameter in registerKeystrokeListener to a
3989 struct, EventListenerMode.
3991 * cspi/spi_accessible.c:
3993 * cspi/spi_streamablecontent.c:
3994 Added references to AccessibleStreamableContent interface, and
3995 definition and implementation of AccessibleStreamableContent
3998 * cspi/spi_registry.c:
4000 Changed generateKeyEvent API to generateKeyboardEvent,
4001 taking a new (optional) keystring parameter to support complex
4006 Renamed directory (to better reflect its actual purpose, bridging
4007 from at-spi to ATK). The .so module is also now named
4010 * idl/Accessibility_Hypertext.idl:
4011 * libspi/accessible.c:
4012 * libspi/hypertext.h:
4013 * libspi/hypertext.c:
4014 Changed Accessibility_Hypertext to *not* derive from
4017 * cspi/spi_registry.c:
4018 Added list of legal event type names for 'window' events, which
4019 completes the registry event API.
4021 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4023 * at-bridge/bridge.c: Added registration for separate
4024 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4025 signals. If either of the first two parameters to the generic
4026 bridge signal handler are ints, they are passed on as event
4027 details. This allows an AT to determine what text was inserted.
4029 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4031 * registryd/deviceeventcontroller.c:
4032 Fixed regressions in generateKeyEvent caused by the removal of
4033 gdk_init from registryd; we now use pure X calls to connect to the
4034 display, which makes sense because deviceeventcontroller already
4035 uses a fair bit of X API (should eventually be migrated to a
4036 'portability layer').
4038 * registryd/desktop.c:
4039 Fixed minor regression in spi_desktop_init, changed the way the
4040 desktop name is being set to work with new spi_base API
4041 (gobject-based, rather than AtkObject-based).
4043 * registryd/Makefile.am:
4044 Minor revision of makefile to use XTST_LIBS variable rather than
4045 hard-wiring the Xtst LD_ADD element.
4047 * test/keysynth-demo.c:
4048 Tweaked an output message; added initialization of the
4049 'keystrings' member of the "switch listener" key_set.
4051 * libspi/relation.c:
4052 Squashed compile-time warning.
4054 * libspi/accessible.c:
4055 Cosmetic and formatting fixes, renamed a static method.
4057 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4059 * libspi/accessible.c
4061 * libspi/application.c
4064 * libspi/component.c
4065 * libspi/editabletext.c
4066 * libspi/hyperlink.c
4067 * libspi/hypertext.c
4069 * libspi/selection.c
4073 * registryd/desktop.c:
4074 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4076 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4078 * idl/Accessibility_Registry.idl:
4079 Added boolean member 'is_text' to DeviceEvent. This is for the
4080 use of key events, and helps prevent ambiguity between composed
4081 key strings and keysym names, since both may potentially be
4082 returned in the 'event_string' member.
4084 * at-bridge/bridge.c:
4085 * registryd/deviceeventcontroller.c:
4086 Use the 'is_text' member when notifying device event listeners.
4087 Knon issue: composed characters are not dealt with correctly by
4088 the global key listener implementation yet.
4090 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4092 * at-bridge/bridge.c:
4093 Namespaced local static methods to spi_atk_bridge_* where
4094 previously named bridge_*, and spi_* elsewhere.
4096 * at-bridge/bridge.c:
4097 * cspi/bonobo/cspi-bonobo-listener.c:
4098 Added demarshalling/conversion for string member of
4099 Accessibility_DeviceEvent to AccessibleKeystroke.
4101 * registryd/deviceeventcontroller.c:
4102 Added code to fill the Accessibility_DeviceEvent key string value
4103 member for global key events (i.e. from XGrabKey), to match
4104 behavior of Accessibility_DeviceEvent from the toolkit key events
4105 from the bridge. Fixed timestamp in global key event notifications.
4108 Added printout of key event's string value to
4109 report_ordinary_key_event, for demo/debugging purposes.
4111 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4113 * idl/Accessibility_Registry.idl:
4114 Removed Accessibility_KeyStroke structure in favor of generic
4115 Accessibility_DeviceEvent structure.
4116 Changed Accessibility_ControllerEventMask from a struct to an
4119 * at-bridge/bridge.c:
4120 Changed APIs to use DeviceEvent structure as above, and removed
4121 bogus casting between these event structures.
4123 * cspi/spi-listener.h:
4124 Added keystring member of AccessibleKeystroke structure, to enable
4125 matching on event "names" rather than only hardware codes and
4129 Added keystrings member of AccessibleKeySet struct, to allow
4130 matching on event names (as above).
4131 Added declarations for SPI_createAccessibleKeySet and
4132 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4133 event modmasks directly as unsigned ints rather than structs with
4134 refcounts, in the DeviceEventController methods.
4136 * cspi/spi_registry.c:
4137 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4139 * cspi/spi-roletypes.h:
4140 Added documentation of newly added SPI Roles.
4142 * cspi/bonobo/cspi-bonobo-listener.c:
4143 Changes in support of API changes above.
4145 * libspi/accessible.c:
4146 Converted APIs to use DeviceEvent structure (see IDL changes
4149 * registryd/deviceeventcontroller.c:
4150 Added DEControllerGrabMask structure to track keygrabs not only by
4151 modmask but by keyset as well; this allows us to do "global"
4152 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4153 grabbing on AnyKey and then filtering after-the-fact.
4154 Bugfixes for event filtration mean that we don't get false matches
4155 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4157 * registryd/deviceeventcontroller.c:
4158 Namespaced a number of static methods to use spi_ prefix. Major
4159 revision to internals of global (i.e. X) key grabs.
4161 * registryd/deviceeventcontroller.h:
4162 Removed keymask_list and added keygrabs_list to
4163 SpiDeviceEventController struct.
4166 Added use of SPI_createAccessibleKeySet API when creating a
4167 listener for only one key. Attach a listener to "shift spacebar
4168 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4169 X key event names to SPI key event names, so that listeners are
4170 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4172 * test/keysynth-demo.c:
4173 Changed (incorrect) use of X key event names (KeyPressed,
4174 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4177 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4179 * libspi/accessible.c:
4180 Convert all AtkRole enumerations to Accessibility_Role enums when
4181 getting a role from an AtkObject.
4183 * cspi/spi_accessible.c:
4184 Complete the conversion of Accessibility_Role enums at runtime to
4185 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4186 role enums correctly match those given in spi-roletypes.h.
4187 Re-synchronize the local names list for AccessibleRole_getName ().
4188 AccessibleRole_getName is now deprecated, since it duplicates the
4189 more reliable Accessible_getRoleName.
4190 Added some role types from Accessibility_Role.idl.
4192 * idl/Accessibility_Role.idl:
4193 Added some role types used by AtkRole.
4195 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4198 * cspi/spi_registry.c:
4200 * cspi/cspi-bonobo-listener.c:
4201 Namespaced all methods that did not begin with an "SPI_" or
4202 "Accessible" prefix to "SPI_".
4205 Homogenized internal function namespace to "cspi_" for statics.
4208 Patched tests to use the new CSPI API.
4210 * docs/reference/cspi/at-spi-cspi-sections.txt:
4211 Updated docs to reflect namespace changes, and added a number of
4212 methods to the documentation.
4214 * registryd/registry.c:
4215 Changed use of strings and string hashes in listener event
4216 matching and parse_event_string to use GQuark, which is guaranteed
4219 * registryd/registry.h:
4220 Squashed annoying warning.
4222 * idl/Accessibility_Role.idl:
4223 Extended range of available Accessibility_Role values.
4225 * cspi/spi_accessible.c:
4226 Re-ordered role names.
4228 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4230 * idl/Accessibility_Value.idl:
4231 Revert use of union back to CORBA_double, since the double type is
4232 more efficient and can contain the other types without loss of
4235 * idl/Accessibility_Accessible.idl:
4236 Added method Accessibility:Accessible:getRoleName, to complement
4237 Accessibility:Accessible:getRole.
4239 * cspi/spi_accessible.c:
4241 Added C binding for above, Accessible_getRoleName (), and changed
4242 signature of Accessible_getRole () to return an AccessibleRole.
4244 * cspi/spi-roletypes.h:
4245 Changed AccessibleRole_getName to return a char * instead of a
4246 const char *. This method is now at least temporarily deprecated
4247 in favor of asking Accessibles for their RoleNames directly.
4250 Revert to match Accessibility_Value.idl;
4254 Change signature of AccessibleValue methods to use double rather
4258 * cspi/spi_accessible.c:
4259 Changed Accessible_getRole to return an AccessibleRole enum rather
4260 than a UTF-8 string. The UTF-8 string can still be obtained via
4261 AccessibleRole_getName ().
4263 * test/test-simple.c:
4264 Add test_action. Small fixup to match API change to Accessible_getRole.
4267 Bugfix for get_action_from_servant ().
4269 2001-12-11 Michael Meeks <michael@ximian.com>
4271 * libspi/libspi.h: remove registry.h and
4272 desktop.h, deviceeventcontroller.h
4274 * libspi/Makefile.am: remove registry.[ch],
4275 desktop.[ch], deviceeventcontroller.[ch]
4277 * registryd/Makefile.am: add registry.[ch],
4278 desktop.[ch], rename registryd.c to registry-main.c.
4279 add deviceeventcontroller.[ch]
4281 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4284 Replace setenv() call with putenv ().
4286 * libspi/component.c:
4287 Bugfix in AccessibleComponent_getExtents (),
4290 2001-12-11 Michael Meeks <michael@ximian.com>
4292 * libspi/image.c (impl_getImageExtents): impl.
4293 (spi_image_class_init): upd.
4296 (AccessibleImage_getImageDescription): fix daft bug
4299 * test/test-simple.c (global_listener_cb): update
4300 to only quit if not --poke
4301 (main): catch --poke.
4302 (validate_accessible): upd. dumping, call test_image
4305 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4308 * idl/Accessibility.idl: update all IDL includes.
4310 * idl/*.idl - rename to namespace - this sucks, blame
4311 mjs' bad decision for oafd.
4313 * test/test-simple.c (create_test_window): add more tests.
4314 (create_tree): split this out.
4315 (validate_accessible): bugfix.
4317 2001-12-11 Michael Meeks <michael@ximian.com>
4319 * cspi/bonobo/cspi-bonobo-listener.c:
4320 (cspi_kestroke_listener_unref),
4321 (cspi_event_listener_unref): impl. undoing previous
4322 homenous environment - for Bill.
4324 * cspi/spi_table.c (long_seq_to_array): use
4327 * cspi/spi_main.c: split out all bonoboish bits into
4330 * cspi/spi-impl.h: upd. typedefs.
4332 * cspi/spi_registry.c: update to lowlevel API,
4333 return booleans to indicate success in some places.
4335 * cspi/spi_event.c: update to lowlevel API.
4337 * cspi/bonobo/Makefile.am: add.
4339 * cspi/bonobo/cspi-lowlevel.h: add
4341 * cspi/bonobo/cspi-bonobo.c: add
4343 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4345 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4346 (SUBDIRS): add bonobo, link in the libs.
4348 * cspi/spi-util.c: kill this file.
4350 * TODO: merge in my bits.
4352 2001-12-11 Michael Meeks <michael@ximian.com>
4354 * test/test-simple.c (test_value, test_table, main):
4355 remove unused variables causing warnings.
4357 * configure.in: cleanup checks - require gail.
4359 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4362 Changed Value interface to use SValue (scalars) rather than
4363 assuming all values are floats. This allows floats, doubles,
4364 longs, shorts, and unsigned values to be manipulated.
4365 Introduced Accessibility:SValue union.
4368 Updated to use new API above, and to work correctly with GValues
4369 of different types in AtkValue.
4372 Updated to use new API above. cspi's API is as yet unchanged.
4375 Updated the Value revision action item.
4377 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4379 * test/test-simple.c:
4380 Added test_table (GtkTreeView widget in test window to follow).
4381 Un-commented test_value, added GtkRange widget.
4382 Added GtkTreeView widget with GtkListStore. It passes regression
4383 test but leaks one SPI object for some reason.
4386 Fixed bug in impl__set_currentValue.
4388 2001-12-10 Michael Meeks <michael@ximian.com>
4390 * cspi/spi_text.c: audit for exception handling,
4391 tolerating NULL object references safely etc.
4393 * cspi/spi_value.c: ditto.
4395 * cspi/spi_table.c (AccessibleTable_getSummary),
4396 (AccessibleTable_getAccessibleAt),
4397 (AccessibleTable_getRowHeader),
4398 (AccessibleTable_getColumnHeader),
4399 (AccessibleTable_getCaption): fix bugs hidden by
4401 (long_seq_to_array): impl.
4402 (AccessibleTable_getSelectedRows),
4403 (AccessibleTable_getSelectedColumns): use it.
4405 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4408 Added a TODO list (rough and short for now).
4410 * cspi/spi_hyperlink.c:
4411 * cspi/spi_hypertext.c:
4412 Fixed macro name typos, and remove use of obsolete macro in
4413 AccessibleHyperlink_getLink.
4415 * cspi/spi_action.c:
4416 * cspi/spi_accessible.c:
4417 * cspi/spi_application.c:
4418 * cspi/spi_component.c:
4419 * cspi/spi_selection.c:
4422 Documentation fixes (removed return values from ref/unref methods).
4424 2001-12-10 Michael Meeks <michael@ximian.com>
4426 * cspi/spi_action.c: audit for exception handling,
4427 tolerating NULL object references safely etc.
4429 * cspi/spi_accessible.c: ditto.
4431 * cspi/spi_component.c: ditto.
4433 * cspi/spi_editabletext.c: ditto.
4435 * cspi/spi_hyperlink.c: ditto.
4437 * cspi/spi_hypertext.c: ditto.
4439 * cspi/spi_image.c: ditto.
4441 * cspi/spi_selection.c: ditto.
4443 2001-12-10 Michael Meeks <michael@ximian.com>
4445 * configure.in: use cspi/libspi.pc.in instead.
4447 * Makefile.am (pkgconfig_DATA): upd. to match.
4449 * test/simple-at.c (report_focus_event): kill hacks around
4450 bad return values, use putenv not setenv
4452 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4453 fire ChildGone - I killed it.
4455 * libspi/component.c
4456 (impl_accessibility_component_get_extents): remove
4459 * idl/Accessible.idl: kill ChildGone exception.
4461 * cspi/*.[ch]: kill int return from ref / unref.
4463 * cspi/spi_main.c (cspi_object_add_check): fold into
4464 (cspi_object_add): here.
4466 * cspi/spi_component.c (AccessibleComponent_getExtents):
4467 handle exceptions elegantly.
4469 * cspi/spi-private.h (cspi_check_ev_return),
4470 (cspi_return_if_fail): impl.
4472 * cspi/spi_accessible.c: use extensively.
4473 (AccessibleStateSet_equals): add direct compare check.
4475 * cspi/spi_selection.c: tolerate NULL objs, and check
4476 exceptions before return.
4478 * cspi/spi-util.c (cspi_warn_ev): rename to
4479 (cspi_check_ev): this & don't pass ev in; no point.
4481 2001-12-10 Michael Meeks <michael@ximian.com>
4483 * test/test-simple.c: use putenv not setenv
4484 (get_environment_vars): more chatty if you're not using
4487 * test/simple-at.c: do the setenv so more people see the
4490 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4492 * libspi/registry.c:
4493 Changed check of CORBA_environment on notification to be a warning
4494 instead of an error for the moment, since we can recover from this
4495 error when caused by a queued notification from a dead app.
4498 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4499 used by all current implementors of AtkValue), and coerce to
4500 CORBA_float. (Proper general case fix may require change to Value.idl).
4502 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4506 * cspi/spi_accessible.c:
4507 Documentation fixes: added user_data params to documentation for
4508 listeners and callbacks.
4510 * cspi/spi_accessible.c:
4511 Changed AccessibleStateSet_compare to return a
4512 StateSet rather than return the difference set into a third parameter.
4515 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4518 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4519 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4523 Remove subdirectory po from SUBDIRS for now.
4525 * at-bridge/bridge.c:
4526 Beefed up a couple of debug printouts.
4527 One-line fix for signal notification name formatting.
4529 * libspi/accessible.c:
4530 Added assertion to spi_accessible_new ().
4532 * libspi/application.c:
4533 Put #ifdef qualifiers around a printf.
4536 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4538 * registryd/Makefile.am:
4540 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4541 INTLTOOL_SERVER_RULE macro.
4544 Added an event listener for several ATK signals, for
4545 testing and debugging. Removed a few g_warnings.
4546 Added test output if focussed item implements the Value interface.
4548 * test/test-simple.c:
4549 Added test_value () function (known not to pass at the moment, so
4550 not actually called yet.
4552 2001-12-08 Michael Meeks <michael@ximian.com>
4554 * at-bridge/bridge.c (bridge_focus_tracker),
4555 (emit_eventv): fix the same ref. leak.
4556 (register_atk_event_listeners): don't leak.
4558 * cspi/spi-listener-impl.c (cspi_event): more
4559 protection from client code.
4561 * test/test-simple.c (test_desktop): unref the app.
4563 * test/Makefile.am: upd. TESTS.
4565 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4567 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4569 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4571 * cspi/spi_registry.c: constify in strings.
4572 (deregisterGlobalEventListenerAll): don't release the ref.
4574 * cspi/spi.h: start removing redundant / conflicting
4575 gtkdoc comments, making the API readable at a glance :-)
4577 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4579 * test/keysynth-demo.c (keysynth_exit, main): upd.
4581 * test/simple-at.c (main, simple_at_exit): upd.
4583 * test/test-simple.c (unutterable_horror): kill.
4584 (utterable_normal_derefs): kill.
4585 (main): upd & do a setenv before gtk_init, so that we
4586 can use memprof - and to save the pain of remembering
4587 this, if we're running under memprof - don't exit.
4589 * cspi/spi_main.c (SPI_exit): return exit status
4591 (SPI_event_quit): impl.
4592 (SPI_event_main): simplify.
4593 (cspi_is_gnome_app): kill.
4594 (SPI_init): kill isGNOMEapp arg.
4596 * at-bridge/bridge.c (register_atk_event_listeners):
4597 re-instate the unref.
4598 (bridge_exit_func): don't re-activate the registry,
4599 protect vs. theoretical re-entry, use the
4600 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4601 assert a clean shutdown - for regression tests.
4603 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4605 * configure.in: Comment out dummy i18n support for now,
4606 otherwise it fails to build.
4607 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4608 EXTRA_DIST. They are missing in tarball.
4610 2001-12-07 Michael Meeks <michael@ximian.com>
4612 * util/magnifier.c: kill bonobo activation reg. race.
4614 * libspi/component.c
4615 (impl_accessibility_component_get_extents): make it match
4618 * libspi/registry.c (_registry_notify_listeners):
4619 re-remove X headers & reconcile conflicts.
4620 (spi_listener_struct_free): bad conflict resolve.
4621 (impl_accessibility_registry_register_application):
4622 more bad merging fixed.
4623 (impl_accessibility_registry_deregister_application): ditto.
4624 (spi_registry_new): ditto.
4625 (spi_registry_init): don't have an applications field.
4627 [ merge fixups2 branch to here ]
4628 2001-12-07 Michael Meeks <michael@ximian.com>
4630 * test/simple-at.c (report_focus_event),
4631 (report_focussed_accessible): remove g_warning debug.
4633 2001-12-07 Michael Meeks <michael@ximian.com>
4635 * test/test-simple.c (validate_tree): comment out some checks.
4636 (test_desktop): app now not registered idly - horay.
4638 2001-12-07 Michael Meeks <michael@ximian.com>
4640 * cspi/spi_registry.c
4641 (registerAccessibleKeystrokeListener): clean, stop it leaking
4642 great swathes of memory, and device event controller references.
4643 ensure we always pass valid sequences.
4644 (deregisterAccessibleKeystrokeListener): ditto.
4645 (generateKeyEvent): upd.
4647 * at-bridge/bridge.c (bridge_key_listener): handle
4648 registry dead exception gracefully.
4649 (bridge_focus_tracker, emit_eventv): free ev.
4651 * test/simple-at.c (report_focus_event): fix polarity.
4653 * libspi/application.c (notify_listeners): kill the ev
4654 argument, and make sure we init the ev we use.
4655 (spi_application_object_event_listener): split out a chunk
4656 (get_atk_object_ref): here & fixup.
4657 (reverse_lookup_name_for_toolkit_event): make const.
4658 (spi_application_toolkit_event_listener): fixup, kill leaks
4661 * at-bridge/bridge.c (register_atk_event_listeners):
4662 don't unref the noop object - causes grief.
4664 * libspi/registry.c: remove the X headers.
4665 turn off the debug churn.
4667 * libspi/accessible.c (spi_accessible_new_return): only
4668 release the ref if we are supposed to [doh]
4670 * test/simple-at.c (report_button_press, report_focus_event):
4671 guard vs. unexpected exit.
4673 * at-bridge/bridge.c (gtk_module_init): prune printf.
4674 (bridge_exit_func): fix app unref.
4676 * libspi/Makefile.am: don't install registry or desktop.h
4678 * libspi/*.h: update includes.
4680 * libspi/application.h: don't include ourself, or
4681 other redundant headers.
4683 2001-12-06 Michael Meeks <michael@ximian.com>
4685 * libspi/accessible.c
4686 (get_accessible_from_servant): impl.
4687 Upd. all CORBA impl.s to use it killing cut and paste.
4689 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4691 (SPI_init): register atexit cleanup handler here.
4693 2001-12-06 Michael Meeks <michael@ximian.com>
4695 * at-bridge/bridge.c (gtk_module_init): g_error on
4696 activation exception
4698 2001-12-06 Michael Meeks <michael@ximian.com>
4700 * at-bridge/bridge.c (gtk_module_init): some sort of
4701 confusing merge clash - reverted.
4702 (bridge_idle_init): ditto.
4704 * test/test-simple.c (main, utterable_normal_derefs):
4705 merge from Bill - somehow not committed.
4707 2001-12-06 Michael Meeks <michael@ximian.com>
4709 * libspi/value.c (spi_value_class_init): upd.
4710 (spi_value_finalize): kill.
4712 * libspi/table.c (spi_table_finalize): kill.
4713 (spi_table_interface_new): upd.
4714 (spi_table_class_init): upd.
4715 (get_table_from_servant): impl.
4716 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4718 * libspi/selection.c (spi_selection_finalize): kill.
4719 (spi_selection_interface_new): upd.
4720 (spi_selection_class_init): upd.
4721 (get_selection_from_servant): impl.
4722 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4724 * libspi/relation.c (spi_relation_finalize): kill.
4725 (spi_relation_class_init, spi_relation_new): upd
4727 * libspi/image.c (spi_image_finalize): kill.
4728 (spi_image_class_init): upd.
4729 (spi_image_interface_new): upd.
4730 (get_image_from_servant): impl.
4731 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4733 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4734 (spi_hyperlink_finalize): kill.
4735 (spi_hyperlink_new): upd.
4736 (get_hyperlink_from_servant): impl.
4737 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4739 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4740 (spi_hypertext_finalize): kill.
4741 (spi_hypertext_class_init): upd.
4742 (get_hypertext_from_servant): impl.
4743 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4745 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4746 (spi_editable_text_interface_new): upd.
4747 (get_editable_text_from_servant): impl.
4748 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4750 * libspi/text.c (get_text_from_servant): impl.
4751 All impls - update to use it killing more cut and paste,
4752 also fix bad string returns on duff args ( a somewhat
4753 impossible case to handle - but hey ).
4754 (spi_text_construct): impl.
4755 (spi_text_interface_new): upd.
4756 (spi_text_object_finalize): kill.
4758 * libspi/component.c
4759 (accessibility_component_object_finalize): kill.
4760 (spi_component_class_init): upd.
4761 (get_component_from_servant): impl. helper to kill cut & paste.
4762 (impl_accessibility_component_contains):
4763 (impl_accessibility_component_get_accessible_at_point):
4764 (impl_accessibility_component_get_position):
4765 (impl_accessibility_component_get_extents):
4766 (impl_accessibility_component_get_mdi_z_order):
4767 (impl_accessibility_component_get_layer):
4768 (spi_component_interface_new): upd.
4770 * libspi/action.c (spi_action_finalize): kill.
4771 (spi_action_class_init): upd. inherit from SpiObject.
4772 (spi_action_interface_new): upd.
4773 (get_action_from_servant): impl. helper to reduce cut & paste.
4774 (impl_getKeyBinding, impl_getName, impl_doAction),
4775 (impl_getDescription): Use it everywhere.
4777 * cspi/spi_main.c (get_live_refs): a pointer hash.
4778 (spi_object_hash, spi_object_equal): comment out.
4779 There are issues with CORBA object hashing that need
4782 * libspi/application.c (spi_application_init),
4783 (spi_application_new): upd.
4785 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4786 (spi_accessible_class_init): upd.
4787 s/accessible/object/ in epv methods.
4789 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4791 * at-bridge/bridge.c:
4792 Reorder the bridge initialization into the bridge gtk_module_init,
4793 an immediate call to bridge_register_app, and an idle_add for
4794 register_atk_event_listeners (the only code that *must* wait until
4795 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4796 the activation, creates the application's Accessible object, and
4797 queues the bridge_idle_init function. Restored call to
4798 Accessibility_Registry_deregisterApplication().
4799 Prior to making this call we obtain a new reference to the
4800 registry, which is a temporary hack that helps us handle apps that
4801 shut down the bonobo mainloop before we get there.
4803 * libspi/registry.c:
4804 Fix string leakage in debug block, and don't segv if a an app
4805 dies before its event notifications have been propagated.
4808 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4809 as stopgap measure until we get proper exception handling when
4810 objects die during or before interrogation.
4814 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4815 Also changed default value of is_gnome_app to TRUE.
4818 * test/keysynth-demo.c:
4819 Changed use of SPI_init and SPI_event_main to reflect API change above.
4822 Made report_focus_event check the warning value from getName
4823 before reporting on focussed accessible; simplifies handling of
4824 notifications from dead objects.
4826 * test/test-simple.c: (Changes not in this patch since source is
4829 2001-12-05 Michael Meeks <michael@ximian.com>
4831 * registryd/registryd.c (main): protect against
4832 bonobo-activation startup race condition.
4834 * cspi/spi_main.c (cspi_object_add_check): cope
4835 with the exception elegantly.
4837 * idl/Accessible.idl: decl. ChildGone
4839 * libspi/desktop.c (spi_desktop_dispose): impl.
4840 (spi_desktop_class_init): upd.
4841 (spi_desktop_add_application),
4842 (spi_desktop_remove_application),
4843 (abnormal_application_termination): impl.
4844 (impl_desktop_get_child_at_index): re-impl.
4847 (impl_accessibility_registry_deregister_application),
4848 (impl_accessibility_registry_register_application):
4849 kill excessive debug clutter.
4851 * test/test-simple.c (test_misc): test some NULL
4852 tolerance. (main): upd.
4854 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4855 implements no interfaces - so let's not crash.
4857 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4859 * libspi/accessible.c (spi_accessible_new_return): impl.
4860 helper to calm the cut and paste, to cope with
4861 NULL AtkObjects effectively and efficiently, and to kill
4862 the referencing bugs.
4864 * libspi/table.c (impl_getAccessibleAt),
4865 (impl_getRowHeader, impl_getColumnHeader): upd.
4867 * libspi/hyperlink.c (impl_getObject): upd.
4869 * libspi/accessible.c
4870 (impl_accessibility_accessible_get_child_at_index): upd.
4872 * libspi/component.c
4873 (impl_accessibility_component_get_accessible_at_point): upd.
4875 * test/test-simple.c (test_editable_text, test_text): impl.
4878 * cspi/spi_editabletext.c
4879 (AccessibleEditableText_insertText): constify.
4881 * test/test-simple.c (focus_me): make more robust.
4883 * libspi/accessible.c: remove some printfs in methods that
4884 we test and work fine, so we can get a clean tree dump.
4886 * test/test-simple.c (validate_accessible),
4887 (validate_tree): make tree dumping pretty too.
4889 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4890 it builds without debug on.
4892 * test/test-simple.c (validate_accessible): fix the most
4895 * cspi/spi_main.c (spi_object_release): leave the nicely
4896 blanked memory around if in debug mode.
4898 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4900 [committed to fixups2]
4901 2001-12-05 Michael Meeks <michael@ximian.com>
4903 * libspi/editabletext.c
4904 (spi_editable_text_class_init): g_type_class_peek_parent,
4905 not interface peek - so we finalize cleanly.
4907 * libspi/accessible.c (spi_accessible_new): kill debug.
4909 * test/test-simple.c (validate_accessible): fix ref.
4910 leak, print strings before freeing them; sigh, comment a
4911 chunk out due to strangeness.
4912 (validate_tree): unref the child after use.
4914 * cspi/spi_component.c (AccessibleComponent_getLayer):
4915 add missing break statement, switch on zlayer not the
4916 uninitialized retval.
4918 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4919 before (possibly re-entering) remote unref.
4921 * test/simple-at.c (main): unref the desktop.
4923 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4926 * cspi/spi_main.c (cspi_accessible_is_a): here to
4927 isolate bonobo API usage more.
4929 * libspi/registry.c (impl_accessibility_registry_register_application):
4930 prune bogus comment.
4932 2001-12-04 Michael Meeks <michael@ximian.com>
4934 * test/test-simple.c (validate_tree): upd.
4935 IndexInParent check to make it more lucid.
4936 (validate_accessible): dump the tree.
4938 * libspi/accessible.c (de_register_public_ref),
4939 (get_public_refs): impl.
4940 (spi_accessible_new): make more efficient & intuitive.
4941 Now IndexInParent check works.
4943 2001-12-04 Michael Meeks <michael@ximian.com>
4945 * cspi/spi-util.h: remove.
4947 * cspi/spi.h: move SPI_freeString here
4949 * libspi/component.c (impl_accessibility_component_get_layer):
4951 (impl_accessibility_component_get_mdi_z_order): ditto,
4952 return -1 on error - is this ok ?
4954 * test/test-simple.c (test_application): impl.
4956 * cspi/spi_accessible.c (Accessible_getApplication),
4957 (Accessible_isApplication): impl.
4959 * libspi/registry.c (spi_listener_struct_free): release
4960 the CORBA reference too.
4962 * libspi/accessible.c
4963 (impl_accessibility_accessible_get_parent): fix ref leak.
4965 * libspi/registry.c (spi_registry_new): make the registry
4966 immortal - we don't want it to go away ever.
4968 * libspi/application.c
4969 (spi_accessible_application_finalize): impl. cleanup.
4971 * cspi/spi_registry.c
4972 (deregisterGlobalEventListenerAll),
4973 (deregisterGlobalEventListener),
4974 (deregisterAccessibleKeystrokeListener): fix ref leak.
4976 * cspi/spi_main.c (SPI_init): remove redundant ref.
4978 * test/test-simple.c (unutterable_horror): impl. to force a
4983 (impl_accessibility_registry_deregister_application): release
4984 the application when we de-register it.
4986 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4987 until we have the infastructure to get it right.
4989 2001-12-03 Michael Meeks <michael@ximian.com>
4991 * libspi/Makefile.am: only build eventlistener.[ch]
4993 * libspi/accessible.c
4994 (impl_accessibility_accessible_get_child_at_index): don't leak.
4996 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4997 before we hit the idle handler.
4999 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5000 debugging than exit.
5002 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5004 * libspi/listener.c (impl_notify_event): check source
5005 not NIL before unref.
5007 * libspi/registry.c (impl_registry_notify_event): ditto.
5009 * libspi/eventlistener.c
5010 (impl_accessible_event_notify_event): unref the source.
5012 * libspi/accessibleeventlistener.c
5013 (impl_accessible_event_notify_event): unref the source.
5015 * idl/Event.idl: remove 'hash_id' attribute - of no
5018 * libspi/application.c (notify_listeners): upd list
5020 (spi_application_object_event_listener),
5021 (spi_application_toolkit_event_listener): upd to do correct
5025 (_registry_notify_listeners): update.
5026 (parse_event_type): this method also leaks like a sieve.
5027 (impl_accessibility_registry_deregister_global_event_listener):
5028 fix ETYPE_WINDOW case.
5030 * libspi/application.c
5031 (impl_accessibility_application_register_object_event_listener):
5034 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5036 * libspi/hypertext.c (impl_getLink): ditto.
5038 * cspi/spi_main.c (cspi_object_add): remove
5039 bogus CORBA_Object_duplicate.
5041 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5044 * cspi/spi_accessible.c
5045 (Accessible_getRelationSet): fix leak / referencing issue.
5047 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5048 (cspi_object_add, cspi_object_unref): upd.
5049 (spi_object_release, get_live_refs): impl.
5050 (cspi_cleanup): simplify.
5052 * *.[ch]: s/boolean/SpiBoolean/
5054 * cspi/spi_accessible.c (role_names): actualy order so it
5055 corresponds with the enum !
5057 * test/test-simple.c (test_roles): check some role strings
5058 vs. enums to detect offset errors.
5060 2001-12-01 Michael Meeks <michael@ximian.com>
5062 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5064 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5066 (Accessible_getChildAtIndex): use cspi_add_check so we
5067 check the ev before using a (possibly) invalid value.
5069 * libspi/accessible.c
5070 (impl_accessibility_accessible_get_parent): don't segv
5073 * at-bridge/bridge.c (gtk_module_init): upd.
5074 (bridge_property_event_listener): don't leak strings
5076 (bridge_state_event_listener),
5077 (bridge_property_event_listener): don't use a static
5078 buffer in case of recursive event emission &
5079 re-enterancy - split out the swathe of cut and paste
5081 (emit_eventv): and fix 2 ref leaks here & comply to the
5083 (bridge_register_app): rename to
5084 (bridge_idle_init): this and kill arg parsing, split
5085 various inits & bonobo-activation registration to module
5086 init time, kill referencing error.
5087 (bridge_exit_func): fix the same leak.
5088 (bridge_focus_tracker): don't leak event structures
5090 (bridge_signal_listener): more leakage and cut & paste
5092 (bridge_key_listener): return the result - FIXME is
5093 this polarity correct ?
5094 (accessibility_keystroke_from_atk_key_event): rename
5095 (accessibility_init_keystroke_from_atk_key_event): and stop
5097 (gtk_module_init): return a value - not that it is checked by
5099 (bridge_key_listener): register my horror at casting between
5100 IDL defined structs.
5101 (bridge_get_registry): kill - not used.
5103 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5105 * test/test-simple.c (test_roles): impl.
5106 (test_desktop, validate_accessible, validate_tree): impl.
5108 * cspi/spi_accessible.c (role_names): fixup bogus
5109 MAX_ROLES setup, make constants const for efficient linkage
5110 (AccessibleRole_getName): conform to coding style, make
5113 2001-11-30 Michael Meeks <michael@ximian.com>
5115 * cspi/spi.h: add missing prototype.
5117 * libspi/registry.c (spi_listener_struct_new): fix sig.
5119 * test/Makefile.am: add test-simple
5121 * test/test-simple.c: add
5123 * test/test.sh: add.
5125 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5127 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5128 do it straight - since otherwise we often get an activation race.
5130 [ work before Bill duplicated a chunk of it ... ]
5131 2001-11-30 Michael Meeks <michael@ximian.com>
5133 * libspi/keystrokelistener.c
5134 (spi_keystroke_listener_class_init): fixup arg
5137 * libspi/eventlistener.c
5138 (spi_event_listener_class_init): ditto.
5140 * tests/test.sh: add.
5142 * cspi/spi-listener-impl.h: update macros.
5144 * cspi/spi-listener-impl.c
5145 (cspi_event_listener_remove_callback): add
5146 correct pre-conditions.
5148 * cspi/spi_main.c (SPI_exit): guard vs. double
5149 exits, exit the mainloop nicely.
5150 (SPI_event_main): make more sense.
5151 (SPI_init): move the atexit evilness here so we
5152 always do it (yuck).
5153 (SPI_event_main): upd.
5155 * test/simple-at.c: update for listener changes.
5157 * registryd/registryd.c (main): prune kruft.
5159 * libspi/libspi.h: upd.
5161 * libspi/eventlistener.[ch]: rename broken macros.
5163 * libspi/accessibleeventlistener.[ch]: remove.
5165 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5167 * test/test-simple.c: Add - automated tests.
5169 * cspi/spi-listener-impl.c (cspi_event),
5170 (cspi_key_event): add user_data to invoke.
5171 (cspi_keystroke_listener_finalize): impl.
5172 (cspi_keystroke_listener_class_init): upd.
5175 (createAccessibleEventListener),
5176 (AccessibleEventListener_addCallback),
5177 (createAccessibleKeystrokeListener),
5178 (AccessibleKeystrokeListener_addCallback): upd.
5180 * libspi/deviceeventcontroller.c
5181 (spi_device_event_controller_check_key_event): add public proto.
5184 (impl_accessibility_registry_deregister_global_event_listener):
5185 always init listeners.
5186 (_registry_notify_listeners): yes it is.
5188 * cspi/spi-listener-impl.c (cspi_key_event):
5190 (cspi_event_listener_finalize): impl.
5191 (cspi_event_listener_class_init): hook up.
5192 (event_handler_new, event_handler_free),
5193 (event_list_remove_by_callback): impl.
5194 (cspi_event_listener_remove_callback),
5195 (cspi_keystroke_listener_remove_callback),
5196 (cspi_keystroke_listener_add_callback),
5197 (cspi_event_listener_add_callback): upd.
5199 * libspi/keystrokelistener.c
5200 (keystroke_listener_object_finalize): kill
5201 (spi_keystroke_listener_class_init): upd.
5202 (spi_keystroke_listener_add_callback),
5203 (spi_keystroke_listener_remove_callback): kill,
5205 (impl_key_event): prune drasticaly.
5207 * libspi/eventlistener.c
5208 (spi_event_listener_add_callback),
5209 (spi_event_listener_remove_callback): kill, use
5211 (impl_accessible_event_notify_event): upd.
5212 (spi_event_listener_object_finalize): remove.
5214 * libspi/Makefile.am: use eventlistener.[ch]
5216 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5218 * libspi/registry.c (_registry_notify_listeners):
5219 Changed listener loop iteration to use preferred convention.
5220 Got rid of string memory leaks caused be calling g_strconcat
5221 inside function calls.
5223 * libspi/registry.c (parse_event_type):
5224 Stopped g_strconcat memory leaks, free the g_strsplit return,
5225 g_strdup the split pieces when used, etc.
5227 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5230 Change method 'compare' to return a 'difference set' rather than
5231 taking a StateSet as an out parameter (more Java-friendly).
5233 * idl/Accessible.idl:
5234 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5236 * idl/Component.idl:
5238 Changed methods 'getExtents' and 'getImageExtents' in these
5239 interfaces to return a BoundingBox structure.
5240 (getPosition and getSize are redundant and possibly should be
5241 removed, rather than creating a corresponding Point struct.)
5243 * cspi/spi_component.c:
5244 Modify implementation of getExtents to reflect the above IDL
5249 Add (missing) AccessibleImage_getExtents () API.
5251 * docs/reference/cspi/at-spi-cspi-sections.txt:
5252 Added AccessibleImage_getImageExtents () to docs.
5254 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5256 * idl/Component.idl:
5257 Added two methods, getLayer () and getMDIZOrder (), to reflect
5258 the new ATK methods atk_object_get_layer and
5259 atk_object_get_mdi_z_order. (Which arguably should be part of the
5260 AtkComponent API and AtkObject). Also added an enum,
5261 ComponentLayer, for the first method's return value.
5263 * libspi/component.c:
5264 Added implementations for these methods.
5266 * cspi/spi_component.c:
5268 Added cspi binding methods for above,
5269 AccessibleComponent_getLayer() and
5270 AccessibleComponent_getMDIZOrder().
5271 Added cspi enum 'AccessibleComponentLayer'.
5273 * docs/reference/cspi/at-spi-cspi-sections.txt:
5274 Added above methods to docs.
5278 Changed typedef for 'boolean' type (and all references to it) to
5279 SPIBoolean, to avoid keyword clashes with C++.
5282 Changed usages of 'boolean' to SPIBoolean.
5284 * test/keysynth-demo.c:
5285 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5286 app), except where SPIBoolean is required by the callbacks API.
5288 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5290 * cspi/spi_registry.c:
5291 Removed obsolete X event loop for passive keygrabs (which now
5294 * registryd/registryd.c:
5295 Removed unnecessary call to gdk_init() [cruft]. This also allows
5296 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5299 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5301 * docs/reference/cspi:
5302 Included docs for SPI_freeString in generated documentation.
5305 Renamed spi_freeString to SPI_freeString, for consistency. Added
5306 documentation for this function.
5309 Renamed spi_freeString to SPI_freeString, for consistency.
5310 Removed obsolete method declaration string_from_corba_string.
5312 * test/keysynth-demo.c:
5313 Small tweak to comments.
5316 Stopped leaking the strings returned from CSPI.
5318 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5320 Merged Michael's branch (see his ChangeLog entries below).
5322 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5323 bridge is alive, release on exit.
5325 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5326 Fix type check macro.
5329 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5332 Added is_gnome_app static, and method cspi_is_gnome_app(),
5333 so we can call the appropriate shutdown routine at exit in SPI_exit.
5335 * cspi/spi_main.c (cspi_object_ref):
5336 Duplicate the corba object passed in, since we're keeping it around.
5338 * cspi/SPI_exit.c, cspi_cleanup:
5339 Moved the releasing of the live refs to its own function, so we
5340 can put it in g_atexit (). Call the appropriate shutdown API
5341 depending on whethe calling client is a gnome app or not
5342 (bonobo_main_quit or CORBA_ORB_shutdown).
5344 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5345 Unref the listener when this method is called, after
5346 deregistration. Updated the API docs to note this behavior.
5348 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5349 Bugfixes: Ref the bonobo object when returning a parent or child
5350 reference, or an AccessibleRelation. Generally made sure
5351 BonoboObject refcount is incremented whenever we return an
5354 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5355 Fixed typo/bug in signal declaration.
5357 * libspi/accessibleeventlistener.h:
5360 * libspi/application.c (spi_application_new):
5361 Fixed leak in initialization.
5364 Remembered to increment bonobo-object refcount when returning
5365 children (applications) from desktop object.
5366 Added (empty) finalize method.
5368 * libspi/deviceeventcontroller.c:
5369 Hold a ref to listeners inside DEControllerKeyListeners.
5370 Added dec_key_listener_free() method. Use prepend instead of
5371 append in key_listener list. Fixed some refcount madness and
5372 leaks in the listener registration/deregistration - deregistration
5373 now calls dec_key_listener_free() on listeners, and on the
5374 temporarily constructed dec_key_listener() used to perform the search/match.
5376 * libspi/hypertext.c (spi_hypertest_finalize):
5377 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5378 class. Also fixed spi_hypertext_interface_new() and
5379 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5381 * libspi/hypertext.h:
5382 Removed pointless and duplicate AtkObject pointer from
5385 * libspi/keystrokelistener.c:
5386 Fixed incorrect type of keystroke_listener_parent_class,
5387 renamed keystroke_listener_object_finalize to
5388 spi_keystroke_listener_object_finalize.
5389 Fixed typo in signal declaration
5390 (spi_keystroke_listener_class_init).
5392 * libspi/registry.c:
5393 Added funcsions spi_listener_struct_new() and
5394 spi_listener_struct_free() to help with memory management issues.
5395 We also now use these methods instead of gnew + poking stuff into
5396 the struct, and to decrement listener counts/free the listeners
5397 when deregistering them.
5398 Fix more refcount bugs in getDesktop() and
5399 getDeviceEventController().
5402 De-ref the desktop after enumerating the applications. Explicitly
5403 decrement the refcounts on the created listeners on exit (using
5404 _unref for keystroke listeners, and via the
5405 deregisterGlobalEventListenerAll command for other event
5408 2001-11-27 Michael Meeks <michael@ximian.com>
5410 * cspi/spi-listener.h: fixup enum.
5412 2001-11-27 Michael Meeks <michael@ximian.com>
5414 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5415 (cspi_keystroke_listener_new): Use the cspi variants.
5417 2001-11-26 Michael Meeks <michael@ximian.com>
5419 * test/keysynth-demo.c: fix 2 compile warnings, missing
5422 * test/simple-at.c (report_focussed_accessible),
5423 (report_focus_event, report_button_press),
5424 (check_property_change, is_command_key),
5425 (report_ordinary_key_event, report_command_key_event): upd.
5427 * util/mag_client.h: include pre-requisites.
5429 * libspi/accessibleeventlistener.c
5430 (spi_event_listener_object_finalize): free any lingering
5433 * libspi/keystrokelistener.c
5434 (keystroke_listener_object_finalize): ditto.
5436 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5437 callbacks, with cspi types.
5439 * cspi/spi_event.c (createAccessibleEventListener): chain to
5440 (AccessibleEventListener_addCallback): here.
5441 (createAccessibleKeystrokeListener): chain to
5442 (AccessibleKeystrokeListener_addCallback): here.
5444 * libspi/keystrokelistener.c
5445 (spi_keystroke_listener_class_init): add signal.
5446 (impl_key_event): emit the event.
5447 (boolean_handled_accumulator): impl.
5448 (marshal_BOOLEAN__POINTER): add, gack.
5450 * libspi/accessibleeventlistener.c
5451 (spi_event_listener_class_init): add signal.
5452 (impl_accessible_event_notify_event): emit the signal &
5453 make the loop efficient.
5454 (spi_event_listener_add_callback): prepend the callback.
5456 * libspi/accessibleeventlistener.h: add an 'event' signal,
5457 decl type on callback.
5459 * libspi/keystrokelistener.h: ditto.
5461 * cspi/spi-listener.h: make methods typesafe and
5462 make them use the new event typedefs.
5464 * test/simple-at.c (report_focussed_accessible):
5465 include mag_client.h
5466 Use *(void *)text_interface not the other thing.
5468 * configure.in: add gtk to registryd bits - since we use
5471 * util/magnifier.c: include libbonobo.h
5473 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5475 * test/keysynth-demo.c:
5476 Turned this into a simple scanning keyboard, to demonstrate the
5477 use of g_timeout_add () as a means of creating timers for
5478 scanning, and the use of GtkStyle for visually indicating when
5479 virtual keyboard elements are selected.
5481 keysynth-demo now listens to any keyboard keys with zero-valued
5482 keycodes (i.e. 'unused' keys) and interprets them as
5485 Reworked the shiftlatch code so that shift-down state isn't held
5486 for long periods (it's only synthesized immediately prior to
5487 the keysynth event it's modifying). Note that shiftlatch in this
5488 demo is a convenience, not intended to take the place of AccessX
5489 which is the better choice for getting 'sticky' modifier keys.
5491 * libspi/deviceeventcontroller.c:
5492 * at-bridge/bridge.c:
5493 * cspi/spi_registry.c:
5494 Removed some debug print stuff, and put other verbosity in #ifdef
5499 Implemented some more of the magnifier IDL for the simple
5500 magnifier: namely, getZoomRegionParams.
5501 Added mag_x and mag_y members to MagnifierData struct, aid of this
5503 Added GtkWindow::realize signal handler to magnifier, to keep it
5504 from receiving keyboard focus from the WM.
5506 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5508 * cspi/spi-private.h: my guess at what michael forgot
5509 before he ran off to NZ :-)
5511 2001-11-23 Michael Meeks <michael@ximian.com>
5513 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5514 comment out non existant method invoke so we link.
5516 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5517 use bonobo_exception_get_text for more friendly warnings.
5519 * cspi/spi.c (Obj_Add): move into spi_main & rename
5520 spi_object_add; kill spi.c
5522 * cspi/spi_registry.c
5523 (deregisterGlobalEventListener),
5524 (deregisterGlobalEventListenerAll),
5525 (registerGlobalEventListener): fix exception leaks.
5527 * cspi/spi_main.c (spi_exception): impl. helper, so we
5528 don't leak exceptions.
5530 * cspi/spi_selection.c
5531 (AccessibleSelection_deselectSelectedChild): return the
5534 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5535 (spi_registry): ditto.
5536 (SPI_init): guard against double inits.
5538 * cspi/*.c: use spi_ev (), and spi_registry () where
5539 appropriate - a temporary hack until we have something
5540 better. Use spi_object_add
5542 2001-11-22 Michael Meeks <michael@ximian.com>
5544 * cspi/Makefile.am: re organise, install the headers.
5546 * cspi/*.h: add G_BEGIN/END_DECLS
5548 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5551 Added non-preemptive keylistener for key events with no modifiers
5552 and shift-only modifier.
5554 * libspi/keystrokelistener.c:
5555 Removed some verbose diagnostics printout.
5557 * cspi/spi_registry.c:
5558 Fixed a bug that caused all key listeners to be registered as
5561 * libspi/deviceeventcontroller.c:
5562 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5563 for non-preemptive key masks.
5566 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5568 * docs/reference/idl/at-spi-idl-docs.sgml:
5569 * docs/reference/idl/at-spi-idl-sections.txt:
5570 * docs/reference/idl/at-spi-idl-overrides.txt:
5571 Added missing files.
5573 * docs/reference/Makefile.am:
5574 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5575 to scan the IDL files :-(
5580 Added .cvsignore files.
5582 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5584 * libspi/deviceeventcontroller.c:
5585 * libspi/keystrokelistener.c:
5587 * cspi/spi_registry.c:
5588 Added filters for KeySets, KeyEventSeq, and event types to key
5589 event dispatching, so listeners should only receive those events
5590 that they requested :-)
5592 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5597 * docs/reference:Makefile.am:
5598 * docs/reference/cspi:
5599 * docs/reference/cspi:Makefile.am:
5600 * docs/reference/cspi:tmpl:
5601 * docs/reference/cspi:tmpl:*.sgml:
5602 * docs/reference/idl:
5603 * docs/reference/idl:Makefile.am:
5604 * docs/reference/idl:at-spi-idl-sections.txt:
5605 * docs/reference/idl:at-spi-idl-docs.sgml:
5606 * docs/reference/idl:tmpl:
5607 * docs/reference/idl:tmpl:*.sgml:
5609 Restructured docs directory to allow separate 'reference' docs
5610 section, and forked idl and cspi docs. Added the sgml template
5611 files to CVS. Added the first sections/structural sgml for the
5614 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5616 * configure.in, libspi/Makefile.am: find libXtst.
5618 2001-11-21 Michael Meeks <michael@ximian.com>
5620 * test/accessx-gui.c: s/spi_value/value/ - doh.
5622 * libspi/base.[ch]: add.
5624 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5626 * idl/Accessible.idl:
5627 * idl/Application.idl:
5630 Started gtk-doc cleanup on IDL.
5632 * libspi/deviceeventcontroller.c:
5633 Added and connected non-preemptive key notification from the
5634 toolkits (in addition to the pre-emptive support from XServer
5635 which we had before, but which causes 'focus flashing'). Filters
5636 are presently limited to key modifiers and global/non-global,
5637 KeySets are presently ignored, as are KeyEvent masks.
5639 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5640 structs into the persistant structure rather than just storing
5641 pointers to things that might not persist across servant
5644 The XGrabKey call now does async keygrabs, because synchronous
5645 ones were deadlocking with GDK_event code in a very nasty way.
5647 Added boolean to internal method notify_keylisteners, to indicate
5648 whether the event came from the 'toolkit source' or the 'global
5649 (XServer) source' - this is used in the notification process to
5650 determine which listeners to send the event to.
5652 deviceeventcontroller.c is now warning-free.
5654 * libspi/registry.c:
5655 Fixed regression in application de-registration.
5656 Also fixed some really brain-dead weirdness having to do with
5657 event dispatching - event structs are now duplicated before being
5658 re-marshalled in the dispatch to listeners. This also fixes a
5659 Solaris build problem.
5662 2001-11-20 Michael Meeks <michael@ximian.com>
5665 (impl_accessibility_registry_deregister_global_event_listener):
5668 * libspi/deviceeventcontroller.c
5669 (spi_device_event_controller_check_key_event): return
5670 FALSE on no virtual method.
5672 * libspi/*..h: make includes work on a correctly pathed install.
5674 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5676 * libspi/application.h: kill unused ( and whacked out )
5677 gboolean *spi_application_set_id (AtkObject *app, long id);
5679 2001-11-20 Michael Meeks <michael@ximian.com>
5681 * libspi/*.[ch]: further convert to bonobo's type func
5682 macros, remove redundnant casts etc.
5684 * libspi/text.c s/accessibility_text/spi_text/g,
5685 re-order to de-cruft.
5687 * libspi/hypertext.c: re-order to kill a huge slew
5688 of redundant forward decls.
5690 * libspi/relation.c: ditto.
5692 * libspi/image.c: ditto.
5694 * */.cvsignore: update
5696 2001-11-20 Michael Meeks <michael@ximian.com>
5698 * libspi/deviceeventcontroller.c
5699 (_controller_register_with_devices): use g_getenv,
5700 kill stdlib.h include.
5702 * libspi/keystrokelistener.c
5703 (spi_keystroke_listener_get_type): kill
5704 (spi_keystroke_listener_class_init),
5705 (spi_keystroke_listener_init): rename to this.
5707 * libspi/text.c (impl_getAttributes): fix warning / bug.
5709 * libspi/*.[ch]: more headers, includes and over commenting.
5711 2001-11-20 Michael Meeks <michael@ximian.com>
5713 * libspi/*.[ch]: fixup headers, includes and over commenting.
5715 * libspi/image.c (impl__get_imageDescription): const
5716 correctness warning fix. remove redundant casting.
5718 * libspi/table.c (impl_getRowDescription): ditto.
5719 (impl_getColumnDescription): ditto.
5721 * libspi/libspi.h: add.
5723 2001-11-19 Michael Meeks <michael@ximian.com>
5725 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5727 * libspi/component.c (accessibility_component_get_type):
5728 rename to (spi_component_get_type): and macroify.
5729 (accessibility_component_init): rename to
5730 (spi_component_init): this
5731 (accessibility_component_class_init): rename to
5732 (spi_component_class_init): this
5734 * libspi/action.c (spi_action_get_type): kill, use the macro.
5736 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5739 * libspi/application.c (spi_application_object_event_listener),
5740 (impl_accessibility_application_register_object_event_listener):
5741 warning fixes / const understanding updates.
5743 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5746 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5748 * libspi/spi_accessible.c: Added docs and C bindings for
5749 AccessibleStateSet. (No implementations yet). Documentation
5750 coverage for C bindings now 100%. Made docs for event listeners
5755 boolean notifyListenersSync (in DeviceEventListener listener,
5756 in DeviceEvent event);
5758 oneway void notifyListenersAsync (in DeviceEventListener listener,
5759 in DeviceEvent event);
5761 Added DeviceEventListener and DeviceEvent structs (may deprecate
5762 KeyStroke and KeystrokeListener in favor of this generic
5763 event/listener framework for devices).
5765 * libspi/deviceeventcontroller.c:
5767 Changed some key listener code to take masks, etc., and paved the
5768 way for integration of toolkit/non-preemptive key events. Changed
5769 signatures of some internal methods.
5771 * at-bridge/bridge.c:
5772 Fixed regression connecting to interface signals, apparently
5773 caused by GTK+ changes.
5775 Added an internal bridge_state_listener to deal with
5776 property-change:accessible-state signals.
5778 Changed the key_listeners GList to store structs (including masks,
5779 etc.) instead of just CORBA_Objects (required for full
5780 implementation of key listener API).
5782 Connected the bridge to all currently supported Atk signals.
5783 Events now supported:
5784 object:property-change
5785 object:property-change:accessible-name
5786 object:property-change:accessible-state
5787 object:property-change:accessible-description
5788 object:property-change:accessible-parent
5789 object:property-change:accessible-value
5790 object:property-change:accessible-role
5791 object:property-change:accessible-table-caption
5792 object:property-change:accessible-table-column-description
5793 object:property-change:accessible-table-column-header
5794 object:property-change:accessible-table-row-description
5795 object:property-change:accessible-table-row-header
5796 object:property-change:accessible-table-summary
5797 object:children-changed
5798 object:visible-data-changed
5799 object:selection-changed
5800 object:text-selection-changed
5802 object:text-caret-moved
5804 object:row-reordered
5806 object:column-inserted
5807 object:column-reordered
5808 object:column-deleted
5809 object:model-changed
5811 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5813 * libspi/hyperlink.c,h:
5814 Fixed some broken stuff in hyperlink.
5816 * libspi/relation.h:
5817 * libspi/relation.c:
5818 * cspi/spi_accessible.c:
5819 Initial implementations of AccessibleRelation methods, and docs.
5821 * libspi/accessible.c:
5822 Fixed a bug that caused SEGV if an accessible
5823 object's description is NULL, and a client
5824 requests it. An empty string is now returned.
5826 * cspi/spi_editabletext.c:
5827 * cspi/spi_hypertext.c:
5829 * cspi/spi_hyperlink.c:
5833 Doc coverage now 95%.
5835 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5837 One last namespacing revision:
5838 * libspi/accessibleeventlistener.[ch]:
5839 Renamed SpiAccessibleEventListener to SpiEventListener,
5840 (no need for two namespaces ;-)
5842 And lots of documentation fixes:
5844 * docs/at-spi-docs.sgml:
5845 Fixed 'underscore vs. hyphen' bug that was preventing
5846 the gtk-doc API docs from being automatically generated.
5849 * cspi/spi-listener.h
5851 * cspi/spi_accessible.c
5853 * cspi/spi_application.c
5854 * cspi/spi_component.c
5855 * cspi/spi_editabletext.c
5857 * cspi/spi_hypertext.c
5859 * cspi/spi_registry.c
5860 * cspi/spi_selection.c
5864 * docs/at-spi-docs.sgml
5865 * docs/at-spi-sections.txt
5867 Added and fixed up gtk-doc documentation in cspi.
5869 Interfaces now (fully) documented (subject to revision and enhancement):
5871 Event Listener Support
5873 AccessibleApplication
5877 AccessibleEditableText
5884 AccessibleRelationSet
5889 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5891 * at-bridge/bridge.c:
5892 Initial work for toolkit-level key snooper connection by bridge.
5897 New typedefs and fixes to support new namespacing, and cleaner
5898 separation of cspi bindings from libspi bonobo implementation.
5899 Removed inconsistent and extraneous Spi* namespace prefix that
5900 had crept into cspi headers.
5901 Lots of comment fixes that sed had missed.
5903 * cspi/spi-roletypes.h:
5904 * cspi/spi-statetypes.h:
5905 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5906 to AccessibleRoleType.
5908 * libspi/accessibleeventlistener.h:
5909 Fixed minor namespacing weirdness.
5911 * libspi/deviceeventcontroller.c:
5912 Reordered some internal API for device listeners.
5913 Changed the key registry final boolean to 'is_system_global'
5914 rather than 'is_synchronous', which is more descriptive of its
5916 Added spi_device_event_controller_new().
5917 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5919 * libspi/keystrokelistener.[ch]:
5920 Namespaced KeystrokeListener to SpiKeystrokeListener.
5921 Changed uses of keymasks to use SPI_ prefix, and did other
5924 * libspi/keymasks.h:
5925 Namespaced keymask constants with SPI_ prefix.
5927 * libspi/registry.c:
5928 Some warning fixes, and knock-on fixes from namespace changes.
5931 Added rules for accessx-gui test program.
5933 * test/accessx-gui.c:
5934 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5935 utility. It doesn't actually use at-spi, but it's still cool and
5938 * test/keysynth-demo.c:
5942 Fixes so that these test clients work properly with the namespaced
5943 libraries. (Incompletely tested for technical reasons, fixes may follow)
5946 2001-11-13 Michael Meeks <michael@ximian.com>
5948 * libspi/application.c
5949 (impl_accessibility_application_get_version),
5950 (impl_accessibility_application_get_toolkit_name):
5952 (impl_accessibility_application_set_id),
5953 (impl_accessibility_application_get_id): remove
5954 redundant casting code.
5956 * libspi/action.c (impl_getDescription): fix warnings.
5958 * libspi/accessible.c
5959 (impl_accessibility_accessible_get_parent),
5960 (impl_accessibility_accessible_get_child_at_index),
5961 (impl_accessibility_accessible_get_state),
5962 (impl_accessibility_accessible_get_relation_set):
5963 warning fixes & include action.h
5965 2001-11-13 Michael Meeks <michael@ximian.com>
5967 * *.[ch] fix bits I screwed up:
5969 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5970 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5972 2001-11-13 Michael Meeks <michael@ximian.com>
5974 * *.[ch] Namespace libspi into spi_ and Spi.
5976 2001-13-11 Michael Meeks <michael@ximian.com>
5978 * Makefile.am: dist & install at-spi-1.0.pc
5980 * libspi/Makefile.am: install into at-spi-1.0
5982 * idl/Makefile.am (idldir): install into at-spi-1.0
5984 * at-spi-1.0.pc.in: add.
5986 * configure.in: build it.
5988 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5990 * test/keysynth-demo.c:
5991 Use a 'realize' signal-handler to set the WM properties for
5992 the virtual keyboard, rather than making it a "POPUP" type
5993 override-redirect window (thanks to anders carlsson for that
5996 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5999 * test/keysynth-demo.c:
6000 Added new test of key synthesis, which creates a simple
6001 (mouse-operated) onscreen keyboard. It inserts key events into
6002 the currently-focused window, thus it does not grab keyboard focus
6005 * cspi/spi_registry.c:
6006 Added C binding for AT-SPI generateKeyEvent.
6008 * libspi/deviceeventcontroller.c:
6009 Added call to XFilterEvent so that key listener works with XIM (we
6010 hope). Added event_synth_type to generateKeyEvent, so that we can
6011 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6012 synthesize a press/release pair for KeySyms.
6014 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6016 * libspi/Makefile.am:
6017 * registryd/Makefile.am:
6018 (temporary) hack to include libXtst in libspi and registryd.
6019 (Needed for keystroke synthesis, see below).
6022 Improved API for registerKeystrokeListener, in accordance with
6023 discussions with Gnopernicus team and X server research.
6025 * libspi/registry.c:
6026 * libspi/deviceeventcontroller.c:
6027 * libspi/accessible.c:
6028 * libspi/keystrokelistener.c:
6029 Changes and fixes to support keylisteners for potentially
6030 consumed key events (that is, 'passive grabs').
6031 Added implementation for generateKeyEvent() [untested].
6034 Changes to registerKeystrokeListener() API, as above.
6035 Added deregisterGlobalEventListenerAll(), and
6036 deregisterKeystrokeListener(), which are needed for clean exit of
6038 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6039 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6041 * cspi/spi_registry.c:
6042 Added implementations of function prototypes mentioned above.
6044 * registryd/registryd.c:
6045 Added the key listener event source as a g_timeout(), to allow
6046 receipt of key events that are not caught by GDK (since GDK
6047 doesn't support passive keygrabs, this was necessary).
6050 Changed to attach a keylistener to 'Alt' keys, and
6051 respond to the following keycommands: Alt-M (toggle magnifier);
6052 Alt-F (toggle speech); Alt-Q (quit).
6053 Added an exit routine to deregister the listeners, and a key
6054 listener that prints some key info to the console when a key
6055 matches the listener mask (and is thus received by the listener).
6057 * util/idl/Magnifier.idl:
6058 Changes to magnifier API to support multiple zoom regions,
6059 non-uniform scaling in x and y, markDirty, and a host of other
6060 features that would be useful to magnification.
6063 * util/mag_client.c:
6064 * util/mag_client.h:
6065 * util/mag_control.c:
6067 Source code changes to support the above IDL changes.
6070 As above, and also changes to use a (slower) generic conversion
6071 path for colormap conversions, since the fast RGB conversions have been
6072 reported to fail for 16-bit displays.
6074 2001-10-26 Michael Meeks <michael@ximian.com>
6076 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6078 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6080 * at-bridge/Makefile.am: fix LDFLAGS.
6082 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6084 * at-bridge/bridge.c:
6085 Re-worked listeners for toolkit events, now we have signal
6086 and property listeners. Added a private method
6087 register_atk_event_listeners(), which registers with the
6088 various atk and gtk signals we need to monitor in order to emit
6090 Added emission hook for AtkObject:property-change events, to
6091 support the 'property listeners'.
6092 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6095 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6096 which emit warnings and exit, respectively, if CORBA errors occur
6097 during remote calls, and we now use these methods to check most of
6098 our CORBA calls in the C bindings.
6100 * cspi/spi_accessible.c:
6101 Changed AccessibleSelection_refSelectedChild() to
6102 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6103 now increment refcounts.
6105 * cspi/spi_component.c:
6106 Fixed some long pointer casts (dangerous!) to pass pointers to
6107 CORBA_longs of the proper type to the CORBA stubs, and copy the
6108 data into the longs that were passed into the C bindings code.
6110 * at-bridge/bridge.c:
6112 * libspi/accessible.c:
6113 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6114 hyperlinks, AtkHyperlink is an object type.
6116 * libspi/application.c:
6117 Added various conversions to and from "generic" event types and
6118 atk-specific types; this is really part of the 'bridge'
6119 implementation but is valid for all AtkObject-based accessibility
6122 * libspi/editabletext.c:
6123 Fixed nasty bug wherein editable text's finalize method was
6124 unref'ing tha AtkObject reference that the text parent class was
6125 about to unref _again_. There was also a nasty inheritance bug
6126 that meant that the AccessibleEditableText class was corrupt.
6128 * libspi/selection.c:
6129 Provided implementations for some selection API that was broken.
6131 * idl/Application.idl:
6132 Added registerObjectEventListener () method.
6135 Fixed a number of return values that were Bonobo_Unknowns from
6136 bonobo_object_corba_objref(), which I
6137 forgot to dup before returning. Changed instances of
6138 bonobo_object_corba_objref (bonobo_object(o)) to
6139 BONOBO_OBJREF(o), for concision and clarity.
6141 2001-10-13 Louise Miller <louise.miller@sun.com>
6143 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6144 idl/Event.idl, idl/Registry.idl
6145 Changed these files to include Bonobo_Unknown.idl instead
6148 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6150 * libspi/component.c libspi/component.h:
6151 Fixed typo. Added assertions for object checks in
6152 AccessibleComponent code.
6154 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6156 * idl/Accessible.idl:
6157 Added 'isEqual (Accessible *object)'
6158 method for Accessible. (Not Yet Implemented).
6161 Changed signature of registerKeystrokeListener() to
6162 take a KeySet and KeyEventSeq so that specific keys and event
6163 types could be requested for monitoring, and added a flag
6164 is_synchronous so that either synchronous or asynchronous
6165 notification could be requested. (However this is not all
6166 implemented yet). This also meant adding two new typedefs,
6167 KeyEventSeq and KeySet.
6170 Added two new relations, RELATION_TOOLTIP_FOR and
6171 RELATION_LEAFNODE_OF.
6174 Added new state, STATE_HAS_TOOLTIP.
6176 * libspi/text.c, editabletext.c:
6177 Added new assertions to all casts of bonobo-objects from
6178 CORBA servants, to prevent Text API calls on non-text objects.
6179 Changed suspect casts of int-pointer types, so that we
6180 always send a valid CORBA_long pointer to the CORBA APIs that use
6181 in/out long parameters. We then have to copy from the CORBA_long
6182 into the regular long or int for return to the C bindings, or
6183 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6186 * libspi/deviceeventcontroller.c:
6187 Cleaned these sources up.
6189 Changed return type for getCharacterAtOffset to
6190 CORBA_unsigned_long, to allow for 32-bit characters.
6193 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6197 Fixed 'make dist' so that distro compiles...
6198 * libspi/keymasks.h:
6200 * cspi/spi-listener.c:
6201 KeystrokeListenerCB now returns a boolean.
6203 Added KeyEventType struct, and KeyStroke.
6204 Also added createKeystrokeListener(),
6205 KeystrokeListener_addCallback(),
6206 KeystrokeListener_removeCallback(), and added a keymask to
6207 registerKeystrokeListener().
6208 * cspi/spi_accessible.c:
6209 Changed numerous return types for interfaces from
6210 AccessibleComponent to Accessible<InterfaceName>; this was
6211 probably a cut-and-paste error.
6213 Implementations of new KeystrokeListener api (from spi.h,
6216 Changes to key modifier mapping.
6217 Created ControllerEventMask struct.
6218 Made DeviceEventController derive from Bonobo::Unknown.
6220 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6221 * libspi/deviceeventcontroller.c:
6222 Added a number of new internal (private) methods.
6223 * libspi/editabletext.c:
6224 * libspi/editabletext.h:
6225 Fixed a number of bugs related to the fact that
6226 editabletext inherits from text. Fixed the EditableText struct,
6227 the init() call, and use correct casts when calling Text methods
6228 from an EditableText object. Removed (duplicate) atko from the
6229 EditableText structure, we use the one in the parent Text
6230 structure via the casts mentioned above.
6231 * libspi/keystrokelistener.[ch]:
6232 * libspi/registry.c:
6233 Changes in support of keyboard handling (above).
6235 Keyboard handling, though partly functional, is still not
6236 recommended for at-spi client use as there is considerable
6237 work yet to be done.
6240 Changed some places where pointers to various int types
6241 are cast to be pointers to CORBA_long types and vice-versa:
6242 pointer casting is not safe so we pass pointers of the correct
6243 types and then cast the result before putting it into the target
6246 * libspi/text.h: minor typos corrected.
6248 We now speak not only the name of a Text element, but the
6249 first sentence of its content, when it receives focus.
6250 I also changed the text compression to 75% from 50%.
6251 * util/Accessibility_Util.server.in:
6252 Changed the default magnifier type to be a 3x vertical
6253 splitscreen magnifier (was previously a 2x horizontal one).
6255 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6257 * libspi/keystrokelistener.h:
6258 * libspi/keystrokelistener.c:
6259 Initial functional implementations of KeystrokeListener.
6262 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6264 Fixed string handling for NULL strings in libspi.
6265 Added spi_freeString to free strings returned by C bindings.
6267 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6269 * libspi/keystrokelistener.h:
6270 * libspi/keystrokelistener.c:
6271 Began (no-op) implementations of KeystrokeListener
6273 * libspi/deviceeventcontroller.c:
6274 * libspi/deviceeventcontroller.h:
6275 Began creating implementations of DeviceEventController,
6276 to handle keystroke and mouse event listening and
6278 * libspi/accessible.c:
6279 Stubbed-in the implementations for
6280 Accessibility_Accessible_getState and
6281 Accessibility_Accessible_getRelationSet.
6282 * libspi/registry.c:
6283 Improved de-registration process and fixed some bugs,
6284 deregistration now works correctly.
6286 Added initialization of applications list (to NULL).
6288 Reduced speech compression from 0.5 to 0.7, for demo.
6289 Changed call to gdk_window_set_decorations()
6290 to gtk_window_set_decorated().
6291 * at-bridge/bridge.c:
6292 Bridge now deregisters when app exits, via
6293 registration of a cleanup function
6294 with the g_atexit() call.
6295 Required making 'app' static, renamed 'this_app'.
6296 Fixed broken use of bonobo_init, passing argv wrongly.
6298 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6302 Created a new directory for
6303 accessibility-related utilities, primarily for
6304 testing and demo purposes, but with possible
6311 Onscreen magnifier utility that
6312 is implemented as a bonobo service.
6314 * util/mag_client.c:
6315 * util/mag_client.h:
6316 Client-side support (simple C bindings)
6317 for Magnification service
6319 * util/mag_control.c:
6320 Client program example for
6321 Magnification service
6323 * util/Accessibility_Magnifier.server.in:
6324 Bonobo-activation file for the
6325 Magnification service.
6328 * util/idl/Magnifier.idl:
6329 IDL defining the bonobo Magnification
6333 Modifications to use the bonobo-activated magnifier
6334 above, in place of trying to connect to an existing
6335 magnifier that uses socket-listening IPC.
6337 If env variable MAGNIFIER is set, a magnifier service
6338 will be started if one does not exist.
6340 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6342 * at-bridge/bridge.c:
6343 applied patch from Marc to build and run
6344 against new glib and gtk+ (seemed like a change
6345 to bonobo_init signature was made ?)
6347 made festival-server support turned off by default.
6348 Added support for a simple magnifier (off by default)
6349 which will be added to a 'util' directory later.
6350 * at-bridge/Makefile.am:
6351 Changed "application.h" header from a 'source'
6352 to a 'dependency' of libat-bridge.
6354 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6363 Added interface implementation c files to list of
6364 includes so they are included in libcspi.
6367 Changed prototype of AccessibleAction_doAction to return a
6369 Changed prototype of AccessibleTable_getCaption to
6370 return an Accessible.
6371 Changed prototype of AccessibleTable_getSelectedRows
6372 and AccessibleTable_getSelectedColumns to
6373 return a long (returns the number of selected rows
6374 or columns respectively).
6375 Changed name of AccessibleText_refRunAttributes to
6376 AccessibleText_getAttributes.
6377 Changed prototype of AccessibleText_getCharacterExtents to
6378 return a void rather than a boolean.
6379 Added support for a AccessibleCoordType parameter
6380 specifying what type of coordinates are desired.
6381 Added an AccessibleCordType parameter to
6382 AccessibleText_getPointAtOffset.
6384 * cspi/spi_accessible.c:
6385 Added code to return the outstanding interfaces from
6386 Accessible_queryInterface.
6388 * cspi/spi_action.c:
6390 Corrected call to getNActions to call the c binding
6393 * cspi/spi_editabletext.c:
6395 Changed name from setRunAttributes to setAttributes.
6397 * cspi/spi_hyperlink.c:
6399 Changed call to getNAnchors to correctly call the c
6400 binding for an attribute.
6402 * cspi/spi_hypertext.c:
6404 Changed getImageDescription to correctly call the
6405 binding for an attribute.
6407 * cspi/spi_selection.c:
6408 Changed getNSelectedChildren to correctly call the c
6409 binding for the attribute.
6410 Changed refSelectedChild to getSelectedChild.
6414 Changed getCaption to return an Accessible.
6415 Fixed calls which retrieve attributes.
6416 Changed refAt to getAccessibleAt.
6417 Changed getNSelectedRows and getNSelectedColumns to
6421 Changed getCharacterExtents and getPointAtOffset to accept an
6422 AccessibleCoordType.
6424 Changed calls which retrieve attributes.
6425 Changed refRunAttributes to getAttributes.
6430 * idl/Hyperlink.idl:
6431 Changed n_anchors attribute to nAnchors to keep naming
6432 convention consistent.
6435 Made Table inherit from Bonobo::Unknown.
6436 Added nSelectedColumns and nSelectedRows attributes.
6439 Made Value inherit from Bonobo::Unknown.
6441 * libspi/hyperlink.c:
6442 Change for nAnchors attributte name change.
6444 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6452 Added interface implementation c files to list of
6453 includes so they are included in libcspi.
6456 Changed prototype of AccessibleAction_doAction to return a
6458 Changed prototype of AccessibleTable_getCaption to
6459 return an Accessible.
6460 Changed prototype of AccessibleTable_getSelectedRows
6461 and AccessibleTable_getSelectedColumns to
6462 return a long (returns the number of selected rows
6463 or columns respectively).
6464 Changed name of AccessibleText_refRunAttributes to
6465 AccessibleText_getAttributes.
6466 Changed prototype of AccessibleText_getCharacterExtents to
6467 return a void rather than a boolean.
6468 Added support for a AccessibleCoordType parameter
6469 specifying what type of coordinates are desired.
6470 Added an AccessibleCordType parameter to
6471 AccessibleText_getPointAtOffset.
6473 * cspi/spi_accessible.c:
6474 Added code to return the outstanding interfaces from
6475 Accessible_queryInterface.
6477 * cspi/spi_action.c:
6479 Corrected call to getNActions to call the c binding
6482 * cspi/spi_editabletext.c:
6484 Changed name from setRunAttributes to setAttributes.
6486 * cspi/spi_hyperlink.c:
6488 Changed call to getNAnchors to correctly call the c
6489 binding for an attribute.
6491 * cspi/spi_hypertext.c:
6493 Changed getImageDescription to correctly call the
6494 binding for an attribute.
6496 * cspi/spi_selection.c:
6497 Changed getNSelectedChildren to correctly call the c
6498 binding for the attribute.
6499 Changed refSelectedChild to getSelectedChild.
6503 Changed getCaption to return an Accessible.
6504 Fixed calls which retrieve attributes.
6505 Changed refAt to getAccessibleAt.
6506 Changed getNSelectedRows and getNSelectedColumns to
6510 Changed getCharacterExtents and getPointAtOffset to accept an
6511 AccessibleCoordType.
6513 Changed calls which retrieve attributes.
6514 Changed refRunAttributes to getAttributes.
6519 * idl/Hyperlink.idl:
6520 Changed n_anchors attribute to nAnchors to keep naming
6521 convention consistent.
6524 Made Table inherit from Bonobo::Unknown.
6525 Added nSelectedColumns and nSelectedRows attributes.
6528 Made Value inherit from Bonobo::Unknown.
6530 * libspi/hyperlink.c:
6531 Change for nAnchors attributte name change.
6534 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6536 implementations-- made server implementations own AtkObject pointers
6537 rather than their respective AtkInterrface pointers to fix
6538 refcounting. AtkHyperlink is still broken.
6540 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6541 * cspi/spi_accessible.c:
6542 Added method Accessible_Role_getName(),
6543 and requisite string array (role_names).
6544 Added conversion string_from_corba_strin() call
6545 to Accessible_getName and _getDescription.
6546 * libspi/accessible.c:
6547 Added implementation for Accessible_getRole()
6549 Added festival support, used if environment variable
6552 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6554 * at-bridge/bridge.c:
6555 Now allocate Accessibility_Event using
6556 Accessibility_Event__alloc() instead of g_new0().
6557 * libspi/accessibleeventlistener.c:
6558 Initialize AccessibleEventListener->callbacks to NULL.
6559 Fixed accessible__event_listener_init() param, changed to
6560 "AccessibleEventListener *" type.
6561 Changed a bonobo_object_release_unref() call to
6562 Accessibility_Accessible_unref().
6563 * libspi/listener.c:
6564 Changed Bonobo_Unknown_unref to (equivalent)
6565 Accessibility_Accessible_unref.
6566 * libspi/registry.c:
6567 Changed bonobo_object_release_unref to
6568 Accessibility_Accessible_unref.
6570 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6573 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6574 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6575 spi-util.c spi-util.h
6576 Implementations for C bindings to remaining accessibility
6579 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6582 changed return value of Action from void to boolean to
6583 bring in line with ATK.
6586 Changed getText funcions to return "out" start and end offsets.
6587 Changed getAttributes to take and offset and return the start
6588 and end offset of the attribute run.
6589 Changed getOffsetAtPoint and getCharacterExtents to take an
6590 enum describing whether coordinates are window or screen.
6593 libspi/action.c libspi/action.h libspi/editabletext.c
6594 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6595 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6596 libspi/image.h libspi/selection.c libspi/selection.h
6597 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6598 libspi/value.c libspi/value.h
6599 Added server implementations for outstanding ATK interfaces
6600 not yet implemented.
6602 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6605 Added (missing) getName() method.
6606 Made nActions an attribute.
6607 * idl/EditableText.idl:
6608 Changed order of params in setAttributes.
6609 * idl/Hyperlink.idl:
6610 Removed getAnchor, added getURI.
6612 Changed attributes to methods, for efficiency
6613 (so that getting extents can be done in one call)
6614 * idl/Selection.idl:
6615 Changed nSelectedChildren to attribute, and re-indented.
6616 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6618 * idl/Text.idl: reformatted to match our coding style.
6619 (temporarily?) removed getRowColumnAtOffset().
6620 Changed text selection API to support multi-select and
6621 non-contiguous selections, as in ATK.
6622 * idl/Value.idl: changed some methods to attributes.
6624 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6626 * libspi/listener.c(impl_notify_event):
6627 BonoboUnkown_unref the source instead
6628 of bonobo_object_release_unref - the ORB
6629 handles the releasing.
6631 * configure.in: require ORBit-2.3.94 for
6634 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6636 Tagged CVS repository 'EA_1_0'.
6637 * README.EARLY_ACCESS:
6638 Alphabetized acknowledgements list, and
6640 Listed some known dependencies of at-spi.
6642 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6644 * docs/at-spi-docs.sgml:
6645 * docs/at-spi-sections.txt:
6646 * docs/at-spi-overrides.txt: (Added zero-length file)
6647 Documentation improvements - gtk-doc should build
6648 docs for all implemented C bindings now.
6651 * cspi/spi.c: (New file)
6652 * cspi/spi_event.c: (New file)
6653 * cspi/spi_registry.c: (New file)
6654 * cspi/spi_accessible.c: (New file)
6655 * cspi/spi_application.c: (New file)
6656 * cspi/spi_component.c: (New file)
6657 Split spi_main.c into six parts, and included them from
6658 "spi.c". This is a bit of a hack, probably temporary,
6659 but required by gtk-doc, apparently.
6661 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6664 * docs/at-spi-docs.sgml:
6665 * docs/at-spi-sections.txt:
6667 Initial checkins/modifications for gtk-doc generation.
6670 Added (missing) interface query methods to Accessible's C binding.
6672 Added GenericInterface type definition.
6674 Added query for AccessibleComponent interface to focus event handler.
6675 Added printout of bounding box for focussed component.
6676 * libspi/component.c:
6677 Added partial implementation for AccessibleComponent to C binding.
6678 * idl/Application.idl:
6679 * libspi/registry.c:
6680 * libspi/listener.c:
6681 * libspi/application.c:
6682 * libspi/application.h:
6683 Changed "ID" attribute type from string to long.
6685 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6689 Made method naming consistent: methods taking object args
6690 start with uppercase, other methods (except those using
6691 acronyms) start with lowercase. Underscores delimit between
6692 object names and method names:
6693 SPI_init() - uppercase since it starts with an acronym.
6694 getDesktopCount () - lowercase start since no object param0.
6695 Accessible_getName() - uppercase object type name, studlyCaps method
6699 Added gtk-doc documentation for all currently implemented
6700 methods in the C bindings API.
6702 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6704 * Makefile.am : changed build order to build test last.
6707 Changed "createEventListener" to "CreateEventListener".
6708 * libspi/accessibleeventlistener.c :
6709 Bugfix for addition of callbacks.
6710 * test/Makefile.am :
6711 * test/simple-at.c :
6712 Added new test that uses the C bindings API.
6714 * libspi/listener.c :
6715 * libspi/registry.c :
6716 * libspi/accessibleeventlistener.c :
6717 * at-bridge/bridge.c :
6718 Renamed member "target" of Accessibility_Event to "source",
6719 which is more descriptive.
6722 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6726 * cspi/Makefile.am :
6727 Added makefile support for at-spi/cspi directory.
6730 * cspi/spi-listener.h : (NEW FILE)
6731 Added support for/use of spi-listener.h.
6733 C bindings now build successfully, with no warnings.
6734 * libspi/accessibleeventlistener.h : (NEW FILE)
6735 * libspi/accessibleeventlistener.c : (NEW FILE)
6736 * libspi/Makefile.am :
6737 Added new object type "AccessibleEventListener"
6738 which inherits from Listener, and allows attachment
6739 of in-process callbacks (so that a client with a listening
6740 object instance can add functionality to the local
6741 implementation, dynamically).
6743 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6745 * libspi/accessible.c:
6746 Add implementation for get_index_in_parent().
6748 Added #include of "spi-roletypes.h", and
6749 added enumerated type AccessibleCoordType.
6750 Added definition for KeystrokeListener (function type).
6753 * cspi/spi-statetypes.h :
6754 * cspi/spi-roletypes.h :
6756 Added these headers, used by spi.h.
6758 Added code (NOTE: not yet built by make).
6760 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6762 * libspi/Makefile.am: generate imodule
6763 at the same time as other idl compiler
6766 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6767 * libspi/registry.c :
6768 * libspi/application.c :
6769 * idl/Application.idl :
6770 Made registration with toolkit an application method,
6771 which is required since each app has its own toolkit static
6772 environment. Thus the bridge must register for
6773 notification of toolkit events from each application in turn.
6774 Toolkit notifications are now successfully registered for, and
6775 sent to the listening at client.
6777 Changed toolkit event string to use hyphens rather than underscores.
6778 * libspi/listener.c :
6779 listner now gives more info in debug mode - it reports the
6780 name of the event received, as well as the name of the source.
6783 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6785 * libspi/registry.c :
6786 added more implementation for toolkit events.
6787 Fixed bug such that toolkit event registrations
6788 (via atk) use the whole event name string, not
6790 Removed a useless call to an ORBit_ method.
6791 * at-bridge/bridge.c :
6792 Removed unused local sbuf[] variable.
6794 We now register for Gtk:GtkWidget:button_press_event
6795 events as well as "focus:" events.
6797 Add some more API from Registry.idl that was missing,
6798 for keystroke listening, keystroke and mouse event
6799 synthesis, and enumeration of accessible desktops.
6801 2001-08-16 Michael Meeks <michael@ximian.com>
6803 * configure.in: use AM_GLIB_GNU_GETTEXT.
6805 * Makefile.am (SUBDIRS): kill intl.
6807 2001-08-15 Michael Meeks <michael@ximian.com>
6809 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6811 * configure.in: upd.
6813 * configure.in: depend on a recent bonobo-activation that
6814 will find our server files ...
6816 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6818 * libspi/accessible.c : accessible_new() :
6819 Now we add the Component interface via bonobo_object_add_interface,
6820 if the contained AtkObject implements AtkComponent.
6821 * libspi/accessible.h : now include "component.h"
6822 * libspi/component.h :
6823 * libspi/component.c : added files - implementation of
6824 bonobo wrapper object for Accessibility/Component
6825 * libspi/listener.c :
6826 Added test code to check for Accessibility/Component:1.0
6827 interface and report whether it is implemented by the
6829 * libspi/registry.c :
6830 Now we check for not only the hash of the whole event
6831 string before relaying the event, we also check the
6832 "minor" event string (without the detail string).
6833 This allows event listeners to be registered against
6834 all events of a certain major+minor type, or just
6835 against a specific major+minor+detail type.
6836 * libspi/accessible.c :
6837 Added implementations for Accessible:get_parent(),
6838 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6839 * libspi/registry.c :
6840 * libspi/listener.c :
6841 Replaced calls to Accessibility_Accessible_ref() and
6842 Accessibility_Accessible_unref() with
6843 calls to bonobo_object_dup_ref() and
6844 bonobo_object_release_unref(), so that the CORBA object
6845 is dup-ed and released when relayed, as well as the bonobo object.
6847 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6849 * libspi/Makefile.am,
6850 registryd/Makefile.am,
6851 at-bridge/Makefile.am.
6852 test/Makefile.am, configure.in:
6853 reverse previous changes.
6855 * /idl/Image.idl: fix typo.
6857 * test/Makefile.am: put DEBUG_FLAGS
6860 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6862 * test/app.c: use argv[0] instead of
6865 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6867 * libspi/Makefile.am,
6868 registryd/Makefile.am,
6869 at-bridge/Makefile.am.
6870 test/Makefile.am, configure.in:
6871 cleanup, replace individual LIBS/CFLAGS with
6872 AT_COMMON_{LIBS|CFLAGS}.
6876 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6878 * configure.in, libspi/Makefile.am:
6879 Change IDL path checking for bonobo-activation
6882 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6884 * registryd/registry.c : separated event listeners to use
6885 3 separate lists (focus, window, toolkit). Began testing
6886 event names against hashes before relaying events.
6887 * test/at.c : now register for events of type "focus:"
6888 * test/app.c : now generate events of type "focus:"
6889 * at-bridge/bridge.c : register with ATK for focus events,
6890 and we now relay those focus events to any "focus:" listeners.
6891 This now works with the bridge as a GTK_MODULE when running test/at.
6892 * libspi/registry.c :
6893 * libspi/listener.c :
6894 now we ref event sources before propagating, and unref on receipt.
6895 * libspi/registry.c :
6896 some changes to internal structs, to support event typestring hashes.
6897 * text/app.c : changed the way the appname is generated.
6898 * cspi : added directory that will hold the C bindings library for
6899 non-CORBA/bonobo-savvy clients.
6900 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6901 * idl/Component.idl : added in parameter to indicate coord system for
6902 geometry-related calls.
6903 * idl/Hyperlink.idl : added readonly n_links attribute
6904 * idl/Image.idl : changed methods to attributes.
6906 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6908 * at-bridge/Makefile.am: link against
6909 ../libspi/libspi.la instead of -lspi.
6911 * at-spi/test/app.c: include
6912 bonobo-activation.h. Use a default appname
6913 if one is not provided.
6915 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6917 * idl/Registry.idl : temporarily changed register_Application
6918 to oneway, to work around issue with initial registration
6920 * idl/Application.idl : changed attribute "id" from readonly
6921 to read-write, since it needs to be assigned by Registry.
6922 * registryd/registryd.c : added call to set application id
6924 * registryd/registry.c : changed de-registration procedure to
6925 use CORBA_Object_hash() to find matching object ref in application
6926 lists and listener lists.
6927 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6928 began distinguishing between event types (work in progress).
6930 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6933 * libspi/application.c:
6934 Added implementations for get/set id, get_toolkitName,
6936 * registryd/registryd.c :
6940 Converted from use of OAF to bonobo-activation.
6941 * libspi/desktop.h :
6942 * libspi/desktop.c :
6944 Removed references to atksimpleobject, since base atkobject
6945 implementation now provides functionality we need.
6946 * libspi/atksimpleobject.c :
6947 * libspi/atksimpleobject.h :
6952 * at-bridge/Makefile.am
6953 * at-bridge/bridge.c
6956 Added directory "bridge" and contents, and added dependencies
6957 in Makefile.am/configure.in.
6958 Initial checkin of "at-bridge".
6959 This code is a GTK_MODULE which automatically registers
6960 GTK+ apps with the accessibility registry, using an object
6961 reference to the root ATK object.
6963 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6965 * po/Makefile.in.in: Remove. Again. If this
6966 doesn't get autogenerated - you need to update
6969 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6971 * po/Makefile.in.in: Add. Again.
6973 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6975 * libspi/accessible.c : added support for 'description' property.
6976 * libspi/accessible.c
6978 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6979 (since the two are now equivalent in libbonobo)
6987 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6988 Bonobo::Unknown as does Accessibility::Accessible.
6989 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6990 interface with Bonobo::Stream, since it was redundant with it.
6991 (The Stream returned by a StreamableContext object is expected to
6992 implement only a subset of Bonobo::Stream)
6994 2001-07-28 Anders Carlsson <andersca@gnome.org>
6996 * libspi/accessible.c (accessible_object_finalize): Change
6997 g_free to g_object_unref since the AtkObject is a GObject.
6999 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7001 * idl/Accessibility.idl: add new IDL files
7004 * idl/Action.idl: Definitions of actionable UI object
7005 * idl/Component.idl: Definitions of UI component geometry, etc.
7006 * idl/Hyperlink.idl: Defs of hyperlink behavior
7007 * idl/Image.idl: Def of accessible image
7008 * idl/Selection.idl: Definition of UI object with selectable children
7009 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7010 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7011 * idl/Text.idl: Interface defs for UI elements with complex textual content
7012 * idl/Value.idl: Definition of UI element that is a value controller or display
7014 2001-07-27 Michael Meeks <michael@ximian.com>
7016 * po/Makefile.in.in: remove autogenerated file from CVS.
7018 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7021 * idl/Registry.idl: include guard.
7023 * idl/Accessibility.idl: Add, and include all the other IDL
7026 * idl/*.idl: remove mass of pragmas etc.
7028 2001-07-26 Michael Meeks <michael@ximian.com>
7030 * registryd/Makefile.am (registryd_SOURCES): remove
7033 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7035 * libspi/.cvsignore, registryd/.cvsignore,
7036 test/.cvsignore: updated.
7038 * po/Makefile.in.in: gettext update.
7040 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7042 * initial CVS checkin
7044 2001-06-29 Michael Meeks <michael@ximian.com>
7046 * configure.in: add AM_CONFIG_HEADER to gen config.h