1 2004-03-12 Bill Haneman <billh@gnome.org>
4 (spi_atk_bridge_key_listener):
5 Make sure to return consumed=FALSE if snoop
6 event is not dispatched to listener.
9 2004-03-01 Bill Haneman <billh@gnome.org>
11 * configure.in: Revved to 1.3.15,
14 2004-03-07 Danilo Segan <dsegan@gmx.net>
16 * configure.in: Added "sr@ije" to ALL_LINGUAS.
18 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
20 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
22 2004-03-01 Bill Haneman <billh@gnome.org>
24 * configure.in: Revved to 1.3.14.
27 (SPI_exit): Removed "bye-bye" exit message.
28 Moved "leak" report to happen before the
29 iteration over the leaked refs list.
30 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
32 2004-02-24 Bill Haneman <billh@gnome.org>
34 * configure.in: Revved to 1.3.13.
36 * docs/reference/cspi/Makefile.am:
37 Correct typo that was breaking the docs build.
39 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
41 * autogen.sh: Require version 1.7 of automake.
43 * configure.in: call GTK_DOC_CHECK([1.0])
45 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
47 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
49 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
51 * test/Makefile.am: Remove use of CFLAGS.
53 This fixes bug #132987.
55 2004-02-11 Bill Haneman <billh@gnome.org>
57 * reverted most of Tomasz' patch below, since it was breaking
58 builds (see bug #134058).
60 2004-02-10 Tomasz K³oczko <kloczek@pld.org.pl>
62 * docs/reference/cspi/at-spi-cspi.types: added empty file for
63 correct pass "make dist" (empty .. because seems no sach types in
64 header files with gtk-doc markups).
65 * docs/reference/cspi/Makefile.am, configure.in:
66 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
67 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
69 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
70 for force correct pass generate documentation on "make distcheck".
71 * libspi/Makefile.am: fixes for automake >= 1.6.
72 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
73 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
76 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
78 * docs/reference/cspi/Makefile.am (install-data-local): Install
79 index.sgml since the doc autobuilder on widget.gnome.org looks for
82 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
84 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
87 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
89 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
91 2004-01-27 Brian Cameron <brian.cameron@sun.com>
93 * test/simple-at.c: Fixed null string problems that cause core
94 dumping problems on Solaris.
96 2004-01-12 Bill Haneman <billh@gnome.org>
98 * configure.in: Incremented version to 1.3.11.
100 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
102 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
103 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
106 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
108 * configure.in: Added "fa" to ALL_LINGUAS.
110 2003-12-20 Arafat Medini <lumina@silverpen.de>
112 * configure.in: Added "ar" to ALL_LINGUAS
114 2003-12-16 Bill Haneman <billh@gnome.org>
116 * registryd/registry-main.c:
118 Set the reg_env DISPLAY variable before registering the
119 activated registry service. Fixes bug #129479.
121 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
123 * configure.in: Added "id" in ALL_LINGUAS
124 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
126 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
128 * registryd/deviceeventcontroller.c (global_filter_fn):
129 When an event is consumed discard any XEvents were added to
130 the queue while dealing with the the event. This can happen if
131 processing of the event takes a long time. Call XUngrabKeyboard
132 if an event was discarded. This fixes bug $124837.
133 Only call wait_for_release_event for a KeyPress.
134 Use local variable display instead of spi_get_display().
135 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
138 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
140 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
141 Allow for mask to contain values other than NumLock mask.
144 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
146 * registryd/devieceventcontroller.c:
147 (wait_for_release_event): Change first parameter from GdkEvent to
149 (global_filter_fn); Correct call to wait_for_release_event.
153 2003-12-08 Bill Haneman <billh@gnome.org>
157 * registryd/ucs2keysym.c: New file.
159 * registryd/deviceeventcontroller.c:
160 (dec_keysym_for_unichar): Remove old partial implementation and
161 replace with call to ucs2keysym(), which is much more complete.
162 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
167 2003-12-05 Bill Haneman <billh@gnome.org>
169 * configure.in: Version 1.3.9.
171 * docs/reference/cspi/tmpl/spi_registry.sgml:
172 Added reference to libspi/keymasks.h to the
173 description of Registry queries: AccessibleKeyMaskType.
176 2003-12-04 Bill Haneman <billh@gnome.org>
180 * idl/Accessibility_Application.idl:
181 (Accessibility::LOCALE_TYPE): New enum, corresponds to
182 setlocale's LC_TYPEs.
183 (Accessibility::Application::getLocale): New method.
184 Allows clients to query the locale, by type, of an app.
187 * cspi/spi_application.c:
188 (AccessibleApplication_getLocale): New method, wraps IDL above.
190 * libspi/application.c:
191 (spi_application_class_init): Init epv entry for getLocale.
192 (impl_accessibility_application_get_locale): Impl for above.
194 * test/test-simple.c:
195 (test_application): Added assertion for getLocale, i.e.
196 that the string from AccessibleApplication_getLocale (app, type)
197 is the same as that from setlocale (type, NULL);
199 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
201 *registryd/deviceeventcontroller.c: Add an idle handler which polls
202 the keyboard on a timeout intil the key state goes from pressed to
203 released. Fixes bug #111429.
205 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
207 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
208 root object so that it is present when a context menu in an
209 out-of-process applet is popped up.
210 (spi_atk_bridge_do_registration): Create acceessible application root
211 object only if it does not exist.
213 This fixes bug #125834.
215 2003-12-01 Bill Haneman <billh@gnome.org>
217 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
220 Added enum for AccessibleStreamableContentSeekType.
221 (AccessibleStreamableContent_freeContentTypeList): New.
223 * cspi/spi_streamablecontent.c:
224 (accessible_bonobo_stream_client_seek): New private method.
225 (AccessibleStreamableContent_seek): Implemented this method,
226 using Bonobo_Stream_seek.
227 (AccessibleStreamableContent_freeContentTypeList): New method
228 for freeing the return value from
229 AccessibleStreamableContent_getContentTypes.
230 (stream_cache_item_free): Replaces stream_release; stop leaks.
231 (stream_release): removed.
232 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
233 free the memory properly.
235 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
239 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
241 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
243 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
245 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
247 2003-12-01 Bill Haneman <billh@gnome.org>
249 Fix for bug/rfe #127463.
251 * idl/Accessibility_Accessible.idl:
252 (getLocalizedRoleName): New.
253 (unimplemented4): Removed (replaced by above).
255 * libspi/accessible.c:
256 (impl_accessibility_accessible_get_local_role_name): New.
257 (spi_accessible_class_init): Add getLocalizedRoleName entry to
261 (Accessible_getLocalizedRoleName): New.
263 * cspi/spi_accessible.c:
264 (Accessible_getLocalizedRoleName): New.
266 2003-12-01 Bill Haneman <billh@gnome.org>
269 * idl/Accessibility_Text.idl:
270 (getDefaultAttributes): New.
271 (unimplemented4): Removed (replaced by above method).
274 (impl_getDefaultAttributes): New method.
275 (spi_text_class_init):
276 initialize the get_default_attributes slot in the epv.
279 (AccessibleText_getDefaultAttributes): New prototype.
282 (AccessibleText_getDefaultAttributes): New method.
284 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
286 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
287 write beyond the end of the table. Fixes bug #120473.
289 2003-09-30 Christian Rose <menthos@menthos.com>
291 * configure.in: Added "eu" to ALL_LINGUAS.
293 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
295 * configure.in: ALL_LINGUAS: Added no.
297 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
299 * configure.in: Added lt to ALL_LINGUAS.
301 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
303 * atk-bridge/bridge.c:
304 (atk_bridge_init): Register event listeners always even for
305 out-of-process applet.
306 (spi_atk_bridge_toplevel_added): Remove call to
307 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
308 (spi_atk_bridge_toplevelk_removed): Remove call to
309 spi_atk_deregister_event_listenersa as the listeners are now always
311 (spi_atk_bridge_register_application): Remove call to
312 spi_atk_register_event_listeners as it is not done in atk_bridge_init
314 This fixes bug #120991.
316 * libspi/table.c (impl_getColumnDescription): Correct typo,
317 pointed out by Bolian.Yin@sun.com.
319 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
321 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
323 2003-09-08 Bill Haneman <billh@gnome.org>
325 * configure.in: Revved to 1.3.7.
327 This is the GNOME 2.4.0 release of at-spi.
329 * docs/reference/cspi/Makefile.am:
330 Removed spurious inclusion of 'index.sgml' in the
331 html directory; this was breaking make distcheck and
332 also some other build environments.
334 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
336 * registryd/registry.[ch}:
337 Add queue_handler_id and focus_object to SpiRegistry data structure.
338 (registry_flush_event_queue): If event being discarded is
339 "state-change:focused" store object as focus_object.
340 (registry_start_queue): Remove queue handler and focus object
342 (registry_discard_event): New function which discards a focus event
343 if we had stored focus object in the registry.
344 (registry_queue_event): Add new check that is_queueing is set as this
345 function is reentrant.
346 (registry_filer_event): Add call to registry_discard_event.
348 This resolves issues raised in bug #108664.
350 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
352 * configure.in: Added "bn" to ALL_LINGUAS.
354 2003-09-04 Bill Haneman <billh@gnome.org>
356 * cspi/spi_event.c: Documentation improvements for
357 (SPI_registerAccessibleKeylistener).
359 * docs/reference/tmpl/spi_registry.sgml:
360 Documentation improvements for SpiAccessibleKeylistenerCB.
362 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
364 * configure.in: Added "ro" to ALL_LINGUAS.
367 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
369 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
370 not decremented to zero. Fixes bug #120725.
372 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
374 * configure.in: Added "ja" to ALL_LINGUAS.
376 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
378 * configure.in: Added "is" to ALL_LINGUAS.
380 2003-08-22 Christian Rose <menthos@menthos.com>
382 * configure.in: Added "nl" to ALL_LINGUAS.
384 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
386 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
387 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
389 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
391 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
392 type for unspecified exception.
393 * cspi_streamablecontect): Add include of string.h for memcpy.
394 (stream_release): Correct call to bonobo_object_release_unref
395 (stream_cache_item_free): Correct call to bonobo_object_release_unref
396 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
397 argument of _cspi_expection_throw.
398 * libspi/hyperlink.c: Add include of libspi/action.h:
399 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
400 * libspi/streamablecontent.c: add include of libspi/component.h.
401 * regisrtyd/deviceeventcontroller.c:
402 (spi_dec_translate_mask): Removed unused variable priv.
403 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
404 * registryd/registry.c:
405 (registry_filter_event): Remove unused variable queue_is-empty.
406 (impl_registry_notify_event): Use correct modifier in fprintf call.
408 This fixes compiler warnings reported in bug #120220.
410 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
412 * registryd/registryd.c: Remove this file.
414 2003-08-17 Sanlig Badral <badral@openmn.org>
416 * configure.in: Added mn to ALL_LINGUAS.
418 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
420 * configure.in: Added et to ALL_LINGUAS.
422 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
424 * test/event-listener-test.c: Change active-descendant to
425 active-descendant-changed.
427 2003-08-10 Sami Pesonen <sampeson@iki.fi>
429 * configure.in: Added "fi" in ALL_LINGUAS.
431 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
433 * configure.in: Added "hi" in ALL_LINGUAS.
435 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
437 * configure.in: Revved to 1.3.6.
441 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
443 * registryd/deviceeventcontroller.c
444 (spi_device_event_controller_object_finalize): Fix typo in previous
447 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
449 * registryd/deviceeventcontroller.c
450 (spi_device_event_controller_object_finalize): Fix build on
451 systems without XEvIE.
453 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
455 * acconfig.h, configure.in, registryd/Makefile.am,
456 registryd/devicecontoller.[ch]: Add XEViE support.
458 2003-08-06 Wang Jian <lark@linux.net.cn>
460 * configure.in: Added "zh_CN" to ALL_LINGUAS.
462 2003-08-06 Metin Amiroff<metin@karegen.com>
464 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
466 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
468 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
469 MODIFIER_ALT in correct place.
471 This fixes part of bug #118114.
473 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
475 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
477 2003-07-28 Changwoo Ryu <cwryu@debian.org>
479 * configure.in: Added "ko" to ALL_LINGUAS.
481 2003-07-28 Ole Laursen <olau@hardworking.dk>
483 * configure.in: Added "da" to the commented out ALL_LINGUAS.
485 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
487 * configure.in: Added "sq" to ALL_LINGUAS.
489 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
491 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
493 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
495 * configure.in: updated ALL_LINGUAS list
497 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
499 * configure.in: Added Belarusian to ALL_LINGUAS.
501 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
503 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
505 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
506 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
508 This fixes bug #116949.
510 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
512 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
513 Correct CSPI to SPI in function documentation.
515 This fixes bug #118054.
517 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
519 * configure.in: Added Russian to ALL_LINGUAS.
521 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
523 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
525 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
527 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
529 2003-07-10 Joel Brich <joel.brich@laposte.net>
531 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
533 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
535 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
537 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
539 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
540 resources allocated for AccessibleEvent. See cspi_event().
542 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
543 static variable streams to NULL.
545 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
546 Update so that AcessibleEvent_ref will work.
548 This fixes bug #116624.
550 2003-07-06 Jordi Mallach <jordi@sindominio.net>
552 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
554 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
556 * configure.in: Added "fr" (French) to ALL_LINGUAS.
558 2003-07-02 Christian Neumair <chris@gnome-de.org>
560 * configure.in: Added "de" (German) to ALL_LINGUAS.
562 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
564 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
566 2003-07-01 Miloslav Trmac <mitr@volny.cz>
568 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
570 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
572 * configure.in: Added "pl" to ALL_LINGUAS.
574 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
576 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
578 2003-06-30 Bill Haneman <bill.haneman@sun.com>
581 (get_action_from_servant):
582 Removed assertion that action is implemented on an AtkObject.
584 * libspi/hyperlink.c:
586 Aggregate AccessibleAction interface on the hyperlink object if
587 the object implements AtkAction. (This convention is used in
590 2003-06-30 Bill Haneman <bill.haneman@sun.com>
592 * configure.in: Revved to 1.3.5.
594 * registryd/Accessibility_Registry.server.in.in:
595 Marked up appropriate strings for translation.
597 * atk-bridge/bridge.c: Marked a couple of
598 user-visible warnings for translation. Questionable
599 whether they are really useful, but possibly so.
602 2003-06-28 Christian Rose <menthos@menthos.com>
604 * configure.in: Added "sv" to ALL_LINGUAS.
606 2003-06-26 Bill Haneman <bill.haneman@sun.com>
608 * registryd/registry.c:
609 (spi_registry_object_finalize): Unref the deviceeventcontroller.
610 (registry_defer_on_event): Defer focus: events, this is an
611 improvement to the patch for bug #108664.
613 * TODO: Update with 2.4/"Dev Complete" items.
615 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
617 * atk-bridge/bridge.c:
618 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
619 looks up signals once.
620 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
621 if doing registration.
622 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
623 when doing registration.
625 This fixes bug #115014.
627 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
629 * atk-bridge/bridge.c:
630 (atk_bridge_init): Add signal handler for children-changed:remove on
631 root when in a BonoboComponent.
632 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
633 for first toplevel only other incrememt variable toplevels.
634 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
635 application and remove listeners.
636 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
638 (spi_atk_deregister_event_listeners): New function which removes
640 (reinit_register_vars): New fuction which reinitializes variables.
642 This fixes bug #111578.
644 2003-06-13 Bill Haneman <bill.haneman@sun.com>
646 * configure.in: version 1.3.4.
648 * cspi/spi_accessible.c:
649 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
652 2003-06-13 Michael Meeks <michael@ximian.com>
654 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
656 * cspi/spi_main.c (cspi_peek_ev): impl.
658 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
660 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
662 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
664 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
665 SPI_ROLE_AUTOCOMPLETE
667 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
669 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
670 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
672 2003-06-11 Bill Haneman <bill.haneman@sun.com>
674 * libspi/streamablecontent.h:
675 * libspi/streamablecontent.c:
676 New files, provide implementation/wrappers for
677 Accessibility_StreamableContent.
679 * cspi/spi_streamablecontent.c:
680 Connected the C wrappers to the libspi C bindings.
681 (AccessibleStreamableContent_close): New method.
684 (AccessibleStreamableContent_close): New method, needed
685 since we have an "open, [seek], read, close" model in cspi.
687 2003-06-11 Bill Haneman <bill.haneman@sun.com>
689 Fix for #108664; Padraig's revision of my original patch.
691 * registryd/registry.h:
692 Added event queue list, is_queuing, and exit_notify_timeout
693 to the registry struct.
695 * registryd/registry.c:
696 (registry_init): Initialize new struct from registry.h.
697 (impl_registry_notify_event):
698 Filter events before notifying, in case some need to be
700 (registry_filter_event): New,
701 we defer certain incoming events (for instance
702 window:deactivate) because we may wish to hide
703 or reject them based on pending events. This is
704 mostly a workaround for bug #108664.
705 (registry_queue_event, registry_start_queue): New.
706 (registry_defer_on_event): Test event to see if it
708 (registry_reset_on_event): Returns TRUE if the
709 event should cause a queue reset.
710 (registry_discard_on_event): Returns TRUE if the event
711 should cause the previous queue contents to be discarded.
712 (registry_timeout_flush_queue): Flushes the pending event
713 queue if no reset/discard-triggering events have come in
714 within the timeout period.
715 (registry_emit_event): New.
716 (registry_clone_notify_context): New, used when queueing the
717 event notify contexts.
719 2003-06-10 Bill Haneman <bill.haneman@sun.com>
721 * configure.in: Version revved to 1.3.2, lt 0.9.2
722 Incremented ATK required version to 1.3.4.
724 * cspi/spi_registry.c:
725 (SPI_generateKeyEvent):
726 We now pass the keystring along if it's non-null.
728 * registryd/deviceeventcontroller.c:
729 (keysym_mod_mask): New method, returns modifier mask
730 required to generate a keysym from a given keycode.
731 (dec_synth_keysym): New method.
732 (dec_synth_keystring): New method.
733 (dec_get_modifier_state): New method.
734 (dec_lock_modifiers): New
735 (dec_unlock_modifiers): New.
736 (dec_keysym_for_unichar): New, rather brute-force
737 conversion from UCS-4 to X KeySyms. Only works for
738 Latin at the moment, with partial implementations for
739 Greek, Hebrew, and (incomplete) Katakana.
740 (impl_generate_keyboard_event): Now implement
741 "KEYSTRING" synthesis and implement "KEYSYM"
743 (keycode_from_keysym): Improved, passes a returned
744 modmask value now if the corresponding param is non-NULL.
746 Fixes bugs #92143 and #109776.
749 * test/keysynth-test.c:
750 New test program for key synthesis, to confirm fixes for
754 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
756 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
758 * cspi/spi_accessible.c (cspi_init_relation_type_table):
759 Add line for RELATION_POPUP_FOR
761 * docs/reference/cspi/tmpl/spi_relation.sgml:
762 Add relation SPI_RELATION_POPUP_FOR
764 * docs/reference/cspi/tmpl/spi_stateset.sgml:
765 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
767 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
769 * libspi/relation.c (spi_init_relation_type_table):
770 Add line for RELATION_POPUP_FOR
772 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
774 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
775 there are still windows which have not been deleted and emit
776 window:deactivate, if necessary and window:destroy events.
777 This fixes bug #114370. The change on June 5th was not correct.
779 2003-06-09 Bill Haneman <bill.haneman@sun.com>
781 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
784 (SPI_dupString): Allow dup-ing of a string such that it's safe to
786 New methods for client exception handling and interception.
787 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
788 (SPI_exceptionHandlerPop): You guessed it...
789 (SPI_getSourceType): Return the type of object which offended.
790 (SPI_getExceptionCode): Return an enum code telling, possibly,
791 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
792 (SPIAccessibleException_getSource): get the source object for
793 exceptions that come from Accessibles, if SPIExceptionSourceType is
794 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
795 (SPIException_getDescription): New, returns a string description of
796 the problem. [Not yet a stable ABI, strings are not frozen]
798 * cspi/spi-private.h:
799 Added implementation details of opaque SPIException
803 Implementations of above. Also
804 (_cspi_exception_throw): new private method that
805 dispatches exceptions to handlers, called from cspi-bonobo.c
807 * cspi/bonobo/cspi-bonobo.c:
808 (cspi_check_ev): call _cspi_exception_throw.
809 Don't print a warning message if the exception has been
810 handled by _cspi_exception_throw.
812 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
814 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
815 there are still windows which have not been deleted and emit
816 window:deactivate, if necessary and window:destroy events.
817 This fixes bug #114370.
819 2003-06-03 Bill Haneman <bill.haneman@sun.com>
822 (cspi_accessible_is_a): Make non-fatal
823 if the object reference is dead.
825 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
827 * cspi/spi_main.c: #include <stdio.h>
828 * test/simple-at.c: ditto
829 * test/event-listener-test.c: ditto
830 * test/screen-review-test.c: ditto
832 2003-05-30 Michael Meeks <michael@ximian.com>
834 * test/test-simple.c (main): use CORBA_ORB_perform_work
835 instead of an unnecessary linc_ call.
837 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
839 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
840 Add SPI_STATE_INDETERMINATE.
842 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
845 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
847 * libspi/stateset.c (init_state_type_tables): Add support for
850 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
852 * configure: Update versions of atk and gail required.
853 This fixes bug #113268.
855 2003-05-02 Bill Haneman <bill.haneman@sun.com>
857 * configure.in: Revved micro version to 1.3.1 (because of build fix).
859 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
861 * libspi/Makefile.am:
862 Ensure headers are generated before being used by c sources.
864 2003-05-01 Bill Haneman <bill.haneman@sun.com>
867 Simplified lt versioning rules.
868 Incremented version to 1.3.0, to indicate that we're on the
871 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
873 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
874 Add MKDB_OPTIONS=--outtput-format=xml
876 * docs/reference/cspi/at-spi-cspi-docs.sgml
877 docs/reference/idl/at-spi-idl-docs.sgml:
878 Convert to Docbook XML.
880 This fixes bug #111793.
882 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
884 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
885 AcccessibleKeyEventType, AccessibleKeyMaskType.
887 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
889 * cspi/state-types.h: Add documentation for AccessibleState.
891 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
892 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
893 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
894 AccessibleComponentLayer.
896 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
899 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
901 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
902 Accessible. Add description of AccessibleEvent,
903 AccessibleEventListenerCB.
905 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
908 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
909 documentation. Add description of AccessibleKeystrokeListenerCB,
910 AccessibleKeyEventMask, AccessibleModifierMaskType,
911 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
912 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
914 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
917 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
920 This fixes bug #104730.
922 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
924 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
925 Set is_text field of Accessibility_DeviceEvent data structure.
927 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
928 is-text field of AccessibleDeviceEvent data structure.
930 This addresses part of bug #108666.
932 * registryd/devcieeventcontroller.c: Unset debug option.
934 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
937 (cpi_initial_relation_type_table): New function which initializes
938 mapping between Accessibility_RelationType and AccessibleRelationType.
939 (cspi_relation_type_from_spi_relation_type): New function which
940 translates an Accessibility_RelationType into an AccessibleRelationType.
941 (AccessibleRelation_getRelationType): Use
942 cpi_relation_type_get_spi_relation_type to return correct value.
943 (spi_state_to_corba): Return correct type for default case.
945 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
946 Use Accessibility_EventType instead of Accessibility_KeyEventType.
948 * cspi/cspi-bonobo-listener.c:
949 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
952 * libspi/accessible.c, libspi/action.c, libspi/application.c,
953 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
954 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
955 libspi/image.c, libspi/listener.c, libspi/selection.c,
956 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
957 registryd/desktop.c, registryd/registry.c:
958 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
960 * libspi/eventlistener.c
961 Remove semicolon after BONOBO_TYPE_FUNC.
964 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
965 (spi_init_relation_type_table): Initialize using correct type.
967 * registryd/desktop.c:
968 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
969 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
970 of Accessibility_KeyEventType.
972 * test/key-listener-test.c (report_tab_key_event): Use fprintf
975 * tests/simple-at.c, tests/screen-review-test.c:
976 Add include for <strings.h>.
978 * tests.stress-test.c:
979 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
981 These changes fix compiler warnings when using FORTE compiler on
982 Solaris; fixes bug #107479.
985 2003-04-10 Bill Haneman <bill.haneman@sun.com>
988 * configure.in: revved to 1.1.10
991 (SPI_KEYMASK_NUMLOCK): Added.
993 * registryd/deviceeventcontroller.c:
994 (spi_key_event_matches_listener): AND with a smaller
995 bitmask (as we should).
996 (spi_dec_translate_mask):
997 New method, sets the virtual NumLock modifier bit
998 if numlock is on. Eventually it can handle other virtual
999 modifier bits if needed, or other marshalling from
1000 at-spi modifier masks to platform (X) masks.
1001 (spi_dec_key_listener_new):
1002 Call spi_dec_translate_mask to set up virtual mod bits
1003 in the 'mask' field when creating a new listener struct.
1004 (spi_dec_emit_modifier_event):
1005 Set the virtual (i.e. NumLock) bits before emitting event.
1006 (spi_controller_register_with_devices):
1007 Query for the NumLock modifier 'physical' bit if Xkb is
1008 present, for use in above methods.
1012 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1014 * registryd/deviceeventcontroller.c:
1015 (spi_keystroke_from_x_key_event):
1016 Instead of checking to see if the keysym is
1017 printable, check the string from XLookupString
1018 if available, get the first unicode character from it,
1019 and call g_unichar_isprint to determine whether the
1020 is_text flag should be TRUE or FALSE.
1024 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1026 * atk-bridge/bridge.c: Add support for extended events
1027 * cspi/spi_event.c: Add documentation and implementation for
1029 * tests/event-listener-test.c: Add tests for extended events.
1031 This fixes bugs #100424 and #100426.
1033 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1035 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1036 of LT_CURRENT. This fixes bug #89350.
1038 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1040 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1041 number of signal parameter values before accessing them. This fixes
1044 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1046 * configure.in: Fixed duplicate inclusion of -lspi.
1047 * branched for gnome-2-2/HEAD.
1048 [created tag "gnome-2-2"]
1050 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1052 * configure.in: 1.1.9 release.
1055 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1057 [needed by GOK, to fix bugs 107985 and 107988]
1058 * registryd/deviceeventcontroller.c:
1059 (spi_dec_clear_unlatch_pending):
1060 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1061 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1062 (spi_dec_init_mouse_listener):Emit warning if mouse button
1064 (spi_device_event_controller_forward_mouse_event):
1065 Removed unnecessary parens from a conditional.
1066 (global_filter_fn):Added TODO comment.
1067 (impl_generate_keyboard_event):
1068 Cancel a pending relatch if a 'delatching' key was
1071 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1073 * atk-bridge/bridge.c:
1074 Change atk_signal_child_changed to atk_signal_children_changed.
1075 Reorganize code in spi_atk_bridge_signal_listener().
1077 * test/event-listener-test.c:
1078 Add children_changed_listener and report_children_changed_event()
1079 to test AccessibleChildEvent_getChildAccessible.
1081 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1083 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1084 g_strdup to CORBA_String_dup (bug #105291)
1086 * test/event-listener-test.c (report_text_event): Add call to
1089 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1091 * registryd/deviceeventcontroller.c:
1092 (spi_keystroke_from_x_key_event):
1093 Fix string and keysym return codes to match modifier state.
1096 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1098 * registryd/deviceeventcontroller.c:
1099 (spi_keystroke_from_x_key_event):
1100 Fix segv due to improper use of isprint(c). [bug #107254]
1102 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1105 (get_accessible_text_boundary_type):
1106 Move default return value to (new) default case in switch.
1107 (get_accessible_text_clip_type):
1108 Move default return value to (new) default case in switch.
1110 * libspi/application.c:
1111 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1112 Remove unused methods.
1113 (impl_accessibility_application_register_object_event_listener):
1114 Remove unused methods.
1117 Added #include of <math.h>.
1119 * registryd/deviceeventcontroller.c:
1120 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1121 we don't currently use this method.
1122 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1124 (impl_generate_key_event):
1125 Remove unused variables.
1126 (impl_generate_mouse_event):
1127 Initialize button to zero, just in case we get an invalid
1128 input. Added support for mouse buttons 4 and 5.
1129 (spi_device_event_controller_new):
1130 Removed unused variable declaration for 'private'.
1132 Added #include of <gdk/gdk.h>
1134 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1136 * configure.in: Update to work when X is not installed in expected
1137 location. Fixes bug #105836.
1139 * atk-bridge/bridge.c
1140 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1142 (spi_atk_register_event_listener): Add signal listener for
1144 (spi_atk_bridge_signal_listener): Event event when link-selected
1145 signal is emitted. (bug #104622)
1147 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1148 on returned string. (bug #105291)
1150 * test/event-listener-test.c: Add test for link-selected.
1152 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1154 * atk-bridge/Makefile.am: Correct typo in previous commit.
1156 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1158 * atk-bridge/Makefile.am: Allow for build directory to be different
1159 from source directory
1161 * registryd/Makefile.am: Allow for build directory to be different
1162 from source directory
1166 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1169 Fixed dependencies for libcspi so that libspi gets pulled in
1170 properly. Fixes 104741.
1174 Clean up inline docs a little.
1176 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1178 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1179 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1180 the AtkObject within an SpiDesktop.
1181 This addresses bug #101524.
1183 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1184 Remove call to gdk_init().
1186 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1187 so that Display is set when SpiDesktop is created.
1189 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1191 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1192 This fixes bug #102830.
1194 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1196 * test/test-simple.c: Update to take account of fact that GailButton
1197 now implements AtkText.
1198 (create_text_window): Set name on AtkObject for GtkEntry.
1199 (validate_accessible): Check accessible name before calling test_text().
1201 * libspi/Makefile.am: Fix problem with building outside of source
1202 directory. Bug #98120.
1204 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1205 typo in documentation comments. Bug #94275.
1207 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1209 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1211 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1214 Add includes to avoid compiler warnings on Solaris.
1215 (impl_getRangeExtents): Bug fix.
1217 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1219 Fix for 100944, [API addition approved by Gman and murrayc].
1226 * idl/Accessibility_Text.idl:
1227 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1228 (Text::getRangeExtents): New method for efficient
1229 bounds query of a text range.
1230 (Text::getBoundedRanges): New method for efficient
1231 clipping of text to bounding boxes.
1232 (unImplemented7, unImplemented8):
1233 Removed these padding methods to preserve bincompat.
1236 (impl_getRangeExtents): implementation of new IDL.
1237 (impl_getBoundedRanges): implementation of new IDL.
1238 (SpiTextRect): Internal use struct.
1239 (_spi_text_rect_union): internal method, calculates union of two
1240 SpiTextRect bounding rects.
1241 (_spi_text_range_seq_from_gslist): internal method, allows us
1242 to build our sequence efficiently as a gslist then convert it
1244 (_spi_bounds_contain): internal method, determines whether
1245 a text character is "in" or "out" of a clip rect according to
1246 values of TEXT_CLIP_TYPE.
1247 (spi_text_class_init): Initialize the new methods in the epv.
1250 (AccessibleTextClipType): New enum used by screen review api.
1251 (AccessibleTextRange): New struct used by screen review api.
1252 (AccessibleText_getRangeExtents):
1253 cspi binding for Accessibility_Text_getRangeExtents.
1254 (AccessibleText_getBoundedRanges):
1255 cspi binding for Accessibility_Text_getBoundedRanges.
1256 (AccessibleTextRange_freeRanges): convenience method.
1259 (AccessibleText_getRangeExtents):
1260 cspi binding for Accessibility_Text_getRangeExtents.
1261 (AccessibleText_getBoundedRanges):
1262 cspi binding for Accessibility_Text_getBoundedRanges.
1263 (AccessibleTextRange_freeRanges): convenience method.
1264 (get_accessible_text_clip_type): internal conversion method.
1265 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1267 * registryd/deviceeventcontroller.c:
1268 (spi_dec_mouse_check):
1269 Improved behavior for mouse:abs events
1270 [same granularity as mouse:rel events, and no
1271 events when mouse is idle].
1273 2002-12-16 Michael Meeks <michael@ximian.com>
1275 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1277 * libspi/stateset.c (state_spi_to_atk): split out
1278 ( fix several remote array bounds nasties )
1279 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1280 (impl_remove): make safe from array bounds issues.
1281 (spi_atk_state_from_spi_state): impl.
1283 * libspi/stateset.h (spi_state_set_cache_is_empty):
1284 add a set of wrapper defines to get layering right.
1286 * cspi/spi_accessible.c: update state set stuff to
1289 2002-12-14 Michael Meeks <michael@ximian.com>
1291 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1292 to avoid 2 roundtrips to the registry per key event
1293 (spi_atk_bridge_key_listener): upd.
1294 (deregister_application): release the dec.
1296 * registryd/registry.c (notify_listeners_cb):
1297 bin lots of re-enterant complexity - we no longer
1298 do a round-trip bonobo ref here, ensure that a single
1299 listener's exception failure won't poison all other
1301 (impl_registry_notify_event): bin obvious memory leak.
1303 2002-12-13 Michael Meeks <michael@ximian.com>
1305 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1306 init the ev so the error is meaningful.
1307 (spi_atk_bridge_key_listener): ditto.
1309 * cspi/spi_main.c (cspi_ev): init the ev so we start
1310 with a clean slate, otherwise the first exception
1311 kills us completely.
1313 * cspi/spi_text.c (get_accessible_text_boundary_type):
1314 add a fallthrough for no warnings.
1316 * cspi/spi_registry.c: prune unused warnings.
1318 * cspi/spi_main.c (cspi_object_take): fix
1319 mind-blowing brokenness ( by watching the compile
1322 * cspi/spi_accessible.c (Accessible_getStateSet):
1323 re-impl. to use an AtkStateSet.
1324 (spi_state_type_from_accessible_state),
1325 (init_state_table): bin these.
1327 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1329 (atk_state_set_from_accessibility_state_set): here.
1331 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1332 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1333 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1334 (AccessibleStateSet_add, AccessibleStateSet_remove),
1335 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1336 (AccessibleStateSet_isEmpty): re-write to use a local
1339 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1341 * configure.in: Revved to 1.1.7 (new keymask vals).
1343 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1345 * libspi/keymasks.h:
1346 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1348 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1351 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1352 to compare two CORBA_TypeCodes.
1353 (cspi_internal_event_add): Silence warning from FORTE compiler.
1355 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1356 avoid implicit declaration of functions.
1358 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1360 * atk-bridge/bridge.c:
1361 (spi_atk_bridge_init_event_type_consts): Store signal id for
1362 active-descendant-changed signal.
1363 (spi_atk_register_event_listeners): Add signal listener for
1364 active-descendant-changed signal,
1365 (spi_atk_bridge_signal_listener): Move code in function
1366 spi_atk-signal_emit_event() into this function.
1367 Add support for active-descendant-changed
1368 Update support for child-changed signal.
1369 (spi_bridge_window_event_listener): Silence warning.
1371 * libspi/spi_private.[ch]:
1372 (spi_init_any_object): Change second parameter from CORBA_Object to
1374 Omit call to CORBA_Object_duplicate().
1375 Set CORBA_any's _value to CORBA_Object*.
1377 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1383 (AccessibleEvent_ref, AccessibleEvent_unref):
1384 New methods, for persisting an event outside the emission context.
1385 Must be used if the new accessor methods are to be called
1386 outside of the event listener's callback.
1388 * cspi/bonobo/cspi-bonobo.c:
1389 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1390 as second parameter instead of NULL, so we can call
1391 cspi_check_ev afterwards.
1394 (cspi_object_take): New internal method,
1395 converts a CORBA_Object reference to a hard ref on
1396 an Accessible if possible, returning NULL if the object
1397 reference is invalid or an Accessible * otherwise.
1400 (AccessibleEvent_ref):
1401 Increment the event's internal private refcount, and
1402 add the event's internal struct to an internal cache
1403 if it's not already there.
1404 (AccessibleEvent_unref):
1405 Decrement the event's refcount and remove it from
1406 the cspi event cache if refcount==0.
1407 (cspi_event_compare): New private method.
1408 Compares two event structs via their ids. Used
1410 (cspi_internal_event_lookup): New private method.
1411 (cspi_internal_event_check): New private method,
1412 a 0-order sanity check for events to make sure their
1413 private data is intact.
1414 (cspi_internal_event_add, cspi_internal_event_remove):
1415 New private methods for managiing the event cache.
1417 * cspi/bonobo/cspi-bonobo-listener.c:
1419 Initialize the new private data elements (id, magic, ref_count).
1421 * atk-bridge/bridge.c:
1422 (spi_atk_bridge_signal_listener):
1423 Fixed bug #100530, passing wrong params to emission func.
1425 * registryd/deviceeventcontroller.c:
1426 (spi_dec_button_update_and_emit):
1427 Fixed type in mask bit operations; fix for #99799.
1429 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1431 Removed some of the more dangerous workarounds from
1432 previous commit; they are only needed by GOK, which
1433 in reality should be using another method to accomplish
1434 the goals. So on reconsideration some of the workarounds
1435 need to be reverted:
1437 * registryd/deviceeventcontroller.c:
1438 (spi_keycodes_contain, spi_dec_init_keycode_list):
1439 Removed these methods, used only by a nasty hack to try
1440 and detect whether a key synthesis should be allowed
1441 to reset the XKB latch state or not. This code was only
1442 required to work around an interaction between GOK,
1443 button events, and XKB.
1444 (impl_generate_key_event):
1445 Removed hack at end of key generation that tried to
1446 "do the right thing" if XKB latch keys were generated
1447 in the midst of button press/release pairs.
1450 Added a check for HAVE_XINPUT. Not normally used yet.
1452 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1454 Workarounds and fixes for mouse event/XKB interaction.
1456 * registryd/deviceeventcontroller.c:
1457 (spi_keycodes_contain, spi_dec_init_keycode_list):
1458 New internal methods.
1459 (spi_dec_set_unlatch_pending):
1460 Split the method that tells XKB to expect an
1461 unlatch (and revert it) out of the rest of the
1462 event handling code. This method is called by the
1463 two mouse event handlers (the poll and the filter).
1464 (spi_dec_update_and_emit, spi_dec_mouse_check):
1465 New methods split from spi_dec_poll_mouse_moved.
1466 The second one is now called from inside the filterFn
1467 when an XKB delatch event is received, to determine
1468 whether to revert the delatch or not.
1469 (spi_poll_mouse_moved): Refactor; also we can now
1470 properly handle the case where multiple button states
1471 have changed between polling cycles and we didn't get
1472 notified due to another client's grab.
1474 Synchronize the server while handling an XKB notification.
1475 Ugly, but apparently necessary to avoid nasty races.
1476 Check the mouse state on receipt of an XKB latch change,
1477 to decide whether to revert the latch or not. (Latches are
1478 reverted if there is an immediately preceding mouse button
1479 event that a client has consumed, in which case we don't want
1480 the user to see the side-effect of the event).
1481 (spi_device_event_controller_forward_mouse_event):
1482 Check for modifier events and fire before resetting mouse_mask_state,
1483 prevents losing modifier events.
1485 (impl_generate_keyboard_event):
1486 If we've just generated a keyboard event for a non-shift key,
1487 we don't want to revert the pending XKB latch.
1488 Otherwise, check the modifier state (via a call to
1489 spi_dev_mouse_check) and set the relatch mask to
1490 that state before returning.
1492 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1495 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1498 * atk-bridge/bridge.c:
1499 (spi_atk_register_event_listeners):
1500 Don't re-register for ATK events if the registry has died
1501 and the app needs to re-register; the ATK listeners are in
1502 process and doing so will cause duplicate emission.
1504 * registryd/deviceeventcontroller.c:
1505 (spi_poll_mouse_moved):
1506 Reformat the source, detect and emit multiple button-change
1507 events (i.e. if multiple buttons have changed between poll
1509 Add code to detect mouse-down events even when the pointer
1510 is grabbed; workaround for GOK bug 98420.
1511 (spi_controller_register_with_devices):
1512 Call XTestGrabControl with 'impervious' flag set to True,
1513 allows us to synthesize events and query the pointer even during
1514 an active grab by another client.
1515 (spi_device_event_controller_forward_mouse_event):
1516 Set the mouse_mask_state to the mouse_button_state from
1517 the intercepted event, to synchronize the grab listener with
1520 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1522 * cspi/spi_accessible.c:
1523 (AccessibleRole_getName):
1524 Added necessary strings for making this (deprecated)
1525 method work with the new role types.
1526 (init_role_table, role_table):
1527 Added definition of SPI_ROLE_APPLICATION.
1529 * libspi/spi-roletypes.h:
1530 Added SPI_ROLE_APPLICATION.
1532 * idl/Accessibility_Role.idl:
1533 Added ROLE_APPLICATION.
1535 * docs/reference/cspi/at-spi-cspi-decl.txt:
1536 Added SPI_ROLE_APPLICATION to docs.
1538 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1540 * cspi/spi_accessible.c
1541 (cspi_init_role_table): Do not write beyond end of role_table.
1542 (Accessible_getRole): Use correct type for value returned by
1543 Accessibility_Accessible_getRole().
1545 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1546 beyond end of role_table. (This fixes bug #98269)
1548 * libspi/application.c: Add include file spi-private.h for
1549 definition of spi_init_any_nil.
1551 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1555 * libspi/spi-private.h:
1556 Added DGB() macro, and extern int _dbg declaration.
1558 * registryd/registry.c:
1559 (definitions) storage for _dbg.
1560 (spi_registry_init):
1561 Get environment variable "AT_SPI_DEBUG".
1562 (spi_registry_set_debug):
1563 New method, to initialize _dbg value.
1564 (spi_listener_struct_new, spi_registry_object_finalize):
1565 (notify_listeners_cb):
1566 Changed fprintfs to use DBG and g_warning().
1568 * registryd/deviceeventcontroller.c:
1569 (_deregister_keygrab, spi_controller_register_device_listener):
1570 Changed debug/warning messages to use DBG macro.
1572 * libspi/listener.c:
1573 (impl_notify_event):
1574 Changed warning messages to use DBG macro and g_warning().
1576 * atk-bridge/bridge.c:
1577 (atk_bridge_init, spi_atk_bridge_get_registry):
1578 (spi_atk_bridge_exit_func):
1579 (spi_atk_bridge_property_event_listener):
1580 Changed status, warning, and error messages to use
1581 g_warning, g_message, and DBG macros.
1584 Read the state of the AT_SPI_DEBUG environment variable
1585 and set a local '_dbg' accordingly.
1587 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1589 FIXES for 98836, 98842, other bugs.
1592 Revved to 1.1.4, interface-age=4, binary-age=4.
1594 * registryd/deviceeventcontroller.c:
1596 Fixed crasher bug in last_mouse_pos initialization.
1598 * registryd/registry.c:
1599 (desktop_add_application, desktop_remove_application):
1600 Added (and then commented out) some support for
1601 object context marshalling. [TODO]
1603 * atk-bridge/bridge.c:
1604 (spi_atk_bridge_event_context_create):
1605 Commented out object context creation until it can
1606 be properly tested and debugged.
1608 * registryd/registry.c:
1609 (impl_registry_notify_event):
1610 Fixed crasher bug, we were calling
1611 spi_re_entrant_list_foreach () with an empty list.
1613 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1615 * idl/Accessibility_Action.idl:
1616 * idl/Accessibility_Component.idl:
1617 * idl/Accessibility_Desktop.idl:
1618 * idl/Accessibility_Event.idl:
1619 * idl/Accessibility_Hyperlink.idl:
1620 * idl/Accessibility_Image.idl:
1621 * idl/Accessibility_Relation.idl:
1622 * idl/Accessibility_Selection.idl:
1623 * idl/Accessibility_State.idl:
1624 * idl/Accessibility_Value.idl:
1625 Updated unimplemented slot count to minimum of
1626 four for all interfaces, for ABI freeze.
1628 * idl/Accessibility_EditableText.idl:
1629 * idl/Accessibility_Text.idl:
1630 Updated unimplemented slot count to six
1633 * idl/Accessibility_Registry.idl:
1634 Updated unimplemented slot count to six
1635 (also for DeviceEventController),
1638 * idl/Accessibility_Table.idl:
1639 Updated unimplemented slot count to eight,
1642 * idl/Accessibility_Event.idl:
1643 Added CORBA_any "any_data" member to Event struct.
1645 * idl/Accessibility_Event.idl:
1646 Added CORBA_any "any_data" member to Event struct.
1648 * atk-bridge/bridge.c:
1650 atk_signal_text_changed, atk_signal_child_changed,
1651 signal ids queried from gtype system.
1652 (AtkBridgeEventContextType): New enum.
1653 (AtkBridgeEventContextData): New struct.
1654 (AtkBridgeEventContext): New struct.
1655 (atk_bridge_init_event_type_consts):
1656 New method, initializes type contants for comparison
1657 prior to emit_eventv.
1658 (atk_bridge_event_context_init): New method,
1659 initializes a CORBA_any from an AtkBridgeEventContext.
1660 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1661 initialize the event.any_data struct.
1662 (spi_atk_bridge_event_context_create): New method,
1663 creates an AtkBridgeEventContext from signal/event info.
1664 (spi_atk_bridge_event_context_free): New method.
1665 (spi_atk_emit_eventv): Changed to take an
1666 AtkBridgeEventContext parameter. We now initialize
1667 the event.any_data member prior to notifying the
1668 Registry, via the AtkBridgeEventContext.
1669 (spi_atk_bridge_property_event_listener):
1670 (spi_atk_bridge_state_event_listener):
1671 Match emit_eventv signature.
1672 (spi_atk_bridge_object_event_listener):
1673 Match emit_eventv signature, and create an
1674 event context from the event details.
1675 Free the event context afterwards.
1676 (spi_atk_bridge_window_event_listener):
1677 Create an event context, pass it to the
1681 (AccessibleEvent_getContextString):
1682 (AccessibleEvent_getContextObject):
1683 New methods, allow query of AccessibleEvent objects
1684 for more context details (via the "any_data" member
1685 of the Event struct, above).
1688 Definitions for AccessibleEvent_getContextString
1689 and AccessibleEvent_getContextObject.
1691 * cspi/spi_listener.h:
1692 (InternalEvent): New struct.
1695 (AccessibleEvent_getContextString):
1696 (AccessibleEvent_getContextObject):
1697 Implementations of new methods, for obtaining
1698 additional context information from some event types.
1700 * cspi/spi_registry.c:
1701 (SPI_registerGlobalEventListener):
1702 Added mention of active-descendant-changed event in docs.
1704 * cspi/cspi-bonobo-listener.c:
1706 Marshal the any into the AccessibleEvent via
1709 * libspi/spi-private.h:
1710 #include <orbit/orbit.h>
1712 (spi_init_any_string):
1713 (spi_init_any_object):
1714 New convenience function declarations.
1718 (spi_init_any_string):
1719 (spi_init_any_object):
1720 New convenience function implementations.
1722 * registryd/deviceeventcontroller.c:
1723 (spi_poll_dec_mouse_moved):
1724 (spi_device_event_controller_forward_mous_event):
1725 Initialize any_data member of event.
1726 (spi_deregister_controller_device_listener):
1727 Fix incorrect param pass which was preventing deregistration.
1729 * registryd/registry.c:
1730 (desktop_add_application):
1731 (desktop_remove_application):
1732 Add object data to event's any_data before dispatch.
1734 Fix for error messages from GAIL.
1736 * test/event-listener-test.c:
1737 Test new ContextString and "any_data" API:
1738 (report_text_event): New method query and output context string.
1739 (main): register a new text listener with report_text_event
1742 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1744 Fixes for bugs 98127 and 97914.
1745 * cspi/spi-roletypes.h:
1746 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1748 * cspi/spi-statetypes.h:
1749 Added SPI_STATE_MANAGES_DESCENDANTS
1751 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1752 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1753 * cspi/spi_accessible.c:
1754 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1755 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1756 Accessibility_STATE_MANAGES_DESCENDANTS
1757 * libspi/accessible.c:
1758 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1759 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1760 As requested by Bill, I also cleaned up the alignment.
1761 * libspi/relation.c:
1762 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1763 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1764 * libspi/stateset.c:
1765 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1766 Accessibility_STATE_MANAGES_DESCENDANTS
1767 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1768 Document changes reflecting modifications to roles.
1769 * docs/reference/cspi/tmpl/spi_relation.sgml:
1770 Document changes reflecting modifications to relations.
1771 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1772 Document changes reflecting modifications to states.
1774 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1777 Revved to 1.1.3, interface-age=3, binary-age=3.
1778 Added REBUILD macro.
1781 Removed accessx-gui from the tests, since we have a nice
1782 keyboard accessibility capplet now :-)
1784 * test/keysynth-demo.c:
1785 (increment_scan): removed do-nothing default: case,
1788 * test/visual-bell.c:
1789 (main) : removed do-nothing default: case,
1792 * cspi/spi_action.c:
1793 (AccessibleAction_getKeyBinding_):
1794 Documented keybinding string format.
1798 (AccessibleText_getAttributes):
1799 Documented the text attribute string format.
1800 It's changed to use semicolon delimiters also,
1801 to prevent clashes with CSS attributes, but the old
1802 trick of looking for ", " strings will still work
1803 (as unreliably as ever). Fix for bug related to 97916.
1806 Include <cspi/bonobo/cspi-bonobo-listener.h>
1807 Fixes build warning.
1808 (SPI_freeAccessibleKeySet):
1809 (AccessibleKeystrokeListener_addCallback):
1810 (AccessibleKeystrokeListener_removeCallback):
1811 Modify to use AccessibleDeviceListener API internally,
1812 instead of AccessibleKeystrokeListener.
1814 * idl/Accessibility_Event.idl:
1815 Added two more empty slots to EventListener (for a total of four).
1817 * idl/Accessibility_Accessible.idl:
1818 Added four empty slots to Accessible interface.
1820 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1822 * idl/Accessibility_Registry.idl:
1823 (KeyEventType, EventType):
1824 Marked KeyEventType as deprecated; it duplicates
1825 functionality of EventType, which has been extended to
1826 include Mouse-button events.
1827 (KeyEventTypeSeq): defined in terms of EventType.
1828 (registerDeviceEventListener, deregisterDeviceEventListener):
1829 New methods, for managing listeners to device events,
1830 which potentially may consume them.
1833 Added definition for AccessibleDeviceListener.
1835 * cspi/spi-listener.h:
1836 (enum AccessibleDeviceEventType):
1837 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1838 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1839 for backwards compat.
1840 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1841 and typedef'd AccessibleKeystroke to it for back-compat.
1842 (AccessibleDeviceListenerCB):
1843 New function prototype typedef.
1846 (AccessibleDeviceEventMask): New typedef.
1847 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1848 (AccessibleKeyMaskType):
1849 Set equivalent to AccessibleModifierMaskType for back-compat.
1850 (SPI_createAccessibleKeystrokeListener):
1851 (AccessibleKeystrokeListener_unref):
1852 Deprecated in favor of equivalent (better-named) new API below..
1853 keystroke listeners are like all device listeners.
1854 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1855 New API names for old features :-).
1856 (AccessibleDeviceListener_addCallback):
1857 (AccessibleDeviceListener_removeCallback):
1858 (SPI_registerDeviceEventListener):
1859 (SPI_deregisterDeviceEventListener):
1863 (SPI_createAccessibleKeystrokeListener):
1864 Use new preferred API, cspi_device_listener_new() and
1865 cspi_device_listener_add_cb().
1866 (AccessibleKeystrokeListener_removeCallback):
1867 Use new preferred API, cspi_device_listener_remove_cb().
1868 (AccessibleKeystrokeListener_unref):
1869 Use new preferred API, cspi_device_listener_unref().
1870 (SPI_createAccessibleDeviceListener):
1871 (AccessibleDeviceListener_addCallback):
1872 (AccessibleDeviceListener_removeCallback):
1873 Implementation of new API.
1875 * cspi/spi_registry.c:
1876 (SPI_registerDeviceEventListener):
1877 (SPI_deregisterDeviceEventListener):
1878 Implementation of new API. Fixed memory leak and removed need to
1879 allocate EventTypeSeq (thanks Michael for catching this).
1880 Squashed a wayward CORBA_exception_free that shouldn't get called.
1882 * cspi/bonobo/cspi-bonobo-listener.c:
1884 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1885 (cspi_key_event): renamed to cspi_device_event().
1886 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1887 Extended to handle mouse button events as well as key events.
1888 (CSpiKeystrokeListener):
1889 Class superceded by CSpiDeviceListener.
1890 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1891 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1893 * cspi/bonobo/cspi-bonobo-listener.h:
1894 (CSpiKeystrokeListener):
1895 Class superceded by CSpiDeviceListener.
1896 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1897 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1899 * libspi/Makefile.am:
1900 Replaced keystrokelistener.h and keystrokelistener.c
1901 with devicelistener.h and devicelistener.c; keystrokelisener.h
1902 stub retained for back-compat.
1904 * libspi/keystrokelistener.c:
1908 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1910 * registryd/deviceeventcontroller.c:
1911 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1912 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1913 (DEControllerPrivateData): Added xkb settings data.
1914 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1915 button release events (which can't be captured via XGrabButton).
1916 Don't dispatch via the 'normal' event mechanism if the device event was
1918 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1919 Handle the typeseq data in its new location (see above).
1920 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1921 New methods, for "generic" device listeners.
1922 (spi_controller_register_device_listener):
1923 Now handle mouse event listeners as well as key listeners.
1924 (spi_controller_notify_mouselisteners):
1925 New internal method.
1926 (spi_device_event_controller_forward_mouse_event):
1927 Now we notify mouse device listeners as well as generating the
1928 non-consumable "mouse:" events.
1930 We must check and restore the XKB
1931 modifier map if we consume the event, since the act of triggering
1932 a mouse event will normally reset the XKB latch. This is required for
1934 (spi_controller_register_with_devices):
1935 Load the XKB settings when registering, and register for XKB
1936 state notify events.
1937 (spi_key_eventtype_seq_contains_event):
1938 Renamed spi_eventtype_seq_contains_event, since it's used
1939 internally for all device event types now.
1940 (spi_key_event_matches_listener):
1941 Uses spi_eventtype_seq_contains_event now.
1942 (spi_device_event_controller_object_finalize):
1943 Free the private data and the XkbKeyboard struct.
1944 (impl_register_device_listener, impl_deregister_device_listener):
1945 Implementation of new IDL.
1946 (spi_deregister_controller_device_listener):
1947 New internal method.
1948 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1949 More efficient implementation, we don't have to create a new
1950 XkbControls structure every time we query.
1951 (spi_device_event_controller_class_init):
1952 Initialize the epv entries for the new IDL. Assign the
1953 "spi-dec-private" quark.
1954 (spi_device_event_controller_init):
1955 Initialize the private data.
1956 (spi_device_event_controller_forward_key_event):
1957 Removed a bogus CORBA_exception_free() call.
1959 * registryd/deviceeventcontroller.h:
1960 Replaced inclusion of keystrokelistener.h with
1963 * test/event-listener-test.c:
1964 (report_mouse_event):
1967 Added mouse-event device listener.
1969 * test/test-simple.c:
1970 (create_test_window):
1971 Fixed regression (we were instantiating a GtkRange,
1972 which is now an abstract class). Also fixed to match
1973 existing AtkRole names, this seems to have changed in ATK
1974 awhile ago; too late now I think, and the new
1975 mechanism is at least elegant and consistent with the
1976 glib enum "nick" APIs.
1978 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1980 * idl/Accessibility_Relation.idl:
1981 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1982 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1983 * idl/Accessibility_Role.idl:
1984 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1985 * idl/Accessibility_State.idl:
1986 add STATE_MANAGES_DESCENDANTS
1987 * test/event-listener-test.c:
1988 Added a listener for active-descendant events.
1990 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1992 * atk-bridge/bridge.c
1993 (atk_bridge_init): If application is Bonobo component wait until top
1994 level is added before registering
1995 (spi_atk_bridge_do_registration): New function which contains code,
1996 formerly in atk_bridge_init, to do application registration.
1997 (spi_atk_bridge_toplevel_added): Signal called when top level
1998 added to Bonobo component
2000 This fixes bug #83134.
2002 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2004 * registryd/deviceeventcontroller.c
2005 Fixed compilation error caused by calling gettimeofday()
2008 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2013 Added template for HAVE_XKB.
2016 Changes to check for XKB, and to set the HAVE_XKB #define if it
2019 * libspi/listener.c:
2020 ()impl_notify_event): Make failure to get event source name
2023 * registryd/deviceeventcontroller.c:
2024 (#include): include X11/XKBlib.h.
2025 (DEControllerPrivateData) : New struct.
2026 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2028 (dec_synth_keycode_press) (dec_synth_keycode_release):
2029 New methods; split the key synthesis code into these methods.
2030 They check XKB settings before determining the "time" values to
2031 pass to Xtest; this fixes bug #95828.
2032 (impl_generate_keyboard_event): Changed to use methods above,
2033 instead of callng Xtest directly.
2034 (spi_device_event_controller_init): Initialize new privae struct s
2036 (spi_device_event_controllr_object_finalize):
2037 Free the (new) private data.
2039 * registryd/deviceeventcontroller.h:
2040 Add new gpointer to end of struct data.
2042 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2045 Incremented revision to 1.1.2, SONAME is still '.so', library
2046 extensions are ".so.0.0.2".
2048 * registryd/deviceeventcontroller.c:
2049 FIXES FOR #93592 and #95940.
2050 (statics): renamed mouse_button_state to mouse_mask_state,
2051 added key_modifier_mask.
2052 (spi_dec_poll_mouse_moved):
2053 Added key modifier checks, and emit "keyboard:modifiers"
2054 events when the key modifiers currently in use change.
2055 Also generate "mouse:abs" events periodically, even if the mouse
2056 is stationary (should we?).
2057 Alternatively we could generate "mouse:abs" events for either all
2058 mouse movements, or every 'nth' mouse movement, or at the
2059 beginning and end of every "active" mouse period.
2061 * test/event-listener-test.c:
2062 (main): Added listener for "keyboard:modifiers" events.
2064 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2066 * libspi/keymasks.h:
2067 Added key mask #defines for mouse buttons; e.g.
2068 SPI_KEYMASK_BUTTON1, etc.
2071 Incremented dependency on ATK to version 1.1.0. (This dependency
2072 is probably premature but will soon be real enough).
2074 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2076 * libspi/hyperlink.[ch]
2077 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2078 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2081 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2086 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2088 * registryd/deviceeventcontroller.c
2089 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2090 events to be ignored.
2091 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2092 keyboard_mode so that XAllowEvents() can be called.
2096 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2098 * cspi/spi-accessible.c: Correct names of roles returned by
2099 AccessibleRole_getName(). Fixes bug #95055.
2101 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2103 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2106 * registryd/registry.c
2107 (desktop_remove_application: Write diagnostic message to stderr for
2110 (impl_accessibility_registry_deregister_global_event_listener):
2111 Correct size of lists array. This addresses bug #94555).
2113 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2115 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2118 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2120 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2123 * registryd/registry.c (impl_registry_notify_event): Remove
2124 unnecessary call to parser_event_type().
2126 * docs/reference/cspi/tmpl/spi_component.sgml:
2127 Add reference to SPI_LAYER_WINDOW.
2129 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2131 * registryd/registry.c
2132 (desktop_add_application): Remove leak.
2133 (desktop_remove_application): Remove leak.
2134 (parser_event_type): Remove leak.
2136 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2138 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2139 bogus call to CORBA_string_dup(). Also removed unnecessary
2140 g_string_dup/g_free calls.
2142 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2144 * registryd/deviceeventcontroller.c:
2145 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2147 * test/event-listener-test.c:
2148 main: commented out three redundant listeners, to reduce output
2149 noise. (They still are potentially useful for testing).
2152 2002-09-13 Michael Meeks <michael@ximian.com>
2154 * Update all the copyrights to include Ximian.
2156 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2158 * cspi/spi.h: add SPI_LAYER_WINDOW.
2160 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2161 add Accessibility_LAYER_WINDOW case.
2163 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2165 * libspi/component.c: (impl_accessibility_component_get_layer):
2166 add ATK_LAYER_WINDOW case.
2168 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2170 * configure.in: incremented micro version.
2172 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2174 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2177 Clarified and reworded our commit policy.
2180 Started an API "todo" addition list for 2.2.
2183 (impl_getSelection):
2184 Free char pointer from atk_text_get_selection, which was being leaked.
2186 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2189 Small revision to author acknowledgement.
2191 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2193 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2194 If signal has detail add it to the type of the event.
2197 2002-08-12 Michael Meeks <michael@ximian.com>
2199 * test/test-simple.c (global_listener_cb): bin bogosity.
2200 (test_keylisteners): disable, still doesn't work reliably,
2201 certainly not on my system anyway.
2203 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2204 don't leak a reference on the DEC. This round-trip
2205 fetching of the DEC per keystroke sucks, it should be
2208 * cspi/spi-private.h,
2209 * cspi/cspi-lowlevel.h,
2210 * cspi/bonobo/cspi-bonobo-listener.[ch],
2211 * cspi/bonobo/cspi-bonobo.c: get the copyright
2212 notices better - there is still a large amount of
2213 work in at-spi falsely attributed solely to Sun.
2215 * cspi/spi_main.c (cspi_object_ref): kill bogus
2216 hash lookup, just increment the ref.
2217 (SPI_freeString): make explicit the fact that we
2218 handle NULL strings just fine.
2219 (report_leaked_ref): obey coding standards.
2220 (cspi_object_hash, cspi_object_equal): kill retval.
2221 (cspi_object_release): only release if not on loan.
2222 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2223 (cspi_object_borrow, cspi_object_return): impl.
2225 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2226 use cspi_object_borrow / return.
2228 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2230 * cspi/bonobo/cspi-bonobo-listener.c:
2232 Don't call cspi_oject_new() because this is creating a new Accessible
2233 every single time that an event is fired. This causes ATs like at-poke
2234 to nolonger recognise the source of the event and thus ignore it.
2235 Re-use the object from the cache, ref it and then unref it after the
2236 listeners have been called.
2238 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2240 * test/event-listener-test.c:
2241 Added command-line options to disable mouse events (m) and
2244 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2246 * configure.in: Update required versions of ATK, GTK+ and GAIL
2248 * cspi-1.0.pc.in: Add dependency for X include files
2251 * cspi/bonobo/Makefile.am:
2252 Add $(X_CFLAGS) so that X include files
2253 are picked up even if not in standard place (bug #71686)
2255 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2257 * registryd/deviceeventcontroller.c: fix for 84261
2258 (spi_dec_mouse_moved):
2259 Added test of mouse button mask, so that we can detect mouse
2260 button release. Unfortunately we can't otherwise detect mouse
2261 button release events without consuming the mouse press event,
2262 because of the way XGrabButton works. This means that our mouse
2263 release events have a latency dependent on the polling period
2264 while the mouse button is down. At least in this case we only
2265 have to poll while the button is down, and not at other times.
2266 If the button masks don't match with what the last press event
2267 reported, we report the appropriate button release event.
2268 (spi_dec_ungrab_mouse):
2269 New method (not yet called).
2270 (spi_device_event_controller_forward_mouse_event):
2271 New method, sends mouse press event from GdkFilter.
2272 (spi_dec_init_mouse_listener):
2273 Added code to call XGrabButton, redirecting mouse button events to
2274 the root window and our Gdk event loop.
2276 Added code to filter mouse button events, and reordered.
2278 * test/event-listener-test.c:
2280 Added registration for mouse events of type "mouse:button".
2282 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2284 * registryd/deviceeventcontroller.c: partial fix for 84261
2285 (spi_dec_poll_mouse_idle):
2286 New method, a timeout which checks to see if the mouse
2288 (spi_dec_poll_mouse_moving):
2289 A timeout to be called when mouse motion is underway.
2290 (spi_dec_poll_mouse_moved):
2291 A method which fires an event if the mouse has moved, and reports
2292 whether or not it did so.
2293 (spi_dec_init_mouse_listener):
2294 A method which sets up the timeouts above.
2295 (spi_device_event_controller_new):
2296 Now calls spi_dec_init_mouse_listener.
2298 * registryd/registry.c:
2299 (spi_registry_init):
2300 Now we initialize the device event controller when the registry is
2301 initialized, instead of waiting until a client has requested a key
2302 event notification; this is because we need the event controller
2303 for mouse events, but the mouse event registration API is a
2304 "registry" call and doesn't explicitly call the
2305 deviceeventcontroller.
2306 We now report mouse motion events with a 100 ms idle latency and
2307 a 20 ms granularity when motion is in progress.
2309 * test/event-listener-test.c:
2311 We now register the "detail listener" for events of type
2312 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2313 delivered only for the first mouse event received, and thereafter
2314 "mouse:abs" events are delivered.)
2316 * cspi/spi_registry.c:
2317 DOCS: Documented the above mouse event typestrings.
2319 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2321 Happy Summer Solstice...
2323 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2324 (spi_controller_notify_keylisteners):
2325 Changes to remove a listener from the listener list, freeing its
2326 open keygrabs, if a notification to that listener fails. This
2327 means that although a dead listener can continue to hold a passive
2328 keygrab, a maximum of one dispatch to such a listener can fail
2329 before the listener is removed from the list, thus the keygrab
2330 will be released on the next occurrence.
2331 As part of this fix:
2332 (spi_notify_keylisteners):
2333 Renamed to spi_controller_notify_keylisteners, as the controller
2334 instance must now be passed as an argument.
2335 The copied 'notify' GList is now a list of DEControllerKeyListener
2336 objects, since we need more than just the CORBA reference if a
2337 notify fails and we need to deregister the listener.
2338 (impl_notify_listeners_sync):
2339 (impl_notify_listeners_async):
2340 (spi_device_event_controller_forward_key_event):
2341 Modify use of notify_keylisteners in accordance with above
2343 (spi_deregister_controller_key_listener):
2344 New method introduced by refactoring, from
2345 impl_deregister_keystroke_listener.
2346 (impl_deregister_keystroke_listener):
2347 Call spi_deregister_controller_key_listener.
2348 (spi_key_listener_clone):
2349 New method to copy a key listner without doing a 'ref' on the
2350 remote object instance; used to create a notifier list.
2351 (spi_key_listener_data_free):
2352 New method, frees data without unreffing the source.
2354 (spi_key_listener_clone_free): new method.
2355 (spi_key_listener_free):
2356 refactored to call spi_key_listener_data_free.
2358 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2360 * registryd/registry.c: [fix for bug 86048]
2361 (notify_listeners_cb):
2362 Clear CORBA system exceptions which occur when notifying
2363 listeners, before returning to the source of the original event,
2364 since the event source doesn't care if the relayed notify failed.
2365 In other words, don't complain to the atk-bridge if the registry
2366 could not notify all its listeners, that's no fault of the
2367 application and thus should not appear to be an error from the
2368 application's perspective.
2370 * cspi/spi_main.c: [fix for bug 85980]
2372 Replaced use of bonobo_object_dup_ref with call to the wrapper
2373 method, csou_dup_ref (); this silences a compiler warning and
2374 provided more portability.
2376 Ping the registry before return, and restart if necessary.
2378 * cspi/bonobo/cspi-bonobo.c:
2380 New internal method.
2382 Fixed this method to return an object reference, as it should have
2385 * cspi/cspi-lowlevel.h:
2386 Added internal definition for cspi_ping() and fixed
2387 return type of cspi_dup_ref().
2390 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2392 * atk-bridge/bridge.c: [fix for bug 85305]
2393 (spi_atk_bridge_register_application):
2394 New method where the initial application registry calls have been
2395 moved; it allows an application to re-register in response to
2396 certain error conditions (such as a registry restart, see below).
2398 Moved some initialization code to the method
2399 spi_atk_bridge_get_registry, below.
2400 (spi_atk_bridge_get_registry):
2401 New, private accessor function for the Accessibility_Registry
2402 instance. If the registry has not been started before, or has
2403 died (as detected by failure of a CORBA exception), it is
2404 restarted before return, and spi_atk_bridge_register_application
2405 is called again to register with the new bridge instance.
2406 (spi_atk_emit_eventv):
2407 Set registry_died on error; use spi_atk_bridge_get_registry () to
2408 access the registry.
2410 * registryd/registry.c:
2411 (impl_accessibility_registry_register_global_event_listener):
2412 Set listener's event_type_quark to etype.minor instead of
2413 etype.major (fix for bug 84856).
2415 * test/event-listener-test.c:
2416 (report_detail_event):
2417 Change the output string so that user/tester can tell that the
2418 'detail listener' was called instead of the 'generic listener'.
2420 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2422 Fixes for bugs 84900, 84908, 84897, 84898.
2427 Revved version to 1.1.0
2428 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2429 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2431 * idl/Accessibility_Registry.idl:
2432 (EventListener::notifyEvent):
2433 Removed 'oneway' directive after extensive consulation with
2434 ORBit2 team and others. This means also that unref() of the event
2435 source can and should be done synchronously after emission, rather
2436 than remotely in the client, after servicing the notify call on
2439 NOTE: This change speeds up listener performance considerably, but
2440 introduces new latency on the application side. We may want to
2441 add an event queue to the atk-bridge.
2443 * atk-bridge/bridge.c:
2444 (spi_atk_bridge_focus_tracker):
2445 Do a local unref() on the event source after emission.
2447 * registryd/registry.c:
2448 (desktop_remove_application):
2449 Do an unref() on the event source after emission.
2450 (desktop_add_application):
2451 Do an unref() on the event source after emission.
2452 (notify_listeners_cb):
2453 When relaying an event, don't automatically add the event source
2454 to the local object cache, just CORBA_dup it instead. Likewise,
2455 if this method reenters, release the ref rather than calling
2457 (impl_registry_notify_event):
2458 No longer call remote unref() on the event source after dispatch.
2460 * libspi/eventlistener.c:
2461 (impl_accessible_event_notify_event):
2462 Removed remote unref ()
2464 * cspi/bonobo/cspi-bonobo-listener.c:
2466 We now call cspi_object_new() instead of cspi_object_add() on
2467 receipt of an event; thus we only have an implicit object ref
2468 while the cspi_event method is being executed. If we need to keep
2469 a reference to the object, the listener must call ref() on the
2470 object. Thus also we don't need to call cspi_object_unref() after
2471 invoking the listener callbacks in this method.
2475 New internal API for creating a new cspi object, without adding it
2476 to the object cache.
2478 Now uses cspi_object_new() to create the cspi object instance.
2480 Now checks to see if the object is in the internal object cache,
2481 and adds it if necessary before incrementing its refcount (note
2482 that new objects are added with a refcount of 1).
2483 (report_leaked_ref):
2484 New method which gives some information on leaked object instances
2485 if leak detection is turned on.
2487 * test/event-listener-test.c:
2488 (timing_test_event):
2489 New method, used for testing event delivery timing for special
2490 events of type "object:test". It reports elapsed time and
2491 events/sec every 500 events.
2493 Added a new listener, 'test listener', to check timing of event
2494 receipt as noted above.
2496 Added some timing output here also, reports elapsed time every 100
2499 * test/stress-test.c:
2500 Emit events of type "object:test", for use with "event-listener-test".
2502 * test/test-simple.c:
2503 (global_listener_cb):
2504 Call Accessible_ref() on the event source before calling
2505 validate_accessible, since the validation process does pointer
2506 comparisons on the event source, meaning that the event source
2507 needs to be added to the local object cache first. Any use of
2508 such pointer comparisons between Accessible objects requires that
2509 the caller hold an explicit reference to those objects.
2510 We also must therefore call Accessible_unref() when leaving this method.
2512 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2514 * registryd/deviceeventcontroller.c:
2515 (spi_controller_update_key_grabs):
2516 Fix for #84735, subsequent keygrab listeners not informed of
2517 registration failure.
2520 (spi_base_construct):
2521 Add an assertion on construct, to make sure the GObject passed in
2522 is really a GObject.
2524 Explicitly initialize object->gobj pointer to NULL;
2526 * cspi/bonobo/cspi-bonobo-listener.c:
2527 (cspi_object_add_ref):
2528 New method, can specify whether to dup-ref a bonobo object passed
2529 in if it's newly added to the object cache.
2531 Now calls cspi_object_add_ref with second param of "FALSE". This
2532 prevents us from doing a pointless dup-ref followed by
2533 release-unref for all those cases where the object is already in
2534 our object cache (fix for #85205).
2536 * atk-bridge/bridge.c:
2537 (spi_atk_bridge_idle_init):
2538 Removed this method, we don't need to initialize in an idle
2541 Changed to call spi_atk_register_event_listeners directly, not via an
2542 idle handler. (fix for #81139)
2543 (gnome_accessibility_module_shutdown):
2544 Removed conditional around deregistration of listeners, since we
2545 don't use the idle handler and thus have always registered when
2547 (spi_init_keystroke_from_atk_key_event):
2548 Changed references to Accessibility_KEY_PRESSED to
2549 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2551 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2553 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2558 * test/stress-test.c:
2561 (may have been an incomplete commit yesterday?)
2563 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2566 Added target for new stress-test.
2568 * test/stress-test.c:
2569 New test, sends 1000 focus notifies in quick succession.
2571 * test/key-listener-test.c:
2572 Now we report whether a keylistener registration
2573 request succeeded or failed.
2575 * test/event-listener-test.c:
2576 Uncommented some listeners which are now implemented.
2579 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2581 * registryd/deviceeventcontroller.c:
2582 (spi_controller_update_key_grabs):
2583 Fix for #82509, lack of failure notification when
2584 ALL_WINDOWS keygrabs fail due to XGrabKey
2585 failure: we synchronize the server when
2586 registering a passive grab, to make sure we get the
2587 error message before the call returns.
2589 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2591 * test/test-simple.c:
2593 Removed #ifdef KEY_IMPL_WORKS guards.
2594 (test_keylisteners):
2595 Removed #ifdef KEY_IMPL_WORKS guards.
2596 Fixed bug which was causing a hang waiting for a
2597 "press" event (which was already overwritten by a "release"
2598 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2600 Added code to set globals 'key_press_received' and
2601 'key_release_received'.
2604 Added section "1.1 API Proposed Additions" which
2605 lists API additions desired for at-spi-1.1 (only one so far).
2606 Updated TODO list a little.
2608 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2610 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2613 * configure.in: Revved to 1.0.0.
2615 * idl/Accessibility_Registry.idl:
2616 (registerKeystrokeListener):
2617 Added boolean return value.
2619 * registryd/registry.c:
2620 (notify_listeners_cb): Minor fix to debug output.
2622 * registryd/Accessibility_Registry.server.in.in:
2623 Revved version number in OAFIID to 1.0.
2625 * registryd/registryd.c:
2627 Use new OAFIID version.
2629 * cspi/bonobo/cspi-bonobo.c:
2631 Use new OAFIID version.
2637 * atk-bridge/bridge.c:
2639 Use new OAFIID version.
2641 * registryd/deviceeventcontroller.c:
2642 (impl_register_keystroke_listener):
2643 Added CORBA_boolean return value.
2644 (spi_controller_register_device_listener):
2645 Added gboolean return value.
2646 (spi_controller_register_global_keygrabs):
2647 Added gboolean return value.
2648 (spi_key_set_contains_key):
2649 Added implementation for many more control keys,
2650 for instance F1-F12, arrow keys, End, Home, Page_Up,
2652 [TODO: some still not implemented].
2654 * text/screen-review-test.c:
2655 (text_chunk_pad_string):
2656 New function: it provides mapping between coordinate
2657 positions of text chunks and character positions in the
2658 screen-review-line output string.
2659 (text_chunk_to_string):
2660 New function, calls text_chunk_pad_string with various
2661 pad/delimiter characters. Pushbuttons are delimited with
2662 square brackets, Frames with vertical 'pipe' lines, and
2663 other text with double quotes.
2664 (text_chunk_list_to_string):
2665 Calls new function text_chunk_to_string.
2666 (toplevel_composite):
2667 New function to composite layers CANVAS through
2668 POPUP in each toplevel (other layers are composited
2669 across toplevels, i.e. BACKGROUND and OVERLAY).
2670 (review_buffer_composite):
2671 Revise to use new methods.
2677 2002-05-31 Laszlo Peter <laca@sun.com>
2679 * configure.in: add the Xtst libdir to the runpath on Solaris,
2680 since it's not in the default library search path.
2682 2002-05-29 jacob berkman <jacob@ximian.com>
2684 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2686 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2688 * test/screen-review-test.c:
2689 (text_chunk_pad_string):
2690 Added method, which pads the string according to the
2691 text bounds of the chunk. It also takes a 3-character
2692 string as a param which indicates the characters to be
2693 used for start, padding, and end delimitation of the chunk.
2694 (text_chunk_to_string):
2695 Changed to use text_chunk_pad_string.
2697 * configure.in: Fixed bug in AC_OUTPUT that was
2698 causing path substitution in Accessibility_Registry.server
2701 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2703 * text/screen-review-test.c:
2704 (guess_string_clip):
2705 New method which attempts a best-guess at clipping
2706 text from components (like Java labels) which don't
2707 actually implement AccessibleText. This inaccurate
2708 clip is based on the assumption that the label is
2709 justified left-and-right, and monospaced.
2710 (text_chunk_get_clipped_string):
2711 We now call guess_string_clip() for text-containing
2712 components that don't implement AccessibleText.
2714 * test/screen-review-test.c:
2715 (review_buffer_get_text_chunk):
2716 We now pull "name" from labels if they do not implement
2717 AccessibleText (i.e. for Java labels).
2718 (get_screen_review_line_at):
2719 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2722 Replaceded AC_OUTPUT target
2723 registryd/Accessibility_Registry.server with
2724 registryd/Accessibility_Registry.server.in.
2726 * registryd/Accessibility_Registry.server.in:
2727 Removed (this is now a Makefile target).
2729 * registryd/Accessibility_Registry.server.in.in:
2730 Added (source for target above). We now use $(libexecdir) as
2731 prefix for the executable at-spi-registryd.
2733 * registry/Makefile.am:
2734 Now install at-spi-registryd into $(libexecdir), and build .server
2735 file with path (see above).
2737 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2739 * test/screen-review-test.c:
2740 (text_chunk_get_clipped_string):
2741 We now check to see if words fall within clip bounds
2742 before resorting to character-by-character clip bounds testing.
2744 * TODO: Added a section for "2.2 Proposed API Additions".
2746 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2748 * test/screen-review-test.c:
2750 Added a screen review benchmarking and test program to test
2753 * cspi/spi_accessible.c:
2755 Made some of the debug strings passed to cspi_check_ev a
2756 little more specific.
2758 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2760 * test/screen-review-test.c: Fix crashes in debug statements
2762 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2764 * test/screen-review-test.c: Added this file.
2766 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2768 * atk-bridge/bridge.c: changed "object:state-change" to
2769 "object:state-changed" to match docs.
2771 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2773 * atk-bridge/bridge.c: Hooked up state-change event details.
2775 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2777 * registryd/registry.c:
2778 Fixed quarking bug in event string parsing; now events with
2779 detail parameters get matched correctly to listeners.
2782 * util/idl/Magnifier.idl: remove.
2784 * util/*.[ch]: Remove.
2785 Magnification utilities and IDL are now in module gnome-mag.
2787 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2789 * registryd/deviceeventcontroller.c:
2790 Fixed bug in grab key conversion which was causing keycode grabs
2791 to be converted to AnyKey grabs.
2794 updated NEWS file to reflect recent spin-off of gnome-mag.
2796 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2798 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2799 busted AccessibleStateSet_compare. Removed redundant casts.
2801 * cspi/spi-action.c: Removed redundant casts.
2803 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2805 * cspi/spi_component.c: Fixed typos and casting error.
2807 * cspi/spi_editabletext.c: Removed redundant casts.
2809 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2811 * cspi/spi_hypertext.c: Eliminated redundant casts.
2813 * cspi/spi_image.c: Eliminated redundant casts.
2815 * cspi/spi_registry.c: Eliminated redundant casts.
2816 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2817 * cspi/spi_selection.c: Removed redundant casts.
2818 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2819 handling. Screen geometry and text offsets were being returned as 0
2820 on error which is technically valid-- changed these to return -1.
2821 Added marshaller for text boundary types to fix bug with boundary
2822 types being passed incorrectly to atk.
2824 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2827 * cspi/spi_registry.c:
2828 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2829 which was uncovered by the recent key changes.
2831 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2833 * test/event-listener-test.c:
2835 Added new test, "event-listener-test";
2836 this code does two things; it benchmarks traversal time
2837 for the accessible hierarchy for the first running accessible
2838 app, and it connects listeners for all supported event types.
2839 It is thus useful as an example event listener and for
2840 diagnostics/debugging of event generation.
2842 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2845 Removed unnecessary dependency on libutil.
2848 Revved micro version: 0.13.1
2850 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2853 Removed util/Makefile from targets.
2856 Removed util subdir from SUBDIRS (temporarily,
2857 pending removal of magnifier-only code
2861 #ifdef-ed out magnifier dependencies, since
2862 magnifier IDL, headers, and binary now live in
2863 module gnome-mag and we don't want at-spi to depend
2864 on gnome-mag. A magnifier demo which can run alongside
2865 simple-at is forthcoming in the gnome-mag module.
2867 NOTE: Split magnifier binary, IDL, and magnification
2868 activation code from at-spi into module gnome-mag.
2870 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2872 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2873 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2875 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2878 Revved to version 0.13.0
2880 * idl/Accessibility_Registry.idl:
2881 Changed definition of KeySet from sequence of longs to sequence of
2882 KeyDefinitions, and added KeyDefinition struct.
2883 Required for fix to bug 80616.
2885 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2886 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2887 to use new definition (see above).
2889 * registryd/deviceeventcontroller.c: handle_keygrab(),
2890 spi_keyset_contains_key():
2891 Changed to make use of new struct; this allows matching based on
2892 string key-name, for instance "Tab". This also allows matching of
2893 composed characters, non-alphanumeric characters in a way that
2894 doesn't involve dependencies on X keysym codes directly, etc.
2896 * test/key-listener-test.c:
2897 Added test for Alt-Tab key using "string" specification of keyset,
2898 and modified one of the tests to use a keycode-based keyset.
2899 Thus this test both tests and demonstrates the creation and use of
2900 keysets of three forms: specified via keycode array,
2901 keysym array, and string array. (The string case only contains a
2902 single string, i.e. a string array of length 1).
2905 Turned on PRINT_TREE option by default. Also fixed a
2906 string-freeing bug in the PRINT_TREE code.
2907 Added a listener to window:minimize events.
2909 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2911 * atk-bridge/bridge.c:
2912 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2913 for window:activate and window:deactiveate
2914 (atk_bridge_property_event_listener atk_bridge_signal_listener
2915 atk_bridge_window_event_listener) Tidy debug code
2917 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2919 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2920 Fixed handling for NULL return value from ATK.
2922 * libspi/action.c libspi/component.c libspi/editabletext.
2923 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2924 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2925 Removed redundant casts.
2927 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2928 Fixed off by one bug.
2930 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2931 function not present in idl)
2933 2002-05-02 jacob berkman <jacob@ximian.com>
2935 * atk-bridge/Makefile.am: make atk-bridge a real module
2937 2002-04-26 Radek Doulik <rodo@ximian.com>
2939 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2940 atk_state_types table
2942 2002-04-22 jacob berkman <jacob@ximian.com>
2945 * libspi/Makefile.am: add deps on the built files to help
2946 automake, and don't version the ORBit typelib
2948 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2950 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2951 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2952 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2953 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2954 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2955 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2956 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2957 libspi/accessible.h libspi/accessible.h libspi/base.h
2958 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2959 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2960 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2961 libspi/spi-private.h libspi/statetset.h libspi/table.h
2962 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2963 util/mag_client.h util/mag_control.c util/mag_image.c
2964 util/mag_image.h util/magnifier.c util/magnifier.h:
2965 Add missing file headers; standardize existing ones
2967 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2969 * atk-bridge/bridge.c: Added window event support.
2971 2002-04-18 Michael Meeks <michael@ximian.com>
2973 * libspi/relation.c (impl_getNTargets): impl.
2974 (impl_getTarget): impl.
2976 * libspi/Makefile.am: fix stateset install.
2978 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2981 Started putting useful info in this file.
2983 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2985 * atk-bridge/bridge.c:
2986 Propagate state-changed notifications to ATs
2988 * cspi/spi_registry.c: update docs to reflect actual behavior of
2989 state-change events.
2991 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2994 Incremented version to 0.12.1
2996 * util/mag_client.h:
2997 Add missing declaration for magnifier_exit,
2998 used by mag_control.c - Forte compiler didn't like
2999 the implicit redeclaration of the function :-(
3002 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3005 Revved version to 0.12 due to API change (see below).
3007 * cspi/spi-roletypes.h:
3008 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3009 definition from the inline docs, and added docs
3010 for SPI_ROLE_LAST_DEFINED.
3013 * cspi/spi_streamablecontent.c:
3014 Added missing seek_type parameter to
3015 (so far unused) method,
3016 AccessibleStreamableContent_seek().
3017 [ RT approval JodyG. ]
3020 Fixed docs for SPI_createAccessibleKeystrokeListener.
3022 * cspi/spi_registry.c:
3023 Fixed docs for SPI_KEYSET_ALL_KEYS.
3025 * docs/reference/cspi/at-spi-cspi-sections.txt:
3026 Added a number of missing APIs to SECTIONS.
3028 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3030 * registryd/Makefile.am:
3032 * cspi/bonobo/Makefile.am:
3033 Add $(X_LIBS) to makefiles.
3035 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3038 Revved version to 0.11.
3040 * libspi/component.c:
3041 Added implementation for grabFocus.
3043 * idl/Accessibility_Component.idl
3044 (Accessibility_Component_grabFocus):
3045 Made this method return boolean to indicate success or failure, to
3046 be consistent with cspi and the corresponding ATK method.
3048 * idl/Accessibility_Selection.idl
3049 (Accessibility_Selection_selectAll) :
3050 Made these methods return boolean to indicate success or
3051 failure, to be consistent with cspi and the corresponding ATK methods.
3053 * idl/Accessibility_EditableText.idl
3054 (Accessibility_EditableText_setTextContents,
3055 Accessibility_EditableText_insertText,
3056 Accessibility_EditableText_cutText,
3057 Accessibility_EditableText_deleteText,
3058 Accessibility_EditableText_pasteText):
3059 Made these methods return boolean to indicate
3062 * cspi/spi_editabletext.c:
3063 Made these methods return booleans.
3065 * libspi/selection.c:
3066 * libspi/component.c:
3067 * libspi/editabletext.c:
3068 Connected the boolean returns from ATK
3069 to the server-side code referenced above.
3071 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3073 * idl/Accessibility_Table.idl: Added missing methods,
3074 Accessibility_Table_addRowSelection,
3075 Accessibility_Table_addColumnSelection,
3076 Accessibility_Table_removeRowSelection,
3077 Accessibility_Table_removeColumnSelection.
3080 Added C wrappers for above IDL:
3081 AccessibleTable_addRowSelection,
3082 AccessibleTable_addColumnSelection,
3083 AccessibleTable_removeRowSelection,
3084 AccessibleTable_removeColumnSelection.
3087 Added server-side implementation code for IDL above, connecting
3088 to pre-existing ATK api.
3090 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3092 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3094 * libspi/accessible.c: Added implementation fo
3095 Accessibility_Accessible_get_state.
3097 * libspi/libspi.h: Added stateset.h to the list of includes.
3099 * libspi/stateset.c: Fixed broken implementation.
3101 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3104 Added implementation code for Accessibility_Magnifier_exit ().
3106 * util/mag_control.c:
3107 Added test code for above method; you can
3108 now kill an existing magnifier via
3109 ./mag_control q, from the util directory.
3111 * test/key-listener-test.c:
3113 Added a new test, for our key listener API.
3115 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3117 * test/app.c, test/keysynth-demo.c:
3119 Replace use of snprintf with g_snprintf.
3120 (fix for bugzilla 78249)
3122 2002-03-27 Michael Meeks <michael@ximian.com>
3126 * util/Makefile.am (INCLUDES): fix.
3127 (DONT_DIST_SOURCE): don't distribute the
3130 * libspi/Makefile.am (dist-hook): ditto.
3132 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3134 * libspi/hypertext.c:
3135 Fix warnings when yelp is used with atk-bridge
3137 2002-03-21 Michael Meeks <michael@ximian.com>
3139 * libspi/application.c (spi_application_new):
3140 use spi_accessible_construct so we use the AtkObject
3143 2002-03-19 Michael Meeks <michael@ximian.com>
3145 * registryd/registry.c (desktop_remove_application),
3146 (desktop_add_application): clean coding style.
3148 * registryd/desktop.c (spi_desktop_remove_application),
3149 (spi_desktop_add_application): kill re-enterency hazards.
3150 (spi_desktop_dispose): remove bogus redundant cast
3151 obscuring bug; fix bug too.
3152 (spi_desktop_init): make the desktop object immortal.
3154 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3157 Added a #define-guarded tree-traversal step
3158 when enumerating the apps (diagnostic tool).
3160 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3162 * idl/Accessibility_Role.idl:
3163 Added ROLE_DRAWING_AREA which seemed to be missing from the
3166 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3168 * cspi/spi-roletypes.h cspi/spi_accessible.c
3169 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3172 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3173 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3174 AT when applications are added and removed from the desktop. This
3175 reverts the previous broken implementation using the backing
3176 AtkObject for the SpiDesktop.
3178 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3180 * registryd/desktop.c: emit the "children-changed::add" and
3181 "children-changed::remove" signals on the backing ATK object for
3182 the desktop so AT can tell when applications are started and shut
3185 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3187 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3189 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3191 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3193 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3195 * cspi/state-types.h: synched with IDL and ATK
3197 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3199 * libspi/accessible.c
3200 (impl_accessibility_accessible_get_child_at_index):
3201 Change return value for g_return_if_fail ()
3202 to CORBA_OBJECT_NIL instead of "0" (!)
3204 * registryd/Makefile.am:
3205 * registryd/Accessibility_Register.server.in:
3206 Changed name of executable, "registryd",
3207 to something more informative:
3210 2002-03-13 Michael Meeks <michael@ximian.com>
3212 * atk-bridge/bridge.c (atk_bridge_init): don't register
3213 if we're in a bonobo-component, rather than a bonobo app.
3215 2002-03-13 Michael Meeks <michael@ximian.com>
3217 * atk-bridge/bridge.c (gtk_module_init): split
3218 out body to (atk_bridge_init): here, since otherwise
3219 we get symbol conflicts and oddness when invoked
3220 from (gnome_accessibility_module_init): here (upd.)
3222 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3225 New file. Explicitly allow "build sheriff" putbacks provided
3226 they are tested on Solaris.
3228 * docs/reference/cspi/Makefile.am:
3229 Added '-' to the "cp" command for index.sgml.
3230 ("patch by thomasvs, soon coming to a GUADEC near you")
3233 Incremented version number (0.9.0) for new release.
3234 Changed macro that checks for popt, to better detect
3235 obsolete versions of popt.
3238 Added X_LIBS to AC_SUBST, for applications
3239 that call Xlib API directly.
3242 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3245 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3248 Fix regression caused by hard-coding major
3249 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3252 * test/test-simple.c (test_editable_text),
3253 (test_test): revert previous change (error was
3254 a regression in gail which is now fixed).
3256 2002-03-04 Michael Meeks <michael@ximian.com>
3258 * test/test-simple.c (test_editable_text),
3259 (test_text): pass G_MAXINT instead of '-1' for
3260 whole string - is this a good thing !?
3262 * cspi/spi_accessible.c
3263 (Accessible_getRelationSet): fix crasher bug
3264 overwriting the end of the array.
3266 * test/test-simple.c (validate_accessible): free,
3267 not g_free returned relation set.
3269 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3271 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3272 implemented stateset support
3274 * idl/Accessibility_State.idl: Made necessary changes to
3275 the IDL to support state sets.
3277 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3279 * registryd/deviceeventcontroller.c:
3280 Added implementation for generateMouseEvent.
3282 * cspi/spi_registry.c:
3283 Connected new implementation for generateMouseEvent
3286 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3289 Incremented revision (but no change in public API
3290 outside of 'utils', which are not installed public yet.)
3292 * libspi/component.c:
3293 Changed to use atk_component API for layers and
3294 mdi_zorder, instead of deprecated atk_object API.
3296 Magnification Utility Enhancements:
3299 Added implementation of createZoomRegion, clearAllZoomRegions,
3300 resizeZoomRegion. Added new commandline argument
3301 "--no-initial-region". Note that clearAllZoomRegions doesn't
3302 unmap the old '0' region as it should (yet), and the other
3303 methods only work when creating/resizing a single region,
3304 which is "region 0".
3305 (Code for multiple region support will be added later.)
3308 Now we raise the magnifier window each time it's refreshed;
3309 this will help keep it on top.
3311 * util/mag_client.h:
3312 Added simple wrappers for above, used by mag_control.
3313 For general use, it's recommended to use the bonobo magnifier
3314 control API directly instead of using these wrappers.
3317 Moved ZoomRegionData from magnifier.c to this file.
3319 * util/mag_control.c:
3320 Added some code to exercise new IDL implementations.
3322 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3324 * libspi/text.c: Provide implementation for getAttributes.
3326 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3329 Incremented revision.
3331 * test/test-simple.c:
3332 Replaced use of deprecated g_main_iteration with
3333 g_main_context_iteration.
3335 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3338 Incremented revision for desktop alpha 2.
3340 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3342 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3345 * test/simple-at.c: include netinet/in.h.
3347 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3349 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3350 use NULL, not CORBA_OBJECT_NIL.
3352 * libspi/accessible.c:
3353 (impl_accessibility_accessible_get_relation_set):
3354 allocate the sequence correctly.
3356 * libspi/remoteobject.h: kill spi_remote_object_new.
3358 * test/test-simple.c: (validate_accessible): add code
3359 to test relation sets, now all we need is to figure
3360 out how to excercise this code path :/
3362 2002-01-18 Michael Meeks <michael@ximian.com>
3364 * test/test-simple.c
3365 (key_listener_cb): consume the key.
3366 (test_keylisteners): update.
3367 (main): wait for any pending unrefs on events.
3369 * registryd/deviceeventcontroller.c
3370 (spi_controller_update_key_grabs): only re-issue the
3371 grab on a key release.
3372 (spi_device_event_controller_forward_key_event):
3373 refresh the keygrabs before we notify the listeners,
3374 to reduce the X ungrab / re-grab race.
3375 (spi_controller_register_with_devices): remove
3376 XSelectInput - we do that with the gdk_window_ call.
3377 (_spi_controller_device_error_handler): return a value.
3378 s/GDK_DISPLAY/spi_get_display/
3380 2002-01-17 Michael Meeks <michael@ximian.com>
3382 * registryd/deviceeventcontroller.c
3383 (_deregister_keygrab): don't blow out the later
3386 * test/test-simple.c (test_keylisteners): do a
3387 more intelligent validation.
3389 2002-01-14 Michael Meeks <michael@ximian.com>
3391 * atk-bridge/bridge.c
3392 (gnome_accessibility_module_init),
3393 (gnome_accessibility_module_shutdown): impl.
3394 (gtk_module_init): protect vs. double inits.
3395 (add_signal_listener): impl.
3396 (spi_atk_bridge_state_event_listener): kill
3397 (deregister_application): split out of
3398 (spi_atk_bridge_exit_func): here.
3400 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3403 Added caret tracking when using magnifier, and
3404 now use text bounds for focus tracking of text elements, rather than
3405 the component bounds - this is helpful for short text fields in long
3406 table cells, at high magnification.
3408 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3410 * registryd/deviceeventcontroller.c:
3411 Regression fix for keylistener de-registration; global keygrabs
3412 were not being released when deregisterKeystrokeListener was
3413 called in cspi, since
3414 Accessibility_DeviceEventController_deregisterKeystrokeListener
3415 was called with a zero-length keyset. That is because the cspi
3416 method, SPI_deregisterKeystrokeListener, does not take a keyset
3417 parameter but instead should remove all the key grabs held be a
3419 The code in impl_deregister_keystroke_listener was changed to copy
3420 the keylist from the listener instance previously registered with
3421 the DeviceEventController before releasing the grabs.
3423 * registryd/registry.c:
3424 * registryd/deviceeventcontroller.c:
3425 * libspi/spi-private.h:
3427 Changed spelling of "re-enterant" to "re-entrant" globally.
3429 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3431 * test/test-simple.c:
3432 Changed key listeners test - the test was slightly mis-using the
3433 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3434 It now uses '=' as the key event listened to and generated,
3435 relying on a keysym match rather than assuming that keycode 33
3436 is always equal to keysym '!'.
3438 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3441 Changed simple-at to use a specific keyset, rather than
3442 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3443 manager, desktop, etc.
3445 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3447 * registryd/deviceeventcontroller.c:
3448 Replaced standard X error handler with a special handler that
3449 is non-fatal for failed keygrabs. This works around
3450 problems with keygrab clashes sometimes observed on
3452 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3453 mouse handling code as yet).
3455 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3458 Incremented revision for desktop alpha release.
3461 Fixed a couple of the more glaring errors (still not
3464 2002-01-11 Michael Meeks <michael@ximian.com>
3466 * registryd/deviceeventcontroller.c
3467 (spi_device_event_controller_forward_key_event): kill
3468 XUngrabKey / XKeyGrab race.
3469 (spi_controller_grab_keyboard): rename to
3470 (spi_controller_update_key_grabs): this, and deal
3471 with incremental adding / removing grabs more
3473 (_register_keygrab): ensure we're not pending a remove.
3474 (spi_grab_mask_free): impl.
3475 (spi_controller_register_global_keygrabs): split out
3477 (handle_keygrab): impl.
3478 (_deregister_keygrab): impl.
3479 (spi_controller_deregister_global_keygrabs): impl.
3480 (spi_controller_update_key_grabs): re-issue the grab if
3481 we just recieved a notification.
3483 * test/test-simple.c (key_listener_cb): remove debug.
3485 * registryd/deviceeventcontroller.c
3486 (spi_controller_register_device_listener): after
3487 registering a global keygrab, actualy register it !
3488 don't wait for a timeout; doh !
3490 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3491 to make it more readable / manipulable.
3492 s/grabmask/grab_mask/ s/refcount/ref_count/
3493 s/keyval/key_val/ s/modmask/mod_mask
3495 2002-01-08 Michael Meeks <michael@ximian.com>
3497 * registryd/deviceeventcontroller.c
3498 (spi_controller_register_with_devices): use gdk calls to
3500 (global_filter_fn): implement the filter.
3501 (spi_device_event_controller_check_key_event): rename to
3502 (spi_device_event_controller_forward_key_event): this & upd.
3503 (spi_get_display): replace with GDK_DISPLAY.
3505 * registryd/deviceeventcontroller.c
3506 (spi_controller_deregister_device_listener): unroll into
3507 (impl_deregister_keystroke_listener): here to simplify.
3508 (spi_controller_register_global_keygrabs): split cut and
3509 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3510 (spi_controller_deregister_device_listener): remove.
3511 (impl_register_mouse_listener): remove, no mouse listener
3512 support in at-spi-1.0
3514 * registryd/registry.c
3515 (_device_event_controller_hook): kill.
3516 (spi_registry_init): upd.
3518 * registryd/deviceeventcontroller.c
3519 (spi_device_event_controller_class_init): upd.
3520 (spi_check_key_event): merge into.
3521 (spi_device_event_controller_check_key_event):
3522 here and kill strange static ev init, don't leak
3523 the x_event - nor dynamicaly allocate it.
3525 * registryd/registry-main.c (main): re-direct
3526 timeout to remove strange vtable mess.
3528 * registryd/deviceeventcontroller.c
3529 (remove_listener_cb): impl.
3530 (spi_controller_deregister_device_listener):
3531 fix re-enterancy hazard.
3533 2002-01-07 Michael Meeks <michael@ximian.com>
3535 * registryd/deviceeventcontroller.c
3536 (spi_device_event_controller_new): upd.
3537 (impl_notify_listeners_sync): upd. debug.
3538 (spi_notify_keylisteners): fix re-enterancy hazards,
3539 prettify, remove O(n*n) iteration.
3540 (spi_controller_grab_keyboard): fix iteration.
3541 (spi_check_key_event): re-format to suit coding style.
3542 Clean all the warnings - we're warning free.
3544 * registryd/deviceeventcontroller.h:
3545 * registryd/registry.h: make mutualy referential with
3546 typesafe forward references instead of (!) void pointer
3549 2002-01-11 Michael Meeks <michael@ximian.com>
3551 * cspi/spi_accessible.c (role_names): add a role name
3552 to sync this array with the enum; and make the regression
3555 2002-01-10 Michael Meeks <michael@ximian.com>
3557 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3558 allow expansion of enumeration & kill warning.
3560 * test/test-simple.c (key_listener_cb): impl.
3561 (test_keylisteners): impl.
3563 * cspi/spi-listener.h: make listener signatures const
3564 on the provided (const) events.
3566 * test/keysynth-demo.c: upd. to const events.
3568 * test/simple-at.c: ditto.
3570 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3573 Rev the version to 0.5 (the previous tarball was named 0.4,
3574 even though the micro number was 3), so we need to rev upwards
3575 again for beta2/"desktop-alpha"
3578 Checked in a demo script, which requires editing before use!
3579 Proceed with caution.
3582 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3584 * cspi/spi_accessible.c:
3585 Add a couple of missing enum initializations, and fix some enum
3588 * cspi/spi_registry.c:
3589 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3591 * docs/reference/cspi/at-spi-cspi-sections.txt:
3592 Remove/fix a couple of broken document references.
3595 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3596 as Alt-Control to listen for commands, since on some systems
3597 Control-Alt may already be grabbed.
3599 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3602 Update version number to 0.4 for Beta2.
3604 * libspi/accessible.c, libspi/accessible.h:
3605 Expose spi_accessible_construct, to enable libgail-gnome
3606 construction from spi_accessible subtype.
3608 * utils/magnifier.c:
3609 Workaround for bug in some non-gnome-compliant window managers
3610 which made magnifier resize improperly.
3612 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3614 * libspi/accessible.c: (spi_accessible_new) :
3615 Move the test for SPI_IS_REMOTE_OBJECT to
3616 spi_accessible_new_return, fixing a bug and compile time warning.
3618 2002-01-08 Michael Meeks <michael@ximian.com>
3620 * registryd/registry.c (parse_event_type): remove strndup.
3622 * libspi/Makefile.am (libspi_la_SOURCES): remove
3623 sources already included in the headers section.
3625 * libspi/util.c: add.
3627 * libspi/spi-private.h: add.
3629 * registryd/registry.c: update to moved list iterators.
3631 2002-01-05 Michael Meeks <michael@ximian.com>
3633 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3635 * test/test-simple.c (main): ditto.
3637 2002-01-04 Michael Meeks <michael@ximian.com>
3639 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3640 redundant construct.
3642 * registryd/registry.c
3643 (get_listener_list): impl.
3644 (impl_accessibility_registry_register_global_event_listener):
3645 re-impl. to simplify using ~, remove dodgy const cast off.
3646 (parse_event_type): constify.
3647 (impl_accessibility_registry_deregister_global_event_listener_all):
3648 re-write, more efficiency and simplicity, kill re-enterancy
3650 (compare_listener_corbaref, compare_corba_objects),
3651 (compare_listener_quarks): define out.
3652 (impl_accessibility_registry_deregister_global_event_listener):
3653 re-write for effiency, and nail re-enterancy hazard.
3654 (impl_accessibility_registry_get_desktop_list): impl.
3655 (re_enterant_list_delete_link): impl.
3656 (re_enterant_list_foreach): impl.
3657 (remove_listener_cb): impl.
3658 (_registry_notify_listeners): kill.
3659 (notify_listeners_cb): impl.
3661 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3662 (SPI_getDesktopList): impl.
3664 * test/test-simple.c (test_desktop): test the methods.
3666 2002-01-03 Michael Meeks <michael@ximian.com>
3668 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3669 keystrings since we free them
3670 (SPI_freeAccessibleKeySet): in here.
3672 * libspi/accessible.c (spi_accessible_new): kill warning,
3673 wonder what is going on with the constructor here.
3675 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3677 * libspi/accessible.c (spi_accessible_new ()) :
3678 Added check to see if AtkObject is an SpiRemoteObject before
3679 creating an SpiAccessible.
3681 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3683 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3684 Enable keygrabs using the Control modifier, now that they are
3685 working properly (they were previously disabled).
3688 Change the command keygrab for this demo to "Control+Alt", so as
3689 to conflict with fewer other key commands on the system; this
3690 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3692 Removed a pointlessly-chatty keylistener for unshifted keys
3693 (shifted keys are still reported).
3695 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3697 * libspi/remoteobject.h:
3698 * libspi/remoteobject.c:
3699 Added definitions for special AtkObject subtype, required for
3700 support of remote components (specifically, used by BonoboControl
3701 accessibility implementation).
3703 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3705 * cspi/spi.h: synched relation types with ATK
3707 * cspi/spi_accessible.c: Added implementations of
3708 AcccessibleRelation_* methods
3710 * idl/Accessibility_Relation.idl: added getRelationTypeName
3711 method. Synched known relation types with ATK. Allowed for
3712 relation type extension with the RELATION_EXTENDED type.
3714 * libspi/relation.c: Provided implementations for
3715 AccessibleRelation methods.
3717 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3719 API tweaks for today's API 'freeze'.
3722 Added placeholder functions to allow future compatible expansion
3723 of the IDL interfaces.
3725 * idl/Accessibility_Registry.idl:
3726 Changed generateKeyEvent to generateKeyboardEvent. Changed
3727 signature of this method to accept an optional keystring in
3728 parameter (for complex text input synthesis) and changed use of
3729 simple 'boolean' parameter in registerKeystrokeListener to a
3730 struct, EventListenerMode.
3732 * cspi/spi_accessible.c:
3734 * cspi/spi_streamablecontent.c:
3735 Added references to AccessibleStreamableContent interface, and
3736 definition and implementation of AccessibleStreamableContent
3739 * cspi/spi_registry.c:
3741 Changed generateKeyEvent API to generateKeyboardEvent,
3742 taking a new (optional) keystring parameter to support complex
3747 Renamed directory (to better reflect its actual purpose, bridging
3748 from at-spi to ATK). The .so module is also now named
3751 * idl/Accessibility_Hypertext.idl:
3752 * libspi/accessible.c:
3753 * libspi/hypertext.h:
3754 * libspi/hypertext.c:
3755 Changed Accessibility_Hypertext to *not* derive from
3758 * cspi/spi_registry.c:
3759 Added list of legal event type names for 'window' events, which
3760 completes the registry event API.
3762 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3764 * at-bridge/bridge.c: Added registration for separate
3765 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3766 signals. If either of the first two parameters to the generic
3767 bridge signal handler are ints, they are passed on as event
3768 details. This allows an AT to determine what text was inserted.
3770 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3772 * registryd/deviceeventcontroller.c:
3773 Fixed regressions in generateKeyEvent caused by the removal of
3774 gdk_init from registryd; we now use pure X calls to connect to the
3775 display, which makes sense because deviceeventcontroller already
3776 uses a fair bit of X API (should eventually be migrated to a
3777 'portability layer').
3779 * registryd/desktop.c:
3780 Fixed minor regression in spi_desktop_init, changed the way the
3781 desktop name is being set to work with new spi_base API
3782 (gobject-based, rather than AtkObject-based).
3784 * registryd/Makefile.am:
3785 Minor revision of makefile to use XTST_LIBS variable rather than
3786 hard-wiring the Xtst LD_ADD element.
3788 * test/keysynth-demo.c:
3789 Tweaked an output message; added initialization of the
3790 'keystrings' member of the "switch listener" key_set.
3792 * libspi/relation.c:
3793 Squashed compile-time warning.
3795 * libspi/accessible.c:
3796 Cosmetic and formatting fixes, renamed a static method.
3798 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3800 * libspi/accessible.c
3802 * libspi/application.c
3805 * libspi/component.c
3806 * libspi/editabletext.c
3807 * libspi/hyperlink.c
3808 * libspi/hypertext.c
3810 * libspi/selection.c
3814 * registryd/desktop.c:
3815 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3817 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3819 * idl/Accessibility_Registry.idl:
3820 Added boolean member 'is_text' to DeviceEvent. This is for the
3821 use of key events, and helps prevent ambiguity between composed
3822 key strings and keysym names, since both may potentially be
3823 returned in the 'event_string' member.
3825 * at-bridge/bridge.c:
3826 * registryd/deviceeventcontroller.c:
3827 Use the 'is_text' member when notifying device event listeners.
3828 Knon issue: composed characters are not dealt with correctly by
3829 the global key listener implementation yet.
3831 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3833 * at-bridge/bridge.c:
3834 Namespaced local static methods to spi_atk_bridge_* where
3835 previously named bridge_*, and spi_* elsewhere.
3837 * at-bridge/bridge.c:
3838 * cspi/bonobo/cspi-bonobo-listener.c:
3839 Added demarshalling/conversion for string member of
3840 Accessibility_DeviceEvent to AccessibleKeystroke.
3842 * registryd/deviceeventcontroller.c:
3843 Added code to fill the Accessibility_DeviceEvent key string value
3844 member for global key events (i.e. from XGrabKey), to match
3845 behavior of Accessibility_DeviceEvent from the toolkit key events
3846 from the bridge. Fixed timestamp in global key event notifications.
3849 Added printout of key event's string value to
3850 report_ordinary_key_event, for demo/debugging purposes.
3852 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3854 * idl/Accessibility_Registry.idl:
3855 Removed Accessibility_KeyStroke structure in favor of generic
3856 Accessibility_DeviceEvent structure.
3857 Changed Accessibility_ControllerEventMask from a struct to an
3860 * at-bridge/bridge.c:
3861 Changed APIs to use DeviceEvent structure as above, and removed
3862 bogus casting between these event structures.
3864 * cspi/spi-listener.h:
3865 Added keystring member of AccessibleKeystroke structure, to enable
3866 matching on event "names" rather than only hardware codes and
3870 Added keystrings member of AccessibleKeySet struct, to allow
3871 matching on event names (as above).
3872 Added declarations for SPI_createAccessibleKeySet and
3873 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3874 event modmasks directly as unsigned ints rather than structs with
3875 refcounts, in the DeviceEventController methods.
3877 * cspi/spi_registry.c:
3878 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3880 * cspi/spi-roletypes.h:
3881 Added documentation of newly added SPI Roles.
3883 * cspi/bonobo/cspi-bonobo-listener.c:
3884 Changes in support of API changes above.
3886 * libspi/accessible.c:
3887 Converted APIs to use DeviceEvent structure (see IDL changes
3890 * registryd/deviceeventcontroller.c:
3891 Added DEControllerGrabMask structure to track keygrabs not only by
3892 modmask but by keyset as well; this allows us to do "global"
3893 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3894 grabbing on AnyKey and then filtering after-the-fact.
3895 Bugfixes for event filtration mean that we don't get false matches
3896 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3898 * registryd/deviceeventcontroller.c:
3899 Namespaced a number of static methods to use spi_ prefix. Major
3900 revision to internals of global (i.e. X) key grabs.
3902 * registryd/deviceeventcontroller.h:
3903 Removed keymask_list and added keygrabs_list to
3904 SpiDeviceEventController struct.
3907 Added use of SPI_createAccessibleKeySet API when creating a
3908 listener for only one key. Attach a listener to "shift spacebar
3909 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3910 X key event names to SPI key event names, so that listeners are
3911 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3913 * test/keysynth-demo.c:
3914 Changed (incorrect) use of X key event names (KeyPressed,
3915 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3918 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3920 * libspi/accessible.c:
3921 Convert all AtkRole enumerations to Accessibility_Role enums when
3922 getting a role from an AtkObject.
3924 * cspi/spi_accessible.c:
3925 Complete the conversion of Accessibility_Role enums at runtime to
3926 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3927 role enums correctly match those given in spi-roletypes.h.
3928 Re-synchronize the local names list for AccessibleRole_getName ().
3929 AccessibleRole_getName is now deprecated, since it duplicates the
3930 more reliable Accessible_getRoleName.
3931 Added some role types from Accessibility_Role.idl.
3933 * idl/Accessibility_Role.idl:
3934 Added some role types used by AtkRole.
3936 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3939 * cspi/spi_registry.c:
3941 * cspi/cspi-bonobo-listener.c:
3942 Namespaced all methods that did not begin with an "SPI_" or
3943 "Accessible" prefix to "SPI_".
3946 Homogenized internal function namespace to "cspi_" for statics.
3949 Patched tests to use the new CSPI API.
3951 * docs/reference/cspi/at-spi-cspi-sections.txt:
3952 Updated docs to reflect namespace changes, and added a number of
3953 methods to the documentation.
3955 * registryd/registry.c:
3956 Changed use of strings and string hashes in listener event
3957 matching and parse_event_string to use GQuark, which is guaranteed
3960 * registryd/registry.h:
3961 Squashed annoying warning.
3963 * idl/Accessibility_Role.idl:
3964 Extended range of available Accessibility_Role values.
3966 * cspi/spi_accessible.c:
3967 Re-ordered role names.
3969 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3971 * idl/Accessibility_Value.idl:
3972 Revert use of union back to CORBA_double, since the double type is
3973 more efficient and can contain the other types without loss of
3976 * idl/Accessibility_Accessible.idl:
3977 Added method Accessibility:Accessible:getRoleName, to complement
3978 Accessibility:Accessible:getRole.
3980 * cspi/spi_accessible.c:
3982 Added C binding for above, Accessible_getRoleName (), and changed
3983 signature of Accessible_getRole () to return an AccessibleRole.
3985 * cspi/spi-roletypes.h:
3986 Changed AccessibleRole_getName to return a char * instead of a
3987 const char *. This method is now at least temporarily deprecated
3988 in favor of asking Accessibles for their RoleNames directly.
3991 Revert to match Accessibility_Value.idl;
3995 Change signature of AccessibleValue methods to use double rather
3999 * cspi/spi_accessible.c:
4000 Changed Accessible_getRole to return an AccessibleRole enum rather
4001 than a UTF-8 string. The UTF-8 string can still be obtained via
4002 AccessibleRole_getName ().
4004 * test/test-simple.c:
4005 Add test_action. Small fixup to match API change to Accessible_getRole.
4008 Bugfix for get_action_from_servant ().
4010 2001-12-11 Michael Meeks <michael@ximian.com>
4012 * libspi/libspi.h: remove registry.h and
4013 desktop.h, deviceeventcontroller.h
4015 * libspi/Makefile.am: remove registry.[ch],
4016 desktop.[ch], deviceeventcontroller.[ch]
4018 * registryd/Makefile.am: add registry.[ch],
4019 desktop.[ch], rename registryd.c to registry-main.c.
4020 add deviceeventcontroller.[ch]
4022 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4025 Replace setenv() call with putenv ().
4027 * libspi/component.c:
4028 Bugfix in AccessibleComponent_getExtents (),
4031 2001-12-11 Michael Meeks <michael@ximian.com>
4033 * libspi/image.c (impl_getImageExtents): impl.
4034 (spi_image_class_init): upd.
4037 (AccessibleImage_getImageDescription): fix daft bug
4040 * test/test-simple.c (global_listener_cb): update
4041 to only quit if not --poke
4042 (main): catch --poke.
4043 (validate_accessible): upd. dumping, call test_image
4046 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4049 * idl/Accessibility.idl: update all IDL includes.
4051 * idl/*.idl - rename to namespace - this sucks, blame
4052 mjs' bad decision for oafd.
4054 * test/test-simple.c (create_test_window): add more tests.
4055 (create_tree): split this out.
4056 (validate_accessible): bugfix.
4058 2001-12-11 Michael Meeks <michael@ximian.com>
4060 * cspi/bonobo/cspi-bonobo-listener.c:
4061 (cspi_kestroke_listener_unref),
4062 (cspi_event_listener_unref): impl. undoing previous
4063 homenous environment - for Bill.
4065 * cspi/spi_table.c (long_seq_to_array): use
4068 * cspi/spi_main.c: split out all bonoboish bits into
4071 * cspi/spi-impl.h: upd. typedefs.
4073 * cspi/spi_registry.c: update to lowlevel API,
4074 return booleans to indicate success in some places.
4076 * cspi/spi_event.c: update to lowlevel API.
4078 * cspi/bonobo/Makefile.am: add.
4080 * cspi/bonobo/cspi-lowlevel.h: add
4082 * cspi/bonobo/cspi-bonobo.c: add
4084 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4086 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4087 (SUBDIRS): add bonobo, link in the libs.
4089 * cspi/spi-util.c: kill this file.
4091 * TODO: merge in my bits.
4093 2001-12-11 Michael Meeks <michael@ximian.com>
4095 * test/test-simple.c (test_value, test_table, main):
4096 remove unused variables causing warnings.
4098 * configure.in: cleanup checks - require gail.
4100 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4103 Changed Value interface to use SValue (scalars) rather than
4104 assuming all values are floats. This allows floats, doubles,
4105 longs, shorts, and unsigned values to be manipulated.
4106 Introduced Accessibility:SValue union.
4109 Updated to use new API above, and to work correctly with GValues
4110 of different types in AtkValue.
4113 Updated to use new API above. cspi's API is as yet unchanged.
4116 Updated the Value revision action item.
4118 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4120 * test/test-simple.c:
4121 Added test_table (GtkTreeView widget in test window to follow).
4122 Un-commented test_value, added GtkRange widget.
4123 Added GtkTreeView widget with GtkListStore. It passes regression
4124 test but leaks one SPI object for some reason.
4127 Fixed bug in impl__set_currentValue.
4129 2001-12-10 Michael Meeks <michael@ximian.com>
4131 * cspi/spi_text.c: audit for exception handling,
4132 tolerating NULL object references safely etc.
4134 * cspi/spi_value.c: ditto.
4136 * cspi/spi_table.c (AccessibleTable_getSummary),
4137 (AccessibleTable_getAccessibleAt),
4138 (AccessibleTable_getRowHeader),
4139 (AccessibleTable_getColumnHeader),
4140 (AccessibleTable_getCaption): fix bugs hidden by
4142 (long_seq_to_array): impl.
4143 (AccessibleTable_getSelectedRows),
4144 (AccessibleTable_getSelectedColumns): use it.
4146 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4149 Added a TODO list (rough and short for now).
4151 * cspi/spi_hyperlink.c:
4152 * cspi/spi_hypertext.c:
4153 Fixed macro name typos, and remove use of obsolete macro in
4154 AccessibleHyperlink_getLink.
4156 * cspi/spi_action.c:
4157 * cspi/spi_accessible.c:
4158 * cspi/spi_application.c:
4159 * cspi/spi_component.c:
4160 * cspi/spi_selection.c:
4163 Documentation fixes (removed return values from ref/unref methods).
4165 2001-12-10 Michael Meeks <michael@ximian.com>
4167 * cspi/spi_action.c: audit for exception handling,
4168 tolerating NULL object references safely etc.
4170 * cspi/spi_accessible.c: ditto.
4172 * cspi/spi_component.c: ditto.
4174 * cspi/spi_editabletext.c: ditto.
4176 * cspi/spi_hyperlink.c: ditto.
4178 * cspi/spi_hypertext.c: ditto.
4180 * cspi/spi_image.c: ditto.
4182 * cspi/spi_selection.c: ditto.
4184 2001-12-10 Michael Meeks <michael@ximian.com>
4186 * configure.in: use cspi/libspi.pc.in instead.
4188 * Makefile.am (pkgconfig_DATA): upd. to match.
4190 * test/simple-at.c (report_focus_event): kill hacks around
4191 bad return values, use putenv not setenv
4193 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4194 fire ChildGone - I killed it.
4196 * libspi/component.c
4197 (impl_accessibility_component_get_extents): remove
4200 * idl/Accessible.idl: kill ChildGone exception.
4202 * cspi/*.[ch]: kill int return from ref / unref.
4204 * cspi/spi_main.c (cspi_object_add_check): fold into
4205 (cspi_object_add): here.
4207 * cspi/spi_component.c (AccessibleComponent_getExtents):
4208 handle exceptions elegantly.
4210 * cspi/spi-private.h (cspi_check_ev_return),
4211 (cspi_return_if_fail): impl.
4213 * cspi/spi_accessible.c: use extensively.
4214 (AccessibleStateSet_equals): add direct compare check.
4216 * cspi/spi_selection.c: tolerate NULL objs, and check
4217 exceptions before return.
4219 * cspi/spi-util.c (cspi_warn_ev): rename to
4220 (cspi_check_ev): this & don't pass ev in; no point.
4222 2001-12-10 Michael Meeks <michael@ximian.com>
4224 * test/test-simple.c: use putenv not setenv
4225 (get_environment_vars): more chatty if you're not using
4228 * test/simple-at.c: do the setenv so more people see the
4231 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4233 * libspi/registry.c:
4234 Changed check of CORBA_environment on notification to be a warning
4235 instead of an error for the moment, since we can recover from this
4236 error when caused by a queued notification from a dead app.
4239 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4240 used by all current implementors of AtkValue), and coerce to
4241 CORBA_float. (Proper general case fix may require change to Value.idl).
4243 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4247 * cspi/spi_accessible.c:
4248 Documentation fixes: added user_data params to documentation for
4249 listeners and callbacks.
4251 * cspi/spi_accessible.c:
4252 Changed AccessibleStateSet_compare to return a
4253 StateSet rather than return the difference set into a third parameter.
4256 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4259 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4260 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4264 Remove subdirectory po from SUBDIRS for now.
4266 * at-bridge/bridge.c:
4267 Beefed up a couple of debug printouts.
4268 One-line fix for signal notification name formatting.
4270 * libspi/accessible.c:
4271 Added assertion to spi_accessible_new ().
4273 * libspi/application.c:
4274 Put #ifdef qualifiers around a printf.
4277 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4279 * registryd/Makefile.am:
4281 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4282 INTLTOOL_SERVER_RULE macro.
4285 Added an event listener for several ATK signals, for
4286 testing and debugging. Removed a few g_warnings.
4287 Added test output if focussed item implements the Value interface.
4289 * test/test-simple.c:
4290 Added test_value () function (known not to pass at the moment, so
4291 not actually called yet.
4293 2001-12-08 Michael Meeks <michael@ximian.com>
4295 * at-bridge/bridge.c (bridge_focus_tracker),
4296 (emit_eventv): fix the same ref. leak.
4297 (register_atk_event_listeners): don't leak.
4299 * cspi/spi-listener-impl.c (cspi_event): more
4300 protection from client code.
4302 * test/test-simple.c (test_desktop): unref the app.
4304 * test/Makefile.am: upd. TESTS.
4306 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4308 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4310 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4312 * cspi/spi_registry.c: constify in strings.
4313 (deregisterGlobalEventListenerAll): don't release the ref.
4315 * cspi/spi.h: start removing redundant / conflicting
4316 gtkdoc comments, making the API readable at a glance :-)
4318 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4320 * test/keysynth-demo.c (keysynth_exit, main): upd.
4322 * test/simple-at.c (main, simple_at_exit): upd.
4324 * test/test-simple.c (unutterable_horror): kill.
4325 (utterable_normal_derefs): kill.
4326 (main): upd & do a setenv before gtk_init, so that we
4327 can use memprof - and to save the pain of remembering
4328 this, if we're running under memprof - don't exit.
4330 * cspi/spi_main.c (SPI_exit): return exit status
4332 (SPI_event_quit): impl.
4333 (SPI_event_main): simplify.
4334 (cspi_is_gnome_app): kill.
4335 (SPI_init): kill isGNOMEapp arg.
4337 * at-bridge/bridge.c (register_atk_event_listeners):
4338 re-instate the unref.
4339 (bridge_exit_func): don't re-activate the registry,
4340 protect vs. theoretical re-entry, use the
4341 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4342 assert a clean shutdown - for regression tests.
4344 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4346 * configure.in: Comment out dummy i18n support for now,
4347 otherwise it fails to build.
4348 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4349 EXTRA_DIST. They are missing in tarball.
4351 2001-12-07 Michael Meeks <michael@ximian.com>
4353 * util/magnifier.c: kill bonobo activation reg. race.
4355 * libspi/component.c
4356 (impl_accessibility_component_get_extents): make it match
4359 * libspi/registry.c (_registry_notify_listeners):
4360 re-remove X headers & reconcile conflicts.
4361 (spi_listener_struct_free): bad conflict resolve.
4362 (impl_accessibility_registry_register_application):
4363 more bad merging fixed.
4364 (impl_accessibility_registry_deregister_application): ditto.
4365 (spi_registry_new): ditto.
4366 (spi_registry_init): don't have an applications field.
4368 [ merge fixups2 branch to here ]
4369 2001-12-07 Michael Meeks <michael@ximian.com>
4371 * test/simple-at.c (report_focus_event),
4372 (report_focussed_accessible): remove g_warning debug.
4374 2001-12-07 Michael Meeks <michael@ximian.com>
4376 * test/test-simple.c (validate_tree): comment out some checks.
4377 (test_desktop): app now not registered idly - horay.
4379 2001-12-07 Michael Meeks <michael@ximian.com>
4381 * cspi/spi_registry.c
4382 (registerAccessibleKeystrokeListener): clean, stop it leaking
4383 great swathes of memory, and device event controller references.
4384 ensure we always pass valid sequences.
4385 (deregisterAccessibleKeystrokeListener): ditto.
4386 (generateKeyEvent): upd.
4388 * at-bridge/bridge.c (bridge_key_listener): handle
4389 registry dead exception gracefully.
4390 (bridge_focus_tracker, emit_eventv): free ev.
4392 * test/simple-at.c (report_focus_event): fix polarity.
4394 * libspi/application.c (notify_listeners): kill the ev
4395 argument, and make sure we init the ev we use.
4396 (spi_application_object_event_listener): split out a chunk
4397 (get_atk_object_ref): here & fixup.
4398 (reverse_lookup_name_for_toolkit_event): make const.
4399 (spi_application_toolkit_event_listener): fixup, kill leaks
4402 * at-bridge/bridge.c (register_atk_event_listeners):
4403 don't unref the noop object - causes grief.
4405 * libspi/registry.c: remove the X headers.
4406 turn off the debug churn.
4408 * libspi/accessible.c (spi_accessible_new_return): only
4409 release the ref if we are supposed to [doh]
4411 * test/simple-at.c (report_button_press, report_focus_event):
4412 guard vs. unexpected exit.
4414 * at-bridge/bridge.c (gtk_module_init): prune printf.
4415 (bridge_exit_func): fix app unref.
4417 * libspi/Makefile.am: don't install registry or desktop.h
4419 * libspi/*.h: update includes.
4421 * libspi/application.h: don't include ourself, or
4422 other redundant headers.
4424 2001-12-06 Michael Meeks <michael@ximian.com>
4426 * libspi/accessible.c
4427 (get_accessible_from_servant): impl.
4428 Upd. all CORBA impl.s to use it killing cut and paste.
4430 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4432 (SPI_init): register atexit cleanup handler here.
4434 2001-12-06 Michael Meeks <michael@ximian.com>
4436 * at-bridge/bridge.c (gtk_module_init): g_error on
4437 activation exception
4439 2001-12-06 Michael Meeks <michael@ximian.com>
4441 * at-bridge/bridge.c (gtk_module_init): some sort of
4442 confusing merge clash - reverted.
4443 (bridge_idle_init): ditto.
4445 * test/test-simple.c (main, utterable_normal_derefs):
4446 merge from Bill - somehow not committed.
4448 2001-12-06 Michael Meeks <michael@ximian.com>
4450 * libspi/value.c (spi_value_class_init): upd.
4451 (spi_value_finalize): kill.
4453 * libspi/table.c (spi_table_finalize): kill.
4454 (spi_table_interface_new): upd.
4455 (spi_table_class_init): upd.
4456 (get_table_from_servant): impl.
4457 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4459 * libspi/selection.c (spi_selection_finalize): kill.
4460 (spi_selection_interface_new): upd.
4461 (spi_selection_class_init): upd.
4462 (get_selection_from_servant): impl.
4463 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4465 * libspi/relation.c (spi_relation_finalize): kill.
4466 (spi_relation_class_init, spi_relation_new): upd
4468 * libspi/image.c (spi_image_finalize): kill.
4469 (spi_image_class_init): upd.
4470 (spi_image_interface_new): upd.
4471 (get_image_from_servant): impl.
4472 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4474 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4475 (spi_hyperlink_finalize): kill.
4476 (spi_hyperlink_new): upd.
4477 (get_hyperlink_from_servant): impl.
4478 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4480 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4481 (spi_hypertext_finalize): kill.
4482 (spi_hypertext_class_init): upd.
4483 (get_hypertext_from_servant): impl.
4484 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4486 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4487 (spi_editable_text_interface_new): upd.
4488 (get_editable_text_from_servant): impl.
4489 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4491 * libspi/text.c (get_text_from_servant): impl.
4492 All impls - update to use it killing more cut and paste,
4493 also fix bad string returns on duff args ( a somewhat
4494 impossible case to handle - but hey ).
4495 (spi_text_construct): impl.
4496 (spi_text_interface_new): upd.
4497 (spi_text_object_finalize): kill.
4499 * libspi/component.c
4500 (accessibility_component_object_finalize): kill.
4501 (spi_component_class_init): upd.
4502 (get_component_from_servant): impl. helper to kill cut & paste.
4503 (impl_accessibility_component_contains):
4504 (impl_accessibility_component_get_accessible_at_point):
4505 (impl_accessibility_component_get_position):
4506 (impl_accessibility_component_get_extents):
4507 (impl_accessibility_component_get_mdi_z_order):
4508 (impl_accessibility_component_get_layer):
4509 (spi_component_interface_new): upd.
4511 * libspi/action.c (spi_action_finalize): kill.
4512 (spi_action_class_init): upd. inherit from SpiObject.
4513 (spi_action_interface_new): upd.
4514 (get_action_from_servant): impl. helper to reduce cut & paste.
4515 (impl_getKeyBinding, impl_getName, impl_doAction),
4516 (impl_getDescription): Use it everywhere.
4518 * cspi/spi_main.c (get_live_refs): a pointer hash.
4519 (spi_object_hash, spi_object_equal): comment out.
4520 There are issues with CORBA object hashing that need
4523 * libspi/application.c (spi_application_init),
4524 (spi_application_new): upd.
4526 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4527 (spi_accessible_class_init): upd.
4528 s/accessible/object/ in epv methods.
4530 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4532 * at-bridge/bridge.c:
4533 Reorder the bridge initialization into the bridge gtk_module_init,
4534 an immediate call to bridge_register_app, and an idle_add for
4535 register_atk_event_listeners (the only code that *must* wait until
4536 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4537 the activation, creates the application's Accessible object, and
4538 queues the bridge_idle_init function. Restored call to
4539 Accessibility_Registry_deregisterApplication().
4540 Prior to making this call we obtain a new reference to the
4541 registry, which is a temporary hack that helps us handle apps that
4542 shut down the bonobo mainloop before we get there.
4544 * libspi/registry.c:
4545 Fix string leakage in debug block, and don't segv if a an app
4546 dies before its event notifications have been propagated.
4549 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4550 as stopgap measure until we get proper exception handling when
4551 objects die during or before interrogation.
4555 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4556 Also changed default value of is_gnome_app to TRUE.
4559 * test/keysynth-demo.c:
4560 Changed use of SPI_init and SPI_event_main to reflect API change above.
4563 Made report_focus_event check the warning value from getName
4564 before reporting on focussed accessible; simplifies handling of
4565 notifications from dead objects.
4567 * test/test-simple.c: (Changes not in this patch since source is
4570 2001-12-05 Michael Meeks <michael@ximian.com>
4572 * registryd/registryd.c (main): protect against
4573 bonobo-activation startup race condition.
4575 * cspi/spi_main.c (cspi_object_add_check): cope
4576 with the exception elegantly.
4578 * idl/Accessible.idl: decl. ChildGone
4580 * libspi/desktop.c (spi_desktop_dispose): impl.
4581 (spi_desktop_class_init): upd.
4582 (spi_desktop_add_application),
4583 (spi_desktop_remove_application),
4584 (abnormal_application_termination): impl.
4585 (impl_desktop_get_child_at_index): re-impl.
4588 (impl_accessibility_registry_deregister_application),
4589 (impl_accessibility_registry_register_application):
4590 kill excessive debug clutter.
4592 * test/test-simple.c (test_misc): test some NULL
4593 tolerance. (main): upd.
4595 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4596 implements no interfaces - so let's not crash.
4598 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4600 * libspi/accessible.c (spi_accessible_new_return): impl.
4601 helper to calm the cut and paste, to cope with
4602 NULL AtkObjects effectively and efficiently, and to kill
4603 the referencing bugs.
4605 * libspi/table.c (impl_getAccessibleAt),
4606 (impl_getRowHeader, impl_getColumnHeader): upd.
4608 * libspi/hyperlink.c (impl_getObject): upd.
4610 * libspi/accessible.c
4611 (impl_accessibility_accessible_get_child_at_index): upd.
4613 * libspi/component.c
4614 (impl_accessibility_component_get_accessible_at_point): upd.
4616 * test/test-simple.c (test_editable_text, test_text): impl.
4619 * cspi/spi_editabletext.c
4620 (AccessibleEditableText_insertText): constify.
4622 * test/test-simple.c (focus_me): make more robust.
4624 * libspi/accessible.c: remove some printfs in methods that
4625 we test and work fine, so we can get a clean tree dump.
4627 * test/test-simple.c (validate_accessible),
4628 (validate_tree): make tree dumping pretty too.
4630 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4631 it builds without debug on.
4633 * test/test-simple.c (validate_accessible): fix the most
4636 * cspi/spi_main.c (spi_object_release): leave the nicely
4637 blanked memory around if in debug mode.
4639 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4641 [committed to fixups2]
4642 2001-12-05 Michael Meeks <michael@ximian.com>
4644 * libspi/editabletext.c
4645 (spi_editable_text_class_init): g_type_class_peek_parent,
4646 not interface peek - so we finalize cleanly.
4648 * libspi/accessible.c (spi_accessible_new): kill debug.
4650 * test/test-simple.c (validate_accessible): fix ref.
4651 leak, print strings before freeing them; sigh, comment a
4652 chunk out due to strangeness.
4653 (validate_tree): unref the child after use.
4655 * cspi/spi_component.c (AccessibleComponent_getLayer):
4656 add missing break statement, switch on zlayer not the
4657 uninitialized retval.
4659 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4660 before (possibly re-entering) remote unref.
4662 * test/simple-at.c (main): unref the desktop.
4664 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4667 * cspi/spi_main.c (cspi_accessible_is_a): here to
4668 isolate bonobo API usage more.
4670 * libspi/registry.c (impl_accessibility_registry_register_application):
4671 prune bogus comment.
4673 2001-12-04 Michael Meeks <michael@ximian.com>
4675 * test/test-simple.c (validate_tree): upd.
4676 IndexInParent check to make it more lucid.
4677 (validate_accessible): dump the tree.
4679 * libspi/accessible.c (de_register_public_ref),
4680 (get_public_refs): impl.
4681 (spi_accessible_new): make more efficient & intuitive.
4682 Now IndexInParent check works.
4684 2001-12-04 Michael Meeks <michael@ximian.com>
4686 * cspi/spi-util.h: remove.
4688 * cspi/spi.h: move SPI_freeString here
4690 * libspi/component.c (impl_accessibility_component_get_layer):
4692 (impl_accessibility_component_get_mdi_z_order): ditto,
4693 return -1 on error - is this ok ?
4695 * test/test-simple.c (test_application): impl.
4697 * cspi/spi_accessible.c (Accessible_getApplication),
4698 (Accessible_isApplication): impl.
4700 * libspi/registry.c (spi_listener_struct_free): release
4701 the CORBA reference too.
4703 * libspi/accessible.c
4704 (impl_accessibility_accessible_get_parent): fix ref leak.
4706 * libspi/registry.c (spi_registry_new): make the registry
4707 immortal - we don't want it to go away ever.
4709 * libspi/application.c
4710 (spi_accessible_application_finalize): impl. cleanup.
4712 * cspi/spi_registry.c
4713 (deregisterGlobalEventListenerAll),
4714 (deregisterGlobalEventListener),
4715 (deregisterAccessibleKeystrokeListener): fix ref leak.
4717 * cspi/spi_main.c (SPI_init): remove redundant ref.
4719 * test/test-simple.c (unutterable_horror): impl. to force a
4724 (impl_accessibility_registry_deregister_application): release
4725 the application when we de-register it.
4727 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4728 until we have the infastructure to get it right.
4730 2001-12-03 Michael Meeks <michael@ximian.com>
4732 * libspi/Makefile.am: only build eventlistener.[ch]
4734 * libspi/accessible.c
4735 (impl_accessibility_accessible_get_child_at_index): don't leak.
4737 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4738 before we hit the idle handler.
4740 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4741 debugging than exit.
4743 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4745 * libspi/listener.c (impl_notify_event): check source
4746 not NIL before unref.
4748 * libspi/registry.c (impl_registry_notify_event): ditto.
4750 * libspi/eventlistener.c
4751 (impl_accessible_event_notify_event): unref the source.
4753 * libspi/accessibleeventlistener.c
4754 (impl_accessible_event_notify_event): unref the source.
4756 * idl/Event.idl: remove 'hash_id' attribute - of no
4759 * libspi/application.c (notify_listeners): upd list
4761 (spi_application_object_event_listener),
4762 (spi_application_toolkit_event_listener): upd to do correct
4766 (_registry_notify_listeners): update.
4767 (parse_event_type): this method also leaks like a sieve.
4768 (impl_accessibility_registry_deregister_global_event_listener):
4769 fix ETYPE_WINDOW case.
4771 * libspi/application.c
4772 (impl_accessibility_application_register_object_event_listener):
4775 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4777 * libspi/hypertext.c (impl_getLink): ditto.
4779 * cspi/spi_main.c (cspi_object_add): remove
4780 bogus CORBA_Object_duplicate.
4782 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4785 * cspi/spi_accessible.c
4786 (Accessible_getRelationSet): fix leak / referencing issue.
4788 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4789 (cspi_object_add, cspi_object_unref): upd.
4790 (spi_object_release, get_live_refs): impl.
4791 (cspi_cleanup): simplify.
4793 * *.[ch]: s/boolean/SpiBoolean/
4795 * cspi/spi_accessible.c (role_names): actualy order so it
4796 corresponds with the enum !
4798 * test/test-simple.c (test_roles): check some role strings
4799 vs. enums to detect offset errors.
4801 2001-12-01 Michael Meeks <michael@ximian.com>
4803 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4805 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4807 (Accessible_getChildAtIndex): use cspi_add_check so we
4808 check the ev before using a (possibly) invalid value.
4810 * libspi/accessible.c
4811 (impl_accessibility_accessible_get_parent): don't segv
4814 * at-bridge/bridge.c (gtk_module_init): upd.
4815 (bridge_property_event_listener): don't leak strings
4817 (bridge_state_event_listener),
4818 (bridge_property_event_listener): don't use a static
4819 buffer in case of recursive event emission &
4820 re-enterancy - split out the swathe of cut and paste
4822 (emit_eventv): and fix 2 ref leaks here & comply to the
4824 (bridge_register_app): rename to
4825 (bridge_idle_init): this and kill arg parsing, split
4826 various inits & bonobo-activation registration to module
4827 init time, kill referencing error.
4828 (bridge_exit_func): fix the same leak.
4829 (bridge_focus_tracker): don't leak event structures
4831 (bridge_signal_listener): more leakage and cut & paste
4833 (bridge_key_listener): return the result - FIXME is
4834 this polarity correct ?
4835 (accessibility_keystroke_from_atk_key_event): rename
4836 (accessibility_init_keystroke_from_atk_key_event): and stop
4838 (gtk_module_init): return a value - not that it is checked by
4840 (bridge_key_listener): register my horror at casting between
4841 IDL defined structs.
4842 (bridge_get_registry): kill - not used.
4844 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4846 * test/test-simple.c (test_roles): impl.
4847 (test_desktop, validate_accessible, validate_tree): impl.
4849 * cspi/spi_accessible.c (role_names): fixup bogus
4850 MAX_ROLES setup, make constants const for efficient linkage
4851 (AccessibleRole_getName): conform to coding style, make
4854 2001-11-30 Michael Meeks <michael@ximian.com>
4856 * cspi/spi.h: add missing prototype.
4858 * libspi/registry.c (spi_listener_struct_new): fix sig.
4860 * test/Makefile.am: add test-simple
4862 * test/test-simple.c: add
4864 * test/test.sh: add.
4866 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4868 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4869 do it straight - since otherwise we often get an activation race.
4871 [ work before Bill duplicated a chunk of it ... ]
4872 2001-11-30 Michael Meeks <michael@ximian.com>
4874 * libspi/keystrokelistener.c
4875 (spi_keystroke_listener_class_init): fixup arg
4878 * libspi/eventlistener.c
4879 (spi_event_listener_class_init): ditto.
4881 * tests/test.sh: add.
4883 * cspi/spi-listener-impl.h: update macros.
4885 * cspi/spi-listener-impl.c
4886 (cspi_event_listener_remove_callback): add
4887 correct pre-conditions.
4889 * cspi/spi_main.c (SPI_exit): guard vs. double
4890 exits, exit the mainloop nicely.
4891 (SPI_event_main): make more sense.
4892 (SPI_init): move the atexit evilness here so we
4893 always do it (yuck).
4894 (SPI_event_main): upd.
4896 * test/simple-at.c: update for listener changes.
4898 * registryd/registryd.c (main): prune kruft.
4900 * libspi/libspi.h: upd.
4902 * libspi/eventlistener.[ch]: rename broken macros.
4904 * libspi/accessibleeventlistener.[ch]: remove.
4906 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4908 * test/test-simple.c: Add - automated tests.
4910 * cspi/spi-listener-impl.c (cspi_event),
4911 (cspi_key_event): add user_data to invoke.
4912 (cspi_keystroke_listener_finalize): impl.
4913 (cspi_keystroke_listener_class_init): upd.
4916 (createAccessibleEventListener),
4917 (AccessibleEventListener_addCallback),
4918 (createAccessibleKeystrokeListener),
4919 (AccessibleKeystrokeListener_addCallback): upd.
4921 * libspi/deviceeventcontroller.c
4922 (spi_device_event_controller_check_key_event): add public proto.
4925 (impl_accessibility_registry_deregister_global_event_listener):
4926 always init listeners.
4927 (_registry_notify_listeners): yes it is.
4929 * cspi/spi-listener-impl.c (cspi_key_event):
4931 (cspi_event_listener_finalize): impl.
4932 (cspi_event_listener_class_init): hook up.
4933 (event_handler_new, event_handler_free),
4934 (event_list_remove_by_callback): impl.
4935 (cspi_event_listener_remove_callback),
4936 (cspi_keystroke_listener_remove_callback),
4937 (cspi_keystroke_listener_add_callback),
4938 (cspi_event_listener_add_callback): upd.
4940 * libspi/keystrokelistener.c
4941 (keystroke_listener_object_finalize): kill
4942 (spi_keystroke_listener_class_init): upd.
4943 (spi_keystroke_listener_add_callback),
4944 (spi_keystroke_listener_remove_callback): kill,
4946 (impl_key_event): prune drasticaly.
4948 * libspi/eventlistener.c
4949 (spi_event_listener_add_callback),
4950 (spi_event_listener_remove_callback): kill, use
4952 (impl_accessible_event_notify_event): upd.
4953 (spi_event_listener_object_finalize): remove.
4955 * libspi/Makefile.am: use eventlistener.[ch]
4957 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4959 * libspi/registry.c (_registry_notify_listeners):
4960 Changed listener loop iteration to use preferred convention.
4961 Got rid of string memory leaks caused be calling g_strconcat
4962 inside function calls.
4964 * libspi/registry.c (parse_event_type):
4965 Stopped g_strconcat memory leaks, free the g_strsplit return,
4966 g_strdup the split pieces when used, etc.
4968 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4971 Change method 'compare' to return a 'difference set' rather than
4972 taking a StateSet as an out parameter (more Java-friendly).
4974 * idl/Accessible.idl:
4975 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4977 * idl/Component.idl:
4979 Changed methods 'getExtents' and 'getImageExtents' in these
4980 interfaces to return a BoundingBox structure.
4981 (getPosition and getSize are redundant and possibly should be
4982 removed, rather than creating a corresponding Point struct.)
4984 * cspi/spi_component.c:
4985 Modify implementation of getExtents to reflect the above IDL
4990 Add (missing) AccessibleImage_getExtents () API.
4992 * docs/reference/cspi/at-spi-cspi-sections.txt:
4993 Added AccessibleImage_getImageExtents () to docs.
4995 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4997 * idl/Component.idl:
4998 Added two methods, getLayer () and getMDIZOrder (), to reflect
4999 the new ATK methods atk_object_get_layer and
5000 atk_object_get_mdi_z_order. (Which arguably should be part of the
5001 AtkComponent API and AtkObject). Also added an enum,
5002 ComponentLayer, for the first method's return value.
5004 * libspi/component.c:
5005 Added implementations for these methods.
5007 * cspi/spi_component.c:
5009 Added cspi binding methods for above,
5010 AccessibleComponent_getLayer() and
5011 AccessibleComponent_getMDIZOrder().
5012 Added cspi enum 'AccessibleComponentLayer'.
5014 * docs/reference/cspi/at-spi-cspi-sections.txt:
5015 Added above methods to docs.
5019 Changed typedef for 'boolean' type (and all references to it) to
5020 SPIBoolean, to avoid keyword clashes with C++.
5023 Changed usages of 'boolean' to SPIBoolean.
5025 * test/keysynth-demo.c:
5026 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5027 app), except where SPIBoolean is required by the callbacks API.
5029 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5031 * cspi/spi_registry.c:
5032 Removed obsolete X event loop for passive keygrabs (which now
5035 * registryd/registryd.c:
5036 Removed unnecessary call to gdk_init() [cruft]. This also allows
5037 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5040 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5042 * docs/reference/cspi:
5043 Included docs for SPI_freeString in generated documentation.
5046 Renamed spi_freeString to SPI_freeString, for consistency. Added
5047 documentation for this function.
5050 Renamed spi_freeString to SPI_freeString, for consistency.
5051 Removed obsolete method declaration string_from_corba_string.
5053 * test/keysynth-demo.c:
5054 Small tweak to comments.
5057 Stopped leaking the strings returned from CSPI.
5059 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5061 Merged Michael's branch (see his ChangeLog entries below).
5063 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5064 bridge is alive, release on exit.
5066 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5067 Fix type check macro.
5070 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5073 Added is_gnome_app static, and method cspi_is_gnome_app(),
5074 so we can call the appropriate shutdown routine at exit in SPI_exit.
5076 * cspi/spi_main.c (cspi_object_ref):
5077 Duplicate the corba object passed in, since we're keeping it around.
5079 * cspi/SPI_exit.c, cspi_cleanup:
5080 Moved the releasing of the live refs to its own function, so we
5081 can put it in g_atexit (). Call the appropriate shutdown API
5082 depending on whethe calling client is a gnome app or not
5083 (bonobo_main_quit or CORBA_ORB_shutdown).
5085 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5086 Unref the listener when this method is called, after
5087 deregistration. Updated the API docs to note this behavior.
5089 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5090 Bugfixes: Ref the bonobo object when returning a parent or child
5091 reference, or an AccessibleRelation. Generally made sure
5092 BonoboObject refcount is incremented whenever we return an
5095 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5096 Fixed typo/bug in signal declaration.
5098 * libspi/accessibleeventlistener.h:
5101 * libspi/application.c (spi_application_new):
5102 Fixed leak in initialization.
5105 Remembered to increment bonobo-object refcount when returning
5106 children (applications) from desktop object.
5107 Added (empty) finalize method.
5109 * libspi/deviceeventcontroller.c:
5110 Hold a ref to listeners inside DEControllerKeyListeners.
5111 Added dec_key_listener_free() method. Use prepend instead of
5112 append in key_listener list. Fixed some refcount madness and
5113 leaks in the listener registration/deregistration - deregistration
5114 now calls dec_key_listener_free() on listeners, and on the
5115 temporarily constructed dec_key_listener() used to perform the search/match.
5117 * libspi/hypertext.c (spi_hypertest_finalize):
5118 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5119 class. Also fixed spi_hypertext_interface_new() and
5120 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5122 * libspi/hypertext.h:
5123 Removed pointless and duplicate AtkObject pointer from
5126 * libspi/keystrokelistener.c:
5127 Fixed incorrect type of keystroke_listener_parent_class,
5128 renamed keystroke_listener_object_finalize to
5129 spi_keystroke_listener_object_finalize.
5130 Fixed typo in signal declaration
5131 (spi_keystroke_listener_class_init).
5133 * libspi/registry.c:
5134 Added funcsions spi_listener_struct_new() and
5135 spi_listener_struct_free() to help with memory management issues.
5136 We also now use these methods instead of gnew + poking stuff into
5137 the struct, and to decrement listener counts/free the listeners
5138 when deregistering them.
5139 Fix more refcount bugs in getDesktop() and
5140 getDeviceEventController().
5143 De-ref the desktop after enumerating the applications. Explicitly
5144 decrement the refcounts on the created listeners on exit (using
5145 _unref for keystroke listeners, and via the
5146 deregisterGlobalEventListenerAll command for other event
5149 2001-11-27 Michael Meeks <michael@ximian.com>
5151 * cspi/spi-listener.h: fixup enum.
5153 2001-11-27 Michael Meeks <michael@ximian.com>
5155 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5156 (cspi_keystroke_listener_new): Use the cspi variants.
5158 2001-11-26 Michael Meeks <michael@ximian.com>
5160 * test/keysynth-demo.c: fix 2 compile warnings, missing
5163 * test/simple-at.c (report_focussed_accessible),
5164 (report_focus_event, report_button_press),
5165 (check_property_change, is_command_key),
5166 (report_ordinary_key_event, report_command_key_event): upd.
5168 * util/mag_client.h: include pre-requisites.
5170 * libspi/accessibleeventlistener.c
5171 (spi_event_listener_object_finalize): free any lingering
5174 * libspi/keystrokelistener.c
5175 (keystroke_listener_object_finalize): ditto.
5177 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5178 callbacks, with cspi types.
5180 * cspi/spi_event.c (createAccessibleEventListener): chain to
5181 (AccessibleEventListener_addCallback): here.
5182 (createAccessibleKeystrokeListener): chain to
5183 (AccessibleKeystrokeListener_addCallback): here.
5185 * libspi/keystrokelistener.c
5186 (spi_keystroke_listener_class_init): add signal.
5187 (impl_key_event): emit the event.
5188 (boolean_handled_accumulator): impl.
5189 (marshal_BOOLEAN__POINTER): add, gack.
5191 * libspi/accessibleeventlistener.c
5192 (spi_event_listener_class_init): add signal.
5193 (impl_accessible_event_notify_event): emit the signal &
5194 make the loop efficient.
5195 (spi_event_listener_add_callback): prepend the callback.
5197 * libspi/accessibleeventlistener.h: add an 'event' signal,
5198 decl type on callback.
5200 * libspi/keystrokelistener.h: ditto.
5202 * cspi/spi-listener.h: make methods typesafe and
5203 make them use the new event typedefs.
5205 * test/simple-at.c (report_focussed_accessible):
5206 include mag_client.h
5207 Use *(void *)text_interface not the other thing.
5209 * configure.in: add gtk to registryd bits - since we use
5212 * util/magnifier.c: include libbonobo.h
5214 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5216 * test/keysynth-demo.c:
5217 Turned this into a simple scanning keyboard, to demonstrate the
5218 use of g_timeout_add () as a means of creating timers for
5219 scanning, and the use of GtkStyle for visually indicating when
5220 virtual keyboard elements are selected.
5222 keysynth-demo now listens to any keyboard keys with zero-valued
5223 keycodes (i.e. 'unused' keys) and interprets them as
5226 Reworked the shiftlatch code so that shift-down state isn't held
5227 for long periods (it's only synthesized immediately prior to
5228 the keysynth event it's modifying). Note that shiftlatch in this
5229 demo is a convenience, not intended to take the place of AccessX
5230 which is the better choice for getting 'sticky' modifier keys.
5232 * libspi/deviceeventcontroller.c:
5233 * at-bridge/bridge.c:
5234 * cspi/spi_registry.c:
5235 Removed some debug print stuff, and put other verbosity in #ifdef
5240 Implemented some more of the magnifier IDL for the simple
5241 magnifier: namely, getZoomRegionParams.
5242 Added mag_x and mag_y members to MagnifierData struct, aid of this
5244 Added GtkWindow::realize signal handler to magnifier, to keep it
5245 from receiving keyboard focus from the WM.
5247 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5249 * cspi/spi-private.h: my guess at what michael forgot
5250 before he ran off to NZ :-)
5252 2001-11-23 Michael Meeks <michael@ximian.com>
5254 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5255 comment out non existant method invoke so we link.
5257 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5258 use bonobo_exception_get_text for more friendly warnings.
5260 * cspi/spi.c (Obj_Add): move into spi_main & rename
5261 spi_object_add; kill spi.c
5263 * cspi/spi_registry.c
5264 (deregisterGlobalEventListener),
5265 (deregisterGlobalEventListenerAll),
5266 (registerGlobalEventListener): fix exception leaks.
5268 * cspi/spi_main.c (spi_exception): impl. helper, so we
5269 don't leak exceptions.
5271 * cspi/spi_selection.c
5272 (AccessibleSelection_deselectSelectedChild): return the
5275 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5276 (spi_registry): ditto.
5277 (SPI_init): guard against double inits.
5279 * cspi/*.c: use spi_ev (), and spi_registry () where
5280 appropriate - a temporary hack until we have something
5281 better. Use spi_object_add
5283 2001-11-22 Michael Meeks <michael@ximian.com>
5285 * cspi/Makefile.am: re organise, install the headers.
5287 * cspi/*.h: add G_BEGIN/END_DECLS
5289 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5292 Added non-preemptive keylistener for key events with no modifiers
5293 and shift-only modifier.
5295 * libspi/keystrokelistener.c:
5296 Removed some verbose diagnostics printout.
5298 * cspi/spi_registry.c:
5299 Fixed a bug that caused all key listeners to be registered as
5302 * libspi/deviceeventcontroller.c:
5303 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5304 for non-preemptive key masks.
5307 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5309 * docs/reference/idl/at-spi-idl-docs.sgml:
5310 * docs/reference/idl/at-spi-idl-sections.txt:
5311 * docs/reference/idl/at-spi-idl-overrides.txt:
5312 Added missing files.
5314 * docs/reference/Makefile.am:
5315 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5316 to scan the IDL files :-(
5321 Added .cvsignore files.
5323 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5325 * libspi/deviceeventcontroller.c:
5326 * libspi/keystrokelistener.c:
5328 * cspi/spi_registry.c:
5329 Added filters for KeySets, KeyEventSeq, and event types to key
5330 event dispatching, so listeners should only receive those events
5331 that they requested :-)
5333 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5338 * docs/reference:Makefile.am:
5339 * docs/reference/cspi:
5340 * docs/reference/cspi:Makefile.am:
5341 * docs/reference/cspi:tmpl:
5342 * docs/reference/cspi:tmpl:*.sgml:
5343 * docs/reference/idl:
5344 * docs/reference/idl:Makefile.am:
5345 * docs/reference/idl:at-spi-idl-sections.txt:
5346 * docs/reference/idl:at-spi-idl-docs.sgml:
5347 * docs/reference/idl:tmpl:
5348 * docs/reference/idl:tmpl:*.sgml:
5350 Restructured docs directory to allow separate 'reference' docs
5351 section, and forked idl and cspi docs. Added the sgml template
5352 files to CVS. Added the first sections/structural sgml for the
5355 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5357 * configure.in, libspi/Makefile.am: find libXtst.
5359 2001-11-21 Michael Meeks <michael@ximian.com>
5361 * test/accessx-gui.c: s/spi_value/value/ - doh.
5363 * libspi/base.[ch]: add.
5365 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5367 * idl/Accessible.idl:
5368 * idl/Application.idl:
5371 Started gtk-doc cleanup on IDL.
5373 * libspi/deviceeventcontroller.c:
5374 Added and connected non-preemptive key notification from the
5375 toolkits (in addition to the pre-emptive support from XServer
5376 which we had before, but which causes 'focus flashing'). Filters
5377 are presently limited to key modifiers and global/non-global,
5378 KeySets are presently ignored, as are KeyEvent masks.
5380 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5381 structs into the persistant structure rather than just storing
5382 pointers to things that might not persist across servant
5385 The XGrabKey call now does async keygrabs, because synchronous
5386 ones were deadlocking with GDK_event code in a very nasty way.
5388 Added boolean to internal method notify_keylisteners, to indicate
5389 whether the event came from the 'toolkit source' or the 'global
5390 (XServer) source' - this is used in the notification process to
5391 determine which listeners to send the event to.
5393 deviceeventcontroller.c is now warning-free.
5395 * libspi/registry.c:
5396 Fixed regression in application de-registration.
5397 Also fixed some really brain-dead weirdness having to do with
5398 event dispatching - event structs are now duplicated before being
5399 re-marshalled in the dispatch to listeners. This also fixes a
5400 Solaris build problem.
5403 2001-11-20 Michael Meeks <michael@ximian.com>
5406 (impl_accessibility_registry_deregister_global_event_listener):
5409 * libspi/deviceeventcontroller.c
5410 (spi_device_event_controller_check_key_event): return
5411 FALSE on no virtual method.
5413 * libspi/*..h: make includes work on a correctly pathed install.
5415 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5417 * libspi/application.h: kill unused ( and whacked out )
5418 gboolean *spi_application_set_id (AtkObject *app, long id);
5420 2001-11-20 Michael Meeks <michael@ximian.com>
5422 * libspi/*.[ch]: further convert to bonobo's type func
5423 macros, remove redundnant casts etc.
5425 * libspi/text.c s/accessibility_text/spi_text/g,
5426 re-order to de-cruft.
5428 * libspi/hypertext.c: re-order to kill a huge slew
5429 of redundant forward decls.
5431 * libspi/relation.c: ditto.
5433 * libspi/image.c: ditto.
5435 * */.cvsignore: update
5437 2001-11-20 Michael Meeks <michael@ximian.com>
5439 * libspi/deviceeventcontroller.c
5440 (_controller_register_with_devices): use g_getenv,
5441 kill stdlib.h include.
5443 * libspi/keystrokelistener.c
5444 (spi_keystroke_listener_get_type): kill
5445 (spi_keystroke_listener_class_init),
5446 (spi_keystroke_listener_init): rename to this.
5448 * libspi/text.c (impl_getAttributes): fix warning / bug.
5450 * libspi/*.[ch]: more headers, includes and over commenting.
5452 2001-11-20 Michael Meeks <michael@ximian.com>
5454 * libspi/*.[ch]: fixup headers, includes and over commenting.
5456 * libspi/image.c (impl__get_imageDescription): const
5457 correctness warning fix. remove redundant casting.
5459 * libspi/table.c (impl_getRowDescription): ditto.
5460 (impl_getColumnDescription): ditto.
5462 * libspi/libspi.h: add.
5464 2001-11-19 Michael Meeks <michael@ximian.com>
5466 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5468 * libspi/component.c (accessibility_component_get_type):
5469 rename to (spi_component_get_type): and macroify.
5470 (accessibility_component_init): rename to
5471 (spi_component_init): this
5472 (accessibility_component_class_init): rename to
5473 (spi_component_class_init): this
5475 * libspi/action.c (spi_action_get_type): kill, use the macro.
5477 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5480 * libspi/application.c (spi_application_object_event_listener),
5481 (impl_accessibility_application_register_object_event_listener):
5482 warning fixes / const understanding updates.
5484 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5487 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5489 * libspi/spi_accessible.c: Added docs and C bindings for
5490 AccessibleStateSet. (No implementations yet). Documentation
5491 coverage for C bindings now 100%. Made docs for event listeners
5496 boolean notifyListenersSync (in DeviceEventListener listener,
5497 in DeviceEvent event);
5499 oneway void notifyListenersAsync (in DeviceEventListener listener,
5500 in DeviceEvent event);
5502 Added DeviceEventListener and DeviceEvent structs (may deprecate
5503 KeyStroke and KeystrokeListener in favor of this generic
5504 event/listener framework for devices).
5506 * libspi/deviceeventcontroller.c:
5508 Changed some key listener code to take masks, etc., and paved the
5509 way for integration of toolkit/non-preemptive key events. Changed
5510 signatures of some internal methods.
5512 * at-bridge/bridge.c:
5513 Fixed regression connecting to interface signals, apparently
5514 caused by GTK+ changes.
5516 Added an internal bridge_state_listener to deal with
5517 property-change:accessible-state signals.
5519 Changed the key_listeners GList to store structs (including masks,
5520 etc.) instead of just CORBA_Objects (required for full
5521 implementation of key listener API).
5523 Connected the bridge to all currently supported Atk signals.
5524 Events now supported:
5525 object:property-change
5526 object:property-change:accessible-name
5527 object:property-change:accessible-state
5528 object:property-change:accessible-description
5529 object:property-change:accessible-parent
5530 object:property-change:accessible-value
5531 object:property-change:accessible-role
5532 object:property-change:accessible-table-caption
5533 object:property-change:accessible-table-column-description
5534 object:property-change:accessible-table-column-header
5535 object:property-change:accessible-table-row-description
5536 object:property-change:accessible-table-row-header
5537 object:property-change:accessible-table-summary
5538 object:children-changed
5539 object:visible-data-changed
5540 object:selection-changed
5541 object:text-selection-changed
5543 object:text-caret-moved
5545 object:row-reordered
5547 object:column-inserted
5548 object:column-reordered
5549 object:column-deleted
5550 object:model-changed
5552 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5554 * libspi/hyperlink.c,h:
5555 Fixed some broken stuff in hyperlink.
5557 * libspi/relation.h:
5558 * libspi/relation.c:
5559 * cspi/spi_accessible.c:
5560 Initial implementations of AccessibleRelation methods, and docs.
5562 * libspi/accessible.c:
5563 Fixed a bug that caused SEGV if an accessible
5564 object's description is NULL, and a client
5565 requests it. An empty string is now returned.
5567 * cspi/spi_editabletext.c:
5568 * cspi/spi_hypertext.c:
5570 * cspi/spi_hyperlink.c:
5574 Doc coverage now 95%.
5576 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5578 One last namespacing revision:
5579 * libspi/accessibleeventlistener.[ch]:
5580 Renamed SpiAccessibleEventListener to SpiEventListener,
5581 (no need for two namespaces ;-)
5583 And lots of documentation fixes:
5585 * docs/at-spi-docs.sgml:
5586 Fixed 'underscore vs. hyphen' bug that was preventing
5587 the gtk-doc API docs from being automatically generated.
5590 * cspi/spi-listener.h
5592 * cspi/spi_accessible.c
5594 * cspi/spi_application.c
5595 * cspi/spi_component.c
5596 * cspi/spi_editabletext.c
5598 * cspi/spi_hypertext.c
5600 * cspi/spi_registry.c
5601 * cspi/spi_selection.c
5605 * docs/at-spi-docs.sgml
5606 * docs/at-spi-sections.txt
5608 Added and fixed up gtk-doc documentation in cspi.
5610 Interfaces now (fully) documented (subject to revision and enhancement):
5612 Event Listener Support
5614 AccessibleApplication
5618 AccessibleEditableText
5625 AccessibleRelationSet
5630 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5632 * at-bridge/bridge.c:
5633 Initial work for toolkit-level key snooper connection by bridge.
5638 New typedefs and fixes to support new namespacing, and cleaner
5639 separation of cspi bindings from libspi bonobo implementation.
5640 Removed inconsistent and extraneous Spi* namespace prefix that
5641 had crept into cspi headers.
5642 Lots of comment fixes that sed had missed.
5644 * cspi/spi-roletypes.h:
5645 * cspi/spi-statetypes.h:
5646 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5647 to AccessibleRoleType.
5649 * libspi/accessibleeventlistener.h:
5650 Fixed minor namespacing weirdness.
5652 * libspi/deviceeventcontroller.c:
5653 Reordered some internal API for device listeners.
5654 Changed the key registry final boolean to 'is_system_global'
5655 rather than 'is_synchronous', which is more descriptive of its
5657 Added spi_device_event_controller_new().
5658 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5660 * libspi/keystrokelistener.[ch]:
5661 Namespaced KeystrokeListener to SpiKeystrokeListener.
5662 Changed uses of keymasks to use SPI_ prefix, and did other
5665 * libspi/keymasks.h:
5666 Namespaced keymask constants with SPI_ prefix.
5668 * libspi/registry.c:
5669 Some warning fixes, and knock-on fixes from namespace changes.
5672 Added rules for accessx-gui test program.
5674 * test/accessx-gui.c:
5675 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5676 utility. It doesn't actually use at-spi, but it's still cool and
5679 * test/keysynth-demo.c:
5683 Fixes so that these test clients work properly with the namespaced
5684 libraries. (Incompletely tested for technical reasons, fixes may follow)
5687 2001-11-13 Michael Meeks <michael@ximian.com>
5689 * libspi/application.c
5690 (impl_accessibility_application_get_version),
5691 (impl_accessibility_application_get_toolkit_name):
5693 (impl_accessibility_application_set_id),
5694 (impl_accessibility_application_get_id): remove
5695 redundant casting code.
5697 * libspi/action.c (impl_getDescription): fix warnings.
5699 * libspi/accessible.c
5700 (impl_accessibility_accessible_get_parent),
5701 (impl_accessibility_accessible_get_child_at_index),
5702 (impl_accessibility_accessible_get_state),
5703 (impl_accessibility_accessible_get_relation_set):
5704 warning fixes & include action.h
5706 2001-11-13 Michael Meeks <michael@ximian.com>
5708 * *.[ch] fix bits I screwed up:
5710 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5711 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5713 2001-11-13 Michael Meeks <michael@ximian.com>
5715 * *.[ch] Namespace libspi into spi_ and Spi.
5717 2001-13-11 Michael Meeks <michael@ximian.com>
5719 * Makefile.am: dist & install at-spi-1.0.pc
5721 * libspi/Makefile.am: install into at-spi-1.0
5723 * idl/Makefile.am (idldir): install into at-spi-1.0
5725 * at-spi-1.0.pc.in: add.
5727 * configure.in: build it.
5729 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5731 * test/keysynth-demo.c:
5732 Use a 'realize' signal-handler to set the WM properties for
5733 the virtual keyboard, rather than making it a "POPUP" type
5734 override-redirect window (thanks to anders carlsson for that
5737 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5740 * test/keysynth-demo.c:
5741 Added new test of key synthesis, which creates a simple
5742 (mouse-operated) onscreen keyboard. It inserts key events into
5743 the currently-focused window, thus it does not grab keyboard focus
5746 * cspi/spi_registry.c:
5747 Added C binding for AT-SPI generateKeyEvent.
5749 * libspi/deviceeventcontroller.c:
5750 Added call to XFilterEvent so that key listener works with XIM (we
5751 hope). Added event_synth_type to generateKeyEvent, so that we can
5752 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5753 synthesize a press/release pair for KeySyms.
5755 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5757 * libspi/Makefile.am:
5758 * registryd/Makefile.am:
5759 (temporary) hack to include libXtst in libspi and registryd.
5760 (Needed for keystroke synthesis, see below).
5763 Improved API for registerKeystrokeListener, in accordance with
5764 discussions with Gnopernicus team and X server research.
5766 * libspi/registry.c:
5767 * libspi/deviceeventcontroller.c:
5768 * libspi/accessible.c:
5769 * libspi/keystrokelistener.c:
5770 Changes and fixes to support keylisteners for potentially
5771 consumed key events (that is, 'passive grabs').
5772 Added implementation for generateKeyEvent() [untested].
5775 Changes to registerKeystrokeListener() API, as above.
5776 Added deregisterGlobalEventListenerAll(), and
5777 deregisterKeystrokeListener(), which are needed for clean exit of
5779 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5780 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5782 * cspi/spi_registry.c:
5783 Added implementations of function prototypes mentioned above.
5785 * registryd/registryd.c:
5786 Added the key listener event source as a g_timeout(), to allow
5787 receipt of key events that are not caught by GDK (since GDK
5788 doesn't support passive keygrabs, this was necessary).
5791 Changed to attach a keylistener to 'Alt' keys, and
5792 respond to the following keycommands: Alt-M (toggle magnifier);
5793 Alt-F (toggle speech); Alt-Q (quit).
5794 Added an exit routine to deregister the listeners, and a key
5795 listener that prints some key info to the console when a key
5796 matches the listener mask (and is thus received by the listener).
5798 * util/idl/Magnifier.idl:
5799 Changes to magnifier API to support multiple zoom regions,
5800 non-uniform scaling in x and y, markDirty, and a host of other
5801 features that would be useful to magnification.
5804 * util/mag_client.c:
5805 * util/mag_client.h:
5806 * util/mag_control.c:
5808 Source code changes to support the above IDL changes.
5811 As above, and also changes to use a (slower) generic conversion
5812 path for colormap conversions, since the fast RGB conversions have been
5813 reported to fail for 16-bit displays.
5815 2001-10-26 Michael Meeks <michael@ximian.com>
5817 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5819 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5821 * at-bridge/Makefile.am: fix LDFLAGS.
5823 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5825 * at-bridge/bridge.c:
5826 Re-worked listeners for toolkit events, now we have signal
5827 and property listeners. Added a private method
5828 register_atk_event_listeners(), which registers with the
5829 various atk and gtk signals we need to monitor in order to emit
5831 Added emission hook for AtkObject:property-change events, to
5832 support the 'property listeners'.
5833 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5836 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5837 which emit warnings and exit, respectively, if CORBA errors occur
5838 during remote calls, and we now use these methods to check most of
5839 our CORBA calls in the C bindings.
5841 * cspi/spi_accessible.c:
5842 Changed AccessibleSelection_refSelectedChild() to
5843 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5844 now increment refcounts.
5846 * cspi/spi_component.c:
5847 Fixed some long pointer casts (dangerous!) to pass pointers to
5848 CORBA_longs of the proper type to the CORBA stubs, and copy the
5849 data into the longs that were passed into the C bindings code.
5851 * at-bridge/bridge.c:
5853 * libspi/accessible.c:
5854 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5855 hyperlinks, AtkHyperlink is an object type.
5857 * libspi/application.c:
5858 Added various conversions to and from "generic" event types and
5859 atk-specific types; this is really part of the 'bridge'
5860 implementation but is valid for all AtkObject-based accessibility
5863 * libspi/editabletext.c:
5864 Fixed nasty bug wherein editable text's finalize method was
5865 unref'ing tha AtkObject reference that the text parent class was
5866 about to unref _again_. There was also a nasty inheritance bug
5867 that meant that the AccessibleEditableText class was corrupt.
5869 * libspi/selection.c:
5870 Provided implementations for some selection API that was broken.
5872 * idl/Application.idl:
5873 Added registerObjectEventListener () method.
5876 Fixed a number of return values that were Bonobo_Unknowns from
5877 bonobo_object_corba_objref(), which I
5878 forgot to dup before returning. Changed instances of
5879 bonobo_object_corba_objref (bonobo_object(o)) to
5880 BONOBO_OBJREF(o), for concision and clarity.
5882 2001-10-13 Louise Miller <louise.miller@sun.com>
5884 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5885 idl/Event.idl, idl/Registry.idl
5886 Changed these files to include Bonobo_Unknown.idl instead
5889 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5891 * libspi/component.c libspi/component.h:
5892 Fixed typo. Added assertions for object checks in
5893 AccessibleComponent code.
5895 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5897 * idl/Accessible.idl:
5898 Added 'isEqual (Accessible *object)'
5899 method for Accessible. (Not Yet Implemented).
5902 Changed signature of registerKeystrokeListener() to
5903 take a KeySet and KeyEventSeq so that specific keys and event
5904 types could be requested for monitoring, and added a flag
5905 is_synchronous so that either synchronous or asynchronous
5906 notification could be requested. (However this is not all
5907 implemented yet). This also meant adding two new typedefs,
5908 KeyEventSeq and KeySet.
5911 Added two new relations, RELATION_TOOLTIP_FOR and
5912 RELATION_LEAFNODE_OF.
5915 Added new state, STATE_HAS_TOOLTIP.
5917 * libspi/text.c, editabletext.c:
5918 Added new assertions to all casts of bonobo-objects from
5919 CORBA servants, to prevent Text API calls on non-text objects.
5920 Changed suspect casts of int-pointer types, so that we
5921 always send a valid CORBA_long pointer to the CORBA APIs that use
5922 in/out long parameters. We then have to copy from the CORBA_long
5923 into the regular long or int for return to the C bindings, or
5924 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5927 * libspi/deviceeventcontroller.c:
5928 Cleaned these sources up.
5930 Changed return type for getCharacterAtOffset to
5931 CORBA_unsigned_long, to allow for 32-bit characters.
5934 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5938 Fixed 'make dist' so that distro compiles...
5939 * libspi/keymasks.h:
5941 * cspi/spi-listener.c:
5942 KeystrokeListenerCB now returns a boolean.
5944 Added KeyEventType struct, and KeyStroke.
5945 Also added createKeystrokeListener(),
5946 KeystrokeListener_addCallback(),
5947 KeystrokeListener_removeCallback(), and added a keymask to
5948 registerKeystrokeListener().
5949 * cspi/spi_accessible.c:
5950 Changed numerous return types for interfaces from
5951 AccessibleComponent to Accessible<InterfaceName>; this was
5952 probably a cut-and-paste error.
5954 Implementations of new KeystrokeListener api (from spi.h,
5957 Changes to key modifier mapping.
5958 Created ControllerEventMask struct.
5959 Made DeviceEventController derive from Bonobo::Unknown.
5961 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5962 * libspi/deviceeventcontroller.c:
5963 Added a number of new internal (private) methods.
5964 * libspi/editabletext.c:
5965 * libspi/editabletext.h:
5966 Fixed a number of bugs related to the fact that
5967 editabletext inherits from text. Fixed the EditableText struct,
5968 the init() call, and use correct casts when calling Text methods
5969 from an EditableText object. Removed (duplicate) atko from the
5970 EditableText structure, we use the one in the parent Text
5971 structure via the casts mentioned above.
5972 * libspi/keystrokelistener.[ch]:
5973 * libspi/registry.c:
5974 Changes in support of keyboard handling (above).
5976 Keyboard handling, though partly functional, is still not
5977 recommended for at-spi client use as there is considerable
5978 work yet to be done.
5981 Changed some places where pointers to various int types
5982 are cast to be pointers to CORBA_long types and vice-versa:
5983 pointer casting is not safe so we pass pointers of the correct
5984 types and then cast the result before putting it into the target
5987 * libspi/text.h: minor typos corrected.
5989 We now speak not only the name of a Text element, but the
5990 first sentence of its content, when it receives focus.
5991 I also changed the text compression to 75% from 50%.
5992 * util/Accessibility_Util.server.in:
5993 Changed the default magnifier type to be a 3x vertical
5994 splitscreen magnifier (was previously a 2x horizontal one).
5996 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5998 * libspi/keystrokelistener.h:
5999 * libspi/keystrokelistener.c:
6000 Initial functional implementations of KeystrokeListener.
6003 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6005 Fixed string handling for NULL strings in libspi.
6006 Added spi_freeString to free strings returned by C bindings.
6008 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6010 * libspi/keystrokelistener.h:
6011 * libspi/keystrokelistener.c:
6012 Began (no-op) implementations of KeystrokeListener
6014 * libspi/deviceeventcontroller.c:
6015 * libspi/deviceeventcontroller.h:
6016 Began creating implementations of DeviceEventController,
6017 to handle keystroke and mouse event listening and
6019 * libspi/accessible.c:
6020 Stubbed-in the implementations for
6021 Accessibility_Accessible_getState and
6022 Accessibility_Accessible_getRelationSet.
6023 * libspi/registry.c:
6024 Improved de-registration process and fixed some bugs,
6025 deregistration now works correctly.
6027 Added initialization of applications list (to NULL).
6029 Reduced speech compression from 0.5 to 0.7, for demo.
6030 Changed call to gdk_window_set_decorations()
6031 to gtk_window_set_decorated().
6032 * at-bridge/bridge.c:
6033 Bridge now deregisters when app exits, via
6034 registration of a cleanup function
6035 with the g_atexit() call.
6036 Required making 'app' static, renamed 'this_app'.
6037 Fixed broken use of bonobo_init, passing argv wrongly.
6039 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6043 Created a new directory for
6044 accessibility-related utilities, primarily for
6045 testing and demo purposes, but with possible
6052 Onscreen magnifier utility that
6053 is implemented as a bonobo service.
6055 * util/mag_client.c:
6056 * util/mag_client.h:
6057 Client-side support (simple C bindings)
6058 for Magnification service
6060 * util/mag_control.c:
6061 Client program example for
6062 Magnification service
6064 * util/Accessibility_Magnifier.server.in:
6065 Bonobo-activation file for the
6066 Magnification service.
6069 * util/idl/Magnifier.idl:
6070 IDL defining the bonobo Magnification
6074 Modifications to use the bonobo-activated magnifier
6075 above, in place of trying to connect to an existing
6076 magnifier that uses socket-listening IPC.
6078 If env variable MAGNIFIER is set, a magnifier service
6079 will be started if one does not exist.
6081 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6083 * at-bridge/bridge.c:
6084 applied patch from Marc to build and run
6085 against new glib and gtk+ (seemed like a change
6086 to bonobo_init signature was made ?)
6088 made festival-server support turned off by default.
6089 Added support for a simple magnifier (off by default)
6090 which will be added to a 'util' directory later.
6091 * at-bridge/Makefile.am:
6092 Changed "application.h" header from a 'source'
6093 to a 'dependency' of libat-bridge.
6095 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6104 Added interface implementation c files to list of
6105 includes so they are included in libcspi.
6108 Changed prototype of AccessibleAction_doAction to return a
6110 Changed prototype of AccessibleTable_getCaption to
6111 return an Accessible.
6112 Changed prototype of AccessibleTable_getSelectedRows
6113 and AccessibleTable_getSelectedColumns to
6114 return a long (returns the number of selected rows
6115 or columns respectively).
6116 Changed name of AccessibleText_refRunAttributes to
6117 AccessibleText_getAttributes.
6118 Changed prototype of AccessibleText_getCharacterExtents to
6119 return a void rather than a boolean.
6120 Added support for a AccessibleCoordType parameter
6121 specifying what type of coordinates are desired.
6122 Added an AccessibleCordType parameter to
6123 AccessibleText_getPointAtOffset.
6125 * cspi/spi_accessible.c:
6126 Added code to return the outstanding interfaces from
6127 Accessible_queryInterface.
6129 * cspi/spi_action.c:
6131 Corrected call to getNActions to call the c binding
6134 * cspi/spi_editabletext.c:
6136 Changed name from setRunAttributes to setAttributes.
6138 * cspi/spi_hyperlink.c:
6140 Changed call to getNAnchors to correctly call the c
6141 binding for an attribute.
6143 * cspi/spi_hypertext.c:
6145 Changed getImageDescription to correctly call the
6146 binding for an attribute.
6148 * cspi/spi_selection.c:
6149 Changed getNSelectedChildren to correctly call the c
6150 binding for the attribute.
6151 Changed refSelectedChild to getSelectedChild.
6155 Changed getCaption to return an Accessible.
6156 Fixed calls which retrieve attributes.
6157 Changed refAt to getAccessibleAt.
6158 Changed getNSelectedRows and getNSelectedColumns to
6162 Changed getCharacterExtents and getPointAtOffset to accept an
6163 AccessibleCoordType.
6165 Changed calls which retrieve attributes.
6166 Changed refRunAttributes to getAttributes.
6171 * idl/Hyperlink.idl:
6172 Changed n_anchors attribute to nAnchors to keep naming
6173 convention consistent.
6176 Made Table inherit from Bonobo::Unknown.
6177 Added nSelectedColumns and nSelectedRows attributes.
6180 Made Value inherit from Bonobo::Unknown.
6182 * libspi/hyperlink.c:
6183 Change for nAnchors attributte name change.
6185 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6193 Added interface implementation c files to list of
6194 includes so they are included in libcspi.
6197 Changed prototype of AccessibleAction_doAction to return a
6199 Changed prototype of AccessibleTable_getCaption to
6200 return an Accessible.
6201 Changed prototype of AccessibleTable_getSelectedRows
6202 and AccessibleTable_getSelectedColumns to
6203 return a long (returns the number of selected rows
6204 or columns respectively).
6205 Changed name of AccessibleText_refRunAttributes to
6206 AccessibleText_getAttributes.
6207 Changed prototype of AccessibleText_getCharacterExtents to
6208 return a void rather than a boolean.
6209 Added support for a AccessibleCoordType parameter
6210 specifying what type of coordinates are desired.
6211 Added an AccessibleCordType parameter to
6212 AccessibleText_getPointAtOffset.
6214 * cspi/spi_accessible.c:
6215 Added code to return the outstanding interfaces from
6216 Accessible_queryInterface.
6218 * cspi/spi_action.c:
6220 Corrected call to getNActions to call the c binding
6223 * cspi/spi_editabletext.c:
6225 Changed name from setRunAttributes to setAttributes.
6227 * cspi/spi_hyperlink.c:
6229 Changed call to getNAnchors to correctly call the c
6230 binding for an attribute.
6232 * cspi/spi_hypertext.c:
6234 Changed getImageDescription to correctly call the
6235 binding for an attribute.
6237 * cspi/spi_selection.c:
6238 Changed getNSelectedChildren to correctly call the c
6239 binding for the attribute.
6240 Changed refSelectedChild to getSelectedChild.
6244 Changed getCaption to return an Accessible.
6245 Fixed calls which retrieve attributes.
6246 Changed refAt to getAccessibleAt.
6247 Changed getNSelectedRows and getNSelectedColumns to
6251 Changed getCharacterExtents and getPointAtOffset to accept an
6252 AccessibleCoordType.
6254 Changed calls which retrieve attributes.
6255 Changed refRunAttributes to getAttributes.
6260 * idl/Hyperlink.idl:
6261 Changed n_anchors attribute to nAnchors to keep naming
6262 convention consistent.
6265 Made Table inherit from Bonobo::Unknown.
6266 Added nSelectedColumns and nSelectedRows attributes.
6269 Made Value inherit from Bonobo::Unknown.
6271 * libspi/hyperlink.c:
6272 Change for nAnchors attributte name change.
6275 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6277 implementations-- made server implementations own AtkObject pointers
6278 rather than their respective AtkInterrface pointers to fix
6279 refcounting. AtkHyperlink is still broken.
6281 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6282 * cspi/spi_accessible.c:
6283 Added method Accessible_Role_getName(),
6284 and requisite string array (role_names).
6285 Added conversion string_from_corba_strin() call
6286 to Accessible_getName and _getDescription.
6287 * libspi/accessible.c:
6288 Added implementation for Accessible_getRole()
6290 Added festival support, used if environment variable
6293 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6295 * at-bridge/bridge.c:
6296 Now allocate Accessibility_Event using
6297 Accessibility_Event__alloc() instead of g_new0().
6298 * libspi/accessibleeventlistener.c:
6299 Initialize AccessibleEventListener->callbacks to NULL.
6300 Fixed accessible__event_listener_init() param, changed to
6301 "AccessibleEventListener *" type.
6302 Changed a bonobo_object_release_unref() call to
6303 Accessibility_Accessible_unref().
6304 * libspi/listener.c:
6305 Changed Bonobo_Unknown_unref to (equivalent)
6306 Accessibility_Accessible_unref.
6307 * libspi/registry.c:
6308 Changed bonobo_object_release_unref to
6309 Accessibility_Accessible_unref.
6311 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6314 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6315 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6316 spi-util.c spi-util.h
6317 Implementations for C bindings to remaining accessibility
6320 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6323 changed return value of Action from void to boolean to
6324 bring in line with ATK.
6327 Changed getText funcions to return "out" start and end offsets.
6328 Changed getAttributes to take and offset and return the start
6329 and end offset of the attribute run.
6330 Changed getOffsetAtPoint and getCharacterExtents to take an
6331 enum describing whether coordinates are window or screen.
6334 libspi/action.c libspi/action.h libspi/editabletext.c
6335 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6336 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6337 libspi/image.h libspi/selection.c libspi/selection.h
6338 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6339 libspi/value.c libspi/value.h
6340 Added server implementations for outstanding ATK interfaces
6341 not yet implemented.
6343 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6346 Added (missing) getName() method.
6347 Made nActions an attribute.
6348 * idl/EditableText.idl:
6349 Changed order of params in setAttributes.
6350 * idl/Hyperlink.idl:
6351 Removed getAnchor, added getURI.
6353 Changed attributes to methods, for efficiency
6354 (so that getting extents can be done in one call)
6355 * idl/Selection.idl:
6356 Changed nSelectedChildren to attribute, and re-indented.
6357 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6359 * idl/Text.idl: reformatted to match our coding style.
6360 (temporarily?) removed getRowColumnAtOffset().
6361 Changed text selection API to support multi-select and
6362 non-contiguous selections, as in ATK.
6363 * idl/Value.idl: changed some methods to attributes.
6365 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6367 * libspi/listener.c(impl_notify_event):
6368 BonoboUnkown_unref the source instead
6369 of bonobo_object_release_unref - the ORB
6370 handles the releasing.
6372 * configure.in: require ORBit-2.3.94 for
6375 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6377 Tagged CVS repository 'EA_1_0'.
6378 * README.EARLY_ACCESS:
6379 Alphabetized acknowledgements list, and
6381 Listed some known dependencies of at-spi.
6383 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6385 * docs/at-spi-docs.sgml:
6386 * docs/at-spi-sections.txt:
6387 * docs/at-spi-overrides.txt: (Added zero-length file)
6388 Documentation improvements - gtk-doc should build
6389 docs for all implemented C bindings now.
6392 * cspi/spi.c: (New file)
6393 * cspi/spi_event.c: (New file)
6394 * cspi/spi_registry.c: (New file)
6395 * cspi/spi_accessible.c: (New file)
6396 * cspi/spi_application.c: (New file)
6397 * cspi/spi_component.c: (New file)
6398 Split spi_main.c into six parts, and included them from
6399 "spi.c". This is a bit of a hack, probably temporary,
6400 but required by gtk-doc, apparently.
6402 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6405 * docs/at-spi-docs.sgml:
6406 * docs/at-spi-sections.txt:
6408 Initial checkins/modifications for gtk-doc generation.
6411 Added (missing) interface query methods to Accessible's C binding.
6413 Added GenericInterface type definition.
6415 Added query for AccessibleComponent interface to focus event handler.
6416 Added printout of bounding box for focussed component.
6417 * libspi/component.c:
6418 Added partial implementation for AccessibleComponent to C binding.
6419 * idl/Application.idl:
6420 * libspi/registry.c:
6421 * libspi/listener.c:
6422 * libspi/application.c:
6423 * libspi/application.h:
6424 Changed "ID" attribute type from string to long.
6426 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6430 Made method naming consistent: methods taking object args
6431 start with uppercase, other methods (except those using
6432 acronyms) start with lowercase. Underscores delimit between
6433 object names and method names:
6434 SPI_init() - uppercase since it starts with an acronym.
6435 getDesktopCount () - lowercase start since no object param0.
6436 Accessible_getName() - uppercase object type name, studlyCaps method
6440 Added gtk-doc documentation for all currently implemented
6441 methods in the C bindings API.
6443 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6445 * Makefile.am : changed build order to build test last.
6448 Changed "createEventListener" to "CreateEventListener".
6449 * libspi/accessibleeventlistener.c :
6450 Bugfix for addition of callbacks.
6451 * test/Makefile.am :
6452 * test/simple-at.c :
6453 Added new test that uses the C bindings API.
6455 * libspi/listener.c :
6456 * libspi/registry.c :
6457 * libspi/accessibleeventlistener.c :
6458 * at-bridge/bridge.c :
6459 Renamed member "target" of Accessibility_Event to "source",
6460 which is more descriptive.
6463 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6467 * cspi/Makefile.am :
6468 Added makefile support for at-spi/cspi directory.
6471 * cspi/spi-listener.h : (NEW FILE)
6472 Added support for/use of spi-listener.h.
6474 C bindings now build successfully, with no warnings.
6475 * libspi/accessibleeventlistener.h : (NEW FILE)
6476 * libspi/accessibleeventlistener.c : (NEW FILE)
6477 * libspi/Makefile.am :
6478 Added new object type "AccessibleEventListener"
6479 which inherits from Listener, and allows attachment
6480 of in-process callbacks (so that a client with a listening
6481 object instance can add functionality to the local
6482 implementation, dynamically).
6484 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6486 * libspi/accessible.c:
6487 Add implementation for get_index_in_parent().
6489 Added #include of "spi-roletypes.h", and
6490 added enumerated type AccessibleCoordType.
6491 Added definition for KeystrokeListener (function type).
6494 * cspi/spi-statetypes.h :
6495 * cspi/spi-roletypes.h :
6497 Added these headers, used by spi.h.
6499 Added code (NOTE: not yet built by make).
6501 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6503 * libspi/Makefile.am: generate imodule
6504 at the same time as other idl compiler
6507 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6508 * libspi/registry.c :
6509 * libspi/application.c :
6510 * idl/Application.idl :
6511 Made registration with toolkit an application method,
6512 which is required since each app has its own toolkit static
6513 environment. Thus the bridge must register for
6514 notification of toolkit events from each application in turn.
6515 Toolkit notifications are now successfully registered for, and
6516 sent to the listening at client.
6518 Changed toolkit event string to use hyphens rather than underscores.
6519 * libspi/listener.c :
6520 listner now gives more info in debug mode - it reports the
6521 name of the event received, as well as the name of the source.
6524 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6526 * libspi/registry.c :
6527 added more implementation for toolkit events.
6528 Fixed bug such that toolkit event registrations
6529 (via atk) use the whole event name string, not
6531 Removed a useless call to an ORBit_ method.
6532 * at-bridge/bridge.c :
6533 Removed unused local sbuf[] variable.
6535 We now register for Gtk:GtkWidget:button_press_event
6536 events as well as "focus:" events.
6538 Add some more API from Registry.idl that was missing,
6539 for keystroke listening, keystroke and mouse event
6540 synthesis, and enumeration of accessible desktops.
6542 2001-08-16 Michael Meeks <michael@ximian.com>
6544 * configure.in: use AM_GLIB_GNU_GETTEXT.
6546 * Makefile.am (SUBDIRS): kill intl.
6548 2001-08-15 Michael Meeks <michael@ximian.com>
6550 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6552 * configure.in: upd.
6554 * configure.in: depend on a recent bonobo-activation that
6555 will find our server files ...
6557 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6559 * libspi/accessible.c : accessible_new() :
6560 Now we add the Component interface via bonobo_object_add_interface,
6561 if the contained AtkObject implements AtkComponent.
6562 * libspi/accessible.h : now include "component.h"
6563 * libspi/component.h :
6564 * libspi/component.c : added files - implementation of
6565 bonobo wrapper object for Accessibility/Component
6566 * libspi/listener.c :
6567 Added test code to check for Accessibility/Component:1.0
6568 interface and report whether it is implemented by the
6570 * libspi/registry.c :
6571 Now we check for not only the hash of the whole event
6572 string before relaying the event, we also check the
6573 "minor" event string (without the detail string).
6574 This allows event listeners to be registered against
6575 all events of a certain major+minor type, or just
6576 against a specific major+minor+detail type.
6577 * libspi/accessible.c :
6578 Added implementations for Accessible:get_parent(),
6579 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6580 * libspi/registry.c :
6581 * libspi/listener.c :
6582 Replaced calls to Accessibility_Accessible_ref() and
6583 Accessibility_Accessible_unref() with
6584 calls to bonobo_object_dup_ref() and
6585 bonobo_object_release_unref(), so that the CORBA object
6586 is dup-ed and released when relayed, as well as the bonobo object.
6588 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6590 * libspi/Makefile.am,
6591 registryd/Makefile.am,
6592 at-bridge/Makefile.am.
6593 test/Makefile.am, configure.in:
6594 reverse previous changes.
6596 * /idl/Image.idl: fix typo.
6598 * test/Makefile.am: put DEBUG_FLAGS
6601 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6603 * test/app.c: use argv[0] instead of
6606 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6608 * libspi/Makefile.am,
6609 registryd/Makefile.am,
6610 at-bridge/Makefile.am.
6611 test/Makefile.am, configure.in:
6612 cleanup, replace individual LIBS/CFLAGS with
6613 AT_COMMON_{LIBS|CFLAGS}.
6617 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6619 * configure.in, libspi/Makefile.am:
6620 Change IDL path checking for bonobo-activation
6623 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6625 * registryd/registry.c : separated event listeners to use
6626 3 separate lists (focus, window, toolkit). Began testing
6627 event names against hashes before relaying events.
6628 * test/at.c : now register for events of type "focus:"
6629 * test/app.c : now generate events of type "focus:"
6630 * at-bridge/bridge.c : register with ATK for focus events,
6631 and we now relay those focus events to any "focus:" listeners.
6632 This now works with the bridge as a GTK_MODULE when running test/at.
6633 * libspi/registry.c :
6634 * libspi/listener.c :
6635 now we ref event sources before propagating, and unref on receipt.
6636 * libspi/registry.c :
6637 some changes to internal structs, to support event typestring hashes.
6638 * text/app.c : changed the way the appname is generated.
6639 * cspi : added directory that will hold the C bindings library for
6640 non-CORBA/bonobo-savvy clients.
6641 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6642 * idl/Component.idl : added in parameter to indicate coord system for
6643 geometry-related calls.
6644 * idl/Hyperlink.idl : added readonly n_links attribute
6645 * idl/Image.idl : changed methods to attributes.
6647 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6649 * at-bridge/Makefile.am: link against
6650 ../libspi/libspi.la instead of -lspi.
6652 * at-spi/test/app.c: include
6653 bonobo-activation.h. Use a default appname
6654 if one is not provided.
6656 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6658 * idl/Registry.idl : temporarily changed register_Application
6659 to oneway, to work around issue with initial registration
6661 * idl/Application.idl : changed attribute "id" from readonly
6662 to read-write, since it needs to be assigned by Registry.
6663 * registryd/registryd.c : added call to set application id
6665 * registryd/registry.c : changed de-registration procedure to
6666 use CORBA_Object_hash() to find matching object ref in application
6667 lists and listener lists.
6668 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6669 began distinguishing between event types (work in progress).
6671 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6674 * libspi/application.c:
6675 Added implementations for get/set id, get_toolkitName,
6677 * registryd/registryd.c :
6681 Converted from use of OAF to bonobo-activation.
6682 * libspi/desktop.h :
6683 * libspi/desktop.c :
6685 Removed references to atksimpleobject, since base atkobject
6686 implementation now provides functionality we need.
6687 * libspi/atksimpleobject.c :
6688 * libspi/atksimpleobject.h :
6693 * at-bridge/Makefile.am
6694 * at-bridge/bridge.c
6697 Added directory "bridge" and contents, and added dependencies
6698 in Makefile.am/configure.in.
6699 Initial checkin of "at-bridge".
6700 This code is a GTK_MODULE which automatically registers
6701 GTK+ apps with the accessibility registry, using an object
6702 reference to the root ATK object.
6704 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6706 * po/Makefile.in.in: Remove. Again. If this
6707 doesn't get autogenerated - you need to update
6710 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6712 * po/Makefile.in.in: Add. Again.
6714 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6716 * libspi/accessible.c : added support for 'description' property.
6717 * libspi/accessible.c
6719 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6720 (since the two are now equivalent in libbonobo)
6728 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6729 Bonobo::Unknown as does Accessibility::Accessible.
6730 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6731 interface with Bonobo::Stream, since it was redundant with it.
6732 (The Stream returned by a StreamableContext object is expected to
6733 implement only a subset of Bonobo::Stream)
6735 2001-07-28 Anders Carlsson <andersca@gnome.org>
6737 * libspi/accessible.c (accessible_object_finalize): Change
6738 g_free to g_object_unref since the AtkObject is a GObject.
6740 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6742 * idl/Accessibility.idl: add new IDL files
6745 * idl/Action.idl: Definitions of actionable UI object
6746 * idl/Component.idl: Definitions of UI component geometry, etc.
6747 * idl/Hyperlink.idl: Defs of hyperlink behavior
6748 * idl/Image.idl: Def of accessible image
6749 * idl/Selection.idl: Definition of UI object with selectable children
6750 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6751 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6752 * idl/Text.idl: Interface defs for UI elements with complex textual content
6753 * idl/Value.idl: Definition of UI element that is a value controller or display
6755 2001-07-27 Michael Meeks <michael@ximian.com>
6757 * po/Makefile.in.in: remove autogenerated file from CVS.
6759 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6762 * idl/Registry.idl: include guard.
6764 * idl/Accessibility.idl: Add, and include all the other IDL
6767 * idl/*.idl: remove mass of pragmas etc.
6769 2001-07-26 Michael Meeks <michael@ximian.com>
6771 * registryd/Makefile.am (registryd_SOURCES): remove
6774 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6776 * libspi/.cvsignore, registryd/.cvsignore,
6777 test/.cvsignore: updated.
6779 * po/Makefile.in.in: gettext update.
6781 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6783 * initial CVS checkin
6785 2001-06-29 Michael Meeks <michael@ximian.com>
6787 * configure.in: add AM_CONFIG_HEADER to gen config.h