1 2004-03-24 Bill Haneman <billh@gnome.org>
4 Bracketed some debug output in
5 conditionals, to avoid printing it in normal use.
9 Don't cast 'object' to ATK_OBJECT when constructing
10 an AtkAction interface for a hyperlink.
11 See discussion in bug #120659.
13 2004-03-22 Bill Haneman <billh@gnome.org>
15 * configure.in: Revved to 1.4.0, libtool 9.14.9
17 2004-03-17 Laszlo Peter <laca@sun.com>
19 * libspi-1.0-uninstalled.pc.in: add idldir
21 * cspi-1.0-uninstalled.pc.in: add idldir
23 2004-03-16 Gareth Owen <gowen72@yahoo.com>
25 * configure.in: Added "en_GB" to ALL_LINGUAS
27 2004-03-15 Bill Haneman <billh@gnome.org>
29 * configure.in: Revved to 1.3.16,
32 2004-03-15 Laszlo Peter <laca@sun.com>
34 * libspi-1.0-uninstalled.pc.in: new file
36 * cspi-1.0-uninstalled.pc.in: new file
38 * configure.in: add the new pc files to AC_OUTPUT
40 * Makefile.am: add the new pc files to EXTRA_DIST
42 2004-03-12 Bill Haneman <billh@gnome.org>
44 * atk-bridge/bridge.c:
45 (spi_atk_bridge_key_listener):
46 Make sure to return consumed=FALSE if snoop
47 event is not dispatched to listener.
50 2004-03-01 Bill Haneman <billh@gnome.org>
52 * configure.in: Revved to 1.3.15,
55 2004-03-07 Danilo Segan <dsegan@gmx.net>
57 * configure.in: Added "sr@ije" to ALL_LINGUAS.
59 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
61 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
63 2004-03-01 Bill Haneman <billh@gnome.org>
65 * configure.in: Revved to 1.3.14.
68 (SPI_exit): Removed "bye-bye" exit message.
69 Moved "leak" report to happen before the
70 iteration over the leaked refs list.
71 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
73 2004-02-24 Bill Haneman <billh@gnome.org>
75 * configure.in: Revved to 1.3.13.
77 * docs/reference/cspi/Makefile.am:
78 Correct typo that was breaking the docs build.
80 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
82 * autogen.sh: Require version 1.7 of automake.
84 * configure.in: call GTK_DOC_CHECK([1.0])
86 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
88 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
90 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
92 * test/Makefile.am: Remove use of CFLAGS.
94 This fixes bug #132987.
96 2004-02-11 Bill Haneman <billh@gnome.org>
98 * reverted most of Tomasz' patch below, since it was breaking
99 builds (see bug #134058).
101 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
103 * docs/reference/cspi/at-spi-cspi.types: added empty file for
104 correct pass "make dist" (empty .. because seems no sach types in
105 header files with gtk-doc markups).
106 * docs/reference/cspi/Makefile.am, configure.in:
107 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
108 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
109 * Makefile.am: added:
110 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
111 for force correct pass generate documentation on "make distcheck".
112 * libspi/Makefile.am: fixes for automake >= 1.6.
113 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
114 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
117 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
119 * docs/reference/cspi/Makefile.am (install-data-local): Install
120 index.sgml since the doc autobuilder on widget.gnome.org looks for
123 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
125 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
128 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
130 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
132 2004-01-27 Brian Cameron <brian.cameron@sun.com>
134 * test/simple-at.c: Fixed null string problems that cause core
135 dumping problems on Solaris.
137 2004-01-12 Bill Haneman <billh@gnome.org>
139 * configure.in: Incremented version to 1.3.11.
141 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
143 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
144 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
147 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
149 * configure.in: Added "fa" to ALL_LINGUAS.
151 2003-12-20 Arafat Medini <lumina@silverpen.de>
153 * configure.in: Added "ar" to ALL_LINGUAS
155 2003-12-16 Bill Haneman <billh@gnome.org>
157 * registryd/registry-main.c:
159 Set the reg_env DISPLAY variable before registering the
160 activated registry service. Fixes bug #129479.
162 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
164 * configure.in: Added "id" in ALL_LINGUAS
165 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
167 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
169 * registryd/deviceeventcontroller.c (global_filter_fn):
170 When an event is consumed discard any XEvents were added to
171 the queue while dealing with the the event. This can happen if
172 processing of the event takes a long time. Call XUngrabKeyboard
173 if an event was discarded. This fixes bug $124837.
174 Only call wait_for_release_event for a KeyPress.
175 Use local variable display instead of spi_get_display().
176 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
179 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
181 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
182 Allow for mask to contain values other than NumLock mask.
185 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
187 * registryd/devieceventcontroller.c:
188 (wait_for_release_event): Change first parameter from GdkEvent to
190 (global_filter_fn); Correct call to wait_for_release_event.
194 2003-12-08 Bill Haneman <billh@gnome.org>
198 * registryd/ucs2keysym.c: New file.
200 * registryd/deviceeventcontroller.c:
201 (dec_keysym_for_unichar): Remove old partial implementation and
202 replace with call to ucs2keysym(), which is much more complete.
203 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
208 2003-12-05 Bill Haneman <billh@gnome.org>
210 * configure.in: Version 1.3.9.
212 * docs/reference/cspi/tmpl/spi_registry.sgml:
213 Added reference to libspi/keymasks.h to the
214 description of Registry queries: AccessibleKeyMaskType.
217 2003-12-04 Bill Haneman <billh@gnome.org>
221 * idl/Accessibility_Application.idl:
222 (Accessibility::LOCALE_TYPE): New enum, corresponds to
223 setlocale's LC_TYPEs.
224 (Accessibility::Application::getLocale): New method.
225 Allows clients to query the locale, by type, of an app.
228 * cspi/spi_application.c:
229 (AccessibleApplication_getLocale): New method, wraps IDL above.
231 * libspi/application.c:
232 (spi_application_class_init): Init epv entry for getLocale.
233 (impl_accessibility_application_get_locale): Impl for above.
235 * test/test-simple.c:
236 (test_application): Added assertion for getLocale, i.e.
237 that the string from AccessibleApplication_getLocale (app, type)
238 is the same as that from setlocale (type, NULL);
240 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
242 *registryd/deviceeventcontroller.c: Add an idle handler which polls
243 the keyboard on a timeout intil the key state goes from pressed to
244 released. Fixes bug #111429.
246 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
248 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
249 root object so that it is present when a context menu in an
250 out-of-process applet is popped up.
251 (spi_atk_bridge_do_registration): Create acceessible application root
252 object only if it does not exist.
254 This fixes bug #125834.
256 2003-12-01 Bill Haneman <billh@gnome.org>
258 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
261 Added enum for AccessibleStreamableContentSeekType.
262 (AccessibleStreamableContent_freeContentTypeList): New.
264 * cspi/spi_streamablecontent.c:
265 (accessible_bonobo_stream_client_seek): New private method.
266 (AccessibleStreamableContent_seek): Implemented this method,
267 using Bonobo_Stream_seek.
268 (AccessibleStreamableContent_freeContentTypeList): New method
269 for freeing the return value from
270 AccessibleStreamableContent_getContentTypes.
271 (stream_cache_item_free): Replaces stream_release; stop leaks.
272 (stream_release): removed.
273 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
274 free the memory properly.
276 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
280 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
282 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
284 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
286 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
288 2003-12-01 Bill Haneman <billh@gnome.org>
290 Fix for bug/rfe #127463.
292 * idl/Accessibility_Accessible.idl:
293 (getLocalizedRoleName): New.
294 (unimplemented4): Removed (replaced by above).
296 * libspi/accessible.c:
297 (impl_accessibility_accessible_get_local_role_name): New.
298 (spi_accessible_class_init): Add getLocalizedRoleName entry to
302 (Accessible_getLocalizedRoleName): New.
304 * cspi/spi_accessible.c:
305 (Accessible_getLocalizedRoleName): New.
307 2003-12-01 Bill Haneman <billh@gnome.org>
310 * idl/Accessibility_Text.idl:
311 (getDefaultAttributes): New.
312 (unimplemented4): Removed (replaced by above method).
315 (impl_getDefaultAttributes): New method.
316 (spi_text_class_init):
317 initialize the get_default_attributes slot in the epv.
320 (AccessibleText_getDefaultAttributes): New prototype.
323 (AccessibleText_getDefaultAttributes): New method.
325 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
327 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
328 write beyond the end of the table. Fixes bug #120473.
330 2003-09-30 Christian Rose <menthos@menthos.com>
332 * configure.in: Added "eu" to ALL_LINGUAS.
334 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
336 * configure.in: ALL_LINGUAS: Added no.
338 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
340 * configure.in: Added lt to ALL_LINGUAS.
342 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
344 * atk-bridge/bridge.c:
345 (atk_bridge_init): Register event listeners always even for
346 out-of-process applet.
347 (spi_atk_bridge_toplevel_added): Remove call to
348 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
349 (spi_atk_bridge_toplevelk_removed): Remove call to
350 spi_atk_deregister_event_listenersa as the listeners are now always
352 (spi_atk_bridge_register_application): Remove call to
353 spi_atk_register_event_listeners as it is not done in atk_bridge_init
355 This fixes bug #120991.
357 * libspi/table.c (impl_getColumnDescription): Correct typo,
358 pointed out by Bolian.Yin@sun.com.
360 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
362 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
364 2003-09-08 Bill Haneman <billh@gnome.org>
366 * configure.in: Revved to 1.3.7.
368 This is the GNOME 2.4.0 release of at-spi.
370 * docs/reference/cspi/Makefile.am:
371 Removed spurious inclusion of 'index.sgml' in the
372 html directory; this was breaking make distcheck and
373 also some other build environments.
375 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
377 * registryd/registry.[ch}:
378 Add queue_handler_id and focus_object to SpiRegistry data structure.
379 (registry_flush_event_queue): If event being discarded is
380 "state-change:focused" store object as focus_object.
381 (registry_start_queue): Remove queue handler and focus object
383 (registry_discard_event): New function which discards a focus event
384 if we had stored focus object in the registry.
385 (registry_queue_event): Add new check that is_queueing is set as this
386 function is reentrant.
387 (registry_filer_event): Add call to registry_discard_event.
389 This resolves issues raised in bug #108664.
391 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
393 * configure.in: Added "bn" to ALL_LINGUAS.
395 2003-09-04 Bill Haneman <billh@gnome.org>
397 * cspi/spi_event.c: Documentation improvements for
398 (SPI_registerAccessibleKeylistener).
400 * docs/reference/tmpl/spi_registry.sgml:
401 Documentation improvements for SpiAccessibleKeylistenerCB.
403 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
405 * configure.in: Added "ro" to ALL_LINGUAS.
408 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
410 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
411 not decremented to zero. Fixes bug #120725.
413 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
415 * configure.in: Added "ja" to ALL_LINGUAS.
417 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
419 * configure.in: Added "is" to ALL_LINGUAS.
421 2003-08-22 Christian Rose <menthos@menthos.com>
423 * configure.in: Added "nl" to ALL_LINGUAS.
425 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
427 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
428 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
430 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
432 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
433 type for unspecified exception.
434 * cspi_streamablecontect): Add include of string.h for memcpy.
435 (stream_release): Correct call to bonobo_object_release_unref
436 (stream_cache_item_free): Correct call to bonobo_object_release_unref
437 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
438 argument of _cspi_expection_throw.
439 * libspi/hyperlink.c: Add include of libspi/action.h:
440 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
441 * libspi/streamablecontent.c: add include of libspi/component.h.
442 * regisrtyd/deviceeventcontroller.c:
443 (spi_dec_translate_mask): Removed unused variable priv.
444 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
445 * registryd/registry.c:
446 (registry_filter_event): Remove unused variable queue_is-empty.
447 (impl_registry_notify_event): Use correct modifier in fprintf call.
449 This fixes compiler warnings reported in bug #120220.
451 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
453 * registryd/registryd.c: Remove this file.
455 2003-08-17 Sanlig Badral <badral@openmn.org>
457 * configure.in: Added mn to ALL_LINGUAS.
459 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
461 * configure.in: Added et to ALL_LINGUAS.
463 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
465 * test/event-listener-test.c: Change active-descendant to
466 active-descendant-changed.
468 2003-08-10 Sami Pesonen <sampeson@iki.fi>
470 * configure.in: Added "fi" in ALL_LINGUAS.
472 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
474 * configure.in: Added "hi" in ALL_LINGUAS.
476 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
478 * configure.in: Revved to 1.3.6.
482 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
484 * registryd/deviceeventcontroller.c
485 (spi_device_event_controller_object_finalize): Fix typo in previous
488 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
490 * registryd/deviceeventcontroller.c
491 (spi_device_event_controller_object_finalize): Fix build on
492 systems without XEvIE.
494 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
496 * acconfig.h, configure.in, registryd/Makefile.am,
497 registryd/devicecontoller.[ch]: Add XEViE support.
499 2003-08-06 Wang Jian <lark@linux.net.cn>
501 * configure.in: Added "zh_CN" to ALL_LINGUAS.
503 2003-08-06 Metin Amiroff<metin@karegen.com>
505 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
507 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
509 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
510 MODIFIER_ALT in correct place.
512 This fixes part of bug #118114.
514 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
516 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
518 2003-07-28 Changwoo Ryu <cwryu@debian.org>
520 * configure.in: Added "ko" to ALL_LINGUAS.
522 2003-07-28 Ole Laursen <olau@hardworking.dk>
524 * configure.in: Added "da" to the commented out ALL_LINGUAS.
526 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
528 * configure.in: Added "sq" to ALL_LINGUAS.
530 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
532 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
534 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
536 * configure.in: updated ALL_LINGUAS list
538 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
540 * configure.in: Added Belarusian to ALL_LINGUAS.
542 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
544 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
546 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
547 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
549 This fixes bug #116949.
551 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
553 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
554 Correct CSPI to SPI in function documentation.
556 This fixes bug #118054.
558 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
560 * configure.in: Added Russian to ALL_LINGUAS.
562 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
564 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
566 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
568 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
570 2003-07-10 Joel Brich <joel.brich@laposte.net>
572 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
574 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
576 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
578 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
580 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
581 resources allocated for AccessibleEvent. See cspi_event().
583 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
584 static variable streams to NULL.
586 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
587 Update so that AcessibleEvent_ref will work.
589 This fixes bug #116624.
591 2003-07-06 Jordi Mallach <jordi@sindominio.net>
593 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
595 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
597 * configure.in: Added "fr" (French) to ALL_LINGUAS.
599 2003-07-02 Christian Neumair <chris@gnome-de.org>
601 * configure.in: Added "de" (German) to ALL_LINGUAS.
603 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
605 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
607 2003-07-01 Miloslav Trmac <mitr@volny.cz>
609 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
611 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
613 * configure.in: Added "pl" to ALL_LINGUAS.
615 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
617 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
619 2003-06-30 Bill Haneman <bill.haneman@sun.com>
622 (get_action_from_servant):
623 Removed assertion that action is implemented on an AtkObject.
625 * libspi/hyperlink.c:
627 Aggregate AccessibleAction interface on the hyperlink object if
628 the object implements AtkAction. (This convention is used in
631 2003-06-30 Bill Haneman <bill.haneman@sun.com>
633 * configure.in: Revved to 1.3.5.
635 * registryd/Accessibility_Registry.server.in.in:
636 Marked up appropriate strings for translation.
638 * atk-bridge/bridge.c: Marked a couple of
639 user-visible warnings for translation. Questionable
640 whether they are really useful, but possibly so.
643 2003-06-28 Christian Rose <menthos@menthos.com>
645 * configure.in: Added "sv" to ALL_LINGUAS.
647 2003-06-26 Bill Haneman <bill.haneman@sun.com>
649 * registryd/registry.c:
650 (spi_registry_object_finalize): Unref the deviceeventcontroller.
651 (registry_defer_on_event): Defer focus: events, this is an
652 improvement to the patch for bug #108664.
654 * TODO: Update with 2.4/"Dev Complete" items.
656 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
658 * atk-bridge/bridge.c:
659 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
660 looks up signals once.
661 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
662 if doing registration.
663 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
664 when doing registration.
666 This fixes bug #115014.
668 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
670 * atk-bridge/bridge.c:
671 (atk_bridge_init): Add signal handler for children-changed:remove on
672 root when in a BonoboComponent.
673 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
674 for first toplevel only other incrememt variable toplevels.
675 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
676 application and remove listeners.
677 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
679 (spi_atk_deregister_event_listeners): New function which removes
681 (reinit_register_vars): New fuction which reinitializes variables.
683 This fixes bug #111578.
685 2003-06-13 Bill Haneman <bill.haneman@sun.com>
687 * configure.in: version 1.3.4.
689 * cspi/spi_accessible.c:
690 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
693 2003-06-13 Michael Meeks <michael@ximian.com>
695 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
697 * cspi/spi_main.c (cspi_peek_ev): impl.
699 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
701 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
703 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
705 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
706 SPI_ROLE_AUTOCOMPLETE
708 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
710 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
711 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
713 2003-06-11 Bill Haneman <bill.haneman@sun.com>
715 * libspi/streamablecontent.h:
716 * libspi/streamablecontent.c:
717 New files, provide implementation/wrappers for
718 Accessibility_StreamableContent.
720 * cspi/spi_streamablecontent.c:
721 Connected the C wrappers to the libspi C bindings.
722 (AccessibleStreamableContent_close): New method.
725 (AccessibleStreamableContent_close): New method, needed
726 since we have an "open, [seek], read, close" model in cspi.
728 2003-06-11 Bill Haneman <bill.haneman@sun.com>
730 Fix for #108664; Padraig's revision of my original patch.
732 * registryd/registry.h:
733 Added event queue list, is_queuing, and exit_notify_timeout
734 to the registry struct.
736 * registryd/registry.c:
737 (registry_init): Initialize new struct from registry.h.
738 (impl_registry_notify_event):
739 Filter events before notifying, in case some need to be
741 (registry_filter_event): New,
742 we defer certain incoming events (for instance
743 window:deactivate) because we may wish to hide
744 or reject them based on pending events. This is
745 mostly a workaround for bug #108664.
746 (registry_queue_event, registry_start_queue): New.
747 (registry_defer_on_event): Test event to see if it
749 (registry_reset_on_event): Returns TRUE if the
750 event should cause a queue reset.
751 (registry_discard_on_event): Returns TRUE if the event
752 should cause the previous queue contents to be discarded.
753 (registry_timeout_flush_queue): Flushes the pending event
754 queue if no reset/discard-triggering events have come in
755 within the timeout period.
756 (registry_emit_event): New.
757 (registry_clone_notify_context): New, used when queueing the
758 event notify contexts.
760 2003-06-10 Bill Haneman <bill.haneman@sun.com>
762 * configure.in: Version revved to 1.3.2, lt 0.9.2
763 Incremented ATK required version to 1.3.4.
765 * cspi/spi_registry.c:
766 (SPI_generateKeyEvent):
767 We now pass the keystring along if it's non-null.
769 * registryd/deviceeventcontroller.c:
770 (keysym_mod_mask): New method, returns modifier mask
771 required to generate a keysym from a given keycode.
772 (dec_synth_keysym): New method.
773 (dec_synth_keystring): New method.
774 (dec_get_modifier_state): New method.
775 (dec_lock_modifiers): New
776 (dec_unlock_modifiers): New.
777 (dec_keysym_for_unichar): New, rather brute-force
778 conversion from UCS-4 to X KeySyms. Only works for
779 Latin at the moment, with partial implementations for
780 Greek, Hebrew, and (incomplete) Katakana.
781 (impl_generate_keyboard_event): Now implement
782 "KEYSTRING" synthesis and implement "KEYSYM"
784 (keycode_from_keysym): Improved, passes a returned
785 modmask value now if the corresponding param is non-NULL.
787 Fixes bugs #92143 and #109776.
790 * test/keysynth-test.c:
791 New test program for key synthesis, to confirm fixes for
795 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
797 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
799 * cspi/spi_accessible.c (cspi_init_relation_type_table):
800 Add line for RELATION_POPUP_FOR
802 * docs/reference/cspi/tmpl/spi_relation.sgml:
803 Add relation SPI_RELATION_POPUP_FOR
805 * docs/reference/cspi/tmpl/spi_stateset.sgml:
806 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
808 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
810 * libspi/relation.c (spi_init_relation_type_table):
811 Add line for RELATION_POPUP_FOR
813 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
815 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
816 there are still windows which have not been deleted and emit
817 window:deactivate, if necessary and window:destroy events.
818 This fixes bug #114370. The change on June 5th was not correct.
820 2003-06-09 Bill Haneman <bill.haneman@sun.com>
822 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
825 (SPI_dupString): Allow dup-ing of a string such that it's safe to
827 New methods for client exception handling and interception.
828 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
829 (SPI_exceptionHandlerPop): You guessed it...
830 (SPI_getSourceType): Return the type of object which offended.
831 (SPI_getExceptionCode): Return an enum code telling, possibly,
832 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
833 (SPIAccessibleException_getSource): get the source object for
834 exceptions that come from Accessibles, if SPIExceptionSourceType is
835 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
836 (SPIException_getDescription): New, returns a string description of
837 the problem. [Not yet a stable ABI, strings are not frozen]
839 * cspi/spi-private.h:
840 Added implementation details of opaque SPIException
844 Implementations of above. Also
845 (_cspi_exception_throw): new private method that
846 dispatches exceptions to handlers, called from cspi-bonobo.c
848 * cspi/bonobo/cspi-bonobo.c:
849 (cspi_check_ev): call _cspi_exception_throw.
850 Don't print a warning message if the exception has been
851 handled by _cspi_exception_throw.
853 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
855 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
856 there are still windows which have not been deleted and emit
857 window:deactivate, if necessary and window:destroy events.
858 This fixes bug #114370.
860 2003-06-03 Bill Haneman <bill.haneman@sun.com>
863 (cspi_accessible_is_a): Make non-fatal
864 if the object reference is dead.
866 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
868 * cspi/spi_main.c: #include <stdio.h>
869 * test/simple-at.c: ditto
870 * test/event-listener-test.c: ditto
871 * test/screen-review-test.c: ditto
873 2003-05-30 Michael Meeks <michael@ximian.com>
875 * test/test-simple.c (main): use CORBA_ORB_perform_work
876 instead of an unnecessary linc_ call.
878 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
880 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
881 Add SPI_STATE_INDETERMINATE.
883 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
886 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
888 * libspi/stateset.c (init_state_type_tables): Add support for
891 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
893 * configure: Update versions of atk and gail required.
894 This fixes bug #113268.
896 2003-05-02 Bill Haneman <bill.haneman@sun.com>
898 * configure.in: Revved micro version to 1.3.1 (because of build fix).
900 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
902 * libspi/Makefile.am:
903 Ensure headers are generated before being used by c sources.
905 2003-05-01 Bill Haneman <bill.haneman@sun.com>
908 Simplified lt versioning rules.
909 Incremented version to 1.3.0, to indicate that we're on the
912 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
914 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
915 Add MKDB_OPTIONS=--outtput-format=xml
917 * docs/reference/cspi/at-spi-cspi-docs.sgml
918 docs/reference/idl/at-spi-idl-docs.sgml:
919 Convert to Docbook XML.
921 This fixes bug #111793.
923 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
925 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
926 AcccessibleKeyEventType, AccessibleKeyMaskType.
928 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
930 * cspi/state-types.h: Add documentation for AccessibleState.
932 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
933 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
934 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
935 AccessibleComponentLayer.
937 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
940 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
942 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
943 Accessible. Add description of AccessibleEvent,
944 AccessibleEventListenerCB.
946 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
949 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
950 documentation. Add description of AccessibleKeystrokeListenerCB,
951 AccessibleKeyEventMask, AccessibleModifierMaskType,
952 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
953 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
955 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
958 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
961 This fixes bug #104730.
963 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
965 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
966 Set is_text field of Accessibility_DeviceEvent data structure.
968 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
969 is-text field of AccessibleDeviceEvent data structure.
971 This addresses part of bug #108666.
973 * registryd/devcieeventcontroller.c: Unset debug option.
975 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
978 (cpi_initial_relation_type_table): New function which initializes
979 mapping between Accessibility_RelationType and AccessibleRelationType.
980 (cspi_relation_type_from_spi_relation_type): New function which
981 translates an Accessibility_RelationType into an AccessibleRelationType.
982 (AccessibleRelation_getRelationType): Use
983 cpi_relation_type_get_spi_relation_type to return correct value.
984 (spi_state_to_corba): Return correct type for default case.
986 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
987 Use Accessibility_EventType instead of Accessibility_KeyEventType.
989 * cspi/cspi-bonobo-listener.c:
990 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
993 * libspi/accessible.c, libspi/action.c, libspi/application.c,
994 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
995 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
996 libspi/image.c, libspi/listener.c, libspi/selection.c,
997 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
998 registryd/desktop.c, registryd/registry.c:
999 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1001 * libspi/eventlistener.c
1002 Remove semicolon after BONOBO_TYPE_FUNC.
1004 * libspi/relation.c:
1005 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1006 (spi_init_relation_type_table): Initialize using correct type.
1008 * registryd/desktop.c:
1009 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1010 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1011 of Accessibility_KeyEventType.
1013 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1016 * tests/simple-at.c, tests/screen-review-test.c:
1017 Add include for <strings.h>.
1019 * tests.stress-test.c:
1020 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1022 These changes fix compiler warnings when using FORTE compiler on
1023 Solaris; fixes bug #107479.
1026 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1029 * configure.in: revved to 1.1.10
1031 * libspi/keymasks.h:
1032 (SPI_KEYMASK_NUMLOCK): Added.
1034 * registryd/deviceeventcontroller.c:
1035 (spi_key_event_matches_listener): AND with a smaller
1036 bitmask (as we should).
1037 (spi_dec_translate_mask):
1038 New method, sets the virtual NumLock modifier bit
1039 if numlock is on. Eventually it can handle other virtual
1040 modifier bits if needed, or other marshalling from
1041 at-spi modifier masks to platform (X) masks.
1042 (spi_dec_key_listener_new):
1043 Call spi_dec_translate_mask to set up virtual mod bits
1044 in the 'mask' field when creating a new listener struct.
1045 (spi_dec_emit_modifier_event):
1046 Set the virtual (i.e. NumLock) bits before emitting event.
1047 (spi_controller_register_with_devices):
1048 Query for the NumLock modifier 'physical' bit if Xkb is
1049 present, for use in above methods.
1053 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1055 * registryd/deviceeventcontroller.c:
1056 (spi_keystroke_from_x_key_event):
1057 Instead of checking to see if the keysym is
1058 printable, check the string from XLookupString
1059 if available, get the first unicode character from it,
1060 and call g_unichar_isprint to determine whether the
1061 is_text flag should be TRUE or FALSE.
1065 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1067 * atk-bridge/bridge.c: Add support for extended events
1068 * cspi/spi_event.c: Add documentation and implementation for
1070 * tests/event-listener-test.c: Add tests for extended events.
1072 This fixes bugs #100424 and #100426.
1074 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1076 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1077 of LT_CURRENT. This fixes bug #89350.
1079 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1081 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1082 number of signal parameter values before accessing them. This fixes
1085 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1087 * configure.in: Fixed duplicate inclusion of -lspi.
1088 * branched for gnome-2-2/HEAD.
1089 [created tag "gnome-2-2"]
1091 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1093 * configure.in: 1.1.9 release.
1096 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1098 [needed by GOK, to fix bugs 107985 and 107988]
1099 * registryd/deviceeventcontroller.c:
1100 (spi_dec_clear_unlatch_pending):
1101 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1102 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1103 (spi_dec_init_mouse_listener):Emit warning if mouse button
1105 (spi_device_event_controller_forward_mouse_event):
1106 Removed unnecessary parens from a conditional.
1107 (global_filter_fn):Added TODO comment.
1108 (impl_generate_keyboard_event):
1109 Cancel a pending relatch if a 'delatching' key was
1112 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1114 * atk-bridge/bridge.c:
1115 Change atk_signal_child_changed to atk_signal_children_changed.
1116 Reorganize code in spi_atk_bridge_signal_listener().
1118 * test/event-listener-test.c:
1119 Add children_changed_listener and report_children_changed_event()
1120 to test AccessibleChildEvent_getChildAccessible.
1122 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1124 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1125 g_strdup to CORBA_String_dup (bug #105291)
1127 * test/event-listener-test.c (report_text_event): Add call to
1130 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1132 * registryd/deviceeventcontroller.c:
1133 (spi_keystroke_from_x_key_event):
1134 Fix string and keysym return codes to match modifier state.
1137 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1139 * registryd/deviceeventcontroller.c:
1140 (spi_keystroke_from_x_key_event):
1141 Fix segv due to improper use of isprint(c). [bug #107254]
1143 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1146 (get_accessible_text_boundary_type):
1147 Move default return value to (new) default case in switch.
1148 (get_accessible_text_clip_type):
1149 Move default return value to (new) default case in switch.
1151 * libspi/application.c:
1152 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1153 Remove unused methods.
1154 (impl_accessibility_application_register_object_event_listener):
1155 Remove unused methods.
1158 Added #include of <math.h>.
1160 * registryd/deviceeventcontroller.c:
1161 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1162 we don't currently use this method.
1163 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1165 (impl_generate_key_event):
1166 Remove unused variables.
1167 (impl_generate_mouse_event):
1168 Initialize button to zero, just in case we get an invalid
1169 input. Added support for mouse buttons 4 and 5.
1170 (spi_device_event_controller_new):
1171 Removed unused variable declaration for 'private'.
1173 Added #include of <gdk/gdk.h>
1175 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1177 * configure.in: Update to work when X is not installed in expected
1178 location. Fixes bug #105836.
1180 * atk-bridge/bridge.c
1181 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1183 (spi_atk_register_event_listener): Add signal listener for
1185 (spi_atk_bridge_signal_listener): Event event when link-selected
1186 signal is emitted. (bug #104622)
1188 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1189 on returned string. (bug #105291)
1191 * test/event-listener-test.c: Add test for link-selected.
1193 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1195 * atk-bridge/Makefile.am: Correct typo in previous commit.
1197 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1199 * atk-bridge/Makefile.am: Allow for build directory to be different
1200 from source directory
1202 * registryd/Makefile.am: Allow for build directory to be different
1203 from source directory
1207 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1210 Fixed dependencies for libcspi so that libspi gets pulled in
1211 properly. Fixes 104741.
1215 Clean up inline docs a little.
1217 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1219 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1220 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1221 the AtkObject within an SpiDesktop.
1222 This addresses bug #101524.
1224 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1225 Remove call to gdk_init().
1227 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1228 so that Display is set when SpiDesktop is created.
1230 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1232 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1233 This fixes bug #102830.
1235 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1237 * test/test-simple.c: Update to take account of fact that GailButton
1238 now implements AtkText.
1239 (create_text_window): Set name on AtkObject for GtkEntry.
1240 (validate_accessible): Check accessible name before calling test_text().
1242 * libspi/Makefile.am: Fix problem with building outside of source
1243 directory. Bug #98120.
1245 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1246 typo in documentation comments. Bug #94275.
1248 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1250 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1252 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1255 Add includes to avoid compiler warnings on Solaris.
1256 (impl_getRangeExtents): Bug fix.
1258 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1260 Fix for 100944, [API addition approved by Gman and murrayc].
1267 * idl/Accessibility_Text.idl:
1268 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1269 (Text::getRangeExtents): New method for efficient
1270 bounds query of a text range.
1271 (Text::getBoundedRanges): New method for efficient
1272 clipping of text to bounding boxes.
1273 (unImplemented7, unImplemented8):
1274 Removed these padding methods to preserve bincompat.
1277 (impl_getRangeExtents): implementation of new IDL.
1278 (impl_getBoundedRanges): implementation of new IDL.
1279 (SpiTextRect): Internal use struct.
1280 (_spi_text_rect_union): internal method, calculates union of two
1281 SpiTextRect bounding rects.
1282 (_spi_text_range_seq_from_gslist): internal method, allows us
1283 to build our sequence efficiently as a gslist then convert it
1285 (_spi_bounds_contain): internal method, determines whether
1286 a text character is "in" or "out" of a clip rect according to
1287 values of TEXT_CLIP_TYPE.
1288 (spi_text_class_init): Initialize the new methods in the epv.
1291 (AccessibleTextClipType): New enum used by screen review api.
1292 (AccessibleTextRange): New struct used by screen review api.
1293 (AccessibleText_getRangeExtents):
1294 cspi binding for Accessibility_Text_getRangeExtents.
1295 (AccessibleText_getBoundedRanges):
1296 cspi binding for Accessibility_Text_getBoundedRanges.
1297 (AccessibleTextRange_freeRanges): convenience method.
1300 (AccessibleText_getRangeExtents):
1301 cspi binding for Accessibility_Text_getRangeExtents.
1302 (AccessibleText_getBoundedRanges):
1303 cspi binding for Accessibility_Text_getBoundedRanges.
1304 (AccessibleTextRange_freeRanges): convenience method.
1305 (get_accessible_text_clip_type): internal conversion method.
1306 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1308 * registryd/deviceeventcontroller.c:
1309 (spi_dec_mouse_check):
1310 Improved behavior for mouse:abs events
1311 [same granularity as mouse:rel events, and no
1312 events when mouse is idle].
1314 2002-12-16 Michael Meeks <michael@ximian.com>
1316 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1318 * libspi/stateset.c (state_spi_to_atk): split out
1319 ( fix several remote array bounds nasties )
1320 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1321 (impl_remove): make safe from array bounds issues.
1322 (spi_atk_state_from_spi_state): impl.
1324 * libspi/stateset.h (spi_state_set_cache_is_empty):
1325 add a set of wrapper defines to get layering right.
1327 * cspi/spi_accessible.c: update state set stuff to
1330 2002-12-14 Michael Meeks <michael@ximian.com>
1332 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1333 to avoid 2 roundtrips to the registry per key event
1334 (spi_atk_bridge_key_listener): upd.
1335 (deregister_application): release the dec.
1337 * registryd/registry.c (notify_listeners_cb):
1338 bin lots of re-enterant complexity - we no longer
1339 do a round-trip bonobo ref here, ensure that a single
1340 listener's exception failure won't poison all other
1342 (impl_registry_notify_event): bin obvious memory leak.
1344 2002-12-13 Michael Meeks <michael@ximian.com>
1346 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1347 init the ev so the error is meaningful.
1348 (spi_atk_bridge_key_listener): ditto.
1350 * cspi/spi_main.c (cspi_ev): init the ev so we start
1351 with a clean slate, otherwise the first exception
1352 kills us completely.
1354 * cspi/spi_text.c (get_accessible_text_boundary_type):
1355 add a fallthrough for no warnings.
1357 * cspi/spi_registry.c: prune unused warnings.
1359 * cspi/spi_main.c (cspi_object_take): fix
1360 mind-blowing brokenness ( by watching the compile
1363 * cspi/spi_accessible.c (Accessible_getStateSet):
1364 re-impl. to use an AtkStateSet.
1365 (spi_state_type_from_accessible_state),
1366 (init_state_table): bin these.
1368 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1370 (atk_state_set_from_accessibility_state_set): here.
1372 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1373 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1374 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1375 (AccessibleStateSet_add, AccessibleStateSet_remove),
1376 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1377 (AccessibleStateSet_isEmpty): re-write to use a local
1380 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1382 * configure.in: Revved to 1.1.7 (new keymask vals).
1384 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1386 * libspi/keymasks.h:
1387 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1389 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1392 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1393 to compare two CORBA_TypeCodes.
1394 (cspi_internal_event_add): Silence warning from FORTE compiler.
1396 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1397 avoid implicit declaration of functions.
1399 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1401 * atk-bridge/bridge.c:
1402 (spi_atk_bridge_init_event_type_consts): Store signal id for
1403 active-descendant-changed signal.
1404 (spi_atk_register_event_listeners): Add signal listener for
1405 active-descendant-changed signal,
1406 (spi_atk_bridge_signal_listener): Move code in function
1407 spi_atk-signal_emit_event() into this function.
1408 Add support for active-descendant-changed
1409 Update support for child-changed signal.
1410 (spi_bridge_window_event_listener): Silence warning.
1412 * libspi/spi_private.[ch]:
1413 (spi_init_any_object): Change second parameter from CORBA_Object to
1415 Omit call to CORBA_Object_duplicate().
1416 Set CORBA_any's _value to CORBA_Object*.
1418 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1424 (AccessibleEvent_ref, AccessibleEvent_unref):
1425 New methods, for persisting an event outside the emission context.
1426 Must be used if the new accessor methods are to be called
1427 outside of the event listener's callback.
1429 * cspi/bonobo/cspi-bonobo.c:
1430 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1431 as second parameter instead of NULL, so we can call
1432 cspi_check_ev afterwards.
1435 (cspi_object_take): New internal method,
1436 converts a CORBA_Object reference to a hard ref on
1437 an Accessible if possible, returning NULL if the object
1438 reference is invalid or an Accessible * otherwise.
1441 (AccessibleEvent_ref):
1442 Increment the event's internal private refcount, and
1443 add the event's internal struct to an internal cache
1444 if it's not already there.
1445 (AccessibleEvent_unref):
1446 Decrement the event's refcount and remove it from
1447 the cspi event cache if refcount==0.
1448 (cspi_event_compare): New private method.
1449 Compares two event structs via their ids. Used
1451 (cspi_internal_event_lookup): New private method.
1452 (cspi_internal_event_check): New private method,
1453 a 0-order sanity check for events to make sure their
1454 private data is intact.
1455 (cspi_internal_event_add, cspi_internal_event_remove):
1456 New private methods for managiing the event cache.
1458 * cspi/bonobo/cspi-bonobo-listener.c:
1460 Initialize the new private data elements (id, magic, ref_count).
1462 * atk-bridge/bridge.c:
1463 (spi_atk_bridge_signal_listener):
1464 Fixed bug #100530, passing wrong params to emission func.
1466 * registryd/deviceeventcontroller.c:
1467 (spi_dec_button_update_and_emit):
1468 Fixed type in mask bit operations; fix for #99799.
1470 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1472 Removed some of the more dangerous workarounds from
1473 previous commit; they are only needed by GOK, which
1474 in reality should be using another method to accomplish
1475 the goals. So on reconsideration some of the workarounds
1476 need to be reverted:
1478 * registryd/deviceeventcontroller.c:
1479 (spi_keycodes_contain, spi_dec_init_keycode_list):
1480 Removed these methods, used only by a nasty hack to try
1481 and detect whether a key synthesis should be allowed
1482 to reset the XKB latch state or not. This code was only
1483 required to work around an interaction between GOK,
1484 button events, and XKB.
1485 (impl_generate_key_event):
1486 Removed hack at end of key generation that tried to
1487 "do the right thing" if XKB latch keys were generated
1488 in the midst of button press/release pairs.
1491 Added a check for HAVE_XINPUT. Not normally used yet.
1493 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1495 Workarounds and fixes for mouse event/XKB interaction.
1497 * registryd/deviceeventcontroller.c:
1498 (spi_keycodes_contain, spi_dec_init_keycode_list):
1499 New internal methods.
1500 (spi_dec_set_unlatch_pending):
1501 Split the method that tells XKB to expect an
1502 unlatch (and revert it) out of the rest of the
1503 event handling code. This method is called by the
1504 two mouse event handlers (the poll and the filter).
1505 (spi_dec_update_and_emit, spi_dec_mouse_check):
1506 New methods split from spi_dec_poll_mouse_moved.
1507 The second one is now called from inside the filterFn
1508 when an XKB delatch event is received, to determine
1509 whether to revert the delatch or not.
1510 (spi_poll_mouse_moved): Refactor; also we can now
1511 properly handle the case where multiple button states
1512 have changed between polling cycles and we didn't get
1513 notified due to another client's grab.
1515 Synchronize the server while handling an XKB notification.
1516 Ugly, but apparently necessary to avoid nasty races.
1517 Check the mouse state on receipt of an XKB latch change,
1518 to decide whether to revert the latch or not. (Latches are
1519 reverted if there is an immediately preceding mouse button
1520 event that a client has consumed, in which case we don't want
1521 the user to see the side-effect of the event).
1522 (spi_device_event_controller_forward_mouse_event):
1523 Check for modifier events and fire before resetting mouse_mask_state,
1524 prevents losing modifier events.
1526 (impl_generate_keyboard_event):
1527 If we've just generated a keyboard event for a non-shift key,
1528 we don't want to revert the pending XKB latch.
1529 Otherwise, check the modifier state (via a call to
1530 spi_dev_mouse_check) and set the relatch mask to
1531 that state before returning.
1533 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1536 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1539 * atk-bridge/bridge.c:
1540 (spi_atk_register_event_listeners):
1541 Don't re-register for ATK events if the registry has died
1542 and the app needs to re-register; the ATK listeners are in
1543 process and doing so will cause duplicate emission.
1545 * registryd/deviceeventcontroller.c:
1546 (spi_poll_mouse_moved):
1547 Reformat the source, detect and emit multiple button-change
1548 events (i.e. if multiple buttons have changed between poll
1550 Add code to detect mouse-down events even when the pointer
1551 is grabbed; workaround for GOK bug 98420.
1552 (spi_controller_register_with_devices):
1553 Call XTestGrabControl with 'impervious' flag set to True,
1554 allows us to synthesize events and query the pointer even during
1555 an active grab by another client.
1556 (spi_device_event_controller_forward_mouse_event):
1557 Set the mouse_mask_state to the mouse_button_state from
1558 the intercepted event, to synchronize the grab listener with
1561 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1563 * cspi/spi_accessible.c:
1564 (AccessibleRole_getName):
1565 Added necessary strings for making this (deprecated)
1566 method work with the new role types.
1567 (init_role_table, role_table):
1568 Added definition of SPI_ROLE_APPLICATION.
1570 * libspi/spi-roletypes.h:
1571 Added SPI_ROLE_APPLICATION.
1573 * idl/Accessibility_Role.idl:
1574 Added ROLE_APPLICATION.
1576 * docs/reference/cspi/at-spi-cspi-decl.txt:
1577 Added SPI_ROLE_APPLICATION to docs.
1579 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1581 * cspi/spi_accessible.c
1582 (cspi_init_role_table): Do not write beyond end of role_table.
1583 (Accessible_getRole): Use correct type for value returned by
1584 Accessibility_Accessible_getRole().
1586 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1587 beyond end of role_table. (This fixes bug #98269)
1589 * libspi/application.c: Add include file spi-private.h for
1590 definition of spi_init_any_nil.
1592 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1596 * libspi/spi-private.h:
1597 Added DGB() macro, and extern int _dbg declaration.
1599 * registryd/registry.c:
1600 (definitions) storage for _dbg.
1601 (spi_registry_init):
1602 Get environment variable "AT_SPI_DEBUG".
1603 (spi_registry_set_debug):
1604 New method, to initialize _dbg value.
1605 (spi_listener_struct_new, spi_registry_object_finalize):
1606 (notify_listeners_cb):
1607 Changed fprintfs to use DBG and g_warning().
1609 * registryd/deviceeventcontroller.c:
1610 (_deregister_keygrab, spi_controller_register_device_listener):
1611 Changed debug/warning messages to use DBG macro.
1613 * libspi/listener.c:
1614 (impl_notify_event):
1615 Changed warning messages to use DBG macro and g_warning().
1617 * atk-bridge/bridge.c:
1618 (atk_bridge_init, spi_atk_bridge_get_registry):
1619 (spi_atk_bridge_exit_func):
1620 (spi_atk_bridge_property_event_listener):
1621 Changed status, warning, and error messages to use
1622 g_warning, g_message, and DBG macros.
1625 Read the state of the AT_SPI_DEBUG environment variable
1626 and set a local '_dbg' accordingly.
1628 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1630 FIXES for 98836, 98842, other bugs.
1633 Revved to 1.1.4, interface-age=4, binary-age=4.
1635 * registryd/deviceeventcontroller.c:
1637 Fixed crasher bug in last_mouse_pos initialization.
1639 * registryd/registry.c:
1640 (desktop_add_application, desktop_remove_application):
1641 Added (and then commented out) some support for
1642 object context marshalling. [TODO]
1644 * atk-bridge/bridge.c:
1645 (spi_atk_bridge_event_context_create):
1646 Commented out object context creation until it can
1647 be properly tested and debugged.
1649 * registryd/registry.c:
1650 (impl_registry_notify_event):
1651 Fixed crasher bug, we were calling
1652 spi_re_entrant_list_foreach () with an empty list.
1654 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1656 * idl/Accessibility_Action.idl:
1657 * idl/Accessibility_Component.idl:
1658 * idl/Accessibility_Desktop.idl:
1659 * idl/Accessibility_Event.idl:
1660 * idl/Accessibility_Hyperlink.idl:
1661 * idl/Accessibility_Image.idl:
1662 * idl/Accessibility_Relation.idl:
1663 * idl/Accessibility_Selection.idl:
1664 * idl/Accessibility_State.idl:
1665 * idl/Accessibility_Value.idl:
1666 Updated unimplemented slot count to minimum of
1667 four for all interfaces, for ABI freeze.
1669 * idl/Accessibility_EditableText.idl:
1670 * idl/Accessibility_Text.idl:
1671 Updated unimplemented slot count to six
1674 * idl/Accessibility_Registry.idl:
1675 Updated unimplemented slot count to six
1676 (also for DeviceEventController),
1679 * idl/Accessibility_Table.idl:
1680 Updated unimplemented slot count to eight,
1683 * idl/Accessibility_Event.idl:
1684 Added CORBA_any "any_data" member to Event struct.
1686 * idl/Accessibility_Event.idl:
1687 Added CORBA_any "any_data" member to Event struct.
1689 * atk-bridge/bridge.c:
1691 atk_signal_text_changed, atk_signal_child_changed,
1692 signal ids queried from gtype system.
1693 (AtkBridgeEventContextType): New enum.
1694 (AtkBridgeEventContextData): New struct.
1695 (AtkBridgeEventContext): New struct.
1696 (atk_bridge_init_event_type_consts):
1697 New method, initializes type contants for comparison
1698 prior to emit_eventv.
1699 (atk_bridge_event_context_init): New method,
1700 initializes a CORBA_any from an AtkBridgeEventContext.
1701 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1702 initialize the event.any_data struct.
1703 (spi_atk_bridge_event_context_create): New method,
1704 creates an AtkBridgeEventContext from signal/event info.
1705 (spi_atk_bridge_event_context_free): New method.
1706 (spi_atk_emit_eventv): Changed to take an
1707 AtkBridgeEventContext parameter. We now initialize
1708 the event.any_data member prior to notifying the
1709 Registry, via the AtkBridgeEventContext.
1710 (spi_atk_bridge_property_event_listener):
1711 (spi_atk_bridge_state_event_listener):
1712 Match emit_eventv signature.
1713 (spi_atk_bridge_object_event_listener):
1714 Match emit_eventv signature, and create an
1715 event context from the event details.
1716 Free the event context afterwards.
1717 (spi_atk_bridge_window_event_listener):
1718 Create an event context, pass it to the
1722 (AccessibleEvent_getContextString):
1723 (AccessibleEvent_getContextObject):
1724 New methods, allow query of AccessibleEvent objects
1725 for more context details (via the "any_data" member
1726 of the Event struct, above).
1729 Definitions for AccessibleEvent_getContextString
1730 and AccessibleEvent_getContextObject.
1732 * cspi/spi_listener.h:
1733 (InternalEvent): New struct.
1736 (AccessibleEvent_getContextString):
1737 (AccessibleEvent_getContextObject):
1738 Implementations of new methods, for obtaining
1739 additional context information from some event types.
1741 * cspi/spi_registry.c:
1742 (SPI_registerGlobalEventListener):
1743 Added mention of active-descendant-changed event in docs.
1745 * cspi/cspi-bonobo-listener.c:
1747 Marshal the any into the AccessibleEvent via
1750 * libspi/spi-private.h:
1751 #include <orbit/orbit.h>
1753 (spi_init_any_string):
1754 (spi_init_any_object):
1755 New convenience function declarations.
1759 (spi_init_any_string):
1760 (spi_init_any_object):
1761 New convenience function implementations.
1763 * registryd/deviceeventcontroller.c:
1764 (spi_poll_dec_mouse_moved):
1765 (spi_device_event_controller_forward_mous_event):
1766 Initialize any_data member of event.
1767 (spi_deregister_controller_device_listener):
1768 Fix incorrect param pass which was preventing deregistration.
1770 * registryd/registry.c:
1771 (desktop_add_application):
1772 (desktop_remove_application):
1773 Add object data to event's any_data before dispatch.
1775 Fix for error messages from GAIL.
1777 * test/event-listener-test.c:
1778 Test new ContextString and "any_data" API:
1779 (report_text_event): New method query and output context string.
1780 (main): register a new text listener with report_text_event
1783 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1785 Fixes for bugs 98127 and 97914.
1786 * cspi/spi-roletypes.h:
1787 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1789 * cspi/spi-statetypes.h:
1790 Added SPI_STATE_MANAGES_DESCENDANTS
1792 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1793 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1794 * cspi/spi_accessible.c:
1795 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1796 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1797 Accessibility_STATE_MANAGES_DESCENDANTS
1798 * libspi/accessible.c:
1799 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1800 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1801 As requested by Bill, I also cleaned up the alignment.
1802 * libspi/relation.c:
1803 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1804 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1805 * libspi/stateset.c:
1806 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1807 Accessibility_STATE_MANAGES_DESCENDANTS
1808 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1809 Document changes reflecting modifications to roles.
1810 * docs/reference/cspi/tmpl/spi_relation.sgml:
1811 Document changes reflecting modifications to relations.
1812 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1813 Document changes reflecting modifications to states.
1815 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1818 Revved to 1.1.3, interface-age=3, binary-age=3.
1819 Added REBUILD macro.
1822 Removed accessx-gui from the tests, since we have a nice
1823 keyboard accessibility capplet now :-)
1825 * test/keysynth-demo.c:
1826 (increment_scan): removed do-nothing default: case,
1829 * test/visual-bell.c:
1830 (main) : removed do-nothing default: case,
1833 * cspi/spi_action.c:
1834 (AccessibleAction_getKeyBinding_):
1835 Documented keybinding string format.
1839 (AccessibleText_getAttributes):
1840 Documented the text attribute string format.
1841 It's changed to use semicolon delimiters also,
1842 to prevent clashes with CSS attributes, but the old
1843 trick of looking for ", " strings will still work
1844 (as unreliably as ever). Fix for bug related to 97916.
1847 Include <cspi/bonobo/cspi-bonobo-listener.h>
1848 Fixes build warning.
1849 (SPI_freeAccessibleKeySet):
1850 (AccessibleKeystrokeListener_addCallback):
1851 (AccessibleKeystrokeListener_removeCallback):
1852 Modify to use AccessibleDeviceListener API internally,
1853 instead of AccessibleKeystrokeListener.
1855 * idl/Accessibility_Event.idl:
1856 Added two more empty slots to EventListener (for a total of four).
1858 * idl/Accessibility_Accessible.idl:
1859 Added four empty slots to Accessible interface.
1861 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1863 * idl/Accessibility_Registry.idl:
1864 (KeyEventType, EventType):
1865 Marked KeyEventType as deprecated; it duplicates
1866 functionality of EventType, which has been extended to
1867 include Mouse-button events.
1868 (KeyEventTypeSeq): defined in terms of EventType.
1869 (registerDeviceEventListener, deregisterDeviceEventListener):
1870 New methods, for managing listeners to device events,
1871 which potentially may consume them.
1874 Added definition for AccessibleDeviceListener.
1876 * cspi/spi-listener.h:
1877 (enum AccessibleDeviceEventType):
1878 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1879 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1880 for backwards compat.
1881 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1882 and typedef'd AccessibleKeystroke to it for back-compat.
1883 (AccessibleDeviceListenerCB):
1884 New function prototype typedef.
1887 (AccessibleDeviceEventMask): New typedef.
1888 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1889 (AccessibleKeyMaskType):
1890 Set equivalent to AccessibleModifierMaskType for back-compat.
1891 (SPI_createAccessibleKeystrokeListener):
1892 (AccessibleKeystrokeListener_unref):
1893 Deprecated in favor of equivalent (better-named) new API below..
1894 keystroke listeners are like all device listeners.
1895 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1896 New API names for old features :-).
1897 (AccessibleDeviceListener_addCallback):
1898 (AccessibleDeviceListener_removeCallback):
1899 (SPI_registerDeviceEventListener):
1900 (SPI_deregisterDeviceEventListener):
1904 (SPI_createAccessibleKeystrokeListener):
1905 Use new preferred API, cspi_device_listener_new() and
1906 cspi_device_listener_add_cb().
1907 (AccessibleKeystrokeListener_removeCallback):
1908 Use new preferred API, cspi_device_listener_remove_cb().
1909 (AccessibleKeystrokeListener_unref):
1910 Use new preferred API, cspi_device_listener_unref().
1911 (SPI_createAccessibleDeviceListener):
1912 (AccessibleDeviceListener_addCallback):
1913 (AccessibleDeviceListener_removeCallback):
1914 Implementation of new API.
1916 * cspi/spi_registry.c:
1917 (SPI_registerDeviceEventListener):
1918 (SPI_deregisterDeviceEventListener):
1919 Implementation of new API. Fixed memory leak and removed need to
1920 allocate EventTypeSeq (thanks Michael for catching this).
1921 Squashed a wayward CORBA_exception_free that shouldn't get called.
1923 * cspi/bonobo/cspi-bonobo-listener.c:
1925 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1926 (cspi_key_event): renamed to cspi_device_event().
1927 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1928 Extended to handle mouse button events as well as key events.
1929 (CSpiKeystrokeListener):
1930 Class superceded by CSpiDeviceListener.
1931 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1932 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1934 * cspi/bonobo/cspi-bonobo-listener.h:
1935 (CSpiKeystrokeListener):
1936 Class superceded by CSpiDeviceListener.
1937 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1938 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1940 * libspi/Makefile.am:
1941 Replaced keystrokelistener.h and keystrokelistener.c
1942 with devicelistener.h and devicelistener.c; keystrokelisener.h
1943 stub retained for back-compat.
1945 * libspi/keystrokelistener.c:
1949 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1951 * registryd/deviceeventcontroller.c:
1952 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1953 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1954 (DEControllerPrivateData): Added xkb settings data.
1955 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1956 button release events (which can't be captured via XGrabButton).
1957 Don't dispatch via the 'normal' event mechanism if the device event was
1959 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1960 Handle the typeseq data in its new location (see above).
1961 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1962 New methods, for "generic" device listeners.
1963 (spi_controller_register_device_listener):
1964 Now handle mouse event listeners as well as key listeners.
1965 (spi_controller_notify_mouselisteners):
1966 New internal method.
1967 (spi_device_event_controller_forward_mouse_event):
1968 Now we notify mouse device listeners as well as generating the
1969 non-consumable "mouse:" events.
1971 We must check and restore the XKB
1972 modifier map if we consume the event, since the act of triggering
1973 a mouse event will normally reset the XKB latch. This is required for
1975 (spi_controller_register_with_devices):
1976 Load the XKB settings when registering, and register for XKB
1977 state notify events.
1978 (spi_key_eventtype_seq_contains_event):
1979 Renamed spi_eventtype_seq_contains_event, since it's used
1980 internally for all device event types now.
1981 (spi_key_event_matches_listener):
1982 Uses spi_eventtype_seq_contains_event now.
1983 (spi_device_event_controller_object_finalize):
1984 Free the private data and the XkbKeyboard struct.
1985 (impl_register_device_listener, impl_deregister_device_listener):
1986 Implementation of new IDL.
1987 (spi_deregister_controller_device_listener):
1988 New internal method.
1989 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1990 More efficient implementation, we don't have to create a new
1991 XkbControls structure every time we query.
1992 (spi_device_event_controller_class_init):
1993 Initialize the epv entries for the new IDL. Assign the
1994 "spi-dec-private" quark.
1995 (spi_device_event_controller_init):
1996 Initialize the private data.
1997 (spi_device_event_controller_forward_key_event):
1998 Removed a bogus CORBA_exception_free() call.
2000 * registryd/deviceeventcontroller.h:
2001 Replaced inclusion of keystrokelistener.h with
2004 * test/event-listener-test.c:
2005 (report_mouse_event):
2008 Added mouse-event device listener.
2010 * test/test-simple.c:
2011 (create_test_window):
2012 Fixed regression (we were instantiating a GtkRange,
2013 which is now an abstract class). Also fixed to match
2014 existing AtkRole names, this seems to have changed in ATK
2015 awhile ago; too late now I think, and the new
2016 mechanism is at least elegant and consistent with the
2017 glib enum "nick" APIs.
2019 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2021 * idl/Accessibility_Relation.idl:
2022 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2023 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2024 * idl/Accessibility_Role.idl:
2025 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2026 * idl/Accessibility_State.idl:
2027 add STATE_MANAGES_DESCENDANTS
2028 * test/event-listener-test.c:
2029 Added a listener for active-descendant events.
2031 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2033 * atk-bridge/bridge.c
2034 (atk_bridge_init): If application is Bonobo component wait until top
2035 level is added before registering
2036 (spi_atk_bridge_do_registration): New function which contains code,
2037 formerly in atk_bridge_init, to do application registration.
2038 (spi_atk_bridge_toplevel_added): Signal called when top level
2039 added to Bonobo component
2041 This fixes bug #83134.
2043 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2045 * registryd/deviceeventcontroller.c
2046 Fixed compilation error caused by calling gettimeofday()
2049 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2054 Added template for HAVE_XKB.
2057 Changes to check for XKB, and to set the HAVE_XKB #define if it
2060 * libspi/listener.c:
2061 ()impl_notify_event): Make failure to get event source name
2064 * registryd/deviceeventcontroller.c:
2065 (#include): include X11/XKBlib.h.
2066 (DEControllerPrivateData) : New struct.
2067 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2069 (dec_synth_keycode_press) (dec_synth_keycode_release):
2070 New methods; split the key synthesis code into these methods.
2071 They check XKB settings before determining the "time" values to
2072 pass to Xtest; this fixes bug #95828.
2073 (impl_generate_keyboard_event): Changed to use methods above,
2074 instead of callng Xtest directly.
2075 (spi_device_event_controller_init): Initialize new privae struct s
2077 (spi_device_event_controllr_object_finalize):
2078 Free the (new) private data.
2080 * registryd/deviceeventcontroller.h:
2081 Add new gpointer to end of struct data.
2083 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2086 Incremented revision to 1.1.2, SONAME is still '.so', library
2087 extensions are ".so.0.0.2".
2089 * registryd/deviceeventcontroller.c:
2090 FIXES FOR #93592 and #95940.
2091 (statics): renamed mouse_button_state to mouse_mask_state,
2092 added key_modifier_mask.
2093 (spi_dec_poll_mouse_moved):
2094 Added key modifier checks, and emit "keyboard:modifiers"
2095 events when the key modifiers currently in use change.
2096 Also generate "mouse:abs" events periodically, even if the mouse
2097 is stationary (should we?).
2098 Alternatively we could generate "mouse:abs" events for either all
2099 mouse movements, or every 'nth' mouse movement, or at the
2100 beginning and end of every "active" mouse period.
2102 * test/event-listener-test.c:
2103 (main): Added listener for "keyboard:modifiers" events.
2105 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2107 * libspi/keymasks.h:
2108 Added key mask #defines for mouse buttons; e.g.
2109 SPI_KEYMASK_BUTTON1, etc.
2112 Incremented dependency on ATK to version 1.1.0. (This dependency
2113 is probably premature but will soon be real enough).
2115 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2117 * libspi/hyperlink.[ch]
2118 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2119 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2122 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2127 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2129 * registryd/deviceeventcontroller.c
2130 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2131 events to be ignored.
2132 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2133 keyboard_mode so that XAllowEvents() can be called.
2137 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2139 * cspi/spi-accessible.c: Correct names of roles returned by
2140 AccessibleRole_getName(). Fixes bug #95055.
2142 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2144 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2147 * registryd/registry.c
2148 (desktop_remove_application: Write diagnostic message to stderr for
2151 (impl_accessibility_registry_deregister_global_event_listener):
2152 Correct size of lists array. This addresses bug #94555).
2154 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2156 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2159 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2161 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2164 * registryd/registry.c (impl_registry_notify_event): Remove
2165 unnecessary call to parser_event_type().
2167 * docs/reference/cspi/tmpl/spi_component.sgml:
2168 Add reference to SPI_LAYER_WINDOW.
2170 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2172 * registryd/registry.c
2173 (desktop_add_application): Remove leak.
2174 (desktop_remove_application): Remove leak.
2175 (parser_event_type): Remove leak.
2177 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2179 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2180 bogus call to CORBA_string_dup(). Also removed unnecessary
2181 g_string_dup/g_free calls.
2183 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2185 * registryd/deviceeventcontroller.c:
2186 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2188 * test/event-listener-test.c:
2189 main: commented out three redundant listeners, to reduce output
2190 noise. (They still are potentially useful for testing).
2193 2002-09-13 Michael Meeks <michael@ximian.com>
2195 * Update all the copyrights to include Ximian.
2197 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2199 * cspi/spi.h: add SPI_LAYER_WINDOW.
2201 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2202 add Accessibility_LAYER_WINDOW case.
2204 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2206 * libspi/component.c: (impl_accessibility_component_get_layer):
2207 add ATK_LAYER_WINDOW case.
2209 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2211 * configure.in: incremented micro version.
2213 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2215 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2218 Clarified and reworded our commit policy.
2221 Started an API "todo" addition list for 2.2.
2224 (impl_getSelection):
2225 Free char pointer from atk_text_get_selection, which was being leaked.
2227 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2230 Small revision to author acknowledgement.
2232 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2234 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2235 If signal has detail add it to the type of the event.
2238 2002-08-12 Michael Meeks <michael@ximian.com>
2240 * test/test-simple.c (global_listener_cb): bin bogosity.
2241 (test_keylisteners): disable, still doesn't work reliably,
2242 certainly not on my system anyway.
2244 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2245 don't leak a reference on the DEC. This round-trip
2246 fetching of the DEC per keystroke sucks, it should be
2249 * cspi/spi-private.h,
2250 * cspi/cspi-lowlevel.h,
2251 * cspi/bonobo/cspi-bonobo-listener.[ch],
2252 * cspi/bonobo/cspi-bonobo.c: get the copyright
2253 notices better - there is still a large amount of
2254 work in at-spi falsely attributed solely to Sun.
2256 * cspi/spi_main.c (cspi_object_ref): kill bogus
2257 hash lookup, just increment the ref.
2258 (SPI_freeString): make explicit the fact that we
2259 handle NULL strings just fine.
2260 (report_leaked_ref): obey coding standards.
2261 (cspi_object_hash, cspi_object_equal): kill retval.
2262 (cspi_object_release): only release if not on loan.
2263 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2264 (cspi_object_borrow, cspi_object_return): impl.
2266 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2267 use cspi_object_borrow / return.
2269 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2271 * cspi/bonobo/cspi-bonobo-listener.c:
2273 Don't call cspi_oject_new() because this is creating a new Accessible
2274 every single time that an event is fired. This causes ATs like at-poke
2275 to nolonger recognise the source of the event and thus ignore it.
2276 Re-use the object from the cache, ref it and then unref it after the
2277 listeners have been called.
2279 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2281 * test/event-listener-test.c:
2282 Added command-line options to disable mouse events (m) and
2285 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2287 * configure.in: Update required versions of ATK, GTK+ and GAIL
2289 * cspi-1.0.pc.in: Add dependency for X include files
2292 * cspi/bonobo/Makefile.am:
2293 Add $(X_CFLAGS) so that X include files
2294 are picked up even if not in standard place (bug #71686)
2296 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2298 * registryd/deviceeventcontroller.c: fix for 84261
2299 (spi_dec_mouse_moved):
2300 Added test of mouse button mask, so that we can detect mouse
2301 button release. Unfortunately we can't otherwise detect mouse
2302 button release events without consuming the mouse press event,
2303 because of the way XGrabButton works. This means that our mouse
2304 release events have a latency dependent on the polling period
2305 while the mouse button is down. At least in this case we only
2306 have to poll while the button is down, and not at other times.
2307 If the button masks don't match with what the last press event
2308 reported, we report the appropriate button release event.
2309 (spi_dec_ungrab_mouse):
2310 New method (not yet called).
2311 (spi_device_event_controller_forward_mouse_event):
2312 New method, sends mouse press event from GdkFilter.
2313 (spi_dec_init_mouse_listener):
2314 Added code to call XGrabButton, redirecting mouse button events to
2315 the root window and our Gdk event loop.
2317 Added code to filter mouse button events, and reordered.
2319 * test/event-listener-test.c:
2321 Added registration for mouse events of type "mouse:button".
2323 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2325 * registryd/deviceeventcontroller.c: partial fix for 84261
2326 (spi_dec_poll_mouse_idle):
2327 New method, a timeout which checks to see if the mouse
2329 (spi_dec_poll_mouse_moving):
2330 A timeout to be called when mouse motion is underway.
2331 (spi_dec_poll_mouse_moved):
2332 A method which fires an event if the mouse has moved, and reports
2333 whether or not it did so.
2334 (spi_dec_init_mouse_listener):
2335 A method which sets up the timeouts above.
2336 (spi_device_event_controller_new):
2337 Now calls spi_dec_init_mouse_listener.
2339 * registryd/registry.c:
2340 (spi_registry_init):
2341 Now we initialize the device event controller when the registry is
2342 initialized, instead of waiting until a client has requested a key
2343 event notification; this is because we need the event controller
2344 for mouse events, but the mouse event registration API is a
2345 "registry" call and doesn't explicitly call the
2346 deviceeventcontroller.
2347 We now report mouse motion events with a 100 ms idle latency and
2348 a 20 ms granularity when motion is in progress.
2350 * test/event-listener-test.c:
2352 We now register the "detail listener" for events of type
2353 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2354 delivered only for the first mouse event received, and thereafter
2355 "mouse:abs" events are delivered.)
2357 * cspi/spi_registry.c:
2358 DOCS: Documented the above mouse event typestrings.
2360 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2362 Happy Summer Solstice...
2364 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2365 (spi_controller_notify_keylisteners):
2366 Changes to remove a listener from the listener list, freeing its
2367 open keygrabs, if a notification to that listener fails. This
2368 means that although a dead listener can continue to hold a passive
2369 keygrab, a maximum of one dispatch to such a listener can fail
2370 before the listener is removed from the list, thus the keygrab
2371 will be released on the next occurrence.
2372 As part of this fix:
2373 (spi_notify_keylisteners):
2374 Renamed to spi_controller_notify_keylisteners, as the controller
2375 instance must now be passed as an argument.
2376 The copied 'notify' GList is now a list of DEControllerKeyListener
2377 objects, since we need more than just the CORBA reference if a
2378 notify fails and we need to deregister the listener.
2379 (impl_notify_listeners_sync):
2380 (impl_notify_listeners_async):
2381 (spi_device_event_controller_forward_key_event):
2382 Modify use of notify_keylisteners in accordance with above
2384 (spi_deregister_controller_key_listener):
2385 New method introduced by refactoring, from
2386 impl_deregister_keystroke_listener.
2387 (impl_deregister_keystroke_listener):
2388 Call spi_deregister_controller_key_listener.
2389 (spi_key_listener_clone):
2390 New method to copy a key listner without doing a 'ref' on the
2391 remote object instance; used to create a notifier list.
2392 (spi_key_listener_data_free):
2393 New method, frees data without unreffing the source.
2395 (spi_key_listener_clone_free): new method.
2396 (spi_key_listener_free):
2397 refactored to call spi_key_listener_data_free.
2399 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2401 * registryd/registry.c: [fix for bug 86048]
2402 (notify_listeners_cb):
2403 Clear CORBA system exceptions which occur when notifying
2404 listeners, before returning to the source of the original event,
2405 since the event source doesn't care if the relayed notify failed.
2406 In other words, don't complain to the atk-bridge if the registry
2407 could not notify all its listeners, that's no fault of the
2408 application and thus should not appear to be an error from the
2409 application's perspective.
2411 * cspi/spi_main.c: [fix for bug 85980]
2413 Replaced use of bonobo_object_dup_ref with call to the wrapper
2414 method, csou_dup_ref (); this silences a compiler warning and
2415 provided more portability.
2417 Ping the registry before return, and restart if necessary.
2419 * cspi/bonobo/cspi-bonobo.c:
2421 New internal method.
2423 Fixed this method to return an object reference, as it should have
2426 * cspi/cspi-lowlevel.h:
2427 Added internal definition for cspi_ping() and fixed
2428 return type of cspi_dup_ref().
2431 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2433 * atk-bridge/bridge.c: [fix for bug 85305]
2434 (spi_atk_bridge_register_application):
2435 New method where the initial application registry calls have been
2436 moved; it allows an application to re-register in response to
2437 certain error conditions (such as a registry restart, see below).
2439 Moved some initialization code to the method
2440 spi_atk_bridge_get_registry, below.
2441 (spi_atk_bridge_get_registry):
2442 New, private accessor function for the Accessibility_Registry
2443 instance. If the registry has not been started before, or has
2444 died (as detected by failure of a CORBA exception), it is
2445 restarted before return, and spi_atk_bridge_register_application
2446 is called again to register with the new bridge instance.
2447 (spi_atk_emit_eventv):
2448 Set registry_died on error; use spi_atk_bridge_get_registry () to
2449 access the registry.
2451 * registryd/registry.c:
2452 (impl_accessibility_registry_register_global_event_listener):
2453 Set listener's event_type_quark to etype.minor instead of
2454 etype.major (fix for bug 84856).
2456 * test/event-listener-test.c:
2457 (report_detail_event):
2458 Change the output string so that user/tester can tell that the
2459 'detail listener' was called instead of the 'generic listener'.
2461 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2463 Fixes for bugs 84900, 84908, 84897, 84898.
2468 Revved version to 1.1.0
2469 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2470 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2472 * idl/Accessibility_Registry.idl:
2473 (EventListener::notifyEvent):
2474 Removed 'oneway' directive after extensive consulation with
2475 ORBit2 team and others. This means also that unref() of the event
2476 source can and should be done synchronously after emission, rather
2477 than remotely in the client, after servicing the notify call on
2480 NOTE: This change speeds up listener performance considerably, but
2481 introduces new latency on the application side. We may want to
2482 add an event queue to the atk-bridge.
2484 * atk-bridge/bridge.c:
2485 (spi_atk_bridge_focus_tracker):
2486 Do a local unref() on the event source after emission.
2488 * registryd/registry.c:
2489 (desktop_remove_application):
2490 Do an unref() on the event source after emission.
2491 (desktop_add_application):
2492 Do an unref() on the event source after emission.
2493 (notify_listeners_cb):
2494 When relaying an event, don't automatically add the event source
2495 to the local object cache, just CORBA_dup it instead. Likewise,
2496 if this method reenters, release the ref rather than calling
2498 (impl_registry_notify_event):
2499 No longer call remote unref() on the event source after dispatch.
2501 * libspi/eventlistener.c:
2502 (impl_accessible_event_notify_event):
2503 Removed remote unref ()
2505 * cspi/bonobo/cspi-bonobo-listener.c:
2507 We now call cspi_object_new() instead of cspi_object_add() on
2508 receipt of an event; thus we only have an implicit object ref
2509 while the cspi_event method is being executed. If we need to keep
2510 a reference to the object, the listener must call ref() on the
2511 object. Thus also we don't need to call cspi_object_unref() after
2512 invoking the listener callbacks in this method.
2516 New internal API for creating a new cspi object, without adding it
2517 to the object cache.
2519 Now uses cspi_object_new() to create the cspi object instance.
2521 Now checks to see if the object is in the internal object cache,
2522 and adds it if necessary before incrementing its refcount (note
2523 that new objects are added with a refcount of 1).
2524 (report_leaked_ref):
2525 New method which gives some information on leaked object instances
2526 if leak detection is turned on.
2528 * test/event-listener-test.c:
2529 (timing_test_event):
2530 New method, used for testing event delivery timing for special
2531 events of type "object:test". It reports elapsed time and
2532 events/sec every 500 events.
2534 Added a new listener, 'test listener', to check timing of event
2535 receipt as noted above.
2537 Added some timing output here also, reports elapsed time every 100
2540 * test/stress-test.c:
2541 Emit events of type "object:test", for use with "event-listener-test".
2543 * test/test-simple.c:
2544 (global_listener_cb):
2545 Call Accessible_ref() on the event source before calling
2546 validate_accessible, since the validation process does pointer
2547 comparisons on the event source, meaning that the event source
2548 needs to be added to the local object cache first. Any use of
2549 such pointer comparisons between Accessible objects requires that
2550 the caller hold an explicit reference to those objects.
2551 We also must therefore call Accessible_unref() when leaving this method.
2553 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2555 * registryd/deviceeventcontroller.c:
2556 (spi_controller_update_key_grabs):
2557 Fix for #84735, subsequent keygrab listeners not informed of
2558 registration failure.
2561 (spi_base_construct):
2562 Add an assertion on construct, to make sure the GObject passed in
2563 is really a GObject.
2565 Explicitly initialize object->gobj pointer to NULL;
2567 * cspi/bonobo/cspi-bonobo-listener.c:
2568 (cspi_object_add_ref):
2569 New method, can specify whether to dup-ref a bonobo object passed
2570 in if it's newly added to the object cache.
2572 Now calls cspi_object_add_ref with second param of "FALSE". This
2573 prevents us from doing a pointless dup-ref followed by
2574 release-unref for all those cases where the object is already in
2575 our object cache (fix for #85205).
2577 * atk-bridge/bridge.c:
2578 (spi_atk_bridge_idle_init):
2579 Removed this method, we don't need to initialize in an idle
2582 Changed to call spi_atk_register_event_listeners directly, not via an
2583 idle handler. (fix for #81139)
2584 (gnome_accessibility_module_shutdown):
2585 Removed conditional around deregistration of listeners, since we
2586 don't use the idle handler and thus have always registered when
2588 (spi_init_keystroke_from_atk_key_event):
2589 Changed references to Accessibility_KEY_PRESSED to
2590 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2592 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2594 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2599 * test/stress-test.c:
2602 (may have been an incomplete commit yesterday?)
2604 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2607 Added target for new stress-test.
2609 * test/stress-test.c:
2610 New test, sends 1000 focus notifies in quick succession.
2612 * test/key-listener-test.c:
2613 Now we report whether a keylistener registration
2614 request succeeded or failed.
2616 * test/event-listener-test.c:
2617 Uncommented some listeners which are now implemented.
2620 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2622 * registryd/deviceeventcontroller.c:
2623 (spi_controller_update_key_grabs):
2624 Fix for #82509, lack of failure notification when
2625 ALL_WINDOWS keygrabs fail due to XGrabKey
2626 failure: we synchronize the server when
2627 registering a passive grab, to make sure we get the
2628 error message before the call returns.
2630 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2632 * test/test-simple.c:
2634 Removed #ifdef KEY_IMPL_WORKS guards.
2635 (test_keylisteners):
2636 Removed #ifdef KEY_IMPL_WORKS guards.
2637 Fixed bug which was causing a hang waiting for a
2638 "press" event (which was already overwritten by a "release"
2639 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2641 Added code to set globals 'key_press_received' and
2642 'key_release_received'.
2645 Added section "1.1 API Proposed Additions" which
2646 lists API additions desired for at-spi-1.1 (only one so far).
2647 Updated TODO list a little.
2649 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2651 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2654 * configure.in: Revved to 1.0.0.
2656 * idl/Accessibility_Registry.idl:
2657 (registerKeystrokeListener):
2658 Added boolean return value.
2660 * registryd/registry.c:
2661 (notify_listeners_cb): Minor fix to debug output.
2663 * registryd/Accessibility_Registry.server.in.in:
2664 Revved version number in OAFIID to 1.0.
2666 * registryd/registryd.c:
2668 Use new OAFIID version.
2670 * cspi/bonobo/cspi-bonobo.c:
2672 Use new OAFIID version.
2678 * atk-bridge/bridge.c:
2680 Use new OAFIID version.
2682 * registryd/deviceeventcontroller.c:
2683 (impl_register_keystroke_listener):
2684 Added CORBA_boolean return value.
2685 (spi_controller_register_device_listener):
2686 Added gboolean return value.
2687 (spi_controller_register_global_keygrabs):
2688 Added gboolean return value.
2689 (spi_key_set_contains_key):
2690 Added implementation for many more control keys,
2691 for instance F1-F12, arrow keys, End, Home, Page_Up,
2693 [TODO: some still not implemented].
2695 * text/screen-review-test.c:
2696 (text_chunk_pad_string):
2697 New function: it provides mapping between coordinate
2698 positions of text chunks and character positions in the
2699 screen-review-line output string.
2700 (text_chunk_to_string):
2701 New function, calls text_chunk_pad_string with various
2702 pad/delimiter characters. Pushbuttons are delimited with
2703 square brackets, Frames with vertical 'pipe' lines, and
2704 other text with double quotes.
2705 (text_chunk_list_to_string):
2706 Calls new function text_chunk_to_string.
2707 (toplevel_composite):
2708 New function to composite layers CANVAS through
2709 POPUP in each toplevel (other layers are composited
2710 across toplevels, i.e. BACKGROUND and OVERLAY).
2711 (review_buffer_composite):
2712 Revise to use new methods.
2718 2002-05-31 Laszlo Peter <laca@sun.com>
2720 * configure.in: add the Xtst libdir to the runpath on Solaris,
2721 since it's not in the default library search path.
2723 2002-05-29 jacob berkman <jacob@ximian.com>
2725 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2727 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2729 * test/screen-review-test.c:
2730 (text_chunk_pad_string):
2731 Added method, which pads the string according to the
2732 text bounds of the chunk. It also takes a 3-character
2733 string as a param which indicates the characters to be
2734 used for start, padding, and end delimitation of the chunk.
2735 (text_chunk_to_string):
2736 Changed to use text_chunk_pad_string.
2738 * configure.in: Fixed bug in AC_OUTPUT that was
2739 causing path substitution in Accessibility_Registry.server
2742 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2744 * text/screen-review-test.c:
2745 (guess_string_clip):
2746 New method which attempts a best-guess at clipping
2747 text from components (like Java labels) which don't
2748 actually implement AccessibleText. This inaccurate
2749 clip is based on the assumption that the label is
2750 justified left-and-right, and monospaced.
2751 (text_chunk_get_clipped_string):
2752 We now call guess_string_clip() for text-containing
2753 components that don't implement AccessibleText.
2755 * test/screen-review-test.c:
2756 (review_buffer_get_text_chunk):
2757 We now pull "name" from labels if they do not implement
2758 AccessibleText (i.e. for Java labels).
2759 (get_screen_review_line_at):
2760 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2763 Replaceded AC_OUTPUT target
2764 registryd/Accessibility_Registry.server with
2765 registryd/Accessibility_Registry.server.in.
2767 * registryd/Accessibility_Registry.server.in:
2768 Removed (this is now a Makefile target).
2770 * registryd/Accessibility_Registry.server.in.in:
2771 Added (source for target above). We now use $(libexecdir) as
2772 prefix for the executable at-spi-registryd.
2774 * registry/Makefile.am:
2775 Now install at-spi-registryd into $(libexecdir), and build .server
2776 file with path (see above).
2778 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2780 * test/screen-review-test.c:
2781 (text_chunk_get_clipped_string):
2782 We now check to see if words fall within clip bounds
2783 before resorting to character-by-character clip bounds testing.
2785 * TODO: Added a section for "2.2 Proposed API Additions".
2787 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2789 * test/screen-review-test.c:
2791 Added a screen review benchmarking and test program to test
2794 * cspi/spi_accessible.c:
2796 Made some of the debug strings passed to cspi_check_ev a
2797 little more specific.
2799 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2801 * test/screen-review-test.c: Fix crashes in debug statements
2803 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2805 * test/screen-review-test.c: Added this file.
2807 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2809 * atk-bridge/bridge.c: changed "object:state-change" to
2810 "object:state-changed" to match docs.
2812 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2814 * atk-bridge/bridge.c: Hooked up state-change event details.
2816 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2818 * registryd/registry.c:
2819 Fixed quarking bug in event string parsing; now events with
2820 detail parameters get matched correctly to listeners.
2823 * util/idl/Magnifier.idl: remove.
2825 * util/*.[ch]: Remove.
2826 Magnification utilities and IDL are now in module gnome-mag.
2828 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2830 * registryd/deviceeventcontroller.c:
2831 Fixed bug in grab key conversion which was causing keycode grabs
2832 to be converted to AnyKey grabs.
2835 updated NEWS file to reflect recent spin-off of gnome-mag.
2837 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2839 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2840 busted AccessibleStateSet_compare. Removed redundant casts.
2842 * cspi/spi-action.c: Removed redundant casts.
2844 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2846 * cspi/spi_component.c: Fixed typos and casting error.
2848 * cspi/spi_editabletext.c: Removed redundant casts.
2850 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2852 * cspi/spi_hypertext.c: Eliminated redundant casts.
2854 * cspi/spi_image.c: Eliminated redundant casts.
2856 * cspi/spi_registry.c: Eliminated redundant casts.
2857 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2858 * cspi/spi_selection.c: Removed redundant casts.
2859 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2860 handling. Screen geometry and text offsets were being returned as 0
2861 on error which is technically valid-- changed these to return -1.
2862 Added marshaller for text boundary types to fix bug with boundary
2863 types being passed incorrectly to atk.
2865 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2868 * cspi/spi_registry.c:
2869 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2870 which was uncovered by the recent key changes.
2872 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2874 * test/event-listener-test.c:
2876 Added new test, "event-listener-test";
2877 this code does two things; it benchmarks traversal time
2878 for the accessible hierarchy for the first running accessible
2879 app, and it connects listeners for all supported event types.
2880 It is thus useful as an example event listener and for
2881 diagnostics/debugging of event generation.
2883 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2886 Removed unnecessary dependency on libutil.
2889 Revved micro version: 0.13.1
2891 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2894 Removed util/Makefile from targets.
2897 Removed util subdir from SUBDIRS (temporarily,
2898 pending removal of magnifier-only code
2902 #ifdef-ed out magnifier dependencies, since
2903 magnifier IDL, headers, and binary now live in
2904 module gnome-mag and we don't want at-spi to depend
2905 on gnome-mag. A magnifier demo which can run alongside
2906 simple-at is forthcoming in the gnome-mag module.
2908 NOTE: Split magnifier binary, IDL, and magnification
2909 activation code from at-spi into module gnome-mag.
2911 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2913 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2914 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2916 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2919 Revved to version 0.13.0
2921 * idl/Accessibility_Registry.idl:
2922 Changed definition of KeySet from sequence of longs to sequence of
2923 KeyDefinitions, and added KeyDefinition struct.
2924 Required for fix to bug 80616.
2926 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2927 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2928 to use new definition (see above).
2930 * registryd/deviceeventcontroller.c: handle_keygrab(),
2931 spi_keyset_contains_key():
2932 Changed to make use of new struct; this allows matching based on
2933 string key-name, for instance "Tab". This also allows matching of
2934 composed characters, non-alphanumeric characters in a way that
2935 doesn't involve dependencies on X keysym codes directly, etc.
2937 * test/key-listener-test.c:
2938 Added test for Alt-Tab key using "string" specification of keyset,
2939 and modified one of the tests to use a keycode-based keyset.
2940 Thus this test both tests and demonstrates the creation and use of
2941 keysets of three forms: specified via keycode array,
2942 keysym array, and string array. (The string case only contains a
2943 single string, i.e. a string array of length 1).
2946 Turned on PRINT_TREE option by default. Also fixed a
2947 string-freeing bug in the PRINT_TREE code.
2948 Added a listener to window:minimize events.
2950 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2952 * atk-bridge/bridge.c:
2953 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2954 for window:activate and window:deactiveate
2955 (atk_bridge_property_event_listener atk_bridge_signal_listener
2956 atk_bridge_window_event_listener) Tidy debug code
2958 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2960 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2961 Fixed handling for NULL return value from ATK.
2963 * libspi/action.c libspi/component.c libspi/editabletext.
2964 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2965 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2966 Removed redundant casts.
2968 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2969 Fixed off by one bug.
2971 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2972 function not present in idl)
2974 2002-05-02 jacob berkman <jacob@ximian.com>
2976 * atk-bridge/Makefile.am: make atk-bridge a real module
2978 2002-04-26 Radek Doulik <rodo@ximian.com>
2980 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2981 atk_state_types table
2983 2002-04-22 jacob berkman <jacob@ximian.com>
2986 * libspi/Makefile.am: add deps on the built files to help
2987 automake, and don't version the ORBit typelib
2989 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2991 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2992 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2993 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2994 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2995 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2996 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2997 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2998 libspi/accessible.h libspi/accessible.h libspi/base.h
2999 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3000 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3001 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3002 libspi/spi-private.h libspi/statetset.h libspi/table.h
3003 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3004 util/mag_client.h util/mag_control.c util/mag_image.c
3005 util/mag_image.h util/magnifier.c util/magnifier.h:
3006 Add missing file headers; standardize existing ones
3008 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3010 * atk-bridge/bridge.c: Added window event support.
3012 2002-04-18 Michael Meeks <michael@ximian.com>
3014 * libspi/relation.c (impl_getNTargets): impl.
3015 (impl_getTarget): impl.
3017 * libspi/Makefile.am: fix stateset install.
3019 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3022 Started putting useful info in this file.
3024 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3026 * atk-bridge/bridge.c:
3027 Propagate state-changed notifications to ATs
3029 * cspi/spi_registry.c: update docs to reflect actual behavior of
3030 state-change events.
3032 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3035 Incremented version to 0.12.1
3037 * util/mag_client.h:
3038 Add missing declaration for magnifier_exit,
3039 used by mag_control.c - Forte compiler didn't like
3040 the implicit redeclaration of the function :-(
3043 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3046 Revved version to 0.12 due to API change (see below).
3048 * cspi/spi-roletypes.h:
3049 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3050 definition from the inline docs, and added docs
3051 for SPI_ROLE_LAST_DEFINED.
3054 * cspi/spi_streamablecontent.c:
3055 Added missing seek_type parameter to
3056 (so far unused) method,
3057 AccessibleStreamableContent_seek().
3058 [ RT approval JodyG. ]
3061 Fixed docs for SPI_createAccessibleKeystrokeListener.
3063 * cspi/spi_registry.c:
3064 Fixed docs for SPI_KEYSET_ALL_KEYS.
3066 * docs/reference/cspi/at-spi-cspi-sections.txt:
3067 Added a number of missing APIs to SECTIONS.
3069 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3071 * registryd/Makefile.am:
3073 * cspi/bonobo/Makefile.am:
3074 Add $(X_LIBS) to makefiles.
3076 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3079 Revved version to 0.11.
3081 * libspi/component.c:
3082 Added implementation for grabFocus.
3084 * idl/Accessibility_Component.idl
3085 (Accessibility_Component_grabFocus):
3086 Made this method return boolean to indicate success or failure, to
3087 be consistent with cspi and the corresponding ATK method.
3089 * idl/Accessibility_Selection.idl
3090 (Accessibility_Selection_selectAll) :
3091 Made these methods return boolean to indicate success or
3092 failure, to be consistent with cspi and the corresponding ATK methods.
3094 * idl/Accessibility_EditableText.idl
3095 (Accessibility_EditableText_setTextContents,
3096 Accessibility_EditableText_insertText,
3097 Accessibility_EditableText_cutText,
3098 Accessibility_EditableText_deleteText,
3099 Accessibility_EditableText_pasteText):
3100 Made these methods return boolean to indicate
3103 * cspi/spi_editabletext.c:
3104 Made these methods return booleans.
3106 * libspi/selection.c:
3107 * libspi/component.c:
3108 * libspi/editabletext.c:
3109 Connected the boolean returns from ATK
3110 to the server-side code referenced above.
3112 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3114 * idl/Accessibility_Table.idl: Added missing methods,
3115 Accessibility_Table_addRowSelection,
3116 Accessibility_Table_addColumnSelection,
3117 Accessibility_Table_removeRowSelection,
3118 Accessibility_Table_removeColumnSelection.
3121 Added C wrappers for above IDL:
3122 AccessibleTable_addRowSelection,
3123 AccessibleTable_addColumnSelection,
3124 AccessibleTable_removeRowSelection,
3125 AccessibleTable_removeColumnSelection.
3128 Added server-side implementation code for IDL above, connecting
3129 to pre-existing ATK api.
3131 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3133 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3135 * libspi/accessible.c: Added implementation fo
3136 Accessibility_Accessible_get_state.
3138 * libspi/libspi.h: Added stateset.h to the list of includes.
3140 * libspi/stateset.c: Fixed broken implementation.
3142 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3145 Added implementation code for Accessibility_Magnifier_exit ().
3147 * util/mag_control.c:
3148 Added test code for above method; you can
3149 now kill an existing magnifier via
3150 ./mag_control q, from the util directory.
3152 * test/key-listener-test.c:
3154 Added a new test, for our key listener API.
3156 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3158 * test/app.c, test/keysynth-demo.c:
3160 Replace use of snprintf with g_snprintf.
3161 (fix for bugzilla 78249)
3163 2002-03-27 Michael Meeks <michael@ximian.com>
3167 * util/Makefile.am (INCLUDES): fix.
3168 (DONT_DIST_SOURCE): don't distribute the
3171 * libspi/Makefile.am (dist-hook): ditto.
3173 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3175 * libspi/hypertext.c:
3176 Fix warnings when yelp is used with atk-bridge
3178 2002-03-21 Michael Meeks <michael@ximian.com>
3180 * libspi/application.c (spi_application_new):
3181 use spi_accessible_construct so we use the AtkObject
3184 2002-03-19 Michael Meeks <michael@ximian.com>
3186 * registryd/registry.c (desktop_remove_application),
3187 (desktop_add_application): clean coding style.
3189 * registryd/desktop.c (spi_desktop_remove_application),
3190 (spi_desktop_add_application): kill re-enterency hazards.
3191 (spi_desktop_dispose): remove bogus redundant cast
3192 obscuring bug; fix bug too.
3193 (spi_desktop_init): make the desktop object immortal.
3195 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3198 Added a #define-guarded tree-traversal step
3199 when enumerating the apps (diagnostic tool).
3201 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3203 * idl/Accessibility_Role.idl:
3204 Added ROLE_DRAWING_AREA which seemed to be missing from the
3207 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3209 * cspi/spi-roletypes.h cspi/spi_accessible.c
3210 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3213 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3214 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3215 AT when applications are added and removed from the desktop. This
3216 reverts the previous broken implementation using the backing
3217 AtkObject for the SpiDesktop.
3219 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3221 * registryd/desktop.c: emit the "children-changed::add" and
3222 "children-changed::remove" signals on the backing ATK object for
3223 the desktop so AT can tell when applications are started and shut
3226 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3228 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3230 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3232 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3234 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3236 * cspi/state-types.h: synched with IDL and ATK
3238 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3240 * libspi/accessible.c
3241 (impl_accessibility_accessible_get_child_at_index):
3242 Change return value for g_return_if_fail ()
3243 to CORBA_OBJECT_NIL instead of "0" (!)
3245 * registryd/Makefile.am:
3246 * registryd/Accessibility_Register.server.in:
3247 Changed name of executable, "registryd",
3248 to something more informative:
3251 2002-03-13 Michael Meeks <michael@ximian.com>
3253 * atk-bridge/bridge.c (atk_bridge_init): don't register
3254 if we're in a bonobo-component, rather than a bonobo app.
3256 2002-03-13 Michael Meeks <michael@ximian.com>
3258 * atk-bridge/bridge.c (gtk_module_init): split
3259 out body to (atk_bridge_init): here, since otherwise
3260 we get symbol conflicts and oddness when invoked
3261 from (gnome_accessibility_module_init): here (upd.)
3263 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3266 New file. Explicitly allow "build sheriff" putbacks provided
3267 they are tested on Solaris.
3269 * docs/reference/cspi/Makefile.am:
3270 Added '-' to the "cp" command for index.sgml.
3271 ("patch by thomasvs, soon coming to a GUADEC near you")
3274 Incremented version number (0.9.0) for new release.
3275 Changed macro that checks for popt, to better detect
3276 obsolete versions of popt.
3279 Added X_LIBS to AC_SUBST, for applications
3280 that call Xlib API directly.
3283 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3286 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3289 Fix regression caused by hard-coding major
3290 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3293 * test/test-simple.c (test_editable_text),
3294 (test_test): revert previous change (error was
3295 a regression in gail which is now fixed).
3297 2002-03-04 Michael Meeks <michael@ximian.com>
3299 * test/test-simple.c (test_editable_text),
3300 (test_text): pass G_MAXINT instead of '-1' for
3301 whole string - is this a good thing !?
3303 * cspi/spi_accessible.c
3304 (Accessible_getRelationSet): fix crasher bug
3305 overwriting the end of the array.
3307 * test/test-simple.c (validate_accessible): free,
3308 not g_free returned relation set.
3310 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3312 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3313 implemented stateset support
3315 * idl/Accessibility_State.idl: Made necessary changes to
3316 the IDL to support state sets.
3318 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3320 * registryd/deviceeventcontroller.c:
3321 Added implementation for generateMouseEvent.
3323 * cspi/spi_registry.c:
3324 Connected new implementation for generateMouseEvent
3327 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3330 Incremented revision (but no change in public API
3331 outside of 'utils', which are not installed public yet.)
3333 * libspi/component.c:
3334 Changed to use atk_component API for layers and
3335 mdi_zorder, instead of deprecated atk_object API.
3337 Magnification Utility Enhancements:
3340 Added implementation of createZoomRegion, clearAllZoomRegions,
3341 resizeZoomRegion. Added new commandline argument
3342 "--no-initial-region". Note that clearAllZoomRegions doesn't
3343 unmap the old '0' region as it should (yet), and the other
3344 methods only work when creating/resizing a single region,
3345 which is "region 0".
3346 (Code for multiple region support will be added later.)
3349 Now we raise the magnifier window each time it's refreshed;
3350 this will help keep it on top.
3352 * util/mag_client.h:
3353 Added simple wrappers for above, used by mag_control.
3354 For general use, it's recommended to use the bonobo magnifier
3355 control API directly instead of using these wrappers.
3358 Moved ZoomRegionData from magnifier.c to this file.
3360 * util/mag_control.c:
3361 Added some code to exercise new IDL implementations.
3363 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3365 * libspi/text.c: Provide implementation for getAttributes.
3367 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3370 Incremented revision.
3372 * test/test-simple.c:
3373 Replaced use of deprecated g_main_iteration with
3374 g_main_context_iteration.
3376 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3379 Incremented revision for desktop alpha 2.
3381 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3383 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3386 * test/simple-at.c: include netinet/in.h.
3388 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3390 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3391 use NULL, not CORBA_OBJECT_NIL.
3393 * libspi/accessible.c:
3394 (impl_accessibility_accessible_get_relation_set):
3395 allocate the sequence correctly.
3397 * libspi/remoteobject.h: kill spi_remote_object_new.
3399 * test/test-simple.c: (validate_accessible): add code
3400 to test relation sets, now all we need is to figure
3401 out how to excercise this code path :/
3403 2002-01-18 Michael Meeks <michael@ximian.com>
3405 * test/test-simple.c
3406 (key_listener_cb): consume the key.
3407 (test_keylisteners): update.
3408 (main): wait for any pending unrefs on events.
3410 * registryd/deviceeventcontroller.c
3411 (spi_controller_update_key_grabs): only re-issue the
3412 grab on a key release.
3413 (spi_device_event_controller_forward_key_event):
3414 refresh the keygrabs before we notify the listeners,
3415 to reduce the X ungrab / re-grab race.
3416 (spi_controller_register_with_devices): remove
3417 XSelectInput - we do that with the gdk_window_ call.
3418 (_spi_controller_device_error_handler): return a value.
3419 s/GDK_DISPLAY/spi_get_display/
3421 2002-01-17 Michael Meeks <michael@ximian.com>
3423 * registryd/deviceeventcontroller.c
3424 (_deregister_keygrab): don't blow out the later
3427 * test/test-simple.c (test_keylisteners): do a
3428 more intelligent validation.
3430 2002-01-14 Michael Meeks <michael@ximian.com>
3432 * atk-bridge/bridge.c
3433 (gnome_accessibility_module_init),
3434 (gnome_accessibility_module_shutdown): impl.
3435 (gtk_module_init): protect vs. double inits.
3436 (add_signal_listener): impl.
3437 (spi_atk_bridge_state_event_listener): kill
3438 (deregister_application): split out of
3439 (spi_atk_bridge_exit_func): here.
3441 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3444 Added caret tracking when using magnifier, and
3445 now use text bounds for focus tracking of text elements, rather than
3446 the component bounds - this is helpful for short text fields in long
3447 table cells, at high magnification.
3449 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3451 * registryd/deviceeventcontroller.c:
3452 Regression fix for keylistener de-registration; global keygrabs
3453 were not being released when deregisterKeystrokeListener was
3454 called in cspi, since
3455 Accessibility_DeviceEventController_deregisterKeystrokeListener
3456 was called with a zero-length keyset. That is because the cspi
3457 method, SPI_deregisterKeystrokeListener, does not take a keyset
3458 parameter but instead should remove all the key grabs held be a
3460 The code in impl_deregister_keystroke_listener was changed to copy
3461 the keylist from the listener instance previously registered with
3462 the DeviceEventController before releasing the grabs.
3464 * registryd/registry.c:
3465 * registryd/deviceeventcontroller.c:
3466 * libspi/spi-private.h:
3468 Changed spelling of "re-enterant" to "re-entrant" globally.
3470 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3472 * test/test-simple.c:
3473 Changed key listeners test - the test was slightly mis-using the
3474 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3475 It now uses '=' as the key event listened to and generated,
3476 relying on a keysym match rather than assuming that keycode 33
3477 is always equal to keysym '!'.
3479 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3482 Changed simple-at to use a specific keyset, rather than
3483 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3484 manager, desktop, etc.
3486 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3488 * registryd/deviceeventcontroller.c:
3489 Replaced standard X error handler with a special handler that
3490 is non-fatal for failed keygrabs. This works around
3491 problems with keygrab clashes sometimes observed on
3493 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3494 mouse handling code as yet).
3496 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3499 Incremented revision for desktop alpha release.
3502 Fixed a couple of the more glaring errors (still not
3505 2002-01-11 Michael Meeks <michael@ximian.com>
3507 * registryd/deviceeventcontroller.c
3508 (spi_device_event_controller_forward_key_event): kill
3509 XUngrabKey / XKeyGrab race.
3510 (spi_controller_grab_keyboard): rename to
3511 (spi_controller_update_key_grabs): this, and deal
3512 with incremental adding / removing grabs more
3514 (_register_keygrab): ensure we're not pending a remove.
3515 (spi_grab_mask_free): impl.
3516 (spi_controller_register_global_keygrabs): split out
3518 (handle_keygrab): impl.
3519 (_deregister_keygrab): impl.
3520 (spi_controller_deregister_global_keygrabs): impl.
3521 (spi_controller_update_key_grabs): re-issue the grab if
3522 we just recieved a notification.
3524 * test/test-simple.c (key_listener_cb): remove debug.
3526 * registryd/deviceeventcontroller.c
3527 (spi_controller_register_device_listener): after
3528 registering a global keygrab, actualy register it !
3529 don't wait for a timeout; doh !
3531 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3532 to make it more readable / manipulable.
3533 s/grabmask/grab_mask/ s/refcount/ref_count/
3534 s/keyval/key_val/ s/modmask/mod_mask
3536 2002-01-08 Michael Meeks <michael@ximian.com>
3538 * registryd/deviceeventcontroller.c
3539 (spi_controller_register_with_devices): use gdk calls to
3541 (global_filter_fn): implement the filter.
3542 (spi_device_event_controller_check_key_event): rename to
3543 (spi_device_event_controller_forward_key_event): this & upd.
3544 (spi_get_display): replace with GDK_DISPLAY.
3546 * registryd/deviceeventcontroller.c
3547 (spi_controller_deregister_device_listener): unroll into
3548 (impl_deregister_keystroke_listener): here to simplify.
3549 (spi_controller_register_global_keygrabs): split cut and
3550 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3551 (spi_controller_deregister_device_listener): remove.
3552 (impl_register_mouse_listener): remove, no mouse listener
3553 support in at-spi-1.0
3555 * registryd/registry.c
3556 (_device_event_controller_hook): kill.
3557 (spi_registry_init): upd.
3559 * registryd/deviceeventcontroller.c
3560 (spi_device_event_controller_class_init): upd.
3561 (spi_check_key_event): merge into.
3562 (spi_device_event_controller_check_key_event):
3563 here and kill strange static ev init, don't leak
3564 the x_event - nor dynamicaly allocate it.
3566 * registryd/registry-main.c (main): re-direct
3567 timeout to remove strange vtable mess.
3569 * registryd/deviceeventcontroller.c
3570 (remove_listener_cb): impl.
3571 (spi_controller_deregister_device_listener):
3572 fix re-enterancy hazard.
3574 2002-01-07 Michael Meeks <michael@ximian.com>
3576 * registryd/deviceeventcontroller.c
3577 (spi_device_event_controller_new): upd.
3578 (impl_notify_listeners_sync): upd. debug.
3579 (spi_notify_keylisteners): fix re-enterancy hazards,
3580 prettify, remove O(n*n) iteration.
3581 (spi_controller_grab_keyboard): fix iteration.
3582 (spi_check_key_event): re-format to suit coding style.
3583 Clean all the warnings - we're warning free.
3585 * registryd/deviceeventcontroller.h:
3586 * registryd/registry.h: make mutualy referential with
3587 typesafe forward references instead of (!) void pointer
3590 2002-01-11 Michael Meeks <michael@ximian.com>
3592 * cspi/spi_accessible.c (role_names): add a role name
3593 to sync this array with the enum; and make the regression
3596 2002-01-10 Michael Meeks <michael@ximian.com>
3598 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3599 allow expansion of enumeration & kill warning.
3601 * test/test-simple.c (key_listener_cb): impl.
3602 (test_keylisteners): impl.
3604 * cspi/spi-listener.h: make listener signatures const
3605 on the provided (const) events.
3607 * test/keysynth-demo.c: upd. to const events.
3609 * test/simple-at.c: ditto.
3611 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3614 Rev the version to 0.5 (the previous tarball was named 0.4,
3615 even though the micro number was 3), so we need to rev upwards
3616 again for beta2/"desktop-alpha"
3619 Checked in a demo script, which requires editing before use!
3620 Proceed with caution.
3623 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3625 * cspi/spi_accessible.c:
3626 Add a couple of missing enum initializations, and fix some enum
3629 * cspi/spi_registry.c:
3630 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3632 * docs/reference/cspi/at-spi-cspi-sections.txt:
3633 Remove/fix a couple of broken document references.
3636 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3637 as Alt-Control to listen for commands, since on some systems
3638 Control-Alt may already be grabbed.
3640 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3643 Update version number to 0.4 for Beta2.
3645 * libspi/accessible.c, libspi/accessible.h:
3646 Expose spi_accessible_construct, to enable libgail-gnome
3647 construction from spi_accessible subtype.
3649 * utils/magnifier.c:
3650 Workaround for bug in some non-gnome-compliant window managers
3651 which made magnifier resize improperly.
3653 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3655 * libspi/accessible.c: (spi_accessible_new) :
3656 Move the test for SPI_IS_REMOTE_OBJECT to
3657 spi_accessible_new_return, fixing a bug and compile time warning.
3659 2002-01-08 Michael Meeks <michael@ximian.com>
3661 * registryd/registry.c (parse_event_type): remove strndup.
3663 * libspi/Makefile.am (libspi_la_SOURCES): remove
3664 sources already included in the headers section.
3666 * libspi/util.c: add.
3668 * libspi/spi-private.h: add.
3670 * registryd/registry.c: update to moved list iterators.
3672 2002-01-05 Michael Meeks <michael@ximian.com>
3674 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3676 * test/test-simple.c (main): ditto.
3678 2002-01-04 Michael Meeks <michael@ximian.com>
3680 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3681 redundant construct.
3683 * registryd/registry.c
3684 (get_listener_list): impl.
3685 (impl_accessibility_registry_register_global_event_listener):
3686 re-impl. to simplify using ~, remove dodgy const cast off.
3687 (parse_event_type): constify.
3688 (impl_accessibility_registry_deregister_global_event_listener_all):
3689 re-write, more efficiency and simplicity, kill re-enterancy
3691 (compare_listener_corbaref, compare_corba_objects),
3692 (compare_listener_quarks): define out.
3693 (impl_accessibility_registry_deregister_global_event_listener):
3694 re-write for effiency, and nail re-enterancy hazard.
3695 (impl_accessibility_registry_get_desktop_list): impl.
3696 (re_enterant_list_delete_link): impl.
3697 (re_enterant_list_foreach): impl.
3698 (remove_listener_cb): impl.
3699 (_registry_notify_listeners): kill.
3700 (notify_listeners_cb): impl.
3702 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3703 (SPI_getDesktopList): impl.
3705 * test/test-simple.c (test_desktop): test the methods.
3707 2002-01-03 Michael Meeks <michael@ximian.com>
3709 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3710 keystrings since we free them
3711 (SPI_freeAccessibleKeySet): in here.
3713 * libspi/accessible.c (spi_accessible_new): kill warning,
3714 wonder what is going on with the constructor here.
3716 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3718 * libspi/accessible.c (spi_accessible_new ()) :
3719 Added check to see if AtkObject is an SpiRemoteObject before
3720 creating an SpiAccessible.
3722 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3724 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3725 Enable keygrabs using the Control modifier, now that they are
3726 working properly (they were previously disabled).
3729 Change the command keygrab for this demo to "Control+Alt", so as
3730 to conflict with fewer other key commands on the system; this
3731 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3733 Removed a pointlessly-chatty keylistener for unshifted keys
3734 (shifted keys are still reported).
3736 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3738 * libspi/remoteobject.h:
3739 * libspi/remoteobject.c:
3740 Added definitions for special AtkObject subtype, required for
3741 support of remote components (specifically, used by BonoboControl
3742 accessibility implementation).
3744 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3746 * cspi/spi.h: synched relation types with ATK
3748 * cspi/spi_accessible.c: Added implementations of
3749 AcccessibleRelation_* methods
3751 * idl/Accessibility_Relation.idl: added getRelationTypeName
3752 method. Synched known relation types with ATK. Allowed for
3753 relation type extension with the RELATION_EXTENDED type.
3755 * libspi/relation.c: Provided implementations for
3756 AccessibleRelation methods.
3758 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3760 API tweaks for today's API 'freeze'.
3763 Added placeholder functions to allow future compatible expansion
3764 of the IDL interfaces.
3766 * idl/Accessibility_Registry.idl:
3767 Changed generateKeyEvent to generateKeyboardEvent. Changed
3768 signature of this method to accept an optional keystring in
3769 parameter (for complex text input synthesis) and changed use of
3770 simple 'boolean' parameter in registerKeystrokeListener to a
3771 struct, EventListenerMode.
3773 * cspi/spi_accessible.c:
3775 * cspi/spi_streamablecontent.c:
3776 Added references to AccessibleStreamableContent interface, and
3777 definition and implementation of AccessibleStreamableContent
3780 * cspi/spi_registry.c:
3782 Changed generateKeyEvent API to generateKeyboardEvent,
3783 taking a new (optional) keystring parameter to support complex
3788 Renamed directory (to better reflect its actual purpose, bridging
3789 from at-spi to ATK). The .so module is also now named
3792 * idl/Accessibility_Hypertext.idl:
3793 * libspi/accessible.c:
3794 * libspi/hypertext.h:
3795 * libspi/hypertext.c:
3796 Changed Accessibility_Hypertext to *not* derive from
3799 * cspi/spi_registry.c:
3800 Added list of legal event type names for 'window' events, which
3801 completes the registry event API.
3803 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3805 * at-bridge/bridge.c: Added registration for separate
3806 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3807 signals. If either of the first two parameters to the generic
3808 bridge signal handler are ints, they are passed on as event
3809 details. This allows an AT to determine what text was inserted.
3811 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3813 * registryd/deviceeventcontroller.c:
3814 Fixed regressions in generateKeyEvent caused by the removal of
3815 gdk_init from registryd; we now use pure X calls to connect to the
3816 display, which makes sense because deviceeventcontroller already
3817 uses a fair bit of X API (should eventually be migrated to a
3818 'portability layer').
3820 * registryd/desktop.c:
3821 Fixed minor regression in spi_desktop_init, changed the way the
3822 desktop name is being set to work with new spi_base API
3823 (gobject-based, rather than AtkObject-based).
3825 * registryd/Makefile.am:
3826 Minor revision of makefile to use XTST_LIBS variable rather than
3827 hard-wiring the Xtst LD_ADD element.
3829 * test/keysynth-demo.c:
3830 Tweaked an output message; added initialization of the
3831 'keystrings' member of the "switch listener" key_set.
3833 * libspi/relation.c:
3834 Squashed compile-time warning.
3836 * libspi/accessible.c:
3837 Cosmetic and formatting fixes, renamed a static method.
3839 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3841 * libspi/accessible.c
3843 * libspi/application.c
3846 * libspi/component.c
3847 * libspi/editabletext.c
3848 * libspi/hyperlink.c
3849 * libspi/hypertext.c
3851 * libspi/selection.c
3855 * registryd/desktop.c:
3856 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3858 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3860 * idl/Accessibility_Registry.idl:
3861 Added boolean member 'is_text' to DeviceEvent. This is for the
3862 use of key events, and helps prevent ambiguity between composed
3863 key strings and keysym names, since both may potentially be
3864 returned in the 'event_string' member.
3866 * at-bridge/bridge.c:
3867 * registryd/deviceeventcontroller.c:
3868 Use the 'is_text' member when notifying device event listeners.
3869 Knon issue: composed characters are not dealt with correctly by
3870 the global key listener implementation yet.
3872 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3874 * at-bridge/bridge.c:
3875 Namespaced local static methods to spi_atk_bridge_* where
3876 previously named bridge_*, and spi_* elsewhere.
3878 * at-bridge/bridge.c:
3879 * cspi/bonobo/cspi-bonobo-listener.c:
3880 Added demarshalling/conversion for string member of
3881 Accessibility_DeviceEvent to AccessibleKeystroke.
3883 * registryd/deviceeventcontroller.c:
3884 Added code to fill the Accessibility_DeviceEvent key string value
3885 member for global key events (i.e. from XGrabKey), to match
3886 behavior of Accessibility_DeviceEvent from the toolkit key events
3887 from the bridge. Fixed timestamp in global key event notifications.
3890 Added printout of key event's string value to
3891 report_ordinary_key_event, for demo/debugging purposes.
3893 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3895 * idl/Accessibility_Registry.idl:
3896 Removed Accessibility_KeyStroke structure in favor of generic
3897 Accessibility_DeviceEvent structure.
3898 Changed Accessibility_ControllerEventMask from a struct to an
3901 * at-bridge/bridge.c:
3902 Changed APIs to use DeviceEvent structure as above, and removed
3903 bogus casting between these event structures.
3905 * cspi/spi-listener.h:
3906 Added keystring member of AccessibleKeystroke structure, to enable
3907 matching on event "names" rather than only hardware codes and
3911 Added keystrings member of AccessibleKeySet struct, to allow
3912 matching on event names (as above).
3913 Added declarations for SPI_createAccessibleKeySet and
3914 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3915 event modmasks directly as unsigned ints rather than structs with
3916 refcounts, in the DeviceEventController methods.
3918 * cspi/spi_registry.c:
3919 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3921 * cspi/spi-roletypes.h:
3922 Added documentation of newly added SPI Roles.
3924 * cspi/bonobo/cspi-bonobo-listener.c:
3925 Changes in support of API changes above.
3927 * libspi/accessible.c:
3928 Converted APIs to use DeviceEvent structure (see IDL changes
3931 * registryd/deviceeventcontroller.c:
3932 Added DEControllerGrabMask structure to track keygrabs not only by
3933 modmask but by keyset as well; this allows us to do "global"
3934 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3935 grabbing on AnyKey and then filtering after-the-fact.
3936 Bugfixes for event filtration mean that we don't get false matches
3937 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3939 * registryd/deviceeventcontroller.c:
3940 Namespaced a number of static methods to use spi_ prefix. Major
3941 revision to internals of global (i.e. X) key grabs.
3943 * registryd/deviceeventcontroller.h:
3944 Removed keymask_list and added keygrabs_list to
3945 SpiDeviceEventController struct.
3948 Added use of SPI_createAccessibleKeySet API when creating a
3949 listener for only one key. Attach a listener to "shift spacebar
3950 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3951 X key event names to SPI key event names, so that listeners are
3952 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3954 * test/keysynth-demo.c:
3955 Changed (incorrect) use of X key event names (KeyPressed,
3956 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3959 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3961 * libspi/accessible.c:
3962 Convert all AtkRole enumerations to Accessibility_Role enums when
3963 getting a role from an AtkObject.
3965 * cspi/spi_accessible.c:
3966 Complete the conversion of Accessibility_Role enums at runtime to
3967 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3968 role enums correctly match those given in spi-roletypes.h.
3969 Re-synchronize the local names list for AccessibleRole_getName ().
3970 AccessibleRole_getName is now deprecated, since it duplicates the
3971 more reliable Accessible_getRoleName.
3972 Added some role types from Accessibility_Role.idl.
3974 * idl/Accessibility_Role.idl:
3975 Added some role types used by AtkRole.
3977 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3980 * cspi/spi_registry.c:
3982 * cspi/cspi-bonobo-listener.c:
3983 Namespaced all methods that did not begin with an "SPI_" or
3984 "Accessible" prefix to "SPI_".
3987 Homogenized internal function namespace to "cspi_" for statics.
3990 Patched tests to use the new CSPI API.
3992 * docs/reference/cspi/at-spi-cspi-sections.txt:
3993 Updated docs to reflect namespace changes, and added a number of
3994 methods to the documentation.
3996 * registryd/registry.c:
3997 Changed use of strings and string hashes in listener event
3998 matching and parse_event_string to use GQuark, which is guaranteed
4001 * registryd/registry.h:
4002 Squashed annoying warning.
4004 * idl/Accessibility_Role.idl:
4005 Extended range of available Accessibility_Role values.
4007 * cspi/spi_accessible.c:
4008 Re-ordered role names.
4010 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4012 * idl/Accessibility_Value.idl:
4013 Revert use of union back to CORBA_double, since the double type is
4014 more efficient and can contain the other types without loss of
4017 * idl/Accessibility_Accessible.idl:
4018 Added method Accessibility:Accessible:getRoleName, to complement
4019 Accessibility:Accessible:getRole.
4021 * cspi/spi_accessible.c:
4023 Added C binding for above, Accessible_getRoleName (), and changed
4024 signature of Accessible_getRole () to return an AccessibleRole.
4026 * cspi/spi-roletypes.h:
4027 Changed AccessibleRole_getName to return a char * instead of a
4028 const char *. This method is now at least temporarily deprecated
4029 in favor of asking Accessibles for their RoleNames directly.
4032 Revert to match Accessibility_Value.idl;
4036 Change signature of AccessibleValue methods to use double rather
4040 * cspi/spi_accessible.c:
4041 Changed Accessible_getRole to return an AccessibleRole enum rather
4042 than a UTF-8 string. The UTF-8 string can still be obtained via
4043 AccessibleRole_getName ().
4045 * test/test-simple.c:
4046 Add test_action. Small fixup to match API change to Accessible_getRole.
4049 Bugfix for get_action_from_servant ().
4051 2001-12-11 Michael Meeks <michael@ximian.com>
4053 * libspi/libspi.h: remove registry.h and
4054 desktop.h, deviceeventcontroller.h
4056 * libspi/Makefile.am: remove registry.[ch],
4057 desktop.[ch], deviceeventcontroller.[ch]
4059 * registryd/Makefile.am: add registry.[ch],
4060 desktop.[ch], rename registryd.c to registry-main.c.
4061 add deviceeventcontroller.[ch]
4063 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4066 Replace setenv() call with putenv ().
4068 * libspi/component.c:
4069 Bugfix in AccessibleComponent_getExtents (),
4072 2001-12-11 Michael Meeks <michael@ximian.com>
4074 * libspi/image.c (impl_getImageExtents): impl.
4075 (spi_image_class_init): upd.
4078 (AccessibleImage_getImageDescription): fix daft bug
4081 * test/test-simple.c (global_listener_cb): update
4082 to only quit if not --poke
4083 (main): catch --poke.
4084 (validate_accessible): upd. dumping, call test_image
4087 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4090 * idl/Accessibility.idl: update all IDL includes.
4092 * idl/*.idl - rename to namespace - this sucks, blame
4093 mjs' bad decision for oafd.
4095 * test/test-simple.c (create_test_window): add more tests.
4096 (create_tree): split this out.
4097 (validate_accessible): bugfix.
4099 2001-12-11 Michael Meeks <michael@ximian.com>
4101 * cspi/bonobo/cspi-bonobo-listener.c:
4102 (cspi_kestroke_listener_unref),
4103 (cspi_event_listener_unref): impl. undoing previous
4104 homenous environment - for Bill.
4106 * cspi/spi_table.c (long_seq_to_array): use
4109 * cspi/spi_main.c: split out all bonoboish bits into
4112 * cspi/spi-impl.h: upd. typedefs.
4114 * cspi/spi_registry.c: update to lowlevel API,
4115 return booleans to indicate success in some places.
4117 * cspi/spi_event.c: update to lowlevel API.
4119 * cspi/bonobo/Makefile.am: add.
4121 * cspi/bonobo/cspi-lowlevel.h: add
4123 * cspi/bonobo/cspi-bonobo.c: add
4125 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4127 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4128 (SUBDIRS): add bonobo, link in the libs.
4130 * cspi/spi-util.c: kill this file.
4132 * TODO: merge in my bits.
4134 2001-12-11 Michael Meeks <michael@ximian.com>
4136 * test/test-simple.c (test_value, test_table, main):
4137 remove unused variables causing warnings.
4139 * configure.in: cleanup checks - require gail.
4141 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4144 Changed Value interface to use SValue (scalars) rather than
4145 assuming all values are floats. This allows floats, doubles,
4146 longs, shorts, and unsigned values to be manipulated.
4147 Introduced Accessibility:SValue union.
4150 Updated to use new API above, and to work correctly with GValues
4151 of different types in AtkValue.
4154 Updated to use new API above. cspi's API is as yet unchanged.
4157 Updated the Value revision action item.
4159 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4161 * test/test-simple.c:
4162 Added test_table (GtkTreeView widget in test window to follow).
4163 Un-commented test_value, added GtkRange widget.
4164 Added GtkTreeView widget with GtkListStore. It passes regression
4165 test but leaks one SPI object for some reason.
4168 Fixed bug in impl__set_currentValue.
4170 2001-12-10 Michael Meeks <michael@ximian.com>
4172 * cspi/spi_text.c: audit for exception handling,
4173 tolerating NULL object references safely etc.
4175 * cspi/spi_value.c: ditto.
4177 * cspi/spi_table.c (AccessibleTable_getSummary),
4178 (AccessibleTable_getAccessibleAt),
4179 (AccessibleTable_getRowHeader),
4180 (AccessibleTable_getColumnHeader),
4181 (AccessibleTable_getCaption): fix bugs hidden by
4183 (long_seq_to_array): impl.
4184 (AccessibleTable_getSelectedRows),
4185 (AccessibleTable_getSelectedColumns): use it.
4187 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4190 Added a TODO list (rough and short for now).
4192 * cspi/spi_hyperlink.c:
4193 * cspi/spi_hypertext.c:
4194 Fixed macro name typos, and remove use of obsolete macro in
4195 AccessibleHyperlink_getLink.
4197 * cspi/spi_action.c:
4198 * cspi/spi_accessible.c:
4199 * cspi/spi_application.c:
4200 * cspi/spi_component.c:
4201 * cspi/spi_selection.c:
4204 Documentation fixes (removed return values from ref/unref methods).
4206 2001-12-10 Michael Meeks <michael@ximian.com>
4208 * cspi/spi_action.c: audit for exception handling,
4209 tolerating NULL object references safely etc.
4211 * cspi/spi_accessible.c: ditto.
4213 * cspi/spi_component.c: ditto.
4215 * cspi/spi_editabletext.c: ditto.
4217 * cspi/spi_hyperlink.c: ditto.
4219 * cspi/spi_hypertext.c: ditto.
4221 * cspi/spi_image.c: ditto.
4223 * cspi/spi_selection.c: ditto.
4225 2001-12-10 Michael Meeks <michael@ximian.com>
4227 * configure.in: use cspi/libspi.pc.in instead.
4229 * Makefile.am (pkgconfig_DATA): upd. to match.
4231 * test/simple-at.c (report_focus_event): kill hacks around
4232 bad return values, use putenv not setenv
4234 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4235 fire ChildGone - I killed it.
4237 * libspi/component.c
4238 (impl_accessibility_component_get_extents): remove
4241 * idl/Accessible.idl: kill ChildGone exception.
4243 * cspi/*.[ch]: kill int return from ref / unref.
4245 * cspi/spi_main.c (cspi_object_add_check): fold into
4246 (cspi_object_add): here.
4248 * cspi/spi_component.c (AccessibleComponent_getExtents):
4249 handle exceptions elegantly.
4251 * cspi/spi-private.h (cspi_check_ev_return),
4252 (cspi_return_if_fail): impl.
4254 * cspi/spi_accessible.c: use extensively.
4255 (AccessibleStateSet_equals): add direct compare check.
4257 * cspi/spi_selection.c: tolerate NULL objs, and check
4258 exceptions before return.
4260 * cspi/spi-util.c (cspi_warn_ev): rename to
4261 (cspi_check_ev): this & don't pass ev in; no point.
4263 2001-12-10 Michael Meeks <michael@ximian.com>
4265 * test/test-simple.c: use putenv not setenv
4266 (get_environment_vars): more chatty if you're not using
4269 * test/simple-at.c: do the setenv so more people see the
4272 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4274 * libspi/registry.c:
4275 Changed check of CORBA_environment on notification to be a warning
4276 instead of an error for the moment, since we can recover from this
4277 error when caused by a queued notification from a dead app.
4280 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4281 used by all current implementors of AtkValue), and coerce to
4282 CORBA_float. (Proper general case fix may require change to Value.idl).
4284 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4288 * cspi/spi_accessible.c:
4289 Documentation fixes: added user_data params to documentation for
4290 listeners and callbacks.
4292 * cspi/spi_accessible.c:
4293 Changed AccessibleStateSet_compare to return a
4294 StateSet rather than return the difference set into a third parameter.
4297 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4300 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4301 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4305 Remove subdirectory po from SUBDIRS for now.
4307 * at-bridge/bridge.c:
4308 Beefed up a couple of debug printouts.
4309 One-line fix for signal notification name formatting.
4311 * libspi/accessible.c:
4312 Added assertion to spi_accessible_new ().
4314 * libspi/application.c:
4315 Put #ifdef qualifiers around a printf.
4318 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4320 * registryd/Makefile.am:
4322 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4323 INTLTOOL_SERVER_RULE macro.
4326 Added an event listener for several ATK signals, for
4327 testing and debugging. Removed a few g_warnings.
4328 Added test output if focussed item implements the Value interface.
4330 * test/test-simple.c:
4331 Added test_value () function (known not to pass at the moment, so
4332 not actually called yet.
4334 2001-12-08 Michael Meeks <michael@ximian.com>
4336 * at-bridge/bridge.c (bridge_focus_tracker),
4337 (emit_eventv): fix the same ref. leak.
4338 (register_atk_event_listeners): don't leak.
4340 * cspi/spi-listener-impl.c (cspi_event): more
4341 protection from client code.
4343 * test/test-simple.c (test_desktop): unref the app.
4345 * test/Makefile.am: upd. TESTS.
4347 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4349 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4351 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4353 * cspi/spi_registry.c: constify in strings.
4354 (deregisterGlobalEventListenerAll): don't release the ref.
4356 * cspi/spi.h: start removing redundant / conflicting
4357 gtkdoc comments, making the API readable at a glance :-)
4359 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4361 * test/keysynth-demo.c (keysynth_exit, main): upd.
4363 * test/simple-at.c (main, simple_at_exit): upd.
4365 * test/test-simple.c (unutterable_horror): kill.
4366 (utterable_normal_derefs): kill.
4367 (main): upd & do a setenv before gtk_init, so that we
4368 can use memprof - and to save the pain of remembering
4369 this, if we're running under memprof - don't exit.
4371 * cspi/spi_main.c (SPI_exit): return exit status
4373 (SPI_event_quit): impl.
4374 (SPI_event_main): simplify.
4375 (cspi_is_gnome_app): kill.
4376 (SPI_init): kill isGNOMEapp arg.
4378 * at-bridge/bridge.c (register_atk_event_listeners):
4379 re-instate the unref.
4380 (bridge_exit_func): don't re-activate the registry,
4381 protect vs. theoretical re-entry, use the
4382 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4383 assert a clean shutdown - for regression tests.
4385 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4387 * configure.in: Comment out dummy i18n support for now,
4388 otherwise it fails to build.
4389 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4390 EXTRA_DIST. They are missing in tarball.
4392 2001-12-07 Michael Meeks <michael@ximian.com>
4394 * util/magnifier.c: kill bonobo activation reg. race.
4396 * libspi/component.c
4397 (impl_accessibility_component_get_extents): make it match
4400 * libspi/registry.c (_registry_notify_listeners):
4401 re-remove X headers & reconcile conflicts.
4402 (spi_listener_struct_free): bad conflict resolve.
4403 (impl_accessibility_registry_register_application):
4404 more bad merging fixed.
4405 (impl_accessibility_registry_deregister_application): ditto.
4406 (spi_registry_new): ditto.
4407 (spi_registry_init): don't have an applications field.
4409 [ merge fixups2 branch to here ]
4410 2001-12-07 Michael Meeks <michael@ximian.com>
4412 * test/simple-at.c (report_focus_event),
4413 (report_focussed_accessible): remove g_warning debug.
4415 2001-12-07 Michael Meeks <michael@ximian.com>
4417 * test/test-simple.c (validate_tree): comment out some checks.
4418 (test_desktop): app now not registered idly - horay.
4420 2001-12-07 Michael Meeks <michael@ximian.com>
4422 * cspi/spi_registry.c
4423 (registerAccessibleKeystrokeListener): clean, stop it leaking
4424 great swathes of memory, and device event controller references.
4425 ensure we always pass valid sequences.
4426 (deregisterAccessibleKeystrokeListener): ditto.
4427 (generateKeyEvent): upd.
4429 * at-bridge/bridge.c (bridge_key_listener): handle
4430 registry dead exception gracefully.
4431 (bridge_focus_tracker, emit_eventv): free ev.
4433 * test/simple-at.c (report_focus_event): fix polarity.
4435 * libspi/application.c (notify_listeners): kill the ev
4436 argument, and make sure we init the ev we use.
4437 (spi_application_object_event_listener): split out a chunk
4438 (get_atk_object_ref): here & fixup.
4439 (reverse_lookup_name_for_toolkit_event): make const.
4440 (spi_application_toolkit_event_listener): fixup, kill leaks
4443 * at-bridge/bridge.c (register_atk_event_listeners):
4444 don't unref the noop object - causes grief.
4446 * libspi/registry.c: remove the X headers.
4447 turn off the debug churn.
4449 * libspi/accessible.c (spi_accessible_new_return): only
4450 release the ref if we are supposed to [doh]
4452 * test/simple-at.c (report_button_press, report_focus_event):
4453 guard vs. unexpected exit.
4455 * at-bridge/bridge.c (gtk_module_init): prune printf.
4456 (bridge_exit_func): fix app unref.
4458 * libspi/Makefile.am: don't install registry or desktop.h
4460 * libspi/*.h: update includes.
4462 * libspi/application.h: don't include ourself, or
4463 other redundant headers.
4465 2001-12-06 Michael Meeks <michael@ximian.com>
4467 * libspi/accessible.c
4468 (get_accessible_from_servant): impl.
4469 Upd. all CORBA impl.s to use it killing cut and paste.
4471 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4473 (SPI_init): register atexit cleanup handler here.
4475 2001-12-06 Michael Meeks <michael@ximian.com>
4477 * at-bridge/bridge.c (gtk_module_init): g_error on
4478 activation exception
4480 2001-12-06 Michael Meeks <michael@ximian.com>
4482 * at-bridge/bridge.c (gtk_module_init): some sort of
4483 confusing merge clash - reverted.
4484 (bridge_idle_init): ditto.
4486 * test/test-simple.c (main, utterable_normal_derefs):
4487 merge from Bill - somehow not committed.
4489 2001-12-06 Michael Meeks <michael@ximian.com>
4491 * libspi/value.c (spi_value_class_init): upd.
4492 (spi_value_finalize): kill.
4494 * libspi/table.c (spi_table_finalize): kill.
4495 (spi_table_interface_new): upd.
4496 (spi_table_class_init): upd.
4497 (get_table_from_servant): impl.
4498 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4500 * libspi/selection.c (spi_selection_finalize): kill.
4501 (spi_selection_interface_new): upd.
4502 (spi_selection_class_init): upd.
4503 (get_selection_from_servant): impl.
4504 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4506 * libspi/relation.c (spi_relation_finalize): kill.
4507 (spi_relation_class_init, spi_relation_new): upd
4509 * libspi/image.c (spi_image_finalize): kill.
4510 (spi_image_class_init): upd.
4511 (spi_image_interface_new): upd.
4512 (get_image_from_servant): impl.
4513 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4515 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4516 (spi_hyperlink_finalize): kill.
4517 (spi_hyperlink_new): upd.
4518 (get_hyperlink_from_servant): impl.
4519 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4521 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4522 (spi_hypertext_finalize): kill.
4523 (spi_hypertext_class_init): upd.
4524 (get_hypertext_from_servant): impl.
4525 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4527 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4528 (spi_editable_text_interface_new): upd.
4529 (get_editable_text_from_servant): impl.
4530 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4532 * libspi/text.c (get_text_from_servant): impl.
4533 All impls - update to use it killing more cut and paste,
4534 also fix bad string returns on duff args ( a somewhat
4535 impossible case to handle - but hey ).
4536 (spi_text_construct): impl.
4537 (spi_text_interface_new): upd.
4538 (spi_text_object_finalize): kill.
4540 * libspi/component.c
4541 (accessibility_component_object_finalize): kill.
4542 (spi_component_class_init): upd.
4543 (get_component_from_servant): impl. helper to kill cut & paste.
4544 (impl_accessibility_component_contains):
4545 (impl_accessibility_component_get_accessible_at_point):
4546 (impl_accessibility_component_get_position):
4547 (impl_accessibility_component_get_extents):
4548 (impl_accessibility_component_get_mdi_z_order):
4549 (impl_accessibility_component_get_layer):
4550 (spi_component_interface_new): upd.
4552 * libspi/action.c (spi_action_finalize): kill.
4553 (spi_action_class_init): upd. inherit from SpiObject.
4554 (spi_action_interface_new): upd.
4555 (get_action_from_servant): impl. helper to reduce cut & paste.
4556 (impl_getKeyBinding, impl_getName, impl_doAction),
4557 (impl_getDescription): Use it everywhere.
4559 * cspi/spi_main.c (get_live_refs): a pointer hash.
4560 (spi_object_hash, spi_object_equal): comment out.
4561 There are issues with CORBA object hashing that need
4564 * libspi/application.c (spi_application_init),
4565 (spi_application_new): upd.
4567 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4568 (spi_accessible_class_init): upd.
4569 s/accessible/object/ in epv methods.
4571 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4573 * at-bridge/bridge.c:
4574 Reorder the bridge initialization into the bridge gtk_module_init,
4575 an immediate call to bridge_register_app, and an idle_add for
4576 register_atk_event_listeners (the only code that *must* wait until
4577 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4578 the activation, creates the application's Accessible object, and
4579 queues the bridge_idle_init function. Restored call to
4580 Accessibility_Registry_deregisterApplication().
4581 Prior to making this call we obtain a new reference to the
4582 registry, which is a temporary hack that helps us handle apps that
4583 shut down the bonobo mainloop before we get there.
4585 * libspi/registry.c:
4586 Fix string leakage in debug block, and don't segv if a an app
4587 dies before its event notifications have been propagated.
4590 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4591 as stopgap measure until we get proper exception handling when
4592 objects die during or before interrogation.
4596 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4597 Also changed default value of is_gnome_app to TRUE.
4600 * test/keysynth-demo.c:
4601 Changed use of SPI_init and SPI_event_main to reflect API change above.
4604 Made report_focus_event check the warning value from getName
4605 before reporting on focussed accessible; simplifies handling of
4606 notifications from dead objects.
4608 * test/test-simple.c: (Changes not in this patch since source is
4611 2001-12-05 Michael Meeks <michael@ximian.com>
4613 * registryd/registryd.c (main): protect against
4614 bonobo-activation startup race condition.
4616 * cspi/spi_main.c (cspi_object_add_check): cope
4617 with the exception elegantly.
4619 * idl/Accessible.idl: decl. ChildGone
4621 * libspi/desktop.c (spi_desktop_dispose): impl.
4622 (spi_desktop_class_init): upd.
4623 (spi_desktop_add_application),
4624 (spi_desktop_remove_application),
4625 (abnormal_application_termination): impl.
4626 (impl_desktop_get_child_at_index): re-impl.
4629 (impl_accessibility_registry_deregister_application),
4630 (impl_accessibility_registry_register_application):
4631 kill excessive debug clutter.
4633 * test/test-simple.c (test_misc): test some NULL
4634 tolerance. (main): upd.
4636 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4637 implements no interfaces - so let's not crash.
4639 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4641 * libspi/accessible.c (spi_accessible_new_return): impl.
4642 helper to calm the cut and paste, to cope with
4643 NULL AtkObjects effectively and efficiently, and to kill
4644 the referencing bugs.
4646 * libspi/table.c (impl_getAccessibleAt),
4647 (impl_getRowHeader, impl_getColumnHeader): upd.
4649 * libspi/hyperlink.c (impl_getObject): upd.
4651 * libspi/accessible.c
4652 (impl_accessibility_accessible_get_child_at_index): upd.
4654 * libspi/component.c
4655 (impl_accessibility_component_get_accessible_at_point): upd.
4657 * test/test-simple.c (test_editable_text, test_text): impl.
4660 * cspi/spi_editabletext.c
4661 (AccessibleEditableText_insertText): constify.
4663 * test/test-simple.c (focus_me): make more robust.
4665 * libspi/accessible.c: remove some printfs in methods that
4666 we test and work fine, so we can get a clean tree dump.
4668 * test/test-simple.c (validate_accessible),
4669 (validate_tree): make tree dumping pretty too.
4671 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4672 it builds without debug on.
4674 * test/test-simple.c (validate_accessible): fix the most
4677 * cspi/spi_main.c (spi_object_release): leave the nicely
4678 blanked memory around if in debug mode.
4680 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4682 [committed to fixups2]
4683 2001-12-05 Michael Meeks <michael@ximian.com>
4685 * libspi/editabletext.c
4686 (spi_editable_text_class_init): g_type_class_peek_parent,
4687 not interface peek - so we finalize cleanly.
4689 * libspi/accessible.c (spi_accessible_new): kill debug.
4691 * test/test-simple.c (validate_accessible): fix ref.
4692 leak, print strings before freeing them; sigh, comment a
4693 chunk out due to strangeness.
4694 (validate_tree): unref the child after use.
4696 * cspi/spi_component.c (AccessibleComponent_getLayer):
4697 add missing break statement, switch on zlayer not the
4698 uninitialized retval.
4700 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4701 before (possibly re-entering) remote unref.
4703 * test/simple-at.c (main): unref the desktop.
4705 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4708 * cspi/spi_main.c (cspi_accessible_is_a): here to
4709 isolate bonobo API usage more.
4711 * libspi/registry.c (impl_accessibility_registry_register_application):
4712 prune bogus comment.
4714 2001-12-04 Michael Meeks <michael@ximian.com>
4716 * test/test-simple.c (validate_tree): upd.
4717 IndexInParent check to make it more lucid.
4718 (validate_accessible): dump the tree.
4720 * libspi/accessible.c (de_register_public_ref),
4721 (get_public_refs): impl.
4722 (spi_accessible_new): make more efficient & intuitive.
4723 Now IndexInParent check works.
4725 2001-12-04 Michael Meeks <michael@ximian.com>
4727 * cspi/spi-util.h: remove.
4729 * cspi/spi.h: move SPI_freeString here
4731 * libspi/component.c (impl_accessibility_component_get_layer):
4733 (impl_accessibility_component_get_mdi_z_order): ditto,
4734 return -1 on error - is this ok ?
4736 * test/test-simple.c (test_application): impl.
4738 * cspi/spi_accessible.c (Accessible_getApplication),
4739 (Accessible_isApplication): impl.
4741 * libspi/registry.c (spi_listener_struct_free): release
4742 the CORBA reference too.
4744 * libspi/accessible.c
4745 (impl_accessibility_accessible_get_parent): fix ref leak.
4747 * libspi/registry.c (spi_registry_new): make the registry
4748 immortal - we don't want it to go away ever.
4750 * libspi/application.c
4751 (spi_accessible_application_finalize): impl. cleanup.
4753 * cspi/spi_registry.c
4754 (deregisterGlobalEventListenerAll),
4755 (deregisterGlobalEventListener),
4756 (deregisterAccessibleKeystrokeListener): fix ref leak.
4758 * cspi/spi_main.c (SPI_init): remove redundant ref.
4760 * test/test-simple.c (unutterable_horror): impl. to force a
4765 (impl_accessibility_registry_deregister_application): release
4766 the application when we de-register it.
4768 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4769 until we have the infastructure to get it right.
4771 2001-12-03 Michael Meeks <michael@ximian.com>
4773 * libspi/Makefile.am: only build eventlistener.[ch]
4775 * libspi/accessible.c
4776 (impl_accessibility_accessible_get_child_at_index): don't leak.
4778 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4779 before we hit the idle handler.
4781 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4782 debugging than exit.
4784 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4786 * libspi/listener.c (impl_notify_event): check source
4787 not NIL before unref.
4789 * libspi/registry.c (impl_registry_notify_event): ditto.
4791 * libspi/eventlistener.c
4792 (impl_accessible_event_notify_event): unref the source.
4794 * libspi/accessibleeventlistener.c
4795 (impl_accessible_event_notify_event): unref the source.
4797 * idl/Event.idl: remove 'hash_id' attribute - of no
4800 * libspi/application.c (notify_listeners): upd list
4802 (spi_application_object_event_listener),
4803 (spi_application_toolkit_event_listener): upd to do correct
4807 (_registry_notify_listeners): update.
4808 (parse_event_type): this method also leaks like a sieve.
4809 (impl_accessibility_registry_deregister_global_event_listener):
4810 fix ETYPE_WINDOW case.
4812 * libspi/application.c
4813 (impl_accessibility_application_register_object_event_listener):
4816 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4818 * libspi/hypertext.c (impl_getLink): ditto.
4820 * cspi/spi_main.c (cspi_object_add): remove
4821 bogus CORBA_Object_duplicate.
4823 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4826 * cspi/spi_accessible.c
4827 (Accessible_getRelationSet): fix leak / referencing issue.
4829 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4830 (cspi_object_add, cspi_object_unref): upd.
4831 (spi_object_release, get_live_refs): impl.
4832 (cspi_cleanup): simplify.
4834 * *.[ch]: s/boolean/SpiBoolean/
4836 * cspi/spi_accessible.c (role_names): actualy order so it
4837 corresponds with the enum !
4839 * test/test-simple.c (test_roles): check some role strings
4840 vs. enums to detect offset errors.
4842 2001-12-01 Michael Meeks <michael@ximian.com>
4844 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4846 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4848 (Accessible_getChildAtIndex): use cspi_add_check so we
4849 check the ev before using a (possibly) invalid value.
4851 * libspi/accessible.c
4852 (impl_accessibility_accessible_get_parent): don't segv
4855 * at-bridge/bridge.c (gtk_module_init): upd.
4856 (bridge_property_event_listener): don't leak strings
4858 (bridge_state_event_listener),
4859 (bridge_property_event_listener): don't use a static
4860 buffer in case of recursive event emission &
4861 re-enterancy - split out the swathe of cut and paste
4863 (emit_eventv): and fix 2 ref leaks here & comply to the
4865 (bridge_register_app): rename to
4866 (bridge_idle_init): this and kill arg parsing, split
4867 various inits & bonobo-activation registration to module
4868 init time, kill referencing error.
4869 (bridge_exit_func): fix the same leak.
4870 (bridge_focus_tracker): don't leak event structures
4872 (bridge_signal_listener): more leakage and cut & paste
4874 (bridge_key_listener): return the result - FIXME is
4875 this polarity correct ?
4876 (accessibility_keystroke_from_atk_key_event): rename
4877 (accessibility_init_keystroke_from_atk_key_event): and stop
4879 (gtk_module_init): return a value - not that it is checked by
4881 (bridge_key_listener): register my horror at casting between
4882 IDL defined structs.
4883 (bridge_get_registry): kill - not used.
4885 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4887 * test/test-simple.c (test_roles): impl.
4888 (test_desktop, validate_accessible, validate_tree): impl.
4890 * cspi/spi_accessible.c (role_names): fixup bogus
4891 MAX_ROLES setup, make constants const for efficient linkage
4892 (AccessibleRole_getName): conform to coding style, make
4895 2001-11-30 Michael Meeks <michael@ximian.com>
4897 * cspi/spi.h: add missing prototype.
4899 * libspi/registry.c (spi_listener_struct_new): fix sig.
4901 * test/Makefile.am: add test-simple
4903 * test/test-simple.c: add
4905 * test/test.sh: add.
4907 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4909 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4910 do it straight - since otherwise we often get an activation race.
4912 [ work before Bill duplicated a chunk of it ... ]
4913 2001-11-30 Michael Meeks <michael@ximian.com>
4915 * libspi/keystrokelistener.c
4916 (spi_keystroke_listener_class_init): fixup arg
4919 * libspi/eventlistener.c
4920 (spi_event_listener_class_init): ditto.
4922 * tests/test.sh: add.
4924 * cspi/spi-listener-impl.h: update macros.
4926 * cspi/spi-listener-impl.c
4927 (cspi_event_listener_remove_callback): add
4928 correct pre-conditions.
4930 * cspi/spi_main.c (SPI_exit): guard vs. double
4931 exits, exit the mainloop nicely.
4932 (SPI_event_main): make more sense.
4933 (SPI_init): move the atexit evilness here so we
4934 always do it (yuck).
4935 (SPI_event_main): upd.
4937 * test/simple-at.c: update for listener changes.
4939 * registryd/registryd.c (main): prune kruft.
4941 * libspi/libspi.h: upd.
4943 * libspi/eventlistener.[ch]: rename broken macros.
4945 * libspi/accessibleeventlistener.[ch]: remove.
4947 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4949 * test/test-simple.c: Add - automated tests.
4951 * cspi/spi-listener-impl.c (cspi_event),
4952 (cspi_key_event): add user_data to invoke.
4953 (cspi_keystroke_listener_finalize): impl.
4954 (cspi_keystroke_listener_class_init): upd.
4957 (createAccessibleEventListener),
4958 (AccessibleEventListener_addCallback),
4959 (createAccessibleKeystrokeListener),
4960 (AccessibleKeystrokeListener_addCallback): upd.
4962 * libspi/deviceeventcontroller.c
4963 (spi_device_event_controller_check_key_event): add public proto.
4966 (impl_accessibility_registry_deregister_global_event_listener):
4967 always init listeners.
4968 (_registry_notify_listeners): yes it is.
4970 * cspi/spi-listener-impl.c (cspi_key_event):
4972 (cspi_event_listener_finalize): impl.
4973 (cspi_event_listener_class_init): hook up.
4974 (event_handler_new, event_handler_free),
4975 (event_list_remove_by_callback): impl.
4976 (cspi_event_listener_remove_callback),
4977 (cspi_keystroke_listener_remove_callback),
4978 (cspi_keystroke_listener_add_callback),
4979 (cspi_event_listener_add_callback): upd.
4981 * libspi/keystrokelistener.c
4982 (keystroke_listener_object_finalize): kill
4983 (spi_keystroke_listener_class_init): upd.
4984 (spi_keystroke_listener_add_callback),
4985 (spi_keystroke_listener_remove_callback): kill,
4987 (impl_key_event): prune drasticaly.
4989 * libspi/eventlistener.c
4990 (spi_event_listener_add_callback),
4991 (spi_event_listener_remove_callback): kill, use
4993 (impl_accessible_event_notify_event): upd.
4994 (spi_event_listener_object_finalize): remove.
4996 * libspi/Makefile.am: use eventlistener.[ch]
4998 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5000 * libspi/registry.c (_registry_notify_listeners):
5001 Changed listener loop iteration to use preferred convention.
5002 Got rid of string memory leaks caused be calling g_strconcat
5003 inside function calls.
5005 * libspi/registry.c (parse_event_type):
5006 Stopped g_strconcat memory leaks, free the g_strsplit return,
5007 g_strdup the split pieces when used, etc.
5009 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5012 Change method 'compare' to return a 'difference set' rather than
5013 taking a StateSet as an out parameter (more Java-friendly).
5015 * idl/Accessible.idl:
5016 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5018 * idl/Component.idl:
5020 Changed methods 'getExtents' and 'getImageExtents' in these
5021 interfaces to return a BoundingBox structure.
5022 (getPosition and getSize are redundant and possibly should be
5023 removed, rather than creating a corresponding Point struct.)
5025 * cspi/spi_component.c:
5026 Modify implementation of getExtents to reflect the above IDL
5031 Add (missing) AccessibleImage_getExtents () API.
5033 * docs/reference/cspi/at-spi-cspi-sections.txt:
5034 Added AccessibleImage_getImageExtents () to docs.
5036 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5038 * idl/Component.idl:
5039 Added two methods, getLayer () and getMDIZOrder (), to reflect
5040 the new ATK methods atk_object_get_layer and
5041 atk_object_get_mdi_z_order. (Which arguably should be part of the
5042 AtkComponent API and AtkObject). Also added an enum,
5043 ComponentLayer, for the first method's return value.
5045 * libspi/component.c:
5046 Added implementations for these methods.
5048 * cspi/spi_component.c:
5050 Added cspi binding methods for above,
5051 AccessibleComponent_getLayer() and
5052 AccessibleComponent_getMDIZOrder().
5053 Added cspi enum 'AccessibleComponentLayer'.
5055 * docs/reference/cspi/at-spi-cspi-sections.txt:
5056 Added above methods to docs.
5060 Changed typedef for 'boolean' type (and all references to it) to
5061 SPIBoolean, to avoid keyword clashes with C++.
5064 Changed usages of 'boolean' to SPIBoolean.
5066 * test/keysynth-demo.c:
5067 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5068 app), except where SPIBoolean is required by the callbacks API.
5070 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5072 * cspi/spi_registry.c:
5073 Removed obsolete X event loop for passive keygrabs (which now
5076 * registryd/registryd.c:
5077 Removed unnecessary call to gdk_init() [cruft]. This also allows
5078 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5081 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5083 * docs/reference/cspi:
5084 Included docs for SPI_freeString in generated documentation.
5087 Renamed spi_freeString to SPI_freeString, for consistency. Added
5088 documentation for this function.
5091 Renamed spi_freeString to SPI_freeString, for consistency.
5092 Removed obsolete method declaration string_from_corba_string.
5094 * test/keysynth-demo.c:
5095 Small tweak to comments.
5098 Stopped leaking the strings returned from CSPI.
5100 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5102 Merged Michael's branch (see his ChangeLog entries below).
5104 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5105 bridge is alive, release on exit.
5107 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5108 Fix type check macro.
5111 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5114 Added is_gnome_app static, and method cspi_is_gnome_app(),
5115 so we can call the appropriate shutdown routine at exit in SPI_exit.
5117 * cspi/spi_main.c (cspi_object_ref):
5118 Duplicate the corba object passed in, since we're keeping it around.
5120 * cspi/SPI_exit.c, cspi_cleanup:
5121 Moved the releasing of the live refs to its own function, so we
5122 can put it in g_atexit (). Call the appropriate shutdown API
5123 depending on whethe calling client is a gnome app or not
5124 (bonobo_main_quit or CORBA_ORB_shutdown).
5126 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5127 Unref the listener when this method is called, after
5128 deregistration. Updated the API docs to note this behavior.
5130 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5131 Bugfixes: Ref the bonobo object when returning a parent or child
5132 reference, or an AccessibleRelation. Generally made sure
5133 BonoboObject refcount is incremented whenever we return an
5136 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5137 Fixed typo/bug in signal declaration.
5139 * libspi/accessibleeventlistener.h:
5142 * libspi/application.c (spi_application_new):
5143 Fixed leak in initialization.
5146 Remembered to increment bonobo-object refcount when returning
5147 children (applications) from desktop object.
5148 Added (empty) finalize method.
5150 * libspi/deviceeventcontroller.c:
5151 Hold a ref to listeners inside DEControllerKeyListeners.
5152 Added dec_key_listener_free() method. Use prepend instead of
5153 append in key_listener list. Fixed some refcount madness and
5154 leaks in the listener registration/deregistration - deregistration
5155 now calls dec_key_listener_free() on listeners, and on the
5156 temporarily constructed dec_key_listener() used to perform the search/match.
5158 * libspi/hypertext.c (spi_hypertest_finalize):
5159 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5160 class. Also fixed spi_hypertext_interface_new() and
5161 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5163 * libspi/hypertext.h:
5164 Removed pointless and duplicate AtkObject pointer from
5167 * libspi/keystrokelistener.c:
5168 Fixed incorrect type of keystroke_listener_parent_class,
5169 renamed keystroke_listener_object_finalize to
5170 spi_keystroke_listener_object_finalize.
5171 Fixed typo in signal declaration
5172 (spi_keystroke_listener_class_init).
5174 * libspi/registry.c:
5175 Added funcsions spi_listener_struct_new() and
5176 spi_listener_struct_free() to help with memory management issues.
5177 We also now use these methods instead of gnew + poking stuff into
5178 the struct, and to decrement listener counts/free the listeners
5179 when deregistering them.
5180 Fix more refcount bugs in getDesktop() and
5181 getDeviceEventController().
5184 De-ref the desktop after enumerating the applications. Explicitly
5185 decrement the refcounts on the created listeners on exit (using
5186 _unref for keystroke listeners, and via the
5187 deregisterGlobalEventListenerAll command for other event
5190 2001-11-27 Michael Meeks <michael@ximian.com>
5192 * cspi/spi-listener.h: fixup enum.
5194 2001-11-27 Michael Meeks <michael@ximian.com>
5196 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5197 (cspi_keystroke_listener_new): Use the cspi variants.
5199 2001-11-26 Michael Meeks <michael@ximian.com>
5201 * test/keysynth-demo.c: fix 2 compile warnings, missing
5204 * test/simple-at.c (report_focussed_accessible),
5205 (report_focus_event, report_button_press),
5206 (check_property_change, is_command_key),
5207 (report_ordinary_key_event, report_command_key_event): upd.
5209 * util/mag_client.h: include pre-requisites.
5211 * libspi/accessibleeventlistener.c
5212 (spi_event_listener_object_finalize): free any lingering
5215 * libspi/keystrokelistener.c
5216 (keystroke_listener_object_finalize): ditto.
5218 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5219 callbacks, with cspi types.
5221 * cspi/spi_event.c (createAccessibleEventListener): chain to
5222 (AccessibleEventListener_addCallback): here.
5223 (createAccessibleKeystrokeListener): chain to
5224 (AccessibleKeystrokeListener_addCallback): here.
5226 * libspi/keystrokelistener.c
5227 (spi_keystroke_listener_class_init): add signal.
5228 (impl_key_event): emit the event.
5229 (boolean_handled_accumulator): impl.
5230 (marshal_BOOLEAN__POINTER): add, gack.
5232 * libspi/accessibleeventlistener.c
5233 (spi_event_listener_class_init): add signal.
5234 (impl_accessible_event_notify_event): emit the signal &
5235 make the loop efficient.
5236 (spi_event_listener_add_callback): prepend the callback.
5238 * libspi/accessibleeventlistener.h: add an 'event' signal,
5239 decl type on callback.
5241 * libspi/keystrokelistener.h: ditto.
5243 * cspi/spi-listener.h: make methods typesafe and
5244 make them use the new event typedefs.
5246 * test/simple-at.c (report_focussed_accessible):
5247 include mag_client.h
5248 Use *(void *)text_interface not the other thing.
5250 * configure.in: add gtk to registryd bits - since we use
5253 * util/magnifier.c: include libbonobo.h
5255 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5257 * test/keysynth-demo.c:
5258 Turned this into a simple scanning keyboard, to demonstrate the
5259 use of g_timeout_add () as a means of creating timers for
5260 scanning, and the use of GtkStyle for visually indicating when
5261 virtual keyboard elements are selected.
5263 keysynth-demo now listens to any keyboard keys with zero-valued
5264 keycodes (i.e. 'unused' keys) and interprets them as
5267 Reworked the shiftlatch code so that shift-down state isn't held
5268 for long periods (it's only synthesized immediately prior to
5269 the keysynth event it's modifying). Note that shiftlatch in this
5270 demo is a convenience, not intended to take the place of AccessX
5271 which is the better choice for getting 'sticky' modifier keys.
5273 * libspi/deviceeventcontroller.c:
5274 * at-bridge/bridge.c:
5275 * cspi/spi_registry.c:
5276 Removed some debug print stuff, and put other verbosity in #ifdef
5281 Implemented some more of the magnifier IDL for the simple
5282 magnifier: namely, getZoomRegionParams.
5283 Added mag_x and mag_y members to MagnifierData struct, aid of this
5285 Added GtkWindow::realize signal handler to magnifier, to keep it
5286 from receiving keyboard focus from the WM.
5288 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5290 * cspi/spi-private.h: my guess at what michael forgot
5291 before he ran off to NZ :-)
5293 2001-11-23 Michael Meeks <michael@ximian.com>
5295 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5296 comment out non existant method invoke so we link.
5298 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5299 use bonobo_exception_get_text for more friendly warnings.
5301 * cspi/spi.c (Obj_Add): move into spi_main & rename
5302 spi_object_add; kill spi.c
5304 * cspi/spi_registry.c
5305 (deregisterGlobalEventListener),
5306 (deregisterGlobalEventListenerAll),
5307 (registerGlobalEventListener): fix exception leaks.
5309 * cspi/spi_main.c (spi_exception): impl. helper, so we
5310 don't leak exceptions.
5312 * cspi/spi_selection.c
5313 (AccessibleSelection_deselectSelectedChild): return the
5316 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5317 (spi_registry): ditto.
5318 (SPI_init): guard against double inits.
5320 * cspi/*.c: use spi_ev (), and spi_registry () where
5321 appropriate - a temporary hack until we have something
5322 better. Use spi_object_add
5324 2001-11-22 Michael Meeks <michael@ximian.com>
5326 * cspi/Makefile.am: re organise, install the headers.
5328 * cspi/*.h: add G_BEGIN/END_DECLS
5330 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5333 Added non-preemptive keylistener for key events with no modifiers
5334 and shift-only modifier.
5336 * libspi/keystrokelistener.c:
5337 Removed some verbose diagnostics printout.
5339 * cspi/spi_registry.c:
5340 Fixed a bug that caused all key listeners to be registered as
5343 * libspi/deviceeventcontroller.c:
5344 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5345 for non-preemptive key masks.
5348 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5350 * docs/reference/idl/at-spi-idl-docs.sgml:
5351 * docs/reference/idl/at-spi-idl-sections.txt:
5352 * docs/reference/idl/at-spi-idl-overrides.txt:
5353 Added missing files.
5355 * docs/reference/Makefile.am:
5356 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5357 to scan the IDL files :-(
5362 Added .cvsignore files.
5364 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5366 * libspi/deviceeventcontroller.c:
5367 * libspi/keystrokelistener.c:
5369 * cspi/spi_registry.c:
5370 Added filters for KeySets, KeyEventSeq, and event types to key
5371 event dispatching, so listeners should only receive those events
5372 that they requested :-)
5374 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5379 * docs/reference:Makefile.am:
5380 * docs/reference/cspi:
5381 * docs/reference/cspi:Makefile.am:
5382 * docs/reference/cspi:tmpl:
5383 * docs/reference/cspi:tmpl:*.sgml:
5384 * docs/reference/idl:
5385 * docs/reference/idl:Makefile.am:
5386 * docs/reference/idl:at-spi-idl-sections.txt:
5387 * docs/reference/idl:at-spi-idl-docs.sgml:
5388 * docs/reference/idl:tmpl:
5389 * docs/reference/idl:tmpl:*.sgml:
5391 Restructured docs directory to allow separate 'reference' docs
5392 section, and forked idl and cspi docs. Added the sgml template
5393 files to CVS. Added the first sections/structural sgml for the
5396 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5398 * configure.in, libspi/Makefile.am: find libXtst.
5400 2001-11-21 Michael Meeks <michael@ximian.com>
5402 * test/accessx-gui.c: s/spi_value/value/ - doh.
5404 * libspi/base.[ch]: add.
5406 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5408 * idl/Accessible.idl:
5409 * idl/Application.idl:
5412 Started gtk-doc cleanup on IDL.
5414 * libspi/deviceeventcontroller.c:
5415 Added and connected non-preemptive key notification from the
5416 toolkits (in addition to the pre-emptive support from XServer
5417 which we had before, but which causes 'focus flashing'). Filters
5418 are presently limited to key modifiers and global/non-global,
5419 KeySets are presently ignored, as are KeyEvent masks.
5421 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5422 structs into the persistant structure rather than just storing
5423 pointers to things that might not persist across servant
5426 The XGrabKey call now does async keygrabs, because synchronous
5427 ones were deadlocking with GDK_event code in a very nasty way.
5429 Added boolean to internal method notify_keylisteners, to indicate
5430 whether the event came from the 'toolkit source' or the 'global
5431 (XServer) source' - this is used in the notification process to
5432 determine which listeners to send the event to.
5434 deviceeventcontroller.c is now warning-free.
5436 * libspi/registry.c:
5437 Fixed regression in application de-registration.
5438 Also fixed some really brain-dead weirdness having to do with
5439 event dispatching - event structs are now duplicated before being
5440 re-marshalled in the dispatch to listeners. This also fixes a
5441 Solaris build problem.
5444 2001-11-20 Michael Meeks <michael@ximian.com>
5447 (impl_accessibility_registry_deregister_global_event_listener):
5450 * libspi/deviceeventcontroller.c
5451 (spi_device_event_controller_check_key_event): return
5452 FALSE on no virtual method.
5454 * libspi/*..h: make includes work on a correctly pathed install.
5456 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5458 * libspi/application.h: kill unused ( and whacked out )
5459 gboolean *spi_application_set_id (AtkObject *app, long id);
5461 2001-11-20 Michael Meeks <michael@ximian.com>
5463 * libspi/*.[ch]: further convert to bonobo's type func
5464 macros, remove redundnant casts etc.
5466 * libspi/text.c s/accessibility_text/spi_text/g,
5467 re-order to de-cruft.
5469 * libspi/hypertext.c: re-order to kill a huge slew
5470 of redundant forward decls.
5472 * libspi/relation.c: ditto.
5474 * libspi/image.c: ditto.
5476 * */.cvsignore: update
5478 2001-11-20 Michael Meeks <michael@ximian.com>
5480 * libspi/deviceeventcontroller.c
5481 (_controller_register_with_devices): use g_getenv,
5482 kill stdlib.h include.
5484 * libspi/keystrokelistener.c
5485 (spi_keystroke_listener_get_type): kill
5486 (spi_keystroke_listener_class_init),
5487 (spi_keystroke_listener_init): rename to this.
5489 * libspi/text.c (impl_getAttributes): fix warning / bug.
5491 * libspi/*.[ch]: more headers, includes and over commenting.
5493 2001-11-20 Michael Meeks <michael@ximian.com>
5495 * libspi/*.[ch]: fixup headers, includes and over commenting.
5497 * libspi/image.c (impl__get_imageDescription): const
5498 correctness warning fix. remove redundant casting.
5500 * libspi/table.c (impl_getRowDescription): ditto.
5501 (impl_getColumnDescription): ditto.
5503 * libspi/libspi.h: add.
5505 2001-11-19 Michael Meeks <michael@ximian.com>
5507 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5509 * libspi/component.c (accessibility_component_get_type):
5510 rename to (spi_component_get_type): and macroify.
5511 (accessibility_component_init): rename to
5512 (spi_component_init): this
5513 (accessibility_component_class_init): rename to
5514 (spi_component_class_init): this
5516 * libspi/action.c (spi_action_get_type): kill, use the macro.
5518 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5521 * libspi/application.c (spi_application_object_event_listener),
5522 (impl_accessibility_application_register_object_event_listener):
5523 warning fixes / const understanding updates.
5525 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5528 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5530 * libspi/spi_accessible.c: Added docs and C bindings for
5531 AccessibleStateSet. (No implementations yet). Documentation
5532 coverage for C bindings now 100%. Made docs for event listeners
5537 boolean notifyListenersSync (in DeviceEventListener listener,
5538 in DeviceEvent event);
5540 oneway void notifyListenersAsync (in DeviceEventListener listener,
5541 in DeviceEvent event);
5543 Added DeviceEventListener and DeviceEvent structs (may deprecate
5544 KeyStroke and KeystrokeListener in favor of this generic
5545 event/listener framework for devices).
5547 * libspi/deviceeventcontroller.c:
5549 Changed some key listener code to take masks, etc., and paved the
5550 way for integration of toolkit/non-preemptive key events. Changed
5551 signatures of some internal methods.
5553 * at-bridge/bridge.c:
5554 Fixed regression connecting to interface signals, apparently
5555 caused by GTK+ changes.
5557 Added an internal bridge_state_listener to deal with
5558 property-change:accessible-state signals.
5560 Changed the key_listeners GList to store structs (including masks,
5561 etc.) instead of just CORBA_Objects (required for full
5562 implementation of key listener API).
5564 Connected the bridge to all currently supported Atk signals.
5565 Events now supported:
5566 object:property-change
5567 object:property-change:accessible-name
5568 object:property-change:accessible-state
5569 object:property-change:accessible-description
5570 object:property-change:accessible-parent
5571 object:property-change:accessible-value
5572 object:property-change:accessible-role
5573 object:property-change:accessible-table-caption
5574 object:property-change:accessible-table-column-description
5575 object:property-change:accessible-table-column-header
5576 object:property-change:accessible-table-row-description
5577 object:property-change:accessible-table-row-header
5578 object:property-change:accessible-table-summary
5579 object:children-changed
5580 object:visible-data-changed
5581 object:selection-changed
5582 object:text-selection-changed
5584 object:text-caret-moved
5586 object:row-reordered
5588 object:column-inserted
5589 object:column-reordered
5590 object:column-deleted
5591 object:model-changed
5593 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5595 * libspi/hyperlink.c,h:
5596 Fixed some broken stuff in hyperlink.
5598 * libspi/relation.h:
5599 * libspi/relation.c:
5600 * cspi/spi_accessible.c:
5601 Initial implementations of AccessibleRelation methods, and docs.
5603 * libspi/accessible.c:
5604 Fixed a bug that caused SEGV if an accessible
5605 object's description is NULL, and a client
5606 requests it. An empty string is now returned.
5608 * cspi/spi_editabletext.c:
5609 * cspi/spi_hypertext.c:
5611 * cspi/spi_hyperlink.c:
5615 Doc coverage now 95%.
5617 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5619 One last namespacing revision:
5620 * libspi/accessibleeventlistener.[ch]:
5621 Renamed SpiAccessibleEventListener to SpiEventListener,
5622 (no need for two namespaces ;-)
5624 And lots of documentation fixes:
5626 * docs/at-spi-docs.sgml:
5627 Fixed 'underscore vs. hyphen' bug that was preventing
5628 the gtk-doc API docs from being automatically generated.
5631 * cspi/spi-listener.h
5633 * cspi/spi_accessible.c
5635 * cspi/spi_application.c
5636 * cspi/spi_component.c
5637 * cspi/spi_editabletext.c
5639 * cspi/spi_hypertext.c
5641 * cspi/spi_registry.c
5642 * cspi/spi_selection.c
5646 * docs/at-spi-docs.sgml
5647 * docs/at-spi-sections.txt
5649 Added and fixed up gtk-doc documentation in cspi.
5651 Interfaces now (fully) documented (subject to revision and enhancement):
5653 Event Listener Support
5655 AccessibleApplication
5659 AccessibleEditableText
5666 AccessibleRelationSet
5671 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5673 * at-bridge/bridge.c:
5674 Initial work for toolkit-level key snooper connection by bridge.
5679 New typedefs and fixes to support new namespacing, and cleaner
5680 separation of cspi bindings from libspi bonobo implementation.
5681 Removed inconsistent and extraneous Spi* namespace prefix that
5682 had crept into cspi headers.
5683 Lots of comment fixes that sed had missed.
5685 * cspi/spi-roletypes.h:
5686 * cspi/spi-statetypes.h:
5687 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5688 to AccessibleRoleType.
5690 * libspi/accessibleeventlistener.h:
5691 Fixed minor namespacing weirdness.
5693 * libspi/deviceeventcontroller.c:
5694 Reordered some internal API for device listeners.
5695 Changed the key registry final boolean to 'is_system_global'
5696 rather than 'is_synchronous', which is more descriptive of its
5698 Added spi_device_event_controller_new().
5699 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5701 * libspi/keystrokelistener.[ch]:
5702 Namespaced KeystrokeListener to SpiKeystrokeListener.
5703 Changed uses of keymasks to use SPI_ prefix, and did other
5706 * libspi/keymasks.h:
5707 Namespaced keymask constants with SPI_ prefix.
5709 * libspi/registry.c:
5710 Some warning fixes, and knock-on fixes from namespace changes.
5713 Added rules for accessx-gui test program.
5715 * test/accessx-gui.c:
5716 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5717 utility. It doesn't actually use at-spi, but it's still cool and
5720 * test/keysynth-demo.c:
5724 Fixes so that these test clients work properly with the namespaced
5725 libraries. (Incompletely tested for technical reasons, fixes may follow)
5728 2001-11-13 Michael Meeks <michael@ximian.com>
5730 * libspi/application.c
5731 (impl_accessibility_application_get_version),
5732 (impl_accessibility_application_get_toolkit_name):
5734 (impl_accessibility_application_set_id),
5735 (impl_accessibility_application_get_id): remove
5736 redundant casting code.
5738 * libspi/action.c (impl_getDescription): fix warnings.
5740 * libspi/accessible.c
5741 (impl_accessibility_accessible_get_parent),
5742 (impl_accessibility_accessible_get_child_at_index),
5743 (impl_accessibility_accessible_get_state),
5744 (impl_accessibility_accessible_get_relation_set):
5745 warning fixes & include action.h
5747 2001-11-13 Michael Meeks <michael@ximian.com>
5749 * *.[ch] fix bits I screwed up:
5751 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5752 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5754 2001-11-13 Michael Meeks <michael@ximian.com>
5756 * *.[ch] Namespace libspi into spi_ and Spi.
5758 2001-13-11 Michael Meeks <michael@ximian.com>
5760 * Makefile.am: dist & install at-spi-1.0.pc
5762 * libspi/Makefile.am: install into at-spi-1.0
5764 * idl/Makefile.am (idldir): install into at-spi-1.0
5766 * at-spi-1.0.pc.in: add.
5768 * configure.in: build it.
5770 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5772 * test/keysynth-demo.c:
5773 Use a 'realize' signal-handler to set the WM properties for
5774 the virtual keyboard, rather than making it a "POPUP" type
5775 override-redirect window (thanks to anders carlsson for that
5778 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5781 * test/keysynth-demo.c:
5782 Added new test of key synthesis, which creates a simple
5783 (mouse-operated) onscreen keyboard. It inserts key events into
5784 the currently-focused window, thus it does not grab keyboard focus
5787 * cspi/spi_registry.c:
5788 Added C binding for AT-SPI generateKeyEvent.
5790 * libspi/deviceeventcontroller.c:
5791 Added call to XFilterEvent so that key listener works with XIM (we
5792 hope). Added event_synth_type to generateKeyEvent, so that we can
5793 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5794 synthesize a press/release pair for KeySyms.
5796 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5798 * libspi/Makefile.am:
5799 * registryd/Makefile.am:
5800 (temporary) hack to include libXtst in libspi and registryd.
5801 (Needed for keystroke synthesis, see below).
5804 Improved API for registerKeystrokeListener, in accordance with
5805 discussions with Gnopernicus team and X server research.
5807 * libspi/registry.c:
5808 * libspi/deviceeventcontroller.c:
5809 * libspi/accessible.c:
5810 * libspi/keystrokelistener.c:
5811 Changes and fixes to support keylisteners for potentially
5812 consumed key events (that is, 'passive grabs').
5813 Added implementation for generateKeyEvent() [untested].
5816 Changes to registerKeystrokeListener() API, as above.
5817 Added deregisterGlobalEventListenerAll(), and
5818 deregisterKeystrokeListener(), which are needed for clean exit of
5820 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5821 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5823 * cspi/spi_registry.c:
5824 Added implementations of function prototypes mentioned above.
5826 * registryd/registryd.c:
5827 Added the key listener event source as a g_timeout(), to allow
5828 receipt of key events that are not caught by GDK (since GDK
5829 doesn't support passive keygrabs, this was necessary).
5832 Changed to attach a keylistener to 'Alt' keys, and
5833 respond to the following keycommands: Alt-M (toggle magnifier);
5834 Alt-F (toggle speech); Alt-Q (quit).
5835 Added an exit routine to deregister the listeners, and a key
5836 listener that prints some key info to the console when a key
5837 matches the listener mask (and is thus received by the listener).
5839 * util/idl/Magnifier.idl:
5840 Changes to magnifier API to support multiple zoom regions,
5841 non-uniform scaling in x and y, markDirty, and a host of other
5842 features that would be useful to magnification.
5845 * util/mag_client.c:
5846 * util/mag_client.h:
5847 * util/mag_control.c:
5849 Source code changes to support the above IDL changes.
5852 As above, and also changes to use a (slower) generic conversion
5853 path for colormap conversions, since the fast RGB conversions have been
5854 reported to fail for 16-bit displays.
5856 2001-10-26 Michael Meeks <michael@ximian.com>
5858 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5860 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5862 * at-bridge/Makefile.am: fix LDFLAGS.
5864 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5866 * at-bridge/bridge.c:
5867 Re-worked listeners for toolkit events, now we have signal
5868 and property listeners. Added a private method
5869 register_atk_event_listeners(), which registers with the
5870 various atk and gtk signals we need to monitor in order to emit
5872 Added emission hook for AtkObject:property-change events, to
5873 support the 'property listeners'.
5874 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5877 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5878 which emit warnings and exit, respectively, if CORBA errors occur
5879 during remote calls, and we now use these methods to check most of
5880 our CORBA calls in the C bindings.
5882 * cspi/spi_accessible.c:
5883 Changed AccessibleSelection_refSelectedChild() to
5884 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5885 now increment refcounts.
5887 * cspi/spi_component.c:
5888 Fixed some long pointer casts (dangerous!) to pass pointers to
5889 CORBA_longs of the proper type to the CORBA stubs, and copy the
5890 data into the longs that were passed into the C bindings code.
5892 * at-bridge/bridge.c:
5894 * libspi/accessible.c:
5895 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5896 hyperlinks, AtkHyperlink is an object type.
5898 * libspi/application.c:
5899 Added various conversions to and from "generic" event types and
5900 atk-specific types; this is really part of the 'bridge'
5901 implementation but is valid for all AtkObject-based accessibility
5904 * libspi/editabletext.c:
5905 Fixed nasty bug wherein editable text's finalize method was
5906 unref'ing tha AtkObject reference that the text parent class was
5907 about to unref _again_. There was also a nasty inheritance bug
5908 that meant that the AccessibleEditableText class was corrupt.
5910 * libspi/selection.c:
5911 Provided implementations for some selection API that was broken.
5913 * idl/Application.idl:
5914 Added registerObjectEventListener () method.
5917 Fixed a number of return values that were Bonobo_Unknowns from
5918 bonobo_object_corba_objref(), which I
5919 forgot to dup before returning. Changed instances of
5920 bonobo_object_corba_objref (bonobo_object(o)) to
5921 BONOBO_OBJREF(o), for concision and clarity.
5923 2001-10-13 Louise Miller <louise.miller@sun.com>
5925 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5926 idl/Event.idl, idl/Registry.idl
5927 Changed these files to include Bonobo_Unknown.idl instead
5930 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5932 * libspi/component.c libspi/component.h:
5933 Fixed typo. Added assertions for object checks in
5934 AccessibleComponent code.
5936 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5938 * idl/Accessible.idl:
5939 Added 'isEqual (Accessible *object)'
5940 method for Accessible. (Not Yet Implemented).
5943 Changed signature of registerKeystrokeListener() to
5944 take a KeySet and KeyEventSeq so that specific keys and event
5945 types could be requested for monitoring, and added a flag
5946 is_synchronous so that either synchronous or asynchronous
5947 notification could be requested. (However this is not all
5948 implemented yet). This also meant adding two new typedefs,
5949 KeyEventSeq and KeySet.
5952 Added two new relations, RELATION_TOOLTIP_FOR and
5953 RELATION_LEAFNODE_OF.
5956 Added new state, STATE_HAS_TOOLTIP.
5958 * libspi/text.c, editabletext.c:
5959 Added new assertions to all casts of bonobo-objects from
5960 CORBA servants, to prevent Text API calls on non-text objects.
5961 Changed suspect casts of int-pointer types, so that we
5962 always send a valid CORBA_long pointer to the CORBA APIs that use
5963 in/out long parameters. We then have to copy from the CORBA_long
5964 into the regular long or int for return to the C bindings, or
5965 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5968 * libspi/deviceeventcontroller.c:
5969 Cleaned these sources up.
5971 Changed return type for getCharacterAtOffset to
5972 CORBA_unsigned_long, to allow for 32-bit characters.
5975 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5979 Fixed 'make dist' so that distro compiles...
5980 * libspi/keymasks.h:
5982 * cspi/spi-listener.c:
5983 KeystrokeListenerCB now returns a boolean.
5985 Added KeyEventType struct, and KeyStroke.
5986 Also added createKeystrokeListener(),
5987 KeystrokeListener_addCallback(),
5988 KeystrokeListener_removeCallback(), and added a keymask to
5989 registerKeystrokeListener().
5990 * cspi/spi_accessible.c:
5991 Changed numerous return types for interfaces from
5992 AccessibleComponent to Accessible<InterfaceName>; this was
5993 probably a cut-and-paste error.
5995 Implementations of new KeystrokeListener api (from spi.h,
5998 Changes to key modifier mapping.
5999 Created ControllerEventMask struct.
6000 Made DeviceEventController derive from Bonobo::Unknown.
6002 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6003 * libspi/deviceeventcontroller.c:
6004 Added a number of new internal (private) methods.
6005 * libspi/editabletext.c:
6006 * libspi/editabletext.h:
6007 Fixed a number of bugs related to the fact that
6008 editabletext inherits from text. Fixed the EditableText struct,
6009 the init() call, and use correct casts when calling Text methods
6010 from an EditableText object. Removed (duplicate) atko from the
6011 EditableText structure, we use the one in the parent Text
6012 structure via the casts mentioned above.
6013 * libspi/keystrokelistener.[ch]:
6014 * libspi/registry.c:
6015 Changes in support of keyboard handling (above).
6017 Keyboard handling, though partly functional, is still not
6018 recommended for at-spi client use as there is considerable
6019 work yet to be done.
6022 Changed some places where pointers to various int types
6023 are cast to be pointers to CORBA_long types and vice-versa:
6024 pointer casting is not safe so we pass pointers of the correct
6025 types and then cast the result before putting it into the target
6028 * libspi/text.h: minor typos corrected.
6030 We now speak not only the name of a Text element, but the
6031 first sentence of its content, when it receives focus.
6032 I also changed the text compression to 75% from 50%.
6033 * util/Accessibility_Util.server.in:
6034 Changed the default magnifier type to be a 3x vertical
6035 splitscreen magnifier (was previously a 2x horizontal one).
6037 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6039 * libspi/keystrokelistener.h:
6040 * libspi/keystrokelistener.c:
6041 Initial functional implementations of KeystrokeListener.
6044 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6046 Fixed string handling for NULL strings in libspi.
6047 Added spi_freeString to free strings returned by C bindings.
6049 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6051 * libspi/keystrokelistener.h:
6052 * libspi/keystrokelistener.c:
6053 Began (no-op) implementations of KeystrokeListener
6055 * libspi/deviceeventcontroller.c:
6056 * libspi/deviceeventcontroller.h:
6057 Began creating implementations of DeviceEventController,
6058 to handle keystroke and mouse event listening and
6060 * libspi/accessible.c:
6061 Stubbed-in the implementations for
6062 Accessibility_Accessible_getState and
6063 Accessibility_Accessible_getRelationSet.
6064 * libspi/registry.c:
6065 Improved de-registration process and fixed some bugs,
6066 deregistration now works correctly.
6068 Added initialization of applications list (to NULL).
6070 Reduced speech compression from 0.5 to 0.7, for demo.
6071 Changed call to gdk_window_set_decorations()
6072 to gtk_window_set_decorated().
6073 * at-bridge/bridge.c:
6074 Bridge now deregisters when app exits, via
6075 registration of a cleanup function
6076 with the g_atexit() call.
6077 Required making 'app' static, renamed 'this_app'.
6078 Fixed broken use of bonobo_init, passing argv wrongly.
6080 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6084 Created a new directory for
6085 accessibility-related utilities, primarily for
6086 testing and demo purposes, but with possible
6093 Onscreen magnifier utility that
6094 is implemented as a bonobo service.
6096 * util/mag_client.c:
6097 * util/mag_client.h:
6098 Client-side support (simple C bindings)
6099 for Magnification service
6101 * util/mag_control.c:
6102 Client program example for
6103 Magnification service
6105 * util/Accessibility_Magnifier.server.in:
6106 Bonobo-activation file for the
6107 Magnification service.
6110 * util/idl/Magnifier.idl:
6111 IDL defining the bonobo Magnification
6115 Modifications to use the bonobo-activated magnifier
6116 above, in place of trying to connect to an existing
6117 magnifier that uses socket-listening IPC.
6119 If env variable MAGNIFIER is set, a magnifier service
6120 will be started if one does not exist.
6122 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6124 * at-bridge/bridge.c:
6125 applied patch from Marc to build and run
6126 against new glib and gtk+ (seemed like a change
6127 to bonobo_init signature was made ?)
6129 made festival-server support turned off by default.
6130 Added support for a simple magnifier (off by default)
6131 which will be added to a 'util' directory later.
6132 * at-bridge/Makefile.am:
6133 Changed "application.h" header from a 'source'
6134 to a 'dependency' of libat-bridge.
6136 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6145 Added interface implementation c files to list of
6146 includes so they are included in libcspi.
6149 Changed prototype of AccessibleAction_doAction to return a
6151 Changed prototype of AccessibleTable_getCaption to
6152 return an Accessible.
6153 Changed prototype of AccessibleTable_getSelectedRows
6154 and AccessibleTable_getSelectedColumns to
6155 return a long (returns the number of selected rows
6156 or columns respectively).
6157 Changed name of AccessibleText_refRunAttributes to
6158 AccessibleText_getAttributes.
6159 Changed prototype of AccessibleText_getCharacterExtents to
6160 return a void rather than a boolean.
6161 Added support for a AccessibleCoordType parameter
6162 specifying what type of coordinates are desired.
6163 Added an AccessibleCordType parameter to
6164 AccessibleText_getPointAtOffset.
6166 * cspi/spi_accessible.c:
6167 Added code to return the outstanding interfaces from
6168 Accessible_queryInterface.
6170 * cspi/spi_action.c:
6172 Corrected call to getNActions to call the c binding
6175 * cspi/spi_editabletext.c:
6177 Changed name from setRunAttributes to setAttributes.
6179 * cspi/spi_hyperlink.c:
6181 Changed call to getNAnchors to correctly call the c
6182 binding for an attribute.
6184 * cspi/spi_hypertext.c:
6186 Changed getImageDescription to correctly call the
6187 binding for an attribute.
6189 * cspi/spi_selection.c:
6190 Changed getNSelectedChildren to correctly call the c
6191 binding for the attribute.
6192 Changed refSelectedChild to getSelectedChild.
6196 Changed getCaption to return an Accessible.
6197 Fixed calls which retrieve attributes.
6198 Changed refAt to getAccessibleAt.
6199 Changed getNSelectedRows and getNSelectedColumns to
6203 Changed getCharacterExtents and getPointAtOffset to accept an
6204 AccessibleCoordType.
6206 Changed calls which retrieve attributes.
6207 Changed refRunAttributes to getAttributes.
6212 * idl/Hyperlink.idl:
6213 Changed n_anchors attribute to nAnchors to keep naming
6214 convention consistent.
6217 Made Table inherit from Bonobo::Unknown.
6218 Added nSelectedColumns and nSelectedRows attributes.
6221 Made Value inherit from Bonobo::Unknown.
6223 * libspi/hyperlink.c:
6224 Change for nAnchors attributte name change.
6226 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6234 Added interface implementation c files to list of
6235 includes so they are included in libcspi.
6238 Changed prototype of AccessibleAction_doAction to return a
6240 Changed prototype of AccessibleTable_getCaption to
6241 return an Accessible.
6242 Changed prototype of AccessibleTable_getSelectedRows
6243 and AccessibleTable_getSelectedColumns to
6244 return a long (returns the number of selected rows
6245 or columns respectively).
6246 Changed name of AccessibleText_refRunAttributes to
6247 AccessibleText_getAttributes.
6248 Changed prototype of AccessibleText_getCharacterExtents to
6249 return a void rather than a boolean.
6250 Added support for a AccessibleCoordType parameter
6251 specifying what type of coordinates are desired.
6252 Added an AccessibleCordType parameter to
6253 AccessibleText_getPointAtOffset.
6255 * cspi/spi_accessible.c:
6256 Added code to return the outstanding interfaces from
6257 Accessible_queryInterface.
6259 * cspi/spi_action.c:
6261 Corrected call to getNActions to call the c binding
6264 * cspi/spi_editabletext.c:
6266 Changed name from setRunAttributes to setAttributes.
6268 * cspi/spi_hyperlink.c:
6270 Changed call to getNAnchors to correctly call the c
6271 binding for an attribute.
6273 * cspi/spi_hypertext.c:
6275 Changed getImageDescription to correctly call the
6276 binding for an attribute.
6278 * cspi/spi_selection.c:
6279 Changed getNSelectedChildren to correctly call the c
6280 binding for the attribute.
6281 Changed refSelectedChild to getSelectedChild.
6285 Changed getCaption to return an Accessible.
6286 Fixed calls which retrieve attributes.
6287 Changed refAt to getAccessibleAt.
6288 Changed getNSelectedRows and getNSelectedColumns to
6292 Changed getCharacterExtents and getPointAtOffset to accept an
6293 AccessibleCoordType.
6295 Changed calls which retrieve attributes.
6296 Changed refRunAttributes to getAttributes.
6301 * idl/Hyperlink.idl:
6302 Changed n_anchors attribute to nAnchors to keep naming
6303 convention consistent.
6306 Made Table inherit from Bonobo::Unknown.
6307 Added nSelectedColumns and nSelectedRows attributes.
6310 Made Value inherit from Bonobo::Unknown.
6312 * libspi/hyperlink.c:
6313 Change for nAnchors attributte name change.
6316 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6318 implementations-- made server implementations own AtkObject pointers
6319 rather than their respective AtkInterrface pointers to fix
6320 refcounting. AtkHyperlink is still broken.
6322 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6323 * cspi/spi_accessible.c:
6324 Added method Accessible_Role_getName(),
6325 and requisite string array (role_names).
6326 Added conversion string_from_corba_strin() call
6327 to Accessible_getName and _getDescription.
6328 * libspi/accessible.c:
6329 Added implementation for Accessible_getRole()
6331 Added festival support, used if environment variable
6334 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6336 * at-bridge/bridge.c:
6337 Now allocate Accessibility_Event using
6338 Accessibility_Event__alloc() instead of g_new0().
6339 * libspi/accessibleeventlistener.c:
6340 Initialize AccessibleEventListener->callbacks to NULL.
6341 Fixed accessible__event_listener_init() param, changed to
6342 "AccessibleEventListener *" type.
6343 Changed a bonobo_object_release_unref() call to
6344 Accessibility_Accessible_unref().
6345 * libspi/listener.c:
6346 Changed Bonobo_Unknown_unref to (equivalent)
6347 Accessibility_Accessible_unref.
6348 * libspi/registry.c:
6349 Changed bonobo_object_release_unref to
6350 Accessibility_Accessible_unref.
6352 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6355 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6356 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6357 spi-util.c spi-util.h
6358 Implementations for C bindings to remaining accessibility
6361 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6364 changed return value of Action from void to boolean to
6365 bring in line with ATK.
6368 Changed getText funcions to return "out" start and end offsets.
6369 Changed getAttributes to take and offset and return the start
6370 and end offset of the attribute run.
6371 Changed getOffsetAtPoint and getCharacterExtents to take an
6372 enum describing whether coordinates are window or screen.
6375 libspi/action.c libspi/action.h libspi/editabletext.c
6376 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6377 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6378 libspi/image.h libspi/selection.c libspi/selection.h
6379 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6380 libspi/value.c libspi/value.h
6381 Added server implementations for outstanding ATK interfaces
6382 not yet implemented.
6384 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6387 Added (missing) getName() method.
6388 Made nActions an attribute.
6389 * idl/EditableText.idl:
6390 Changed order of params in setAttributes.
6391 * idl/Hyperlink.idl:
6392 Removed getAnchor, added getURI.
6394 Changed attributes to methods, for efficiency
6395 (so that getting extents can be done in one call)
6396 * idl/Selection.idl:
6397 Changed nSelectedChildren to attribute, and re-indented.
6398 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6400 * idl/Text.idl: reformatted to match our coding style.
6401 (temporarily?) removed getRowColumnAtOffset().
6402 Changed text selection API to support multi-select and
6403 non-contiguous selections, as in ATK.
6404 * idl/Value.idl: changed some methods to attributes.
6406 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6408 * libspi/listener.c(impl_notify_event):
6409 BonoboUnkown_unref the source instead
6410 of bonobo_object_release_unref - the ORB
6411 handles the releasing.
6413 * configure.in: require ORBit-2.3.94 for
6416 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6418 Tagged CVS repository 'EA_1_0'.
6419 * README.EARLY_ACCESS:
6420 Alphabetized acknowledgements list, and
6422 Listed some known dependencies of at-spi.
6424 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6426 * docs/at-spi-docs.sgml:
6427 * docs/at-spi-sections.txt:
6428 * docs/at-spi-overrides.txt: (Added zero-length file)
6429 Documentation improvements - gtk-doc should build
6430 docs for all implemented C bindings now.
6433 * cspi/spi.c: (New file)
6434 * cspi/spi_event.c: (New file)
6435 * cspi/spi_registry.c: (New file)
6436 * cspi/spi_accessible.c: (New file)
6437 * cspi/spi_application.c: (New file)
6438 * cspi/spi_component.c: (New file)
6439 Split spi_main.c into six parts, and included them from
6440 "spi.c". This is a bit of a hack, probably temporary,
6441 but required by gtk-doc, apparently.
6443 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6446 * docs/at-spi-docs.sgml:
6447 * docs/at-spi-sections.txt:
6449 Initial checkins/modifications for gtk-doc generation.
6452 Added (missing) interface query methods to Accessible's C binding.
6454 Added GenericInterface type definition.
6456 Added query for AccessibleComponent interface to focus event handler.
6457 Added printout of bounding box for focussed component.
6458 * libspi/component.c:
6459 Added partial implementation for AccessibleComponent to C binding.
6460 * idl/Application.idl:
6461 * libspi/registry.c:
6462 * libspi/listener.c:
6463 * libspi/application.c:
6464 * libspi/application.h:
6465 Changed "ID" attribute type from string to long.
6467 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6471 Made method naming consistent: methods taking object args
6472 start with uppercase, other methods (except those using
6473 acronyms) start with lowercase. Underscores delimit between
6474 object names and method names:
6475 SPI_init() - uppercase since it starts with an acronym.
6476 getDesktopCount () - lowercase start since no object param0.
6477 Accessible_getName() - uppercase object type name, studlyCaps method
6481 Added gtk-doc documentation for all currently implemented
6482 methods in the C bindings API.
6484 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6486 * Makefile.am : changed build order to build test last.
6489 Changed "createEventListener" to "CreateEventListener".
6490 * libspi/accessibleeventlistener.c :
6491 Bugfix for addition of callbacks.
6492 * test/Makefile.am :
6493 * test/simple-at.c :
6494 Added new test that uses the C bindings API.
6496 * libspi/listener.c :
6497 * libspi/registry.c :
6498 * libspi/accessibleeventlistener.c :
6499 * at-bridge/bridge.c :
6500 Renamed member "target" of Accessibility_Event to "source",
6501 which is more descriptive.
6504 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6508 * cspi/Makefile.am :
6509 Added makefile support for at-spi/cspi directory.
6512 * cspi/spi-listener.h : (NEW FILE)
6513 Added support for/use of spi-listener.h.
6515 C bindings now build successfully, with no warnings.
6516 * libspi/accessibleeventlistener.h : (NEW FILE)
6517 * libspi/accessibleeventlistener.c : (NEW FILE)
6518 * libspi/Makefile.am :
6519 Added new object type "AccessibleEventListener"
6520 which inherits from Listener, and allows attachment
6521 of in-process callbacks (so that a client with a listening
6522 object instance can add functionality to the local
6523 implementation, dynamically).
6525 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6527 * libspi/accessible.c:
6528 Add implementation for get_index_in_parent().
6530 Added #include of "spi-roletypes.h", and
6531 added enumerated type AccessibleCoordType.
6532 Added definition for KeystrokeListener (function type).
6535 * cspi/spi-statetypes.h :
6536 * cspi/spi-roletypes.h :
6538 Added these headers, used by spi.h.
6540 Added code (NOTE: not yet built by make).
6542 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6544 * libspi/Makefile.am: generate imodule
6545 at the same time as other idl compiler
6548 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6549 * libspi/registry.c :
6550 * libspi/application.c :
6551 * idl/Application.idl :
6552 Made registration with toolkit an application method,
6553 which is required since each app has its own toolkit static
6554 environment. Thus the bridge must register for
6555 notification of toolkit events from each application in turn.
6556 Toolkit notifications are now successfully registered for, and
6557 sent to the listening at client.
6559 Changed toolkit event string to use hyphens rather than underscores.
6560 * libspi/listener.c :
6561 listner now gives more info in debug mode - it reports the
6562 name of the event received, as well as the name of the source.
6565 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6567 * libspi/registry.c :
6568 added more implementation for toolkit events.
6569 Fixed bug such that toolkit event registrations
6570 (via atk) use the whole event name string, not
6572 Removed a useless call to an ORBit_ method.
6573 * at-bridge/bridge.c :
6574 Removed unused local sbuf[] variable.
6576 We now register for Gtk:GtkWidget:button_press_event
6577 events as well as "focus:" events.
6579 Add some more API from Registry.idl that was missing,
6580 for keystroke listening, keystroke and mouse event
6581 synthesis, and enumeration of accessible desktops.
6583 2001-08-16 Michael Meeks <michael@ximian.com>
6585 * configure.in: use AM_GLIB_GNU_GETTEXT.
6587 * Makefile.am (SUBDIRS): kill intl.
6589 2001-08-15 Michael Meeks <michael@ximian.com>
6591 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6593 * configure.in: upd.
6595 * configure.in: depend on a recent bonobo-activation that
6596 will find our server files ...
6598 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6600 * libspi/accessible.c : accessible_new() :
6601 Now we add the Component interface via bonobo_object_add_interface,
6602 if the contained AtkObject implements AtkComponent.
6603 * libspi/accessible.h : now include "component.h"
6604 * libspi/component.h :
6605 * libspi/component.c : added files - implementation of
6606 bonobo wrapper object for Accessibility/Component
6607 * libspi/listener.c :
6608 Added test code to check for Accessibility/Component:1.0
6609 interface and report whether it is implemented by the
6611 * libspi/registry.c :
6612 Now we check for not only the hash of the whole event
6613 string before relaying the event, we also check the
6614 "minor" event string (without the detail string).
6615 This allows event listeners to be registered against
6616 all events of a certain major+minor type, or just
6617 against a specific major+minor+detail type.
6618 * libspi/accessible.c :
6619 Added implementations for Accessible:get_parent(),
6620 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6621 * libspi/registry.c :
6622 * libspi/listener.c :
6623 Replaced calls to Accessibility_Accessible_ref() and
6624 Accessibility_Accessible_unref() with
6625 calls to bonobo_object_dup_ref() and
6626 bonobo_object_release_unref(), so that the CORBA object
6627 is dup-ed and released when relayed, as well as the bonobo object.
6629 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6631 * libspi/Makefile.am,
6632 registryd/Makefile.am,
6633 at-bridge/Makefile.am.
6634 test/Makefile.am, configure.in:
6635 reverse previous changes.
6637 * /idl/Image.idl: fix typo.
6639 * test/Makefile.am: put DEBUG_FLAGS
6642 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6644 * test/app.c: use argv[0] instead of
6647 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6649 * libspi/Makefile.am,
6650 registryd/Makefile.am,
6651 at-bridge/Makefile.am.
6652 test/Makefile.am, configure.in:
6653 cleanup, replace individual LIBS/CFLAGS with
6654 AT_COMMON_{LIBS|CFLAGS}.
6658 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6660 * configure.in, libspi/Makefile.am:
6661 Change IDL path checking for bonobo-activation
6664 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6666 * registryd/registry.c : separated event listeners to use
6667 3 separate lists (focus, window, toolkit). Began testing
6668 event names against hashes before relaying events.
6669 * test/at.c : now register for events of type "focus:"
6670 * test/app.c : now generate events of type "focus:"
6671 * at-bridge/bridge.c : register with ATK for focus events,
6672 and we now relay those focus events to any "focus:" listeners.
6673 This now works with the bridge as a GTK_MODULE when running test/at.
6674 * libspi/registry.c :
6675 * libspi/listener.c :
6676 now we ref event sources before propagating, and unref on receipt.
6677 * libspi/registry.c :
6678 some changes to internal structs, to support event typestring hashes.
6679 * text/app.c : changed the way the appname is generated.
6680 * cspi : added directory that will hold the C bindings library for
6681 non-CORBA/bonobo-savvy clients.
6682 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6683 * idl/Component.idl : added in parameter to indicate coord system for
6684 geometry-related calls.
6685 * idl/Hyperlink.idl : added readonly n_links attribute
6686 * idl/Image.idl : changed methods to attributes.
6688 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6690 * at-bridge/Makefile.am: link against
6691 ../libspi/libspi.la instead of -lspi.
6693 * at-spi/test/app.c: include
6694 bonobo-activation.h. Use a default appname
6695 if one is not provided.
6697 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6699 * idl/Registry.idl : temporarily changed register_Application
6700 to oneway, to work around issue with initial registration
6702 * idl/Application.idl : changed attribute "id" from readonly
6703 to read-write, since it needs to be assigned by Registry.
6704 * registryd/registryd.c : added call to set application id
6706 * registryd/registry.c : changed de-registration procedure to
6707 use CORBA_Object_hash() to find matching object ref in application
6708 lists and listener lists.
6709 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6710 began distinguishing between event types (work in progress).
6712 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6715 * libspi/application.c:
6716 Added implementations for get/set id, get_toolkitName,
6718 * registryd/registryd.c :
6722 Converted from use of OAF to bonobo-activation.
6723 * libspi/desktop.h :
6724 * libspi/desktop.c :
6726 Removed references to atksimpleobject, since base atkobject
6727 implementation now provides functionality we need.
6728 * libspi/atksimpleobject.c :
6729 * libspi/atksimpleobject.h :
6734 * at-bridge/Makefile.am
6735 * at-bridge/bridge.c
6738 Added directory "bridge" and contents, and added dependencies
6739 in Makefile.am/configure.in.
6740 Initial checkin of "at-bridge".
6741 This code is a GTK_MODULE which automatically registers
6742 GTK+ apps with the accessibility registry, using an object
6743 reference to the root ATK object.
6745 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6747 * po/Makefile.in.in: Remove. Again. If this
6748 doesn't get autogenerated - you need to update
6751 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6753 * po/Makefile.in.in: Add. Again.
6755 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6757 * libspi/accessible.c : added support for 'description' property.
6758 * libspi/accessible.c
6760 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6761 (since the two are now equivalent in libbonobo)
6769 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6770 Bonobo::Unknown as does Accessibility::Accessible.
6771 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6772 interface with Bonobo::Stream, since it was redundant with it.
6773 (The Stream returned by a StreamableContext object is expected to
6774 implement only a subset of Bonobo::Stream)
6776 2001-07-28 Anders Carlsson <andersca@gnome.org>
6778 * libspi/accessible.c (accessible_object_finalize): Change
6779 g_free to g_object_unref since the AtkObject is a GObject.
6781 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6783 * idl/Accessibility.idl: add new IDL files
6786 * idl/Action.idl: Definitions of actionable UI object
6787 * idl/Component.idl: Definitions of UI component geometry, etc.
6788 * idl/Hyperlink.idl: Defs of hyperlink behavior
6789 * idl/Image.idl: Def of accessible image
6790 * idl/Selection.idl: Definition of UI object with selectable children
6791 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6792 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6793 * idl/Text.idl: Interface defs for UI elements with complex textual content
6794 * idl/Value.idl: Definition of UI element that is a value controller or display
6796 2001-07-27 Michael Meeks <michael@ximian.com>
6798 * po/Makefile.in.in: remove autogenerated file from CVS.
6800 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6803 * idl/Registry.idl: include guard.
6805 * idl/Accessibility.idl: Add, and include all the other IDL
6808 * idl/*.idl: remove mass of pragmas etc.
6810 2001-07-26 Michael Meeks <michael@ximian.com>
6812 * registryd/Makefile.am (registryd_SOURCES): remove
6815 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6817 * libspi/.cvsignore, registryd/.cvsignore,
6818 test/.cvsignore: updated.
6820 * po/Makefile.in.in: gettext update.
6822 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6824 * initial CVS checkin
6826 2001-06-29 Michael Meeks <michael@ximian.com>
6828 * configure.in: add AM_CONFIG_HEADER to gen config.h