1 2004-06-01 Bill Haneman <bill.haneman@sun.com>
3 * test/login-helper-server-test.c:
4 (main): Fix C99-ism. Thanks to Jens Granseuer.
6 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
8 * libloginhelper-1.0.pc.in:
9 * idl/Accessibility_LoginHelper.idl:
10 * login-helper/Makefile.am:
11 * login-helper/login-helper.[ch]:
12 * test/login-helper-client-test.c:
13 * test/login-helper-server-test.c: Added files missing from CVS.
14 Files obtained from at-spi-1.5.2 tarball.
16 2004-05-27 Bill Haneman <bill.haneman@sun.com>
18 * configure.in: Create login-helper/Makefile.
19 Incremented micro version.
21 * Makefile.am: Add login-helper subdir and pkgconfig data.
23 * login-helper: New subdir.
25 * libloginhelper-1.0.pc.in: New.
27 * idl/Accessibility_LoginHelper.idl: New file, defines
28 interface whereby authentication clients can identify agents which
29 need access to services during the login process, e.g. screen lock
32 * login-helper/Makefile.am : New.
34 * login-helper/login-helper.[ch] : New, implementation of
35 a LoginHelper base class. Services needing LoginHelper can subclass.
37 * test/Makefile.am : Added test for login-helper, client and
40 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
41 Use proper prefix in #include files.
43 * test/login-helper-client-test.c: New.
45 * test/login-helper-server-test.c: New.
47 2004-05-27 Alexander Shopov <ash@contact.bg>
49 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
51 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
53 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
54 is positive. This should make it easier to detect inapprorpiate unref
57 2004-05-11 James Henstridge <james@daa.com.au>
59 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
62 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
64 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
66 2004-04-28 Bill Haneman <billh@gnome.org>
68 * Makefile.am: Added --enable-gtk-doc to
69 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
71 2004-04-19 Bill Haneman <billh@gnome.org>
73 * configure.in: Revved to 1.5.1.
75 * registryd/deviceeventcontroller.c:
77 (DEControllerPrivateData): Added fields for
78 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
79 (spi_dec_replace_map_keysym): New internal utility for
80 replacing a keysym in the keymap - used to allow
81 synthesis of individual characters which aren't in the
83 (spi_dec_reset_reserved): New; resets the changed keysym value
85 (keycode_for_keysym): We now try to deal with failed
86 XKeysymToKeycode requests by changing a keymap value
87 and returning a reserved keycode. We now take
88 a DEController pointer as first arg.
89 (spi_controller_register_with_devices): Call XkbGetMap with
90 the XkbKeySymsMask. Find the highest keycode in the current
91 keymap which doesn't have any grabs, and mark that one for
92 temporary re-mapping when out-of-range KeySyms are synthesized.
93 (dec_synth_keycode_press): Call XFlush after synthesizing the key
96 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
98 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
100 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
102 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
104 2004-03-24 Bill Haneman <billh@gnome.org>
107 (AccessibleTable_addRowSelection),
108 (AccessibleTable_addColumnSelection),
109 (AccessibleTable_removeRowSelection),
110 (AccessibleTable_removeColumnSelection):
111 Add declarations for spi wrappers which were
112 inadvertantly omitted. Fixes bug #133413.
115 Revved to 1.5.0 (unstable series for GNOME 2.7).
117 2004-03-24 Bill Haneman <billh@gnome.org>
119 * atk-bridge/bridge.c:
120 Bracketed some debug output in
121 conditionals, to avoid printing it in normal use.
124 * libspi/hyperlink.c:
125 Don't cast 'object' to ATK_OBJECT when constructing
126 an AtkAction interface for a hyperlink.
127 See discussion in bug #120659.
129 * test/key-listener-test.c:
130 (report_all_key_event): Send output to stderr,
131 not stdout, for consistency with the rest of the test callbacks.
134 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
135 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
136 Incremented to 1.4.1 (but didn't dist yet - I'm going to
137 try incrementing the revision AFTER doing a dist, at least
140 2004-03-22 Bill Haneman <billh@gnome.org>
142 * configure.in: Revved to 1.4.0, libtool 9.14.9
144 2004-03-17 Laszlo Peter <laca@sun.com>
146 * libspi-1.0-uninstalled.pc.in: add idldir
148 * cspi-1.0-uninstalled.pc.in: add idldir
150 2004-03-16 Gareth Owen <gowen72@yahoo.com>
152 * configure.in: Added "en_GB" to ALL_LINGUAS
154 2004-03-15 Bill Haneman <billh@gnome.org>
156 * configure.in: Revved to 1.3.16,
159 2004-03-15 Laszlo Peter <laca@sun.com>
161 * libspi-1.0-uninstalled.pc.in: new file
163 * cspi-1.0-uninstalled.pc.in: new file
165 * configure.in: add the new pc files to AC_OUTPUT
167 * Makefile.am: add the new pc files to EXTRA_DIST
169 2004-03-12 Bill Haneman <billh@gnome.org>
171 * atk-bridge/bridge.c:
172 (spi_atk_bridge_key_listener):
173 Make sure to return consumed=FALSE if snoop
174 event is not dispatched to listener.
177 2004-03-01 Bill Haneman <billh@gnome.org>
179 * configure.in: Revved to 1.3.15,
182 2004-03-07 Danilo Segan <dsegan@gmx.net>
184 * configure.in: Added "sr@ije" to ALL_LINGUAS.
186 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
188 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
190 2004-03-01 Bill Haneman <billh@gnome.org>
192 * configure.in: Revved to 1.3.14.
195 (SPI_exit): Removed "bye-bye" exit message.
196 Moved "leak" report to happen before the
197 iteration over the leaked refs list.
198 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
200 2004-02-24 Bill Haneman <billh@gnome.org>
202 * configure.in: Revved to 1.3.13.
204 * docs/reference/cspi/Makefile.am:
205 Correct typo that was breaking the docs build.
207 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
209 * autogen.sh: Require version 1.7 of automake.
211 * configure.in: call GTK_DOC_CHECK([1.0])
213 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
215 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
217 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
219 * test/Makefile.am: Remove use of CFLAGS.
221 This fixes bug #132987.
223 2004-02-11 Bill Haneman <billh@gnome.org>
225 * reverted most of Tomasz' patch below, since it was breaking
226 builds (see bug #134058).
228 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
230 * docs/reference/cspi/at-spi-cspi.types: added empty file for
231 correct pass "make dist" (empty .. because seems no sach types in
232 header files with gtk-doc markups).
233 * docs/reference/cspi/Makefile.am, configure.in:
234 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
235 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
236 * Makefile.am: added:
237 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
238 for force correct pass generate documentation on "make distcheck".
239 * libspi/Makefile.am: fixes for automake >= 1.6.
240 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
241 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
244 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
246 * docs/reference/cspi/Makefile.am (install-data-local): Install
247 index.sgml since the doc autobuilder on widget.gnome.org looks for
250 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
252 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
255 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
257 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
259 2004-01-27 Brian Cameron <brian.cameron@sun.com>
261 * test/simple-at.c: Fixed null string problems that cause core
262 dumping problems on Solaris.
264 2004-01-12 Bill Haneman <billh@gnome.org>
266 * configure.in: Incremented version to 1.3.11.
268 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
270 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
271 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
274 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
276 * configure.in: Added "fa" to ALL_LINGUAS.
278 2003-12-20 Arafat Medini <lumina@silverpen.de>
280 * configure.in: Added "ar" to ALL_LINGUAS
282 2003-12-16 Bill Haneman <billh@gnome.org>
284 * registryd/registry-main.c:
286 Set the reg_env DISPLAY variable before registering the
287 activated registry service. Fixes bug #129479.
289 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
291 * configure.in: Added "id" in ALL_LINGUAS
292 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
294 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
296 * registryd/deviceeventcontroller.c (global_filter_fn):
297 When an event is consumed discard any XEvents were added to
298 the queue while dealing with the the event. This can happen if
299 processing of the event takes a long time. Call XUngrabKeyboard
300 if an event was discarded. This fixes bug $124837.
301 Only call wait_for_release_event for a KeyPress.
302 Use local variable display instead of spi_get_display().
303 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
306 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
308 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
309 Allow for mask to contain values other than NumLock mask.
312 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
314 * registryd/devieceventcontroller.c:
315 (wait_for_release_event): Change first parameter from GdkEvent to
317 (global_filter_fn); Correct call to wait_for_release_event.
321 2003-12-08 Bill Haneman <billh@gnome.org>
325 * registryd/ucs2keysym.c: New file.
327 * registryd/deviceeventcontroller.c:
328 (dec_keysym_for_unichar): Remove old partial implementation and
329 replace with call to ucs2keysym(), which is much more complete.
330 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
335 2003-12-05 Bill Haneman <billh@gnome.org>
337 * configure.in: Version 1.3.9.
339 * docs/reference/cspi/tmpl/spi_registry.sgml:
340 Added reference to libspi/keymasks.h to the
341 description of Registry queries: AccessibleKeyMaskType.
344 2003-12-04 Bill Haneman <billh@gnome.org>
348 * idl/Accessibility_Application.idl:
349 (Accessibility::LOCALE_TYPE): New enum, corresponds to
350 setlocale's LC_TYPEs.
351 (Accessibility::Application::getLocale): New method.
352 Allows clients to query the locale, by type, of an app.
355 * cspi/spi_application.c:
356 (AccessibleApplication_getLocale): New method, wraps IDL above.
358 * libspi/application.c:
359 (spi_application_class_init): Init epv entry for getLocale.
360 (impl_accessibility_application_get_locale): Impl for above.
362 * test/test-simple.c:
363 (test_application): Added assertion for getLocale, i.e.
364 that the string from AccessibleApplication_getLocale (app, type)
365 is the same as that from setlocale (type, NULL);
367 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
369 *registryd/deviceeventcontroller.c: Add an idle handler which polls
370 the keyboard on a timeout intil the key state goes from pressed to
371 released. Fixes bug #111429.
373 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
375 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
376 root object so that it is present when a context menu in an
377 out-of-process applet is popped up.
378 (spi_atk_bridge_do_registration): Create acceessible application root
379 object only if it does not exist.
381 This fixes bug #125834.
383 2003-12-01 Bill Haneman <billh@gnome.org>
385 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
388 Added enum for AccessibleStreamableContentSeekType.
389 (AccessibleStreamableContent_freeContentTypeList): New.
391 * cspi/spi_streamablecontent.c:
392 (accessible_bonobo_stream_client_seek): New private method.
393 (AccessibleStreamableContent_seek): Implemented this method,
394 using Bonobo_Stream_seek.
395 (AccessibleStreamableContent_freeContentTypeList): New method
396 for freeing the return value from
397 AccessibleStreamableContent_getContentTypes.
398 (stream_cache_item_free): Replaces stream_release; stop leaks.
399 (stream_release): removed.
400 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
401 free the memory properly.
403 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
407 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
409 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
411 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
413 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
415 2003-12-01 Bill Haneman <billh@gnome.org>
417 Fix for bug/rfe #127463.
419 * idl/Accessibility_Accessible.idl:
420 (getLocalizedRoleName): New.
421 (unimplemented4): Removed (replaced by above).
423 * libspi/accessible.c:
424 (impl_accessibility_accessible_get_local_role_name): New.
425 (spi_accessible_class_init): Add getLocalizedRoleName entry to
429 (Accessible_getLocalizedRoleName): New.
431 * cspi/spi_accessible.c:
432 (Accessible_getLocalizedRoleName): New.
434 2003-12-01 Bill Haneman <billh@gnome.org>
437 * idl/Accessibility_Text.idl:
438 (getDefaultAttributes): New.
439 (unimplemented4): Removed (replaced by above method).
442 (impl_getDefaultAttributes): New method.
443 (spi_text_class_init):
444 initialize the get_default_attributes slot in the epv.
447 (AccessibleText_getDefaultAttributes): New prototype.
450 (AccessibleText_getDefaultAttributes): New method.
452 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
454 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
455 write beyond the end of the table. Fixes bug #120473.
457 2003-09-30 Christian Rose <menthos@menthos.com>
459 * configure.in: Added "eu" to ALL_LINGUAS.
461 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
463 * configure.in: ALL_LINGUAS: Added no.
465 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
467 * configure.in: Added lt to ALL_LINGUAS.
469 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
471 * atk-bridge/bridge.c:
472 (atk_bridge_init): Register event listeners always even for
473 out-of-process applet.
474 (spi_atk_bridge_toplevel_added): Remove call to
475 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
476 (spi_atk_bridge_toplevelk_removed): Remove call to
477 spi_atk_deregister_event_listenersa as the listeners are now always
479 (spi_atk_bridge_register_application): Remove call to
480 spi_atk_register_event_listeners as it is not done in atk_bridge_init
482 This fixes bug #120991.
484 * libspi/table.c (impl_getColumnDescription): Correct typo,
485 pointed out by Bolian.Yin@sun.com.
487 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
489 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
491 2003-09-08 Bill Haneman <billh@gnome.org>
493 * configure.in: Revved to 1.3.7.
495 This is the GNOME 2.4.0 release of at-spi.
497 * docs/reference/cspi/Makefile.am:
498 Removed spurious inclusion of 'index.sgml' in the
499 html directory; this was breaking make distcheck and
500 also some other build environments.
502 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
504 * registryd/registry.[ch}:
505 Add queue_handler_id and focus_object to SpiRegistry data structure.
506 (registry_flush_event_queue): If event being discarded is
507 "state-change:focused" store object as focus_object.
508 (registry_start_queue): Remove queue handler and focus object
510 (registry_discard_event): New function which discards a focus event
511 if we had stored focus object in the registry.
512 (registry_queue_event): Add new check that is_queueing is set as this
513 function is reentrant.
514 (registry_filer_event): Add call to registry_discard_event.
516 This resolves issues raised in bug #108664.
518 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
520 * configure.in: Added "bn" to ALL_LINGUAS.
522 2003-09-04 Bill Haneman <billh@gnome.org>
524 * cspi/spi_event.c: Documentation improvements for
525 (SPI_registerAccessibleKeylistener).
527 * docs/reference/tmpl/spi_registry.sgml:
528 Documentation improvements for SpiAccessibleKeylistenerCB.
530 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
532 * configure.in: Added "ro" to ALL_LINGUAS.
535 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
537 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
538 not decremented to zero. Fixes bug #120725.
540 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
542 * configure.in: Added "ja" to ALL_LINGUAS.
544 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
546 * configure.in: Added "is" to ALL_LINGUAS.
548 2003-08-22 Christian Rose <menthos@menthos.com>
550 * configure.in: Added "nl" to ALL_LINGUAS.
552 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
554 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
555 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
557 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
559 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
560 type for unspecified exception.
561 * cspi_streamablecontect): Add include of string.h for memcpy.
562 (stream_release): Correct call to bonobo_object_release_unref
563 (stream_cache_item_free): Correct call to bonobo_object_release_unref
564 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
565 argument of _cspi_expection_throw.
566 * libspi/hyperlink.c: Add include of libspi/action.h:
567 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
568 * libspi/streamablecontent.c: add include of libspi/component.h.
569 * regisrtyd/deviceeventcontroller.c:
570 (spi_dec_translate_mask): Removed unused variable priv.
571 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
572 * registryd/registry.c:
573 (registry_filter_event): Remove unused variable queue_is-empty.
574 (impl_registry_notify_event): Use correct modifier in fprintf call.
576 This fixes compiler warnings reported in bug #120220.
578 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
580 * registryd/registryd.c: Remove this file.
582 2003-08-17 Sanlig Badral <badral@openmn.org>
584 * configure.in: Added mn to ALL_LINGUAS.
586 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
588 * configure.in: Added et to ALL_LINGUAS.
590 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
592 * test/event-listener-test.c: Change active-descendant to
593 active-descendant-changed.
595 2003-08-10 Sami Pesonen <sampeson@iki.fi>
597 * configure.in: Added "fi" in ALL_LINGUAS.
599 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
601 * configure.in: Added "hi" in ALL_LINGUAS.
603 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
605 * configure.in: Revved to 1.3.6.
609 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
611 * registryd/deviceeventcontroller.c
612 (spi_device_event_controller_object_finalize): Fix typo in previous
615 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
617 * registryd/deviceeventcontroller.c
618 (spi_device_event_controller_object_finalize): Fix build on
619 systems without XEvIE.
621 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
623 * acconfig.h, configure.in, registryd/Makefile.am,
624 registryd/devicecontoller.[ch]: Add XEViE support.
626 2003-08-06 Wang Jian <lark@linux.net.cn>
628 * configure.in: Added "zh_CN" to ALL_LINGUAS.
630 2003-08-06 Metin Amiroff<metin@karegen.com>
632 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
634 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
636 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
637 MODIFIER_ALT in correct place.
639 This fixes part of bug #118114.
641 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
643 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
645 2003-07-28 Changwoo Ryu <cwryu@debian.org>
647 * configure.in: Added "ko" to ALL_LINGUAS.
649 2003-07-28 Ole Laursen <olau@hardworking.dk>
651 * configure.in: Added "da" to the commented out ALL_LINGUAS.
653 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
655 * configure.in: Added "sq" to ALL_LINGUAS.
657 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
659 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
661 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
663 * configure.in: updated ALL_LINGUAS list
665 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
667 * configure.in: Added Belarusian to ALL_LINGUAS.
669 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
671 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
673 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
674 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
676 This fixes bug #116949.
678 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
680 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
681 Correct CSPI to SPI in function documentation.
683 This fixes bug #118054.
685 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
687 * configure.in: Added Russian to ALL_LINGUAS.
689 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
691 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
693 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
695 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
697 2003-07-10 Joel Brich <joel.brich@laposte.net>
699 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
701 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
703 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
705 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
707 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
708 resources allocated for AccessibleEvent. See cspi_event().
710 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
711 static variable streams to NULL.
713 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
714 Update so that AcessibleEvent_ref will work.
716 This fixes bug #116624.
718 2003-07-06 Jordi Mallach <jordi@sindominio.net>
720 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
722 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
724 * configure.in: Added "fr" (French) to ALL_LINGUAS.
726 2003-07-02 Christian Neumair <chris@gnome-de.org>
728 * configure.in: Added "de" (German) to ALL_LINGUAS.
730 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
732 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
734 2003-07-01 Miloslav Trmac <mitr@volny.cz>
736 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
738 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
740 * configure.in: Added "pl" to ALL_LINGUAS.
742 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
744 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
746 2003-06-30 Bill Haneman <bill.haneman@sun.com>
749 (get_action_from_servant):
750 Removed assertion that action is implemented on an AtkObject.
752 * libspi/hyperlink.c:
754 Aggregate AccessibleAction interface on the hyperlink object if
755 the object implements AtkAction. (This convention is used in
758 2003-06-30 Bill Haneman <bill.haneman@sun.com>
760 * configure.in: Revved to 1.3.5.
762 * registryd/Accessibility_Registry.server.in.in:
763 Marked up appropriate strings for translation.
765 * atk-bridge/bridge.c: Marked a couple of
766 user-visible warnings for translation. Questionable
767 whether they are really useful, but possibly so.
770 2003-06-28 Christian Rose <menthos@menthos.com>
772 * configure.in: Added "sv" to ALL_LINGUAS.
774 2003-06-26 Bill Haneman <bill.haneman@sun.com>
776 * registryd/registry.c:
777 (spi_registry_object_finalize): Unref the deviceeventcontroller.
778 (registry_defer_on_event): Defer focus: events, this is an
779 improvement to the patch for bug #108664.
781 * TODO: Update with 2.4/"Dev Complete" items.
783 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
785 * atk-bridge/bridge.c:
786 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
787 looks up signals once.
788 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
789 if doing registration.
790 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
791 when doing registration.
793 This fixes bug #115014.
795 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
797 * atk-bridge/bridge.c:
798 (atk_bridge_init): Add signal handler for children-changed:remove on
799 root when in a BonoboComponent.
800 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
801 for first toplevel only other incrememt variable toplevels.
802 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
803 application and remove listeners.
804 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
806 (spi_atk_deregister_event_listeners): New function which removes
808 (reinit_register_vars): New fuction which reinitializes variables.
810 This fixes bug #111578.
812 2003-06-13 Bill Haneman <bill.haneman@sun.com>
814 * configure.in: version 1.3.4.
816 * cspi/spi_accessible.c:
817 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
820 2003-06-13 Michael Meeks <michael@ximian.com>
822 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
824 * cspi/spi_main.c (cspi_peek_ev): impl.
826 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
828 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
830 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
832 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
833 SPI_ROLE_AUTOCOMPLETE
835 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
837 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
838 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
840 2003-06-11 Bill Haneman <bill.haneman@sun.com>
842 * libspi/streamablecontent.h:
843 * libspi/streamablecontent.c:
844 New files, provide implementation/wrappers for
845 Accessibility_StreamableContent.
847 * cspi/spi_streamablecontent.c:
848 Connected the C wrappers to the libspi C bindings.
849 (AccessibleStreamableContent_close): New method.
852 (AccessibleStreamableContent_close): New method, needed
853 since we have an "open, [seek], read, close" model in cspi.
855 2003-06-11 Bill Haneman <bill.haneman@sun.com>
857 Fix for #108664; Padraig's revision of my original patch.
859 * registryd/registry.h:
860 Added event queue list, is_queuing, and exit_notify_timeout
861 to the registry struct.
863 * registryd/registry.c:
864 (registry_init): Initialize new struct from registry.h.
865 (impl_registry_notify_event):
866 Filter events before notifying, in case some need to be
868 (registry_filter_event): New,
869 we defer certain incoming events (for instance
870 window:deactivate) because we may wish to hide
871 or reject them based on pending events. This is
872 mostly a workaround for bug #108664.
873 (registry_queue_event, registry_start_queue): New.
874 (registry_defer_on_event): Test event to see if it
876 (registry_reset_on_event): Returns TRUE if the
877 event should cause a queue reset.
878 (registry_discard_on_event): Returns TRUE if the event
879 should cause the previous queue contents to be discarded.
880 (registry_timeout_flush_queue): Flushes the pending event
881 queue if no reset/discard-triggering events have come in
882 within the timeout period.
883 (registry_emit_event): New.
884 (registry_clone_notify_context): New, used when queueing the
885 event notify contexts.
887 2003-06-10 Bill Haneman <bill.haneman@sun.com>
889 * configure.in: Version revved to 1.3.2, lt 0.9.2
890 Incremented ATK required version to 1.3.4.
892 * cspi/spi_registry.c:
893 (SPI_generateKeyEvent):
894 We now pass the keystring along if it's non-null.
896 * registryd/deviceeventcontroller.c:
897 (keysym_mod_mask): New method, returns modifier mask
898 required to generate a keysym from a given keycode.
899 (dec_synth_keysym): New method.
900 (dec_synth_keystring): New method.
901 (dec_get_modifier_state): New method.
902 (dec_lock_modifiers): New
903 (dec_unlock_modifiers): New.
904 (dec_keysym_for_unichar): New, rather brute-force
905 conversion from UCS-4 to X KeySyms. Only works for
906 Latin at the moment, with partial implementations for
907 Greek, Hebrew, and (incomplete) Katakana.
908 (impl_generate_keyboard_event): Now implement
909 "KEYSTRING" synthesis and implement "KEYSYM"
911 (keycode_from_keysym): Improved, passes a returned
912 modmask value now if the corresponding param is non-NULL.
914 Fixes bugs #92143 and #109776.
917 * test/keysynth-test.c:
918 New test program for key synthesis, to confirm fixes for
922 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
924 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
926 * cspi/spi_accessible.c (cspi_init_relation_type_table):
927 Add line for RELATION_POPUP_FOR
929 * docs/reference/cspi/tmpl/spi_relation.sgml:
930 Add relation SPI_RELATION_POPUP_FOR
932 * docs/reference/cspi/tmpl/spi_stateset.sgml:
933 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
935 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
937 * libspi/relation.c (spi_init_relation_type_table):
938 Add line for RELATION_POPUP_FOR
940 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
942 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
943 there are still windows which have not been deleted and emit
944 window:deactivate, if necessary and window:destroy events.
945 This fixes bug #114370. The change on June 5th was not correct.
947 2003-06-09 Bill Haneman <bill.haneman@sun.com>
949 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
952 (SPI_dupString): Allow dup-ing of a string such that it's safe to
954 New methods for client exception handling and interception.
955 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
956 (SPI_exceptionHandlerPop): You guessed it...
957 (SPI_getSourceType): Return the type of object which offended.
958 (SPI_getExceptionCode): Return an enum code telling, possibly,
959 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
960 (SPIAccessibleException_getSource): get the source object for
961 exceptions that come from Accessibles, if SPIExceptionSourceType is
962 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
963 (SPIException_getDescription): New, returns a string description of
964 the problem. [Not yet a stable ABI, strings are not frozen]
966 * cspi/spi-private.h:
967 Added implementation details of opaque SPIException
971 Implementations of above. Also
972 (_cspi_exception_throw): new private method that
973 dispatches exceptions to handlers, called from cspi-bonobo.c
975 * cspi/bonobo/cspi-bonobo.c:
976 (cspi_check_ev): call _cspi_exception_throw.
977 Don't print a warning message if the exception has been
978 handled by _cspi_exception_throw.
980 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
982 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
983 there are still windows which have not been deleted and emit
984 window:deactivate, if necessary and window:destroy events.
985 This fixes bug #114370.
987 2003-06-03 Bill Haneman <bill.haneman@sun.com>
990 (cspi_accessible_is_a): Make non-fatal
991 if the object reference is dead.
993 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
995 * cspi/spi_main.c: #include <stdio.h>
996 * test/simple-at.c: ditto
997 * test/event-listener-test.c: ditto
998 * test/screen-review-test.c: ditto
1000 2003-05-30 Michael Meeks <michael@ximian.com>
1002 * test/test-simple.c (main): use CORBA_ORB_perform_work
1003 instead of an unnecessary linc_ call.
1005 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1007 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1008 Add SPI_STATE_INDETERMINATE.
1010 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1013 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1015 * libspi/stateset.c (init_state_type_tables): Add support for
1018 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1020 * configure: Update versions of atk and gail required.
1021 This fixes bug #113268.
1023 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1025 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1027 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1029 * libspi/Makefile.am:
1030 Ensure headers are generated before being used by c sources.
1032 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1035 Simplified lt versioning rules.
1036 Incremented version to 1.3.0, to indicate that we're on the
1037 unstable branch now.
1039 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1041 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1042 Add MKDB_OPTIONS=--outtput-format=xml
1044 * docs/reference/cspi/at-spi-cspi-docs.sgml
1045 docs/reference/idl/at-spi-idl-docs.sgml:
1046 Convert to Docbook XML.
1048 This fixes bug #111793.
1050 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1052 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1053 AcccessibleKeyEventType, AccessibleKeyMaskType.
1055 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1057 * cspi/state-types.h: Add documentation for AccessibleState.
1059 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1060 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1061 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1062 AccessibleComponentLayer.
1064 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1067 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1069 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1070 Accessible. Add description of AccessibleEvent,
1071 AccessibleEventListenerCB.
1073 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1076 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1077 documentation. Add description of AccessibleKeystrokeListenerCB,
1078 AccessibleKeyEventMask, AccessibleModifierMaskType,
1079 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1080 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1082 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1085 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1088 This fixes bug #104730.
1090 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1092 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1093 Set is_text field of Accessibility_DeviceEvent data structure.
1095 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1096 is-text field of AccessibleDeviceEvent data structure.
1098 This addresses part of bug #108666.
1100 * registryd/devcieeventcontroller.c: Unset debug option.
1102 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1104 * cspi/accessible.c:
1105 (cpi_initial_relation_type_table): New function which initializes
1106 mapping between Accessibility_RelationType and AccessibleRelationType.
1107 (cspi_relation_type_from_spi_relation_type): New function which
1108 translates an Accessibility_RelationType into an AccessibleRelationType.
1109 (AccessibleRelation_getRelationType): Use
1110 cpi_relation_type_get_spi_relation_type to return correct value.
1111 (spi_state_to_corba): Return correct type for default case.
1113 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1114 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1116 * cspi/cspi-bonobo-listener.c:
1117 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1120 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1121 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1122 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1123 libspi/image.c, libspi/listener.c, libspi/selection.c,
1124 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1125 registryd/desktop.c, registryd/registry.c:
1126 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1128 * libspi/eventlistener.c
1129 Remove semicolon after BONOBO_TYPE_FUNC.
1131 * libspi/relation.c:
1132 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1133 (spi_init_relation_type_table): Initialize using correct type.
1135 * registryd/desktop.c:
1136 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1137 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1138 of Accessibility_KeyEventType.
1140 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1143 * tests/simple-at.c, tests/screen-review-test.c:
1144 Add include for <strings.h>.
1146 * tests.stress-test.c:
1147 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1149 These changes fix compiler warnings when using FORTE compiler on
1150 Solaris; fixes bug #107479.
1153 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1156 * configure.in: revved to 1.1.10
1158 * libspi/keymasks.h:
1159 (SPI_KEYMASK_NUMLOCK): Added.
1161 * registryd/deviceeventcontroller.c:
1162 (spi_key_event_matches_listener): AND with a smaller
1163 bitmask (as we should).
1164 (spi_dec_translate_mask):
1165 New method, sets the virtual NumLock modifier bit
1166 if numlock is on. Eventually it can handle other virtual
1167 modifier bits if needed, or other marshalling from
1168 at-spi modifier masks to platform (X) masks.
1169 (spi_dec_key_listener_new):
1170 Call spi_dec_translate_mask to set up virtual mod bits
1171 in the 'mask' field when creating a new listener struct.
1172 (spi_dec_emit_modifier_event):
1173 Set the virtual (i.e. NumLock) bits before emitting event.
1174 (spi_controller_register_with_devices):
1175 Query for the NumLock modifier 'physical' bit if Xkb is
1176 present, for use in above methods.
1180 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1182 * registryd/deviceeventcontroller.c:
1183 (spi_keystroke_from_x_key_event):
1184 Instead of checking to see if the keysym is
1185 printable, check the string from XLookupString
1186 if available, get the first unicode character from it,
1187 and call g_unichar_isprint to determine whether the
1188 is_text flag should be TRUE or FALSE.
1192 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1194 * atk-bridge/bridge.c: Add support for extended events
1195 * cspi/spi_event.c: Add documentation and implementation for
1197 * tests/event-listener-test.c: Add tests for extended events.
1199 This fixes bugs #100424 and #100426.
1201 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1203 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1204 of LT_CURRENT. This fixes bug #89350.
1206 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1208 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1209 number of signal parameter values before accessing them. This fixes
1212 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1214 * configure.in: Fixed duplicate inclusion of -lspi.
1215 * branched for gnome-2-2/HEAD.
1216 [created tag "gnome-2-2"]
1218 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1220 * configure.in: 1.1.9 release.
1223 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1225 [needed by GOK, to fix bugs 107985 and 107988]
1226 * registryd/deviceeventcontroller.c:
1227 (spi_dec_clear_unlatch_pending):
1228 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1229 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1230 (spi_dec_init_mouse_listener):Emit warning if mouse button
1232 (spi_device_event_controller_forward_mouse_event):
1233 Removed unnecessary parens from a conditional.
1234 (global_filter_fn):Added TODO comment.
1235 (impl_generate_keyboard_event):
1236 Cancel a pending relatch if a 'delatching' key was
1239 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1241 * atk-bridge/bridge.c:
1242 Change atk_signal_child_changed to atk_signal_children_changed.
1243 Reorganize code in spi_atk_bridge_signal_listener().
1245 * test/event-listener-test.c:
1246 Add children_changed_listener and report_children_changed_event()
1247 to test AccessibleChildEvent_getChildAccessible.
1249 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1251 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1252 g_strdup to CORBA_String_dup (bug #105291)
1254 * test/event-listener-test.c (report_text_event): Add call to
1257 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1259 * registryd/deviceeventcontroller.c:
1260 (spi_keystroke_from_x_key_event):
1261 Fix string and keysym return codes to match modifier state.
1264 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1266 * registryd/deviceeventcontroller.c:
1267 (spi_keystroke_from_x_key_event):
1268 Fix segv due to improper use of isprint(c). [bug #107254]
1270 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1273 (get_accessible_text_boundary_type):
1274 Move default return value to (new) default case in switch.
1275 (get_accessible_text_clip_type):
1276 Move default return value to (new) default case in switch.
1278 * libspi/application.c:
1279 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1280 Remove unused methods.
1281 (impl_accessibility_application_register_object_event_listener):
1282 Remove unused methods.
1285 Added #include of <math.h>.
1287 * registryd/deviceeventcontroller.c:
1288 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1289 we don't currently use this method.
1290 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1292 (impl_generate_key_event):
1293 Remove unused variables.
1294 (impl_generate_mouse_event):
1295 Initialize button to zero, just in case we get an invalid
1296 input. Added support for mouse buttons 4 and 5.
1297 (spi_device_event_controller_new):
1298 Removed unused variable declaration for 'private'.
1300 Added #include of <gdk/gdk.h>
1302 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1304 * configure.in: Update to work when X is not installed in expected
1305 location. Fixes bug #105836.
1307 * atk-bridge/bridge.c
1308 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1310 (spi_atk_register_event_listener): Add signal listener for
1312 (spi_atk_bridge_signal_listener): Event event when link-selected
1313 signal is emitted. (bug #104622)
1315 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1316 on returned string. (bug #105291)
1318 * test/event-listener-test.c: Add test for link-selected.
1320 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1322 * atk-bridge/Makefile.am: Correct typo in previous commit.
1324 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1326 * atk-bridge/Makefile.am: Allow for build directory to be different
1327 from source directory
1329 * registryd/Makefile.am: Allow for build directory to be different
1330 from source directory
1334 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1337 Fixed dependencies for libcspi so that libspi gets pulled in
1338 properly. Fixes 104741.
1342 Clean up inline docs a little.
1344 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1346 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1347 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1348 the AtkObject within an SpiDesktop.
1349 This addresses bug #101524.
1351 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1352 Remove call to gdk_init().
1354 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1355 so that Display is set when SpiDesktop is created.
1357 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1359 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1360 This fixes bug #102830.
1362 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1364 * test/test-simple.c: Update to take account of fact that GailButton
1365 now implements AtkText.
1366 (create_text_window): Set name on AtkObject for GtkEntry.
1367 (validate_accessible): Check accessible name before calling test_text().
1369 * libspi/Makefile.am: Fix problem with building outside of source
1370 directory. Bug #98120.
1372 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1373 typo in documentation comments. Bug #94275.
1375 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1377 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1379 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1382 Add includes to avoid compiler warnings on Solaris.
1383 (impl_getRangeExtents): Bug fix.
1385 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1387 Fix for 100944, [API addition approved by Gman and murrayc].
1394 * idl/Accessibility_Text.idl:
1395 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1396 (Text::getRangeExtents): New method for efficient
1397 bounds query of a text range.
1398 (Text::getBoundedRanges): New method for efficient
1399 clipping of text to bounding boxes.
1400 (unImplemented7, unImplemented8):
1401 Removed these padding methods to preserve bincompat.
1404 (impl_getRangeExtents): implementation of new IDL.
1405 (impl_getBoundedRanges): implementation of new IDL.
1406 (SpiTextRect): Internal use struct.
1407 (_spi_text_rect_union): internal method, calculates union of two
1408 SpiTextRect bounding rects.
1409 (_spi_text_range_seq_from_gslist): internal method, allows us
1410 to build our sequence efficiently as a gslist then convert it
1412 (_spi_bounds_contain): internal method, determines whether
1413 a text character is "in" or "out" of a clip rect according to
1414 values of TEXT_CLIP_TYPE.
1415 (spi_text_class_init): Initialize the new methods in the epv.
1418 (AccessibleTextClipType): New enum used by screen review api.
1419 (AccessibleTextRange): New struct used by screen review api.
1420 (AccessibleText_getRangeExtents):
1421 cspi binding for Accessibility_Text_getRangeExtents.
1422 (AccessibleText_getBoundedRanges):
1423 cspi binding for Accessibility_Text_getBoundedRanges.
1424 (AccessibleTextRange_freeRanges): convenience method.
1427 (AccessibleText_getRangeExtents):
1428 cspi binding for Accessibility_Text_getRangeExtents.
1429 (AccessibleText_getBoundedRanges):
1430 cspi binding for Accessibility_Text_getBoundedRanges.
1431 (AccessibleTextRange_freeRanges): convenience method.
1432 (get_accessible_text_clip_type): internal conversion method.
1433 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1435 * registryd/deviceeventcontroller.c:
1436 (spi_dec_mouse_check):
1437 Improved behavior for mouse:abs events
1438 [same granularity as mouse:rel events, and no
1439 events when mouse is idle].
1441 2002-12-16 Michael Meeks <michael@ximian.com>
1443 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1445 * libspi/stateset.c (state_spi_to_atk): split out
1446 ( fix several remote array bounds nasties )
1447 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1448 (impl_remove): make safe from array bounds issues.
1449 (spi_atk_state_from_spi_state): impl.
1451 * libspi/stateset.h (spi_state_set_cache_is_empty):
1452 add a set of wrapper defines to get layering right.
1454 * cspi/spi_accessible.c: update state set stuff to
1457 2002-12-14 Michael Meeks <michael@ximian.com>
1459 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1460 to avoid 2 roundtrips to the registry per key event
1461 (spi_atk_bridge_key_listener): upd.
1462 (deregister_application): release the dec.
1464 * registryd/registry.c (notify_listeners_cb):
1465 bin lots of re-enterant complexity - we no longer
1466 do a round-trip bonobo ref here, ensure that a single
1467 listener's exception failure won't poison all other
1469 (impl_registry_notify_event): bin obvious memory leak.
1471 2002-12-13 Michael Meeks <michael@ximian.com>
1473 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1474 init the ev so the error is meaningful.
1475 (spi_atk_bridge_key_listener): ditto.
1477 * cspi/spi_main.c (cspi_ev): init the ev so we start
1478 with a clean slate, otherwise the first exception
1479 kills us completely.
1481 * cspi/spi_text.c (get_accessible_text_boundary_type):
1482 add a fallthrough for no warnings.
1484 * cspi/spi_registry.c: prune unused warnings.
1486 * cspi/spi_main.c (cspi_object_take): fix
1487 mind-blowing brokenness ( by watching the compile
1490 * cspi/spi_accessible.c (Accessible_getStateSet):
1491 re-impl. to use an AtkStateSet.
1492 (spi_state_type_from_accessible_state),
1493 (init_state_table): bin these.
1495 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1497 (atk_state_set_from_accessibility_state_set): here.
1499 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1500 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1501 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1502 (AccessibleStateSet_add, AccessibleStateSet_remove),
1503 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1504 (AccessibleStateSet_isEmpty): re-write to use a local
1507 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1509 * configure.in: Revved to 1.1.7 (new keymask vals).
1511 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1513 * libspi/keymasks.h:
1514 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1516 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1519 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1520 to compare two CORBA_TypeCodes.
1521 (cspi_internal_event_add): Silence warning from FORTE compiler.
1523 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1524 avoid implicit declaration of functions.
1526 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1528 * atk-bridge/bridge.c:
1529 (spi_atk_bridge_init_event_type_consts): Store signal id for
1530 active-descendant-changed signal.
1531 (spi_atk_register_event_listeners): Add signal listener for
1532 active-descendant-changed signal,
1533 (spi_atk_bridge_signal_listener): Move code in function
1534 spi_atk-signal_emit_event() into this function.
1535 Add support for active-descendant-changed
1536 Update support for child-changed signal.
1537 (spi_bridge_window_event_listener): Silence warning.
1539 * libspi/spi_private.[ch]:
1540 (spi_init_any_object): Change second parameter from CORBA_Object to
1542 Omit call to CORBA_Object_duplicate().
1543 Set CORBA_any's _value to CORBA_Object*.
1545 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1551 (AccessibleEvent_ref, AccessibleEvent_unref):
1552 New methods, for persisting an event outside the emission context.
1553 Must be used if the new accessor methods are to be called
1554 outside of the event listener's callback.
1556 * cspi/bonobo/cspi-bonobo.c:
1557 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1558 as second parameter instead of NULL, so we can call
1559 cspi_check_ev afterwards.
1562 (cspi_object_take): New internal method,
1563 converts a CORBA_Object reference to a hard ref on
1564 an Accessible if possible, returning NULL if the object
1565 reference is invalid or an Accessible * otherwise.
1568 (AccessibleEvent_ref):
1569 Increment the event's internal private refcount, and
1570 add the event's internal struct to an internal cache
1571 if it's not already there.
1572 (AccessibleEvent_unref):
1573 Decrement the event's refcount and remove it from
1574 the cspi event cache if refcount==0.
1575 (cspi_event_compare): New private method.
1576 Compares two event structs via their ids. Used
1578 (cspi_internal_event_lookup): New private method.
1579 (cspi_internal_event_check): New private method,
1580 a 0-order sanity check for events to make sure their
1581 private data is intact.
1582 (cspi_internal_event_add, cspi_internal_event_remove):
1583 New private methods for managiing the event cache.
1585 * cspi/bonobo/cspi-bonobo-listener.c:
1587 Initialize the new private data elements (id, magic, ref_count).
1589 * atk-bridge/bridge.c:
1590 (spi_atk_bridge_signal_listener):
1591 Fixed bug #100530, passing wrong params to emission func.
1593 * registryd/deviceeventcontroller.c:
1594 (spi_dec_button_update_and_emit):
1595 Fixed type in mask bit operations; fix for #99799.
1597 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1599 Removed some of the more dangerous workarounds from
1600 previous commit; they are only needed by GOK, which
1601 in reality should be using another method to accomplish
1602 the goals. So on reconsideration some of the workarounds
1603 need to be reverted:
1605 * registryd/deviceeventcontroller.c:
1606 (spi_keycodes_contain, spi_dec_init_keycode_list):
1607 Removed these methods, used only by a nasty hack to try
1608 and detect whether a key synthesis should be allowed
1609 to reset the XKB latch state or not. This code was only
1610 required to work around an interaction between GOK,
1611 button events, and XKB.
1612 (impl_generate_key_event):
1613 Removed hack at end of key generation that tried to
1614 "do the right thing" if XKB latch keys were generated
1615 in the midst of button press/release pairs.
1618 Added a check for HAVE_XINPUT. Not normally used yet.
1620 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1622 Workarounds and fixes for mouse event/XKB interaction.
1624 * registryd/deviceeventcontroller.c:
1625 (spi_keycodes_contain, spi_dec_init_keycode_list):
1626 New internal methods.
1627 (spi_dec_set_unlatch_pending):
1628 Split the method that tells XKB to expect an
1629 unlatch (and revert it) out of the rest of the
1630 event handling code. This method is called by the
1631 two mouse event handlers (the poll and the filter).
1632 (spi_dec_update_and_emit, spi_dec_mouse_check):
1633 New methods split from spi_dec_poll_mouse_moved.
1634 The second one is now called from inside the filterFn
1635 when an XKB delatch event is received, to determine
1636 whether to revert the delatch or not.
1637 (spi_poll_mouse_moved): Refactor; also we can now
1638 properly handle the case where multiple button states
1639 have changed between polling cycles and we didn't get
1640 notified due to another client's grab.
1642 Synchronize the server while handling an XKB notification.
1643 Ugly, but apparently necessary to avoid nasty races.
1644 Check the mouse state on receipt of an XKB latch change,
1645 to decide whether to revert the latch or not. (Latches are
1646 reverted if there is an immediately preceding mouse button
1647 event that a client has consumed, in which case we don't want
1648 the user to see the side-effect of the event).
1649 (spi_device_event_controller_forward_mouse_event):
1650 Check for modifier events and fire before resetting mouse_mask_state,
1651 prevents losing modifier events.
1653 (impl_generate_keyboard_event):
1654 If we've just generated a keyboard event for a non-shift key,
1655 we don't want to revert the pending XKB latch.
1656 Otherwise, check the modifier state (via a call to
1657 spi_dev_mouse_check) and set the relatch mask to
1658 that state before returning.
1660 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1663 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1666 * atk-bridge/bridge.c:
1667 (spi_atk_register_event_listeners):
1668 Don't re-register for ATK events if the registry has died
1669 and the app needs to re-register; the ATK listeners are in
1670 process and doing so will cause duplicate emission.
1672 * registryd/deviceeventcontroller.c:
1673 (spi_poll_mouse_moved):
1674 Reformat the source, detect and emit multiple button-change
1675 events (i.e. if multiple buttons have changed between poll
1677 Add code to detect mouse-down events even when the pointer
1678 is grabbed; workaround for GOK bug 98420.
1679 (spi_controller_register_with_devices):
1680 Call XTestGrabControl with 'impervious' flag set to True,
1681 allows us to synthesize events and query the pointer even during
1682 an active grab by another client.
1683 (spi_device_event_controller_forward_mouse_event):
1684 Set the mouse_mask_state to the mouse_button_state from
1685 the intercepted event, to synchronize the grab listener with
1688 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1690 * cspi/spi_accessible.c:
1691 (AccessibleRole_getName):
1692 Added necessary strings for making this (deprecated)
1693 method work with the new role types.
1694 (init_role_table, role_table):
1695 Added definition of SPI_ROLE_APPLICATION.
1697 * libspi/spi-roletypes.h:
1698 Added SPI_ROLE_APPLICATION.
1700 * idl/Accessibility_Role.idl:
1701 Added ROLE_APPLICATION.
1703 * docs/reference/cspi/at-spi-cspi-decl.txt:
1704 Added SPI_ROLE_APPLICATION to docs.
1706 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1708 * cspi/spi_accessible.c
1709 (cspi_init_role_table): Do not write beyond end of role_table.
1710 (Accessible_getRole): Use correct type for value returned by
1711 Accessibility_Accessible_getRole().
1713 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1714 beyond end of role_table. (This fixes bug #98269)
1716 * libspi/application.c: Add include file spi-private.h for
1717 definition of spi_init_any_nil.
1719 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1723 * libspi/spi-private.h:
1724 Added DGB() macro, and extern int _dbg declaration.
1726 * registryd/registry.c:
1727 (definitions) storage for _dbg.
1728 (spi_registry_init):
1729 Get environment variable "AT_SPI_DEBUG".
1730 (spi_registry_set_debug):
1731 New method, to initialize _dbg value.
1732 (spi_listener_struct_new, spi_registry_object_finalize):
1733 (notify_listeners_cb):
1734 Changed fprintfs to use DBG and g_warning().
1736 * registryd/deviceeventcontroller.c:
1737 (_deregister_keygrab, spi_controller_register_device_listener):
1738 Changed debug/warning messages to use DBG macro.
1740 * libspi/listener.c:
1741 (impl_notify_event):
1742 Changed warning messages to use DBG macro and g_warning().
1744 * atk-bridge/bridge.c:
1745 (atk_bridge_init, spi_atk_bridge_get_registry):
1746 (spi_atk_bridge_exit_func):
1747 (spi_atk_bridge_property_event_listener):
1748 Changed status, warning, and error messages to use
1749 g_warning, g_message, and DBG macros.
1752 Read the state of the AT_SPI_DEBUG environment variable
1753 and set a local '_dbg' accordingly.
1755 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1757 FIXES for 98836, 98842, other bugs.
1760 Revved to 1.1.4, interface-age=4, binary-age=4.
1762 * registryd/deviceeventcontroller.c:
1764 Fixed crasher bug in last_mouse_pos initialization.
1766 * registryd/registry.c:
1767 (desktop_add_application, desktop_remove_application):
1768 Added (and then commented out) some support for
1769 object context marshalling. [TODO]
1771 * atk-bridge/bridge.c:
1772 (spi_atk_bridge_event_context_create):
1773 Commented out object context creation until it can
1774 be properly tested and debugged.
1776 * registryd/registry.c:
1777 (impl_registry_notify_event):
1778 Fixed crasher bug, we were calling
1779 spi_re_entrant_list_foreach () with an empty list.
1781 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1783 * idl/Accessibility_Action.idl:
1784 * idl/Accessibility_Component.idl:
1785 * idl/Accessibility_Desktop.idl:
1786 * idl/Accessibility_Event.idl:
1787 * idl/Accessibility_Hyperlink.idl:
1788 * idl/Accessibility_Image.idl:
1789 * idl/Accessibility_Relation.idl:
1790 * idl/Accessibility_Selection.idl:
1791 * idl/Accessibility_State.idl:
1792 * idl/Accessibility_Value.idl:
1793 Updated unimplemented slot count to minimum of
1794 four for all interfaces, for ABI freeze.
1796 * idl/Accessibility_EditableText.idl:
1797 * idl/Accessibility_Text.idl:
1798 Updated unimplemented slot count to six
1801 * idl/Accessibility_Registry.idl:
1802 Updated unimplemented slot count to six
1803 (also for DeviceEventController),
1806 * idl/Accessibility_Table.idl:
1807 Updated unimplemented slot count to eight,
1810 * idl/Accessibility_Event.idl:
1811 Added CORBA_any "any_data" member to Event struct.
1813 * idl/Accessibility_Event.idl:
1814 Added CORBA_any "any_data" member to Event struct.
1816 * atk-bridge/bridge.c:
1818 atk_signal_text_changed, atk_signal_child_changed,
1819 signal ids queried from gtype system.
1820 (AtkBridgeEventContextType): New enum.
1821 (AtkBridgeEventContextData): New struct.
1822 (AtkBridgeEventContext): New struct.
1823 (atk_bridge_init_event_type_consts):
1824 New method, initializes type contants for comparison
1825 prior to emit_eventv.
1826 (atk_bridge_event_context_init): New method,
1827 initializes a CORBA_any from an AtkBridgeEventContext.
1828 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1829 initialize the event.any_data struct.
1830 (spi_atk_bridge_event_context_create): New method,
1831 creates an AtkBridgeEventContext from signal/event info.
1832 (spi_atk_bridge_event_context_free): New method.
1833 (spi_atk_emit_eventv): Changed to take an
1834 AtkBridgeEventContext parameter. We now initialize
1835 the event.any_data member prior to notifying the
1836 Registry, via the AtkBridgeEventContext.
1837 (spi_atk_bridge_property_event_listener):
1838 (spi_atk_bridge_state_event_listener):
1839 Match emit_eventv signature.
1840 (spi_atk_bridge_object_event_listener):
1841 Match emit_eventv signature, and create an
1842 event context from the event details.
1843 Free the event context afterwards.
1844 (spi_atk_bridge_window_event_listener):
1845 Create an event context, pass it to the
1849 (AccessibleEvent_getContextString):
1850 (AccessibleEvent_getContextObject):
1851 New methods, allow query of AccessibleEvent objects
1852 for more context details (via the "any_data" member
1853 of the Event struct, above).
1856 Definitions for AccessibleEvent_getContextString
1857 and AccessibleEvent_getContextObject.
1859 * cspi/spi_listener.h:
1860 (InternalEvent): New struct.
1863 (AccessibleEvent_getContextString):
1864 (AccessibleEvent_getContextObject):
1865 Implementations of new methods, for obtaining
1866 additional context information from some event types.
1868 * cspi/spi_registry.c:
1869 (SPI_registerGlobalEventListener):
1870 Added mention of active-descendant-changed event in docs.
1872 * cspi/cspi-bonobo-listener.c:
1874 Marshal the any into the AccessibleEvent via
1877 * libspi/spi-private.h:
1878 #include <orbit/orbit.h>
1880 (spi_init_any_string):
1881 (spi_init_any_object):
1882 New convenience function declarations.
1886 (spi_init_any_string):
1887 (spi_init_any_object):
1888 New convenience function implementations.
1890 * registryd/deviceeventcontroller.c:
1891 (spi_poll_dec_mouse_moved):
1892 (spi_device_event_controller_forward_mous_event):
1893 Initialize any_data member of event.
1894 (spi_deregister_controller_device_listener):
1895 Fix incorrect param pass which was preventing deregistration.
1897 * registryd/registry.c:
1898 (desktop_add_application):
1899 (desktop_remove_application):
1900 Add object data to event's any_data before dispatch.
1902 Fix for error messages from GAIL.
1904 * test/event-listener-test.c:
1905 Test new ContextString and "any_data" API:
1906 (report_text_event): New method query and output context string.
1907 (main): register a new text listener with report_text_event
1910 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1912 Fixes for bugs 98127 and 97914.
1913 * cspi/spi-roletypes.h:
1914 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1916 * cspi/spi-statetypes.h:
1917 Added SPI_STATE_MANAGES_DESCENDANTS
1919 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1920 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1921 * cspi/spi_accessible.c:
1922 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1923 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1924 Accessibility_STATE_MANAGES_DESCENDANTS
1925 * libspi/accessible.c:
1926 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1927 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1928 As requested by Bill, I also cleaned up the alignment.
1929 * libspi/relation.c:
1930 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1931 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1932 * libspi/stateset.c:
1933 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1934 Accessibility_STATE_MANAGES_DESCENDANTS
1935 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1936 Document changes reflecting modifications to roles.
1937 * docs/reference/cspi/tmpl/spi_relation.sgml:
1938 Document changes reflecting modifications to relations.
1939 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1940 Document changes reflecting modifications to states.
1942 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1945 Revved to 1.1.3, interface-age=3, binary-age=3.
1946 Added REBUILD macro.
1949 Removed accessx-gui from the tests, since we have a nice
1950 keyboard accessibility capplet now :-)
1952 * test/keysynth-demo.c:
1953 (increment_scan): removed do-nothing default: case,
1956 * test/visual-bell.c:
1957 (main) : removed do-nothing default: case,
1960 * cspi/spi_action.c:
1961 (AccessibleAction_getKeyBinding_):
1962 Documented keybinding string format.
1966 (AccessibleText_getAttributes):
1967 Documented the text attribute string format.
1968 It's changed to use semicolon delimiters also,
1969 to prevent clashes with CSS attributes, but the old
1970 trick of looking for ", " strings will still work
1971 (as unreliably as ever). Fix for bug related to 97916.
1974 Include <cspi/bonobo/cspi-bonobo-listener.h>
1975 Fixes build warning.
1976 (SPI_freeAccessibleKeySet):
1977 (AccessibleKeystrokeListener_addCallback):
1978 (AccessibleKeystrokeListener_removeCallback):
1979 Modify to use AccessibleDeviceListener API internally,
1980 instead of AccessibleKeystrokeListener.
1982 * idl/Accessibility_Event.idl:
1983 Added two more empty slots to EventListener (for a total of four).
1985 * idl/Accessibility_Accessible.idl:
1986 Added four empty slots to Accessible interface.
1988 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1990 * idl/Accessibility_Registry.idl:
1991 (KeyEventType, EventType):
1992 Marked KeyEventType as deprecated; it duplicates
1993 functionality of EventType, which has been extended to
1994 include Mouse-button events.
1995 (KeyEventTypeSeq): defined in terms of EventType.
1996 (registerDeviceEventListener, deregisterDeviceEventListener):
1997 New methods, for managing listeners to device events,
1998 which potentially may consume them.
2001 Added definition for AccessibleDeviceListener.
2003 * cspi/spi-listener.h:
2004 (enum AccessibleDeviceEventType):
2005 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2006 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2007 for backwards compat.
2008 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2009 and typedef'd AccessibleKeystroke to it for back-compat.
2010 (AccessibleDeviceListenerCB):
2011 New function prototype typedef.
2014 (AccessibleDeviceEventMask): New typedef.
2015 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2016 (AccessibleKeyMaskType):
2017 Set equivalent to AccessibleModifierMaskType for back-compat.
2018 (SPI_createAccessibleKeystrokeListener):
2019 (AccessibleKeystrokeListener_unref):
2020 Deprecated in favor of equivalent (better-named) new API below..
2021 keystroke listeners are like all device listeners.
2022 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2023 New API names for old features :-).
2024 (AccessibleDeviceListener_addCallback):
2025 (AccessibleDeviceListener_removeCallback):
2026 (SPI_registerDeviceEventListener):
2027 (SPI_deregisterDeviceEventListener):
2031 (SPI_createAccessibleKeystrokeListener):
2032 Use new preferred API, cspi_device_listener_new() and
2033 cspi_device_listener_add_cb().
2034 (AccessibleKeystrokeListener_removeCallback):
2035 Use new preferred API, cspi_device_listener_remove_cb().
2036 (AccessibleKeystrokeListener_unref):
2037 Use new preferred API, cspi_device_listener_unref().
2038 (SPI_createAccessibleDeviceListener):
2039 (AccessibleDeviceListener_addCallback):
2040 (AccessibleDeviceListener_removeCallback):
2041 Implementation of new API.
2043 * cspi/spi_registry.c:
2044 (SPI_registerDeviceEventListener):
2045 (SPI_deregisterDeviceEventListener):
2046 Implementation of new API. Fixed memory leak and removed need to
2047 allocate EventTypeSeq (thanks Michael for catching this).
2048 Squashed a wayward CORBA_exception_free that shouldn't get called.
2050 * cspi/bonobo/cspi-bonobo-listener.c:
2052 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2053 (cspi_key_event): renamed to cspi_device_event().
2054 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2055 Extended to handle mouse button events as well as key events.
2056 (CSpiKeystrokeListener):
2057 Class superceded by CSpiDeviceListener.
2058 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2059 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2061 * cspi/bonobo/cspi-bonobo-listener.h:
2062 (CSpiKeystrokeListener):
2063 Class superceded by CSpiDeviceListener.
2064 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2065 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2067 * libspi/Makefile.am:
2068 Replaced keystrokelistener.h and keystrokelistener.c
2069 with devicelistener.h and devicelistener.c; keystrokelisener.h
2070 stub retained for back-compat.
2072 * libspi/keystrokelistener.c:
2076 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2078 * registryd/deviceeventcontroller.c:
2079 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2080 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2081 (DEControllerPrivateData): Added xkb settings data.
2082 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2083 button release events (which can't be captured via XGrabButton).
2084 Don't dispatch via the 'normal' event mechanism if the device event was
2086 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2087 Handle the typeseq data in its new location (see above).
2088 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2089 New methods, for "generic" device listeners.
2090 (spi_controller_register_device_listener):
2091 Now handle mouse event listeners as well as key listeners.
2092 (spi_controller_notify_mouselisteners):
2093 New internal method.
2094 (spi_device_event_controller_forward_mouse_event):
2095 Now we notify mouse device listeners as well as generating the
2096 non-consumable "mouse:" events.
2098 We must check and restore the XKB
2099 modifier map if we consume the event, since the act of triggering
2100 a mouse event will normally reset the XKB latch. This is required for
2102 (spi_controller_register_with_devices):
2103 Load the XKB settings when registering, and register for XKB
2104 state notify events.
2105 (spi_key_eventtype_seq_contains_event):
2106 Renamed spi_eventtype_seq_contains_event, since it's used
2107 internally for all device event types now.
2108 (spi_key_event_matches_listener):
2109 Uses spi_eventtype_seq_contains_event now.
2110 (spi_device_event_controller_object_finalize):
2111 Free the private data and the XkbKeyboard struct.
2112 (impl_register_device_listener, impl_deregister_device_listener):
2113 Implementation of new IDL.
2114 (spi_deregister_controller_device_listener):
2115 New internal method.
2116 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2117 More efficient implementation, we don't have to create a new
2118 XkbControls structure every time we query.
2119 (spi_device_event_controller_class_init):
2120 Initialize the epv entries for the new IDL. Assign the
2121 "spi-dec-private" quark.
2122 (spi_device_event_controller_init):
2123 Initialize the private data.
2124 (spi_device_event_controller_forward_key_event):
2125 Removed a bogus CORBA_exception_free() call.
2127 * registryd/deviceeventcontroller.h:
2128 Replaced inclusion of keystrokelistener.h with
2131 * test/event-listener-test.c:
2132 (report_mouse_event):
2135 Added mouse-event device listener.
2137 * test/test-simple.c:
2138 (create_test_window):
2139 Fixed regression (we were instantiating a GtkRange,
2140 which is now an abstract class). Also fixed to match
2141 existing AtkRole names, this seems to have changed in ATK
2142 awhile ago; too late now I think, and the new
2143 mechanism is at least elegant and consistent with the
2144 glib enum "nick" APIs.
2146 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2148 * idl/Accessibility_Relation.idl:
2149 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2150 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2151 * idl/Accessibility_Role.idl:
2152 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2153 * idl/Accessibility_State.idl:
2154 add STATE_MANAGES_DESCENDANTS
2155 * test/event-listener-test.c:
2156 Added a listener for active-descendant events.
2158 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2160 * atk-bridge/bridge.c
2161 (atk_bridge_init): If application is Bonobo component wait until top
2162 level is added before registering
2163 (spi_atk_bridge_do_registration): New function which contains code,
2164 formerly in atk_bridge_init, to do application registration.
2165 (spi_atk_bridge_toplevel_added): Signal called when top level
2166 added to Bonobo component
2168 This fixes bug #83134.
2170 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2172 * registryd/deviceeventcontroller.c
2173 Fixed compilation error caused by calling gettimeofday()
2176 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2181 Added template for HAVE_XKB.
2184 Changes to check for XKB, and to set the HAVE_XKB #define if it
2187 * libspi/listener.c:
2188 ()impl_notify_event): Make failure to get event source name
2191 * registryd/deviceeventcontroller.c:
2192 (#include): include X11/XKBlib.h.
2193 (DEControllerPrivateData) : New struct.
2194 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2196 (dec_synth_keycode_press) (dec_synth_keycode_release):
2197 New methods; split the key synthesis code into these methods.
2198 They check XKB settings before determining the "time" values to
2199 pass to Xtest; this fixes bug #95828.
2200 (impl_generate_keyboard_event): Changed to use methods above,
2201 instead of callng Xtest directly.
2202 (spi_device_event_controller_init): Initialize new privae struct s
2204 (spi_device_event_controllr_object_finalize):
2205 Free the (new) private data.
2207 * registryd/deviceeventcontroller.h:
2208 Add new gpointer to end of struct data.
2210 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2213 Incremented revision to 1.1.2, SONAME is still '.so', library
2214 extensions are ".so.0.0.2".
2216 * registryd/deviceeventcontroller.c:
2217 FIXES FOR #93592 and #95940.
2218 (statics): renamed mouse_button_state to mouse_mask_state,
2219 added key_modifier_mask.
2220 (spi_dec_poll_mouse_moved):
2221 Added key modifier checks, and emit "keyboard:modifiers"
2222 events when the key modifiers currently in use change.
2223 Also generate "mouse:abs" events periodically, even if the mouse
2224 is stationary (should we?).
2225 Alternatively we could generate "mouse:abs" events for either all
2226 mouse movements, or every 'nth' mouse movement, or at the
2227 beginning and end of every "active" mouse period.
2229 * test/event-listener-test.c:
2230 (main): Added listener for "keyboard:modifiers" events.
2232 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2234 * libspi/keymasks.h:
2235 Added key mask #defines for mouse buttons; e.g.
2236 SPI_KEYMASK_BUTTON1, etc.
2239 Incremented dependency on ATK to version 1.1.0. (This dependency
2240 is probably premature but will soon be real enough).
2242 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2244 * libspi/hyperlink.[ch]
2245 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2246 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2249 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2254 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2256 * registryd/deviceeventcontroller.c
2257 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2258 events to be ignored.
2259 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2260 keyboard_mode so that XAllowEvents() can be called.
2264 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2266 * cspi/spi-accessible.c: Correct names of roles returned by
2267 AccessibleRole_getName(). Fixes bug #95055.
2269 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2271 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2274 * registryd/registry.c
2275 (desktop_remove_application: Write diagnostic message to stderr for
2278 (impl_accessibility_registry_deregister_global_event_listener):
2279 Correct size of lists array. This addresses bug #94555).
2281 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2283 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2286 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2288 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2291 * registryd/registry.c (impl_registry_notify_event): Remove
2292 unnecessary call to parser_event_type().
2294 * docs/reference/cspi/tmpl/spi_component.sgml:
2295 Add reference to SPI_LAYER_WINDOW.
2297 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2299 * registryd/registry.c
2300 (desktop_add_application): Remove leak.
2301 (desktop_remove_application): Remove leak.
2302 (parser_event_type): Remove leak.
2304 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2306 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2307 bogus call to CORBA_string_dup(). Also removed unnecessary
2308 g_string_dup/g_free calls.
2310 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2312 * registryd/deviceeventcontroller.c:
2313 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2315 * test/event-listener-test.c:
2316 main: commented out three redundant listeners, to reduce output
2317 noise. (They still are potentially useful for testing).
2320 2002-09-13 Michael Meeks <michael@ximian.com>
2322 * Update all the copyrights to include Ximian.
2324 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2326 * cspi/spi.h: add SPI_LAYER_WINDOW.
2328 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2329 add Accessibility_LAYER_WINDOW case.
2331 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2333 * libspi/component.c: (impl_accessibility_component_get_layer):
2334 add ATK_LAYER_WINDOW case.
2336 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2338 * configure.in: incremented micro version.
2340 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2342 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2345 Clarified and reworded our commit policy.
2348 Started an API "todo" addition list for 2.2.
2351 (impl_getSelection):
2352 Free char pointer from atk_text_get_selection, which was being leaked.
2354 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2357 Small revision to author acknowledgement.
2359 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2361 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2362 If signal has detail add it to the type of the event.
2365 2002-08-12 Michael Meeks <michael@ximian.com>
2367 * test/test-simple.c (global_listener_cb): bin bogosity.
2368 (test_keylisteners): disable, still doesn't work reliably,
2369 certainly not on my system anyway.
2371 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2372 don't leak a reference on the DEC. This round-trip
2373 fetching of the DEC per keystroke sucks, it should be
2376 * cspi/spi-private.h,
2377 * cspi/cspi-lowlevel.h,
2378 * cspi/bonobo/cspi-bonobo-listener.[ch],
2379 * cspi/bonobo/cspi-bonobo.c: get the copyright
2380 notices better - there is still a large amount of
2381 work in at-spi falsely attributed solely to Sun.
2383 * cspi/spi_main.c (cspi_object_ref): kill bogus
2384 hash lookup, just increment the ref.
2385 (SPI_freeString): make explicit the fact that we
2386 handle NULL strings just fine.
2387 (report_leaked_ref): obey coding standards.
2388 (cspi_object_hash, cspi_object_equal): kill retval.
2389 (cspi_object_release): only release if not on loan.
2390 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2391 (cspi_object_borrow, cspi_object_return): impl.
2393 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2394 use cspi_object_borrow / return.
2396 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2398 * cspi/bonobo/cspi-bonobo-listener.c:
2400 Don't call cspi_oject_new() because this is creating a new Accessible
2401 every single time that an event is fired. This causes ATs like at-poke
2402 to nolonger recognise the source of the event and thus ignore it.
2403 Re-use the object from the cache, ref it and then unref it after the
2404 listeners have been called.
2406 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2408 * test/event-listener-test.c:
2409 Added command-line options to disable mouse events (m) and
2412 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2414 * configure.in: Update required versions of ATK, GTK+ and GAIL
2416 * cspi-1.0.pc.in: Add dependency for X include files
2419 * cspi/bonobo/Makefile.am:
2420 Add $(X_CFLAGS) so that X include files
2421 are picked up even if not in standard place (bug #71686)
2423 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2425 * registryd/deviceeventcontroller.c: fix for 84261
2426 (spi_dec_mouse_moved):
2427 Added test of mouse button mask, so that we can detect mouse
2428 button release. Unfortunately we can't otherwise detect mouse
2429 button release events without consuming the mouse press event,
2430 because of the way XGrabButton works. This means that our mouse
2431 release events have a latency dependent on the polling period
2432 while the mouse button is down. At least in this case we only
2433 have to poll while the button is down, and not at other times.
2434 If the button masks don't match with what the last press event
2435 reported, we report the appropriate button release event.
2436 (spi_dec_ungrab_mouse):
2437 New method (not yet called).
2438 (spi_device_event_controller_forward_mouse_event):
2439 New method, sends mouse press event from GdkFilter.
2440 (spi_dec_init_mouse_listener):
2441 Added code to call XGrabButton, redirecting mouse button events to
2442 the root window and our Gdk event loop.
2444 Added code to filter mouse button events, and reordered.
2446 * test/event-listener-test.c:
2448 Added registration for mouse events of type "mouse:button".
2450 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2452 * registryd/deviceeventcontroller.c: partial fix for 84261
2453 (spi_dec_poll_mouse_idle):
2454 New method, a timeout which checks to see if the mouse
2456 (spi_dec_poll_mouse_moving):
2457 A timeout to be called when mouse motion is underway.
2458 (spi_dec_poll_mouse_moved):
2459 A method which fires an event if the mouse has moved, and reports
2460 whether or not it did so.
2461 (spi_dec_init_mouse_listener):
2462 A method which sets up the timeouts above.
2463 (spi_device_event_controller_new):
2464 Now calls spi_dec_init_mouse_listener.
2466 * registryd/registry.c:
2467 (spi_registry_init):
2468 Now we initialize the device event controller when the registry is
2469 initialized, instead of waiting until a client has requested a key
2470 event notification; this is because we need the event controller
2471 for mouse events, but the mouse event registration API is a
2472 "registry" call and doesn't explicitly call the
2473 deviceeventcontroller.
2474 We now report mouse motion events with a 100 ms idle latency and
2475 a 20 ms granularity when motion is in progress.
2477 * test/event-listener-test.c:
2479 We now register the "detail listener" for events of type
2480 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2481 delivered only for the first mouse event received, and thereafter
2482 "mouse:abs" events are delivered.)
2484 * cspi/spi_registry.c:
2485 DOCS: Documented the above mouse event typestrings.
2487 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2489 Happy Summer Solstice...
2491 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2492 (spi_controller_notify_keylisteners):
2493 Changes to remove a listener from the listener list, freeing its
2494 open keygrabs, if a notification to that listener fails. This
2495 means that although a dead listener can continue to hold a passive
2496 keygrab, a maximum of one dispatch to such a listener can fail
2497 before the listener is removed from the list, thus the keygrab
2498 will be released on the next occurrence.
2499 As part of this fix:
2500 (spi_notify_keylisteners):
2501 Renamed to spi_controller_notify_keylisteners, as the controller
2502 instance must now be passed as an argument.
2503 The copied 'notify' GList is now a list of DEControllerKeyListener
2504 objects, since we need more than just the CORBA reference if a
2505 notify fails and we need to deregister the listener.
2506 (impl_notify_listeners_sync):
2507 (impl_notify_listeners_async):
2508 (spi_device_event_controller_forward_key_event):
2509 Modify use of notify_keylisteners in accordance with above
2511 (spi_deregister_controller_key_listener):
2512 New method introduced by refactoring, from
2513 impl_deregister_keystroke_listener.
2514 (impl_deregister_keystroke_listener):
2515 Call spi_deregister_controller_key_listener.
2516 (spi_key_listener_clone):
2517 New method to copy a key listner without doing a 'ref' on the
2518 remote object instance; used to create a notifier list.
2519 (spi_key_listener_data_free):
2520 New method, frees data without unreffing the source.
2522 (spi_key_listener_clone_free): new method.
2523 (spi_key_listener_free):
2524 refactored to call spi_key_listener_data_free.
2526 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2528 * registryd/registry.c: [fix for bug 86048]
2529 (notify_listeners_cb):
2530 Clear CORBA system exceptions which occur when notifying
2531 listeners, before returning to the source of the original event,
2532 since the event source doesn't care if the relayed notify failed.
2533 In other words, don't complain to the atk-bridge if the registry
2534 could not notify all its listeners, that's no fault of the
2535 application and thus should not appear to be an error from the
2536 application's perspective.
2538 * cspi/spi_main.c: [fix for bug 85980]
2540 Replaced use of bonobo_object_dup_ref with call to the wrapper
2541 method, csou_dup_ref (); this silences a compiler warning and
2542 provided more portability.
2544 Ping the registry before return, and restart if necessary.
2546 * cspi/bonobo/cspi-bonobo.c:
2548 New internal method.
2550 Fixed this method to return an object reference, as it should have
2553 * cspi/cspi-lowlevel.h:
2554 Added internal definition for cspi_ping() and fixed
2555 return type of cspi_dup_ref().
2558 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2560 * atk-bridge/bridge.c: [fix for bug 85305]
2561 (spi_atk_bridge_register_application):
2562 New method where the initial application registry calls have been
2563 moved; it allows an application to re-register in response to
2564 certain error conditions (such as a registry restart, see below).
2566 Moved some initialization code to the method
2567 spi_atk_bridge_get_registry, below.
2568 (spi_atk_bridge_get_registry):
2569 New, private accessor function for the Accessibility_Registry
2570 instance. If the registry has not been started before, or has
2571 died (as detected by failure of a CORBA exception), it is
2572 restarted before return, and spi_atk_bridge_register_application
2573 is called again to register with the new bridge instance.
2574 (spi_atk_emit_eventv):
2575 Set registry_died on error; use spi_atk_bridge_get_registry () to
2576 access the registry.
2578 * registryd/registry.c:
2579 (impl_accessibility_registry_register_global_event_listener):
2580 Set listener's event_type_quark to etype.minor instead of
2581 etype.major (fix for bug 84856).
2583 * test/event-listener-test.c:
2584 (report_detail_event):
2585 Change the output string so that user/tester can tell that the
2586 'detail listener' was called instead of the 'generic listener'.
2588 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2590 Fixes for bugs 84900, 84908, 84897, 84898.
2595 Revved version to 1.1.0
2596 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2597 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2599 * idl/Accessibility_Registry.idl:
2600 (EventListener::notifyEvent):
2601 Removed 'oneway' directive after extensive consulation with
2602 ORBit2 team and others. This means also that unref() of the event
2603 source can and should be done synchronously after emission, rather
2604 than remotely in the client, after servicing the notify call on
2607 NOTE: This change speeds up listener performance considerably, but
2608 introduces new latency on the application side. We may want to
2609 add an event queue to the atk-bridge.
2611 * atk-bridge/bridge.c:
2612 (spi_atk_bridge_focus_tracker):
2613 Do a local unref() on the event source after emission.
2615 * registryd/registry.c:
2616 (desktop_remove_application):
2617 Do an unref() on the event source after emission.
2618 (desktop_add_application):
2619 Do an unref() on the event source after emission.
2620 (notify_listeners_cb):
2621 When relaying an event, don't automatically add the event source
2622 to the local object cache, just CORBA_dup it instead. Likewise,
2623 if this method reenters, release the ref rather than calling
2625 (impl_registry_notify_event):
2626 No longer call remote unref() on the event source after dispatch.
2628 * libspi/eventlistener.c:
2629 (impl_accessible_event_notify_event):
2630 Removed remote unref ()
2632 * cspi/bonobo/cspi-bonobo-listener.c:
2634 We now call cspi_object_new() instead of cspi_object_add() on
2635 receipt of an event; thus we only have an implicit object ref
2636 while the cspi_event method is being executed. If we need to keep
2637 a reference to the object, the listener must call ref() on the
2638 object. Thus also we don't need to call cspi_object_unref() after
2639 invoking the listener callbacks in this method.
2643 New internal API for creating a new cspi object, without adding it
2644 to the object cache.
2646 Now uses cspi_object_new() to create the cspi object instance.
2648 Now checks to see if the object is in the internal object cache,
2649 and adds it if necessary before incrementing its refcount (note
2650 that new objects are added with a refcount of 1).
2651 (report_leaked_ref):
2652 New method which gives some information on leaked object instances
2653 if leak detection is turned on.
2655 * test/event-listener-test.c:
2656 (timing_test_event):
2657 New method, used for testing event delivery timing for special
2658 events of type "object:test". It reports elapsed time and
2659 events/sec every 500 events.
2661 Added a new listener, 'test listener', to check timing of event
2662 receipt as noted above.
2664 Added some timing output here also, reports elapsed time every 100
2667 * test/stress-test.c:
2668 Emit events of type "object:test", for use with "event-listener-test".
2670 * test/test-simple.c:
2671 (global_listener_cb):
2672 Call Accessible_ref() on the event source before calling
2673 validate_accessible, since the validation process does pointer
2674 comparisons on the event source, meaning that the event source
2675 needs to be added to the local object cache first. Any use of
2676 such pointer comparisons between Accessible objects requires that
2677 the caller hold an explicit reference to those objects.
2678 We also must therefore call Accessible_unref() when leaving this method.
2680 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2682 * registryd/deviceeventcontroller.c:
2683 (spi_controller_update_key_grabs):
2684 Fix for #84735, subsequent keygrab listeners not informed of
2685 registration failure.
2688 (spi_base_construct):
2689 Add an assertion on construct, to make sure the GObject passed in
2690 is really a GObject.
2692 Explicitly initialize object->gobj pointer to NULL;
2694 * cspi/bonobo/cspi-bonobo-listener.c:
2695 (cspi_object_add_ref):
2696 New method, can specify whether to dup-ref a bonobo object passed
2697 in if it's newly added to the object cache.
2699 Now calls cspi_object_add_ref with second param of "FALSE". This
2700 prevents us from doing a pointless dup-ref followed by
2701 release-unref for all those cases where the object is already in
2702 our object cache (fix for #85205).
2704 * atk-bridge/bridge.c:
2705 (spi_atk_bridge_idle_init):
2706 Removed this method, we don't need to initialize in an idle
2709 Changed to call spi_atk_register_event_listeners directly, not via an
2710 idle handler. (fix for #81139)
2711 (gnome_accessibility_module_shutdown):
2712 Removed conditional around deregistration of listeners, since we
2713 don't use the idle handler and thus have always registered when
2715 (spi_init_keystroke_from_atk_key_event):
2716 Changed references to Accessibility_KEY_PRESSED to
2717 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2719 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2721 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2726 * test/stress-test.c:
2729 (may have been an incomplete commit yesterday?)
2731 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2734 Added target for new stress-test.
2736 * test/stress-test.c:
2737 New test, sends 1000 focus notifies in quick succession.
2739 * test/key-listener-test.c:
2740 Now we report whether a keylistener registration
2741 request succeeded or failed.
2743 * test/event-listener-test.c:
2744 Uncommented some listeners which are now implemented.
2747 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2749 * registryd/deviceeventcontroller.c:
2750 (spi_controller_update_key_grabs):
2751 Fix for #82509, lack of failure notification when
2752 ALL_WINDOWS keygrabs fail due to XGrabKey
2753 failure: we synchronize the server when
2754 registering a passive grab, to make sure we get the
2755 error message before the call returns.
2757 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2759 * test/test-simple.c:
2761 Removed #ifdef KEY_IMPL_WORKS guards.
2762 (test_keylisteners):
2763 Removed #ifdef KEY_IMPL_WORKS guards.
2764 Fixed bug which was causing a hang waiting for a
2765 "press" event (which was already overwritten by a "release"
2766 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2768 Added code to set globals 'key_press_received' and
2769 'key_release_received'.
2772 Added section "1.1 API Proposed Additions" which
2773 lists API additions desired for at-spi-1.1 (only one so far).
2774 Updated TODO list a little.
2776 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2778 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2781 * configure.in: Revved to 1.0.0.
2783 * idl/Accessibility_Registry.idl:
2784 (registerKeystrokeListener):
2785 Added boolean return value.
2787 * registryd/registry.c:
2788 (notify_listeners_cb): Minor fix to debug output.
2790 * registryd/Accessibility_Registry.server.in.in:
2791 Revved version number in OAFIID to 1.0.
2793 * registryd/registryd.c:
2795 Use new OAFIID version.
2797 * cspi/bonobo/cspi-bonobo.c:
2799 Use new OAFIID version.
2805 * atk-bridge/bridge.c:
2807 Use new OAFIID version.
2809 * registryd/deviceeventcontroller.c:
2810 (impl_register_keystroke_listener):
2811 Added CORBA_boolean return value.
2812 (spi_controller_register_device_listener):
2813 Added gboolean return value.
2814 (spi_controller_register_global_keygrabs):
2815 Added gboolean return value.
2816 (spi_key_set_contains_key):
2817 Added implementation for many more control keys,
2818 for instance F1-F12, arrow keys, End, Home, Page_Up,
2820 [TODO: some still not implemented].
2822 * text/screen-review-test.c:
2823 (text_chunk_pad_string):
2824 New function: it provides mapping between coordinate
2825 positions of text chunks and character positions in the
2826 screen-review-line output string.
2827 (text_chunk_to_string):
2828 New function, calls text_chunk_pad_string with various
2829 pad/delimiter characters. Pushbuttons are delimited with
2830 square brackets, Frames with vertical 'pipe' lines, and
2831 other text with double quotes.
2832 (text_chunk_list_to_string):
2833 Calls new function text_chunk_to_string.
2834 (toplevel_composite):
2835 New function to composite layers CANVAS through
2836 POPUP in each toplevel (other layers are composited
2837 across toplevels, i.e. BACKGROUND and OVERLAY).
2838 (review_buffer_composite):
2839 Revise to use new methods.
2845 2002-05-31 Laszlo Peter <laca@sun.com>
2847 * configure.in: add the Xtst libdir to the runpath on Solaris,
2848 since it's not in the default library search path.
2850 2002-05-29 jacob berkman <jacob@ximian.com>
2852 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2854 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2856 * test/screen-review-test.c:
2857 (text_chunk_pad_string):
2858 Added method, which pads the string according to the
2859 text bounds of the chunk. It also takes a 3-character
2860 string as a param which indicates the characters to be
2861 used for start, padding, and end delimitation of the chunk.
2862 (text_chunk_to_string):
2863 Changed to use text_chunk_pad_string.
2865 * configure.in: Fixed bug in AC_OUTPUT that was
2866 causing path substitution in Accessibility_Registry.server
2869 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2871 * text/screen-review-test.c:
2872 (guess_string_clip):
2873 New method which attempts a best-guess at clipping
2874 text from components (like Java labels) which don't
2875 actually implement AccessibleText. This inaccurate
2876 clip is based on the assumption that the label is
2877 justified left-and-right, and monospaced.
2878 (text_chunk_get_clipped_string):
2879 We now call guess_string_clip() for text-containing
2880 components that don't implement AccessibleText.
2882 * test/screen-review-test.c:
2883 (review_buffer_get_text_chunk):
2884 We now pull "name" from labels if they do not implement
2885 AccessibleText (i.e. for Java labels).
2886 (get_screen_review_line_at):
2887 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2890 Replaceded AC_OUTPUT target
2891 registryd/Accessibility_Registry.server with
2892 registryd/Accessibility_Registry.server.in.
2894 * registryd/Accessibility_Registry.server.in:
2895 Removed (this is now a Makefile target).
2897 * registryd/Accessibility_Registry.server.in.in:
2898 Added (source for target above). We now use $(libexecdir) as
2899 prefix for the executable at-spi-registryd.
2901 * registry/Makefile.am:
2902 Now install at-spi-registryd into $(libexecdir), and build .server
2903 file with path (see above).
2905 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2907 * test/screen-review-test.c:
2908 (text_chunk_get_clipped_string):
2909 We now check to see if words fall within clip bounds
2910 before resorting to character-by-character clip bounds testing.
2912 * TODO: Added a section for "2.2 Proposed API Additions".
2914 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2916 * test/screen-review-test.c:
2918 Added a screen review benchmarking and test program to test
2921 * cspi/spi_accessible.c:
2923 Made some of the debug strings passed to cspi_check_ev a
2924 little more specific.
2926 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2928 * test/screen-review-test.c: Fix crashes in debug statements
2930 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2932 * test/screen-review-test.c: Added this file.
2934 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2936 * atk-bridge/bridge.c: changed "object:state-change" to
2937 "object:state-changed" to match docs.
2939 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2941 * atk-bridge/bridge.c: Hooked up state-change event details.
2943 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2945 * registryd/registry.c:
2946 Fixed quarking bug in event string parsing; now events with
2947 detail parameters get matched correctly to listeners.
2950 * util/idl/Magnifier.idl: remove.
2952 * util/*.[ch]: Remove.
2953 Magnification utilities and IDL are now in module gnome-mag.
2955 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2957 * registryd/deviceeventcontroller.c:
2958 Fixed bug in grab key conversion which was causing keycode grabs
2959 to be converted to AnyKey grabs.
2962 updated NEWS file to reflect recent spin-off of gnome-mag.
2964 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2966 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2967 busted AccessibleStateSet_compare. Removed redundant casts.
2969 * cspi/spi-action.c: Removed redundant casts.
2971 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2973 * cspi/spi_component.c: Fixed typos and casting error.
2975 * cspi/spi_editabletext.c: Removed redundant casts.
2977 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2979 * cspi/spi_hypertext.c: Eliminated redundant casts.
2981 * cspi/spi_image.c: Eliminated redundant casts.
2983 * cspi/spi_registry.c: Eliminated redundant casts.
2984 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2985 * cspi/spi_selection.c: Removed redundant casts.
2986 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2987 handling. Screen geometry and text offsets were being returned as 0
2988 on error which is technically valid-- changed these to return -1.
2989 Added marshaller for text boundary types to fix bug with boundary
2990 types being passed incorrectly to atk.
2992 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2995 * cspi/spi_registry.c:
2996 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2997 which was uncovered by the recent key changes.
2999 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3001 * test/event-listener-test.c:
3003 Added new test, "event-listener-test";
3004 this code does two things; it benchmarks traversal time
3005 for the accessible hierarchy for the first running accessible
3006 app, and it connects listeners for all supported event types.
3007 It is thus useful as an example event listener and for
3008 diagnostics/debugging of event generation.
3010 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3013 Removed unnecessary dependency on libutil.
3016 Revved micro version: 0.13.1
3018 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3021 Removed util/Makefile from targets.
3024 Removed util subdir from SUBDIRS (temporarily,
3025 pending removal of magnifier-only code
3029 #ifdef-ed out magnifier dependencies, since
3030 magnifier IDL, headers, and binary now live in
3031 module gnome-mag and we don't want at-spi to depend
3032 on gnome-mag. A magnifier demo which can run alongside
3033 simple-at is forthcoming in the gnome-mag module.
3035 NOTE: Split magnifier binary, IDL, and magnification
3036 activation code from at-spi into module gnome-mag.
3038 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3040 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3041 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3043 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3046 Revved to version 0.13.0
3048 * idl/Accessibility_Registry.idl:
3049 Changed definition of KeySet from sequence of longs to sequence of
3050 KeyDefinitions, and added KeyDefinition struct.
3051 Required for fix to bug 80616.
3053 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3054 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3055 to use new definition (see above).
3057 * registryd/deviceeventcontroller.c: handle_keygrab(),
3058 spi_keyset_contains_key():
3059 Changed to make use of new struct; this allows matching based on
3060 string key-name, for instance "Tab". This also allows matching of
3061 composed characters, non-alphanumeric characters in a way that
3062 doesn't involve dependencies on X keysym codes directly, etc.
3064 * test/key-listener-test.c:
3065 Added test for Alt-Tab key using "string" specification of keyset,
3066 and modified one of the tests to use a keycode-based keyset.
3067 Thus this test both tests and demonstrates the creation and use of
3068 keysets of three forms: specified via keycode array,
3069 keysym array, and string array. (The string case only contains a
3070 single string, i.e. a string array of length 1).
3073 Turned on PRINT_TREE option by default. Also fixed a
3074 string-freeing bug in the PRINT_TREE code.
3075 Added a listener to window:minimize events.
3077 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3079 * atk-bridge/bridge.c:
3080 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3081 for window:activate and window:deactiveate
3082 (atk_bridge_property_event_listener atk_bridge_signal_listener
3083 atk_bridge_window_event_listener) Tidy debug code
3085 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3087 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3088 Fixed handling for NULL return value from ATK.
3090 * libspi/action.c libspi/component.c libspi/editabletext.
3091 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3092 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3093 Removed redundant casts.
3095 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3096 Fixed off by one bug.
3098 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3099 function not present in idl)
3101 2002-05-02 jacob berkman <jacob@ximian.com>
3103 * atk-bridge/Makefile.am: make atk-bridge a real module
3105 2002-04-26 Radek Doulik <rodo@ximian.com>
3107 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3108 atk_state_types table
3110 2002-04-22 jacob berkman <jacob@ximian.com>
3113 * libspi/Makefile.am: add deps on the built files to help
3114 automake, and don't version the ORBit typelib
3116 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3118 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3119 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3120 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3121 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3122 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3123 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3124 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3125 libspi/accessible.h libspi/accessible.h libspi/base.h
3126 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3127 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3128 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3129 libspi/spi-private.h libspi/statetset.h libspi/table.h
3130 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3131 util/mag_client.h util/mag_control.c util/mag_image.c
3132 util/mag_image.h util/magnifier.c util/magnifier.h:
3133 Add missing file headers; standardize existing ones
3135 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3137 * atk-bridge/bridge.c: Added window event support.
3139 2002-04-18 Michael Meeks <michael@ximian.com>
3141 * libspi/relation.c (impl_getNTargets): impl.
3142 (impl_getTarget): impl.
3144 * libspi/Makefile.am: fix stateset install.
3146 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3149 Started putting useful info in this file.
3151 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3153 * atk-bridge/bridge.c:
3154 Propagate state-changed notifications to ATs
3156 * cspi/spi_registry.c: update docs to reflect actual behavior of
3157 state-change events.
3159 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3162 Incremented version to 0.12.1
3164 * util/mag_client.h:
3165 Add missing declaration for magnifier_exit,
3166 used by mag_control.c - Forte compiler didn't like
3167 the implicit redeclaration of the function :-(
3170 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3173 Revved version to 0.12 due to API change (see below).
3175 * cspi/spi-roletypes.h:
3176 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3177 definition from the inline docs, and added docs
3178 for SPI_ROLE_LAST_DEFINED.
3181 * cspi/spi_streamablecontent.c:
3182 Added missing seek_type parameter to
3183 (so far unused) method,
3184 AccessibleStreamableContent_seek().
3185 [ RT approval JodyG. ]
3188 Fixed docs for SPI_createAccessibleKeystrokeListener.
3190 * cspi/spi_registry.c:
3191 Fixed docs for SPI_KEYSET_ALL_KEYS.
3193 * docs/reference/cspi/at-spi-cspi-sections.txt:
3194 Added a number of missing APIs to SECTIONS.
3196 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3198 * registryd/Makefile.am:
3200 * cspi/bonobo/Makefile.am:
3201 Add $(X_LIBS) to makefiles.
3203 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3206 Revved version to 0.11.
3208 * libspi/component.c:
3209 Added implementation for grabFocus.
3211 * idl/Accessibility_Component.idl
3212 (Accessibility_Component_grabFocus):
3213 Made this method return boolean to indicate success or failure, to
3214 be consistent with cspi and the corresponding ATK method.
3216 * idl/Accessibility_Selection.idl
3217 (Accessibility_Selection_selectAll) :
3218 Made these methods return boolean to indicate success or
3219 failure, to be consistent with cspi and the corresponding ATK methods.
3221 * idl/Accessibility_EditableText.idl
3222 (Accessibility_EditableText_setTextContents,
3223 Accessibility_EditableText_insertText,
3224 Accessibility_EditableText_cutText,
3225 Accessibility_EditableText_deleteText,
3226 Accessibility_EditableText_pasteText):
3227 Made these methods return boolean to indicate
3230 * cspi/spi_editabletext.c:
3231 Made these methods return booleans.
3233 * libspi/selection.c:
3234 * libspi/component.c:
3235 * libspi/editabletext.c:
3236 Connected the boolean returns from ATK
3237 to the server-side code referenced above.
3239 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3241 * idl/Accessibility_Table.idl: Added missing methods,
3242 Accessibility_Table_addRowSelection,
3243 Accessibility_Table_addColumnSelection,
3244 Accessibility_Table_removeRowSelection,
3245 Accessibility_Table_removeColumnSelection.
3248 Added C wrappers for above IDL:
3249 AccessibleTable_addRowSelection,
3250 AccessibleTable_addColumnSelection,
3251 AccessibleTable_removeRowSelection,
3252 AccessibleTable_removeColumnSelection.
3255 Added server-side implementation code for IDL above, connecting
3256 to pre-existing ATK api.
3258 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3260 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3262 * libspi/accessible.c: Added implementation fo
3263 Accessibility_Accessible_get_state.
3265 * libspi/libspi.h: Added stateset.h to the list of includes.
3267 * libspi/stateset.c: Fixed broken implementation.
3269 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3272 Added implementation code for Accessibility_Magnifier_exit ().
3274 * util/mag_control.c:
3275 Added test code for above method; you can
3276 now kill an existing magnifier via
3277 ./mag_control q, from the util directory.
3279 * test/key-listener-test.c:
3281 Added a new test, for our key listener API.
3283 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3285 * test/app.c, test/keysynth-demo.c:
3287 Replace use of snprintf with g_snprintf.
3288 (fix for bugzilla 78249)
3290 2002-03-27 Michael Meeks <michael@ximian.com>
3294 * util/Makefile.am (INCLUDES): fix.
3295 (DONT_DIST_SOURCE): don't distribute the
3298 * libspi/Makefile.am (dist-hook): ditto.
3300 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3302 * libspi/hypertext.c:
3303 Fix warnings when yelp is used with atk-bridge
3305 2002-03-21 Michael Meeks <michael@ximian.com>
3307 * libspi/application.c (spi_application_new):
3308 use spi_accessible_construct so we use the AtkObject
3311 2002-03-19 Michael Meeks <michael@ximian.com>
3313 * registryd/registry.c (desktop_remove_application),
3314 (desktop_add_application): clean coding style.
3316 * registryd/desktop.c (spi_desktop_remove_application),
3317 (spi_desktop_add_application): kill re-enterency hazards.
3318 (spi_desktop_dispose): remove bogus redundant cast
3319 obscuring bug; fix bug too.
3320 (spi_desktop_init): make the desktop object immortal.
3322 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3325 Added a #define-guarded tree-traversal step
3326 when enumerating the apps (diagnostic tool).
3328 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3330 * idl/Accessibility_Role.idl:
3331 Added ROLE_DRAWING_AREA which seemed to be missing from the
3334 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3336 * cspi/spi-roletypes.h cspi/spi_accessible.c
3337 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3340 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3341 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3342 AT when applications are added and removed from the desktop. This
3343 reverts the previous broken implementation using the backing
3344 AtkObject for the SpiDesktop.
3346 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3348 * registryd/desktop.c: emit the "children-changed::add" and
3349 "children-changed::remove" signals on the backing ATK object for
3350 the desktop so AT can tell when applications are started and shut
3353 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3355 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3357 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3359 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3361 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3363 * cspi/state-types.h: synched with IDL and ATK
3365 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3367 * libspi/accessible.c
3368 (impl_accessibility_accessible_get_child_at_index):
3369 Change return value for g_return_if_fail ()
3370 to CORBA_OBJECT_NIL instead of "0" (!)
3372 * registryd/Makefile.am:
3373 * registryd/Accessibility_Register.server.in:
3374 Changed name of executable, "registryd",
3375 to something more informative:
3378 2002-03-13 Michael Meeks <michael@ximian.com>
3380 * atk-bridge/bridge.c (atk_bridge_init): don't register
3381 if we're in a bonobo-component, rather than a bonobo app.
3383 2002-03-13 Michael Meeks <michael@ximian.com>
3385 * atk-bridge/bridge.c (gtk_module_init): split
3386 out body to (atk_bridge_init): here, since otherwise
3387 we get symbol conflicts and oddness when invoked
3388 from (gnome_accessibility_module_init): here (upd.)
3390 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3393 New file. Explicitly allow "build sheriff" putbacks provided
3394 they are tested on Solaris.
3396 * docs/reference/cspi/Makefile.am:
3397 Added '-' to the "cp" command for index.sgml.
3398 ("patch by thomasvs, soon coming to a GUADEC near you")
3401 Incremented version number (0.9.0) for new release.
3402 Changed macro that checks for popt, to better detect
3403 obsolete versions of popt.
3406 Added X_LIBS to AC_SUBST, for applications
3407 that call Xlib API directly.
3410 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3413 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3416 Fix regression caused by hard-coding major
3417 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3420 * test/test-simple.c (test_editable_text),
3421 (test_test): revert previous change (error was
3422 a regression in gail which is now fixed).
3424 2002-03-04 Michael Meeks <michael@ximian.com>
3426 * test/test-simple.c (test_editable_text),
3427 (test_text): pass G_MAXINT instead of '-1' for
3428 whole string - is this a good thing !?
3430 * cspi/spi_accessible.c
3431 (Accessible_getRelationSet): fix crasher bug
3432 overwriting the end of the array.
3434 * test/test-simple.c (validate_accessible): free,
3435 not g_free returned relation set.
3437 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3439 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3440 implemented stateset support
3442 * idl/Accessibility_State.idl: Made necessary changes to
3443 the IDL to support state sets.
3445 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3447 * registryd/deviceeventcontroller.c:
3448 Added implementation for generateMouseEvent.
3450 * cspi/spi_registry.c:
3451 Connected new implementation for generateMouseEvent
3454 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3457 Incremented revision (but no change in public API
3458 outside of 'utils', which are not installed public yet.)
3460 * libspi/component.c:
3461 Changed to use atk_component API for layers and
3462 mdi_zorder, instead of deprecated atk_object API.
3464 Magnification Utility Enhancements:
3467 Added implementation of createZoomRegion, clearAllZoomRegions,
3468 resizeZoomRegion. Added new commandline argument
3469 "--no-initial-region". Note that clearAllZoomRegions doesn't
3470 unmap the old '0' region as it should (yet), and the other
3471 methods only work when creating/resizing a single region,
3472 which is "region 0".
3473 (Code for multiple region support will be added later.)
3476 Now we raise the magnifier window each time it's refreshed;
3477 this will help keep it on top.
3479 * util/mag_client.h:
3480 Added simple wrappers for above, used by mag_control.
3481 For general use, it's recommended to use the bonobo magnifier
3482 control API directly instead of using these wrappers.
3485 Moved ZoomRegionData from magnifier.c to this file.
3487 * util/mag_control.c:
3488 Added some code to exercise new IDL implementations.
3490 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3492 * libspi/text.c: Provide implementation for getAttributes.
3494 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3497 Incremented revision.
3499 * test/test-simple.c:
3500 Replaced use of deprecated g_main_iteration with
3501 g_main_context_iteration.
3503 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3506 Incremented revision for desktop alpha 2.
3508 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3510 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3513 * test/simple-at.c: include netinet/in.h.
3515 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3517 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3518 use NULL, not CORBA_OBJECT_NIL.
3520 * libspi/accessible.c:
3521 (impl_accessibility_accessible_get_relation_set):
3522 allocate the sequence correctly.
3524 * libspi/remoteobject.h: kill spi_remote_object_new.
3526 * test/test-simple.c: (validate_accessible): add code
3527 to test relation sets, now all we need is to figure
3528 out how to excercise this code path :/
3530 2002-01-18 Michael Meeks <michael@ximian.com>
3532 * test/test-simple.c
3533 (key_listener_cb): consume the key.
3534 (test_keylisteners): update.
3535 (main): wait for any pending unrefs on events.
3537 * registryd/deviceeventcontroller.c
3538 (spi_controller_update_key_grabs): only re-issue the
3539 grab on a key release.
3540 (spi_device_event_controller_forward_key_event):
3541 refresh the keygrabs before we notify the listeners,
3542 to reduce the X ungrab / re-grab race.
3543 (spi_controller_register_with_devices): remove
3544 XSelectInput - we do that with the gdk_window_ call.
3545 (_spi_controller_device_error_handler): return a value.
3546 s/GDK_DISPLAY/spi_get_display/
3548 2002-01-17 Michael Meeks <michael@ximian.com>
3550 * registryd/deviceeventcontroller.c
3551 (_deregister_keygrab): don't blow out the later
3554 * test/test-simple.c (test_keylisteners): do a
3555 more intelligent validation.
3557 2002-01-14 Michael Meeks <michael@ximian.com>
3559 * atk-bridge/bridge.c
3560 (gnome_accessibility_module_init),
3561 (gnome_accessibility_module_shutdown): impl.
3562 (gtk_module_init): protect vs. double inits.
3563 (add_signal_listener): impl.
3564 (spi_atk_bridge_state_event_listener): kill
3565 (deregister_application): split out of
3566 (spi_atk_bridge_exit_func): here.
3568 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3571 Added caret tracking when using magnifier, and
3572 now use text bounds for focus tracking of text elements, rather than
3573 the component bounds - this is helpful for short text fields in long
3574 table cells, at high magnification.
3576 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3578 * registryd/deviceeventcontroller.c:
3579 Regression fix for keylistener de-registration; global keygrabs
3580 were not being released when deregisterKeystrokeListener was
3581 called in cspi, since
3582 Accessibility_DeviceEventController_deregisterKeystrokeListener
3583 was called with a zero-length keyset. That is because the cspi
3584 method, SPI_deregisterKeystrokeListener, does not take a keyset
3585 parameter but instead should remove all the key grabs held be a
3587 The code in impl_deregister_keystroke_listener was changed to copy
3588 the keylist from the listener instance previously registered with
3589 the DeviceEventController before releasing the grabs.
3591 * registryd/registry.c:
3592 * registryd/deviceeventcontroller.c:
3593 * libspi/spi-private.h:
3595 Changed spelling of "re-enterant" to "re-entrant" globally.
3597 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3599 * test/test-simple.c:
3600 Changed key listeners test - the test was slightly mis-using the
3601 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3602 It now uses '=' as the key event listened to and generated,
3603 relying on a keysym match rather than assuming that keycode 33
3604 is always equal to keysym '!'.
3606 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3609 Changed simple-at to use a specific keyset, rather than
3610 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3611 manager, desktop, etc.
3613 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3615 * registryd/deviceeventcontroller.c:
3616 Replaced standard X error handler with a special handler that
3617 is non-fatal for failed keygrabs. This works around
3618 problems with keygrab clashes sometimes observed on
3620 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3621 mouse handling code as yet).
3623 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3626 Incremented revision for desktop alpha release.
3629 Fixed a couple of the more glaring errors (still not
3632 2002-01-11 Michael Meeks <michael@ximian.com>
3634 * registryd/deviceeventcontroller.c
3635 (spi_device_event_controller_forward_key_event): kill
3636 XUngrabKey / XKeyGrab race.
3637 (spi_controller_grab_keyboard): rename to
3638 (spi_controller_update_key_grabs): this, and deal
3639 with incremental adding / removing grabs more
3641 (_register_keygrab): ensure we're not pending a remove.
3642 (spi_grab_mask_free): impl.
3643 (spi_controller_register_global_keygrabs): split out
3645 (handle_keygrab): impl.
3646 (_deregister_keygrab): impl.
3647 (spi_controller_deregister_global_keygrabs): impl.
3648 (spi_controller_update_key_grabs): re-issue the grab if
3649 we just recieved a notification.
3651 * test/test-simple.c (key_listener_cb): remove debug.
3653 * registryd/deviceeventcontroller.c
3654 (spi_controller_register_device_listener): after
3655 registering a global keygrab, actualy register it !
3656 don't wait for a timeout; doh !
3658 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3659 to make it more readable / manipulable.
3660 s/grabmask/grab_mask/ s/refcount/ref_count/
3661 s/keyval/key_val/ s/modmask/mod_mask
3663 2002-01-08 Michael Meeks <michael@ximian.com>
3665 * registryd/deviceeventcontroller.c
3666 (spi_controller_register_with_devices): use gdk calls to
3668 (global_filter_fn): implement the filter.
3669 (spi_device_event_controller_check_key_event): rename to
3670 (spi_device_event_controller_forward_key_event): this & upd.
3671 (spi_get_display): replace with GDK_DISPLAY.
3673 * registryd/deviceeventcontroller.c
3674 (spi_controller_deregister_device_listener): unroll into
3675 (impl_deregister_keystroke_listener): here to simplify.
3676 (spi_controller_register_global_keygrabs): split cut and
3677 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3678 (spi_controller_deregister_device_listener): remove.
3679 (impl_register_mouse_listener): remove, no mouse listener
3680 support in at-spi-1.0
3682 * registryd/registry.c
3683 (_device_event_controller_hook): kill.
3684 (spi_registry_init): upd.
3686 * registryd/deviceeventcontroller.c
3687 (spi_device_event_controller_class_init): upd.
3688 (spi_check_key_event): merge into.
3689 (spi_device_event_controller_check_key_event):
3690 here and kill strange static ev init, don't leak
3691 the x_event - nor dynamicaly allocate it.
3693 * registryd/registry-main.c (main): re-direct
3694 timeout to remove strange vtable mess.
3696 * registryd/deviceeventcontroller.c
3697 (remove_listener_cb): impl.
3698 (spi_controller_deregister_device_listener):
3699 fix re-enterancy hazard.
3701 2002-01-07 Michael Meeks <michael@ximian.com>
3703 * registryd/deviceeventcontroller.c
3704 (spi_device_event_controller_new): upd.
3705 (impl_notify_listeners_sync): upd. debug.
3706 (spi_notify_keylisteners): fix re-enterancy hazards,
3707 prettify, remove O(n*n) iteration.
3708 (spi_controller_grab_keyboard): fix iteration.
3709 (spi_check_key_event): re-format to suit coding style.
3710 Clean all the warnings - we're warning free.
3712 * registryd/deviceeventcontroller.h:
3713 * registryd/registry.h: make mutualy referential with
3714 typesafe forward references instead of (!) void pointer
3717 2002-01-11 Michael Meeks <michael@ximian.com>
3719 * cspi/spi_accessible.c (role_names): add a role name
3720 to sync this array with the enum; and make the regression
3723 2002-01-10 Michael Meeks <michael@ximian.com>
3725 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3726 allow expansion of enumeration & kill warning.
3728 * test/test-simple.c (key_listener_cb): impl.
3729 (test_keylisteners): impl.
3731 * cspi/spi-listener.h: make listener signatures const
3732 on the provided (const) events.
3734 * test/keysynth-demo.c: upd. to const events.
3736 * test/simple-at.c: ditto.
3738 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3741 Rev the version to 0.5 (the previous tarball was named 0.4,
3742 even though the micro number was 3), so we need to rev upwards
3743 again for beta2/"desktop-alpha"
3746 Checked in a demo script, which requires editing before use!
3747 Proceed with caution.
3750 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3752 * cspi/spi_accessible.c:
3753 Add a couple of missing enum initializations, and fix some enum
3756 * cspi/spi_registry.c:
3757 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3759 * docs/reference/cspi/at-spi-cspi-sections.txt:
3760 Remove/fix a couple of broken document references.
3763 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3764 as Alt-Control to listen for commands, since on some systems
3765 Control-Alt may already be grabbed.
3767 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3770 Update version number to 0.4 for Beta2.
3772 * libspi/accessible.c, libspi/accessible.h:
3773 Expose spi_accessible_construct, to enable libgail-gnome
3774 construction from spi_accessible subtype.
3776 * utils/magnifier.c:
3777 Workaround for bug in some non-gnome-compliant window managers
3778 which made magnifier resize improperly.
3780 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3782 * libspi/accessible.c: (spi_accessible_new) :
3783 Move the test for SPI_IS_REMOTE_OBJECT to
3784 spi_accessible_new_return, fixing a bug and compile time warning.
3786 2002-01-08 Michael Meeks <michael@ximian.com>
3788 * registryd/registry.c (parse_event_type): remove strndup.
3790 * libspi/Makefile.am (libspi_la_SOURCES): remove
3791 sources already included in the headers section.
3793 * libspi/util.c: add.
3795 * libspi/spi-private.h: add.
3797 * registryd/registry.c: update to moved list iterators.
3799 2002-01-05 Michael Meeks <michael@ximian.com>
3801 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3803 * test/test-simple.c (main): ditto.
3805 2002-01-04 Michael Meeks <michael@ximian.com>
3807 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3808 redundant construct.
3810 * registryd/registry.c
3811 (get_listener_list): impl.
3812 (impl_accessibility_registry_register_global_event_listener):
3813 re-impl. to simplify using ~, remove dodgy const cast off.
3814 (parse_event_type): constify.
3815 (impl_accessibility_registry_deregister_global_event_listener_all):
3816 re-write, more efficiency and simplicity, kill re-enterancy
3818 (compare_listener_corbaref, compare_corba_objects),
3819 (compare_listener_quarks): define out.
3820 (impl_accessibility_registry_deregister_global_event_listener):
3821 re-write for effiency, and nail re-enterancy hazard.
3822 (impl_accessibility_registry_get_desktop_list): impl.
3823 (re_enterant_list_delete_link): impl.
3824 (re_enterant_list_foreach): impl.
3825 (remove_listener_cb): impl.
3826 (_registry_notify_listeners): kill.
3827 (notify_listeners_cb): impl.
3829 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3830 (SPI_getDesktopList): impl.
3832 * test/test-simple.c (test_desktop): test the methods.
3834 2002-01-03 Michael Meeks <michael@ximian.com>
3836 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3837 keystrings since we free them
3838 (SPI_freeAccessibleKeySet): in here.
3840 * libspi/accessible.c (spi_accessible_new): kill warning,
3841 wonder what is going on with the constructor here.
3843 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3845 * libspi/accessible.c (spi_accessible_new ()) :
3846 Added check to see if AtkObject is an SpiRemoteObject before
3847 creating an SpiAccessible.
3849 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3851 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3852 Enable keygrabs using the Control modifier, now that they are
3853 working properly (they were previously disabled).
3856 Change the command keygrab for this demo to "Control+Alt", so as
3857 to conflict with fewer other key commands on the system; this
3858 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3860 Removed a pointlessly-chatty keylistener for unshifted keys
3861 (shifted keys are still reported).
3863 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3865 * libspi/remoteobject.h:
3866 * libspi/remoteobject.c:
3867 Added definitions for special AtkObject subtype, required for
3868 support of remote components (specifically, used by BonoboControl
3869 accessibility implementation).
3871 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3873 * cspi/spi.h: synched relation types with ATK
3875 * cspi/spi_accessible.c: Added implementations of
3876 AcccessibleRelation_* methods
3878 * idl/Accessibility_Relation.idl: added getRelationTypeName
3879 method. Synched known relation types with ATK. Allowed for
3880 relation type extension with the RELATION_EXTENDED type.
3882 * libspi/relation.c: Provided implementations for
3883 AccessibleRelation methods.
3885 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3887 API tweaks for today's API 'freeze'.
3890 Added placeholder functions to allow future compatible expansion
3891 of the IDL interfaces.
3893 * idl/Accessibility_Registry.idl:
3894 Changed generateKeyEvent to generateKeyboardEvent. Changed
3895 signature of this method to accept an optional keystring in
3896 parameter (for complex text input synthesis) and changed use of
3897 simple 'boolean' parameter in registerKeystrokeListener to a
3898 struct, EventListenerMode.
3900 * cspi/spi_accessible.c:
3902 * cspi/spi_streamablecontent.c:
3903 Added references to AccessibleStreamableContent interface, and
3904 definition and implementation of AccessibleStreamableContent
3907 * cspi/spi_registry.c:
3909 Changed generateKeyEvent API to generateKeyboardEvent,
3910 taking a new (optional) keystring parameter to support complex
3915 Renamed directory (to better reflect its actual purpose, bridging
3916 from at-spi to ATK). The .so module is also now named
3919 * idl/Accessibility_Hypertext.idl:
3920 * libspi/accessible.c:
3921 * libspi/hypertext.h:
3922 * libspi/hypertext.c:
3923 Changed Accessibility_Hypertext to *not* derive from
3926 * cspi/spi_registry.c:
3927 Added list of legal event type names for 'window' events, which
3928 completes the registry event API.
3930 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3932 * at-bridge/bridge.c: Added registration for separate
3933 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3934 signals. If either of the first two parameters to the generic
3935 bridge signal handler are ints, they are passed on as event
3936 details. This allows an AT to determine what text was inserted.
3938 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3940 * registryd/deviceeventcontroller.c:
3941 Fixed regressions in generateKeyEvent caused by the removal of
3942 gdk_init from registryd; we now use pure X calls to connect to the
3943 display, which makes sense because deviceeventcontroller already
3944 uses a fair bit of X API (should eventually be migrated to a
3945 'portability layer').
3947 * registryd/desktop.c:
3948 Fixed minor regression in spi_desktop_init, changed the way the
3949 desktop name is being set to work with new spi_base API
3950 (gobject-based, rather than AtkObject-based).
3952 * registryd/Makefile.am:
3953 Minor revision of makefile to use XTST_LIBS variable rather than
3954 hard-wiring the Xtst LD_ADD element.
3956 * test/keysynth-demo.c:
3957 Tweaked an output message; added initialization of the
3958 'keystrings' member of the "switch listener" key_set.
3960 * libspi/relation.c:
3961 Squashed compile-time warning.
3963 * libspi/accessible.c:
3964 Cosmetic and formatting fixes, renamed a static method.
3966 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3968 * libspi/accessible.c
3970 * libspi/application.c
3973 * libspi/component.c
3974 * libspi/editabletext.c
3975 * libspi/hyperlink.c
3976 * libspi/hypertext.c
3978 * libspi/selection.c
3982 * registryd/desktop.c:
3983 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3985 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3987 * idl/Accessibility_Registry.idl:
3988 Added boolean member 'is_text' to DeviceEvent. This is for the
3989 use of key events, and helps prevent ambiguity between composed
3990 key strings and keysym names, since both may potentially be
3991 returned in the 'event_string' member.
3993 * at-bridge/bridge.c:
3994 * registryd/deviceeventcontroller.c:
3995 Use the 'is_text' member when notifying device event listeners.
3996 Knon issue: composed characters are not dealt with correctly by
3997 the global key listener implementation yet.
3999 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4001 * at-bridge/bridge.c:
4002 Namespaced local static methods to spi_atk_bridge_* where
4003 previously named bridge_*, and spi_* elsewhere.
4005 * at-bridge/bridge.c:
4006 * cspi/bonobo/cspi-bonobo-listener.c:
4007 Added demarshalling/conversion for string member of
4008 Accessibility_DeviceEvent to AccessibleKeystroke.
4010 * registryd/deviceeventcontroller.c:
4011 Added code to fill the Accessibility_DeviceEvent key string value
4012 member for global key events (i.e. from XGrabKey), to match
4013 behavior of Accessibility_DeviceEvent from the toolkit key events
4014 from the bridge. Fixed timestamp in global key event notifications.
4017 Added printout of key event's string value to
4018 report_ordinary_key_event, for demo/debugging purposes.
4020 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4022 * idl/Accessibility_Registry.idl:
4023 Removed Accessibility_KeyStroke structure in favor of generic
4024 Accessibility_DeviceEvent structure.
4025 Changed Accessibility_ControllerEventMask from a struct to an
4028 * at-bridge/bridge.c:
4029 Changed APIs to use DeviceEvent structure as above, and removed
4030 bogus casting between these event structures.
4032 * cspi/spi-listener.h:
4033 Added keystring member of AccessibleKeystroke structure, to enable
4034 matching on event "names" rather than only hardware codes and
4038 Added keystrings member of AccessibleKeySet struct, to allow
4039 matching on event names (as above).
4040 Added declarations for SPI_createAccessibleKeySet and
4041 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4042 event modmasks directly as unsigned ints rather than structs with
4043 refcounts, in the DeviceEventController methods.
4045 * cspi/spi_registry.c:
4046 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4048 * cspi/spi-roletypes.h:
4049 Added documentation of newly added SPI Roles.
4051 * cspi/bonobo/cspi-bonobo-listener.c:
4052 Changes in support of API changes above.
4054 * libspi/accessible.c:
4055 Converted APIs to use DeviceEvent structure (see IDL changes
4058 * registryd/deviceeventcontroller.c:
4059 Added DEControllerGrabMask structure to track keygrabs not only by
4060 modmask but by keyset as well; this allows us to do "global"
4061 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4062 grabbing on AnyKey and then filtering after-the-fact.
4063 Bugfixes for event filtration mean that we don't get false matches
4064 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4066 * registryd/deviceeventcontroller.c:
4067 Namespaced a number of static methods to use spi_ prefix. Major
4068 revision to internals of global (i.e. X) key grabs.
4070 * registryd/deviceeventcontroller.h:
4071 Removed keymask_list and added keygrabs_list to
4072 SpiDeviceEventController struct.
4075 Added use of SPI_createAccessibleKeySet API when creating a
4076 listener for only one key. Attach a listener to "shift spacebar
4077 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4078 X key event names to SPI key event names, so that listeners are
4079 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4081 * test/keysynth-demo.c:
4082 Changed (incorrect) use of X key event names (KeyPressed,
4083 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4086 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4088 * libspi/accessible.c:
4089 Convert all AtkRole enumerations to Accessibility_Role enums when
4090 getting a role from an AtkObject.
4092 * cspi/spi_accessible.c:
4093 Complete the conversion of Accessibility_Role enums at runtime to
4094 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4095 role enums correctly match those given in spi-roletypes.h.
4096 Re-synchronize the local names list for AccessibleRole_getName ().
4097 AccessibleRole_getName is now deprecated, since it duplicates the
4098 more reliable Accessible_getRoleName.
4099 Added some role types from Accessibility_Role.idl.
4101 * idl/Accessibility_Role.idl:
4102 Added some role types used by AtkRole.
4104 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4107 * cspi/spi_registry.c:
4109 * cspi/cspi-bonobo-listener.c:
4110 Namespaced all methods that did not begin with an "SPI_" or
4111 "Accessible" prefix to "SPI_".
4114 Homogenized internal function namespace to "cspi_" for statics.
4117 Patched tests to use the new CSPI API.
4119 * docs/reference/cspi/at-spi-cspi-sections.txt:
4120 Updated docs to reflect namespace changes, and added a number of
4121 methods to the documentation.
4123 * registryd/registry.c:
4124 Changed use of strings and string hashes in listener event
4125 matching and parse_event_string to use GQuark, which is guaranteed
4128 * registryd/registry.h:
4129 Squashed annoying warning.
4131 * idl/Accessibility_Role.idl:
4132 Extended range of available Accessibility_Role values.
4134 * cspi/spi_accessible.c:
4135 Re-ordered role names.
4137 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4139 * idl/Accessibility_Value.idl:
4140 Revert use of union back to CORBA_double, since the double type is
4141 more efficient and can contain the other types without loss of
4144 * idl/Accessibility_Accessible.idl:
4145 Added method Accessibility:Accessible:getRoleName, to complement
4146 Accessibility:Accessible:getRole.
4148 * cspi/spi_accessible.c:
4150 Added C binding for above, Accessible_getRoleName (), and changed
4151 signature of Accessible_getRole () to return an AccessibleRole.
4153 * cspi/spi-roletypes.h:
4154 Changed AccessibleRole_getName to return a char * instead of a
4155 const char *. This method is now at least temporarily deprecated
4156 in favor of asking Accessibles for their RoleNames directly.
4159 Revert to match Accessibility_Value.idl;
4163 Change signature of AccessibleValue methods to use double rather
4167 * cspi/spi_accessible.c:
4168 Changed Accessible_getRole to return an AccessibleRole enum rather
4169 than a UTF-8 string. The UTF-8 string can still be obtained via
4170 AccessibleRole_getName ().
4172 * test/test-simple.c:
4173 Add test_action. Small fixup to match API change to Accessible_getRole.
4176 Bugfix for get_action_from_servant ().
4178 2001-12-11 Michael Meeks <michael@ximian.com>
4180 * libspi/libspi.h: remove registry.h and
4181 desktop.h, deviceeventcontroller.h
4183 * libspi/Makefile.am: remove registry.[ch],
4184 desktop.[ch], deviceeventcontroller.[ch]
4186 * registryd/Makefile.am: add registry.[ch],
4187 desktop.[ch], rename registryd.c to registry-main.c.
4188 add deviceeventcontroller.[ch]
4190 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4193 Replace setenv() call with putenv ().
4195 * libspi/component.c:
4196 Bugfix in AccessibleComponent_getExtents (),
4199 2001-12-11 Michael Meeks <michael@ximian.com>
4201 * libspi/image.c (impl_getImageExtents): impl.
4202 (spi_image_class_init): upd.
4205 (AccessibleImage_getImageDescription): fix daft bug
4208 * test/test-simple.c (global_listener_cb): update
4209 to only quit if not --poke
4210 (main): catch --poke.
4211 (validate_accessible): upd. dumping, call test_image
4214 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4217 * idl/Accessibility.idl: update all IDL includes.
4219 * idl/*.idl - rename to namespace - this sucks, blame
4220 mjs' bad decision for oafd.
4222 * test/test-simple.c (create_test_window): add more tests.
4223 (create_tree): split this out.
4224 (validate_accessible): bugfix.
4226 2001-12-11 Michael Meeks <michael@ximian.com>
4228 * cspi/bonobo/cspi-bonobo-listener.c:
4229 (cspi_kestroke_listener_unref),
4230 (cspi_event_listener_unref): impl. undoing previous
4231 homenous environment - for Bill.
4233 * cspi/spi_table.c (long_seq_to_array): use
4236 * cspi/spi_main.c: split out all bonoboish bits into
4239 * cspi/spi-impl.h: upd. typedefs.
4241 * cspi/spi_registry.c: update to lowlevel API,
4242 return booleans to indicate success in some places.
4244 * cspi/spi_event.c: update to lowlevel API.
4246 * cspi/bonobo/Makefile.am: add.
4248 * cspi/bonobo/cspi-lowlevel.h: add
4250 * cspi/bonobo/cspi-bonobo.c: add
4252 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4254 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4255 (SUBDIRS): add bonobo, link in the libs.
4257 * cspi/spi-util.c: kill this file.
4259 * TODO: merge in my bits.
4261 2001-12-11 Michael Meeks <michael@ximian.com>
4263 * test/test-simple.c (test_value, test_table, main):
4264 remove unused variables causing warnings.
4266 * configure.in: cleanup checks - require gail.
4268 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4271 Changed Value interface to use SValue (scalars) rather than
4272 assuming all values are floats. This allows floats, doubles,
4273 longs, shorts, and unsigned values to be manipulated.
4274 Introduced Accessibility:SValue union.
4277 Updated to use new API above, and to work correctly with GValues
4278 of different types in AtkValue.
4281 Updated to use new API above. cspi's API is as yet unchanged.
4284 Updated the Value revision action item.
4286 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4288 * test/test-simple.c:
4289 Added test_table (GtkTreeView widget in test window to follow).
4290 Un-commented test_value, added GtkRange widget.
4291 Added GtkTreeView widget with GtkListStore. It passes regression
4292 test but leaks one SPI object for some reason.
4295 Fixed bug in impl__set_currentValue.
4297 2001-12-10 Michael Meeks <michael@ximian.com>
4299 * cspi/spi_text.c: audit for exception handling,
4300 tolerating NULL object references safely etc.
4302 * cspi/spi_value.c: ditto.
4304 * cspi/spi_table.c (AccessibleTable_getSummary),
4305 (AccessibleTable_getAccessibleAt),
4306 (AccessibleTable_getRowHeader),
4307 (AccessibleTable_getColumnHeader),
4308 (AccessibleTable_getCaption): fix bugs hidden by
4310 (long_seq_to_array): impl.
4311 (AccessibleTable_getSelectedRows),
4312 (AccessibleTable_getSelectedColumns): use it.
4314 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4317 Added a TODO list (rough and short for now).
4319 * cspi/spi_hyperlink.c:
4320 * cspi/spi_hypertext.c:
4321 Fixed macro name typos, and remove use of obsolete macro in
4322 AccessibleHyperlink_getLink.
4324 * cspi/spi_action.c:
4325 * cspi/spi_accessible.c:
4326 * cspi/spi_application.c:
4327 * cspi/spi_component.c:
4328 * cspi/spi_selection.c:
4331 Documentation fixes (removed return values from ref/unref methods).
4333 2001-12-10 Michael Meeks <michael@ximian.com>
4335 * cspi/spi_action.c: audit for exception handling,
4336 tolerating NULL object references safely etc.
4338 * cspi/spi_accessible.c: ditto.
4340 * cspi/spi_component.c: ditto.
4342 * cspi/spi_editabletext.c: ditto.
4344 * cspi/spi_hyperlink.c: ditto.
4346 * cspi/spi_hypertext.c: ditto.
4348 * cspi/spi_image.c: ditto.
4350 * cspi/spi_selection.c: ditto.
4352 2001-12-10 Michael Meeks <michael@ximian.com>
4354 * configure.in: use cspi/libspi.pc.in instead.
4356 * Makefile.am (pkgconfig_DATA): upd. to match.
4358 * test/simple-at.c (report_focus_event): kill hacks around
4359 bad return values, use putenv not setenv
4361 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4362 fire ChildGone - I killed it.
4364 * libspi/component.c
4365 (impl_accessibility_component_get_extents): remove
4368 * idl/Accessible.idl: kill ChildGone exception.
4370 * cspi/*.[ch]: kill int return from ref / unref.
4372 * cspi/spi_main.c (cspi_object_add_check): fold into
4373 (cspi_object_add): here.
4375 * cspi/spi_component.c (AccessibleComponent_getExtents):
4376 handle exceptions elegantly.
4378 * cspi/spi-private.h (cspi_check_ev_return),
4379 (cspi_return_if_fail): impl.
4381 * cspi/spi_accessible.c: use extensively.
4382 (AccessibleStateSet_equals): add direct compare check.
4384 * cspi/spi_selection.c: tolerate NULL objs, and check
4385 exceptions before return.
4387 * cspi/spi-util.c (cspi_warn_ev): rename to
4388 (cspi_check_ev): this & don't pass ev in; no point.
4390 2001-12-10 Michael Meeks <michael@ximian.com>
4392 * test/test-simple.c: use putenv not setenv
4393 (get_environment_vars): more chatty if you're not using
4396 * test/simple-at.c: do the setenv so more people see the
4399 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4401 * libspi/registry.c:
4402 Changed check of CORBA_environment on notification to be a warning
4403 instead of an error for the moment, since we can recover from this
4404 error when caused by a queued notification from a dead app.
4407 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4408 used by all current implementors of AtkValue), and coerce to
4409 CORBA_float. (Proper general case fix may require change to Value.idl).
4411 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4415 * cspi/spi_accessible.c:
4416 Documentation fixes: added user_data params to documentation for
4417 listeners and callbacks.
4419 * cspi/spi_accessible.c:
4420 Changed AccessibleStateSet_compare to return a
4421 StateSet rather than return the difference set into a third parameter.
4424 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4427 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4428 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4432 Remove subdirectory po from SUBDIRS for now.
4434 * at-bridge/bridge.c:
4435 Beefed up a couple of debug printouts.
4436 One-line fix for signal notification name formatting.
4438 * libspi/accessible.c:
4439 Added assertion to spi_accessible_new ().
4441 * libspi/application.c:
4442 Put #ifdef qualifiers around a printf.
4445 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4447 * registryd/Makefile.am:
4449 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4450 INTLTOOL_SERVER_RULE macro.
4453 Added an event listener for several ATK signals, for
4454 testing and debugging. Removed a few g_warnings.
4455 Added test output if focussed item implements the Value interface.
4457 * test/test-simple.c:
4458 Added test_value () function (known not to pass at the moment, so
4459 not actually called yet.
4461 2001-12-08 Michael Meeks <michael@ximian.com>
4463 * at-bridge/bridge.c (bridge_focus_tracker),
4464 (emit_eventv): fix the same ref. leak.
4465 (register_atk_event_listeners): don't leak.
4467 * cspi/spi-listener-impl.c (cspi_event): more
4468 protection from client code.
4470 * test/test-simple.c (test_desktop): unref the app.
4472 * test/Makefile.am: upd. TESTS.
4474 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4476 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4478 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4480 * cspi/spi_registry.c: constify in strings.
4481 (deregisterGlobalEventListenerAll): don't release the ref.
4483 * cspi/spi.h: start removing redundant / conflicting
4484 gtkdoc comments, making the API readable at a glance :-)
4486 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4488 * test/keysynth-demo.c (keysynth_exit, main): upd.
4490 * test/simple-at.c (main, simple_at_exit): upd.
4492 * test/test-simple.c (unutterable_horror): kill.
4493 (utterable_normal_derefs): kill.
4494 (main): upd & do a setenv before gtk_init, so that we
4495 can use memprof - and to save the pain of remembering
4496 this, if we're running under memprof - don't exit.
4498 * cspi/spi_main.c (SPI_exit): return exit status
4500 (SPI_event_quit): impl.
4501 (SPI_event_main): simplify.
4502 (cspi_is_gnome_app): kill.
4503 (SPI_init): kill isGNOMEapp arg.
4505 * at-bridge/bridge.c (register_atk_event_listeners):
4506 re-instate the unref.
4507 (bridge_exit_func): don't re-activate the registry,
4508 protect vs. theoretical re-entry, use the
4509 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4510 assert a clean shutdown - for regression tests.
4512 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4514 * configure.in: Comment out dummy i18n support for now,
4515 otherwise it fails to build.
4516 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4517 EXTRA_DIST. They are missing in tarball.
4519 2001-12-07 Michael Meeks <michael@ximian.com>
4521 * util/magnifier.c: kill bonobo activation reg. race.
4523 * libspi/component.c
4524 (impl_accessibility_component_get_extents): make it match
4527 * libspi/registry.c (_registry_notify_listeners):
4528 re-remove X headers & reconcile conflicts.
4529 (spi_listener_struct_free): bad conflict resolve.
4530 (impl_accessibility_registry_register_application):
4531 more bad merging fixed.
4532 (impl_accessibility_registry_deregister_application): ditto.
4533 (spi_registry_new): ditto.
4534 (spi_registry_init): don't have an applications field.
4536 [ merge fixups2 branch to here ]
4537 2001-12-07 Michael Meeks <michael@ximian.com>
4539 * test/simple-at.c (report_focus_event),
4540 (report_focussed_accessible): remove g_warning debug.
4542 2001-12-07 Michael Meeks <michael@ximian.com>
4544 * test/test-simple.c (validate_tree): comment out some checks.
4545 (test_desktop): app now not registered idly - horay.
4547 2001-12-07 Michael Meeks <michael@ximian.com>
4549 * cspi/spi_registry.c
4550 (registerAccessibleKeystrokeListener): clean, stop it leaking
4551 great swathes of memory, and device event controller references.
4552 ensure we always pass valid sequences.
4553 (deregisterAccessibleKeystrokeListener): ditto.
4554 (generateKeyEvent): upd.
4556 * at-bridge/bridge.c (bridge_key_listener): handle
4557 registry dead exception gracefully.
4558 (bridge_focus_tracker, emit_eventv): free ev.
4560 * test/simple-at.c (report_focus_event): fix polarity.
4562 * libspi/application.c (notify_listeners): kill the ev
4563 argument, and make sure we init the ev we use.
4564 (spi_application_object_event_listener): split out a chunk
4565 (get_atk_object_ref): here & fixup.
4566 (reverse_lookup_name_for_toolkit_event): make const.
4567 (spi_application_toolkit_event_listener): fixup, kill leaks
4570 * at-bridge/bridge.c (register_atk_event_listeners):
4571 don't unref the noop object - causes grief.
4573 * libspi/registry.c: remove the X headers.
4574 turn off the debug churn.
4576 * libspi/accessible.c (spi_accessible_new_return): only
4577 release the ref if we are supposed to [doh]
4579 * test/simple-at.c (report_button_press, report_focus_event):
4580 guard vs. unexpected exit.
4582 * at-bridge/bridge.c (gtk_module_init): prune printf.
4583 (bridge_exit_func): fix app unref.
4585 * libspi/Makefile.am: don't install registry or desktop.h
4587 * libspi/*.h: update includes.
4589 * libspi/application.h: don't include ourself, or
4590 other redundant headers.
4592 2001-12-06 Michael Meeks <michael@ximian.com>
4594 * libspi/accessible.c
4595 (get_accessible_from_servant): impl.
4596 Upd. all CORBA impl.s to use it killing cut and paste.
4598 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4600 (SPI_init): register atexit cleanup handler here.
4602 2001-12-06 Michael Meeks <michael@ximian.com>
4604 * at-bridge/bridge.c (gtk_module_init): g_error on
4605 activation exception
4607 2001-12-06 Michael Meeks <michael@ximian.com>
4609 * at-bridge/bridge.c (gtk_module_init): some sort of
4610 confusing merge clash - reverted.
4611 (bridge_idle_init): ditto.
4613 * test/test-simple.c (main, utterable_normal_derefs):
4614 merge from Bill - somehow not committed.
4616 2001-12-06 Michael Meeks <michael@ximian.com>
4618 * libspi/value.c (spi_value_class_init): upd.
4619 (spi_value_finalize): kill.
4621 * libspi/table.c (spi_table_finalize): kill.
4622 (spi_table_interface_new): upd.
4623 (spi_table_class_init): upd.
4624 (get_table_from_servant): impl.
4625 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4627 * libspi/selection.c (spi_selection_finalize): kill.
4628 (spi_selection_interface_new): upd.
4629 (spi_selection_class_init): upd.
4630 (get_selection_from_servant): impl.
4631 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4633 * libspi/relation.c (spi_relation_finalize): kill.
4634 (spi_relation_class_init, spi_relation_new): upd
4636 * libspi/image.c (spi_image_finalize): kill.
4637 (spi_image_class_init): upd.
4638 (spi_image_interface_new): upd.
4639 (get_image_from_servant): impl.
4640 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4642 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4643 (spi_hyperlink_finalize): kill.
4644 (spi_hyperlink_new): upd.
4645 (get_hyperlink_from_servant): impl.
4646 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4648 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4649 (spi_hypertext_finalize): kill.
4650 (spi_hypertext_class_init): upd.
4651 (get_hypertext_from_servant): impl.
4652 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4654 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4655 (spi_editable_text_interface_new): upd.
4656 (get_editable_text_from_servant): impl.
4657 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4659 * libspi/text.c (get_text_from_servant): impl.
4660 All impls - update to use it killing more cut and paste,
4661 also fix bad string returns on duff args ( a somewhat
4662 impossible case to handle - but hey ).
4663 (spi_text_construct): impl.
4664 (spi_text_interface_new): upd.
4665 (spi_text_object_finalize): kill.
4667 * libspi/component.c
4668 (accessibility_component_object_finalize): kill.
4669 (spi_component_class_init): upd.
4670 (get_component_from_servant): impl. helper to kill cut & paste.
4671 (impl_accessibility_component_contains):
4672 (impl_accessibility_component_get_accessible_at_point):
4673 (impl_accessibility_component_get_position):
4674 (impl_accessibility_component_get_extents):
4675 (impl_accessibility_component_get_mdi_z_order):
4676 (impl_accessibility_component_get_layer):
4677 (spi_component_interface_new): upd.
4679 * libspi/action.c (spi_action_finalize): kill.
4680 (spi_action_class_init): upd. inherit from SpiObject.
4681 (spi_action_interface_new): upd.
4682 (get_action_from_servant): impl. helper to reduce cut & paste.
4683 (impl_getKeyBinding, impl_getName, impl_doAction),
4684 (impl_getDescription): Use it everywhere.
4686 * cspi/spi_main.c (get_live_refs): a pointer hash.
4687 (spi_object_hash, spi_object_equal): comment out.
4688 There are issues with CORBA object hashing that need
4691 * libspi/application.c (spi_application_init),
4692 (spi_application_new): upd.
4694 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4695 (spi_accessible_class_init): upd.
4696 s/accessible/object/ in epv methods.
4698 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4700 * at-bridge/bridge.c:
4701 Reorder the bridge initialization into the bridge gtk_module_init,
4702 an immediate call to bridge_register_app, and an idle_add for
4703 register_atk_event_listeners (the only code that *must* wait until
4704 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4705 the activation, creates the application's Accessible object, and
4706 queues the bridge_idle_init function. Restored call to
4707 Accessibility_Registry_deregisterApplication().
4708 Prior to making this call we obtain a new reference to the
4709 registry, which is a temporary hack that helps us handle apps that
4710 shut down the bonobo mainloop before we get there.
4712 * libspi/registry.c:
4713 Fix string leakage in debug block, and don't segv if a an app
4714 dies before its event notifications have been propagated.
4717 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4718 as stopgap measure until we get proper exception handling when
4719 objects die during or before interrogation.
4723 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4724 Also changed default value of is_gnome_app to TRUE.
4727 * test/keysynth-demo.c:
4728 Changed use of SPI_init and SPI_event_main to reflect API change above.
4731 Made report_focus_event check the warning value from getName
4732 before reporting on focussed accessible; simplifies handling of
4733 notifications from dead objects.
4735 * test/test-simple.c: (Changes not in this patch since source is
4738 2001-12-05 Michael Meeks <michael@ximian.com>
4740 * registryd/registryd.c (main): protect against
4741 bonobo-activation startup race condition.
4743 * cspi/spi_main.c (cspi_object_add_check): cope
4744 with the exception elegantly.
4746 * idl/Accessible.idl: decl. ChildGone
4748 * libspi/desktop.c (spi_desktop_dispose): impl.
4749 (spi_desktop_class_init): upd.
4750 (spi_desktop_add_application),
4751 (spi_desktop_remove_application),
4752 (abnormal_application_termination): impl.
4753 (impl_desktop_get_child_at_index): re-impl.
4756 (impl_accessibility_registry_deregister_application),
4757 (impl_accessibility_registry_register_application):
4758 kill excessive debug clutter.
4760 * test/test-simple.c (test_misc): test some NULL
4761 tolerance. (main): upd.
4763 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4764 implements no interfaces - so let's not crash.
4766 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4768 * libspi/accessible.c (spi_accessible_new_return): impl.
4769 helper to calm the cut and paste, to cope with
4770 NULL AtkObjects effectively and efficiently, and to kill
4771 the referencing bugs.
4773 * libspi/table.c (impl_getAccessibleAt),
4774 (impl_getRowHeader, impl_getColumnHeader): upd.
4776 * libspi/hyperlink.c (impl_getObject): upd.
4778 * libspi/accessible.c
4779 (impl_accessibility_accessible_get_child_at_index): upd.
4781 * libspi/component.c
4782 (impl_accessibility_component_get_accessible_at_point): upd.
4784 * test/test-simple.c (test_editable_text, test_text): impl.
4787 * cspi/spi_editabletext.c
4788 (AccessibleEditableText_insertText): constify.
4790 * test/test-simple.c (focus_me): make more robust.
4792 * libspi/accessible.c: remove some printfs in methods that
4793 we test and work fine, so we can get a clean tree dump.
4795 * test/test-simple.c (validate_accessible),
4796 (validate_tree): make tree dumping pretty too.
4798 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4799 it builds without debug on.
4801 * test/test-simple.c (validate_accessible): fix the most
4804 * cspi/spi_main.c (spi_object_release): leave the nicely
4805 blanked memory around if in debug mode.
4807 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4809 [committed to fixups2]
4810 2001-12-05 Michael Meeks <michael@ximian.com>
4812 * libspi/editabletext.c
4813 (spi_editable_text_class_init): g_type_class_peek_parent,
4814 not interface peek - so we finalize cleanly.
4816 * libspi/accessible.c (spi_accessible_new): kill debug.
4818 * test/test-simple.c (validate_accessible): fix ref.
4819 leak, print strings before freeing them; sigh, comment a
4820 chunk out due to strangeness.
4821 (validate_tree): unref the child after use.
4823 * cspi/spi_component.c (AccessibleComponent_getLayer):
4824 add missing break statement, switch on zlayer not the
4825 uninitialized retval.
4827 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4828 before (possibly re-entering) remote unref.
4830 * test/simple-at.c (main): unref the desktop.
4832 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4835 * cspi/spi_main.c (cspi_accessible_is_a): here to
4836 isolate bonobo API usage more.
4838 * libspi/registry.c (impl_accessibility_registry_register_application):
4839 prune bogus comment.
4841 2001-12-04 Michael Meeks <michael@ximian.com>
4843 * test/test-simple.c (validate_tree): upd.
4844 IndexInParent check to make it more lucid.
4845 (validate_accessible): dump the tree.
4847 * libspi/accessible.c (de_register_public_ref),
4848 (get_public_refs): impl.
4849 (spi_accessible_new): make more efficient & intuitive.
4850 Now IndexInParent check works.
4852 2001-12-04 Michael Meeks <michael@ximian.com>
4854 * cspi/spi-util.h: remove.
4856 * cspi/spi.h: move SPI_freeString here
4858 * libspi/component.c (impl_accessibility_component_get_layer):
4860 (impl_accessibility_component_get_mdi_z_order): ditto,
4861 return -1 on error - is this ok ?
4863 * test/test-simple.c (test_application): impl.
4865 * cspi/spi_accessible.c (Accessible_getApplication),
4866 (Accessible_isApplication): impl.
4868 * libspi/registry.c (spi_listener_struct_free): release
4869 the CORBA reference too.
4871 * libspi/accessible.c
4872 (impl_accessibility_accessible_get_parent): fix ref leak.
4874 * libspi/registry.c (spi_registry_new): make the registry
4875 immortal - we don't want it to go away ever.
4877 * libspi/application.c
4878 (spi_accessible_application_finalize): impl. cleanup.
4880 * cspi/spi_registry.c
4881 (deregisterGlobalEventListenerAll),
4882 (deregisterGlobalEventListener),
4883 (deregisterAccessibleKeystrokeListener): fix ref leak.
4885 * cspi/spi_main.c (SPI_init): remove redundant ref.
4887 * test/test-simple.c (unutterable_horror): impl. to force a
4892 (impl_accessibility_registry_deregister_application): release
4893 the application when we de-register it.
4895 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4896 until we have the infastructure to get it right.
4898 2001-12-03 Michael Meeks <michael@ximian.com>
4900 * libspi/Makefile.am: only build eventlistener.[ch]
4902 * libspi/accessible.c
4903 (impl_accessibility_accessible_get_child_at_index): don't leak.
4905 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4906 before we hit the idle handler.
4908 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4909 debugging than exit.
4911 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4913 * libspi/listener.c (impl_notify_event): check source
4914 not NIL before unref.
4916 * libspi/registry.c (impl_registry_notify_event): ditto.
4918 * libspi/eventlistener.c
4919 (impl_accessible_event_notify_event): unref the source.
4921 * libspi/accessibleeventlistener.c
4922 (impl_accessible_event_notify_event): unref the source.
4924 * idl/Event.idl: remove 'hash_id' attribute - of no
4927 * libspi/application.c (notify_listeners): upd list
4929 (spi_application_object_event_listener),
4930 (spi_application_toolkit_event_listener): upd to do correct
4934 (_registry_notify_listeners): update.
4935 (parse_event_type): this method also leaks like a sieve.
4936 (impl_accessibility_registry_deregister_global_event_listener):
4937 fix ETYPE_WINDOW case.
4939 * libspi/application.c
4940 (impl_accessibility_application_register_object_event_listener):
4943 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4945 * libspi/hypertext.c (impl_getLink): ditto.
4947 * cspi/spi_main.c (cspi_object_add): remove
4948 bogus CORBA_Object_duplicate.
4950 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4953 * cspi/spi_accessible.c
4954 (Accessible_getRelationSet): fix leak / referencing issue.
4956 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4957 (cspi_object_add, cspi_object_unref): upd.
4958 (spi_object_release, get_live_refs): impl.
4959 (cspi_cleanup): simplify.
4961 * *.[ch]: s/boolean/SpiBoolean/
4963 * cspi/spi_accessible.c (role_names): actualy order so it
4964 corresponds with the enum !
4966 * test/test-simple.c (test_roles): check some role strings
4967 vs. enums to detect offset errors.
4969 2001-12-01 Michael Meeks <michael@ximian.com>
4971 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4973 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4975 (Accessible_getChildAtIndex): use cspi_add_check so we
4976 check the ev before using a (possibly) invalid value.
4978 * libspi/accessible.c
4979 (impl_accessibility_accessible_get_parent): don't segv
4982 * at-bridge/bridge.c (gtk_module_init): upd.
4983 (bridge_property_event_listener): don't leak strings
4985 (bridge_state_event_listener),
4986 (bridge_property_event_listener): don't use a static
4987 buffer in case of recursive event emission &
4988 re-enterancy - split out the swathe of cut and paste
4990 (emit_eventv): and fix 2 ref leaks here & comply to the
4992 (bridge_register_app): rename to
4993 (bridge_idle_init): this and kill arg parsing, split
4994 various inits & bonobo-activation registration to module
4995 init time, kill referencing error.
4996 (bridge_exit_func): fix the same leak.
4997 (bridge_focus_tracker): don't leak event structures
4999 (bridge_signal_listener): more leakage and cut & paste
5001 (bridge_key_listener): return the result - FIXME is
5002 this polarity correct ?
5003 (accessibility_keystroke_from_atk_key_event): rename
5004 (accessibility_init_keystroke_from_atk_key_event): and stop
5006 (gtk_module_init): return a value - not that it is checked by
5008 (bridge_key_listener): register my horror at casting between
5009 IDL defined structs.
5010 (bridge_get_registry): kill - not used.
5012 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5014 * test/test-simple.c (test_roles): impl.
5015 (test_desktop, validate_accessible, validate_tree): impl.
5017 * cspi/spi_accessible.c (role_names): fixup bogus
5018 MAX_ROLES setup, make constants const for efficient linkage
5019 (AccessibleRole_getName): conform to coding style, make
5022 2001-11-30 Michael Meeks <michael@ximian.com>
5024 * cspi/spi.h: add missing prototype.
5026 * libspi/registry.c (spi_listener_struct_new): fix sig.
5028 * test/Makefile.am: add test-simple
5030 * test/test-simple.c: add
5032 * test/test.sh: add.
5034 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5036 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5037 do it straight - since otherwise we often get an activation race.
5039 [ work before Bill duplicated a chunk of it ... ]
5040 2001-11-30 Michael Meeks <michael@ximian.com>
5042 * libspi/keystrokelistener.c
5043 (spi_keystroke_listener_class_init): fixup arg
5046 * libspi/eventlistener.c
5047 (spi_event_listener_class_init): ditto.
5049 * tests/test.sh: add.
5051 * cspi/spi-listener-impl.h: update macros.
5053 * cspi/spi-listener-impl.c
5054 (cspi_event_listener_remove_callback): add
5055 correct pre-conditions.
5057 * cspi/spi_main.c (SPI_exit): guard vs. double
5058 exits, exit the mainloop nicely.
5059 (SPI_event_main): make more sense.
5060 (SPI_init): move the atexit evilness here so we
5061 always do it (yuck).
5062 (SPI_event_main): upd.
5064 * test/simple-at.c: update for listener changes.
5066 * registryd/registryd.c (main): prune kruft.
5068 * libspi/libspi.h: upd.
5070 * libspi/eventlistener.[ch]: rename broken macros.
5072 * libspi/accessibleeventlistener.[ch]: remove.
5074 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5076 * test/test-simple.c: Add - automated tests.
5078 * cspi/spi-listener-impl.c (cspi_event),
5079 (cspi_key_event): add user_data to invoke.
5080 (cspi_keystroke_listener_finalize): impl.
5081 (cspi_keystroke_listener_class_init): upd.
5084 (createAccessibleEventListener),
5085 (AccessibleEventListener_addCallback),
5086 (createAccessibleKeystrokeListener),
5087 (AccessibleKeystrokeListener_addCallback): upd.
5089 * libspi/deviceeventcontroller.c
5090 (spi_device_event_controller_check_key_event): add public proto.
5093 (impl_accessibility_registry_deregister_global_event_listener):
5094 always init listeners.
5095 (_registry_notify_listeners): yes it is.
5097 * cspi/spi-listener-impl.c (cspi_key_event):
5099 (cspi_event_listener_finalize): impl.
5100 (cspi_event_listener_class_init): hook up.
5101 (event_handler_new, event_handler_free),
5102 (event_list_remove_by_callback): impl.
5103 (cspi_event_listener_remove_callback),
5104 (cspi_keystroke_listener_remove_callback),
5105 (cspi_keystroke_listener_add_callback),
5106 (cspi_event_listener_add_callback): upd.
5108 * libspi/keystrokelistener.c
5109 (keystroke_listener_object_finalize): kill
5110 (spi_keystroke_listener_class_init): upd.
5111 (spi_keystroke_listener_add_callback),
5112 (spi_keystroke_listener_remove_callback): kill,
5114 (impl_key_event): prune drasticaly.
5116 * libspi/eventlistener.c
5117 (spi_event_listener_add_callback),
5118 (spi_event_listener_remove_callback): kill, use
5120 (impl_accessible_event_notify_event): upd.
5121 (spi_event_listener_object_finalize): remove.
5123 * libspi/Makefile.am: use eventlistener.[ch]
5125 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5127 * libspi/registry.c (_registry_notify_listeners):
5128 Changed listener loop iteration to use preferred convention.
5129 Got rid of string memory leaks caused be calling g_strconcat
5130 inside function calls.
5132 * libspi/registry.c (parse_event_type):
5133 Stopped g_strconcat memory leaks, free the g_strsplit return,
5134 g_strdup the split pieces when used, etc.
5136 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5139 Change method 'compare' to return a 'difference set' rather than
5140 taking a StateSet as an out parameter (more Java-friendly).
5142 * idl/Accessible.idl:
5143 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5145 * idl/Component.idl:
5147 Changed methods 'getExtents' and 'getImageExtents' in these
5148 interfaces to return a BoundingBox structure.
5149 (getPosition and getSize are redundant and possibly should be
5150 removed, rather than creating a corresponding Point struct.)
5152 * cspi/spi_component.c:
5153 Modify implementation of getExtents to reflect the above IDL
5158 Add (missing) AccessibleImage_getExtents () API.
5160 * docs/reference/cspi/at-spi-cspi-sections.txt:
5161 Added AccessibleImage_getImageExtents () to docs.
5163 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5165 * idl/Component.idl:
5166 Added two methods, getLayer () and getMDIZOrder (), to reflect
5167 the new ATK methods atk_object_get_layer and
5168 atk_object_get_mdi_z_order. (Which arguably should be part of the
5169 AtkComponent API and AtkObject). Also added an enum,
5170 ComponentLayer, for the first method's return value.
5172 * libspi/component.c:
5173 Added implementations for these methods.
5175 * cspi/spi_component.c:
5177 Added cspi binding methods for above,
5178 AccessibleComponent_getLayer() and
5179 AccessibleComponent_getMDIZOrder().
5180 Added cspi enum 'AccessibleComponentLayer'.
5182 * docs/reference/cspi/at-spi-cspi-sections.txt:
5183 Added above methods to docs.
5187 Changed typedef for 'boolean' type (and all references to it) to
5188 SPIBoolean, to avoid keyword clashes with C++.
5191 Changed usages of 'boolean' to SPIBoolean.
5193 * test/keysynth-demo.c:
5194 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5195 app), except where SPIBoolean is required by the callbacks API.
5197 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5199 * cspi/spi_registry.c:
5200 Removed obsolete X event loop for passive keygrabs (which now
5203 * registryd/registryd.c:
5204 Removed unnecessary call to gdk_init() [cruft]. This also allows
5205 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5208 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5210 * docs/reference/cspi:
5211 Included docs for SPI_freeString in generated documentation.
5214 Renamed spi_freeString to SPI_freeString, for consistency. Added
5215 documentation for this function.
5218 Renamed spi_freeString to SPI_freeString, for consistency.
5219 Removed obsolete method declaration string_from_corba_string.
5221 * test/keysynth-demo.c:
5222 Small tweak to comments.
5225 Stopped leaking the strings returned from CSPI.
5227 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5229 Merged Michael's branch (see his ChangeLog entries below).
5231 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5232 bridge is alive, release on exit.
5234 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5235 Fix type check macro.
5238 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5241 Added is_gnome_app static, and method cspi_is_gnome_app(),
5242 so we can call the appropriate shutdown routine at exit in SPI_exit.
5244 * cspi/spi_main.c (cspi_object_ref):
5245 Duplicate the corba object passed in, since we're keeping it around.
5247 * cspi/SPI_exit.c, cspi_cleanup:
5248 Moved the releasing of the live refs to its own function, so we
5249 can put it in g_atexit (). Call the appropriate shutdown API
5250 depending on whethe calling client is a gnome app or not
5251 (bonobo_main_quit or CORBA_ORB_shutdown).
5253 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5254 Unref the listener when this method is called, after
5255 deregistration. Updated the API docs to note this behavior.
5257 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5258 Bugfixes: Ref the bonobo object when returning a parent or child
5259 reference, or an AccessibleRelation. Generally made sure
5260 BonoboObject refcount is incremented whenever we return an
5263 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5264 Fixed typo/bug in signal declaration.
5266 * libspi/accessibleeventlistener.h:
5269 * libspi/application.c (spi_application_new):
5270 Fixed leak in initialization.
5273 Remembered to increment bonobo-object refcount when returning
5274 children (applications) from desktop object.
5275 Added (empty) finalize method.
5277 * libspi/deviceeventcontroller.c:
5278 Hold a ref to listeners inside DEControllerKeyListeners.
5279 Added dec_key_listener_free() method. Use prepend instead of
5280 append in key_listener list. Fixed some refcount madness and
5281 leaks in the listener registration/deregistration - deregistration
5282 now calls dec_key_listener_free() on listeners, and on the
5283 temporarily constructed dec_key_listener() used to perform the search/match.
5285 * libspi/hypertext.c (spi_hypertest_finalize):
5286 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5287 class. Also fixed spi_hypertext_interface_new() and
5288 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5290 * libspi/hypertext.h:
5291 Removed pointless and duplicate AtkObject pointer from
5294 * libspi/keystrokelistener.c:
5295 Fixed incorrect type of keystroke_listener_parent_class,
5296 renamed keystroke_listener_object_finalize to
5297 spi_keystroke_listener_object_finalize.
5298 Fixed typo in signal declaration
5299 (spi_keystroke_listener_class_init).
5301 * libspi/registry.c:
5302 Added funcsions spi_listener_struct_new() and
5303 spi_listener_struct_free() to help with memory management issues.
5304 We also now use these methods instead of gnew + poking stuff into
5305 the struct, and to decrement listener counts/free the listeners
5306 when deregistering them.
5307 Fix more refcount bugs in getDesktop() and
5308 getDeviceEventController().
5311 De-ref the desktop after enumerating the applications. Explicitly
5312 decrement the refcounts on the created listeners on exit (using
5313 _unref for keystroke listeners, and via the
5314 deregisterGlobalEventListenerAll command for other event
5317 2001-11-27 Michael Meeks <michael@ximian.com>
5319 * cspi/spi-listener.h: fixup enum.
5321 2001-11-27 Michael Meeks <michael@ximian.com>
5323 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5324 (cspi_keystroke_listener_new): Use the cspi variants.
5326 2001-11-26 Michael Meeks <michael@ximian.com>
5328 * test/keysynth-demo.c: fix 2 compile warnings, missing
5331 * test/simple-at.c (report_focussed_accessible),
5332 (report_focus_event, report_button_press),
5333 (check_property_change, is_command_key),
5334 (report_ordinary_key_event, report_command_key_event): upd.
5336 * util/mag_client.h: include pre-requisites.
5338 * libspi/accessibleeventlistener.c
5339 (spi_event_listener_object_finalize): free any lingering
5342 * libspi/keystrokelistener.c
5343 (keystroke_listener_object_finalize): ditto.
5345 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5346 callbacks, with cspi types.
5348 * cspi/spi_event.c (createAccessibleEventListener): chain to
5349 (AccessibleEventListener_addCallback): here.
5350 (createAccessibleKeystrokeListener): chain to
5351 (AccessibleKeystrokeListener_addCallback): here.
5353 * libspi/keystrokelistener.c
5354 (spi_keystroke_listener_class_init): add signal.
5355 (impl_key_event): emit the event.
5356 (boolean_handled_accumulator): impl.
5357 (marshal_BOOLEAN__POINTER): add, gack.
5359 * libspi/accessibleeventlistener.c
5360 (spi_event_listener_class_init): add signal.
5361 (impl_accessible_event_notify_event): emit the signal &
5362 make the loop efficient.
5363 (spi_event_listener_add_callback): prepend the callback.
5365 * libspi/accessibleeventlistener.h: add an 'event' signal,
5366 decl type on callback.
5368 * libspi/keystrokelistener.h: ditto.
5370 * cspi/spi-listener.h: make methods typesafe and
5371 make them use the new event typedefs.
5373 * test/simple-at.c (report_focussed_accessible):
5374 include mag_client.h
5375 Use *(void *)text_interface not the other thing.
5377 * configure.in: add gtk to registryd bits - since we use
5380 * util/magnifier.c: include libbonobo.h
5382 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5384 * test/keysynth-demo.c:
5385 Turned this into a simple scanning keyboard, to demonstrate the
5386 use of g_timeout_add () as a means of creating timers for
5387 scanning, and the use of GtkStyle for visually indicating when
5388 virtual keyboard elements are selected.
5390 keysynth-demo now listens to any keyboard keys with zero-valued
5391 keycodes (i.e. 'unused' keys) and interprets them as
5394 Reworked the shiftlatch code so that shift-down state isn't held
5395 for long periods (it's only synthesized immediately prior to
5396 the keysynth event it's modifying). Note that shiftlatch in this
5397 demo is a convenience, not intended to take the place of AccessX
5398 which is the better choice for getting 'sticky' modifier keys.
5400 * libspi/deviceeventcontroller.c:
5401 * at-bridge/bridge.c:
5402 * cspi/spi_registry.c:
5403 Removed some debug print stuff, and put other verbosity in #ifdef
5408 Implemented some more of the magnifier IDL for the simple
5409 magnifier: namely, getZoomRegionParams.
5410 Added mag_x and mag_y members to MagnifierData struct, aid of this
5412 Added GtkWindow::realize signal handler to magnifier, to keep it
5413 from receiving keyboard focus from the WM.
5415 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5417 * cspi/spi-private.h: my guess at what michael forgot
5418 before he ran off to NZ :-)
5420 2001-11-23 Michael Meeks <michael@ximian.com>
5422 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5423 comment out non existant method invoke so we link.
5425 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5426 use bonobo_exception_get_text for more friendly warnings.
5428 * cspi/spi.c (Obj_Add): move into spi_main & rename
5429 spi_object_add; kill spi.c
5431 * cspi/spi_registry.c
5432 (deregisterGlobalEventListener),
5433 (deregisterGlobalEventListenerAll),
5434 (registerGlobalEventListener): fix exception leaks.
5436 * cspi/spi_main.c (spi_exception): impl. helper, so we
5437 don't leak exceptions.
5439 * cspi/spi_selection.c
5440 (AccessibleSelection_deselectSelectedChild): return the
5443 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5444 (spi_registry): ditto.
5445 (SPI_init): guard against double inits.
5447 * cspi/*.c: use spi_ev (), and spi_registry () where
5448 appropriate - a temporary hack until we have something
5449 better. Use spi_object_add
5451 2001-11-22 Michael Meeks <michael@ximian.com>
5453 * cspi/Makefile.am: re organise, install the headers.
5455 * cspi/*.h: add G_BEGIN/END_DECLS
5457 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5460 Added non-preemptive keylistener for key events with no modifiers
5461 and shift-only modifier.
5463 * libspi/keystrokelistener.c:
5464 Removed some verbose diagnostics printout.
5466 * cspi/spi_registry.c:
5467 Fixed a bug that caused all key listeners to be registered as
5470 * libspi/deviceeventcontroller.c:
5471 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5472 for non-preemptive key masks.
5475 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5477 * docs/reference/idl/at-spi-idl-docs.sgml:
5478 * docs/reference/idl/at-spi-idl-sections.txt:
5479 * docs/reference/idl/at-spi-idl-overrides.txt:
5480 Added missing files.
5482 * docs/reference/Makefile.am:
5483 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5484 to scan the IDL files :-(
5489 Added .cvsignore files.
5491 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5493 * libspi/deviceeventcontroller.c:
5494 * libspi/keystrokelistener.c:
5496 * cspi/spi_registry.c:
5497 Added filters for KeySets, KeyEventSeq, and event types to key
5498 event dispatching, so listeners should only receive those events
5499 that they requested :-)
5501 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5506 * docs/reference:Makefile.am:
5507 * docs/reference/cspi:
5508 * docs/reference/cspi:Makefile.am:
5509 * docs/reference/cspi:tmpl:
5510 * docs/reference/cspi:tmpl:*.sgml:
5511 * docs/reference/idl:
5512 * docs/reference/idl:Makefile.am:
5513 * docs/reference/idl:at-spi-idl-sections.txt:
5514 * docs/reference/idl:at-spi-idl-docs.sgml:
5515 * docs/reference/idl:tmpl:
5516 * docs/reference/idl:tmpl:*.sgml:
5518 Restructured docs directory to allow separate 'reference' docs
5519 section, and forked idl and cspi docs. Added the sgml template
5520 files to CVS. Added the first sections/structural sgml for the
5523 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5525 * configure.in, libspi/Makefile.am: find libXtst.
5527 2001-11-21 Michael Meeks <michael@ximian.com>
5529 * test/accessx-gui.c: s/spi_value/value/ - doh.
5531 * libspi/base.[ch]: add.
5533 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5535 * idl/Accessible.idl:
5536 * idl/Application.idl:
5539 Started gtk-doc cleanup on IDL.
5541 * libspi/deviceeventcontroller.c:
5542 Added and connected non-preemptive key notification from the
5543 toolkits (in addition to the pre-emptive support from XServer
5544 which we had before, but which causes 'focus flashing'). Filters
5545 are presently limited to key modifiers and global/non-global,
5546 KeySets are presently ignored, as are KeyEvent masks.
5548 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5549 structs into the persistant structure rather than just storing
5550 pointers to things that might not persist across servant
5553 The XGrabKey call now does async keygrabs, because synchronous
5554 ones were deadlocking with GDK_event code in a very nasty way.
5556 Added boolean to internal method notify_keylisteners, to indicate
5557 whether the event came from the 'toolkit source' or the 'global
5558 (XServer) source' - this is used in the notification process to
5559 determine which listeners to send the event to.
5561 deviceeventcontroller.c is now warning-free.
5563 * libspi/registry.c:
5564 Fixed regression in application de-registration.
5565 Also fixed some really brain-dead weirdness having to do with
5566 event dispatching - event structs are now duplicated before being
5567 re-marshalled in the dispatch to listeners. This also fixes a
5568 Solaris build problem.
5571 2001-11-20 Michael Meeks <michael@ximian.com>
5574 (impl_accessibility_registry_deregister_global_event_listener):
5577 * libspi/deviceeventcontroller.c
5578 (spi_device_event_controller_check_key_event): return
5579 FALSE on no virtual method.
5581 * libspi/*..h: make includes work on a correctly pathed install.
5583 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5585 * libspi/application.h: kill unused ( and whacked out )
5586 gboolean *spi_application_set_id (AtkObject *app, long id);
5588 2001-11-20 Michael Meeks <michael@ximian.com>
5590 * libspi/*.[ch]: further convert to bonobo's type func
5591 macros, remove redundnant casts etc.
5593 * libspi/text.c s/accessibility_text/spi_text/g,
5594 re-order to de-cruft.
5596 * libspi/hypertext.c: re-order to kill a huge slew
5597 of redundant forward decls.
5599 * libspi/relation.c: ditto.
5601 * libspi/image.c: ditto.
5603 * */.cvsignore: update
5605 2001-11-20 Michael Meeks <michael@ximian.com>
5607 * libspi/deviceeventcontroller.c
5608 (_controller_register_with_devices): use g_getenv,
5609 kill stdlib.h include.
5611 * libspi/keystrokelistener.c
5612 (spi_keystroke_listener_get_type): kill
5613 (spi_keystroke_listener_class_init),
5614 (spi_keystroke_listener_init): rename to this.
5616 * libspi/text.c (impl_getAttributes): fix warning / bug.
5618 * libspi/*.[ch]: more headers, includes and over commenting.
5620 2001-11-20 Michael Meeks <michael@ximian.com>
5622 * libspi/*.[ch]: fixup headers, includes and over commenting.
5624 * libspi/image.c (impl__get_imageDescription): const
5625 correctness warning fix. remove redundant casting.
5627 * libspi/table.c (impl_getRowDescription): ditto.
5628 (impl_getColumnDescription): ditto.
5630 * libspi/libspi.h: add.
5632 2001-11-19 Michael Meeks <michael@ximian.com>
5634 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5636 * libspi/component.c (accessibility_component_get_type):
5637 rename to (spi_component_get_type): and macroify.
5638 (accessibility_component_init): rename to
5639 (spi_component_init): this
5640 (accessibility_component_class_init): rename to
5641 (spi_component_class_init): this
5643 * libspi/action.c (spi_action_get_type): kill, use the macro.
5645 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5648 * libspi/application.c (spi_application_object_event_listener),
5649 (impl_accessibility_application_register_object_event_listener):
5650 warning fixes / const understanding updates.
5652 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5655 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5657 * libspi/spi_accessible.c: Added docs and C bindings for
5658 AccessibleStateSet. (No implementations yet). Documentation
5659 coverage for C bindings now 100%. Made docs for event listeners
5664 boolean notifyListenersSync (in DeviceEventListener listener,
5665 in DeviceEvent event);
5667 oneway void notifyListenersAsync (in DeviceEventListener listener,
5668 in DeviceEvent event);
5670 Added DeviceEventListener and DeviceEvent structs (may deprecate
5671 KeyStroke and KeystrokeListener in favor of this generic
5672 event/listener framework for devices).
5674 * libspi/deviceeventcontroller.c:
5676 Changed some key listener code to take masks, etc., and paved the
5677 way for integration of toolkit/non-preemptive key events. Changed
5678 signatures of some internal methods.
5680 * at-bridge/bridge.c:
5681 Fixed regression connecting to interface signals, apparently
5682 caused by GTK+ changes.
5684 Added an internal bridge_state_listener to deal with
5685 property-change:accessible-state signals.
5687 Changed the key_listeners GList to store structs (including masks,
5688 etc.) instead of just CORBA_Objects (required for full
5689 implementation of key listener API).
5691 Connected the bridge to all currently supported Atk signals.
5692 Events now supported:
5693 object:property-change
5694 object:property-change:accessible-name
5695 object:property-change:accessible-state
5696 object:property-change:accessible-description
5697 object:property-change:accessible-parent
5698 object:property-change:accessible-value
5699 object:property-change:accessible-role
5700 object:property-change:accessible-table-caption
5701 object:property-change:accessible-table-column-description
5702 object:property-change:accessible-table-column-header
5703 object:property-change:accessible-table-row-description
5704 object:property-change:accessible-table-row-header
5705 object:property-change:accessible-table-summary
5706 object:children-changed
5707 object:visible-data-changed
5708 object:selection-changed
5709 object:text-selection-changed
5711 object:text-caret-moved
5713 object:row-reordered
5715 object:column-inserted
5716 object:column-reordered
5717 object:column-deleted
5718 object:model-changed
5720 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5722 * libspi/hyperlink.c,h:
5723 Fixed some broken stuff in hyperlink.
5725 * libspi/relation.h:
5726 * libspi/relation.c:
5727 * cspi/spi_accessible.c:
5728 Initial implementations of AccessibleRelation methods, and docs.
5730 * libspi/accessible.c:
5731 Fixed a bug that caused SEGV if an accessible
5732 object's description is NULL, and a client
5733 requests it. An empty string is now returned.
5735 * cspi/spi_editabletext.c:
5736 * cspi/spi_hypertext.c:
5738 * cspi/spi_hyperlink.c:
5742 Doc coverage now 95%.
5744 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5746 One last namespacing revision:
5747 * libspi/accessibleeventlistener.[ch]:
5748 Renamed SpiAccessibleEventListener to SpiEventListener,
5749 (no need for two namespaces ;-)
5751 And lots of documentation fixes:
5753 * docs/at-spi-docs.sgml:
5754 Fixed 'underscore vs. hyphen' bug that was preventing
5755 the gtk-doc API docs from being automatically generated.
5758 * cspi/spi-listener.h
5760 * cspi/spi_accessible.c
5762 * cspi/spi_application.c
5763 * cspi/spi_component.c
5764 * cspi/spi_editabletext.c
5766 * cspi/spi_hypertext.c
5768 * cspi/spi_registry.c
5769 * cspi/spi_selection.c
5773 * docs/at-spi-docs.sgml
5774 * docs/at-spi-sections.txt
5776 Added and fixed up gtk-doc documentation in cspi.
5778 Interfaces now (fully) documented (subject to revision and enhancement):
5780 Event Listener Support
5782 AccessibleApplication
5786 AccessibleEditableText
5793 AccessibleRelationSet
5798 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5800 * at-bridge/bridge.c:
5801 Initial work for toolkit-level key snooper connection by bridge.
5806 New typedefs and fixes to support new namespacing, and cleaner
5807 separation of cspi bindings from libspi bonobo implementation.
5808 Removed inconsistent and extraneous Spi* namespace prefix that
5809 had crept into cspi headers.
5810 Lots of comment fixes that sed had missed.
5812 * cspi/spi-roletypes.h:
5813 * cspi/spi-statetypes.h:
5814 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5815 to AccessibleRoleType.
5817 * libspi/accessibleeventlistener.h:
5818 Fixed minor namespacing weirdness.
5820 * libspi/deviceeventcontroller.c:
5821 Reordered some internal API for device listeners.
5822 Changed the key registry final boolean to 'is_system_global'
5823 rather than 'is_synchronous', which is more descriptive of its
5825 Added spi_device_event_controller_new().
5826 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5828 * libspi/keystrokelistener.[ch]:
5829 Namespaced KeystrokeListener to SpiKeystrokeListener.
5830 Changed uses of keymasks to use SPI_ prefix, and did other
5833 * libspi/keymasks.h:
5834 Namespaced keymask constants with SPI_ prefix.
5836 * libspi/registry.c:
5837 Some warning fixes, and knock-on fixes from namespace changes.
5840 Added rules for accessx-gui test program.
5842 * test/accessx-gui.c:
5843 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5844 utility. It doesn't actually use at-spi, but it's still cool and
5847 * test/keysynth-demo.c:
5851 Fixes so that these test clients work properly with the namespaced
5852 libraries. (Incompletely tested for technical reasons, fixes may follow)
5855 2001-11-13 Michael Meeks <michael@ximian.com>
5857 * libspi/application.c
5858 (impl_accessibility_application_get_version),
5859 (impl_accessibility_application_get_toolkit_name):
5861 (impl_accessibility_application_set_id),
5862 (impl_accessibility_application_get_id): remove
5863 redundant casting code.
5865 * libspi/action.c (impl_getDescription): fix warnings.
5867 * libspi/accessible.c
5868 (impl_accessibility_accessible_get_parent),
5869 (impl_accessibility_accessible_get_child_at_index),
5870 (impl_accessibility_accessible_get_state),
5871 (impl_accessibility_accessible_get_relation_set):
5872 warning fixes & include action.h
5874 2001-11-13 Michael Meeks <michael@ximian.com>
5876 * *.[ch] fix bits I screwed up:
5878 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5879 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5881 2001-11-13 Michael Meeks <michael@ximian.com>
5883 * *.[ch] Namespace libspi into spi_ and Spi.
5885 2001-13-11 Michael Meeks <michael@ximian.com>
5887 * Makefile.am: dist & install at-spi-1.0.pc
5889 * libspi/Makefile.am: install into at-spi-1.0
5891 * idl/Makefile.am (idldir): install into at-spi-1.0
5893 * at-spi-1.0.pc.in: add.
5895 * configure.in: build it.
5897 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5899 * test/keysynth-demo.c:
5900 Use a 'realize' signal-handler to set the WM properties for
5901 the virtual keyboard, rather than making it a "POPUP" type
5902 override-redirect window (thanks to anders carlsson for that
5905 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5908 * test/keysynth-demo.c:
5909 Added new test of key synthesis, which creates a simple
5910 (mouse-operated) onscreen keyboard. It inserts key events into
5911 the currently-focused window, thus it does not grab keyboard focus
5914 * cspi/spi_registry.c:
5915 Added C binding for AT-SPI generateKeyEvent.
5917 * libspi/deviceeventcontroller.c:
5918 Added call to XFilterEvent so that key listener works with XIM (we
5919 hope). Added event_synth_type to generateKeyEvent, so that we can
5920 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5921 synthesize a press/release pair for KeySyms.
5923 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5925 * libspi/Makefile.am:
5926 * registryd/Makefile.am:
5927 (temporary) hack to include libXtst in libspi and registryd.
5928 (Needed for keystroke synthesis, see below).
5931 Improved API for registerKeystrokeListener, in accordance with
5932 discussions with Gnopernicus team and X server research.
5934 * libspi/registry.c:
5935 * libspi/deviceeventcontroller.c:
5936 * libspi/accessible.c:
5937 * libspi/keystrokelistener.c:
5938 Changes and fixes to support keylisteners for potentially
5939 consumed key events (that is, 'passive grabs').
5940 Added implementation for generateKeyEvent() [untested].
5943 Changes to registerKeystrokeListener() API, as above.
5944 Added deregisterGlobalEventListenerAll(), and
5945 deregisterKeystrokeListener(), which are needed for clean exit of
5947 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5948 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5950 * cspi/spi_registry.c:
5951 Added implementations of function prototypes mentioned above.
5953 * registryd/registryd.c:
5954 Added the key listener event source as a g_timeout(), to allow
5955 receipt of key events that are not caught by GDK (since GDK
5956 doesn't support passive keygrabs, this was necessary).
5959 Changed to attach a keylistener to 'Alt' keys, and
5960 respond to the following keycommands: Alt-M (toggle magnifier);
5961 Alt-F (toggle speech); Alt-Q (quit).
5962 Added an exit routine to deregister the listeners, and a key
5963 listener that prints some key info to the console when a key
5964 matches the listener mask (and is thus received by the listener).
5966 * util/idl/Magnifier.idl:
5967 Changes to magnifier API to support multiple zoom regions,
5968 non-uniform scaling in x and y, markDirty, and a host of other
5969 features that would be useful to magnification.
5972 * util/mag_client.c:
5973 * util/mag_client.h:
5974 * util/mag_control.c:
5976 Source code changes to support the above IDL changes.
5979 As above, and also changes to use a (slower) generic conversion
5980 path for colormap conversions, since the fast RGB conversions have been
5981 reported to fail for 16-bit displays.
5983 2001-10-26 Michael Meeks <michael@ximian.com>
5985 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5987 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5989 * at-bridge/Makefile.am: fix LDFLAGS.
5991 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5993 * at-bridge/bridge.c:
5994 Re-worked listeners for toolkit events, now we have signal
5995 and property listeners. Added a private method
5996 register_atk_event_listeners(), which registers with the
5997 various atk and gtk signals we need to monitor in order to emit
5999 Added emission hook for AtkObject:property-change events, to
6000 support the 'property listeners'.
6001 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6004 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6005 which emit warnings and exit, respectively, if CORBA errors occur
6006 during remote calls, and we now use these methods to check most of
6007 our CORBA calls in the C bindings.
6009 * cspi/spi_accessible.c:
6010 Changed AccessibleSelection_refSelectedChild() to
6011 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6012 now increment refcounts.
6014 * cspi/spi_component.c:
6015 Fixed some long pointer casts (dangerous!) to pass pointers to
6016 CORBA_longs of the proper type to the CORBA stubs, and copy the
6017 data into the longs that were passed into the C bindings code.
6019 * at-bridge/bridge.c:
6021 * libspi/accessible.c:
6022 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6023 hyperlinks, AtkHyperlink is an object type.
6025 * libspi/application.c:
6026 Added various conversions to and from "generic" event types and
6027 atk-specific types; this is really part of the 'bridge'
6028 implementation but is valid for all AtkObject-based accessibility
6031 * libspi/editabletext.c:
6032 Fixed nasty bug wherein editable text's finalize method was
6033 unref'ing tha AtkObject reference that the text parent class was
6034 about to unref _again_. There was also a nasty inheritance bug
6035 that meant that the AccessibleEditableText class was corrupt.
6037 * libspi/selection.c:
6038 Provided implementations for some selection API that was broken.
6040 * idl/Application.idl:
6041 Added registerObjectEventListener () method.
6044 Fixed a number of return values that were Bonobo_Unknowns from
6045 bonobo_object_corba_objref(), which I
6046 forgot to dup before returning. Changed instances of
6047 bonobo_object_corba_objref (bonobo_object(o)) to
6048 BONOBO_OBJREF(o), for concision and clarity.
6050 2001-10-13 Louise Miller <louise.miller@sun.com>
6052 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6053 idl/Event.idl, idl/Registry.idl
6054 Changed these files to include Bonobo_Unknown.idl instead
6057 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6059 * libspi/component.c libspi/component.h:
6060 Fixed typo. Added assertions for object checks in
6061 AccessibleComponent code.
6063 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6065 * idl/Accessible.idl:
6066 Added 'isEqual (Accessible *object)'
6067 method for Accessible. (Not Yet Implemented).
6070 Changed signature of registerKeystrokeListener() to
6071 take a KeySet and KeyEventSeq so that specific keys and event
6072 types could be requested for monitoring, and added a flag
6073 is_synchronous so that either synchronous or asynchronous
6074 notification could be requested. (However this is not all
6075 implemented yet). This also meant adding two new typedefs,
6076 KeyEventSeq and KeySet.
6079 Added two new relations, RELATION_TOOLTIP_FOR and
6080 RELATION_LEAFNODE_OF.
6083 Added new state, STATE_HAS_TOOLTIP.
6085 * libspi/text.c, editabletext.c:
6086 Added new assertions to all casts of bonobo-objects from
6087 CORBA servants, to prevent Text API calls on non-text objects.
6088 Changed suspect casts of int-pointer types, so that we
6089 always send a valid CORBA_long pointer to the CORBA APIs that use
6090 in/out long parameters. We then have to copy from the CORBA_long
6091 into the regular long or int for return to the C bindings, or
6092 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6095 * libspi/deviceeventcontroller.c:
6096 Cleaned these sources up.
6098 Changed return type for getCharacterAtOffset to
6099 CORBA_unsigned_long, to allow for 32-bit characters.
6102 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6106 Fixed 'make dist' so that distro compiles...
6107 * libspi/keymasks.h:
6109 * cspi/spi-listener.c:
6110 KeystrokeListenerCB now returns a boolean.
6112 Added KeyEventType struct, and KeyStroke.
6113 Also added createKeystrokeListener(),
6114 KeystrokeListener_addCallback(),
6115 KeystrokeListener_removeCallback(), and added a keymask to
6116 registerKeystrokeListener().
6117 * cspi/spi_accessible.c:
6118 Changed numerous return types for interfaces from
6119 AccessibleComponent to Accessible<InterfaceName>; this was
6120 probably a cut-and-paste error.
6122 Implementations of new KeystrokeListener api (from spi.h,
6125 Changes to key modifier mapping.
6126 Created ControllerEventMask struct.
6127 Made DeviceEventController derive from Bonobo::Unknown.
6129 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6130 * libspi/deviceeventcontroller.c:
6131 Added a number of new internal (private) methods.
6132 * libspi/editabletext.c:
6133 * libspi/editabletext.h:
6134 Fixed a number of bugs related to the fact that
6135 editabletext inherits from text. Fixed the EditableText struct,
6136 the init() call, and use correct casts when calling Text methods
6137 from an EditableText object. Removed (duplicate) atko from the
6138 EditableText structure, we use the one in the parent Text
6139 structure via the casts mentioned above.
6140 * libspi/keystrokelistener.[ch]:
6141 * libspi/registry.c:
6142 Changes in support of keyboard handling (above).
6144 Keyboard handling, though partly functional, is still not
6145 recommended for at-spi client use as there is considerable
6146 work yet to be done.
6149 Changed some places where pointers to various int types
6150 are cast to be pointers to CORBA_long types and vice-versa:
6151 pointer casting is not safe so we pass pointers of the correct
6152 types and then cast the result before putting it into the target
6155 * libspi/text.h: minor typos corrected.
6157 We now speak not only the name of a Text element, but the
6158 first sentence of its content, when it receives focus.
6159 I also changed the text compression to 75% from 50%.
6160 * util/Accessibility_Util.server.in:
6161 Changed the default magnifier type to be a 3x vertical
6162 splitscreen magnifier (was previously a 2x horizontal one).
6164 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6166 * libspi/keystrokelistener.h:
6167 * libspi/keystrokelistener.c:
6168 Initial functional implementations of KeystrokeListener.
6171 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6173 Fixed string handling for NULL strings in libspi.
6174 Added spi_freeString to free strings returned by C bindings.
6176 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6178 * libspi/keystrokelistener.h:
6179 * libspi/keystrokelistener.c:
6180 Began (no-op) implementations of KeystrokeListener
6182 * libspi/deviceeventcontroller.c:
6183 * libspi/deviceeventcontroller.h:
6184 Began creating implementations of DeviceEventController,
6185 to handle keystroke and mouse event listening and
6187 * libspi/accessible.c:
6188 Stubbed-in the implementations for
6189 Accessibility_Accessible_getState and
6190 Accessibility_Accessible_getRelationSet.
6191 * libspi/registry.c:
6192 Improved de-registration process and fixed some bugs,
6193 deregistration now works correctly.
6195 Added initialization of applications list (to NULL).
6197 Reduced speech compression from 0.5 to 0.7, for demo.
6198 Changed call to gdk_window_set_decorations()
6199 to gtk_window_set_decorated().
6200 * at-bridge/bridge.c:
6201 Bridge now deregisters when app exits, via
6202 registration of a cleanup function
6203 with the g_atexit() call.
6204 Required making 'app' static, renamed 'this_app'.
6205 Fixed broken use of bonobo_init, passing argv wrongly.
6207 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6211 Created a new directory for
6212 accessibility-related utilities, primarily for
6213 testing and demo purposes, but with possible
6220 Onscreen magnifier utility that
6221 is implemented as a bonobo service.
6223 * util/mag_client.c:
6224 * util/mag_client.h:
6225 Client-side support (simple C bindings)
6226 for Magnification service
6228 * util/mag_control.c:
6229 Client program example for
6230 Magnification service
6232 * util/Accessibility_Magnifier.server.in:
6233 Bonobo-activation file for the
6234 Magnification service.
6237 * util/idl/Magnifier.idl:
6238 IDL defining the bonobo Magnification
6242 Modifications to use the bonobo-activated magnifier
6243 above, in place of trying to connect to an existing
6244 magnifier that uses socket-listening IPC.
6246 If env variable MAGNIFIER is set, a magnifier service
6247 will be started if one does not exist.
6249 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6251 * at-bridge/bridge.c:
6252 applied patch from Marc to build and run
6253 against new glib and gtk+ (seemed like a change
6254 to bonobo_init signature was made ?)
6256 made festival-server support turned off by default.
6257 Added support for a simple magnifier (off by default)
6258 which will be added to a 'util' directory later.
6259 * at-bridge/Makefile.am:
6260 Changed "application.h" header from a 'source'
6261 to a 'dependency' of libat-bridge.
6263 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6272 Added interface implementation c files to list of
6273 includes so they are included in libcspi.
6276 Changed prototype of AccessibleAction_doAction to return a
6278 Changed prototype of AccessibleTable_getCaption to
6279 return an Accessible.
6280 Changed prototype of AccessibleTable_getSelectedRows
6281 and AccessibleTable_getSelectedColumns to
6282 return a long (returns the number of selected rows
6283 or columns respectively).
6284 Changed name of AccessibleText_refRunAttributes to
6285 AccessibleText_getAttributes.
6286 Changed prototype of AccessibleText_getCharacterExtents to
6287 return a void rather than a boolean.
6288 Added support for a AccessibleCoordType parameter
6289 specifying what type of coordinates are desired.
6290 Added an AccessibleCordType parameter to
6291 AccessibleText_getPointAtOffset.
6293 * cspi/spi_accessible.c:
6294 Added code to return the outstanding interfaces from
6295 Accessible_queryInterface.
6297 * cspi/spi_action.c:
6299 Corrected call to getNActions to call the c binding
6302 * cspi/spi_editabletext.c:
6304 Changed name from setRunAttributes to setAttributes.
6306 * cspi/spi_hyperlink.c:
6308 Changed call to getNAnchors to correctly call the c
6309 binding for an attribute.
6311 * cspi/spi_hypertext.c:
6313 Changed getImageDescription to correctly call the
6314 binding for an attribute.
6316 * cspi/spi_selection.c:
6317 Changed getNSelectedChildren to correctly call the c
6318 binding for the attribute.
6319 Changed refSelectedChild to getSelectedChild.
6323 Changed getCaption to return an Accessible.
6324 Fixed calls which retrieve attributes.
6325 Changed refAt to getAccessibleAt.
6326 Changed getNSelectedRows and getNSelectedColumns to
6330 Changed getCharacterExtents and getPointAtOffset to accept an
6331 AccessibleCoordType.
6333 Changed calls which retrieve attributes.
6334 Changed refRunAttributes to getAttributes.
6339 * idl/Hyperlink.idl:
6340 Changed n_anchors attribute to nAnchors to keep naming
6341 convention consistent.
6344 Made Table inherit from Bonobo::Unknown.
6345 Added nSelectedColumns and nSelectedRows attributes.
6348 Made Value inherit from Bonobo::Unknown.
6350 * libspi/hyperlink.c:
6351 Change for nAnchors attributte name change.
6353 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6361 Added interface implementation c files to list of
6362 includes so they are included in libcspi.
6365 Changed prototype of AccessibleAction_doAction to return a
6367 Changed prototype of AccessibleTable_getCaption to
6368 return an Accessible.
6369 Changed prototype of AccessibleTable_getSelectedRows
6370 and AccessibleTable_getSelectedColumns to
6371 return a long (returns the number of selected rows
6372 or columns respectively).
6373 Changed name of AccessibleText_refRunAttributes to
6374 AccessibleText_getAttributes.
6375 Changed prototype of AccessibleText_getCharacterExtents to
6376 return a void rather than a boolean.
6377 Added support for a AccessibleCoordType parameter
6378 specifying what type of coordinates are desired.
6379 Added an AccessibleCordType parameter to
6380 AccessibleText_getPointAtOffset.
6382 * cspi/spi_accessible.c:
6383 Added code to return the outstanding interfaces from
6384 Accessible_queryInterface.
6386 * cspi/spi_action.c:
6388 Corrected call to getNActions to call the c binding
6391 * cspi/spi_editabletext.c:
6393 Changed name from setRunAttributes to setAttributes.
6395 * cspi/spi_hyperlink.c:
6397 Changed call to getNAnchors to correctly call the c
6398 binding for an attribute.
6400 * cspi/spi_hypertext.c:
6402 Changed getImageDescription to correctly call the
6403 binding for an attribute.
6405 * cspi/spi_selection.c:
6406 Changed getNSelectedChildren to correctly call the c
6407 binding for the attribute.
6408 Changed refSelectedChild to getSelectedChild.
6412 Changed getCaption to return an Accessible.
6413 Fixed calls which retrieve attributes.
6414 Changed refAt to getAccessibleAt.
6415 Changed getNSelectedRows and getNSelectedColumns to
6419 Changed getCharacterExtents and getPointAtOffset to accept an
6420 AccessibleCoordType.
6422 Changed calls which retrieve attributes.
6423 Changed refRunAttributes to getAttributes.
6428 * idl/Hyperlink.idl:
6429 Changed n_anchors attribute to nAnchors to keep naming
6430 convention consistent.
6433 Made Table inherit from Bonobo::Unknown.
6434 Added nSelectedColumns and nSelectedRows attributes.
6437 Made Value inherit from Bonobo::Unknown.
6439 * libspi/hyperlink.c:
6440 Change for nAnchors attributte name change.
6443 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6445 implementations-- made server implementations own AtkObject pointers
6446 rather than their respective AtkInterrface pointers to fix
6447 refcounting. AtkHyperlink is still broken.
6449 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6450 * cspi/spi_accessible.c:
6451 Added method Accessible_Role_getName(),
6452 and requisite string array (role_names).
6453 Added conversion string_from_corba_strin() call
6454 to Accessible_getName and _getDescription.
6455 * libspi/accessible.c:
6456 Added implementation for Accessible_getRole()
6458 Added festival support, used if environment variable
6461 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6463 * at-bridge/bridge.c:
6464 Now allocate Accessibility_Event using
6465 Accessibility_Event__alloc() instead of g_new0().
6466 * libspi/accessibleeventlistener.c:
6467 Initialize AccessibleEventListener->callbacks to NULL.
6468 Fixed accessible__event_listener_init() param, changed to
6469 "AccessibleEventListener *" type.
6470 Changed a bonobo_object_release_unref() call to
6471 Accessibility_Accessible_unref().
6472 * libspi/listener.c:
6473 Changed Bonobo_Unknown_unref to (equivalent)
6474 Accessibility_Accessible_unref.
6475 * libspi/registry.c:
6476 Changed bonobo_object_release_unref to
6477 Accessibility_Accessible_unref.
6479 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6482 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6483 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6484 spi-util.c spi-util.h
6485 Implementations for C bindings to remaining accessibility
6488 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6491 changed return value of Action from void to boolean to
6492 bring in line with ATK.
6495 Changed getText funcions to return "out" start and end offsets.
6496 Changed getAttributes to take and offset and return the start
6497 and end offset of the attribute run.
6498 Changed getOffsetAtPoint and getCharacterExtents to take an
6499 enum describing whether coordinates are window or screen.
6502 libspi/action.c libspi/action.h libspi/editabletext.c
6503 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6504 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6505 libspi/image.h libspi/selection.c libspi/selection.h
6506 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6507 libspi/value.c libspi/value.h
6508 Added server implementations for outstanding ATK interfaces
6509 not yet implemented.
6511 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6514 Added (missing) getName() method.
6515 Made nActions an attribute.
6516 * idl/EditableText.idl:
6517 Changed order of params in setAttributes.
6518 * idl/Hyperlink.idl:
6519 Removed getAnchor, added getURI.
6521 Changed attributes to methods, for efficiency
6522 (so that getting extents can be done in one call)
6523 * idl/Selection.idl:
6524 Changed nSelectedChildren to attribute, and re-indented.
6525 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6527 * idl/Text.idl: reformatted to match our coding style.
6528 (temporarily?) removed getRowColumnAtOffset().
6529 Changed text selection API to support multi-select and
6530 non-contiguous selections, as in ATK.
6531 * idl/Value.idl: changed some methods to attributes.
6533 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6535 * libspi/listener.c(impl_notify_event):
6536 BonoboUnkown_unref the source instead
6537 of bonobo_object_release_unref - the ORB
6538 handles the releasing.
6540 * configure.in: require ORBit-2.3.94 for
6543 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6545 Tagged CVS repository 'EA_1_0'.
6546 * README.EARLY_ACCESS:
6547 Alphabetized acknowledgements list, and
6549 Listed some known dependencies of at-spi.
6551 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6553 * docs/at-spi-docs.sgml:
6554 * docs/at-spi-sections.txt:
6555 * docs/at-spi-overrides.txt: (Added zero-length file)
6556 Documentation improvements - gtk-doc should build
6557 docs for all implemented C bindings now.
6560 * cspi/spi.c: (New file)
6561 * cspi/spi_event.c: (New file)
6562 * cspi/spi_registry.c: (New file)
6563 * cspi/spi_accessible.c: (New file)
6564 * cspi/spi_application.c: (New file)
6565 * cspi/spi_component.c: (New file)
6566 Split spi_main.c into six parts, and included them from
6567 "spi.c". This is a bit of a hack, probably temporary,
6568 but required by gtk-doc, apparently.
6570 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6573 * docs/at-spi-docs.sgml:
6574 * docs/at-spi-sections.txt:
6576 Initial checkins/modifications for gtk-doc generation.
6579 Added (missing) interface query methods to Accessible's C binding.
6581 Added GenericInterface type definition.
6583 Added query for AccessibleComponent interface to focus event handler.
6584 Added printout of bounding box for focussed component.
6585 * libspi/component.c:
6586 Added partial implementation for AccessibleComponent to C binding.
6587 * idl/Application.idl:
6588 * libspi/registry.c:
6589 * libspi/listener.c:
6590 * libspi/application.c:
6591 * libspi/application.h:
6592 Changed "ID" attribute type from string to long.
6594 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6598 Made method naming consistent: methods taking object args
6599 start with uppercase, other methods (except those using
6600 acronyms) start with lowercase. Underscores delimit between
6601 object names and method names:
6602 SPI_init() - uppercase since it starts with an acronym.
6603 getDesktopCount () - lowercase start since no object param0.
6604 Accessible_getName() - uppercase object type name, studlyCaps method
6608 Added gtk-doc documentation for all currently implemented
6609 methods in the C bindings API.
6611 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6613 * Makefile.am : changed build order to build test last.
6616 Changed "createEventListener" to "CreateEventListener".
6617 * libspi/accessibleeventlistener.c :
6618 Bugfix for addition of callbacks.
6619 * test/Makefile.am :
6620 * test/simple-at.c :
6621 Added new test that uses the C bindings API.
6623 * libspi/listener.c :
6624 * libspi/registry.c :
6625 * libspi/accessibleeventlistener.c :
6626 * at-bridge/bridge.c :
6627 Renamed member "target" of Accessibility_Event to "source",
6628 which is more descriptive.
6631 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6635 * cspi/Makefile.am :
6636 Added makefile support for at-spi/cspi directory.
6639 * cspi/spi-listener.h : (NEW FILE)
6640 Added support for/use of spi-listener.h.
6642 C bindings now build successfully, with no warnings.
6643 * libspi/accessibleeventlistener.h : (NEW FILE)
6644 * libspi/accessibleeventlistener.c : (NEW FILE)
6645 * libspi/Makefile.am :
6646 Added new object type "AccessibleEventListener"
6647 which inherits from Listener, and allows attachment
6648 of in-process callbacks (so that a client with a listening
6649 object instance can add functionality to the local
6650 implementation, dynamically).
6652 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6654 * libspi/accessible.c:
6655 Add implementation for get_index_in_parent().
6657 Added #include of "spi-roletypes.h", and
6658 added enumerated type AccessibleCoordType.
6659 Added definition for KeystrokeListener (function type).
6662 * cspi/spi-statetypes.h :
6663 * cspi/spi-roletypes.h :
6665 Added these headers, used by spi.h.
6667 Added code (NOTE: not yet built by make).
6669 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6671 * libspi/Makefile.am: generate imodule
6672 at the same time as other idl compiler
6675 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6676 * libspi/registry.c :
6677 * libspi/application.c :
6678 * idl/Application.idl :
6679 Made registration with toolkit an application method,
6680 which is required since each app has its own toolkit static
6681 environment. Thus the bridge must register for
6682 notification of toolkit events from each application in turn.
6683 Toolkit notifications are now successfully registered for, and
6684 sent to the listening at client.
6686 Changed toolkit event string to use hyphens rather than underscores.
6687 * libspi/listener.c :
6688 listner now gives more info in debug mode - it reports the
6689 name of the event received, as well as the name of the source.
6692 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6694 * libspi/registry.c :
6695 added more implementation for toolkit events.
6696 Fixed bug such that toolkit event registrations
6697 (via atk) use the whole event name string, not
6699 Removed a useless call to an ORBit_ method.
6700 * at-bridge/bridge.c :
6701 Removed unused local sbuf[] variable.
6703 We now register for Gtk:GtkWidget:button_press_event
6704 events as well as "focus:" events.
6706 Add some more API from Registry.idl that was missing,
6707 for keystroke listening, keystroke and mouse event
6708 synthesis, and enumeration of accessible desktops.
6710 2001-08-16 Michael Meeks <michael@ximian.com>
6712 * configure.in: use AM_GLIB_GNU_GETTEXT.
6714 * Makefile.am (SUBDIRS): kill intl.
6716 2001-08-15 Michael Meeks <michael@ximian.com>
6718 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6720 * configure.in: upd.
6722 * configure.in: depend on a recent bonobo-activation that
6723 will find our server files ...
6725 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6727 * libspi/accessible.c : accessible_new() :
6728 Now we add the Component interface via bonobo_object_add_interface,
6729 if the contained AtkObject implements AtkComponent.
6730 * libspi/accessible.h : now include "component.h"
6731 * libspi/component.h :
6732 * libspi/component.c : added files - implementation of
6733 bonobo wrapper object for Accessibility/Component
6734 * libspi/listener.c :
6735 Added test code to check for Accessibility/Component:1.0
6736 interface and report whether it is implemented by the
6738 * libspi/registry.c :
6739 Now we check for not only the hash of the whole event
6740 string before relaying the event, we also check the
6741 "minor" event string (without the detail string).
6742 This allows event listeners to be registered against
6743 all events of a certain major+minor type, or just
6744 against a specific major+minor+detail type.
6745 * libspi/accessible.c :
6746 Added implementations for Accessible:get_parent(),
6747 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6748 * libspi/registry.c :
6749 * libspi/listener.c :
6750 Replaced calls to Accessibility_Accessible_ref() and
6751 Accessibility_Accessible_unref() with
6752 calls to bonobo_object_dup_ref() and
6753 bonobo_object_release_unref(), so that the CORBA object
6754 is dup-ed and released when relayed, as well as the bonobo object.
6756 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6758 * libspi/Makefile.am,
6759 registryd/Makefile.am,
6760 at-bridge/Makefile.am.
6761 test/Makefile.am, configure.in:
6762 reverse previous changes.
6764 * /idl/Image.idl: fix typo.
6766 * test/Makefile.am: put DEBUG_FLAGS
6769 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6771 * test/app.c: use argv[0] instead of
6774 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6776 * libspi/Makefile.am,
6777 registryd/Makefile.am,
6778 at-bridge/Makefile.am.
6779 test/Makefile.am, configure.in:
6780 cleanup, replace individual LIBS/CFLAGS with
6781 AT_COMMON_{LIBS|CFLAGS}.
6785 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6787 * configure.in, libspi/Makefile.am:
6788 Change IDL path checking for bonobo-activation
6791 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6793 * registryd/registry.c : separated event listeners to use
6794 3 separate lists (focus, window, toolkit). Began testing
6795 event names against hashes before relaying events.
6796 * test/at.c : now register for events of type "focus:"
6797 * test/app.c : now generate events of type "focus:"
6798 * at-bridge/bridge.c : register with ATK for focus events,
6799 and we now relay those focus events to any "focus:" listeners.
6800 This now works with the bridge as a GTK_MODULE when running test/at.
6801 * libspi/registry.c :
6802 * libspi/listener.c :
6803 now we ref event sources before propagating, and unref on receipt.
6804 * libspi/registry.c :
6805 some changes to internal structs, to support event typestring hashes.
6806 * text/app.c : changed the way the appname is generated.
6807 * cspi : added directory that will hold the C bindings library for
6808 non-CORBA/bonobo-savvy clients.
6809 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6810 * idl/Component.idl : added in parameter to indicate coord system for
6811 geometry-related calls.
6812 * idl/Hyperlink.idl : added readonly n_links attribute
6813 * idl/Image.idl : changed methods to attributes.
6815 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6817 * at-bridge/Makefile.am: link against
6818 ../libspi/libspi.la instead of -lspi.
6820 * at-spi/test/app.c: include
6821 bonobo-activation.h. Use a default appname
6822 if one is not provided.
6824 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6826 * idl/Registry.idl : temporarily changed register_Application
6827 to oneway, to work around issue with initial registration
6829 * idl/Application.idl : changed attribute "id" from readonly
6830 to read-write, since it needs to be assigned by Registry.
6831 * registryd/registryd.c : added call to set application id
6833 * registryd/registry.c : changed de-registration procedure to
6834 use CORBA_Object_hash() to find matching object ref in application
6835 lists and listener lists.
6836 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6837 began distinguishing between event types (work in progress).
6839 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6842 * libspi/application.c:
6843 Added implementations for get/set id, get_toolkitName,
6845 * registryd/registryd.c :
6849 Converted from use of OAF to bonobo-activation.
6850 * libspi/desktop.h :
6851 * libspi/desktop.c :
6853 Removed references to atksimpleobject, since base atkobject
6854 implementation now provides functionality we need.
6855 * libspi/atksimpleobject.c :
6856 * libspi/atksimpleobject.h :
6861 * at-bridge/Makefile.am
6862 * at-bridge/bridge.c
6865 Added directory "bridge" and contents, and added dependencies
6866 in Makefile.am/configure.in.
6867 Initial checkin of "at-bridge".
6868 This code is a GTK_MODULE which automatically registers
6869 GTK+ apps with the accessibility registry, using an object
6870 reference to the root ATK object.
6872 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6874 * po/Makefile.in.in: Remove. Again. If this
6875 doesn't get autogenerated - you need to update
6878 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6880 * po/Makefile.in.in: Add. Again.
6882 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6884 * libspi/accessible.c : added support for 'description' property.
6885 * libspi/accessible.c
6887 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6888 (since the two are now equivalent in libbonobo)
6896 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6897 Bonobo::Unknown as does Accessibility::Accessible.
6898 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6899 interface with Bonobo::Stream, since it was redundant with it.
6900 (The Stream returned by a StreamableContext object is expected to
6901 implement only a subset of Bonobo::Stream)
6903 2001-07-28 Anders Carlsson <andersca@gnome.org>
6905 * libspi/accessible.c (accessible_object_finalize): Change
6906 g_free to g_object_unref since the AtkObject is a GObject.
6908 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6910 * idl/Accessibility.idl: add new IDL files
6913 * idl/Action.idl: Definitions of actionable UI object
6914 * idl/Component.idl: Definitions of UI component geometry, etc.
6915 * idl/Hyperlink.idl: Defs of hyperlink behavior
6916 * idl/Image.idl: Def of accessible image
6917 * idl/Selection.idl: Definition of UI object with selectable children
6918 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6919 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6920 * idl/Text.idl: Interface defs for UI elements with complex textual content
6921 * idl/Value.idl: Definition of UI element that is a value controller or display
6923 2001-07-27 Michael Meeks <michael@ximian.com>
6925 * po/Makefile.in.in: remove autogenerated file from CVS.
6927 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6930 * idl/Registry.idl: include guard.
6932 * idl/Accessibility.idl: Add, and include all the other IDL
6935 * idl/*.idl: remove mass of pragmas etc.
6937 2001-07-26 Michael Meeks <michael@ximian.com>
6939 * registryd/Makefile.am (registryd_SOURCES): remove
6942 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6944 * libspi/.cvsignore, registryd/.cvsignore,
6945 test/.cvsignore: updated.
6947 * po/Makefile.in.in: gettext update.
6949 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6951 * initial CVS checkin
6953 2001-06-29 Michael Meeks <michael@ximian.com>
6955 * configure.in: add AM_CONFIG_HEADER to gen config.h