1 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
3 * libloginhelper-1.0.pc.in:
4 * idl/Accessibility_LoginHelper.idl:
5 * login-helper/Makefile.am:
6 * login-helper/login-helper.[ch]:
7 * test/login-helper-client-test.c:
8 * test/login-helper-server-test.c: Added files missing from CVS.
9 Files obtained from at-spi-1.5.2 tarball.
11 2004-05-27 Bill Haneman <bill.haneman@sun.com>
13 * configure.in: Create login-helper/Makefile.
14 Incremented micro version.
16 * Makefile.am: Add login-helper subdir and pkgconfig data.
18 * login-helper: New subdir.
20 * libloginhelper-1.0.pc.in: New.
22 * idl/Accessibility_LoginHelper.idl: New file, defines
23 interface whereby authentication clients can identify agents which
24 need access to services during the login process, e.g. screen lock
27 * login-helper/Makefile.am : New.
29 * login-helper/login-helper.[ch] : New, implementation of
30 a LoginHelper base class. Services needing LoginHelper can subclass.
32 * test/Makefile.am : Added test for login-helper, client and
35 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
36 Use proper prefix in #include files.
38 * test/login-helper-client-test.c: New.
40 * test/login-helper-server-test.c: New.
42 2004-05-27 Alexander Shopov <ash@contact.bg>
44 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
46 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
48 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
49 is positive. This should make it easier to detect inapprorpiate unref
52 2004-05-11 James Henstridge <james@daa.com.au>
54 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
57 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
59 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
61 2004-04-28 Bill Haneman <billh@gnome.org>
63 * Makefile.am: Added --enable-gtk-doc to
64 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
66 2004-04-19 Bill Haneman <billh@gnome.org>
68 * configure.in: Revved to 1.5.1.
70 * registryd/deviceeventcontroller.c:
72 (DEControllerPrivateData): Added fields for
73 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
74 (spi_dec_replace_map_keysym): New internal utility for
75 replacing a keysym in the keymap - used to allow
76 synthesis of individual characters which aren't in the
78 (spi_dec_reset_reserved): New; resets the changed keysym value
80 (keycode_for_keysym): We now try to deal with failed
81 XKeysymToKeycode requests by changing a keymap value
82 and returning a reserved keycode. We now take
83 a DEController pointer as first arg.
84 (spi_controller_register_with_devices): Call XkbGetMap with
85 the XkbKeySymsMask. Find the highest keycode in the current
86 keymap which doesn't have any grabs, and mark that one for
87 temporary re-mapping when out-of-range KeySyms are synthesized.
88 (dec_synth_keycode_press): Call XFlush after synthesizing the key
91 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
93 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
95 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
97 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
99 2004-03-24 Bill Haneman <billh@gnome.org>
102 (AccessibleTable_addRowSelection),
103 (AccessibleTable_addColumnSelection),
104 (AccessibleTable_removeRowSelection),
105 (AccessibleTable_removeColumnSelection):
106 Add declarations for spi wrappers which were
107 inadvertantly omitted. Fixes bug #133413.
110 Revved to 1.5.0 (unstable series for GNOME 2.7).
112 2004-03-24 Bill Haneman <billh@gnome.org>
114 * atk-bridge/bridge.c:
115 Bracketed some debug output in
116 conditionals, to avoid printing it in normal use.
119 * libspi/hyperlink.c:
120 Don't cast 'object' to ATK_OBJECT when constructing
121 an AtkAction interface for a hyperlink.
122 See discussion in bug #120659.
124 * test/key-listener-test.c:
125 (report_all_key_event): Send output to stderr,
126 not stdout, for consistency with the rest of the test callbacks.
129 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
130 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
131 Incremented to 1.4.1 (but didn't dist yet - I'm going to
132 try incrementing the revision AFTER doing a dist, at least
135 2004-03-22 Bill Haneman <billh@gnome.org>
137 * configure.in: Revved to 1.4.0, libtool 9.14.9
139 2004-03-17 Laszlo Peter <laca@sun.com>
141 * libspi-1.0-uninstalled.pc.in: add idldir
143 * cspi-1.0-uninstalled.pc.in: add idldir
145 2004-03-16 Gareth Owen <gowen72@yahoo.com>
147 * configure.in: Added "en_GB" to ALL_LINGUAS
149 2004-03-15 Bill Haneman <billh@gnome.org>
151 * configure.in: Revved to 1.3.16,
154 2004-03-15 Laszlo Peter <laca@sun.com>
156 * libspi-1.0-uninstalled.pc.in: new file
158 * cspi-1.0-uninstalled.pc.in: new file
160 * configure.in: add the new pc files to AC_OUTPUT
162 * Makefile.am: add the new pc files to EXTRA_DIST
164 2004-03-12 Bill Haneman <billh@gnome.org>
166 * atk-bridge/bridge.c:
167 (spi_atk_bridge_key_listener):
168 Make sure to return consumed=FALSE if snoop
169 event is not dispatched to listener.
172 2004-03-01 Bill Haneman <billh@gnome.org>
174 * configure.in: Revved to 1.3.15,
177 2004-03-07 Danilo Segan <dsegan@gmx.net>
179 * configure.in: Added "sr@ije" to ALL_LINGUAS.
181 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
183 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
185 2004-03-01 Bill Haneman <billh@gnome.org>
187 * configure.in: Revved to 1.3.14.
190 (SPI_exit): Removed "bye-bye" exit message.
191 Moved "leak" report to happen before the
192 iteration over the leaked refs list.
193 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
195 2004-02-24 Bill Haneman <billh@gnome.org>
197 * configure.in: Revved to 1.3.13.
199 * docs/reference/cspi/Makefile.am:
200 Correct typo that was breaking the docs build.
202 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
204 * autogen.sh: Require version 1.7 of automake.
206 * configure.in: call GTK_DOC_CHECK([1.0])
208 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
210 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
212 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
214 * test/Makefile.am: Remove use of CFLAGS.
216 This fixes bug #132987.
218 2004-02-11 Bill Haneman <billh@gnome.org>
220 * reverted most of Tomasz' patch below, since it was breaking
221 builds (see bug #134058).
223 2004-02-10 Tomasz Kłoczko <kloczek@pld.org.pl>
225 * docs/reference/cspi/at-spi-cspi.types: added empty file for
226 correct pass "make dist" (empty .. because seems no sach types in
227 header files with gtk-doc markups).
228 * docs/reference/cspi/Makefile.am, configure.in:
229 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
230 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
231 * Makefile.am: added:
232 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
233 for force correct pass generate documentation on "make distcheck".
234 * libspi/Makefile.am: fixes for automake >= 1.6.
235 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
236 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
239 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
241 * docs/reference/cspi/Makefile.am (install-data-local): Install
242 index.sgml since the doc autobuilder on widget.gnome.org looks for
245 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
247 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
250 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
252 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
254 2004-01-27 Brian Cameron <brian.cameron@sun.com>
256 * test/simple-at.c: Fixed null string problems that cause core
257 dumping problems on Solaris.
259 2004-01-12 Bill Haneman <billh@gnome.org>
261 * configure.in: Incremented version to 1.3.11.
263 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
265 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
266 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
269 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
271 * configure.in: Added "fa" to ALL_LINGUAS.
273 2003-12-20 Arafat Medini <lumina@silverpen.de>
275 * configure.in: Added "ar" to ALL_LINGUAS
277 2003-12-16 Bill Haneman <billh@gnome.org>
279 * registryd/registry-main.c:
281 Set the reg_env DISPLAY variable before registering the
282 activated registry service. Fixes bug #129479.
284 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
286 * configure.in: Added "id" in ALL_LINGUAS
287 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
289 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
291 * registryd/deviceeventcontroller.c (global_filter_fn):
292 When an event is consumed discard any XEvents were added to
293 the queue while dealing with the the event. This can happen if
294 processing of the event takes a long time. Call XUngrabKeyboard
295 if an event was discarded. This fixes bug $124837.
296 Only call wait_for_release_event for a KeyPress.
297 Use local variable display instead of spi_get_display().
298 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
301 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
303 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
304 Allow for mask to contain values other than NumLock mask.
307 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
309 * registryd/devieceventcontroller.c:
310 (wait_for_release_event): Change first parameter from GdkEvent to
312 (global_filter_fn); Correct call to wait_for_release_event.
316 2003-12-08 Bill Haneman <billh@gnome.org>
320 * registryd/ucs2keysym.c: New file.
322 * registryd/deviceeventcontroller.c:
323 (dec_keysym_for_unichar): Remove old partial implementation and
324 replace with call to ucs2keysym(), which is much more complete.
325 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
330 2003-12-05 Bill Haneman <billh@gnome.org>
332 * configure.in: Version 1.3.9.
334 * docs/reference/cspi/tmpl/spi_registry.sgml:
335 Added reference to libspi/keymasks.h to the
336 description of Registry queries: AccessibleKeyMaskType.
339 2003-12-04 Bill Haneman <billh@gnome.org>
343 * idl/Accessibility_Application.idl:
344 (Accessibility::LOCALE_TYPE): New enum, corresponds to
345 setlocale's LC_TYPEs.
346 (Accessibility::Application::getLocale): New method.
347 Allows clients to query the locale, by type, of an app.
350 * cspi/spi_application.c:
351 (AccessibleApplication_getLocale): New method, wraps IDL above.
353 * libspi/application.c:
354 (spi_application_class_init): Init epv entry for getLocale.
355 (impl_accessibility_application_get_locale): Impl for above.
357 * test/test-simple.c:
358 (test_application): Added assertion for getLocale, i.e.
359 that the string from AccessibleApplication_getLocale (app, type)
360 is the same as that from setlocale (type, NULL);
362 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
364 *registryd/deviceeventcontroller.c: Add an idle handler which polls
365 the keyboard on a timeout intil the key state goes from pressed to
366 released. Fixes bug #111429.
368 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
370 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
371 root object so that it is present when a context menu in an
372 out-of-process applet is popped up.
373 (spi_atk_bridge_do_registration): Create acceessible application root
374 object only if it does not exist.
376 This fixes bug #125834.
378 2003-12-01 Bill Haneman <billh@gnome.org>
380 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
383 Added enum for AccessibleStreamableContentSeekType.
384 (AccessibleStreamableContent_freeContentTypeList): New.
386 * cspi/spi_streamablecontent.c:
387 (accessible_bonobo_stream_client_seek): New private method.
388 (AccessibleStreamableContent_seek): Implemented this method,
389 using Bonobo_Stream_seek.
390 (AccessibleStreamableContent_freeContentTypeList): New method
391 for freeing the return value from
392 AccessibleStreamableContent_getContentTypes.
393 (stream_cache_item_free): Replaces stream_release; stop leaks.
394 (stream_release): removed.
395 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
396 free the memory properly.
398 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
402 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
404 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
406 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
408 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
410 2003-12-01 Bill Haneman <billh@gnome.org>
412 Fix for bug/rfe #127463.
414 * idl/Accessibility_Accessible.idl:
415 (getLocalizedRoleName): New.
416 (unimplemented4): Removed (replaced by above).
418 * libspi/accessible.c:
419 (impl_accessibility_accessible_get_local_role_name): New.
420 (spi_accessible_class_init): Add getLocalizedRoleName entry to
424 (Accessible_getLocalizedRoleName): New.
426 * cspi/spi_accessible.c:
427 (Accessible_getLocalizedRoleName): New.
429 2003-12-01 Bill Haneman <billh@gnome.org>
432 * idl/Accessibility_Text.idl:
433 (getDefaultAttributes): New.
434 (unimplemented4): Removed (replaced by above method).
437 (impl_getDefaultAttributes): New method.
438 (spi_text_class_init):
439 initialize the get_default_attributes slot in the epv.
442 (AccessibleText_getDefaultAttributes): New prototype.
445 (AccessibleText_getDefaultAttributes): New method.
447 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
449 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
450 write beyond the end of the table. Fixes bug #120473.
452 2003-09-30 Christian Rose <menthos@menthos.com>
454 * configure.in: Added "eu" to ALL_LINGUAS.
456 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
458 * configure.in: ALL_LINGUAS: Added no.
460 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
462 * configure.in: Added lt to ALL_LINGUAS.
464 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
466 * atk-bridge/bridge.c:
467 (atk_bridge_init): Register event listeners always even for
468 out-of-process applet.
469 (spi_atk_bridge_toplevel_added): Remove call to
470 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
471 (spi_atk_bridge_toplevelk_removed): Remove call to
472 spi_atk_deregister_event_listenersa as the listeners are now always
474 (spi_atk_bridge_register_application): Remove call to
475 spi_atk_register_event_listeners as it is not done in atk_bridge_init
477 This fixes bug #120991.
479 * libspi/table.c (impl_getColumnDescription): Correct typo,
480 pointed out by Bolian.Yin@sun.com.
482 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
484 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
486 2003-09-08 Bill Haneman <billh@gnome.org>
488 * configure.in: Revved to 1.3.7.
490 This is the GNOME 2.4.0 release of at-spi.
492 * docs/reference/cspi/Makefile.am:
493 Removed spurious inclusion of 'index.sgml' in the
494 html directory; this was breaking make distcheck and
495 also some other build environments.
497 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
499 * registryd/registry.[ch}:
500 Add queue_handler_id and focus_object to SpiRegistry data structure.
501 (registry_flush_event_queue): If event being discarded is
502 "state-change:focused" store object as focus_object.
503 (registry_start_queue): Remove queue handler and focus object
505 (registry_discard_event): New function which discards a focus event
506 if we had stored focus object in the registry.
507 (registry_queue_event): Add new check that is_queueing is set as this
508 function is reentrant.
509 (registry_filer_event): Add call to registry_discard_event.
511 This resolves issues raised in bug #108664.
513 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
515 * configure.in: Added "bn" to ALL_LINGUAS.
517 2003-09-04 Bill Haneman <billh@gnome.org>
519 * cspi/spi_event.c: Documentation improvements for
520 (SPI_registerAccessibleKeylistener).
522 * docs/reference/tmpl/spi_registry.sgml:
523 Documentation improvements for SpiAccessibleKeylistenerCB.
525 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
527 * configure.in: Added "ro" to ALL_LINGUAS.
530 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
532 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
533 not decremented to zero. Fixes bug #120725.
535 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
537 * configure.in: Added "ja" to ALL_LINGUAS.
539 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
541 * configure.in: Added "is" to ALL_LINGUAS.
543 2003-08-22 Christian Rose <menthos@menthos.com>
545 * configure.in: Added "nl" to ALL_LINGUAS.
547 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
549 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
550 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
552 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
554 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
555 type for unspecified exception.
556 * cspi_streamablecontect): Add include of string.h for memcpy.
557 (stream_release): Correct call to bonobo_object_release_unref
558 (stream_cache_item_free): Correct call to bonobo_object_release_unref
559 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
560 argument of _cspi_expection_throw.
561 * libspi/hyperlink.c: Add include of libspi/action.h:
562 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
563 * libspi/streamablecontent.c: add include of libspi/component.h.
564 * regisrtyd/deviceeventcontroller.c:
565 (spi_dec_translate_mask): Removed unused variable priv.
566 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
567 * registryd/registry.c:
568 (registry_filter_event): Remove unused variable queue_is-empty.
569 (impl_registry_notify_event): Use correct modifier in fprintf call.
571 This fixes compiler warnings reported in bug #120220.
573 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
575 * registryd/registryd.c: Remove this file.
577 2003-08-17 Sanlig Badral <badral@openmn.org>
579 * configure.in: Added mn to ALL_LINGUAS.
581 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
583 * configure.in: Added et to ALL_LINGUAS.
585 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
587 * test/event-listener-test.c: Change active-descendant to
588 active-descendant-changed.
590 2003-08-10 Sami Pesonen <sampeson@iki.fi>
592 * configure.in: Added "fi" in ALL_LINGUAS.
594 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
596 * configure.in: Added "hi" in ALL_LINGUAS.
598 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
600 * configure.in: Revved to 1.3.6.
604 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
606 * registryd/deviceeventcontroller.c
607 (spi_device_event_controller_object_finalize): Fix typo in previous
610 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
612 * registryd/deviceeventcontroller.c
613 (spi_device_event_controller_object_finalize): Fix build on
614 systems without XEvIE.
616 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
618 * acconfig.h, configure.in, registryd/Makefile.am,
619 registryd/devicecontoller.[ch]: Add XEViE support.
621 2003-08-06 Wang Jian <lark@linux.net.cn>
623 * configure.in: Added "zh_CN" to ALL_LINGUAS.
625 2003-08-06 Metin Amiroff<metin@karegen.com>
627 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
629 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
631 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
632 MODIFIER_ALT in correct place.
634 This fixes part of bug #118114.
636 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
638 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
640 2003-07-28 Changwoo Ryu <cwryu@debian.org>
642 * configure.in: Added "ko" to ALL_LINGUAS.
644 2003-07-28 Ole Laursen <olau@hardworking.dk>
646 * configure.in: Added "da" to the commented out ALL_LINGUAS.
648 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
650 * configure.in: Added "sq" to ALL_LINGUAS.
652 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
654 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
656 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
658 * configure.in: updated ALL_LINGUAS list
660 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
662 * configure.in: Added Belarusian to ALL_LINGUAS.
664 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
666 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
668 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
669 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
671 This fixes bug #116949.
673 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
675 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
676 Correct CSPI to SPI in function documentation.
678 This fixes bug #118054.
680 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
682 * configure.in: Added Russian to ALL_LINGUAS.
684 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
686 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
688 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
690 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
692 2003-07-10 Joel Brich <joel.brich@laposte.net>
694 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
696 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
698 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
700 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
702 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
703 resources allocated for AccessibleEvent. See cspi_event().
705 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
706 static variable streams to NULL.
708 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
709 Update so that AcessibleEvent_ref will work.
711 This fixes bug #116624.
713 2003-07-06 Jordi Mallach <jordi@sindominio.net>
715 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
717 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
719 * configure.in: Added "fr" (French) to ALL_LINGUAS.
721 2003-07-02 Christian Neumair <chris@gnome-de.org>
723 * configure.in: Added "de" (German) to ALL_LINGUAS.
725 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
727 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
729 2003-07-01 Miloslav Trmac <mitr@volny.cz>
731 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
733 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
735 * configure.in: Added "pl" to ALL_LINGUAS.
737 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
739 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
741 2003-06-30 Bill Haneman <bill.haneman@sun.com>
744 (get_action_from_servant):
745 Removed assertion that action is implemented on an AtkObject.
747 * libspi/hyperlink.c:
749 Aggregate AccessibleAction interface on the hyperlink object if
750 the object implements AtkAction. (This convention is used in
753 2003-06-30 Bill Haneman <bill.haneman@sun.com>
755 * configure.in: Revved to 1.3.5.
757 * registryd/Accessibility_Registry.server.in.in:
758 Marked up appropriate strings for translation.
760 * atk-bridge/bridge.c: Marked a couple of
761 user-visible warnings for translation. Questionable
762 whether they are really useful, but possibly so.
765 2003-06-28 Christian Rose <menthos@menthos.com>
767 * configure.in: Added "sv" to ALL_LINGUAS.
769 2003-06-26 Bill Haneman <bill.haneman@sun.com>
771 * registryd/registry.c:
772 (spi_registry_object_finalize): Unref the deviceeventcontroller.
773 (registry_defer_on_event): Defer focus: events, this is an
774 improvement to the patch for bug #108664.
776 * TODO: Update with 2.4/"Dev Complete" items.
778 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
780 * atk-bridge/bridge.c:
781 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
782 looks up signals once.
783 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
784 if doing registration.
785 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
786 when doing registration.
788 This fixes bug #115014.
790 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
792 * atk-bridge/bridge.c:
793 (atk_bridge_init): Add signal handler for children-changed:remove on
794 root when in a BonoboComponent.
795 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
796 for first toplevel only other incrememt variable toplevels.
797 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
798 application and remove listeners.
799 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
801 (spi_atk_deregister_event_listeners): New function which removes
803 (reinit_register_vars): New fuction which reinitializes variables.
805 This fixes bug #111578.
807 2003-06-13 Bill Haneman <bill.haneman@sun.com>
809 * configure.in: version 1.3.4.
811 * cspi/spi_accessible.c:
812 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
815 2003-06-13 Michael Meeks <michael@ximian.com>
817 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
819 * cspi/spi_main.c (cspi_peek_ev): impl.
821 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
823 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
825 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
827 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
828 SPI_ROLE_AUTOCOMPLETE
830 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
832 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
833 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
835 2003-06-11 Bill Haneman <bill.haneman@sun.com>
837 * libspi/streamablecontent.h:
838 * libspi/streamablecontent.c:
839 New files, provide implementation/wrappers for
840 Accessibility_StreamableContent.
842 * cspi/spi_streamablecontent.c:
843 Connected the C wrappers to the libspi C bindings.
844 (AccessibleStreamableContent_close): New method.
847 (AccessibleStreamableContent_close): New method, needed
848 since we have an "open, [seek], read, close" model in cspi.
850 2003-06-11 Bill Haneman <bill.haneman@sun.com>
852 Fix for #108664; Padraig's revision of my original patch.
854 * registryd/registry.h:
855 Added event queue list, is_queuing, and exit_notify_timeout
856 to the registry struct.
858 * registryd/registry.c:
859 (registry_init): Initialize new struct from registry.h.
860 (impl_registry_notify_event):
861 Filter events before notifying, in case some need to be
863 (registry_filter_event): New,
864 we defer certain incoming events (for instance
865 window:deactivate) because we may wish to hide
866 or reject them based on pending events. This is
867 mostly a workaround for bug #108664.
868 (registry_queue_event, registry_start_queue): New.
869 (registry_defer_on_event): Test event to see if it
871 (registry_reset_on_event): Returns TRUE if the
872 event should cause a queue reset.
873 (registry_discard_on_event): Returns TRUE if the event
874 should cause the previous queue contents to be discarded.
875 (registry_timeout_flush_queue): Flushes the pending event
876 queue if no reset/discard-triggering events have come in
877 within the timeout period.
878 (registry_emit_event): New.
879 (registry_clone_notify_context): New, used when queueing the
880 event notify contexts.
882 2003-06-10 Bill Haneman <bill.haneman@sun.com>
884 * configure.in: Version revved to 1.3.2, lt 0.9.2
885 Incremented ATK required version to 1.3.4.
887 * cspi/spi_registry.c:
888 (SPI_generateKeyEvent):
889 We now pass the keystring along if it's non-null.
891 * registryd/deviceeventcontroller.c:
892 (keysym_mod_mask): New method, returns modifier mask
893 required to generate a keysym from a given keycode.
894 (dec_synth_keysym): New method.
895 (dec_synth_keystring): New method.
896 (dec_get_modifier_state): New method.
897 (dec_lock_modifiers): New
898 (dec_unlock_modifiers): New.
899 (dec_keysym_for_unichar): New, rather brute-force
900 conversion from UCS-4 to X KeySyms. Only works for
901 Latin at the moment, with partial implementations for
902 Greek, Hebrew, and (incomplete) Katakana.
903 (impl_generate_keyboard_event): Now implement
904 "KEYSTRING" synthesis and implement "KEYSYM"
906 (keycode_from_keysym): Improved, passes a returned
907 modmask value now if the corresponding param is non-NULL.
909 Fixes bugs #92143 and #109776.
912 * test/keysynth-test.c:
913 New test program for key synthesis, to confirm fixes for
917 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
919 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
921 * cspi/spi_accessible.c (cspi_init_relation_type_table):
922 Add line for RELATION_POPUP_FOR
924 * docs/reference/cspi/tmpl/spi_relation.sgml:
925 Add relation SPI_RELATION_POPUP_FOR
927 * docs/reference/cspi/tmpl/spi_stateset.sgml:
928 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
930 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
932 * libspi/relation.c (spi_init_relation_type_table):
933 Add line for RELATION_POPUP_FOR
935 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
937 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
938 there are still windows which have not been deleted and emit
939 window:deactivate, if necessary and window:destroy events.
940 This fixes bug #114370. The change on June 5th was not correct.
942 2003-06-09 Bill Haneman <bill.haneman@sun.com>
944 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
947 (SPI_dupString): Allow dup-ing of a string such that it's safe to
949 New methods for client exception handling and interception.
950 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
951 (SPI_exceptionHandlerPop): You guessed it...
952 (SPI_getSourceType): Return the type of object which offended.
953 (SPI_getExceptionCode): Return an enum code telling, possibly,
954 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
955 (SPIAccessibleException_getSource): get the source object for
956 exceptions that come from Accessibles, if SPIExceptionSourceType is
957 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
958 (SPIException_getDescription): New, returns a string description of
959 the problem. [Not yet a stable ABI, strings are not frozen]
961 * cspi/spi-private.h:
962 Added implementation details of opaque SPIException
966 Implementations of above. Also
967 (_cspi_exception_throw): new private method that
968 dispatches exceptions to handlers, called from cspi-bonobo.c
970 * cspi/bonobo/cspi-bonobo.c:
971 (cspi_check_ev): call _cspi_exception_throw.
972 Don't print a warning message if the exception has been
973 handled by _cspi_exception_throw.
975 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
977 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
978 there are still windows which have not been deleted and emit
979 window:deactivate, if necessary and window:destroy events.
980 This fixes bug #114370.
982 2003-06-03 Bill Haneman <bill.haneman@sun.com>
985 (cspi_accessible_is_a): Make non-fatal
986 if the object reference is dead.
988 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
990 * cspi/spi_main.c: #include <stdio.h>
991 * test/simple-at.c: ditto
992 * test/event-listener-test.c: ditto
993 * test/screen-review-test.c: ditto
995 2003-05-30 Michael Meeks <michael@ximian.com>
997 * test/test-simple.c (main): use CORBA_ORB_perform_work
998 instead of an unnecessary linc_ call.
1000 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1002 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1003 Add SPI_STATE_INDETERMINATE.
1005 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1008 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1010 * libspi/stateset.c (init_state_type_tables): Add support for
1013 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1015 * configure: Update versions of atk and gail required.
1016 This fixes bug #113268.
1018 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1020 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1022 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1024 * libspi/Makefile.am:
1025 Ensure headers are generated before being used by c sources.
1027 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1030 Simplified lt versioning rules.
1031 Incremented version to 1.3.0, to indicate that we're on the
1032 unstable branch now.
1034 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1036 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1037 Add MKDB_OPTIONS=--outtput-format=xml
1039 * docs/reference/cspi/at-spi-cspi-docs.sgml
1040 docs/reference/idl/at-spi-idl-docs.sgml:
1041 Convert to Docbook XML.
1043 This fixes bug #111793.
1045 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1047 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1048 AcccessibleKeyEventType, AccessibleKeyMaskType.
1050 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1052 * cspi/state-types.h: Add documentation for AccessibleState.
1054 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1055 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1056 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1057 AccessibleComponentLayer.
1059 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1062 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1064 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1065 Accessible. Add description of AccessibleEvent,
1066 AccessibleEventListenerCB.
1068 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1071 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1072 documentation. Add description of AccessibleKeystrokeListenerCB,
1073 AccessibleKeyEventMask, AccessibleModifierMaskType,
1074 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1075 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1077 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1080 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1083 This fixes bug #104730.
1085 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1087 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1088 Set is_text field of Accessibility_DeviceEvent data structure.
1090 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1091 is-text field of AccessibleDeviceEvent data structure.
1093 This addresses part of bug #108666.
1095 * registryd/devcieeventcontroller.c: Unset debug option.
1097 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1099 * cspi/accessible.c:
1100 (cpi_initial_relation_type_table): New function which initializes
1101 mapping between Accessibility_RelationType and AccessibleRelationType.
1102 (cspi_relation_type_from_spi_relation_type): New function which
1103 translates an Accessibility_RelationType into an AccessibleRelationType.
1104 (AccessibleRelation_getRelationType): Use
1105 cpi_relation_type_get_spi_relation_type to return correct value.
1106 (spi_state_to_corba): Return correct type for default case.
1108 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1109 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1111 * cspi/cspi-bonobo-listener.c:
1112 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1115 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1116 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1117 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1118 libspi/image.c, libspi/listener.c, libspi/selection.c,
1119 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1120 registryd/desktop.c, registryd/registry.c:
1121 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1123 * libspi/eventlistener.c
1124 Remove semicolon after BONOBO_TYPE_FUNC.
1126 * libspi/relation.c:
1127 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1128 (spi_init_relation_type_table): Initialize using correct type.
1130 * registryd/desktop.c:
1131 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1132 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1133 of Accessibility_KeyEventType.
1135 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1138 * tests/simple-at.c, tests/screen-review-test.c:
1139 Add include for <strings.h>.
1141 * tests.stress-test.c:
1142 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1144 These changes fix compiler warnings when using FORTE compiler on
1145 Solaris; fixes bug #107479.
1148 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1151 * configure.in: revved to 1.1.10
1153 * libspi/keymasks.h:
1154 (SPI_KEYMASK_NUMLOCK): Added.
1156 * registryd/deviceeventcontroller.c:
1157 (spi_key_event_matches_listener): AND with a smaller
1158 bitmask (as we should).
1159 (spi_dec_translate_mask):
1160 New method, sets the virtual NumLock modifier bit
1161 if numlock is on. Eventually it can handle other virtual
1162 modifier bits if needed, or other marshalling from
1163 at-spi modifier masks to platform (X) masks.
1164 (spi_dec_key_listener_new):
1165 Call spi_dec_translate_mask to set up virtual mod bits
1166 in the 'mask' field when creating a new listener struct.
1167 (spi_dec_emit_modifier_event):
1168 Set the virtual (i.e. NumLock) bits before emitting event.
1169 (spi_controller_register_with_devices):
1170 Query for the NumLock modifier 'physical' bit if Xkb is
1171 present, for use in above methods.
1175 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1177 * registryd/deviceeventcontroller.c:
1178 (spi_keystroke_from_x_key_event):
1179 Instead of checking to see if the keysym is
1180 printable, check the string from XLookupString
1181 if available, get the first unicode character from it,
1182 and call g_unichar_isprint to determine whether the
1183 is_text flag should be TRUE or FALSE.
1187 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1189 * atk-bridge/bridge.c: Add support for extended events
1190 * cspi/spi_event.c: Add documentation and implementation for
1192 * tests/event-listener-test.c: Add tests for extended events.
1194 This fixes bugs #100424 and #100426.
1196 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1198 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1199 of LT_CURRENT. This fixes bug #89350.
1201 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1203 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1204 number of signal parameter values before accessing them. This fixes
1207 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1209 * configure.in: Fixed duplicate inclusion of -lspi.
1210 * branched for gnome-2-2/HEAD.
1211 [created tag "gnome-2-2"]
1213 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1215 * configure.in: 1.1.9 release.
1218 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1220 [needed by GOK, to fix bugs 107985 and 107988]
1221 * registryd/deviceeventcontroller.c:
1222 (spi_dec_clear_unlatch_pending):
1223 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1224 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1225 (spi_dec_init_mouse_listener):Emit warning if mouse button
1227 (spi_device_event_controller_forward_mouse_event):
1228 Removed unnecessary parens from a conditional.
1229 (global_filter_fn):Added TODO comment.
1230 (impl_generate_keyboard_event):
1231 Cancel a pending relatch if a 'delatching' key was
1234 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1236 * atk-bridge/bridge.c:
1237 Change atk_signal_child_changed to atk_signal_children_changed.
1238 Reorganize code in spi_atk_bridge_signal_listener().
1240 * test/event-listener-test.c:
1241 Add children_changed_listener and report_children_changed_event()
1242 to test AccessibleChildEvent_getChildAccessible.
1244 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1246 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1247 g_strdup to CORBA_String_dup (bug #105291)
1249 * test/event-listener-test.c (report_text_event): Add call to
1252 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1254 * registryd/deviceeventcontroller.c:
1255 (spi_keystroke_from_x_key_event):
1256 Fix string and keysym return codes to match modifier state.
1259 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1261 * registryd/deviceeventcontroller.c:
1262 (spi_keystroke_from_x_key_event):
1263 Fix segv due to improper use of isprint(c). [bug #107254]
1265 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1268 (get_accessible_text_boundary_type):
1269 Move default return value to (new) default case in switch.
1270 (get_accessible_text_clip_type):
1271 Move default return value to (new) default case in switch.
1273 * libspi/application.c:
1274 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1275 Remove unused methods.
1276 (impl_accessibility_application_register_object_event_listener):
1277 Remove unused methods.
1280 Added #include of <math.h>.
1282 * registryd/deviceeventcontroller.c:
1283 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1284 we don't currently use this method.
1285 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1287 (impl_generate_key_event):
1288 Remove unused variables.
1289 (impl_generate_mouse_event):
1290 Initialize button to zero, just in case we get an invalid
1291 input. Added support for mouse buttons 4 and 5.
1292 (spi_device_event_controller_new):
1293 Removed unused variable declaration for 'private'.
1295 Added #include of <gdk/gdk.h>
1297 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1299 * configure.in: Update to work when X is not installed in expected
1300 location. Fixes bug #105836.
1302 * atk-bridge/bridge.c
1303 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1305 (spi_atk_register_event_listener): Add signal listener for
1307 (spi_atk_bridge_signal_listener): Event event when link-selected
1308 signal is emitted. (bug #104622)
1310 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1311 on returned string. (bug #105291)
1313 * test/event-listener-test.c: Add test for link-selected.
1315 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1317 * atk-bridge/Makefile.am: Correct typo in previous commit.
1319 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1321 * atk-bridge/Makefile.am: Allow for build directory to be different
1322 from source directory
1324 * registryd/Makefile.am: Allow for build directory to be different
1325 from source directory
1329 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1332 Fixed dependencies for libcspi so that libspi gets pulled in
1333 properly. Fixes 104741.
1337 Clean up inline docs a little.
1339 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1341 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1342 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1343 the AtkObject within an SpiDesktop.
1344 This addresses bug #101524.
1346 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1347 Remove call to gdk_init().
1349 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1350 so that Display is set when SpiDesktop is created.
1352 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1354 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1355 This fixes bug #102830.
1357 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1359 * test/test-simple.c: Update to take account of fact that GailButton
1360 now implements AtkText.
1361 (create_text_window): Set name on AtkObject for GtkEntry.
1362 (validate_accessible): Check accessible name before calling test_text().
1364 * libspi/Makefile.am: Fix problem with building outside of source
1365 directory. Bug #98120.
1367 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1368 typo in documentation comments. Bug #94275.
1370 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1372 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1374 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1377 Add includes to avoid compiler warnings on Solaris.
1378 (impl_getRangeExtents): Bug fix.
1380 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1382 Fix for 100944, [API addition approved by Gman and murrayc].
1389 * idl/Accessibility_Text.idl:
1390 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1391 (Text::getRangeExtents): New method for efficient
1392 bounds query of a text range.
1393 (Text::getBoundedRanges): New method for efficient
1394 clipping of text to bounding boxes.
1395 (unImplemented7, unImplemented8):
1396 Removed these padding methods to preserve bincompat.
1399 (impl_getRangeExtents): implementation of new IDL.
1400 (impl_getBoundedRanges): implementation of new IDL.
1401 (SpiTextRect): Internal use struct.
1402 (_spi_text_rect_union): internal method, calculates union of two
1403 SpiTextRect bounding rects.
1404 (_spi_text_range_seq_from_gslist): internal method, allows us
1405 to build our sequence efficiently as a gslist then convert it
1407 (_spi_bounds_contain): internal method, determines whether
1408 a text character is "in" or "out" of a clip rect according to
1409 values of TEXT_CLIP_TYPE.
1410 (spi_text_class_init): Initialize the new methods in the epv.
1413 (AccessibleTextClipType): New enum used by screen review api.
1414 (AccessibleTextRange): New struct used by screen review api.
1415 (AccessibleText_getRangeExtents):
1416 cspi binding for Accessibility_Text_getRangeExtents.
1417 (AccessibleText_getBoundedRanges):
1418 cspi binding for Accessibility_Text_getBoundedRanges.
1419 (AccessibleTextRange_freeRanges): convenience method.
1422 (AccessibleText_getRangeExtents):
1423 cspi binding for Accessibility_Text_getRangeExtents.
1424 (AccessibleText_getBoundedRanges):
1425 cspi binding for Accessibility_Text_getBoundedRanges.
1426 (AccessibleTextRange_freeRanges): convenience method.
1427 (get_accessible_text_clip_type): internal conversion method.
1428 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1430 * registryd/deviceeventcontroller.c:
1431 (spi_dec_mouse_check):
1432 Improved behavior for mouse:abs events
1433 [same granularity as mouse:rel events, and no
1434 events when mouse is idle].
1436 2002-12-16 Michael Meeks <michael@ximian.com>
1438 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1440 * libspi/stateset.c (state_spi_to_atk): split out
1441 ( fix several remote array bounds nasties )
1442 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1443 (impl_remove): make safe from array bounds issues.
1444 (spi_atk_state_from_spi_state): impl.
1446 * libspi/stateset.h (spi_state_set_cache_is_empty):
1447 add a set of wrapper defines to get layering right.
1449 * cspi/spi_accessible.c: update state set stuff to
1452 2002-12-14 Michael Meeks <michael@ximian.com>
1454 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1455 to avoid 2 roundtrips to the registry per key event
1456 (spi_atk_bridge_key_listener): upd.
1457 (deregister_application): release the dec.
1459 * registryd/registry.c (notify_listeners_cb):
1460 bin lots of re-enterant complexity - we no longer
1461 do a round-trip bonobo ref here, ensure that a single
1462 listener's exception failure won't poison all other
1464 (impl_registry_notify_event): bin obvious memory leak.
1466 2002-12-13 Michael Meeks <michael@ximian.com>
1468 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1469 init the ev so the error is meaningful.
1470 (spi_atk_bridge_key_listener): ditto.
1472 * cspi/spi_main.c (cspi_ev): init the ev so we start
1473 with a clean slate, otherwise the first exception
1474 kills us completely.
1476 * cspi/spi_text.c (get_accessible_text_boundary_type):
1477 add a fallthrough for no warnings.
1479 * cspi/spi_registry.c: prune unused warnings.
1481 * cspi/spi_main.c (cspi_object_take): fix
1482 mind-blowing brokenness ( by watching the compile
1485 * cspi/spi_accessible.c (Accessible_getStateSet):
1486 re-impl. to use an AtkStateSet.
1487 (spi_state_type_from_accessible_state),
1488 (init_state_table): bin these.
1490 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1492 (atk_state_set_from_accessibility_state_set): here.
1494 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1495 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1496 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1497 (AccessibleStateSet_add, AccessibleStateSet_remove),
1498 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1499 (AccessibleStateSet_isEmpty): re-write to use a local
1502 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1504 * configure.in: Revved to 1.1.7 (new keymask vals).
1506 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1508 * libspi/keymasks.h:
1509 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1511 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1514 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1515 to compare two CORBA_TypeCodes.
1516 (cspi_internal_event_add): Silence warning from FORTE compiler.
1518 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1519 avoid implicit declaration of functions.
1521 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1523 * atk-bridge/bridge.c:
1524 (spi_atk_bridge_init_event_type_consts): Store signal id for
1525 active-descendant-changed signal.
1526 (spi_atk_register_event_listeners): Add signal listener for
1527 active-descendant-changed signal,
1528 (spi_atk_bridge_signal_listener): Move code in function
1529 spi_atk-signal_emit_event() into this function.
1530 Add support for active-descendant-changed
1531 Update support for child-changed signal.
1532 (spi_bridge_window_event_listener): Silence warning.
1534 * libspi/spi_private.[ch]:
1535 (spi_init_any_object): Change second parameter from CORBA_Object to
1537 Omit call to CORBA_Object_duplicate().
1538 Set CORBA_any's _value to CORBA_Object*.
1540 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1546 (AccessibleEvent_ref, AccessibleEvent_unref):
1547 New methods, for persisting an event outside the emission context.
1548 Must be used if the new accessor methods are to be called
1549 outside of the event listener's callback.
1551 * cspi/bonobo/cspi-bonobo.c:
1552 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1553 as second parameter instead of NULL, so we can call
1554 cspi_check_ev afterwards.
1557 (cspi_object_take): New internal method,
1558 converts a CORBA_Object reference to a hard ref on
1559 an Accessible if possible, returning NULL if the object
1560 reference is invalid or an Accessible * otherwise.
1563 (AccessibleEvent_ref):
1564 Increment the event's internal private refcount, and
1565 add the event's internal struct to an internal cache
1566 if it's not already there.
1567 (AccessibleEvent_unref):
1568 Decrement the event's refcount and remove it from
1569 the cspi event cache if refcount==0.
1570 (cspi_event_compare): New private method.
1571 Compares two event structs via their ids. Used
1573 (cspi_internal_event_lookup): New private method.
1574 (cspi_internal_event_check): New private method,
1575 a 0-order sanity check for events to make sure their
1576 private data is intact.
1577 (cspi_internal_event_add, cspi_internal_event_remove):
1578 New private methods for managiing the event cache.
1580 * cspi/bonobo/cspi-bonobo-listener.c:
1582 Initialize the new private data elements (id, magic, ref_count).
1584 * atk-bridge/bridge.c:
1585 (spi_atk_bridge_signal_listener):
1586 Fixed bug #100530, passing wrong params to emission func.
1588 * registryd/deviceeventcontroller.c:
1589 (spi_dec_button_update_and_emit):
1590 Fixed type in mask bit operations; fix for #99799.
1592 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1594 Removed some of the more dangerous workarounds from
1595 previous commit; they are only needed by GOK, which
1596 in reality should be using another method to accomplish
1597 the goals. So on reconsideration some of the workarounds
1598 need to be reverted:
1600 * registryd/deviceeventcontroller.c:
1601 (spi_keycodes_contain, spi_dec_init_keycode_list):
1602 Removed these methods, used only by a nasty hack to try
1603 and detect whether a key synthesis should be allowed
1604 to reset the XKB latch state or not. This code was only
1605 required to work around an interaction between GOK,
1606 button events, and XKB.
1607 (impl_generate_key_event):
1608 Removed hack at end of key generation that tried to
1609 "do the right thing" if XKB latch keys were generated
1610 in the midst of button press/release pairs.
1613 Added a check for HAVE_XINPUT. Not normally used yet.
1615 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1617 Workarounds and fixes for mouse event/XKB interaction.
1619 * registryd/deviceeventcontroller.c:
1620 (spi_keycodes_contain, spi_dec_init_keycode_list):
1621 New internal methods.
1622 (spi_dec_set_unlatch_pending):
1623 Split the method that tells XKB to expect an
1624 unlatch (and revert it) out of the rest of the
1625 event handling code. This method is called by the
1626 two mouse event handlers (the poll and the filter).
1627 (spi_dec_update_and_emit, spi_dec_mouse_check):
1628 New methods split from spi_dec_poll_mouse_moved.
1629 The second one is now called from inside the filterFn
1630 when an XKB delatch event is received, to determine
1631 whether to revert the delatch or not.
1632 (spi_poll_mouse_moved): Refactor; also we can now
1633 properly handle the case where multiple button states
1634 have changed between polling cycles and we didn't get
1635 notified due to another client's grab.
1637 Synchronize the server while handling an XKB notification.
1638 Ugly, but apparently necessary to avoid nasty races.
1639 Check the mouse state on receipt of an XKB latch change,
1640 to decide whether to revert the latch or not. (Latches are
1641 reverted if there is an immediately preceding mouse button
1642 event that a client has consumed, in which case we don't want
1643 the user to see the side-effect of the event).
1644 (spi_device_event_controller_forward_mouse_event):
1645 Check for modifier events and fire before resetting mouse_mask_state,
1646 prevents losing modifier events.
1648 (impl_generate_keyboard_event):
1649 If we've just generated a keyboard event for a non-shift key,
1650 we don't want to revert the pending XKB latch.
1651 Otherwise, check the modifier state (via a call to
1652 spi_dev_mouse_check) and set the relatch mask to
1653 that state before returning.
1655 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1658 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1661 * atk-bridge/bridge.c:
1662 (spi_atk_register_event_listeners):
1663 Don't re-register for ATK events if the registry has died
1664 and the app needs to re-register; the ATK listeners are in
1665 process and doing so will cause duplicate emission.
1667 * registryd/deviceeventcontroller.c:
1668 (spi_poll_mouse_moved):
1669 Reformat the source, detect and emit multiple button-change
1670 events (i.e. if multiple buttons have changed between poll
1672 Add code to detect mouse-down events even when the pointer
1673 is grabbed; workaround for GOK bug 98420.
1674 (spi_controller_register_with_devices):
1675 Call XTestGrabControl with 'impervious' flag set to True,
1676 allows us to synthesize events and query the pointer even during
1677 an active grab by another client.
1678 (spi_device_event_controller_forward_mouse_event):
1679 Set the mouse_mask_state to the mouse_button_state from
1680 the intercepted event, to synchronize the grab listener with
1683 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1685 * cspi/spi_accessible.c:
1686 (AccessibleRole_getName):
1687 Added necessary strings for making this (deprecated)
1688 method work with the new role types.
1689 (init_role_table, role_table):
1690 Added definition of SPI_ROLE_APPLICATION.
1692 * libspi/spi-roletypes.h:
1693 Added SPI_ROLE_APPLICATION.
1695 * idl/Accessibility_Role.idl:
1696 Added ROLE_APPLICATION.
1698 * docs/reference/cspi/at-spi-cspi-decl.txt:
1699 Added SPI_ROLE_APPLICATION to docs.
1701 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1703 * cspi/spi_accessible.c
1704 (cspi_init_role_table): Do not write beyond end of role_table.
1705 (Accessible_getRole): Use correct type for value returned by
1706 Accessibility_Accessible_getRole().
1708 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1709 beyond end of role_table. (This fixes bug #98269)
1711 * libspi/application.c: Add include file spi-private.h for
1712 definition of spi_init_any_nil.
1714 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1718 * libspi/spi-private.h:
1719 Added DGB() macro, and extern int _dbg declaration.
1721 * registryd/registry.c:
1722 (definitions) storage for _dbg.
1723 (spi_registry_init):
1724 Get environment variable "AT_SPI_DEBUG".
1725 (spi_registry_set_debug):
1726 New method, to initialize _dbg value.
1727 (spi_listener_struct_new, spi_registry_object_finalize):
1728 (notify_listeners_cb):
1729 Changed fprintfs to use DBG and g_warning().
1731 * registryd/deviceeventcontroller.c:
1732 (_deregister_keygrab, spi_controller_register_device_listener):
1733 Changed debug/warning messages to use DBG macro.
1735 * libspi/listener.c:
1736 (impl_notify_event):
1737 Changed warning messages to use DBG macro and g_warning().
1739 * atk-bridge/bridge.c:
1740 (atk_bridge_init, spi_atk_bridge_get_registry):
1741 (spi_atk_bridge_exit_func):
1742 (spi_atk_bridge_property_event_listener):
1743 Changed status, warning, and error messages to use
1744 g_warning, g_message, and DBG macros.
1747 Read the state of the AT_SPI_DEBUG environment variable
1748 and set a local '_dbg' accordingly.
1750 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1752 FIXES for 98836, 98842, other bugs.
1755 Revved to 1.1.4, interface-age=4, binary-age=4.
1757 * registryd/deviceeventcontroller.c:
1759 Fixed crasher bug in last_mouse_pos initialization.
1761 * registryd/registry.c:
1762 (desktop_add_application, desktop_remove_application):
1763 Added (and then commented out) some support for
1764 object context marshalling. [TODO]
1766 * atk-bridge/bridge.c:
1767 (spi_atk_bridge_event_context_create):
1768 Commented out object context creation until it can
1769 be properly tested and debugged.
1771 * registryd/registry.c:
1772 (impl_registry_notify_event):
1773 Fixed crasher bug, we were calling
1774 spi_re_entrant_list_foreach () with an empty list.
1776 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1778 * idl/Accessibility_Action.idl:
1779 * idl/Accessibility_Component.idl:
1780 * idl/Accessibility_Desktop.idl:
1781 * idl/Accessibility_Event.idl:
1782 * idl/Accessibility_Hyperlink.idl:
1783 * idl/Accessibility_Image.idl:
1784 * idl/Accessibility_Relation.idl:
1785 * idl/Accessibility_Selection.idl:
1786 * idl/Accessibility_State.idl:
1787 * idl/Accessibility_Value.idl:
1788 Updated unimplemented slot count to minimum of
1789 four for all interfaces, for ABI freeze.
1791 * idl/Accessibility_EditableText.idl:
1792 * idl/Accessibility_Text.idl:
1793 Updated unimplemented slot count to six
1796 * idl/Accessibility_Registry.idl:
1797 Updated unimplemented slot count to six
1798 (also for DeviceEventController),
1801 * idl/Accessibility_Table.idl:
1802 Updated unimplemented slot count to eight,
1805 * idl/Accessibility_Event.idl:
1806 Added CORBA_any "any_data" member to Event struct.
1808 * idl/Accessibility_Event.idl:
1809 Added CORBA_any "any_data" member to Event struct.
1811 * atk-bridge/bridge.c:
1813 atk_signal_text_changed, atk_signal_child_changed,
1814 signal ids queried from gtype system.
1815 (AtkBridgeEventContextType): New enum.
1816 (AtkBridgeEventContextData): New struct.
1817 (AtkBridgeEventContext): New struct.
1818 (atk_bridge_init_event_type_consts):
1819 New method, initializes type contants for comparison
1820 prior to emit_eventv.
1821 (atk_bridge_event_context_init): New method,
1822 initializes a CORBA_any from an AtkBridgeEventContext.
1823 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1824 initialize the event.any_data struct.
1825 (spi_atk_bridge_event_context_create): New method,
1826 creates an AtkBridgeEventContext from signal/event info.
1827 (spi_atk_bridge_event_context_free): New method.
1828 (spi_atk_emit_eventv): Changed to take an
1829 AtkBridgeEventContext parameter. We now initialize
1830 the event.any_data member prior to notifying the
1831 Registry, via the AtkBridgeEventContext.
1832 (spi_atk_bridge_property_event_listener):
1833 (spi_atk_bridge_state_event_listener):
1834 Match emit_eventv signature.
1835 (spi_atk_bridge_object_event_listener):
1836 Match emit_eventv signature, and create an
1837 event context from the event details.
1838 Free the event context afterwards.
1839 (spi_atk_bridge_window_event_listener):
1840 Create an event context, pass it to the
1844 (AccessibleEvent_getContextString):
1845 (AccessibleEvent_getContextObject):
1846 New methods, allow query of AccessibleEvent objects
1847 for more context details (via the "any_data" member
1848 of the Event struct, above).
1851 Definitions for AccessibleEvent_getContextString
1852 and AccessibleEvent_getContextObject.
1854 * cspi/spi_listener.h:
1855 (InternalEvent): New struct.
1858 (AccessibleEvent_getContextString):
1859 (AccessibleEvent_getContextObject):
1860 Implementations of new methods, for obtaining
1861 additional context information from some event types.
1863 * cspi/spi_registry.c:
1864 (SPI_registerGlobalEventListener):
1865 Added mention of active-descendant-changed event in docs.
1867 * cspi/cspi-bonobo-listener.c:
1869 Marshal the any into the AccessibleEvent via
1872 * libspi/spi-private.h:
1873 #include <orbit/orbit.h>
1875 (spi_init_any_string):
1876 (spi_init_any_object):
1877 New convenience function declarations.
1881 (spi_init_any_string):
1882 (spi_init_any_object):
1883 New convenience function implementations.
1885 * registryd/deviceeventcontroller.c:
1886 (spi_poll_dec_mouse_moved):
1887 (spi_device_event_controller_forward_mous_event):
1888 Initialize any_data member of event.
1889 (spi_deregister_controller_device_listener):
1890 Fix incorrect param pass which was preventing deregistration.
1892 * registryd/registry.c:
1893 (desktop_add_application):
1894 (desktop_remove_application):
1895 Add object data to event's any_data before dispatch.
1897 Fix for error messages from GAIL.
1899 * test/event-listener-test.c:
1900 Test new ContextString and "any_data" API:
1901 (report_text_event): New method query and output context string.
1902 (main): register a new text listener with report_text_event
1905 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1907 Fixes for bugs 98127 and 97914.
1908 * cspi/spi-roletypes.h:
1909 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1911 * cspi/spi-statetypes.h:
1912 Added SPI_STATE_MANAGES_DESCENDANTS
1914 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1915 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1916 * cspi/spi_accessible.c:
1917 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1918 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1919 Accessibility_STATE_MANAGES_DESCENDANTS
1920 * libspi/accessible.c:
1921 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1922 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1923 As requested by Bill, I also cleaned up the alignment.
1924 * libspi/relation.c:
1925 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1926 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1927 * libspi/stateset.c:
1928 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1929 Accessibility_STATE_MANAGES_DESCENDANTS
1930 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1931 Document changes reflecting modifications to roles.
1932 * docs/reference/cspi/tmpl/spi_relation.sgml:
1933 Document changes reflecting modifications to relations.
1934 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1935 Document changes reflecting modifications to states.
1937 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1940 Revved to 1.1.3, interface-age=3, binary-age=3.
1941 Added REBUILD macro.
1944 Removed accessx-gui from the tests, since we have a nice
1945 keyboard accessibility capplet now :-)
1947 * test/keysynth-demo.c:
1948 (increment_scan): removed do-nothing default: case,
1951 * test/visual-bell.c:
1952 (main) : removed do-nothing default: case,
1955 * cspi/spi_action.c:
1956 (AccessibleAction_getKeyBinding_):
1957 Documented keybinding string format.
1961 (AccessibleText_getAttributes):
1962 Documented the text attribute string format.
1963 It's changed to use semicolon delimiters also,
1964 to prevent clashes with CSS attributes, but the old
1965 trick of looking for ", " strings will still work
1966 (as unreliably as ever). Fix for bug related to 97916.
1969 Include <cspi/bonobo/cspi-bonobo-listener.h>
1970 Fixes build warning.
1971 (SPI_freeAccessibleKeySet):
1972 (AccessibleKeystrokeListener_addCallback):
1973 (AccessibleKeystrokeListener_removeCallback):
1974 Modify to use AccessibleDeviceListener API internally,
1975 instead of AccessibleKeystrokeListener.
1977 * idl/Accessibility_Event.idl:
1978 Added two more empty slots to EventListener (for a total of four).
1980 * idl/Accessibility_Accessible.idl:
1981 Added four empty slots to Accessible interface.
1983 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1985 * idl/Accessibility_Registry.idl:
1986 (KeyEventType, EventType):
1987 Marked KeyEventType as deprecated; it duplicates
1988 functionality of EventType, which has been extended to
1989 include Mouse-button events.
1990 (KeyEventTypeSeq): defined in terms of EventType.
1991 (registerDeviceEventListener, deregisterDeviceEventListener):
1992 New methods, for managing listeners to device events,
1993 which potentially may consume them.
1996 Added definition for AccessibleDeviceListener.
1998 * cspi/spi-listener.h:
1999 (enum AccessibleDeviceEventType):
2000 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2001 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2002 for backwards compat.
2003 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2004 and typedef'd AccessibleKeystroke to it for back-compat.
2005 (AccessibleDeviceListenerCB):
2006 New function prototype typedef.
2009 (AccessibleDeviceEventMask): New typedef.
2010 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2011 (AccessibleKeyMaskType):
2012 Set equivalent to AccessibleModifierMaskType for back-compat.
2013 (SPI_createAccessibleKeystrokeListener):
2014 (AccessibleKeystrokeListener_unref):
2015 Deprecated in favor of equivalent (better-named) new API below..
2016 keystroke listeners are like all device listeners.
2017 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2018 New API names for old features :-).
2019 (AccessibleDeviceListener_addCallback):
2020 (AccessibleDeviceListener_removeCallback):
2021 (SPI_registerDeviceEventListener):
2022 (SPI_deregisterDeviceEventListener):
2026 (SPI_createAccessibleKeystrokeListener):
2027 Use new preferred API, cspi_device_listener_new() and
2028 cspi_device_listener_add_cb().
2029 (AccessibleKeystrokeListener_removeCallback):
2030 Use new preferred API, cspi_device_listener_remove_cb().
2031 (AccessibleKeystrokeListener_unref):
2032 Use new preferred API, cspi_device_listener_unref().
2033 (SPI_createAccessibleDeviceListener):
2034 (AccessibleDeviceListener_addCallback):
2035 (AccessibleDeviceListener_removeCallback):
2036 Implementation of new API.
2038 * cspi/spi_registry.c:
2039 (SPI_registerDeviceEventListener):
2040 (SPI_deregisterDeviceEventListener):
2041 Implementation of new API. Fixed memory leak and removed need to
2042 allocate EventTypeSeq (thanks Michael for catching this).
2043 Squashed a wayward CORBA_exception_free that shouldn't get called.
2045 * cspi/bonobo/cspi-bonobo-listener.c:
2047 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2048 (cspi_key_event): renamed to cspi_device_event().
2049 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2050 Extended to handle mouse button events as well as key events.
2051 (CSpiKeystrokeListener):
2052 Class superceded by CSpiDeviceListener.
2053 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2054 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2056 * cspi/bonobo/cspi-bonobo-listener.h:
2057 (CSpiKeystrokeListener):
2058 Class superceded by CSpiDeviceListener.
2059 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2060 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2062 * libspi/Makefile.am:
2063 Replaced keystrokelistener.h and keystrokelistener.c
2064 with devicelistener.h and devicelistener.c; keystrokelisener.h
2065 stub retained for back-compat.
2067 * libspi/keystrokelistener.c:
2071 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2073 * registryd/deviceeventcontroller.c:
2074 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2075 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2076 (DEControllerPrivateData): Added xkb settings data.
2077 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2078 button release events (which can't be captured via XGrabButton).
2079 Don't dispatch via the 'normal' event mechanism if the device event was
2081 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2082 Handle the typeseq data in its new location (see above).
2083 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2084 New methods, for "generic" device listeners.
2085 (spi_controller_register_device_listener):
2086 Now handle mouse event listeners as well as key listeners.
2087 (spi_controller_notify_mouselisteners):
2088 New internal method.
2089 (spi_device_event_controller_forward_mouse_event):
2090 Now we notify mouse device listeners as well as generating the
2091 non-consumable "mouse:" events.
2093 We must check and restore the XKB
2094 modifier map if we consume the event, since the act of triggering
2095 a mouse event will normally reset the XKB latch. This is required for
2097 (spi_controller_register_with_devices):
2098 Load the XKB settings when registering, and register for XKB
2099 state notify events.
2100 (spi_key_eventtype_seq_contains_event):
2101 Renamed spi_eventtype_seq_contains_event, since it's used
2102 internally for all device event types now.
2103 (spi_key_event_matches_listener):
2104 Uses spi_eventtype_seq_contains_event now.
2105 (spi_device_event_controller_object_finalize):
2106 Free the private data and the XkbKeyboard struct.
2107 (impl_register_device_listener, impl_deregister_device_listener):
2108 Implementation of new IDL.
2109 (spi_deregister_controller_device_listener):
2110 New internal method.
2111 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2112 More efficient implementation, we don't have to create a new
2113 XkbControls structure every time we query.
2114 (spi_device_event_controller_class_init):
2115 Initialize the epv entries for the new IDL. Assign the
2116 "spi-dec-private" quark.
2117 (spi_device_event_controller_init):
2118 Initialize the private data.
2119 (spi_device_event_controller_forward_key_event):
2120 Removed a bogus CORBA_exception_free() call.
2122 * registryd/deviceeventcontroller.h:
2123 Replaced inclusion of keystrokelistener.h with
2126 * test/event-listener-test.c:
2127 (report_mouse_event):
2130 Added mouse-event device listener.
2132 * test/test-simple.c:
2133 (create_test_window):
2134 Fixed regression (we were instantiating a GtkRange,
2135 which is now an abstract class). Also fixed to match
2136 existing AtkRole names, this seems to have changed in ATK
2137 awhile ago; too late now I think, and the new
2138 mechanism is at least elegant and consistent with the
2139 glib enum "nick" APIs.
2141 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2143 * idl/Accessibility_Relation.idl:
2144 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2145 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2146 * idl/Accessibility_Role.idl:
2147 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2148 * idl/Accessibility_State.idl:
2149 add STATE_MANAGES_DESCENDANTS
2150 * test/event-listener-test.c:
2151 Added a listener for active-descendant events.
2153 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2155 * atk-bridge/bridge.c
2156 (atk_bridge_init): If application is Bonobo component wait until top
2157 level is added before registering
2158 (spi_atk_bridge_do_registration): New function which contains code,
2159 formerly in atk_bridge_init, to do application registration.
2160 (spi_atk_bridge_toplevel_added): Signal called when top level
2161 added to Bonobo component
2163 This fixes bug #83134.
2165 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2167 * registryd/deviceeventcontroller.c
2168 Fixed compilation error caused by calling gettimeofday()
2171 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2176 Added template for HAVE_XKB.
2179 Changes to check for XKB, and to set the HAVE_XKB #define if it
2182 * libspi/listener.c:
2183 ()impl_notify_event): Make failure to get event source name
2186 * registryd/deviceeventcontroller.c:
2187 (#include): include X11/XKBlib.h.
2188 (DEControllerPrivateData) : New struct.
2189 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2191 (dec_synth_keycode_press) (dec_synth_keycode_release):
2192 New methods; split the key synthesis code into these methods.
2193 They check XKB settings before determining the "time" values to
2194 pass to Xtest; this fixes bug #95828.
2195 (impl_generate_keyboard_event): Changed to use methods above,
2196 instead of callng Xtest directly.
2197 (spi_device_event_controller_init): Initialize new privae struct s
2199 (spi_device_event_controllr_object_finalize):
2200 Free the (new) private data.
2202 * registryd/deviceeventcontroller.h:
2203 Add new gpointer to end of struct data.
2205 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2208 Incremented revision to 1.1.2, SONAME is still '.so', library
2209 extensions are ".so.0.0.2".
2211 * registryd/deviceeventcontroller.c:
2212 FIXES FOR #93592 and #95940.
2213 (statics): renamed mouse_button_state to mouse_mask_state,
2214 added key_modifier_mask.
2215 (spi_dec_poll_mouse_moved):
2216 Added key modifier checks, and emit "keyboard:modifiers"
2217 events when the key modifiers currently in use change.
2218 Also generate "mouse:abs" events periodically, even if the mouse
2219 is stationary (should we?).
2220 Alternatively we could generate "mouse:abs" events for either all
2221 mouse movements, or every 'nth' mouse movement, or at the
2222 beginning and end of every "active" mouse period.
2224 * test/event-listener-test.c:
2225 (main): Added listener for "keyboard:modifiers" events.
2227 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2229 * libspi/keymasks.h:
2230 Added key mask #defines for mouse buttons; e.g.
2231 SPI_KEYMASK_BUTTON1, etc.
2234 Incremented dependency on ATK to version 1.1.0. (This dependency
2235 is probably premature but will soon be real enough).
2237 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2239 * libspi/hyperlink.[ch]
2240 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2241 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2244 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2249 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2251 * registryd/deviceeventcontroller.c
2252 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2253 events to be ignored.
2254 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2255 keyboard_mode so that XAllowEvents() can be called.
2259 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2261 * cspi/spi-accessible.c: Correct names of roles returned by
2262 AccessibleRole_getName(). Fixes bug #95055.
2264 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2266 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2269 * registryd/registry.c
2270 (desktop_remove_application: Write diagnostic message to stderr for
2273 (impl_accessibility_registry_deregister_global_event_listener):
2274 Correct size of lists array. This addresses bug #94555).
2276 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2278 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2281 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2283 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2286 * registryd/registry.c (impl_registry_notify_event): Remove
2287 unnecessary call to parser_event_type().
2289 * docs/reference/cspi/tmpl/spi_component.sgml:
2290 Add reference to SPI_LAYER_WINDOW.
2292 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2294 * registryd/registry.c
2295 (desktop_add_application): Remove leak.
2296 (desktop_remove_application): Remove leak.
2297 (parser_event_type): Remove leak.
2299 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2301 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2302 bogus call to CORBA_string_dup(). Also removed unnecessary
2303 g_string_dup/g_free calls.
2305 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2307 * registryd/deviceeventcontroller.c:
2308 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2310 * test/event-listener-test.c:
2311 main: commented out three redundant listeners, to reduce output
2312 noise. (They still are potentially useful for testing).
2315 2002-09-13 Michael Meeks <michael@ximian.com>
2317 * Update all the copyrights to include Ximian.
2319 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2321 * cspi/spi.h: add SPI_LAYER_WINDOW.
2323 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2324 add Accessibility_LAYER_WINDOW case.
2326 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2328 * libspi/component.c: (impl_accessibility_component_get_layer):
2329 add ATK_LAYER_WINDOW case.
2331 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2333 * configure.in: incremented micro version.
2335 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2337 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2340 Clarified and reworded our commit policy.
2343 Started an API "todo" addition list for 2.2.
2346 (impl_getSelection):
2347 Free char pointer from atk_text_get_selection, which was being leaked.
2349 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2352 Small revision to author acknowledgement.
2354 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2356 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2357 If signal has detail add it to the type of the event.
2360 2002-08-12 Michael Meeks <michael@ximian.com>
2362 * test/test-simple.c (global_listener_cb): bin bogosity.
2363 (test_keylisteners): disable, still doesn't work reliably,
2364 certainly not on my system anyway.
2366 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2367 don't leak a reference on the DEC. This round-trip
2368 fetching of the DEC per keystroke sucks, it should be
2371 * cspi/spi-private.h,
2372 * cspi/cspi-lowlevel.h,
2373 * cspi/bonobo/cspi-bonobo-listener.[ch],
2374 * cspi/bonobo/cspi-bonobo.c: get the copyright
2375 notices better - there is still a large amount of
2376 work in at-spi falsely attributed solely to Sun.
2378 * cspi/spi_main.c (cspi_object_ref): kill bogus
2379 hash lookup, just increment the ref.
2380 (SPI_freeString): make explicit the fact that we
2381 handle NULL strings just fine.
2382 (report_leaked_ref): obey coding standards.
2383 (cspi_object_hash, cspi_object_equal): kill retval.
2384 (cspi_object_release): only release if not on loan.
2385 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2386 (cspi_object_borrow, cspi_object_return): impl.
2388 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2389 use cspi_object_borrow / return.
2391 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2393 * cspi/bonobo/cspi-bonobo-listener.c:
2395 Don't call cspi_oject_new() because this is creating a new Accessible
2396 every single time that an event is fired. This causes ATs like at-poke
2397 to nolonger recognise the source of the event and thus ignore it.
2398 Re-use the object from the cache, ref it and then unref it after the
2399 listeners have been called.
2401 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2403 * test/event-listener-test.c:
2404 Added command-line options to disable mouse events (m) and
2407 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2409 * configure.in: Update required versions of ATK, GTK+ and GAIL
2411 * cspi-1.0.pc.in: Add dependency for X include files
2414 * cspi/bonobo/Makefile.am:
2415 Add $(X_CFLAGS) so that X include files
2416 are picked up even if not in standard place (bug #71686)
2418 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2420 * registryd/deviceeventcontroller.c: fix for 84261
2421 (spi_dec_mouse_moved):
2422 Added test of mouse button mask, so that we can detect mouse
2423 button release. Unfortunately we can't otherwise detect mouse
2424 button release events without consuming the mouse press event,
2425 because of the way XGrabButton works. This means that our mouse
2426 release events have a latency dependent on the polling period
2427 while the mouse button is down. At least in this case we only
2428 have to poll while the button is down, and not at other times.
2429 If the button masks don't match with what the last press event
2430 reported, we report the appropriate button release event.
2431 (spi_dec_ungrab_mouse):
2432 New method (not yet called).
2433 (spi_device_event_controller_forward_mouse_event):
2434 New method, sends mouse press event from GdkFilter.
2435 (spi_dec_init_mouse_listener):
2436 Added code to call XGrabButton, redirecting mouse button events to
2437 the root window and our Gdk event loop.
2439 Added code to filter mouse button events, and reordered.
2441 * test/event-listener-test.c:
2443 Added registration for mouse events of type "mouse:button".
2445 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2447 * registryd/deviceeventcontroller.c: partial fix for 84261
2448 (spi_dec_poll_mouse_idle):
2449 New method, a timeout which checks to see if the mouse
2451 (spi_dec_poll_mouse_moving):
2452 A timeout to be called when mouse motion is underway.
2453 (spi_dec_poll_mouse_moved):
2454 A method which fires an event if the mouse has moved, and reports
2455 whether or not it did so.
2456 (spi_dec_init_mouse_listener):
2457 A method which sets up the timeouts above.
2458 (spi_device_event_controller_new):
2459 Now calls spi_dec_init_mouse_listener.
2461 * registryd/registry.c:
2462 (spi_registry_init):
2463 Now we initialize the device event controller when the registry is
2464 initialized, instead of waiting until a client has requested a key
2465 event notification; this is because we need the event controller
2466 for mouse events, but the mouse event registration API is a
2467 "registry" call and doesn't explicitly call the
2468 deviceeventcontroller.
2469 We now report mouse motion events with a 100 ms idle latency and
2470 a 20 ms granularity when motion is in progress.
2472 * test/event-listener-test.c:
2474 We now register the "detail listener" for events of type
2475 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2476 delivered only for the first mouse event received, and thereafter
2477 "mouse:abs" events are delivered.)
2479 * cspi/spi_registry.c:
2480 DOCS: Documented the above mouse event typestrings.
2482 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2484 Happy Summer Solstice...
2486 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2487 (spi_controller_notify_keylisteners):
2488 Changes to remove a listener from the listener list, freeing its
2489 open keygrabs, if a notification to that listener fails. This
2490 means that although a dead listener can continue to hold a passive
2491 keygrab, a maximum of one dispatch to such a listener can fail
2492 before the listener is removed from the list, thus the keygrab
2493 will be released on the next occurrence.
2494 As part of this fix:
2495 (spi_notify_keylisteners):
2496 Renamed to spi_controller_notify_keylisteners, as the controller
2497 instance must now be passed as an argument.
2498 The copied 'notify' GList is now a list of DEControllerKeyListener
2499 objects, since we need more than just the CORBA reference if a
2500 notify fails and we need to deregister the listener.
2501 (impl_notify_listeners_sync):
2502 (impl_notify_listeners_async):
2503 (spi_device_event_controller_forward_key_event):
2504 Modify use of notify_keylisteners in accordance with above
2506 (spi_deregister_controller_key_listener):
2507 New method introduced by refactoring, from
2508 impl_deregister_keystroke_listener.
2509 (impl_deregister_keystroke_listener):
2510 Call spi_deregister_controller_key_listener.
2511 (spi_key_listener_clone):
2512 New method to copy a key listner without doing a 'ref' on the
2513 remote object instance; used to create a notifier list.
2514 (spi_key_listener_data_free):
2515 New method, frees data without unreffing the source.
2517 (spi_key_listener_clone_free): new method.
2518 (spi_key_listener_free):
2519 refactored to call spi_key_listener_data_free.
2521 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2523 * registryd/registry.c: [fix for bug 86048]
2524 (notify_listeners_cb):
2525 Clear CORBA system exceptions which occur when notifying
2526 listeners, before returning to the source of the original event,
2527 since the event source doesn't care if the relayed notify failed.
2528 In other words, don't complain to the atk-bridge if the registry
2529 could not notify all its listeners, that's no fault of the
2530 application and thus should not appear to be an error from the
2531 application's perspective.
2533 * cspi/spi_main.c: [fix for bug 85980]
2535 Replaced use of bonobo_object_dup_ref with call to the wrapper
2536 method, csou_dup_ref (); this silences a compiler warning and
2537 provided more portability.
2539 Ping the registry before return, and restart if necessary.
2541 * cspi/bonobo/cspi-bonobo.c:
2543 New internal method.
2545 Fixed this method to return an object reference, as it should have
2548 * cspi/cspi-lowlevel.h:
2549 Added internal definition for cspi_ping() and fixed
2550 return type of cspi_dup_ref().
2553 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2555 * atk-bridge/bridge.c: [fix for bug 85305]
2556 (spi_atk_bridge_register_application):
2557 New method where the initial application registry calls have been
2558 moved; it allows an application to re-register in response to
2559 certain error conditions (such as a registry restart, see below).
2561 Moved some initialization code to the method
2562 spi_atk_bridge_get_registry, below.
2563 (spi_atk_bridge_get_registry):
2564 New, private accessor function for the Accessibility_Registry
2565 instance. If the registry has not been started before, or has
2566 died (as detected by failure of a CORBA exception), it is
2567 restarted before return, and spi_atk_bridge_register_application
2568 is called again to register with the new bridge instance.
2569 (spi_atk_emit_eventv):
2570 Set registry_died on error; use spi_atk_bridge_get_registry () to
2571 access the registry.
2573 * registryd/registry.c:
2574 (impl_accessibility_registry_register_global_event_listener):
2575 Set listener's event_type_quark to etype.minor instead of
2576 etype.major (fix for bug 84856).
2578 * test/event-listener-test.c:
2579 (report_detail_event):
2580 Change the output string so that user/tester can tell that the
2581 'detail listener' was called instead of the 'generic listener'.
2583 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2585 Fixes for bugs 84900, 84908, 84897, 84898.
2590 Revved version to 1.1.0
2591 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2592 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2594 * idl/Accessibility_Registry.idl:
2595 (EventListener::notifyEvent):
2596 Removed 'oneway' directive after extensive consulation with
2597 ORBit2 team and others. This means also that unref() of the event
2598 source can and should be done synchronously after emission, rather
2599 than remotely in the client, after servicing the notify call on
2602 NOTE: This change speeds up listener performance considerably, but
2603 introduces new latency on the application side. We may want to
2604 add an event queue to the atk-bridge.
2606 * atk-bridge/bridge.c:
2607 (spi_atk_bridge_focus_tracker):
2608 Do a local unref() on the event source after emission.
2610 * registryd/registry.c:
2611 (desktop_remove_application):
2612 Do an unref() on the event source after emission.
2613 (desktop_add_application):
2614 Do an unref() on the event source after emission.
2615 (notify_listeners_cb):
2616 When relaying an event, don't automatically add the event source
2617 to the local object cache, just CORBA_dup it instead. Likewise,
2618 if this method reenters, release the ref rather than calling
2620 (impl_registry_notify_event):
2621 No longer call remote unref() on the event source after dispatch.
2623 * libspi/eventlistener.c:
2624 (impl_accessible_event_notify_event):
2625 Removed remote unref ()
2627 * cspi/bonobo/cspi-bonobo-listener.c:
2629 We now call cspi_object_new() instead of cspi_object_add() on
2630 receipt of an event; thus we only have an implicit object ref
2631 while the cspi_event method is being executed. If we need to keep
2632 a reference to the object, the listener must call ref() on the
2633 object. Thus also we don't need to call cspi_object_unref() after
2634 invoking the listener callbacks in this method.
2638 New internal API for creating a new cspi object, without adding it
2639 to the object cache.
2641 Now uses cspi_object_new() to create the cspi object instance.
2643 Now checks to see if the object is in the internal object cache,
2644 and adds it if necessary before incrementing its refcount (note
2645 that new objects are added with a refcount of 1).
2646 (report_leaked_ref):
2647 New method which gives some information on leaked object instances
2648 if leak detection is turned on.
2650 * test/event-listener-test.c:
2651 (timing_test_event):
2652 New method, used for testing event delivery timing for special
2653 events of type "object:test". It reports elapsed time and
2654 events/sec every 500 events.
2656 Added a new listener, 'test listener', to check timing of event
2657 receipt as noted above.
2659 Added some timing output here also, reports elapsed time every 100
2662 * test/stress-test.c:
2663 Emit events of type "object:test", for use with "event-listener-test".
2665 * test/test-simple.c:
2666 (global_listener_cb):
2667 Call Accessible_ref() on the event source before calling
2668 validate_accessible, since the validation process does pointer
2669 comparisons on the event source, meaning that the event source
2670 needs to be added to the local object cache first. Any use of
2671 such pointer comparisons between Accessible objects requires that
2672 the caller hold an explicit reference to those objects.
2673 We also must therefore call Accessible_unref() when leaving this method.
2675 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2677 * registryd/deviceeventcontroller.c:
2678 (spi_controller_update_key_grabs):
2679 Fix for #84735, subsequent keygrab listeners not informed of
2680 registration failure.
2683 (spi_base_construct):
2684 Add an assertion on construct, to make sure the GObject passed in
2685 is really a GObject.
2687 Explicitly initialize object->gobj pointer to NULL;
2689 * cspi/bonobo/cspi-bonobo-listener.c:
2690 (cspi_object_add_ref):
2691 New method, can specify whether to dup-ref a bonobo object passed
2692 in if it's newly added to the object cache.
2694 Now calls cspi_object_add_ref with second param of "FALSE". This
2695 prevents us from doing a pointless dup-ref followed by
2696 release-unref for all those cases where the object is already in
2697 our object cache (fix for #85205).
2699 * atk-bridge/bridge.c:
2700 (spi_atk_bridge_idle_init):
2701 Removed this method, we don't need to initialize in an idle
2704 Changed to call spi_atk_register_event_listeners directly, not via an
2705 idle handler. (fix for #81139)
2706 (gnome_accessibility_module_shutdown):
2707 Removed conditional around deregistration of listeners, since we
2708 don't use the idle handler and thus have always registered when
2710 (spi_init_keystroke_from_atk_key_event):
2711 Changed references to Accessibility_KEY_PRESSED to
2712 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2714 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2716 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2721 * test/stress-test.c:
2724 (may have been an incomplete commit yesterday?)
2726 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2729 Added target for new stress-test.
2731 * test/stress-test.c:
2732 New test, sends 1000 focus notifies in quick succession.
2734 * test/key-listener-test.c:
2735 Now we report whether a keylistener registration
2736 request succeeded or failed.
2738 * test/event-listener-test.c:
2739 Uncommented some listeners which are now implemented.
2742 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2744 * registryd/deviceeventcontroller.c:
2745 (spi_controller_update_key_grabs):
2746 Fix for #82509, lack of failure notification when
2747 ALL_WINDOWS keygrabs fail due to XGrabKey
2748 failure: we synchronize the server when
2749 registering a passive grab, to make sure we get the
2750 error message before the call returns.
2752 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2754 * test/test-simple.c:
2756 Removed #ifdef KEY_IMPL_WORKS guards.
2757 (test_keylisteners):
2758 Removed #ifdef KEY_IMPL_WORKS guards.
2759 Fixed bug which was causing a hang waiting for a
2760 "press" event (which was already overwritten by a "release"
2761 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2763 Added code to set globals 'key_press_received' and
2764 'key_release_received'.
2767 Added section "1.1 API Proposed Additions" which
2768 lists API additions desired for at-spi-1.1 (only one so far).
2769 Updated TODO list a little.
2771 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2773 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2776 * configure.in: Revved to 1.0.0.
2778 * idl/Accessibility_Registry.idl:
2779 (registerKeystrokeListener):
2780 Added boolean return value.
2782 * registryd/registry.c:
2783 (notify_listeners_cb): Minor fix to debug output.
2785 * registryd/Accessibility_Registry.server.in.in:
2786 Revved version number in OAFIID to 1.0.
2788 * registryd/registryd.c:
2790 Use new OAFIID version.
2792 * cspi/bonobo/cspi-bonobo.c:
2794 Use new OAFIID version.
2800 * atk-bridge/bridge.c:
2802 Use new OAFIID version.
2804 * registryd/deviceeventcontroller.c:
2805 (impl_register_keystroke_listener):
2806 Added CORBA_boolean return value.
2807 (spi_controller_register_device_listener):
2808 Added gboolean return value.
2809 (spi_controller_register_global_keygrabs):
2810 Added gboolean return value.
2811 (spi_key_set_contains_key):
2812 Added implementation for many more control keys,
2813 for instance F1-F12, arrow keys, End, Home, Page_Up,
2815 [TODO: some still not implemented].
2817 * text/screen-review-test.c:
2818 (text_chunk_pad_string):
2819 New function: it provides mapping between coordinate
2820 positions of text chunks and character positions in the
2821 screen-review-line output string.
2822 (text_chunk_to_string):
2823 New function, calls text_chunk_pad_string with various
2824 pad/delimiter characters. Pushbuttons are delimited with
2825 square brackets, Frames with vertical 'pipe' lines, and
2826 other text with double quotes.
2827 (text_chunk_list_to_string):
2828 Calls new function text_chunk_to_string.
2829 (toplevel_composite):
2830 New function to composite layers CANVAS through
2831 POPUP in each toplevel (other layers are composited
2832 across toplevels, i.e. BACKGROUND and OVERLAY).
2833 (review_buffer_composite):
2834 Revise to use new methods.
2840 2002-05-31 Laszlo Peter <laca@sun.com>
2842 * configure.in: add the Xtst libdir to the runpath on Solaris,
2843 since it's not in the default library search path.
2845 2002-05-29 jacob berkman <jacob@ximian.com>
2847 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2849 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2851 * test/screen-review-test.c:
2852 (text_chunk_pad_string):
2853 Added method, which pads the string according to the
2854 text bounds of the chunk. It also takes a 3-character
2855 string as a param which indicates the characters to be
2856 used for start, padding, and end delimitation of the chunk.
2857 (text_chunk_to_string):
2858 Changed to use text_chunk_pad_string.
2860 * configure.in: Fixed bug in AC_OUTPUT that was
2861 causing path substitution in Accessibility_Registry.server
2864 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2866 * text/screen-review-test.c:
2867 (guess_string_clip):
2868 New method which attempts a best-guess at clipping
2869 text from components (like Java labels) which don't
2870 actually implement AccessibleText. This inaccurate
2871 clip is based on the assumption that the label is
2872 justified left-and-right, and monospaced.
2873 (text_chunk_get_clipped_string):
2874 We now call guess_string_clip() for text-containing
2875 components that don't implement AccessibleText.
2877 * test/screen-review-test.c:
2878 (review_buffer_get_text_chunk):
2879 We now pull "name" from labels if they do not implement
2880 AccessibleText (i.e. for Java labels).
2881 (get_screen_review_line_at):
2882 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2885 Replaceded AC_OUTPUT target
2886 registryd/Accessibility_Registry.server with
2887 registryd/Accessibility_Registry.server.in.
2889 * registryd/Accessibility_Registry.server.in:
2890 Removed (this is now a Makefile target).
2892 * registryd/Accessibility_Registry.server.in.in:
2893 Added (source for target above). We now use $(libexecdir) as
2894 prefix for the executable at-spi-registryd.
2896 * registry/Makefile.am:
2897 Now install at-spi-registryd into $(libexecdir), and build .server
2898 file with path (see above).
2900 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2902 * test/screen-review-test.c:
2903 (text_chunk_get_clipped_string):
2904 We now check to see if words fall within clip bounds
2905 before resorting to character-by-character clip bounds testing.
2907 * TODO: Added a section for "2.2 Proposed API Additions".
2909 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2911 * test/screen-review-test.c:
2913 Added a screen review benchmarking and test program to test
2916 * cspi/spi_accessible.c:
2918 Made some of the debug strings passed to cspi_check_ev a
2919 little more specific.
2921 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2923 * test/screen-review-test.c: Fix crashes in debug statements
2925 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2927 * test/screen-review-test.c: Added this file.
2929 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2931 * atk-bridge/bridge.c: changed "object:state-change" to
2932 "object:state-changed" to match docs.
2934 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2936 * atk-bridge/bridge.c: Hooked up state-change event details.
2938 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2940 * registryd/registry.c:
2941 Fixed quarking bug in event string parsing; now events with
2942 detail parameters get matched correctly to listeners.
2945 * util/idl/Magnifier.idl: remove.
2947 * util/*.[ch]: Remove.
2948 Magnification utilities and IDL are now in module gnome-mag.
2950 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2952 * registryd/deviceeventcontroller.c:
2953 Fixed bug in grab key conversion which was causing keycode grabs
2954 to be converted to AnyKey grabs.
2957 updated NEWS file to reflect recent spin-off of gnome-mag.
2959 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2961 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2962 busted AccessibleStateSet_compare. Removed redundant casts.
2964 * cspi/spi-action.c: Removed redundant casts.
2966 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2968 * cspi/spi_component.c: Fixed typos and casting error.
2970 * cspi/spi_editabletext.c: Removed redundant casts.
2972 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2974 * cspi/spi_hypertext.c: Eliminated redundant casts.
2976 * cspi/spi_image.c: Eliminated redundant casts.
2978 * cspi/spi_registry.c: Eliminated redundant casts.
2979 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2980 * cspi/spi_selection.c: Removed redundant casts.
2981 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2982 handling. Screen geometry and text offsets were being returned as 0
2983 on error which is technically valid-- changed these to return -1.
2984 Added marshaller for text boundary types to fix bug with boundary
2985 types being passed incorrectly to atk.
2987 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2990 * cspi/spi_registry.c:
2991 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2992 which was uncovered by the recent key changes.
2994 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2996 * test/event-listener-test.c:
2998 Added new test, "event-listener-test";
2999 this code does two things; it benchmarks traversal time
3000 for the accessible hierarchy for the first running accessible
3001 app, and it connects listeners for all supported event types.
3002 It is thus useful as an example event listener and for
3003 diagnostics/debugging of event generation.
3005 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3008 Removed unnecessary dependency on libutil.
3011 Revved micro version: 0.13.1
3013 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3016 Removed util/Makefile from targets.
3019 Removed util subdir from SUBDIRS (temporarily,
3020 pending removal of magnifier-only code
3024 #ifdef-ed out magnifier dependencies, since
3025 magnifier IDL, headers, and binary now live in
3026 module gnome-mag and we don't want at-spi to depend
3027 on gnome-mag. A magnifier demo which can run alongside
3028 simple-at is forthcoming in the gnome-mag module.
3030 NOTE: Split magnifier binary, IDL, and magnification
3031 activation code from at-spi into module gnome-mag.
3033 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3035 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3036 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3038 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3041 Revved to version 0.13.0
3043 * idl/Accessibility_Registry.idl:
3044 Changed definition of KeySet from sequence of longs to sequence of
3045 KeyDefinitions, and added KeyDefinition struct.
3046 Required for fix to bug 80616.
3048 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3049 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3050 to use new definition (see above).
3052 * registryd/deviceeventcontroller.c: handle_keygrab(),
3053 spi_keyset_contains_key():
3054 Changed to make use of new struct; this allows matching based on
3055 string key-name, for instance "Tab". This also allows matching of
3056 composed characters, non-alphanumeric characters in a way that
3057 doesn't involve dependencies on X keysym codes directly, etc.
3059 * test/key-listener-test.c:
3060 Added test for Alt-Tab key using "string" specification of keyset,
3061 and modified one of the tests to use a keycode-based keyset.
3062 Thus this test both tests and demonstrates the creation and use of
3063 keysets of three forms: specified via keycode array,
3064 keysym array, and string array. (The string case only contains a
3065 single string, i.e. a string array of length 1).
3068 Turned on PRINT_TREE option by default. Also fixed a
3069 string-freeing bug in the PRINT_TREE code.
3070 Added a listener to window:minimize events.
3072 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3074 * atk-bridge/bridge.c:
3075 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3076 for window:activate and window:deactiveate
3077 (atk_bridge_property_event_listener atk_bridge_signal_listener
3078 atk_bridge_window_event_listener) Tidy debug code
3080 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3082 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3083 Fixed handling for NULL return value from ATK.
3085 * libspi/action.c libspi/component.c libspi/editabletext.
3086 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3087 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3088 Removed redundant casts.
3090 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3091 Fixed off by one bug.
3093 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3094 function not present in idl)
3096 2002-05-02 jacob berkman <jacob@ximian.com>
3098 * atk-bridge/Makefile.am: make atk-bridge a real module
3100 2002-04-26 Radek Doulik <rodo@ximian.com>
3102 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3103 atk_state_types table
3105 2002-04-22 jacob berkman <jacob@ximian.com>
3108 * libspi/Makefile.am: add deps on the built files to help
3109 automake, and don't version the ORBit typelib
3111 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3113 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3114 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3115 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3116 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3117 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3118 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3119 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3120 libspi/accessible.h libspi/accessible.h libspi/base.h
3121 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3122 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3123 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3124 libspi/spi-private.h libspi/statetset.h libspi/table.h
3125 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3126 util/mag_client.h util/mag_control.c util/mag_image.c
3127 util/mag_image.h util/magnifier.c util/magnifier.h:
3128 Add missing file headers; standardize existing ones
3130 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3132 * atk-bridge/bridge.c: Added window event support.
3134 2002-04-18 Michael Meeks <michael@ximian.com>
3136 * libspi/relation.c (impl_getNTargets): impl.
3137 (impl_getTarget): impl.
3139 * libspi/Makefile.am: fix stateset install.
3141 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3144 Started putting useful info in this file.
3146 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3148 * atk-bridge/bridge.c:
3149 Propagate state-changed notifications to ATs
3151 * cspi/spi_registry.c: update docs to reflect actual behavior of
3152 state-change events.
3154 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3157 Incremented version to 0.12.1
3159 * util/mag_client.h:
3160 Add missing declaration for magnifier_exit,
3161 used by mag_control.c - Forte compiler didn't like
3162 the implicit redeclaration of the function :-(
3165 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3168 Revved version to 0.12 due to API change (see below).
3170 * cspi/spi-roletypes.h:
3171 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3172 definition from the inline docs, and added docs
3173 for SPI_ROLE_LAST_DEFINED.
3176 * cspi/spi_streamablecontent.c:
3177 Added missing seek_type parameter to
3178 (so far unused) method,
3179 AccessibleStreamableContent_seek().
3180 [ RT approval JodyG. ]
3183 Fixed docs for SPI_createAccessibleKeystrokeListener.
3185 * cspi/spi_registry.c:
3186 Fixed docs for SPI_KEYSET_ALL_KEYS.
3188 * docs/reference/cspi/at-spi-cspi-sections.txt:
3189 Added a number of missing APIs to SECTIONS.
3191 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3193 * registryd/Makefile.am:
3195 * cspi/bonobo/Makefile.am:
3196 Add $(X_LIBS) to makefiles.
3198 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3201 Revved version to 0.11.
3203 * libspi/component.c:
3204 Added implementation for grabFocus.
3206 * idl/Accessibility_Component.idl
3207 (Accessibility_Component_grabFocus):
3208 Made this method return boolean to indicate success or failure, to
3209 be consistent with cspi and the corresponding ATK method.
3211 * idl/Accessibility_Selection.idl
3212 (Accessibility_Selection_selectAll) :
3213 Made these methods return boolean to indicate success or
3214 failure, to be consistent with cspi and the corresponding ATK methods.
3216 * idl/Accessibility_EditableText.idl
3217 (Accessibility_EditableText_setTextContents,
3218 Accessibility_EditableText_insertText,
3219 Accessibility_EditableText_cutText,
3220 Accessibility_EditableText_deleteText,
3221 Accessibility_EditableText_pasteText):
3222 Made these methods return boolean to indicate
3225 * cspi/spi_editabletext.c:
3226 Made these methods return booleans.
3228 * libspi/selection.c:
3229 * libspi/component.c:
3230 * libspi/editabletext.c:
3231 Connected the boolean returns from ATK
3232 to the server-side code referenced above.
3234 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3236 * idl/Accessibility_Table.idl: Added missing methods,
3237 Accessibility_Table_addRowSelection,
3238 Accessibility_Table_addColumnSelection,
3239 Accessibility_Table_removeRowSelection,
3240 Accessibility_Table_removeColumnSelection.
3243 Added C wrappers for above IDL:
3244 AccessibleTable_addRowSelection,
3245 AccessibleTable_addColumnSelection,
3246 AccessibleTable_removeRowSelection,
3247 AccessibleTable_removeColumnSelection.
3250 Added server-side implementation code for IDL above, connecting
3251 to pre-existing ATK api.
3253 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3255 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3257 * libspi/accessible.c: Added implementation fo
3258 Accessibility_Accessible_get_state.
3260 * libspi/libspi.h: Added stateset.h to the list of includes.
3262 * libspi/stateset.c: Fixed broken implementation.
3264 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3267 Added implementation code for Accessibility_Magnifier_exit ().
3269 * util/mag_control.c:
3270 Added test code for above method; you can
3271 now kill an existing magnifier via
3272 ./mag_control q, from the util directory.
3274 * test/key-listener-test.c:
3276 Added a new test, for our key listener API.
3278 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3280 * test/app.c, test/keysynth-demo.c:
3282 Replace use of snprintf with g_snprintf.
3283 (fix for bugzilla 78249)
3285 2002-03-27 Michael Meeks <michael@ximian.com>
3289 * util/Makefile.am (INCLUDES): fix.
3290 (DONT_DIST_SOURCE): don't distribute the
3293 * libspi/Makefile.am (dist-hook): ditto.
3295 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3297 * libspi/hypertext.c:
3298 Fix warnings when yelp is used with atk-bridge
3300 2002-03-21 Michael Meeks <michael@ximian.com>
3302 * libspi/application.c (spi_application_new):
3303 use spi_accessible_construct so we use the AtkObject
3306 2002-03-19 Michael Meeks <michael@ximian.com>
3308 * registryd/registry.c (desktop_remove_application),
3309 (desktop_add_application): clean coding style.
3311 * registryd/desktop.c (spi_desktop_remove_application),
3312 (spi_desktop_add_application): kill re-enterency hazards.
3313 (spi_desktop_dispose): remove bogus redundant cast
3314 obscuring bug; fix bug too.
3315 (spi_desktop_init): make the desktop object immortal.
3317 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3320 Added a #define-guarded tree-traversal step
3321 when enumerating the apps (diagnostic tool).
3323 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3325 * idl/Accessibility_Role.idl:
3326 Added ROLE_DRAWING_AREA which seemed to be missing from the
3329 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3331 * cspi/spi-roletypes.h cspi/spi_accessible.c
3332 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3335 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3336 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3337 AT when applications are added and removed from the desktop. This
3338 reverts the previous broken implementation using the backing
3339 AtkObject for the SpiDesktop.
3341 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3343 * registryd/desktop.c: emit the "children-changed::add" and
3344 "children-changed::remove" signals on the backing ATK object for
3345 the desktop so AT can tell when applications are started and shut
3348 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3350 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3352 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3354 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3356 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3358 * cspi/state-types.h: synched with IDL and ATK
3360 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3362 * libspi/accessible.c
3363 (impl_accessibility_accessible_get_child_at_index):
3364 Change return value for g_return_if_fail ()
3365 to CORBA_OBJECT_NIL instead of "0" (!)
3367 * registryd/Makefile.am:
3368 * registryd/Accessibility_Register.server.in:
3369 Changed name of executable, "registryd",
3370 to something more informative:
3373 2002-03-13 Michael Meeks <michael@ximian.com>
3375 * atk-bridge/bridge.c (atk_bridge_init): don't register
3376 if we're in a bonobo-component, rather than a bonobo app.
3378 2002-03-13 Michael Meeks <michael@ximian.com>
3380 * atk-bridge/bridge.c (gtk_module_init): split
3381 out body to (atk_bridge_init): here, since otherwise
3382 we get symbol conflicts and oddness when invoked
3383 from (gnome_accessibility_module_init): here (upd.)
3385 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3388 New file. Explicitly allow "build sheriff" putbacks provided
3389 they are tested on Solaris.
3391 * docs/reference/cspi/Makefile.am:
3392 Added '-' to the "cp" command for index.sgml.
3393 ("patch by thomasvs, soon coming to a GUADEC near you")
3396 Incremented version number (0.9.0) for new release.
3397 Changed macro that checks for popt, to better detect
3398 obsolete versions of popt.
3401 Added X_LIBS to AC_SUBST, for applications
3402 that call Xlib API directly.
3405 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3408 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3411 Fix regression caused by hard-coding major
3412 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3415 * test/test-simple.c (test_editable_text),
3416 (test_test): revert previous change (error was
3417 a regression in gail which is now fixed).
3419 2002-03-04 Michael Meeks <michael@ximian.com>
3421 * test/test-simple.c (test_editable_text),
3422 (test_text): pass G_MAXINT instead of '-1' for
3423 whole string - is this a good thing !?
3425 * cspi/spi_accessible.c
3426 (Accessible_getRelationSet): fix crasher bug
3427 overwriting the end of the array.
3429 * test/test-simple.c (validate_accessible): free,
3430 not g_free returned relation set.
3432 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3434 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3435 implemented stateset support
3437 * idl/Accessibility_State.idl: Made necessary changes to
3438 the IDL to support state sets.
3440 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3442 * registryd/deviceeventcontroller.c:
3443 Added implementation for generateMouseEvent.
3445 * cspi/spi_registry.c:
3446 Connected new implementation for generateMouseEvent
3449 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3452 Incremented revision (but no change in public API
3453 outside of 'utils', which are not installed public yet.)
3455 * libspi/component.c:
3456 Changed to use atk_component API for layers and
3457 mdi_zorder, instead of deprecated atk_object API.
3459 Magnification Utility Enhancements:
3462 Added implementation of createZoomRegion, clearAllZoomRegions,
3463 resizeZoomRegion. Added new commandline argument
3464 "--no-initial-region". Note that clearAllZoomRegions doesn't
3465 unmap the old '0' region as it should (yet), and the other
3466 methods only work when creating/resizing a single region,
3467 which is "region 0".
3468 (Code for multiple region support will be added later.)
3471 Now we raise the magnifier window each time it's refreshed;
3472 this will help keep it on top.
3474 * util/mag_client.h:
3475 Added simple wrappers for above, used by mag_control.
3476 For general use, it's recommended to use the bonobo magnifier
3477 control API directly instead of using these wrappers.
3480 Moved ZoomRegionData from magnifier.c to this file.
3482 * util/mag_control.c:
3483 Added some code to exercise new IDL implementations.
3485 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3487 * libspi/text.c: Provide implementation for getAttributes.
3489 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3492 Incremented revision.
3494 * test/test-simple.c:
3495 Replaced use of deprecated g_main_iteration with
3496 g_main_context_iteration.
3498 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3501 Incremented revision for desktop alpha 2.
3503 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3505 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3508 * test/simple-at.c: include netinet/in.h.
3510 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3512 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3513 use NULL, not CORBA_OBJECT_NIL.
3515 * libspi/accessible.c:
3516 (impl_accessibility_accessible_get_relation_set):
3517 allocate the sequence correctly.
3519 * libspi/remoteobject.h: kill spi_remote_object_new.
3521 * test/test-simple.c: (validate_accessible): add code
3522 to test relation sets, now all we need is to figure
3523 out how to excercise this code path :/
3525 2002-01-18 Michael Meeks <michael@ximian.com>
3527 * test/test-simple.c
3528 (key_listener_cb): consume the key.
3529 (test_keylisteners): update.
3530 (main): wait for any pending unrefs on events.
3532 * registryd/deviceeventcontroller.c
3533 (spi_controller_update_key_grabs): only re-issue the
3534 grab on a key release.
3535 (spi_device_event_controller_forward_key_event):
3536 refresh the keygrabs before we notify the listeners,
3537 to reduce the X ungrab / re-grab race.
3538 (spi_controller_register_with_devices): remove
3539 XSelectInput - we do that with the gdk_window_ call.
3540 (_spi_controller_device_error_handler): return a value.
3541 s/GDK_DISPLAY/spi_get_display/
3543 2002-01-17 Michael Meeks <michael@ximian.com>
3545 * registryd/deviceeventcontroller.c
3546 (_deregister_keygrab): don't blow out the later
3549 * test/test-simple.c (test_keylisteners): do a
3550 more intelligent validation.
3552 2002-01-14 Michael Meeks <michael@ximian.com>
3554 * atk-bridge/bridge.c
3555 (gnome_accessibility_module_init),
3556 (gnome_accessibility_module_shutdown): impl.
3557 (gtk_module_init): protect vs. double inits.
3558 (add_signal_listener): impl.
3559 (spi_atk_bridge_state_event_listener): kill
3560 (deregister_application): split out of
3561 (spi_atk_bridge_exit_func): here.
3563 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3566 Added caret tracking when using magnifier, and
3567 now use text bounds for focus tracking of text elements, rather than
3568 the component bounds - this is helpful for short text fields in long
3569 table cells, at high magnification.
3571 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3573 * registryd/deviceeventcontroller.c:
3574 Regression fix for keylistener de-registration; global keygrabs
3575 were not being released when deregisterKeystrokeListener was
3576 called in cspi, since
3577 Accessibility_DeviceEventController_deregisterKeystrokeListener
3578 was called with a zero-length keyset. That is because the cspi
3579 method, SPI_deregisterKeystrokeListener, does not take a keyset
3580 parameter but instead should remove all the key grabs held be a
3582 The code in impl_deregister_keystroke_listener was changed to copy
3583 the keylist from the listener instance previously registered with
3584 the DeviceEventController before releasing the grabs.
3586 * registryd/registry.c:
3587 * registryd/deviceeventcontroller.c:
3588 * libspi/spi-private.h:
3590 Changed spelling of "re-enterant" to "re-entrant" globally.
3592 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3594 * test/test-simple.c:
3595 Changed key listeners test - the test was slightly mis-using the
3596 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3597 It now uses '=' as the key event listened to and generated,
3598 relying on a keysym match rather than assuming that keycode 33
3599 is always equal to keysym '!'.
3601 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3604 Changed simple-at to use a specific keyset, rather than
3605 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3606 manager, desktop, etc.
3608 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3610 * registryd/deviceeventcontroller.c:
3611 Replaced standard X error handler with a special handler that
3612 is non-fatal for failed keygrabs. This works around
3613 problems with keygrab clashes sometimes observed on
3615 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3616 mouse handling code as yet).
3618 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3621 Incremented revision for desktop alpha release.
3624 Fixed a couple of the more glaring errors (still not
3627 2002-01-11 Michael Meeks <michael@ximian.com>
3629 * registryd/deviceeventcontroller.c
3630 (spi_device_event_controller_forward_key_event): kill
3631 XUngrabKey / XKeyGrab race.
3632 (spi_controller_grab_keyboard): rename to
3633 (spi_controller_update_key_grabs): this, and deal
3634 with incremental adding / removing grabs more
3636 (_register_keygrab): ensure we're not pending a remove.
3637 (spi_grab_mask_free): impl.
3638 (spi_controller_register_global_keygrabs): split out
3640 (handle_keygrab): impl.
3641 (_deregister_keygrab): impl.
3642 (spi_controller_deregister_global_keygrabs): impl.
3643 (spi_controller_update_key_grabs): re-issue the grab if
3644 we just recieved a notification.
3646 * test/test-simple.c (key_listener_cb): remove debug.
3648 * registryd/deviceeventcontroller.c
3649 (spi_controller_register_device_listener): after
3650 registering a global keygrab, actualy register it !
3651 don't wait for a timeout; doh !
3653 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3654 to make it more readable / manipulable.
3655 s/grabmask/grab_mask/ s/refcount/ref_count/
3656 s/keyval/key_val/ s/modmask/mod_mask
3658 2002-01-08 Michael Meeks <michael@ximian.com>
3660 * registryd/deviceeventcontroller.c
3661 (spi_controller_register_with_devices): use gdk calls to
3663 (global_filter_fn): implement the filter.
3664 (spi_device_event_controller_check_key_event): rename to
3665 (spi_device_event_controller_forward_key_event): this & upd.
3666 (spi_get_display): replace with GDK_DISPLAY.
3668 * registryd/deviceeventcontroller.c
3669 (spi_controller_deregister_device_listener): unroll into
3670 (impl_deregister_keystroke_listener): here to simplify.
3671 (spi_controller_register_global_keygrabs): split cut and
3672 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3673 (spi_controller_deregister_device_listener): remove.
3674 (impl_register_mouse_listener): remove, no mouse listener
3675 support in at-spi-1.0
3677 * registryd/registry.c
3678 (_device_event_controller_hook): kill.
3679 (spi_registry_init): upd.
3681 * registryd/deviceeventcontroller.c
3682 (spi_device_event_controller_class_init): upd.
3683 (spi_check_key_event): merge into.
3684 (spi_device_event_controller_check_key_event):
3685 here and kill strange static ev init, don't leak
3686 the x_event - nor dynamicaly allocate it.
3688 * registryd/registry-main.c (main): re-direct
3689 timeout to remove strange vtable mess.
3691 * registryd/deviceeventcontroller.c
3692 (remove_listener_cb): impl.
3693 (spi_controller_deregister_device_listener):
3694 fix re-enterancy hazard.
3696 2002-01-07 Michael Meeks <michael@ximian.com>
3698 * registryd/deviceeventcontroller.c
3699 (spi_device_event_controller_new): upd.
3700 (impl_notify_listeners_sync): upd. debug.
3701 (spi_notify_keylisteners): fix re-enterancy hazards,
3702 prettify, remove O(n*n) iteration.
3703 (spi_controller_grab_keyboard): fix iteration.
3704 (spi_check_key_event): re-format to suit coding style.
3705 Clean all the warnings - we're warning free.
3707 * registryd/deviceeventcontroller.h:
3708 * registryd/registry.h: make mutualy referential with
3709 typesafe forward references instead of (!) void pointer
3712 2002-01-11 Michael Meeks <michael@ximian.com>
3714 * cspi/spi_accessible.c (role_names): add a role name
3715 to sync this array with the enum; and make the regression
3718 2002-01-10 Michael Meeks <michael@ximian.com>
3720 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3721 allow expansion of enumeration & kill warning.
3723 * test/test-simple.c (key_listener_cb): impl.
3724 (test_keylisteners): impl.
3726 * cspi/spi-listener.h: make listener signatures const
3727 on the provided (const) events.
3729 * test/keysynth-demo.c: upd. to const events.
3731 * test/simple-at.c: ditto.
3733 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3736 Rev the version to 0.5 (the previous tarball was named 0.4,
3737 even though the micro number was 3), so we need to rev upwards
3738 again for beta2/"desktop-alpha"
3741 Checked in a demo script, which requires editing before use!
3742 Proceed with caution.
3745 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3747 * cspi/spi_accessible.c:
3748 Add a couple of missing enum initializations, and fix some enum
3751 * cspi/spi_registry.c:
3752 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3754 * docs/reference/cspi/at-spi-cspi-sections.txt:
3755 Remove/fix a couple of broken document references.
3758 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3759 as Alt-Control to listen for commands, since on some systems
3760 Control-Alt may already be grabbed.
3762 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3765 Update version number to 0.4 for Beta2.
3767 * libspi/accessible.c, libspi/accessible.h:
3768 Expose spi_accessible_construct, to enable libgail-gnome
3769 construction from spi_accessible subtype.
3771 * utils/magnifier.c:
3772 Workaround for bug in some non-gnome-compliant window managers
3773 which made magnifier resize improperly.
3775 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3777 * libspi/accessible.c: (spi_accessible_new) :
3778 Move the test for SPI_IS_REMOTE_OBJECT to
3779 spi_accessible_new_return, fixing a bug and compile time warning.
3781 2002-01-08 Michael Meeks <michael@ximian.com>
3783 * registryd/registry.c (parse_event_type): remove strndup.
3785 * libspi/Makefile.am (libspi_la_SOURCES): remove
3786 sources already included in the headers section.
3788 * libspi/util.c: add.
3790 * libspi/spi-private.h: add.
3792 * registryd/registry.c: update to moved list iterators.
3794 2002-01-05 Michael Meeks <michael@ximian.com>
3796 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3798 * test/test-simple.c (main): ditto.
3800 2002-01-04 Michael Meeks <michael@ximian.com>
3802 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3803 redundant construct.
3805 * registryd/registry.c
3806 (get_listener_list): impl.
3807 (impl_accessibility_registry_register_global_event_listener):
3808 re-impl. to simplify using ~, remove dodgy const cast off.
3809 (parse_event_type): constify.
3810 (impl_accessibility_registry_deregister_global_event_listener_all):
3811 re-write, more efficiency and simplicity, kill re-enterancy
3813 (compare_listener_corbaref, compare_corba_objects),
3814 (compare_listener_quarks): define out.
3815 (impl_accessibility_registry_deregister_global_event_listener):
3816 re-write for effiency, and nail re-enterancy hazard.
3817 (impl_accessibility_registry_get_desktop_list): impl.
3818 (re_enterant_list_delete_link): impl.
3819 (re_enterant_list_foreach): impl.
3820 (remove_listener_cb): impl.
3821 (_registry_notify_listeners): kill.
3822 (notify_listeners_cb): impl.
3824 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3825 (SPI_getDesktopList): impl.
3827 * test/test-simple.c (test_desktop): test the methods.
3829 2002-01-03 Michael Meeks <michael@ximian.com>
3831 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3832 keystrings since we free them
3833 (SPI_freeAccessibleKeySet): in here.
3835 * libspi/accessible.c (spi_accessible_new): kill warning,
3836 wonder what is going on with the constructor here.
3838 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3840 * libspi/accessible.c (spi_accessible_new ()) :
3841 Added check to see if AtkObject is an SpiRemoteObject before
3842 creating an SpiAccessible.
3844 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3846 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3847 Enable keygrabs using the Control modifier, now that they are
3848 working properly (they were previously disabled).
3851 Change the command keygrab for this demo to "Control+Alt", so as
3852 to conflict with fewer other key commands on the system; this
3853 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3855 Removed a pointlessly-chatty keylistener for unshifted keys
3856 (shifted keys are still reported).
3858 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3860 * libspi/remoteobject.h:
3861 * libspi/remoteobject.c:
3862 Added definitions for special AtkObject subtype, required for
3863 support of remote components (specifically, used by BonoboControl
3864 accessibility implementation).
3866 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3868 * cspi/spi.h: synched relation types with ATK
3870 * cspi/spi_accessible.c: Added implementations of
3871 AcccessibleRelation_* methods
3873 * idl/Accessibility_Relation.idl: added getRelationTypeName
3874 method. Synched known relation types with ATK. Allowed for
3875 relation type extension with the RELATION_EXTENDED type.
3877 * libspi/relation.c: Provided implementations for
3878 AccessibleRelation methods.
3880 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3882 API tweaks for today's API 'freeze'.
3885 Added placeholder functions to allow future compatible expansion
3886 of the IDL interfaces.
3888 * idl/Accessibility_Registry.idl:
3889 Changed generateKeyEvent to generateKeyboardEvent. Changed
3890 signature of this method to accept an optional keystring in
3891 parameter (for complex text input synthesis) and changed use of
3892 simple 'boolean' parameter in registerKeystrokeListener to a
3893 struct, EventListenerMode.
3895 * cspi/spi_accessible.c:
3897 * cspi/spi_streamablecontent.c:
3898 Added references to AccessibleStreamableContent interface, and
3899 definition and implementation of AccessibleStreamableContent
3902 * cspi/spi_registry.c:
3904 Changed generateKeyEvent API to generateKeyboardEvent,
3905 taking a new (optional) keystring parameter to support complex
3910 Renamed directory (to better reflect its actual purpose, bridging
3911 from at-spi to ATK). The .so module is also now named
3914 * idl/Accessibility_Hypertext.idl:
3915 * libspi/accessible.c:
3916 * libspi/hypertext.h:
3917 * libspi/hypertext.c:
3918 Changed Accessibility_Hypertext to *not* derive from
3921 * cspi/spi_registry.c:
3922 Added list of legal event type names for 'window' events, which
3923 completes the registry event API.
3925 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3927 * at-bridge/bridge.c: Added registration for separate
3928 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3929 signals. If either of the first two parameters to the generic
3930 bridge signal handler are ints, they are passed on as event
3931 details. This allows an AT to determine what text was inserted.
3933 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3935 * registryd/deviceeventcontroller.c:
3936 Fixed regressions in generateKeyEvent caused by the removal of
3937 gdk_init from registryd; we now use pure X calls to connect to the
3938 display, which makes sense because deviceeventcontroller already
3939 uses a fair bit of X API (should eventually be migrated to a
3940 'portability layer').
3942 * registryd/desktop.c:
3943 Fixed minor regression in spi_desktop_init, changed the way the
3944 desktop name is being set to work with new spi_base API
3945 (gobject-based, rather than AtkObject-based).
3947 * registryd/Makefile.am:
3948 Minor revision of makefile to use XTST_LIBS variable rather than
3949 hard-wiring the Xtst LD_ADD element.
3951 * test/keysynth-demo.c:
3952 Tweaked an output message; added initialization of the
3953 'keystrings' member of the "switch listener" key_set.
3955 * libspi/relation.c:
3956 Squashed compile-time warning.
3958 * libspi/accessible.c:
3959 Cosmetic and formatting fixes, renamed a static method.
3961 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3963 * libspi/accessible.c
3965 * libspi/application.c
3968 * libspi/component.c
3969 * libspi/editabletext.c
3970 * libspi/hyperlink.c
3971 * libspi/hypertext.c
3973 * libspi/selection.c
3977 * registryd/desktop.c:
3978 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3980 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3982 * idl/Accessibility_Registry.idl:
3983 Added boolean member 'is_text' to DeviceEvent. This is for the
3984 use of key events, and helps prevent ambiguity between composed
3985 key strings and keysym names, since both may potentially be
3986 returned in the 'event_string' member.
3988 * at-bridge/bridge.c:
3989 * registryd/deviceeventcontroller.c:
3990 Use the 'is_text' member when notifying device event listeners.
3991 Knon issue: composed characters are not dealt with correctly by
3992 the global key listener implementation yet.
3994 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3996 * at-bridge/bridge.c:
3997 Namespaced local static methods to spi_atk_bridge_* where
3998 previously named bridge_*, and spi_* elsewhere.
4000 * at-bridge/bridge.c:
4001 * cspi/bonobo/cspi-bonobo-listener.c:
4002 Added demarshalling/conversion for string member of
4003 Accessibility_DeviceEvent to AccessibleKeystroke.
4005 * registryd/deviceeventcontroller.c:
4006 Added code to fill the Accessibility_DeviceEvent key string value
4007 member for global key events (i.e. from XGrabKey), to match
4008 behavior of Accessibility_DeviceEvent from the toolkit key events
4009 from the bridge. Fixed timestamp in global key event notifications.
4012 Added printout of key event's string value to
4013 report_ordinary_key_event, for demo/debugging purposes.
4015 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4017 * idl/Accessibility_Registry.idl:
4018 Removed Accessibility_KeyStroke structure in favor of generic
4019 Accessibility_DeviceEvent structure.
4020 Changed Accessibility_ControllerEventMask from a struct to an
4023 * at-bridge/bridge.c:
4024 Changed APIs to use DeviceEvent structure as above, and removed
4025 bogus casting between these event structures.
4027 * cspi/spi-listener.h:
4028 Added keystring member of AccessibleKeystroke structure, to enable
4029 matching on event "names" rather than only hardware codes and
4033 Added keystrings member of AccessibleKeySet struct, to allow
4034 matching on event names (as above).
4035 Added declarations for SPI_createAccessibleKeySet and
4036 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4037 event modmasks directly as unsigned ints rather than structs with
4038 refcounts, in the DeviceEventController methods.
4040 * cspi/spi_registry.c:
4041 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4043 * cspi/spi-roletypes.h:
4044 Added documentation of newly added SPI Roles.
4046 * cspi/bonobo/cspi-bonobo-listener.c:
4047 Changes in support of API changes above.
4049 * libspi/accessible.c:
4050 Converted APIs to use DeviceEvent structure (see IDL changes
4053 * registryd/deviceeventcontroller.c:
4054 Added DEControllerGrabMask structure to track keygrabs not only by
4055 modmask but by keyset as well; this allows us to do "global"
4056 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4057 grabbing on AnyKey and then filtering after-the-fact.
4058 Bugfixes for event filtration mean that we don't get false matches
4059 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4061 * registryd/deviceeventcontroller.c:
4062 Namespaced a number of static methods to use spi_ prefix. Major
4063 revision to internals of global (i.e. X) key grabs.
4065 * registryd/deviceeventcontroller.h:
4066 Removed keymask_list and added keygrabs_list to
4067 SpiDeviceEventController struct.
4070 Added use of SPI_createAccessibleKeySet API when creating a
4071 listener for only one key. Attach a listener to "shift spacebar
4072 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4073 X key event names to SPI key event names, so that listeners are
4074 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4076 * test/keysynth-demo.c:
4077 Changed (incorrect) use of X key event names (KeyPressed,
4078 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4081 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4083 * libspi/accessible.c:
4084 Convert all AtkRole enumerations to Accessibility_Role enums when
4085 getting a role from an AtkObject.
4087 * cspi/spi_accessible.c:
4088 Complete the conversion of Accessibility_Role enums at runtime to
4089 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4090 role enums correctly match those given in spi-roletypes.h.
4091 Re-synchronize the local names list for AccessibleRole_getName ().
4092 AccessibleRole_getName is now deprecated, since it duplicates the
4093 more reliable Accessible_getRoleName.
4094 Added some role types from Accessibility_Role.idl.
4096 * idl/Accessibility_Role.idl:
4097 Added some role types used by AtkRole.
4099 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4102 * cspi/spi_registry.c:
4104 * cspi/cspi-bonobo-listener.c:
4105 Namespaced all methods that did not begin with an "SPI_" or
4106 "Accessible" prefix to "SPI_".
4109 Homogenized internal function namespace to "cspi_" for statics.
4112 Patched tests to use the new CSPI API.
4114 * docs/reference/cspi/at-spi-cspi-sections.txt:
4115 Updated docs to reflect namespace changes, and added a number of
4116 methods to the documentation.
4118 * registryd/registry.c:
4119 Changed use of strings and string hashes in listener event
4120 matching and parse_event_string to use GQuark, which is guaranteed
4123 * registryd/registry.h:
4124 Squashed annoying warning.
4126 * idl/Accessibility_Role.idl:
4127 Extended range of available Accessibility_Role values.
4129 * cspi/spi_accessible.c:
4130 Re-ordered role names.
4132 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4134 * idl/Accessibility_Value.idl:
4135 Revert use of union back to CORBA_double, since the double type is
4136 more efficient and can contain the other types without loss of
4139 * idl/Accessibility_Accessible.idl:
4140 Added method Accessibility:Accessible:getRoleName, to complement
4141 Accessibility:Accessible:getRole.
4143 * cspi/spi_accessible.c:
4145 Added C binding for above, Accessible_getRoleName (), and changed
4146 signature of Accessible_getRole () to return an AccessibleRole.
4148 * cspi/spi-roletypes.h:
4149 Changed AccessibleRole_getName to return a char * instead of a
4150 const char *. This method is now at least temporarily deprecated
4151 in favor of asking Accessibles for their RoleNames directly.
4154 Revert to match Accessibility_Value.idl;
4158 Change signature of AccessibleValue methods to use double rather
4162 * cspi/spi_accessible.c:
4163 Changed Accessible_getRole to return an AccessibleRole enum rather
4164 than a UTF-8 string. The UTF-8 string can still be obtained via
4165 AccessibleRole_getName ().
4167 * test/test-simple.c:
4168 Add test_action. Small fixup to match API change to Accessible_getRole.
4171 Bugfix for get_action_from_servant ().
4173 2001-12-11 Michael Meeks <michael@ximian.com>
4175 * libspi/libspi.h: remove registry.h and
4176 desktop.h, deviceeventcontroller.h
4178 * libspi/Makefile.am: remove registry.[ch],
4179 desktop.[ch], deviceeventcontroller.[ch]
4181 * registryd/Makefile.am: add registry.[ch],
4182 desktop.[ch], rename registryd.c to registry-main.c.
4183 add deviceeventcontroller.[ch]
4185 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4188 Replace setenv() call with putenv ().
4190 * libspi/component.c:
4191 Bugfix in AccessibleComponent_getExtents (),
4194 2001-12-11 Michael Meeks <michael@ximian.com>
4196 * libspi/image.c (impl_getImageExtents): impl.
4197 (spi_image_class_init): upd.
4200 (AccessibleImage_getImageDescription): fix daft bug
4203 * test/test-simple.c (global_listener_cb): update
4204 to only quit if not --poke
4205 (main): catch --poke.
4206 (validate_accessible): upd. dumping, call test_image
4209 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4212 * idl/Accessibility.idl: update all IDL includes.
4214 * idl/*.idl - rename to namespace - this sucks, blame
4215 mjs' bad decision for oafd.
4217 * test/test-simple.c (create_test_window): add more tests.
4218 (create_tree): split this out.
4219 (validate_accessible): bugfix.
4221 2001-12-11 Michael Meeks <michael@ximian.com>
4223 * cspi/bonobo/cspi-bonobo-listener.c:
4224 (cspi_kestroke_listener_unref),
4225 (cspi_event_listener_unref): impl. undoing previous
4226 homenous environment - for Bill.
4228 * cspi/spi_table.c (long_seq_to_array): use
4231 * cspi/spi_main.c: split out all bonoboish bits into
4234 * cspi/spi-impl.h: upd. typedefs.
4236 * cspi/spi_registry.c: update to lowlevel API,
4237 return booleans to indicate success in some places.
4239 * cspi/spi_event.c: update to lowlevel API.
4241 * cspi/bonobo/Makefile.am: add.
4243 * cspi/bonobo/cspi-lowlevel.h: add
4245 * cspi/bonobo/cspi-bonobo.c: add
4247 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4249 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4250 (SUBDIRS): add bonobo, link in the libs.
4252 * cspi/spi-util.c: kill this file.
4254 * TODO: merge in my bits.
4256 2001-12-11 Michael Meeks <michael@ximian.com>
4258 * test/test-simple.c (test_value, test_table, main):
4259 remove unused variables causing warnings.
4261 * configure.in: cleanup checks - require gail.
4263 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4266 Changed Value interface to use SValue (scalars) rather than
4267 assuming all values are floats. This allows floats, doubles,
4268 longs, shorts, and unsigned values to be manipulated.
4269 Introduced Accessibility:SValue union.
4272 Updated to use new API above, and to work correctly with GValues
4273 of different types in AtkValue.
4276 Updated to use new API above. cspi's API is as yet unchanged.
4279 Updated the Value revision action item.
4281 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4283 * test/test-simple.c:
4284 Added test_table (GtkTreeView widget in test window to follow).
4285 Un-commented test_value, added GtkRange widget.
4286 Added GtkTreeView widget with GtkListStore. It passes regression
4287 test but leaks one SPI object for some reason.
4290 Fixed bug in impl__set_currentValue.
4292 2001-12-10 Michael Meeks <michael@ximian.com>
4294 * cspi/spi_text.c: audit for exception handling,
4295 tolerating NULL object references safely etc.
4297 * cspi/spi_value.c: ditto.
4299 * cspi/spi_table.c (AccessibleTable_getSummary),
4300 (AccessibleTable_getAccessibleAt),
4301 (AccessibleTable_getRowHeader),
4302 (AccessibleTable_getColumnHeader),
4303 (AccessibleTable_getCaption): fix bugs hidden by
4305 (long_seq_to_array): impl.
4306 (AccessibleTable_getSelectedRows),
4307 (AccessibleTable_getSelectedColumns): use it.
4309 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4312 Added a TODO list (rough and short for now).
4314 * cspi/spi_hyperlink.c:
4315 * cspi/spi_hypertext.c:
4316 Fixed macro name typos, and remove use of obsolete macro in
4317 AccessibleHyperlink_getLink.
4319 * cspi/spi_action.c:
4320 * cspi/spi_accessible.c:
4321 * cspi/spi_application.c:
4322 * cspi/spi_component.c:
4323 * cspi/spi_selection.c:
4326 Documentation fixes (removed return values from ref/unref methods).
4328 2001-12-10 Michael Meeks <michael@ximian.com>
4330 * cspi/spi_action.c: audit for exception handling,
4331 tolerating NULL object references safely etc.
4333 * cspi/spi_accessible.c: ditto.
4335 * cspi/spi_component.c: ditto.
4337 * cspi/spi_editabletext.c: ditto.
4339 * cspi/spi_hyperlink.c: ditto.
4341 * cspi/spi_hypertext.c: ditto.
4343 * cspi/spi_image.c: ditto.
4345 * cspi/spi_selection.c: ditto.
4347 2001-12-10 Michael Meeks <michael@ximian.com>
4349 * configure.in: use cspi/libspi.pc.in instead.
4351 * Makefile.am (pkgconfig_DATA): upd. to match.
4353 * test/simple-at.c (report_focus_event): kill hacks around
4354 bad return values, use putenv not setenv
4356 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4357 fire ChildGone - I killed it.
4359 * libspi/component.c
4360 (impl_accessibility_component_get_extents): remove
4363 * idl/Accessible.idl: kill ChildGone exception.
4365 * cspi/*.[ch]: kill int return from ref / unref.
4367 * cspi/spi_main.c (cspi_object_add_check): fold into
4368 (cspi_object_add): here.
4370 * cspi/spi_component.c (AccessibleComponent_getExtents):
4371 handle exceptions elegantly.
4373 * cspi/spi-private.h (cspi_check_ev_return),
4374 (cspi_return_if_fail): impl.
4376 * cspi/spi_accessible.c: use extensively.
4377 (AccessibleStateSet_equals): add direct compare check.
4379 * cspi/spi_selection.c: tolerate NULL objs, and check
4380 exceptions before return.
4382 * cspi/spi-util.c (cspi_warn_ev): rename to
4383 (cspi_check_ev): this & don't pass ev in; no point.
4385 2001-12-10 Michael Meeks <michael@ximian.com>
4387 * test/test-simple.c: use putenv not setenv
4388 (get_environment_vars): more chatty if you're not using
4391 * test/simple-at.c: do the setenv so more people see the
4394 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4396 * libspi/registry.c:
4397 Changed check of CORBA_environment on notification to be a warning
4398 instead of an error for the moment, since we can recover from this
4399 error when caused by a queued notification from a dead app.
4402 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4403 used by all current implementors of AtkValue), and coerce to
4404 CORBA_float. (Proper general case fix may require change to Value.idl).
4406 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4410 * cspi/spi_accessible.c:
4411 Documentation fixes: added user_data params to documentation for
4412 listeners and callbacks.
4414 * cspi/spi_accessible.c:
4415 Changed AccessibleStateSet_compare to return a
4416 StateSet rather than return the difference set into a third parameter.
4419 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4422 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4423 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4427 Remove subdirectory po from SUBDIRS for now.
4429 * at-bridge/bridge.c:
4430 Beefed up a couple of debug printouts.
4431 One-line fix for signal notification name formatting.
4433 * libspi/accessible.c:
4434 Added assertion to spi_accessible_new ().
4436 * libspi/application.c:
4437 Put #ifdef qualifiers around a printf.
4440 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4442 * registryd/Makefile.am:
4444 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4445 INTLTOOL_SERVER_RULE macro.
4448 Added an event listener for several ATK signals, for
4449 testing and debugging. Removed a few g_warnings.
4450 Added test output if focussed item implements the Value interface.
4452 * test/test-simple.c:
4453 Added test_value () function (known not to pass at the moment, so
4454 not actually called yet.
4456 2001-12-08 Michael Meeks <michael@ximian.com>
4458 * at-bridge/bridge.c (bridge_focus_tracker),
4459 (emit_eventv): fix the same ref. leak.
4460 (register_atk_event_listeners): don't leak.
4462 * cspi/spi-listener-impl.c (cspi_event): more
4463 protection from client code.
4465 * test/test-simple.c (test_desktop): unref the app.
4467 * test/Makefile.am: upd. TESTS.
4469 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4471 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4473 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4475 * cspi/spi_registry.c: constify in strings.
4476 (deregisterGlobalEventListenerAll): don't release the ref.
4478 * cspi/spi.h: start removing redundant / conflicting
4479 gtkdoc comments, making the API readable at a glance :-)
4481 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4483 * test/keysynth-demo.c (keysynth_exit, main): upd.
4485 * test/simple-at.c (main, simple_at_exit): upd.
4487 * test/test-simple.c (unutterable_horror): kill.
4488 (utterable_normal_derefs): kill.
4489 (main): upd & do a setenv before gtk_init, so that we
4490 can use memprof - and to save the pain of remembering
4491 this, if we're running under memprof - don't exit.
4493 * cspi/spi_main.c (SPI_exit): return exit status
4495 (SPI_event_quit): impl.
4496 (SPI_event_main): simplify.
4497 (cspi_is_gnome_app): kill.
4498 (SPI_init): kill isGNOMEapp arg.
4500 * at-bridge/bridge.c (register_atk_event_listeners):
4501 re-instate the unref.
4502 (bridge_exit_func): don't re-activate the registry,
4503 protect vs. theoretical re-entry, use the
4504 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4505 assert a clean shutdown - for regression tests.
4507 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4509 * configure.in: Comment out dummy i18n support for now,
4510 otherwise it fails to build.
4511 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4512 EXTRA_DIST. They are missing in tarball.
4514 2001-12-07 Michael Meeks <michael@ximian.com>
4516 * util/magnifier.c: kill bonobo activation reg. race.
4518 * libspi/component.c
4519 (impl_accessibility_component_get_extents): make it match
4522 * libspi/registry.c (_registry_notify_listeners):
4523 re-remove X headers & reconcile conflicts.
4524 (spi_listener_struct_free): bad conflict resolve.
4525 (impl_accessibility_registry_register_application):
4526 more bad merging fixed.
4527 (impl_accessibility_registry_deregister_application): ditto.
4528 (spi_registry_new): ditto.
4529 (spi_registry_init): don't have an applications field.
4531 [ merge fixups2 branch to here ]
4532 2001-12-07 Michael Meeks <michael@ximian.com>
4534 * test/simple-at.c (report_focus_event),
4535 (report_focussed_accessible): remove g_warning debug.
4537 2001-12-07 Michael Meeks <michael@ximian.com>
4539 * test/test-simple.c (validate_tree): comment out some checks.
4540 (test_desktop): app now not registered idly - horay.
4542 2001-12-07 Michael Meeks <michael@ximian.com>
4544 * cspi/spi_registry.c
4545 (registerAccessibleKeystrokeListener): clean, stop it leaking
4546 great swathes of memory, and device event controller references.
4547 ensure we always pass valid sequences.
4548 (deregisterAccessibleKeystrokeListener): ditto.
4549 (generateKeyEvent): upd.
4551 * at-bridge/bridge.c (bridge_key_listener): handle
4552 registry dead exception gracefully.
4553 (bridge_focus_tracker, emit_eventv): free ev.
4555 * test/simple-at.c (report_focus_event): fix polarity.
4557 * libspi/application.c (notify_listeners): kill the ev
4558 argument, and make sure we init the ev we use.
4559 (spi_application_object_event_listener): split out a chunk
4560 (get_atk_object_ref): here & fixup.
4561 (reverse_lookup_name_for_toolkit_event): make const.
4562 (spi_application_toolkit_event_listener): fixup, kill leaks
4565 * at-bridge/bridge.c (register_atk_event_listeners):
4566 don't unref the noop object - causes grief.
4568 * libspi/registry.c: remove the X headers.
4569 turn off the debug churn.
4571 * libspi/accessible.c (spi_accessible_new_return): only
4572 release the ref if we are supposed to [doh]
4574 * test/simple-at.c (report_button_press, report_focus_event):
4575 guard vs. unexpected exit.
4577 * at-bridge/bridge.c (gtk_module_init): prune printf.
4578 (bridge_exit_func): fix app unref.
4580 * libspi/Makefile.am: don't install registry or desktop.h
4582 * libspi/*.h: update includes.
4584 * libspi/application.h: don't include ourself, or
4585 other redundant headers.
4587 2001-12-06 Michael Meeks <michael@ximian.com>
4589 * libspi/accessible.c
4590 (get_accessible_from_servant): impl.
4591 Upd. all CORBA impl.s to use it killing cut and paste.
4593 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4595 (SPI_init): register atexit cleanup handler here.
4597 2001-12-06 Michael Meeks <michael@ximian.com>
4599 * at-bridge/bridge.c (gtk_module_init): g_error on
4600 activation exception
4602 2001-12-06 Michael Meeks <michael@ximian.com>
4604 * at-bridge/bridge.c (gtk_module_init): some sort of
4605 confusing merge clash - reverted.
4606 (bridge_idle_init): ditto.
4608 * test/test-simple.c (main, utterable_normal_derefs):
4609 merge from Bill - somehow not committed.
4611 2001-12-06 Michael Meeks <michael@ximian.com>
4613 * libspi/value.c (spi_value_class_init): upd.
4614 (spi_value_finalize): kill.
4616 * libspi/table.c (spi_table_finalize): kill.
4617 (spi_table_interface_new): upd.
4618 (spi_table_class_init): upd.
4619 (get_table_from_servant): impl.
4620 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4622 * libspi/selection.c (spi_selection_finalize): kill.
4623 (spi_selection_interface_new): upd.
4624 (spi_selection_class_init): upd.
4625 (get_selection_from_servant): impl.
4626 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4628 * libspi/relation.c (spi_relation_finalize): kill.
4629 (spi_relation_class_init, spi_relation_new): upd
4631 * libspi/image.c (spi_image_finalize): kill.
4632 (spi_image_class_init): upd.
4633 (spi_image_interface_new): upd.
4634 (get_image_from_servant): impl.
4635 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4637 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4638 (spi_hyperlink_finalize): kill.
4639 (spi_hyperlink_new): upd.
4640 (get_hyperlink_from_servant): impl.
4641 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4643 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4644 (spi_hypertext_finalize): kill.
4645 (spi_hypertext_class_init): upd.
4646 (get_hypertext_from_servant): impl.
4647 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4649 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4650 (spi_editable_text_interface_new): upd.
4651 (get_editable_text_from_servant): impl.
4652 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4654 * libspi/text.c (get_text_from_servant): impl.
4655 All impls - update to use it killing more cut and paste,
4656 also fix bad string returns on duff args ( a somewhat
4657 impossible case to handle - but hey ).
4658 (spi_text_construct): impl.
4659 (spi_text_interface_new): upd.
4660 (spi_text_object_finalize): kill.
4662 * libspi/component.c
4663 (accessibility_component_object_finalize): kill.
4664 (spi_component_class_init): upd.
4665 (get_component_from_servant): impl. helper to kill cut & paste.
4666 (impl_accessibility_component_contains):
4667 (impl_accessibility_component_get_accessible_at_point):
4668 (impl_accessibility_component_get_position):
4669 (impl_accessibility_component_get_extents):
4670 (impl_accessibility_component_get_mdi_z_order):
4671 (impl_accessibility_component_get_layer):
4672 (spi_component_interface_new): upd.
4674 * libspi/action.c (spi_action_finalize): kill.
4675 (spi_action_class_init): upd. inherit from SpiObject.
4676 (spi_action_interface_new): upd.
4677 (get_action_from_servant): impl. helper to reduce cut & paste.
4678 (impl_getKeyBinding, impl_getName, impl_doAction),
4679 (impl_getDescription): Use it everywhere.
4681 * cspi/spi_main.c (get_live_refs): a pointer hash.
4682 (spi_object_hash, spi_object_equal): comment out.
4683 There are issues with CORBA object hashing that need
4686 * libspi/application.c (spi_application_init),
4687 (spi_application_new): upd.
4689 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4690 (spi_accessible_class_init): upd.
4691 s/accessible/object/ in epv methods.
4693 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4695 * at-bridge/bridge.c:
4696 Reorder the bridge initialization into the bridge gtk_module_init,
4697 an immediate call to bridge_register_app, and an idle_add for
4698 register_atk_event_listeners (the only code that *must* wait until
4699 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4700 the activation, creates the application's Accessible object, and
4701 queues the bridge_idle_init function. Restored call to
4702 Accessibility_Registry_deregisterApplication().
4703 Prior to making this call we obtain a new reference to the
4704 registry, which is a temporary hack that helps us handle apps that
4705 shut down the bonobo mainloop before we get there.
4707 * libspi/registry.c:
4708 Fix string leakage in debug block, and don't segv if a an app
4709 dies before its event notifications have been propagated.
4712 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4713 as stopgap measure until we get proper exception handling when
4714 objects die during or before interrogation.
4718 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4719 Also changed default value of is_gnome_app to TRUE.
4722 * test/keysynth-demo.c:
4723 Changed use of SPI_init and SPI_event_main to reflect API change above.
4726 Made report_focus_event check the warning value from getName
4727 before reporting on focussed accessible; simplifies handling of
4728 notifications from dead objects.
4730 * test/test-simple.c: (Changes not in this patch since source is
4733 2001-12-05 Michael Meeks <michael@ximian.com>
4735 * registryd/registryd.c (main): protect against
4736 bonobo-activation startup race condition.
4738 * cspi/spi_main.c (cspi_object_add_check): cope
4739 with the exception elegantly.
4741 * idl/Accessible.idl: decl. ChildGone
4743 * libspi/desktop.c (spi_desktop_dispose): impl.
4744 (spi_desktop_class_init): upd.
4745 (spi_desktop_add_application),
4746 (spi_desktop_remove_application),
4747 (abnormal_application_termination): impl.
4748 (impl_desktop_get_child_at_index): re-impl.
4751 (impl_accessibility_registry_deregister_application),
4752 (impl_accessibility_registry_register_application):
4753 kill excessive debug clutter.
4755 * test/test-simple.c (test_misc): test some NULL
4756 tolerance. (main): upd.
4758 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4759 implements no interfaces - so let's not crash.
4761 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4763 * libspi/accessible.c (spi_accessible_new_return): impl.
4764 helper to calm the cut and paste, to cope with
4765 NULL AtkObjects effectively and efficiently, and to kill
4766 the referencing bugs.
4768 * libspi/table.c (impl_getAccessibleAt),
4769 (impl_getRowHeader, impl_getColumnHeader): upd.
4771 * libspi/hyperlink.c (impl_getObject): upd.
4773 * libspi/accessible.c
4774 (impl_accessibility_accessible_get_child_at_index): upd.
4776 * libspi/component.c
4777 (impl_accessibility_component_get_accessible_at_point): upd.
4779 * test/test-simple.c (test_editable_text, test_text): impl.
4782 * cspi/spi_editabletext.c
4783 (AccessibleEditableText_insertText): constify.
4785 * test/test-simple.c (focus_me): make more robust.
4787 * libspi/accessible.c: remove some printfs in methods that
4788 we test and work fine, so we can get a clean tree dump.
4790 * test/test-simple.c (validate_accessible),
4791 (validate_tree): make tree dumping pretty too.
4793 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4794 it builds without debug on.
4796 * test/test-simple.c (validate_accessible): fix the most
4799 * cspi/spi_main.c (spi_object_release): leave the nicely
4800 blanked memory around if in debug mode.
4802 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4804 [committed to fixups2]
4805 2001-12-05 Michael Meeks <michael@ximian.com>
4807 * libspi/editabletext.c
4808 (spi_editable_text_class_init): g_type_class_peek_parent,
4809 not interface peek - so we finalize cleanly.
4811 * libspi/accessible.c (spi_accessible_new): kill debug.
4813 * test/test-simple.c (validate_accessible): fix ref.
4814 leak, print strings before freeing them; sigh, comment a
4815 chunk out due to strangeness.
4816 (validate_tree): unref the child after use.
4818 * cspi/spi_component.c (AccessibleComponent_getLayer):
4819 add missing break statement, switch on zlayer not the
4820 uninitialized retval.
4822 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4823 before (possibly re-entering) remote unref.
4825 * test/simple-at.c (main): unref the desktop.
4827 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4830 * cspi/spi_main.c (cspi_accessible_is_a): here to
4831 isolate bonobo API usage more.
4833 * libspi/registry.c (impl_accessibility_registry_register_application):
4834 prune bogus comment.
4836 2001-12-04 Michael Meeks <michael@ximian.com>
4838 * test/test-simple.c (validate_tree): upd.
4839 IndexInParent check to make it more lucid.
4840 (validate_accessible): dump the tree.
4842 * libspi/accessible.c (de_register_public_ref),
4843 (get_public_refs): impl.
4844 (spi_accessible_new): make more efficient & intuitive.
4845 Now IndexInParent check works.
4847 2001-12-04 Michael Meeks <michael@ximian.com>
4849 * cspi/spi-util.h: remove.
4851 * cspi/spi.h: move SPI_freeString here
4853 * libspi/component.c (impl_accessibility_component_get_layer):
4855 (impl_accessibility_component_get_mdi_z_order): ditto,
4856 return -1 on error - is this ok ?
4858 * test/test-simple.c (test_application): impl.
4860 * cspi/spi_accessible.c (Accessible_getApplication),
4861 (Accessible_isApplication): impl.
4863 * libspi/registry.c (spi_listener_struct_free): release
4864 the CORBA reference too.
4866 * libspi/accessible.c
4867 (impl_accessibility_accessible_get_parent): fix ref leak.
4869 * libspi/registry.c (spi_registry_new): make the registry
4870 immortal - we don't want it to go away ever.
4872 * libspi/application.c
4873 (spi_accessible_application_finalize): impl. cleanup.
4875 * cspi/spi_registry.c
4876 (deregisterGlobalEventListenerAll),
4877 (deregisterGlobalEventListener),
4878 (deregisterAccessibleKeystrokeListener): fix ref leak.
4880 * cspi/spi_main.c (SPI_init): remove redundant ref.
4882 * test/test-simple.c (unutterable_horror): impl. to force a
4887 (impl_accessibility_registry_deregister_application): release
4888 the application when we de-register it.
4890 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4891 until we have the infastructure to get it right.
4893 2001-12-03 Michael Meeks <michael@ximian.com>
4895 * libspi/Makefile.am: only build eventlistener.[ch]
4897 * libspi/accessible.c
4898 (impl_accessibility_accessible_get_child_at_index): don't leak.
4900 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4901 before we hit the idle handler.
4903 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4904 debugging than exit.
4906 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4908 * libspi/listener.c (impl_notify_event): check source
4909 not NIL before unref.
4911 * libspi/registry.c (impl_registry_notify_event): ditto.
4913 * libspi/eventlistener.c
4914 (impl_accessible_event_notify_event): unref the source.
4916 * libspi/accessibleeventlistener.c
4917 (impl_accessible_event_notify_event): unref the source.
4919 * idl/Event.idl: remove 'hash_id' attribute - of no
4922 * libspi/application.c (notify_listeners): upd list
4924 (spi_application_object_event_listener),
4925 (spi_application_toolkit_event_listener): upd to do correct
4929 (_registry_notify_listeners): update.
4930 (parse_event_type): this method also leaks like a sieve.
4931 (impl_accessibility_registry_deregister_global_event_listener):
4932 fix ETYPE_WINDOW case.
4934 * libspi/application.c
4935 (impl_accessibility_application_register_object_event_listener):
4938 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4940 * libspi/hypertext.c (impl_getLink): ditto.
4942 * cspi/spi_main.c (cspi_object_add): remove
4943 bogus CORBA_Object_duplicate.
4945 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4948 * cspi/spi_accessible.c
4949 (Accessible_getRelationSet): fix leak / referencing issue.
4951 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4952 (cspi_object_add, cspi_object_unref): upd.
4953 (spi_object_release, get_live_refs): impl.
4954 (cspi_cleanup): simplify.
4956 * *.[ch]: s/boolean/SpiBoolean/
4958 * cspi/spi_accessible.c (role_names): actualy order so it
4959 corresponds with the enum !
4961 * test/test-simple.c (test_roles): check some role strings
4962 vs. enums to detect offset errors.
4964 2001-12-01 Michael Meeks <michael@ximian.com>
4966 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4968 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4970 (Accessible_getChildAtIndex): use cspi_add_check so we
4971 check the ev before using a (possibly) invalid value.
4973 * libspi/accessible.c
4974 (impl_accessibility_accessible_get_parent): don't segv
4977 * at-bridge/bridge.c (gtk_module_init): upd.
4978 (bridge_property_event_listener): don't leak strings
4980 (bridge_state_event_listener),
4981 (bridge_property_event_listener): don't use a static
4982 buffer in case of recursive event emission &
4983 re-enterancy - split out the swathe of cut and paste
4985 (emit_eventv): and fix 2 ref leaks here & comply to the
4987 (bridge_register_app): rename to
4988 (bridge_idle_init): this and kill arg parsing, split
4989 various inits & bonobo-activation registration to module
4990 init time, kill referencing error.
4991 (bridge_exit_func): fix the same leak.
4992 (bridge_focus_tracker): don't leak event structures
4994 (bridge_signal_listener): more leakage and cut & paste
4996 (bridge_key_listener): return the result - FIXME is
4997 this polarity correct ?
4998 (accessibility_keystroke_from_atk_key_event): rename
4999 (accessibility_init_keystroke_from_atk_key_event): and stop
5001 (gtk_module_init): return a value - not that it is checked by
5003 (bridge_key_listener): register my horror at casting between
5004 IDL defined structs.
5005 (bridge_get_registry): kill - not used.
5007 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5009 * test/test-simple.c (test_roles): impl.
5010 (test_desktop, validate_accessible, validate_tree): impl.
5012 * cspi/spi_accessible.c (role_names): fixup bogus
5013 MAX_ROLES setup, make constants const for efficient linkage
5014 (AccessibleRole_getName): conform to coding style, make
5017 2001-11-30 Michael Meeks <michael@ximian.com>
5019 * cspi/spi.h: add missing prototype.
5021 * libspi/registry.c (spi_listener_struct_new): fix sig.
5023 * test/Makefile.am: add test-simple
5025 * test/test-simple.c: add
5027 * test/test.sh: add.
5029 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5031 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5032 do it straight - since otherwise we often get an activation race.
5034 [ work before Bill duplicated a chunk of it ... ]
5035 2001-11-30 Michael Meeks <michael@ximian.com>
5037 * libspi/keystrokelistener.c
5038 (spi_keystroke_listener_class_init): fixup arg
5041 * libspi/eventlistener.c
5042 (spi_event_listener_class_init): ditto.
5044 * tests/test.sh: add.
5046 * cspi/spi-listener-impl.h: update macros.
5048 * cspi/spi-listener-impl.c
5049 (cspi_event_listener_remove_callback): add
5050 correct pre-conditions.
5052 * cspi/spi_main.c (SPI_exit): guard vs. double
5053 exits, exit the mainloop nicely.
5054 (SPI_event_main): make more sense.
5055 (SPI_init): move the atexit evilness here so we
5056 always do it (yuck).
5057 (SPI_event_main): upd.
5059 * test/simple-at.c: update for listener changes.
5061 * registryd/registryd.c (main): prune kruft.
5063 * libspi/libspi.h: upd.
5065 * libspi/eventlistener.[ch]: rename broken macros.
5067 * libspi/accessibleeventlistener.[ch]: remove.
5069 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5071 * test/test-simple.c: Add - automated tests.
5073 * cspi/spi-listener-impl.c (cspi_event),
5074 (cspi_key_event): add user_data to invoke.
5075 (cspi_keystroke_listener_finalize): impl.
5076 (cspi_keystroke_listener_class_init): upd.
5079 (createAccessibleEventListener),
5080 (AccessibleEventListener_addCallback),
5081 (createAccessibleKeystrokeListener),
5082 (AccessibleKeystrokeListener_addCallback): upd.
5084 * libspi/deviceeventcontroller.c
5085 (spi_device_event_controller_check_key_event): add public proto.
5088 (impl_accessibility_registry_deregister_global_event_listener):
5089 always init listeners.
5090 (_registry_notify_listeners): yes it is.
5092 * cspi/spi-listener-impl.c (cspi_key_event):
5094 (cspi_event_listener_finalize): impl.
5095 (cspi_event_listener_class_init): hook up.
5096 (event_handler_new, event_handler_free),
5097 (event_list_remove_by_callback): impl.
5098 (cspi_event_listener_remove_callback),
5099 (cspi_keystroke_listener_remove_callback),
5100 (cspi_keystroke_listener_add_callback),
5101 (cspi_event_listener_add_callback): upd.
5103 * libspi/keystrokelistener.c
5104 (keystroke_listener_object_finalize): kill
5105 (spi_keystroke_listener_class_init): upd.
5106 (spi_keystroke_listener_add_callback),
5107 (spi_keystroke_listener_remove_callback): kill,
5109 (impl_key_event): prune drasticaly.
5111 * libspi/eventlistener.c
5112 (spi_event_listener_add_callback),
5113 (spi_event_listener_remove_callback): kill, use
5115 (impl_accessible_event_notify_event): upd.
5116 (spi_event_listener_object_finalize): remove.
5118 * libspi/Makefile.am: use eventlistener.[ch]
5120 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5122 * libspi/registry.c (_registry_notify_listeners):
5123 Changed listener loop iteration to use preferred convention.
5124 Got rid of string memory leaks caused be calling g_strconcat
5125 inside function calls.
5127 * libspi/registry.c (parse_event_type):
5128 Stopped g_strconcat memory leaks, free the g_strsplit return,
5129 g_strdup the split pieces when used, etc.
5131 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5134 Change method 'compare' to return a 'difference set' rather than
5135 taking a StateSet as an out parameter (more Java-friendly).
5137 * idl/Accessible.idl:
5138 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5140 * idl/Component.idl:
5142 Changed methods 'getExtents' and 'getImageExtents' in these
5143 interfaces to return a BoundingBox structure.
5144 (getPosition and getSize are redundant and possibly should be
5145 removed, rather than creating a corresponding Point struct.)
5147 * cspi/spi_component.c:
5148 Modify implementation of getExtents to reflect the above IDL
5153 Add (missing) AccessibleImage_getExtents () API.
5155 * docs/reference/cspi/at-spi-cspi-sections.txt:
5156 Added AccessibleImage_getImageExtents () to docs.
5158 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5160 * idl/Component.idl:
5161 Added two methods, getLayer () and getMDIZOrder (), to reflect
5162 the new ATK methods atk_object_get_layer and
5163 atk_object_get_mdi_z_order. (Which arguably should be part of the
5164 AtkComponent API and AtkObject). Also added an enum,
5165 ComponentLayer, for the first method's return value.
5167 * libspi/component.c:
5168 Added implementations for these methods.
5170 * cspi/spi_component.c:
5172 Added cspi binding methods for above,
5173 AccessibleComponent_getLayer() and
5174 AccessibleComponent_getMDIZOrder().
5175 Added cspi enum 'AccessibleComponentLayer'.
5177 * docs/reference/cspi/at-spi-cspi-sections.txt:
5178 Added above methods to docs.
5182 Changed typedef for 'boolean' type (and all references to it) to
5183 SPIBoolean, to avoid keyword clashes with C++.
5186 Changed usages of 'boolean' to SPIBoolean.
5188 * test/keysynth-demo.c:
5189 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5190 app), except where SPIBoolean is required by the callbacks API.
5192 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5194 * cspi/spi_registry.c:
5195 Removed obsolete X event loop for passive keygrabs (which now
5198 * registryd/registryd.c:
5199 Removed unnecessary call to gdk_init() [cruft]. This also allows
5200 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5203 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5205 * docs/reference/cspi:
5206 Included docs for SPI_freeString in generated documentation.
5209 Renamed spi_freeString to SPI_freeString, for consistency. Added
5210 documentation for this function.
5213 Renamed spi_freeString to SPI_freeString, for consistency.
5214 Removed obsolete method declaration string_from_corba_string.
5216 * test/keysynth-demo.c:
5217 Small tweak to comments.
5220 Stopped leaking the strings returned from CSPI.
5222 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5224 Merged Michael's branch (see his ChangeLog entries below).
5226 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5227 bridge is alive, release on exit.
5229 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5230 Fix type check macro.
5233 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5236 Added is_gnome_app static, and method cspi_is_gnome_app(),
5237 so we can call the appropriate shutdown routine at exit in SPI_exit.
5239 * cspi/spi_main.c (cspi_object_ref):
5240 Duplicate the corba object passed in, since we're keeping it around.
5242 * cspi/SPI_exit.c, cspi_cleanup:
5243 Moved the releasing of the live refs to its own function, so we
5244 can put it in g_atexit (). Call the appropriate shutdown API
5245 depending on whethe calling client is a gnome app or not
5246 (bonobo_main_quit or CORBA_ORB_shutdown).
5248 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5249 Unref the listener when this method is called, after
5250 deregistration. Updated the API docs to note this behavior.
5252 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5253 Bugfixes: Ref the bonobo object when returning a parent or child
5254 reference, or an AccessibleRelation. Generally made sure
5255 BonoboObject refcount is incremented whenever we return an
5258 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5259 Fixed typo/bug in signal declaration.
5261 * libspi/accessibleeventlistener.h:
5264 * libspi/application.c (spi_application_new):
5265 Fixed leak in initialization.
5268 Remembered to increment bonobo-object refcount when returning
5269 children (applications) from desktop object.
5270 Added (empty) finalize method.
5272 * libspi/deviceeventcontroller.c:
5273 Hold a ref to listeners inside DEControllerKeyListeners.
5274 Added dec_key_listener_free() method. Use prepend instead of
5275 append in key_listener list. Fixed some refcount madness and
5276 leaks in the listener registration/deregistration - deregistration
5277 now calls dec_key_listener_free() on listeners, and on the
5278 temporarily constructed dec_key_listener() used to perform the search/match.
5280 * libspi/hypertext.c (spi_hypertest_finalize):
5281 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5282 class. Also fixed spi_hypertext_interface_new() and
5283 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5285 * libspi/hypertext.h:
5286 Removed pointless and duplicate AtkObject pointer from
5289 * libspi/keystrokelistener.c:
5290 Fixed incorrect type of keystroke_listener_parent_class,
5291 renamed keystroke_listener_object_finalize to
5292 spi_keystroke_listener_object_finalize.
5293 Fixed typo in signal declaration
5294 (spi_keystroke_listener_class_init).
5296 * libspi/registry.c:
5297 Added funcsions spi_listener_struct_new() and
5298 spi_listener_struct_free() to help with memory management issues.
5299 We also now use these methods instead of gnew + poking stuff into
5300 the struct, and to decrement listener counts/free the listeners
5301 when deregistering them.
5302 Fix more refcount bugs in getDesktop() and
5303 getDeviceEventController().
5306 De-ref the desktop after enumerating the applications. Explicitly
5307 decrement the refcounts on the created listeners on exit (using
5308 _unref for keystroke listeners, and via the
5309 deregisterGlobalEventListenerAll command for other event
5312 2001-11-27 Michael Meeks <michael@ximian.com>
5314 * cspi/spi-listener.h: fixup enum.
5316 2001-11-27 Michael Meeks <michael@ximian.com>
5318 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5319 (cspi_keystroke_listener_new): Use the cspi variants.
5321 2001-11-26 Michael Meeks <michael@ximian.com>
5323 * test/keysynth-demo.c: fix 2 compile warnings, missing
5326 * test/simple-at.c (report_focussed_accessible),
5327 (report_focus_event, report_button_press),
5328 (check_property_change, is_command_key),
5329 (report_ordinary_key_event, report_command_key_event): upd.
5331 * util/mag_client.h: include pre-requisites.
5333 * libspi/accessibleeventlistener.c
5334 (spi_event_listener_object_finalize): free any lingering
5337 * libspi/keystrokelistener.c
5338 (keystroke_listener_object_finalize): ditto.
5340 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5341 callbacks, with cspi types.
5343 * cspi/spi_event.c (createAccessibleEventListener): chain to
5344 (AccessibleEventListener_addCallback): here.
5345 (createAccessibleKeystrokeListener): chain to
5346 (AccessibleKeystrokeListener_addCallback): here.
5348 * libspi/keystrokelistener.c
5349 (spi_keystroke_listener_class_init): add signal.
5350 (impl_key_event): emit the event.
5351 (boolean_handled_accumulator): impl.
5352 (marshal_BOOLEAN__POINTER): add, gack.
5354 * libspi/accessibleeventlistener.c
5355 (spi_event_listener_class_init): add signal.
5356 (impl_accessible_event_notify_event): emit the signal &
5357 make the loop efficient.
5358 (spi_event_listener_add_callback): prepend the callback.
5360 * libspi/accessibleeventlistener.h: add an 'event' signal,
5361 decl type on callback.
5363 * libspi/keystrokelistener.h: ditto.
5365 * cspi/spi-listener.h: make methods typesafe and
5366 make them use the new event typedefs.
5368 * test/simple-at.c (report_focussed_accessible):
5369 include mag_client.h
5370 Use *(void *)text_interface not the other thing.
5372 * configure.in: add gtk to registryd bits - since we use
5375 * util/magnifier.c: include libbonobo.h
5377 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5379 * test/keysynth-demo.c:
5380 Turned this into a simple scanning keyboard, to demonstrate the
5381 use of g_timeout_add () as a means of creating timers for
5382 scanning, and the use of GtkStyle for visually indicating when
5383 virtual keyboard elements are selected.
5385 keysynth-demo now listens to any keyboard keys with zero-valued
5386 keycodes (i.e. 'unused' keys) and interprets them as
5389 Reworked the shiftlatch code so that shift-down state isn't held
5390 for long periods (it's only synthesized immediately prior to
5391 the keysynth event it's modifying). Note that shiftlatch in this
5392 demo is a convenience, not intended to take the place of AccessX
5393 which is the better choice for getting 'sticky' modifier keys.
5395 * libspi/deviceeventcontroller.c:
5396 * at-bridge/bridge.c:
5397 * cspi/spi_registry.c:
5398 Removed some debug print stuff, and put other verbosity in #ifdef
5403 Implemented some more of the magnifier IDL for the simple
5404 magnifier: namely, getZoomRegionParams.
5405 Added mag_x and mag_y members to MagnifierData struct, aid of this
5407 Added GtkWindow::realize signal handler to magnifier, to keep it
5408 from receiving keyboard focus from the WM.
5410 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5412 * cspi/spi-private.h: my guess at what michael forgot
5413 before he ran off to NZ :-)
5415 2001-11-23 Michael Meeks <michael@ximian.com>
5417 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5418 comment out non existant method invoke so we link.
5420 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5421 use bonobo_exception_get_text for more friendly warnings.
5423 * cspi/spi.c (Obj_Add): move into spi_main & rename
5424 spi_object_add; kill spi.c
5426 * cspi/spi_registry.c
5427 (deregisterGlobalEventListener),
5428 (deregisterGlobalEventListenerAll),
5429 (registerGlobalEventListener): fix exception leaks.
5431 * cspi/spi_main.c (spi_exception): impl. helper, so we
5432 don't leak exceptions.
5434 * cspi/spi_selection.c
5435 (AccessibleSelection_deselectSelectedChild): return the
5438 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5439 (spi_registry): ditto.
5440 (SPI_init): guard against double inits.
5442 * cspi/*.c: use spi_ev (), and spi_registry () where
5443 appropriate - a temporary hack until we have something
5444 better. Use spi_object_add
5446 2001-11-22 Michael Meeks <michael@ximian.com>
5448 * cspi/Makefile.am: re organise, install the headers.
5450 * cspi/*.h: add G_BEGIN/END_DECLS
5452 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5455 Added non-preemptive keylistener for key events with no modifiers
5456 and shift-only modifier.
5458 * libspi/keystrokelistener.c:
5459 Removed some verbose diagnostics printout.
5461 * cspi/spi_registry.c:
5462 Fixed a bug that caused all key listeners to be registered as
5465 * libspi/deviceeventcontroller.c:
5466 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5467 for non-preemptive key masks.
5470 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5472 * docs/reference/idl/at-spi-idl-docs.sgml:
5473 * docs/reference/idl/at-spi-idl-sections.txt:
5474 * docs/reference/idl/at-spi-idl-overrides.txt:
5475 Added missing files.
5477 * docs/reference/Makefile.am:
5478 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5479 to scan the IDL files :-(
5484 Added .cvsignore files.
5486 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5488 * libspi/deviceeventcontroller.c:
5489 * libspi/keystrokelistener.c:
5491 * cspi/spi_registry.c:
5492 Added filters for KeySets, KeyEventSeq, and event types to key
5493 event dispatching, so listeners should only receive those events
5494 that they requested :-)
5496 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5501 * docs/reference:Makefile.am:
5502 * docs/reference/cspi:
5503 * docs/reference/cspi:Makefile.am:
5504 * docs/reference/cspi:tmpl:
5505 * docs/reference/cspi:tmpl:*.sgml:
5506 * docs/reference/idl:
5507 * docs/reference/idl:Makefile.am:
5508 * docs/reference/idl:at-spi-idl-sections.txt:
5509 * docs/reference/idl:at-spi-idl-docs.sgml:
5510 * docs/reference/idl:tmpl:
5511 * docs/reference/idl:tmpl:*.sgml:
5513 Restructured docs directory to allow separate 'reference' docs
5514 section, and forked idl and cspi docs. Added the sgml template
5515 files to CVS. Added the first sections/structural sgml for the
5518 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5520 * configure.in, libspi/Makefile.am: find libXtst.
5522 2001-11-21 Michael Meeks <michael@ximian.com>
5524 * test/accessx-gui.c: s/spi_value/value/ - doh.
5526 * libspi/base.[ch]: add.
5528 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5530 * idl/Accessible.idl:
5531 * idl/Application.idl:
5534 Started gtk-doc cleanup on IDL.
5536 * libspi/deviceeventcontroller.c:
5537 Added and connected non-preemptive key notification from the
5538 toolkits (in addition to the pre-emptive support from XServer
5539 which we had before, but which causes 'focus flashing'). Filters
5540 are presently limited to key modifiers and global/non-global,
5541 KeySets are presently ignored, as are KeyEvent masks.
5543 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5544 structs into the persistant structure rather than just storing
5545 pointers to things that might not persist across servant
5548 The XGrabKey call now does async keygrabs, because synchronous
5549 ones were deadlocking with GDK_event code in a very nasty way.
5551 Added boolean to internal method notify_keylisteners, to indicate
5552 whether the event came from the 'toolkit source' or the 'global
5553 (XServer) source' - this is used in the notification process to
5554 determine which listeners to send the event to.
5556 deviceeventcontroller.c is now warning-free.
5558 * libspi/registry.c:
5559 Fixed regression in application de-registration.
5560 Also fixed some really brain-dead weirdness having to do with
5561 event dispatching - event structs are now duplicated before being
5562 re-marshalled in the dispatch to listeners. This also fixes a
5563 Solaris build problem.
5566 2001-11-20 Michael Meeks <michael@ximian.com>
5569 (impl_accessibility_registry_deregister_global_event_listener):
5572 * libspi/deviceeventcontroller.c
5573 (spi_device_event_controller_check_key_event): return
5574 FALSE on no virtual method.
5576 * libspi/*..h: make includes work on a correctly pathed install.
5578 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5580 * libspi/application.h: kill unused ( and whacked out )
5581 gboolean *spi_application_set_id (AtkObject *app, long id);
5583 2001-11-20 Michael Meeks <michael@ximian.com>
5585 * libspi/*.[ch]: further convert to bonobo's type func
5586 macros, remove redundnant casts etc.
5588 * libspi/text.c s/accessibility_text/spi_text/g,
5589 re-order to de-cruft.
5591 * libspi/hypertext.c: re-order to kill a huge slew
5592 of redundant forward decls.
5594 * libspi/relation.c: ditto.
5596 * libspi/image.c: ditto.
5598 * */.cvsignore: update
5600 2001-11-20 Michael Meeks <michael@ximian.com>
5602 * libspi/deviceeventcontroller.c
5603 (_controller_register_with_devices): use g_getenv,
5604 kill stdlib.h include.
5606 * libspi/keystrokelistener.c
5607 (spi_keystroke_listener_get_type): kill
5608 (spi_keystroke_listener_class_init),
5609 (spi_keystroke_listener_init): rename to this.
5611 * libspi/text.c (impl_getAttributes): fix warning / bug.
5613 * libspi/*.[ch]: more headers, includes and over commenting.
5615 2001-11-20 Michael Meeks <michael@ximian.com>
5617 * libspi/*.[ch]: fixup headers, includes and over commenting.
5619 * libspi/image.c (impl__get_imageDescription): const
5620 correctness warning fix. remove redundant casting.
5622 * libspi/table.c (impl_getRowDescription): ditto.
5623 (impl_getColumnDescription): ditto.
5625 * libspi/libspi.h: add.
5627 2001-11-19 Michael Meeks <michael@ximian.com>
5629 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5631 * libspi/component.c (accessibility_component_get_type):
5632 rename to (spi_component_get_type): and macroify.
5633 (accessibility_component_init): rename to
5634 (spi_component_init): this
5635 (accessibility_component_class_init): rename to
5636 (spi_component_class_init): this
5638 * libspi/action.c (spi_action_get_type): kill, use the macro.
5640 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5643 * libspi/application.c (spi_application_object_event_listener),
5644 (impl_accessibility_application_register_object_event_listener):
5645 warning fixes / const understanding updates.
5647 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5650 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5652 * libspi/spi_accessible.c: Added docs and C bindings for
5653 AccessibleStateSet. (No implementations yet). Documentation
5654 coverage for C bindings now 100%. Made docs for event listeners
5659 boolean notifyListenersSync (in DeviceEventListener listener,
5660 in DeviceEvent event);
5662 oneway void notifyListenersAsync (in DeviceEventListener listener,
5663 in DeviceEvent event);
5665 Added DeviceEventListener and DeviceEvent structs (may deprecate
5666 KeyStroke and KeystrokeListener in favor of this generic
5667 event/listener framework for devices).
5669 * libspi/deviceeventcontroller.c:
5671 Changed some key listener code to take masks, etc., and paved the
5672 way for integration of toolkit/non-preemptive key events. Changed
5673 signatures of some internal methods.
5675 * at-bridge/bridge.c:
5676 Fixed regression connecting to interface signals, apparently
5677 caused by GTK+ changes.
5679 Added an internal bridge_state_listener to deal with
5680 property-change:accessible-state signals.
5682 Changed the key_listeners GList to store structs (including masks,
5683 etc.) instead of just CORBA_Objects (required for full
5684 implementation of key listener API).
5686 Connected the bridge to all currently supported Atk signals.
5687 Events now supported:
5688 object:property-change
5689 object:property-change:accessible-name
5690 object:property-change:accessible-state
5691 object:property-change:accessible-description
5692 object:property-change:accessible-parent
5693 object:property-change:accessible-value
5694 object:property-change:accessible-role
5695 object:property-change:accessible-table-caption
5696 object:property-change:accessible-table-column-description
5697 object:property-change:accessible-table-column-header
5698 object:property-change:accessible-table-row-description
5699 object:property-change:accessible-table-row-header
5700 object:property-change:accessible-table-summary
5701 object:children-changed
5702 object:visible-data-changed
5703 object:selection-changed
5704 object:text-selection-changed
5706 object:text-caret-moved
5708 object:row-reordered
5710 object:column-inserted
5711 object:column-reordered
5712 object:column-deleted
5713 object:model-changed
5715 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5717 * libspi/hyperlink.c,h:
5718 Fixed some broken stuff in hyperlink.
5720 * libspi/relation.h:
5721 * libspi/relation.c:
5722 * cspi/spi_accessible.c:
5723 Initial implementations of AccessibleRelation methods, and docs.
5725 * libspi/accessible.c:
5726 Fixed a bug that caused SEGV if an accessible
5727 object's description is NULL, and a client
5728 requests it. An empty string is now returned.
5730 * cspi/spi_editabletext.c:
5731 * cspi/spi_hypertext.c:
5733 * cspi/spi_hyperlink.c:
5737 Doc coverage now 95%.
5739 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5741 One last namespacing revision:
5742 * libspi/accessibleeventlistener.[ch]:
5743 Renamed SpiAccessibleEventListener to SpiEventListener,
5744 (no need for two namespaces ;-)
5746 And lots of documentation fixes:
5748 * docs/at-spi-docs.sgml:
5749 Fixed 'underscore vs. hyphen' bug that was preventing
5750 the gtk-doc API docs from being automatically generated.
5753 * cspi/spi-listener.h
5755 * cspi/spi_accessible.c
5757 * cspi/spi_application.c
5758 * cspi/spi_component.c
5759 * cspi/spi_editabletext.c
5761 * cspi/spi_hypertext.c
5763 * cspi/spi_registry.c
5764 * cspi/spi_selection.c
5768 * docs/at-spi-docs.sgml
5769 * docs/at-spi-sections.txt
5771 Added and fixed up gtk-doc documentation in cspi.
5773 Interfaces now (fully) documented (subject to revision and enhancement):
5775 Event Listener Support
5777 AccessibleApplication
5781 AccessibleEditableText
5788 AccessibleRelationSet
5793 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5795 * at-bridge/bridge.c:
5796 Initial work for toolkit-level key snooper connection by bridge.
5801 New typedefs and fixes to support new namespacing, and cleaner
5802 separation of cspi bindings from libspi bonobo implementation.
5803 Removed inconsistent and extraneous Spi* namespace prefix that
5804 had crept into cspi headers.
5805 Lots of comment fixes that sed had missed.
5807 * cspi/spi-roletypes.h:
5808 * cspi/spi-statetypes.h:
5809 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5810 to AccessibleRoleType.
5812 * libspi/accessibleeventlistener.h:
5813 Fixed minor namespacing weirdness.
5815 * libspi/deviceeventcontroller.c:
5816 Reordered some internal API for device listeners.
5817 Changed the key registry final boolean to 'is_system_global'
5818 rather than 'is_synchronous', which is more descriptive of its
5820 Added spi_device_event_controller_new().
5821 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5823 * libspi/keystrokelistener.[ch]:
5824 Namespaced KeystrokeListener to SpiKeystrokeListener.
5825 Changed uses of keymasks to use SPI_ prefix, and did other
5828 * libspi/keymasks.h:
5829 Namespaced keymask constants with SPI_ prefix.
5831 * libspi/registry.c:
5832 Some warning fixes, and knock-on fixes from namespace changes.
5835 Added rules for accessx-gui test program.
5837 * test/accessx-gui.c:
5838 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5839 utility. It doesn't actually use at-spi, but it's still cool and
5842 * test/keysynth-demo.c:
5846 Fixes so that these test clients work properly with the namespaced
5847 libraries. (Incompletely tested for technical reasons, fixes may follow)
5850 2001-11-13 Michael Meeks <michael@ximian.com>
5852 * libspi/application.c
5853 (impl_accessibility_application_get_version),
5854 (impl_accessibility_application_get_toolkit_name):
5856 (impl_accessibility_application_set_id),
5857 (impl_accessibility_application_get_id): remove
5858 redundant casting code.
5860 * libspi/action.c (impl_getDescription): fix warnings.
5862 * libspi/accessible.c
5863 (impl_accessibility_accessible_get_parent),
5864 (impl_accessibility_accessible_get_child_at_index),
5865 (impl_accessibility_accessible_get_state),
5866 (impl_accessibility_accessible_get_relation_set):
5867 warning fixes & include action.h
5869 2001-11-13 Michael Meeks <michael@ximian.com>
5871 * *.[ch] fix bits I screwed up:
5873 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5874 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5876 2001-11-13 Michael Meeks <michael@ximian.com>
5878 * *.[ch] Namespace libspi into spi_ and Spi.
5880 2001-13-11 Michael Meeks <michael@ximian.com>
5882 * Makefile.am: dist & install at-spi-1.0.pc
5884 * libspi/Makefile.am: install into at-spi-1.0
5886 * idl/Makefile.am (idldir): install into at-spi-1.0
5888 * at-spi-1.0.pc.in: add.
5890 * configure.in: build it.
5892 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5894 * test/keysynth-demo.c:
5895 Use a 'realize' signal-handler to set the WM properties for
5896 the virtual keyboard, rather than making it a "POPUP" type
5897 override-redirect window (thanks to anders carlsson for that
5900 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5903 * test/keysynth-demo.c:
5904 Added new test of key synthesis, which creates a simple
5905 (mouse-operated) onscreen keyboard. It inserts key events into
5906 the currently-focused window, thus it does not grab keyboard focus
5909 * cspi/spi_registry.c:
5910 Added C binding for AT-SPI generateKeyEvent.
5912 * libspi/deviceeventcontroller.c:
5913 Added call to XFilterEvent so that key listener works with XIM (we
5914 hope). Added event_synth_type to generateKeyEvent, so that we can
5915 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5916 synthesize a press/release pair for KeySyms.
5918 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5920 * libspi/Makefile.am:
5921 * registryd/Makefile.am:
5922 (temporary) hack to include libXtst in libspi and registryd.
5923 (Needed for keystroke synthesis, see below).
5926 Improved API for registerKeystrokeListener, in accordance with
5927 discussions with Gnopernicus team and X server research.
5929 * libspi/registry.c:
5930 * libspi/deviceeventcontroller.c:
5931 * libspi/accessible.c:
5932 * libspi/keystrokelistener.c:
5933 Changes and fixes to support keylisteners for potentially
5934 consumed key events (that is, 'passive grabs').
5935 Added implementation for generateKeyEvent() [untested].
5938 Changes to registerKeystrokeListener() API, as above.
5939 Added deregisterGlobalEventListenerAll(), and
5940 deregisterKeystrokeListener(), which are needed for clean exit of
5942 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5943 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5945 * cspi/spi_registry.c:
5946 Added implementations of function prototypes mentioned above.
5948 * registryd/registryd.c:
5949 Added the key listener event source as a g_timeout(), to allow
5950 receipt of key events that are not caught by GDK (since GDK
5951 doesn't support passive keygrabs, this was necessary).
5954 Changed to attach a keylistener to 'Alt' keys, and
5955 respond to the following keycommands: Alt-M (toggle magnifier);
5956 Alt-F (toggle speech); Alt-Q (quit).
5957 Added an exit routine to deregister the listeners, and a key
5958 listener that prints some key info to the console when a key
5959 matches the listener mask (and is thus received by the listener).
5961 * util/idl/Magnifier.idl:
5962 Changes to magnifier API to support multiple zoom regions,
5963 non-uniform scaling in x and y, markDirty, and a host of other
5964 features that would be useful to magnification.
5967 * util/mag_client.c:
5968 * util/mag_client.h:
5969 * util/mag_control.c:
5971 Source code changes to support the above IDL changes.
5974 As above, and also changes to use a (slower) generic conversion
5975 path for colormap conversions, since the fast RGB conversions have been
5976 reported to fail for 16-bit displays.
5978 2001-10-26 Michael Meeks <michael@ximian.com>
5980 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5982 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5984 * at-bridge/Makefile.am: fix LDFLAGS.
5986 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5988 * at-bridge/bridge.c:
5989 Re-worked listeners for toolkit events, now we have signal
5990 and property listeners. Added a private method
5991 register_atk_event_listeners(), which registers with the
5992 various atk and gtk signals we need to monitor in order to emit
5994 Added emission hook for AtkObject:property-change events, to
5995 support the 'property listeners'.
5996 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5999 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6000 which emit warnings and exit, respectively, if CORBA errors occur
6001 during remote calls, and we now use these methods to check most of
6002 our CORBA calls in the C bindings.
6004 * cspi/spi_accessible.c:
6005 Changed AccessibleSelection_refSelectedChild() to
6006 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6007 now increment refcounts.
6009 * cspi/spi_component.c:
6010 Fixed some long pointer casts (dangerous!) to pass pointers to
6011 CORBA_longs of the proper type to the CORBA stubs, and copy the
6012 data into the longs that were passed into the C bindings code.
6014 * at-bridge/bridge.c:
6016 * libspi/accessible.c:
6017 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6018 hyperlinks, AtkHyperlink is an object type.
6020 * libspi/application.c:
6021 Added various conversions to and from "generic" event types and
6022 atk-specific types; this is really part of the 'bridge'
6023 implementation but is valid for all AtkObject-based accessibility
6026 * libspi/editabletext.c:
6027 Fixed nasty bug wherein editable text's finalize method was
6028 unref'ing tha AtkObject reference that the text parent class was
6029 about to unref _again_. There was also a nasty inheritance bug
6030 that meant that the AccessibleEditableText class was corrupt.
6032 * libspi/selection.c:
6033 Provided implementations for some selection API that was broken.
6035 * idl/Application.idl:
6036 Added registerObjectEventListener () method.
6039 Fixed a number of return values that were Bonobo_Unknowns from
6040 bonobo_object_corba_objref(), which I
6041 forgot to dup before returning. Changed instances of
6042 bonobo_object_corba_objref (bonobo_object(o)) to
6043 BONOBO_OBJREF(o), for concision and clarity.
6045 2001-10-13 Louise Miller <louise.miller@sun.com>
6047 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6048 idl/Event.idl, idl/Registry.idl
6049 Changed these files to include Bonobo_Unknown.idl instead
6052 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6054 * libspi/component.c libspi/component.h:
6055 Fixed typo. Added assertions for object checks in
6056 AccessibleComponent code.
6058 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6060 * idl/Accessible.idl:
6061 Added 'isEqual (Accessible *object)'
6062 method for Accessible. (Not Yet Implemented).
6065 Changed signature of registerKeystrokeListener() to
6066 take a KeySet and KeyEventSeq so that specific keys and event
6067 types could be requested for monitoring, and added a flag
6068 is_synchronous so that either synchronous or asynchronous
6069 notification could be requested. (However this is not all
6070 implemented yet). This also meant adding two new typedefs,
6071 KeyEventSeq and KeySet.
6074 Added two new relations, RELATION_TOOLTIP_FOR and
6075 RELATION_LEAFNODE_OF.
6078 Added new state, STATE_HAS_TOOLTIP.
6080 * libspi/text.c, editabletext.c:
6081 Added new assertions to all casts of bonobo-objects from
6082 CORBA servants, to prevent Text API calls on non-text objects.
6083 Changed suspect casts of int-pointer types, so that we
6084 always send a valid CORBA_long pointer to the CORBA APIs that use
6085 in/out long parameters. We then have to copy from the CORBA_long
6086 into the regular long or int for return to the C bindings, or
6087 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6090 * libspi/deviceeventcontroller.c:
6091 Cleaned these sources up.
6093 Changed return type for getCharacterAtOffset to
6094 CORBA_unsigned_long, to allow for 32-bit characters.
6097 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6101 Fixed 'make dist' so that distro compiles...
6102 * libspi/keymasks.h:
6104 * cspi/spi-listener.c:
6105 KeystrokeListenerCB now returns a boolean.
6107 Added KeyEventType struct, and KeyStroke.
6108 Also added createKeystrokeListener(),
6109 KeystrokeListener_addCallback(),
6110 KeystrokeListener_removeCallback(), and added a keymask to
6111 registerKeystrokeListener().
6112 * cspi/spi_accessible.c:
6113 Changed numerous return types for interfaces from
6114 AccessibleComponent to Accessible<InterfaceName>; this was
6115 probably a cut-and-paste error.
6117 Implementations of new KeystrokeListener api (from spi.h,
6120 Changes to key modifier mapping.
6121 Created ControllerEventMask struct.
6122 Made DeviceEventController derive from Bonobo::Unknown.
6124 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6125 * libspi/deviceeventcontroller.c:
6126 Added a number of new internal (private) methods.
6127 * libspi/editabletext.c:
6128 * libspi/editabletext.h:
6129 Fixed a number of bugs related to the fact that
6130 editabletext inherits from text. Fixed the EditableText struct,
6131 the init() call, and use correct casts when calling Text methods
6132 from an EditableText object. Removed (duplicate) atko from the
6133 EditableText structure, we use the one in the parent Text
6134 structure via the casts mentioned above.
6135 * libspi/keystrokelistener.[ch]:
6136 * libspi/registry.c:
6137 Changes in support of keyboard handling (above).
6139 Keyboard handling, though partly functional, is still not
6140 recommended for at-spi client use as there is considerable
6141 work yet to be done.
6144 Changed some places where pointers to various int types
6145 are cast to be pointers to CORBA_long types and vice-versa:
6146 pointer casting is not safe so we pass pointers of the correct
6147 types and then cast the result before putting it into the target
6150 * libspi/text.h: minor typos corrected.
6152 We now speak not only the name of a Text element, but the
6153 first sentence of its content, when it receives focus.
6154 I also changed the text compression to 75% from 50%.
6155 * util/Accessibility_Util.server.in:
6156 Changed the default magnifier type to be a 3x vertical
6157 splitscreen magnifier (was previously a 2x horizontal one).
6159 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6161 * libspi/keystrokelistener.h:
6162 * libspi/keystrokelistener.c:
6163 Initial functional implementations of KeystrokeListener.
6166 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6168 Fixed string handling for NULL strings in libspi.
6169 Added spi_freeString to free strings returned by C bindings.
6171 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6173 * libspi/keystrokelistener.h:
6174 * libspi/keystrokelistener.c:
6175 Began (no-op) implementations of KeystrokeListener
6177 * libspi/deviceeventcontroller.c:
6178 * libspi/deviceeventcontroller.h:
6179 Began creating implementations of DeviceEventController,
6180 to handle keystroke and mouse event listening and
6182 * libspi/accessible.c:
6183 Stubbed-in the implementations for
6184 Accessibility_Accessible_getState and
6185 Accessibility_Accessible_getRelationSet.
6186 * libspi/registry.c:
6187 Improved de-registration process and fixed some bugs,
6188 deregistration now works correctly.
6190 Added initialization of applications list (to NULL).
6192 Reduced speech compression from 0.5 to 0.7, for demo.
6193 Changed call to gdk_window_set_decorations()
6194 to gtk_window_set_decorated().
6195 * at-bridge/bridge.c:
6196 Bridge now deregisters when app exits, via
6197 registration of a cleanup function
6198 with the g_atexit() call.
6199 Required making 'app' static, renamed 'this_app'.
6200 Fixed broken use of bonobo_init, passing argv wrongly.
6202 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6206 Created a new directory for
6207 accessibility-related utilities, primarily for
6208 testing and demo purposes, but with possible
6215 Onscreen magnifier utility that
6216 is implemented as a bonobo service.
6218 * util/mag_client.c:
6219 * util/mag_client.h:
6220 Client-side support (simple C bindings)
6221 for Magnification service
6223 * util/mag_control.c:
6224 Client program example for
6225 Magnification service
6227 * util/Accessibility_Magnifier.server.in:
6228 Bonobo-activation file for the
6229 Magnification service.
6232 * util/idl/Magnifier.idl:
6233 IDL defining the bonobo Magnification
6237 Modifications to use the bonobo-activated magnifier
6238 above, in place of trying to connect to an existing
6239 magnifier that uses socket-listening IPC.
6241 If env variable MAGNIFIER is set, a magnifier service
6242 will be started if one does not exist.
6244 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6246 * at-bridge/bridge.c:
6247 applied patch from Marc to build and run
6248 against new glib and gtk+ (seemed like a change
6249 to bonobo_init signature was made ?)
6251 made festival-server support turned off by default.
6252 Added support for a simple magnifier (off by default)
6253 which will be added to a 'util' directory later.
6254 * at-bridge/Makefile.am:
6255 Changed "application.h" header from a 'source'
6256 to a 'dependency' of libat-bridge.
6258 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6267 Added interface implementation c files to list of
6268 includes so they are included in libcspi.
6271 Changed prototype of AccessibleAction_doAction to return a
6273 Changed prototype of AccessibleTable_getCaption to
6274 return an Accessible.
6275 Changed prototype of AccessibleTable_getSelectedRows
6276 and AccessibleTable_getSelectedColumns to
6277 return a long (returns the number of selected rows
6278 or columns respectively).
6279 Changed name of AccessibleText_refRunAttributes to
6280 AccessibleText_getAttributes.
6281 Changed prototype of AccessibleText_getCharacterExtents to
6282 return a void rather than a boolean.
6283 Added support for a AccessibleCoordType parameter
6284 specifying what type of coordinates are desired.
6285 Added an AccessibleCordType parameter to
6286 AccessibleText_getPointAtOffset.
6288 * cspi/spi_accessible.c:
6289 Added code to return the outstanding interfaces from
6290 Accessible_queryInterface.
6292 * cspi/spi_action.c:
6294 Corrected call to getNActions to call the c binding
6297 * cspi/spi_editabletext.c:
6299 Changed name from setRunAttributes to setAttributes.
6301 * cspi/spi_hyperlink.c:
6303 Changed call to getNAnchors to correctly call the c
6304 binding for an attribute.
6306 * cspi/spi_hypertext.c:
6308 Changed getImageDescription to correctly call the
6309 binding for an attribute.
6311 * cspi/spi_selection.c:
6312 Changed getNSelectedChildren to correctly call the c
6313 binding for the attribute.
6314 Changed refSelectedChild to getSelectedChild.
6318 Changed getCaption to return an Accessible.
6319 Fixed calls which retrieve attributes.
6320 Changed refAt to getAccessibleAt.
6321 Changed getNSelectedRows and getNSelectedColumns to
6325 Changed getCharacterExtents and getPointAtOffset to accept an
6326 AccessibleCoordType.
6328 Changed calls which retrieve attributes.
6329 Changed refRunAttributes to getAttributes.
6334 * idl/Hyperlink.idl:
6335 Changed n_anchors attribute to nAnchors to keep naming
6336 convention consistent.
6339 Made Table inherit from Bonobo::Unknown.
6340 Added nSelectedColumns and nSelectedRows attributes.
6343 Made Value inherit from Bonobo::Unknown.
6345 * libspi/hyperlink.c:
6346 Change for nAnchors attributte name change.
6348 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6356 Added interface implementation c files to list of
6357 includes so they are included in libcspi.
6360 Changed prototype of AccessibleAction_doAction to return a
6362 Changed prototype of AccessibleTable_getCaption to
6363 return an Accessible.
6364 Changed prototype of AccessibleTable_getSelectedRows
6365 and AccessibleTable_getSelectedColumns to
6366 return a long (returns the number of selected rows
6367 or columns respectively).
6368 Changed name of AccessibleText_refRunAttributes to
6369 AccessibleText_getAttributes.
6370 Changed prototype of AccessibleText_getCharacterExtents to
6371 return a void rather than a boolean.
6372 Added support for a AccessibleCoordType parameter
6373 specifying what type of coordinates are desired.
6374 Added an AccessibleCordType parameter to
6375 AccessibleText_getPointAtOffset.
6377 * cspi/spi_accessible.c:
6378 Added code to return the outstanding interfaces from
6379 Accessible_queryInterface.
6381 * cspi/spi_action.c:
6383 Corrected call to getNActions to call the c binding
6386 * cspi/spi_editabletext.c:
6388 Changed name from setRunAttributes to setAttributes.
6390 * cspi/spi_hyperlink.c:
6392 Changed call to getNAnchors to correctly call the c
6393 binding for an attribute.
6395 * cspi/spi_hypertext.c:
6397 Changed getImageDescription to correctly call the
6398 binding for an attribute.
6400 * cspi/spi_selection.c:
6401 Changed getNSelectedChildren to correctly call the c
6402 binding for the attribute.
6403 Changed refSelectedChild to getSelectedChild.
6407 Changed getCaption to return an Accessible.
6408 Fixed calls which retrieve attributes.
6409 Changed refAt to getAccessibleAt.
6410 Changed getNSelectedRows and getNSelectedColumns to
6414 Changed getCharacterExtents and getPointAtOffset to accept an
6415 AccessibleCoordType.
6417 Changed calls which retrieve attributes.
6418 Changed refRunAttributes to getAttributes.
6423 * idl/Hyperlink.idl:
6424 Changed n_anchors attribute to nAnchors to keep naming
6425 convention consistent.
6428 Made Table inherit from Bonobo::Unknown.
6429 Added nSelectedColumns and nSelectedRows attributes.
6432 Made Value inherit from Bonobo::Unknown.
6434 * libspi/hyperlink.c:
6435 Change for nAnchors attributte name change.
6438 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6440 implementations-- made server implementations own AtkObject pointers
6441 rather than their respective AtkInterrface pointers to fix
6442 refcounting. AtkHyperlink is still broken.
6444 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6445 * cspi/spi_accessible.c:
6446 Added method Accessible_Role_getName(),
6447 and requisite string array (role_names).
6448 Added conversion string_from_corba_strin() call
6449 to Accessible_getName and _getDescription.
6450 * libspi/accessible.c:
6451 Added implementation for Accessible_getRole()
6453 Added festival support, used if environment variable
6456 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6458 * at-bridge/bridge.c:
6459 Now allocate Accessibility_Event using
6460 Accessibility_Event__alloc() instead of g_new0().
6461 * libspi/accessibleeventlistener.c:
6462 Initialize AccessibleEventListener->callbacks to NULL.
6463 Fixed accessible__event_listener_init() param, changed to
6464 "AccessibleEventListener *" type.
6465 Changed a bonobo_object_release_unref() call to
6466 Accessibility_Accessible_unref().
6467 * libspi/listener.c:
6468 Changed Bonobo_Unknown_unref to (equivalent)
6469 Accessibility_Accessible_unref.
6470 * libspi/registry.c:
6471 Changed bonobo_object_release_unref to
6472 Accessibility_Accessible_unref.
6474 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6477 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6478 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6479 spi-util.c spi-util.h
6480 Implementations for C bindings to remaining accessibility
6483 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6486 changed return value of Action from void to boolean to
6487 bring in line with ATK.
6490 Changed getText funcions to return "out" start and end offsets.
6491 Changed getAttributes to take and offset and return the start
6492 and end offset of the attribute run.
6493 Changed getOffsetAtPoint and getCharacterExtents to take an
6494 enum describing whether coordinates are window or screen.
6497 libspi/action.c libspi/action.h libspi/editabletext.c
6498 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6499 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6500 libspi/image.h libspi/selection.c libspi/selection.h
6501 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6502 libspi/value.c libspi/value.h
6503 Added server implementations for outstanding ATK interfaces
6504 not yet implemented.
6506 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6509 Added (missing) getName() method.
6510 Made nActions an attribute.
6511 * idl/EditableText.idl:
6512 Changed order of params in setAttributes.
6513 * idl/Hyperlink.idl:
6514 Removed getAnchor, added getURI.
6516 Changed attributes to methods, for efficiency
6517 (so that getting extents can be done in one call)
6518 * idl/Selection.idl:
6519 Changed nSelectedChildren to attribute, and re-indented.
6520 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6522 * idl/Text.idl: reformatted to match our coding style.
6523 (temporarily?) removed getRowColumnAtOffset().
6524 Changed text selection API to support multi-select and
6525 non-contiguous selections, as in ATK.
6526 * idl/Value.idl: changed some methods to attributes.
6528 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6530 * libspi/listener.c(impl_notify_event):
6531 BonoboUnkown_unref the source instead
6532 of bonobo_object_release_unref - the ORB
6533 handles the releasing.
6535 * configure.in: require ORBit-2.3.94 for
6538 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6540 Tagged CVS repository 'EA_1_0'.
6541 * README.EARLY_ACCESS:
6542 Alphabetized acknowledgements list, and
6544 Listed some known dependencies of at-spi.
6546 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6548 * docs/at-spi-docs.sgml:
6549 * docs/at-spi-sections.txt:
6550 * docs/at-spi-overrides.txt: (Added zero-length file)
6551 Documentation improvements - gtk-doc should build
6552 docs for all implemented C bindings now.
6555 * cspi/spi.c: (New file)
6556 * cspi/spi_event.c: (New file)
6557 * cspi/spi_registry.c: (New file)
6558 * cspi/spi_accessible.c: (New file)
6559 * cspi/spi_application.c: (New file)
6560 * cspi/spi_component.c: (New file)
6561 Split spi_main.c into six parts, and included them from
6562 "spi.c". This is a bit of a hack, probably temporary,
6563 but required by gtk-doc, apparently.
6565 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6568 * docs/at-spi-docs.sgml:
6569 * docs/at-spi-sections.txt:
6571 Initial checkins/modifications for gtk-doc generation.
6574 Added (missing) interface query methods to Accessible's C binding.
6576 Added GenericInterface type definition.
6578 Added query for AccessibleComponent interface to focus event handler.
6579 Added printout of bounding box for focussed component.
6580 * libspi/component.c:
6581 Added partial implementation for AccessibleComponent to C binding.
6582 * idl/Application.idl:
6583 * libspi/registry.c:
6584 * libspi/listener.c:
6585 * libspi/application.c:
6586 * libspi/application.h:
6587 Changed "ID" attribute type from string to long.
6589 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6593 Made method naming consistent: methods taking object args
6594 start with uppercase, other methods (except those using
6595 acronyms) start with lowercase. Underscores delimit between
6596 object names and method names:
6597 SPI_init() - uppercase since it starts with an acronym.
6598 getDesktopCount () - lowercase start since no object param0.
6599 Accessible_getName() - uppercase object type name, studlyCaps method
6603 Added gtk-doc documentation for all currently implemented
6604 methods in the C bindings API.
6606 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6608 * Makefile.am : changed build order to build test last.
6611 Changed "createEventListener" to "CreateEventListener".
6612 * libspi/accessibleeventlistener.c :
6613 Bugfix for addition of callbacks.
6614 * test/Makefile.am :
6615 * test/simple-at.c :
6616 Added new test that uses the C bindings API.
6618 * libspi/listener.c :
6619 * libspi/registry.c :
6620 * libspi/accessibleeventlistener.c :
6621 * at-bridge/bridge.c :
6622 Renamed member "target" of Accessibility_Event to "source",
6623 which is more descriptive.
6626 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6630 * cspi/Makefile.am :
6631 Added makefile support for at-spi/cspi directory.
6634 * cspi/spi-listener.h : (NEW FILE)
6635 Added support for/use of spi-listener.h.
6637 C bindings now build successfully, with no warnings.
6638 * libspi/accessibleeventlistener.h : (NEW FILE)
6639 * libspi/accessibleeventlistener.c : (NEW FILE)
6640 * libspi/Makefile.am :
6641 Added new object type "AccessibleEventListener"
6642 which inherits from Listener, and allows attachment
6643 of in-process callbacks (so that a client with a listening
6644 object instance can add functionality to the local
6645 implementation, dynamically).
6647 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6649 * libspi/accessible.c:
6650 Add implementation for get_index_in_parent().
6652 Added #include of "spi-roletypes.h", and
6653 added enumerated type AccessibleCoordType.
6654 Added definition for KeystrokeListener (function type).
6657 * cspi/spi-statetypes.h :
6658 * cspi/spi-roletypes.h :
6660 Added these headers, used by spi.h.
6662 Added code (NOTE: not yet built by make).
6664 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6666 * libspi/Makefile.am: generate imodule
6667 at the same time as other idl compiler
6670 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6671 * libspi/registry.c :
6672 * libspi/application.c :
6673 * idl/Application.idl :
6674 Made registration with toolkit an application method,
6675 which is required since each app has its own toolkit static
6676 environment. Thus the bridge must register for
6677 notification of toolkit events from each application in turn.
6678 Toolkit notifications are now successfully registered for, and
6679 sent to the listening at client.
6681 Changed toolkit event string to use hyphens rather than underscores.
6682 * libspi/listener.c :
6683 listner now gives more info in debug mode - it reports the
6684 name of the event received, as well as the name of the source.
6687 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6689 * libspi/registry.c :
6690 added more implementation for toolkit events.
6691 Fixed bug such that toolkit event registrations
6692 (via atk) use the whole event name string, not
6694 Removed a useless call to an ORBit_ method.
6695 * at-bridge/bridge.c :
6696 Removed unused local sbuf[] variable.
6698 We now register for Gtk:GtkWidget:button_press_event
6699 events as well as "focus:" events.
6701 Add some more API from Registry.idl that was missing,
6702 for keystroke listening, keystroke and mouse event
6703 synthesis, and enumeration of accessible desktops.
6705 2001-08-16 Michael Meeks <michael@ximian.com>
6707 * configure.in: use AM_GLIB_GNU_GETTEXT.
6709 * Makefile.am (SUBDIRS): kill intl.
6711 2001-08-15 Michael Meeks <michael@ximian.com>
6713 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6715 * configure.in: upd.
6717 * configure.in: depend on a recent bonobo-activation that
6718 will find our server files ...
6720 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6722 * libspi/accessible.c : accessible_new() :
6723 Now we add the Component interface via bonobo_object_add_interface,
6724 if the contained AtkObject implements AtkComponent.
6725 * libspi/accessible.h : now include "component.h"
6726 * libspi/component.h :
6727 * libspi/component.c : added files - implementation of
6728 bonobo wrapper object for Accessibility/Component
6729 * libspi/listener.c :
6730 Added test code to check for Accessibility/Component:1.0
6731 interface and report whether it is implemented by the
6733 * libspi/registry.c :
6734 Now we check for not only the hash of the whole event
6735 string before relaying the event, we also check the
6736 "minor" event string (without the detail string).
6737 This allows event listeners to be registered against
6738 all events of a certain major+minor type, or just
6739 against a specific major+minor+detail type.
6740 * libspi/accessible.c :
6741 Added implementations for Accessible:get_parent(),
6742 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6743 * libspi/registry.c :
6744 * libspi/listener.c :
6745 Replaced calls to Accessibility_Accessible_ref() and
6746 Accessibility_Accessible_unref() with
6747 calls to bonobo_object_dup_ref() and
6748 bonobo_object_release_unref(), so that the CORBA object
6749 is dup-ed and released when relayed, as well as the bonobo object.
6751 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6753 * libspi/Makefile.am,
6754 registryd/Makefile.am,
6755 at-bridge/Makefile.am.
6756 test/Makefile.am, configure.in:
6757 reverse previous changes.
6759 * /idl/Image.idl: fix typo.
6761 * test/Makefile.am: put DEBUG_FLAGS
6764 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6766 * test/app.c: use argv[0] instead of
6769 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6771 * libspi/Makefile.am,
6772 registryd/Makefile.am,
6773 at-bridge/Makefile.am.
6774 test/Makefile.am, configure.in:
6775 cleanup, replace individual LIBS/CFLAGS with
6776 AT_COMMON_{LIBS|CFLAGS}.
6780 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6782 * configure.in, libspi/Makefile.am:
6783 Change IDL path checking for bonobo-activation
6786 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6788 * registryd/registry.c : separated event listeners to use
6789 3 separate lists (focus, window, toolkit). Began testing
6790 event names against hashes before relaying events.
6791 * test/at.c : now register for events of type "focus:"
6792 * test/app.c : now generate events of type "focus:"
6793 * at-bridge/bridge.c : register with ATK for focus events,
6794 and we now relay those focus events to any "focus:" listeners.
6795 This now works with the bridge as a GTK_MODULE when running test/at.
6796 * libspi/registry.c :
6797 * libspi/listener.c :
6798 now we ref event sources before propagating, and unref on receipt.
6799 * libspi/registry.c :
6800 some changes to internal structs, to support event typestring hashes.
6801 * text/app.c : changed the way the appname is generated.
6802 * cspi : added directory that will hold the C bindings library for
6803 non-CORBA/bonobo-savvy clients.
6804 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6805 * idl/Component.idl : added in parameter to indicate coord system for
6806 geometry-related calls.
6807 * idl/Hyperlink.idl : added readonly n_links attribute
6808 * idl/Image.idl : changed methods to attributes.
6810 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6812 * at-bridge/Makefile.am: link against
6813 ../libspi/libspi.la instead of -lspi.
6815 * at-spi/test/app.c: include
6816 bonobo-activation.h. Use a default appname
6817 if one is not provided.
6819 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6821 * idl/Registry.idl : temporarily changed register_Application
6822 to oneway, to work around issue with initial registration
6824 * idl/Application.idl : changed attribute "id" from readonly
6825 to read-write, since it needs to be assigned by Registry.
6826 * registryd/registryd.c : added call to set application id
6828 * registryd/registry.c : changed de-registration procedure to
6829 use CORBA_Object_hash() to find matching object ref in application
6830 lists and listener lists.
6831 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6832 began distinguishing between event types (work in progress).
6834 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6837 * libspi/application.c:
6838 Added implementations for get/set id, get_toolkitName,
6840 * registryd/registryd.c :
6844 Converted from use of OAF to bonobo-activation.
6845 * libspi/desktop.h :
6846 * libspi/desktop.c :
6848 Removed references to atksimpleobject, since base atkobject
6849 implementation now provides functionality we need.
6850 * libspi/atksimpleobject.c :
6851 * libspi/atksimpleobject.h :
6856 * at-bridge/Makefile.am
6857 * at-bridge/bridge.c
6860 Added directory "bridge" and contents, and added dependencies
6861 in Makefile.am/configure.in.
6862 Initial checkin of "at-bridge".
6863 This code is a GTK_MODULE which automatically registers
6864 GTK+ apps with the accessibility registry, using an object
6865 reference to the root ATK object.
6867 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6869 * po/Makefile.in.in: Remove. Again. If this
6870 doesn't get autogenerated - you need to update
6873 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6875 * po/Makefile.in.in: Add. Again.
6877 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6879 * libspi/accessible.c : added support for 'description' property.
6880 * libspi/accessible.c
6882 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6883 (since the two are now equivalent in libbonobo)
6891 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6892 Bonobo::Unknown as does Accessibility::Accessible.
6893 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6894 interface with Bonobo::Stream, since it was redundant with it.
6895 (The Stream returned by a StreamableContext object is expected to
6896 implement only a subset of Bonobo::Stream)
6898 2001-07-28 Anders Carlsson <andersca@gnome.org>
6900 * libspi/accessible.c (accessible_object_finalize): Change
6901 g_free to g_object_unref since the AtkObject is a GObject.
6903 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6905 * idl/Accessibility.idl: add new IDL files
6908 * idl/Action.idl: Definitions of actionable UI object
6909 * idl/Component.idl: Definitions of UI component geometry, etc.
6910 * idl/Hyperlink.idl: Defs of hyperlink behavior
6911 * idl/Image.idl: Def of accessible image
6912 * idl/Selection.idl: Definition of UI object with selectable children
6913 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6914 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6915 * idl/Text.idl: Interface defs for UI elements with complex textual content
6916 * idl/Value.idl: Definition of UI element that is a value controller or display
6918 2001-07-27 Michael Meeks <michael@ximian.com>
6920 * po/Makefile.in.in: remove autogenerated file from CVS.
6922 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6925 * idl/Registry.idl: include guard.
6927 * idl/Accessibility.idl: Add, and include all the other IDL
6930 * idl/*.idl: remove mass of pragmas etc.
6932 2001-07-26 Michael Meeks <michael@ximian.com>
6934 * registryd/Makefile.am (registryd_SOURCES): remove
6937 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6939 * libspi/.cvsignore, registryd/.cvsignore,
6940 test/.cvsignore: updated.
6942 * po/Makefile.in.in: gettext update.
6944 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6946 * initial CVS checkin
6948 2001-06-29 Michael Meeks <michael@ximian.com>
6950 * configure.in: add AM_CONFIG_HEADER to gen config.h